/*
 * JEEResult Child Theme — assets/css/main.css
 *
 * Design System:
 *  Primary:   #1565C0  (Institutional blue  — trust, authority)
 *  Accent:    #E65100  (Deep saffron/orange — energy, India)
 *  Dark:      #0D1B2A  (Near-black with blue tint)
 *  Text:      #1E293B
 *  Muted:     #64748B
 *  Light BG:  #F4F7FC
 *  Card BG:   #FFFFFF
 *  Success:   #15803D  (Available / Released)
 *  Warning:   #B45309  (Upcoming)
 *  Info:      #0369A1  (Admit Card)
 *  Danger:    #B91C1C  (Breaking / Urgent)
 *
 * Fonts: Poppins (headings) · Inter (body)
 */

/* ══════════════════════════════════════
   1. CUSTOM PROPERTIES
   ══════════════════════════════════════ */
:root {
  /* Brand Colours */
  --jee-primary:        #1565C0;
  --jee-primary-dark:   #0D47A1;
  --jee-primary-light:  #1976D2;
  --jee-accent:         #E65100;
  --jee-accent-dark:    #BF360C;
  --jee-accent-light:   #F4511E;
  --jee-dark:           #0D1B2A;
  --jee-dark-2:         #1A2E40;

  /* Semantic */
  --jee-success:        #15803D;
  --jee-success-bg:     #DCFCE7;
  --jee-warning:        #B45309;
  --jee-warning-bg:     #FEF3C7;
  --jee-info:           #0369A1;
  --jee-info-bg:        #DBEAFE;
  --jee-danger:         #B91C1C;
  --jee-danger-bg:      #FEE2E2;
  --jee-neutral:        #475569;
  --jee-neutral-bg:     #F1F5F9;

  /* Text */
  --jee-text:           #1E293B;
  --jee-text-muted:     #64748B;
  --jee-text-light:     #94A3B8;

  /* Backgrounds */
  --jee-bg:             #FFFFFF;
  --jee-bg-light:       #F4F7FC;
  --jee-bg-alt:         #EEF3FB;
  --jee-border:         #E2E8F0;
  --jee-border-dark:    #CBD5E1;

  /* Typography */
  --font-display:       'Poppins', system-ui, sans-serif;
  --font-body:          'Inter', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.12);
  --shadow-xl:  0 16px 40px rgba(0,0,0,.14);

  /* Transitions */
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(0,0,.2,1);
  --dur-fast:    150ms;
  --dur-normal:  250ms;
  --dur-slow:    400ms;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 860px;
  --header-h: 64px;
  --nav-h:    48px;
}

/* ══════════════════════════════════════
   2. RESET & BASE
   ══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--jee-text);
  background: var(--jee-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--jee-primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--jee-primary-dark); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--jee-dark);
}

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: var(--space-lg); }

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--jee-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Screen reader only */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ══════════════════════════════════════
   3. LAYOUT UTILITIES
   ══════════════════════════════════════ */
.jee-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.jee-container--narrow {
  max-width: var(--container-narrow);
}

.jee-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.jee-main { min-width: 0; }

.jee-mt { margin-top: var(--space-md); }

/* ══════════════════════════════════════
   4. NOTIFICATION BAR
   ══════════════════════════════════════ */
