/* =============================================
   THE POOL PROFESSOR — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  --blue-50:  #e0f9ff;
  --blue-100: #b8f0fd;
  --blue-200: #7fe3f8;
  --blue-400: #22d3ee;
  --blue-500: #06b6d4;
  --blue-600: #0891b2;
  --blue-700: #0e7490;
  --blue-800: #155e75;
  --blue-900: #164e63;
  --navy:     #0f2744;
  --aqua:     #06b6d4;
  --aqua-mid: #22d3ee;
  --aqua-light: #ecfeff;
  --sky:      #0ea5e9;
  --sky-dark: #0284c7;
  --slate-50: #f8fafc;
  --slate-100:#f1f5f9;
  --slate-200:#e2e8f0;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --slate-900:#0f172a;
  --white:    #ffffff;
  --accent:   #f59e0b;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 16px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --max-w: 1160px;
  --section-gap: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-gap) 0; }
.section--alt {
  background:
    linear-gradient(180deg, rgba(224,249,255,0.92) 0%, rgba(180,235,255,0.88) 100%),
    url('images/sparkling-pool-water-bg.jpg') center/cover no-repeat;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.nav__logo-icon {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--aqua-mid);
  box-shadow: 0 2px 8px rgba(6,182,212,.25);
}
.footer__brand-icon img {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
}
.footer__brand-name img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.nav__logo span { color: var(--blue-600); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--slate-600); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--blue-600); }
.nav__cta {
  background: var(--blue-600); color: white !important;
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-weight: 600 !important; font-size: 0.825rem !important; transition: background .2s !important;
}
.nav__cta:hover { background: var(--blue-700) !important; }
.nav__hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--slate-700); }
.nav__mobile { display: none; flex-direction: column; background: white; border-top: 1px solid var(--slate-200); padding: 16px 24px; gap: 4px; }
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 0.95rem; font-weight: 500; color: var(--slate-700); padding: 10px 0; border-bottom: 1px solid var(--slate-100); }
.nav__mobile a:last-child { border-bottom: none; }

/* HERO */
.hero {
  background:
    linear-gradient(160deg, rgba(0,70,110,0.88) 0%, rgba(0,130,185,0.78) 45%, rgba(20,190,220,0.62) 80%, rgba(80,220,240,0.45) 100%),
    url('images/sparkling-pool-water-bg.jpg') center/cover no-repeat;
  color: white; padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 20px; color: var(--blue-200);
}
.hero__title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero__title em { font-style: normal; color: var(--blue-400); }
.hero__subtitle { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 520px; margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  border: 2px solid transparent; transition: all .2s;
  text-decoration: none; font-family: var(--font-sans);
}
.btn--primary { background: var(--aqua); color: white; border-color: var(--aqua); }
.btn--primary:hover { background: var(--aqua-mid); border-color: var(--aqua-mid); }
.btn--outline-white { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn--outline { background: transparent; color: var(--blue-600); border-color: var(--blue-200); }
.btn--outline:hover { background: var(--blue-50); }

/* HERO CARD */
.hero__visual { position: relative; }
.hero__card {
  background: rgba(255,255,255,.1); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 28px; color: white;
}
.hero__card-title { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .8px; color: var(--blue-300); margin-bottom: 16px; }
.hero__stat-list { display: flex; flex-direction: column; gap: 12px; }
.hero__stat { display: flex; align-items: center; gap: 12px; padding: 12px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); }
.hero__stat-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.hero__stat-icon--blue  { background: rgba(14,165,233,.3); }
.hero__stat-icon--teal  { background: rgba(20,184,166,.3); }
.hero__stat-icon--amber { background: rgba(245,158,11,.3); }
.hero__stat-icon--green { background: rgba(34,197,94,.3); }
.hero__stat-text strong { font-size: 0.9rem; font-weight: 600; display: block; }
.hero__stat-text span   { font-size: 0.78rem; color: rgba(255,255,255,.6); }

