/*
Theme Name: IndiaEduResult
Theme URI: https://indiaeduresult.com/
Author: IndiaEduResult
Description: Premium education, government jobs, results, admit card and examination information WordPress theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: indiaeduresult
*/

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1746a2;
  --primary-dark: #0d2e72;
  --primary-light: #edf3ff;
  --secondary: #f59e0b;
  --success: #16835b;
  --success-bg: #edf8f3;
  --danger: #dc3545;
  --text: #172033;
  --text-muted: #667085;
  --border: #e7eaf0;
  --border-light: #f0f2f6;
  --bg: #f6f8fc;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(18, 38, 63, 0.04);
  --shadow-md: 0 10px 35px rgba(18, 38, 63, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

button, input, textarea, select {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.ier-topbar {
  background: #0c1f46;
  color: #dce7ff;
  font-size: 12px;
  border-bottom: 1px solid #142d63;
}

.ier-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ier-topbar-left {
  display: flex;
  gap: 18px;
  align-items: center;
}

.ier-topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ier-topbar-left .verified-badge {
  color: #a5c3ff;
}

.ier-topbar-left .verified-check {
  color: #54e29b;
  font-weight: bold;
}

.ier-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ier-topbar-right a {
  color: #dce7ff;
  opacity: 0.85;
}

.ier-topbar-right a:hover {
  opacity: 1;
  color: #ffffff;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.ier-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.ier-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ier-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.ier-brand-logo {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: linear-gradient(135deg, #1746a2, #2868db);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(23, 70, 162, 0.22);
}

.ier-brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.ier-brand-name span {
  color: var(--primary);
}

.ier-brand-tagline {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 1px;
  font-weight: 500;
}

.ier-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ier-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

.ier-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #344054;
  display: inline-block;
}

.ier-nav a:hover,
.ier-nav .current-menu-item > a,
.ier-nav .current_page_item > a {
  color: var(--primary);
  background: var(--primary-light);
}

.ier-header-search {
  width: 210px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #fafbfe;
  transition: border-color 0.2s ease;
}

.ier-header-search:focus-within {
  border-color: var(--primary);
}

.ier-header-search input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  font-size: 13px;
  color: var(--text);
}

.ier-header-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  padding: 2px;
}

.ier-header-search button:hover {
  color: var(--primary);
}

.ier-menu-btn {
  display: none;
  border: 0;
  background: #eef3ff;
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

/* ==========================================================================
   MOBILE MENU DRAWER
   ========================================================================== */
.ier-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ier-mobile-drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.ier-mobile-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 23, 49, 0.6);
  backdrop-filter: blur(4px);
}

.ier-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  padding: 24px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.ier-mobile-drawer.is-active .ier-mobile-panel {
  transform: translateX(0);
}

.ier-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.ier-mobile-close {
  background: #f0f2f6;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
}

.ier-mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ier-mobile-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #344054;
}

.ier-mobile-nav a:hover,
.ier-mobile-nav .current-menu-item > a {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.ier-hero {
  background: radial-gradient(circle at 85% 15%, rgba(52, 108, 220, 0.18), transparent 30%),
              linear-gradient(135deg, #0b1f49 0%, #123d8e 55%, #1b5dcc 100%);
  color: #ffffff;
  padding: 58px 0 65px;
  position: relative;
  overflow: hidden;
}

.ier-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.ier-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.ier-hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54e29b;
  box-shadow: 0 0 0 4px rgba(84, 226, 155, 0.15);
}

.ier-hero h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 700px;
  margin-bottom: 18px;
  font-weight: 800;
}

.ier-hero h1 span {
  color: #8eb8ff;
}

.ier-hero-description {
  color: #d9e5ff;
  max-width: 650px;
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.55;
}

.ier-hero-search {
  background: #ffffff;
  padding: 6px;
  border-radius: 14px;
  max-width: 650px;
  display: flex;
  box-shadow: var(--shadow-lg);
}