.jee-notification-bar {
  color: #fff;
  padding: 10px 0;
  font-size: .875rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

.jee-notification-bar .jee-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.jee-notif-icon { font-size: 1rem; flex-shrink: 0; }
.jee-notif-text { flex: 1; }

.jee-notif-link {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
.jee-notif-link:hover { color: #fff; }

.jee-notif-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
.jee-notif-close:hover { color: #fff; }

/* ══════════════════════════════════════
   5. HEADER
   ══════════════════════════════════════ */
.jee-header {
  background: var(--jee-primary-dark);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.20);
}

.jee-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: var(--space-lg);
}

/* Logo */
.jee-header__logo { flex-shrink: 0; }
.jee-header__logo img { height: 48px; width: auto; }

.jee-text-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.jee-text-logo:hover { color: rgba(255,255,255,.9); }
.jee-logo-primary { color: #fff; }

/* Search */
.jee-header__search { flex: 1; max-width: 480px; }

.jee-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  overflow: hidden;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.jee-search-form:focus-within {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}

.jee-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 8px 16px;
}
.jee-search-input::placeholder { color: rgba(255,255,255,.6); }

.jee-search-btn {
  background: var(--jee-accent);
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.jee-search-btn:hover { background: var(--jee-accent-dark); }

/* Mobile Controls */
.jee-header__mobile-controls {
  display: none;
  gap: var(--space-sm);
  margin-left: auto;
}

.jee-mobile-search-toggle,
.jee-hamburger {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jee-hamburger {
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
}
.jee-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease);
}
.jee-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jee-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jee-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Search Bar */
.jee-mobile-search-bar {
  background: var(--jee-primary);
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.jee-mobile-search-bar .jee-search-form {
  background: rgba(255,255,255,.15);
}

/* ══════════════════════════════════════
   6. NAVIGATION
   ══════════════════════════════════════ */
.jee-nav {
  background: var(--jee-dark);
  border-top: 1px solid rgba(255,255,255,.08);
}

.jee-nav .jee-container { padding: 0 var(--space-lg); }

.jee-nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.jee-nav__menu > li > a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  padding: 12px 14px;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  letter-spacing: .02em;
}
.jee-nav__menu > li > a:hover,
.jee-nav__menu > li.current-menu-item > a,
.jee-nav__menu > li.current-menu-ancestor > a {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.jee-nav__menu li { position: relative; }
.jee-nav__menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  background: var(--jee-dark);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--jee-accent);
  list-style: none;
  padding: var(--space-xs) 0;
}
.jee-nav__menu li:hover > ul { display: block; }
.jee-nav__menu li ul a {
  display: block;
  padding: 9px 16px;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
}
.jee-nav__menu li ul a:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ══════════════════════════════════════
   7. BREAKING NEWS TICKER
   ══════════════════════════════════════ */
.jee-ticker-bar {
  background: #fff;
  border-bottom: 2px solid var(--jee-accent);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 38px;
}

.jee-ticker-label {
  background: var(--jee-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 0 16px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.jee-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.jee-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: jee-ticker-scroll 40s linear infinite;
  gap: 0;
}
.jee-ticker-track:hover { animation-play-state: paused; }

@keyframes jee-ticker-scroll {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.jee-ticker-item {
  display: inline-block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--jee-text);
  padding: 0 var(--space-lg);
  white-space: nowrap;
}
a.jee-ticker-item { color: var(--jee-primary); }
a.jee-ticker-item:hover { color: var(--jee-accent); text-decoration: underline; }

.jee-ticker-sep {
  color: var(--jee-accent);
  font-size: .6rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   8. BUTTONS
   ══════════════════════════════════════ */
.jee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  line-height: 1;
  padding: 12px 24px;
  font-size: .9rem;
}
.jee-btn:focus-visible { outline-offset: 3px; }

.jee-btn--primary {
  background: var(--jee-accent);
  color: #fff;
  border-color: var(--jee-accent);
}
.jee-btn--primary:hover {
  background: var(--jee-accent-dark);
  border-color: var(--jee-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230,81,0,.35);
}

.jee-btn--secondary {
  background: var(--jee-primary);
  color: #fff;
  border-color: var(--jee-primary);
}
.jee-btn--secondary:hover {
  background: var(--jee-primary-dark);
  border-color: var(--jee-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.jee-btn--outline {
  background: transparent;
  color: var(--jee-primary);
  border-color: var(--jee-primary);
}
.jee-btn--outline:hover {
  background: var(--jee-primary);
  color: #fff;
}

.jee-btn--outline-white {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.jee-btn--outline-white:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  border-color: #fff;
}

.jee-btn--lg { padding: 15px 32px; font-size: 1rem; }
.jee-btn--sm { padding: 8px 16px;  font-size: .8rem; border-radius: var(--radius-sm); }
.jee-btn--xs { padding: 5px 10px;  font-size: .75rem; border-radius: var(--radius-sm); }

/* ══════════════════════════════════════
   9. BADGES
   ══════════════════════════════════════ */
.jee-badge {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  line-height: 1.4;
  white-space: nowrap;
  letter-spacing: .03em;
}
.jee-badge--xs    { font-size: .7rem; padding: 2px 8px; }
.jee-badge--lg    { font-size: .85rem; padding: 5px 14px; }

.jee-badge--success,
.jee-badge--available,
.jee-badge--released { background: var(--jee-success-bg); color: var(--jee-success); }

.jee-badge--warning,
.jee-badge--upcoming  { background: var(--jee-warning-bg); color: var(--jee-warning); }

.jee-badge--info      { background: var(--jee-info-bg);    color: var(--jee-info);    }
.jee-badge--danger,
.jee-badge--breaking  { background: var(--jee-danger-bg);  color: var(--jee-danger);  }
.jee-badge--neutral,
.jee-badge--over      { background: var(--jee-neutral-bg); color: var(--jee-neutral); }

.jee-badge--pulse {
  animation: jee-pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes jee-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .7; }
}

/* ══════════════════════════════════════
   10. HERO SECTION
   ══════════════════════════════════════ */
.jee-hero {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1A237E 100%);
  color: #fff;
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.jee-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(230,81,0,.15) 0%, transparent 40%);
  pointer-events: none;
}

.jee-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.jee-hero__eyebrow {
  margin-bottom: var(--space-md);
}

.jee-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.jee-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.jee-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* Hero Quick-Access Tiles */
.jee-hero__tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: var(--space-xl);
}