/* CATEGORIES */
.categories__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 48px; }
.category-card {
  background: white; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; cursor: pointer; transition: all .2s;
  text-decoration: none; color: inherit; display: block;
}
.category-card:hover { border-color: var(--blue-400); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.category-card__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.category-card__name { font-weight: 600; font-size: 0.9rem; color: var(--slate-800); margin-bottom: 4px; }
.category-card__count { font-size: 0.78rem; color: var(--slate-400); }

/* SECTION HEADING */
.section-heading { text-align: center; max-width: 580px; margin: 0 auto; }
.section-heading__eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-600); margin-bottom: 10px; }
.section-heading h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.25rem); color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
.section-heading p { color: var(--slate-500); font-size: 1.05rem; line-height: 1.7; }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 48px; }
.blog-card {
  background: white; border: 1px solid var(--slate-200); border-radius: var(--radius);
  overflow: hidden; transition: all .2s; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.blog-card:hover { border-color: var(--blue-300); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__thumb { height: 180px; background: var(--blue-100); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; overflow: hidden; }
.blog-card__thumb-emoji {
  position: relative; z-index: 2; font-size: 2.2rem;
  background: rgba(255,255,255,0.75); border-radius: 50%;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}
.blog-card__thumb--green  { background: #dcfce7; }
.blog-card__thumb--blue   { background: var(--blue-100); }
.blog-card__thumb--amber  { background: #fef3c7; }
.blog-card__thumb--slate  { background: var(--slate-100); }
.blog-card__thumb--teal   { background: #ccfbf1; }
.blog-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card__category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--blue-600); margin-bottom: 8px; }
.blog-card__title { font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.4; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.blog-card__excerpt { font-size: 0.88rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--slate-400); border-top: 1px solid var(--slate-100); padding-top: 14px; }
.blog-card__read { color: var(--blue-600); font-weight: 600; font-size: 0.82rem; }

/* NEWSLETTER */
.newsletter { background: linear-gradient(135deg, #004f78 0%, #006fa3 50%, #0096c7 100%); color: white; padding: 80px 0; }
.newsletter__inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.newsletter__eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-400); margin-bottom: 12px; }
.newsletter h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.3; margin-bottom: 14px; }
.newsletter p { color: rgba(255,255,255,.65); font-size: 1rem; line-height: 1.7; }
.newsletter__perks { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.newsletter__perk { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,.75); }
.newsletter__perk-check { width: 20px; height: 20px; background: rgba(14,165,233,.2); border: 1px solid var(--blue-500); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.7rem; color: var(--blue-400); }
.newsletter__form { display: flex; flex-direction: column; gap: 14px; }
.newsletter__form input[type="text"],
.newsletter__form input[type="email"] { width: 100%; padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: white; font-family: var(--font-sans); font-size: 0.95rem; outline: none; transition: border-color .2s; }
.newsletter__form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter__form input:focus { border-color: var(--blue-400); }
.newsletter__form button { width: 100%; padding: 14px; background: var(--blue-500); color: white; border: none; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background .2s; }
.newsletter__form button:hover { background: var(--blue-400); }
.newsletter__fine { font-size: 0.75rem; color: rgba(255,255,255,.35); text-align: center; }

/* TRUST STRIP */
.trust-strip {
  background:
    linear-gradient(135deg, rgba(0,110,175,0.85) 0%, rgba(20,190,220,0.80) 100%),
    url('images/sparkling-pool-water-bg.jpg') center/cover no-repeat;
  color: white; padding: 56px 0;
}
.trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.trust-stat__value { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; margin-bottom: 4px; }
.trust-stat__label { font-size: 0.88rem; opacity: .75; }

/* PROFESSOR STRIP */
.professor-strip { padding: 80px 0; }
.professor-strip__inner { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; }
.professor-card { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.professor-avatar { width: 100px; height: 100px; background: var(--blue-200); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 3rem; border: 4px solid var(--blue-400); }
.professor-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 4px; }
.professor-card .professor-title { font-size: 0.82rem; color: var(--blue-600); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px; }
.professor-card p { font-size: 0.88rem; color: var(--slate-500); line-height: 1.6; }
.professor-strip__content h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); line-height: 1.3; margin-bottom: 16px; }
.professor-strip__content p { color: var(--slate-500); line-height: 1.8; margin-bottom: 16px; }

/* FOOTER */
.footer { background: var(--slate-900); color: var(--slate-400); padding: 64px 0 32px; }
.footer__top { display: grid; grid-template-columns: 260px 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--slate-700); }
.footer__brand-name { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer__brand-icon { width: 30px; height: 30px; background: var(--blue-600); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.9rem; }
.footer__brand-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; background: var(--slate-800); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--slate-400); font-size: 0.85rem; transition: all .2s; }
.footer__social a:hover { background: var(--blue-600); color: white; }
.footer__col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--slate-300); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { font-size: 0.88rem; color: var(--slate-400); transition: color .2s; }
.footer__col ul a:hover { color: var(--blue-400); }
.footer__bottom { padding-top: 28px; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer__bottom a { color: var(--slate-400); transition: color .2s; }
.footer__bottom a:hover { color: var(--blue-400); }
.footer__disclaimer { font-size: 0.76rem; color: var(--slate-600); text-align: center; margin-top: 16px; line-height: 1.6; }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, #005f8e 0%, #0096c7 60%, #29cce8 100%); color: white; padding: 64px 0; }
.page-header__eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue-400); margin-bottom: 10px; }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.25; margin-bottom: 14px; }
.page-header p { font-size: 1.05rem; color: rgba(255,255,255,.7); max-width: 600px; line-height: 1.7; }