.ier-hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}

.ier-hero-search button {
  border: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ier-hero-search button:hover {
  background: var(--primary-dark);
}

.ier-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.ier-hero-links a {
  color: #dce8ff;
  font-size: 12px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ier-hero-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.ier-hero-panel {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(14px);
}

.ier-hero-panel-title {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ier-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.2s ease;
}

.ier-quick-item:last-child {
  border-bottom: 0;
}

.ier-quick-item:hover {
  transform: translateX(4px);
}

.ier-quick-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  font-size: 18px;
}

.ier-quick-item strong {
  font-size: 13.5px;
  display: block;
  color: #ffffff;
}

.ier-quick-item small {
  color: #bcd0f5;
  font-size: 11.5px;
}

/* ==========================================================================
   GENERIC SECTIONS & HEADERS
   ========================================================================== */
.ier-section {
  padding: 36px 0;
}

.ier-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 15px;
}

.ier-section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
}

.ier-section-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 3px;
}

.ier-view-all {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
}

.ier-view-all:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   CATEGORY CARDS GRID
   ========================================================================== */
.ier-category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.ier-category-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 8px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: block;
}

.ier-category-card:hover {
  transform: translateY(-4px);
  border-color: #c8d8f8;
  box-shadow: var(--shadow-md);
}

.ier-category-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.ier-category-card:hover .ier-category-icon {
  transform: scale(1.1);
}

.ier-category-card strong {
  font-size: 12px;
  line-height: 1.3;
  display: block;
  color: var(--text);
}

.ier-category-card:hover strong {
  color: var(--primary);
}

/* ==========================================================================
   CONTENT LAYOUT & ARTICLE CARDS
   ========================================================================== */
.ier-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.ier-article-list {
  display: grid;
  gap: 12px;
}

.ier-article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px;
  display: grid;
  grid-template-columns: 55px 1fr auto;
  gap: 16px;
  align-items: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ier-article-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cfdcf5;
}

.ier-article-icon {
  width: 55px;
  height: 55px;
  border-radius: 13px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  font-size: 22px;
  overflow: hidden;
}

.ier-article-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ier-article-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.ier-tag {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  background: #edf4ff;
  color: var(--primary);
}

.ier-date {
  color: #98a2b3;
  font-size: 11px;
}

.ier-article-card h3 {
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 4px;
  font-weight: 700;
}

.ier-article-card h3 a:hover {
  color: var(--primary);
}

.ier-article-card p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ier-read-btn {
  white-space: nowrap;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 12px;
  border: 1px solid #d7e2f8;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ier-article-card:hover .ier-read-btn {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   SIDEBAR & WIDGETS
   ========================================================================== */
.ier-sidebar {
  display: grid;
  gap: 18px;
}

.ier-side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 18px;
}

.ier-side-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.ier-important-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.ier-important-link:last-child {
  border-bottom: 0;
}

.ier-important-link:hover {
  color: var(--primary);
}

.ier-important-link span {
  width: 28px;
  height: 28px;
  background: #f2f5fb;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ier-important-link:hover span {
  background: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   FEATURED GUIDES & STUDENT RESOURCES
   ========================================================================== */
.ier-featured-grid,
.ier-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ier-featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ier-featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ier-featured-number {
  color: #b7c2d4;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.ier-featured-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.ier-featured-card p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ier-featured-card a.ier-card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.ier-guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ier-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ier-guide-card .ier-guide-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.ier-guide-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.ier-guide-card p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ==========================================================================
   TRUST & TRANSPARENCY
   ========================================================================== */
.ier-trust-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 38px 0;
  margin-top: 30px;
}

.ier-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ier-trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ier-trust-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 16px;
}