.jee-hero-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,.9);
  text-align: center;
  font-size: .78rem;
  font-weight: 500;
  transition: all var(--dur-fast) var(--ease);
  backdrop-filter: blur(4px);
}
.jee-hero-tile:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-2px);
}
.jee-hero-tile__icon { font-size: 1.5rem; }
.jee-hero-tile__label { line-height: 1.2; }

/* ══════════════════════════════════════
   11. AD AREA (clean, no-style slots)
   ══════════════════════════════════════ */
.jee-ad-area {
  padding: var(--space-md) 0;
  text-align: center;
  min-height: 10px;  /* collapses if empty */
}
.jee-ad-area .jee-ad-slot {
  display: inline-block;
  max-width: 100%;
}
/* Ad Inserter / Advanced Ads output will be unstyled — theme does NOT touch ad code */

/* ══════════════════════════════════════
   12. SECTIONS
   ══════════════════════════════════════ */
.jee-section {
  padding: var(--space-3xl) 0;
}
.jee-section--light    { background: var(--jee-bg-light); }
.jee-section--predictors { background: linear-gradient(135deg, var(--jee-dark) 0%, var(--jee-dark-2) 100%); color: #fff; }
.jee-section--accent-edge { border-left: 4px solid var(--jee-accent); }

.jee-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}
.jee-section__header--center {
  flex-direction: column;
  text-align: center;
  justify-content: center;
}
.jee-section__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--jee-dark);
}
.jee-section--predictors .jee-section__title { color: #fff; }

.jee-section__subtitle {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin-top: var(--space-xs);
}
.jee-section__viewall {
  font-size: .85rem;
  font-weight: 600;
  color: var(--jee-accent);
  white-space: nowrap;
}
.jee-section__viewall:hover { color: var(--jee-accent-dark); }

.jee-section__cta-bar {
  margin-top: var(--space-lg);
  text-align: center;
}

/* ══════════════════════════════════════
   13. UPDATES GRID (Latest + Dates)
   ══════════════════════════════════════ */
.jee-updates-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.jee-updates-list {
  list-style: none;
  padding: 0;
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jee-bg);
}

.jee-update-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--jee-border);
  transition: background var(--dur-fast) var(--ease);
}
.jee-update-item:last-child { border-bottom: none; }
.jee-update-item:hover { background: var(--jee-bg-light); }

.jee-update-link {
  flex: 1;
  font-size: .9rem;
  font-weight: 500;
  color: var(--jee-text);
  min-width: 0;
}
.jee-update-link:hover { color: var(--jee-accent); }

.jee-update-time {
  font-size: .75rem;
  color: var(--jee-text-muted);
  white-space: nowrap;
  margin-left: auto;
}

/* ══════════════════════════════════════
   14. IMPORTANT DATES WIDGET
   ══════════════════════════════════════ */