/* BLOG LISTING */
.blog-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { padding: 7px 18px; border-radius: 100px; border: 1.5px solid var(--slate-200); font-size: 0.85rem; font-weight: 500; cursor: pointer; background: white; color: var(--slate-600); transition: all .2s; font-family: var(--font-sans); }
.filter-btn:hover, .filter-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: white; }

/* ARTICLE */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.article__category { background: var(--blue-100); color: var(--blue-700); padding: 4px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.article__date, .article__read-time { font-size: 0.82rem; color: var(--slate-400); }
.article h1 { font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--navy); line-height: 1.25; margin-bottom: 20px; }
.article__intro { font-size: 1.12rem; color: var(--slate-600); line-height: 1.75; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--slate-200); }
.article__body h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); margin: 40px 0 14px; line-height: 1.3; }
.article__body h3 { font-size: 1.1rem; font-weight: 700; color: var(--slate-800); margin: 28px 0 10px; }
.article__body p { margin-bottom: 18px; line-height: 1.8; color: var(--slate-700); }
.article__body ul, .article__body ol { padding-left: 22px; margin-bottom: 18px; color: var(--slate-700); }
.article__body li { margin-bottom: 8px; line-height: 1.7; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.callout-box { background: var(--blue-50); border-left: 4px solid var(--blue-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; margin: 28px 0; }
.callout-box--warning { background: #fffbeb; border-color: var(--accent); }
.callout-box p { margin: 0 !important; font-size: 0.92rem; color: var(--slate-700); }
.callout-box strong { color: var(--navy); }

/* SIDEBAR */
.sidebar { position: sticky; top: 84px; }
.sidebar__card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.sidebar__card h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--slate-400); margin-bottom: 14px; }
.toc-list { display: flex; flex-direction: column; gap: 8px; }
.toc-list a { font-size: 0.85rem; color: var(--slate-500); transition: color .2s; padding-left: 10px; border-left: 2px solid transparent; }
.toc-list a:hover, .toc-list a.active { color: var(--blue-600); border-left-color: var(--blue-400); }

/* REFERENCE TABLE */
.ref-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.ref-table th { background: var(--navy); color: white; padding: 10px 16px; text-align: left; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.ref-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.ref-table th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.ref-table td { padding: 10px 16px; border-bottom: 1px solid var(--slate-200); color: var(--slate-700); }
.ref-table tr:last-child td { border-bottom: none; }
.ref-table tr:nth-child(even) td { background: var(--slate-50); }
.ref-table .ideal { color: #16a34a; font-weight: 600; }
.ref-table .danger { color: #dc2626; font-weight: 600; }

/* HERO SEARCH */
.hero-search { margin-bottom: 28px; max-width: 580px; }
.hero-search__form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 6px 6px 6px 16px;
  gap: 10px;
  transition: border-color .2s, background .2s;
}
.hero-search__form:focus-within {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
}
.hero-search__icon { color: rgba(255,255,255,.55); flex-shrink: 0; }
.hero-search__input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  min-width: 0;
}
.hero-search__input::placeholder { color: rgba(255,255,255,.45); }
.hero-search__btn {
  background: white;
  color: var(--blue-700);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.hero-search__btn:hover { background: var(--blue-100); }
.hero-search__pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.hero-search__label { font-size: 0.75rem; color: rgba(255,255,255,.5); font-weight: 600; }
.hero-search__pill {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  color: rgba(255,255,255,.8);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all .2s;
}
.hero-search__pill:hover { background: rgba(255,255,255,.22); color: white; border-color: rgba(255,255,255,.45); }

/* SEARCH RESULTS DROPDOWN */
.hero-search__results {
  background: white;
  border-radius: var(--radius);
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}
.hero-search__results[hidden] { display: none; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--slate-800);
  border-bottom: 1px solid var(--slate-100);
  transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--blue-50); }
.search-result-item__icon { font-size: 1.4rem; flex-shrink: 0; }
.search-result-item__title { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.search-result-item__cat   { font-size: 0.75rem; color: var(--slate-400); margin-top: 2px; }
.search-no-result {
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--slate-500);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .professor-strip__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .trust-strip__inner { grid-template-columns: 1fr; gap: 24px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  :root { --section-gap: 60px; }
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .footer__top { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .blog-grid { grid-template-columns: 1fr; }
}