.ier-trust-item strong {
  font-size: 13.5px;
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.ier-trust-item p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SINGLE POST & ARTICLE TEMPLATE
   ========================================================================== */
.ier-breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ier-breadcrumbs a {
  color: var(--primary);
}

.ier-breadcrumbs span {
  margin: 0 6px;
}

.ier-single-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.ier-single-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.ier-single-header h1 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.ier-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  align-items: center;
}

.ier-single-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ier-featured-image {
  margin: 20px 0 28px;
  border-radius: 12px;
  overflow: hidden;
}

.ier-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.ier-entry-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: #242d3d;
}

.ier-entry-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.ier-entry-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--text);
}

.ier-entry-content p {
  margin-bottom: 16px;
}

.ier-entry-content ul,
.ier-entry-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.ier-entry-content li {
  margin-bottom: 8px;
}

.ier-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13.5px;
}

.ier-entry-content table th,
.ier-entry-content table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}

.ier-entry-content table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}

.ier-entry-content table tr:nth-child(even) {
  background: #fafbfe;
}

.ier-info-box {
  background: #f0f5ff;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.ier-info-box strong {
  color: var(--primary-dark);
  display: block;
  margin-bottom: 4px;
}

/* Post Pagination */
.ier-pagination {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  justify-content: center;
  align-items: center;
}

.ier-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.ier-pagination .page-numbers.current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.ier-pagination .page-numbers:hover:not(.current) {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #c8d8f8;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ier-footer {
  background: #0b1731;
  color: #cbd5e7;
  padding: 50px 0 25px;
  margin-top: 40px;
}

.ier-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.ier-footer-brand {
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.ier-footer-brand span {
  color: #73a5ff;
}

.ier-footer-about {
  color: #93a2bb;
  font-size: 12px;
  max-width: 360px;
  line-height: 1.6;
}

.ier-footer-heading {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.ier-footer-links {
  display: grid;
  gap: 9px;
  list-style: none;
}

.ier-footer-links a {
  color: #9daac0;
  font-size: 12px;
  transition: color 0.2s ease;
}

.ier-footer-links a:hover {
  color: #ffffff;
}

.ier-footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #7f8da6;
  font-size: 11px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1100px) {
  .ier-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ier-nav {
    display: none;
  }

  .ier-header-search {
    margin-left: auto;
  }

  .ier-menu-btn {
    display: block;
  }

  .ier-hero-grid {
    grid-template-columns: 1fr;
  }

  .ier-hero-panel {
    max-width: 650px;
  }
}

@media (max-width: 850px) {
  .ier-content-grid {
    grid-template-columns: 1fr;
  }

  .ier-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }

  .ier-featured-grid,
  .ier-guide-grid {
    grid-template-columns: 1fr;
  }

  .ier-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ier-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .ier-topbar {
    display: none;
  }

  .ier-header-inner {
    min-height: 66px;
  }

  .ier-brand-logo {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .ier-brand-name {
    font-size: 18px;
  }

  .ier-brand-tagline {
    font-size: 9.5px;
  }

  .ier-header-search {
    display: none;
  }

  .ier-hero {
    padding: 38px 0 42px;
  }

  .ier-hero h1 {
    font-size: 32px;
  }

  .ier-hero-description {
    font-size: 14px;
  }

  .ier-hero-search {
    display: flex;
  }

  .ier-hero-search button {
    padding: 10px 16px;
    font-size: 13px;
  }

  .ier-category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .ier-category-card {
    padding: 12px 4px;
  }

  .ier-category-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .ier-category-card strong {
    font-size: 10.5px;
  }

  .ier-article-card {
    grid-template-columns: 44px 1fr;
    padding: 14px;
  }

  .ier-article-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .ier-read-btn {
    display: none;
  }

  .ier-sidebar {
    grid-template-columns: 1fr;
  }

  .ier-trust-grid {
    grid-template-columns: 1fr;
  }

  .ier-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ier-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .ier-section {
    padding: 28px 0;
  }

  .ier-section-title {
    font-size: 21px;
  }

  .ier-single-article {
    padding: 18px;
  }
}