.jee-dates-widget {
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.jee-dates-widget__title {
  background: var(--jee-primary);
  color: #fff;
  font-size: 1rem;
  padding: 14px 18px;
  margin: 0;
}

.jee-dates-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jee-date-item {
  padding: 12px 18px;
  border-bottom: 1px solid var(--jee-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.jee-date-item:last-child { border-bottom: none; }

.jee-date-name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--jee-text);
}

.jee-date-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.jee-date-value {
  font-size: .8rem;
  color: var(--jee-text-muted);
}

/* Status left-border tints */
.jee-date--released { border-left: 3px solid var(--jee-success); }
.jee-date--upcoming { border-left: 3px solid var(--jee-accent); }
.jee-date--over     { border-left: 3px solid var(--jee-neutral); opacity: .7; }

/* ══════════════════════════════════════
   15. RESULT CARDS
   ══════════════════════════════════════ */
.jee-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.jee-result-card-item {
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur-normal) var(--ease), transform var(--dur-normal) var(--ease);
}
.jee-result-card-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.jee-card-thumb { overflow: hidden; aspect-ratio: 16/9; background: var(--jee-bg-alt); }
.jee-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.jee-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.jee-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.jee-card-title a { color: var(--jee-dark); }
.jee-card-title a:hover { color: var(--jee-accent); }

.jee-card-date {
  font-size: .8rem;
  color: var(--jee-text-muted);
}

.jee-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

/* ══════════════════════════════════════
   16. LIST CARDS (Admit Card / Answer Key / Counselling)
   ══════════════════════════════════════ */
.jee-list-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jee-list-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: box-shadow var(--dur-fast) var(--ease);
}
.jee-list-card:hover { box-shadow: var(--shadow-sm); }

.jee-list-card-icon { font-size: 1.75rem; flex-shrink: 0; }
.jee-list-card-content { flex: 1; min-width: 0; }
.jee-list-card-content h3 { font-size: .95rem; font-weight: 600; margin: 0 0 3px; }
.jee-list-card-content h3 a { color: var(--jee-dark); }
.jee-list-card-content h3 a:hover { color: var(--jee-accent); }
.jee-card-meta { font-size: .78rem; color: var(--jee-text-muted); }

/* ══════════════════════════════════════
   17. TABS
   ══════════════════════════════════════ */
.jee-section__tabs {
  display: flex;
  border-bottom: 2px solid var(--jee-border);
  margin-bottom: var(--space-xl);
  gap: 4px;
  flex-wrap: wrap;
}

.jee-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 600;
  color: var(--jee-text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.jee-tab:hover { color: var(--jee-primary); }
.jee-tab--active,
.jee-tab[aria-selected="true"] {
  color: var(--jee-accent);
  border-bottom-color: var(--jee-accent);
}

/* ══════════════════════════════════════
   18. COUNSELLING COLS
   ══════════════════════════════════════ */
.jee-counselling-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.jee-counsel-col__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--jee-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--jee-primary);
}

/* ══════════════════════════════════════
   19. PREDICTOR CARDS (homepage CTAs)
   ══════════════════════════════════════ */
.jee-predictor-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.jee-predictor-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: background var(--dur-normal) var(--ease);
}
.jee-predictor-card:hover { background: rgba(255,255,255,.12); }

.jee-predictor-card__icon { font-size: 3rem; margin-bottom: var(--space-md); }
.jee-predictor-card__title { font-size: 1.375rem; font-weight: 700; color: #fff; margin-bottom: var(--space-sm); }
.jee-predictor-card__desc { color: rgba(255,255,255,.7); margin-bottom: var(--space-lg); font-size: .9rem; }

/* ══════════════════════════════════════
   20. PREVIOUS YEAR PAPERS
   ══════════════════════════════════════ */
.jee-papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

.jee-paper-card {
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.jee-paper-card:hover { box-shadow: var(--shadow-sm); }

.jee-paper-card__year {
  background: var(--jee-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 14px;
  text-align: center;
}

.jee-paper-card__body {
  padding: 12px 14px;
  flex: 1;
}
.jee-paper-card__title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.jee-paper-card__title a { color: var(--jee-dark); }
.jee-paper-card__title a:hover { color: var(--jee-accent); }

.jee-paper-card__actions {
  padding: 0 14px 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   21. NEWS GRID
   ══════════════════════════════════════ */
.jee-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.jee-news-card {
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-normal) var(--ease), transform var(--dur-normal) var(--ease);
}
.jee-news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.jee-news-card__img-link { overflow: hidden; aspect-ratio: 16/9; background: var(--jee-bg-alt); }
.jee-news-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.jee-news-card:hover .jee-news-card__img { transform: scale(1.03); }

.jee-news-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jee-news-card__date {
  font-size: .75rem;
  color: var(--jee-text-muted);
}

.jee-news-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.jee-news-card__title a { color: var(--jee-dark); }
.jee-news-card__title a:hover { color: var(--jee-accent); }

.jee-news-card__excerpt {
  font-size: .875rem;
  color: var(--jee-text-muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.jee-read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--jee-accent);
  margin-top: auto;
}
.jee-read-more:hover { color: var(--jee-accent-dark); }

/* ══════════════════════════════════════
   22. FAQ
   ══════════════════════════════════════ */
.jee-faq-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jee-faq-item {
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--jee-bg);
}

.jee-faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: var(--space-md);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--jee-text);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.jee-faq-question:hover { background: var(--jee-bg-light); }
.jee-faq-question[aria-expanded="true"] { color: var(--jee-primary); background: var(--jee-info-bg); }

.jee-faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--jee-text-muted);
  flex-shrink: 0;
  transition: transform var(--dur-normal) var(--ease);
}
.jee-faq-question[aria-expanded="true"] .jee-faq-icon {
  transform: rotate(45deg);
  color: var(--jee-primary);
}

.jee-faq-answer {
  padding: 0 20px 18px;
  font-size: .925rem;
  color: var(--jee-text);
  line-height: 1.75;
  border-top: 1px solid var(--jee-border);
}

/* ══════════════════════════════════════
   23. TOOLS (Rank & College Predictors)
   ══════════════════════════════════════ */
.jee-tool-container {
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.jee-tool-header {
  background: linear-gradient(135deg, var(--jee-primary-dark), var(--jee-primary));
  padding: var(--space-xl) var(--space-2xl);
  color: #fff;
}
.jee-tool-title  { font-size: 1.5rem; color: #fff; margin-bottom: var(--space-xs); }
.jee-tool-desc   { color: rgba(255,255,255,.8); font-size: .9rem; }

.jee-tool-form { padding: var(--space-xl) var(--space-2xl); }

.jee-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.jee-form-row--3 { grid-template-columns: 1fr 1fr 1fr; }

.jee-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.jee-form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--jee-text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.jee-input,
.jee-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--jee-border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--jee-text);
  background: var(--jee-bg);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.jee-input:focus,
.jee-select:focus {
  border-color: var(--jee-primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,.15);
  outline: none;
}

.jee-form-actions { display: flex; justify-content: flex-start; }

.jee-tool-result,
.jee-tool-error { padding: var(--space-xl) var(--space-2xl); }

.jee-result-card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: var(--jee-success-bg);
  border: 1px solid rgba(21,128,61,.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.jee-result-icon { font-size: 3rem; flex-shrink: 0; }
.jee-result-label { font-size: .85rem; color: var(--jee-text-muted); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.jee-result-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--jee-success);
  margin: 4px 0;
}
.jee-result-note { font-size: .78rem; color: var(--jee-text-muted); margin: 0; }

/* College Results Table */
.jee-colleges-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}
.jee-colleges-header h3 { font-size: 1.125rem; }
.jee-college-count { font-size: .875rem; color: var(--jee-text-muted); }

.jee-colleges-table-wrap { overflow-x: auto; }

.jee-colleges-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.jee-colleges-table th {
  background: var(--jee-primary);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.jee-colleges-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--jee-border);
}
.jee-colleges-table tr:nth-child(even) td { background: var(--jee-bg-light); }
.jee-colleges-table tr:hover td { background: var(--jee-info-bg); }

/* ══════════════════════════════════════
   24. ARTICLES (single posts & CPTs)
   ══════════════════════════════════════ */
.jee-article__header { margin-bottom: var(--space-xl); }
.jee-article__cats   { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-md); }
.jee-article__title  { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.2; }

.jee-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-md);
  font-size: .85rem;
  color: var(--jee-text-muted);
}
.jee-meta-author a { color: var(--jee-primary); font-weight: 600; }
.jee-meta-date, .jee-meta-modified, .jee-meta-read-time { display: flex; align-items: center; gap: 4px; }

.jee-article__featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-xl); }
.jee-article__featured-img img { width: 100%; height: auto; }

.jee-article__content { font-size: 1.0625rem; line-height: 1.8; }
.jee-article__content h2 { font-size: 1.5rem; margin: 2em 0 .75em; color: var(--jee-dark); }
.jee-article__content h3 { font-size: 1.25rem; margin: 1.75em 0 .6em; }
.jee-article__content h4 { font-size: 1.1rem; margin: 1.5em 0 .5em; }
.jee-article__content ul,
.jee-article__content ol  { margin: 1em 0 1em 1.5em; }
.jee-article__content li  { margin-bottom: .4em; }
.jee-article__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9rem; overflow-x: auto; display: block; }
.jee-article__content th  { background: var(--jee-primary); color: #fff; padding: 10px 14px; text-align: left; }
.jee-article__content td  { padding: 9px 14px; border-bottom: 1px solid var(--jee-border); }
.jee-article__content tr:nth-child(even) td { background: var(--jee-bg-light); }
.jee-article__content blockquote {
  border-left: 4px solid var(--jee-accent);
  padding: var(--space-md) var(--space-lg);
  background: var(--jee-bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--jee-text-muted);
}
.jee-article__content a { color: var(--jee-primary); text-decoration: underline; }
.jee-article__content a:hover { color: var(--jee-accent); }

.jee-article__tags { margin-top: var(--space-xl); font-size: .875rem; }
.jee-article__tags a { margin-right: 6px; color: var(--jee-text-muted); }

/* Author Box */
.jee-author-box {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  background: var(--jee-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
  border: 1px solid var(--jee-border);
}
.jee-author-box__avatar img { border-radius: 50%; }
.jee-author-box__name { font-size: 1rem; margin-bottom: var(--space-xs); }
.jee-author-box__bio  { font-size: .875rem; color: var(--jee-text-muted); }

/* ══════════════════════════════════════
   25. RESULT HERO CARD (single CPT)
   ══════════════════════════════════════ */
.jee-result-hero-card {
  background: linear-gradient(135deg, var(--jee-primary-dark), var(--jee-primary));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  text-align: center;
}
.jee-result-hero-card__title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #fff;
  margin: var(--space-md) 0 var(--space-sm);
}
.jee-result-hero-card__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  margin-bottom: var(--space-xl);
}
.jee-result-hero-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Steps Box */
.jee-steps-box {
  background: var(--jee-bg-light);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}
.jee-steps-box h2 { font-size: 1.25rem; margin-bottom: var(--space-md); }
.jee-steps-list   { margin: 0; padding-left: 1.5em; }
.jee-steps-list li{ margin-bottom: var(--space-sm); font-size: .95rem; }

/* Tools CTA Bar */
.jee-tools-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--jee-bg-light);
  border-radius: var(--radius-lg);
}
.jee-tools-cta-link {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  color: var(--jee-primary);
  transition: all var(--dur-fast) var(--ease);
}
.jee-tools-cta-link:hover {
  background: var(--jee-primary);
  color: #fff;
  border-color: var(--jee-primary);
}

/* ══════════════════════════════════════
   26. INFO BOX
   ══════════════════════════════════════ */
.jee-info-box {
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  font-size: .9rem;
  line-height: 1.6;
}
.jee-info-box strong { display: block; margin-bottom: 4px; }
.jee-info-box--warning { background: var(--jee-warning-bg); border-left: 4px solid var(--jee-warning); color: #78350f; }
.jee-info-box--info    { background: var(--jee-info-bg);    border-left: 4px solid var(--jee-info);    color: #1e3a5f; }
.jee-info-box--success { background: var(--jee-success-bg); border-left: 4px solid var(--jee-success); color: #14532d; }

/* ══════════════════════════════════════
   27. CTA BANNER
   ══════════════════════════════════════ */
.jee-cta-banner {
  background: linear-gradient(135deg, var(--jee-primary-dark), var(--jee-primary));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  margin-top: var(--space-xl);
}
.jee-cta-banner h3 { font-size: 1.375rem; color: #fff; margin-bottom: var(--space-sm); }
.jee-cta-banner p  { color: rgba(255,255,255,.8); margin-bottom: var(--space-lg); }

/* ══════════════════════════════════════
   28. HOW IT WORKS STEPS
   ══════════════════════════════════════ */
.jee-how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.jee-how-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.jee-how-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--jee-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jee-how-step__text strong { display: block; margin-bottom: 4px; font-size: .95rem; }
.jee-how-step__text p { font-size: .85rem; color: var(--jee-text-muted); margin: 0; }

/* College Stats */
.jee-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.jee-stat-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--jee-border);
}
.jee-stat-card--primary { background: var(--jee-info-bg); }
.jee-stat-card--info    { background: #EDE9FE; }
.jee-stat-card--success { background: var(--jee-success-bg); }
.jee-stat-card--warning { background: var(--jee-warning-bg); }
.jee-stat-card__num   { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--jee-dark); }
.jee-stat-card__label { font-size: .875rem; font-weight: 600; color: var(--jee-text-muted); }

/* ══════════════════════════════════════
   29. 404 PAGE
   ══════════════════════════════════════ */
.jee-404-page {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}
.jee-404-graphic {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--jee-border);
  line-height: 1;
  margin-bottom: var(--space-md);
}
.jee-404-title { font-size: 2rem; margin-bottom: var(--space-md); }
.jee-404-desc  { color: var(--jee-text-muted); max-width: 500px; margin: 0 auto var(--space-xl); }
.jee-404-search { max-width: 400px; margin: 0 auto var(--space-2xl); }
.jee-404-links-title { font-size: 1.125rem; margin-bottom: var(--space-md); }
.jee-404-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-2xl);
}
.jee-404-link {
  padding: 8px 18px;
  background: var(--jee-bg-light);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: 500;
  color: var(--jee-text);
  transition: all var(--dur-fast) var(--ease);
}
.jee-404-link:hover { background: var(--jee-primary); color: #fff; border-color: var(--jee-primary); }

/* ══════════════════════════════════════
   30. SIDEBAR
   ══════════════════════════════════════ */
.jee-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--nav-h) + var(--space-md));
  max-height: calc(100vh - var(--header-h) - var(--nav-h) - 2rem);
  overflow-y: auto;
}

.jee-sidebar .widget {
  background: var(--jee-bg);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.jee-sidebar .widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--jee-dark);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--jee-accent);
  margin-bottom: var(--space-md);
}

.jee-sidebar .jee-widget-list {
  list-style: none;
  padding: 0;
}
.jee-sidebar .jee-widget-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--jee-border);
  font-size: .875rem;
}
.jee-sidebar .jee-widget-item:last-child { border-bottom: none; }
.jee-sidebar .jee-widget-viewall {
  display: block;
  margin-top: var(--space-sm);
  font-size: .8rem;
  font-weight: 600;
  color: var(--jee-accent);
}

/* ══════════════════════════════════════
   31. FOOTER
   ══════════════════════════════════════ */
.jee-footer {
  background: var(--jee-dark);
  color: rgba(255,255,255,.75);
  margin-top: var(--space-4xl);
}

.jee-footer__widgets {
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.jee-footer__widgets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.jee-footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.jee-footer__links {
  list-style: none;
  padding: 0;
}
.jee-footer__links li { margin-bottom: 8px; }
.jee-footer__links a  { font-size: .875rem; color: rgba(255,255,255,.65); }
.jee-footer__links a:hover { color: var(--jee-accent-light); }

.jee-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--space-lg) 0;
}
.jee-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.jee-footer__legal-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px var(--space-md);
}
.jee-footer__legal-menu a {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}
.jee-footer__legal-menu a:hover { color: rgba(255,255,255,.9); }

.jee-footer__copyright {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin: 0;
  margin-left: auto;
  text-align: right;
}
.jee-footer__copyright a { color: rgba(255,255,255,.65); }
.jee-footer__copyright a:hover { color: #fff; }

/* ══════════════════════════════════════
   32. ARCHIVE PAGE
   ══════════════════════════════════════ */
.jee-archive-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--jee-border);
}
.jee-archive-title { font-size: clamp(1.375rem, 4vw, 2rem); }
.jee-archive-desc  { color: var(--jee-text-muted); font-size: .95rem; margin-top: var(--space-sm); }

.jee-archive-grid--cpt { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-lg); }
.jee-archive-grid--posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-lg); }

.jee-archive-card {
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--jee-bg);
  transition: box-shadow var(--dur-normal) var(--ease);
}
.jee-archive-card:hover { box-shadow: var(--shadow-md); }
.jee-archive-card__img-link { display: block; aspect-ratio: 16/9; overflow: hidden; }
.jee-archive-card__img-link img { width: 100%; height: 100%; object-fit: cover; }
.jee-archive-card__body { padding: var(--space-lg); }
.jee-archive-card__title { font-size: 1rem; font-weight: 700; margin: var(--space-xs) 0; }
.jee-archive-card__title a { color: var(--jee-dark); }
.jee-archive-card__title a:hover { color: var(--jee-accent); }
.jee-archive-card__date { font-size: .78rem; color: var(--jee-text-muted); }
.jee-archive-card__excerpt { font-size: .875rem; color: var(--jee-text-muted); margin: var(--space-sm) 0; }

/* Pagination */
.jee-pagination { margin-top: var(--space-2xl); }
.jee-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.jee-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  color: var(--jee-text);
  transition: all var(--dur-fast) var(--ease);
}
.jee-pagination .page-numbers:hover,
.jee-pagination .page-numbers.current {
  background: var(--jee-primary);
  color: #fff;
  border-color: var(--jee-primary);
}

/* ══════════════════════════════════════
   33. COUNTDOWN
   ══════════════════════════════════════ */
.jee-countdown {
  background: linear-gradient(135deg, var(--jee-dark), var(--jee-primary-dark));
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  color: #fff;
}
.jee-countdown-label { font-size: 1rem; font-weight: 600; margin-bottom: var(--space-md); opacity: .8; }
.jee-countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
}
.jee-cd-unit { display: flex; flex-direction: column; align-items: center; }
.jee-cd-num  { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; line-height: 1; min-width: 64px; }
.jee-cd-label{ font-size: .7rem; letter-spacing: .1em; opacity: .7; margin-top: 4px; }
.jee-cd-sep  { font-size: 2rem; font-weight: 700; opacity: .5; padding-bottom: 12px; }

/* ══════════════════════════════════════
   34. POPULAR SEARCHES WIDGET
   ══════════════════════════════════════ */
.jee-popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.jee-search-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--jee-bg-light);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 500;
  color: var(--jee-text);
  transition: all var(--dur-fast) var(--ease);
}
.jee-search-tag:hover {
  background: var(--jee-primary);
  color: #fff;
  border-color: var(--jee-primary);
}

/* ══════════════════════════════════════
   35. BREADCRUMBS
   ══════════════════════════════════════ */
.jee-breadcrumbs { margin-bottom: var(--space-lg); }
.jee-breadcrumb-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  color: var(--jee-text-muted);
}
.jee-breadcrumb-item a { color: var(--jee-text-muted); }
.jee-breadcrumb-item a:hover { color: var(--jee-primary); }
.jee-breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: 4px;
  opacity: .5;
}
.jee-breadcrumb-item.active { color: var(--jee-text); }

/* ══════════════════════════════════════
   36. DATES TABLE (shortcode)
   ══════════════════════════════════════ */
.jee-dates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.jee-dates-table th { background: var(--jee-primary); color: #fff; padding: 10px 14px; text-align: left; }
.jee-dates-table td { padding: 10px 14px; border-bottom: 1px solid var(--jee-border); }
.jee-dates-table tr:last-child td { border-bottom: none; }
.jee-dates-table tr:nth-child(even) td { background: var(--jee-bg-light); }

/* ══════════════════════════════════════
   37. POST NAVIGATION
   ══════════════════════════════════════ */
.jee-post-nav { margin-top: var(--space-2xl); }
.jee-post-nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}
.jee-post-nav .nav-links a {
  padding: 10px 16px;
  background: var(--jee-bg-light);
  border: 1px solid var(--jee-border);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 600;
  color: var(--jee-text);
}
.jee-post-nav .nav-links a:hover { background: var(--jee-primary); color: #fff; border-color: var(--jee-primary); }

/* ══════════════════════════════════════
   38. TOOL PAGE LAYOUT
   ══════════════════════════════════════ */
.jee-tool-page { padding: var(--space-2xl) 0 var(--space-3xl); }
.jee-tool-page__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.jee-tool-page__title { font-size: clamp(1.5rem, 4vw, 2.5rem); }
.jee-tool-page__desc  { color: var(--jee-text-muted); font-size: 1.0625rem; margin-top: var(--space-sm); }
.jee-tool-page__content { margin-top: var(--space-2xl); }
.jee-tool-how-it-works { margin-top: var(--space-2xl); }
.jee-tool-how-it-works h2 { font-size: 1.375rem; margin-bottom: var(--space-lg); }

/* ══════════════════════════════════════
   39. NO RESULTS
   ══════════════════════════════════════ */
.jee-no-results {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--jee-bg-light);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--jee-border);
}
.jee-no-results h2 { margin-bottom: var(--space-md); }
