/* ThinkHomeo 2026 — lightweight visual system. Kept separate from generated Tailwind CSS. */
:root {
  --ink: #12322d;
  --muted: #62756f;
  --paper: #fcfdfb;
  --surface: #ffffff;
  --line: #dce7e1;
  --mint-50: #eff9f4;
  --mint-100: #ddf3e8;
  --mint-500: #15956c;
  --mint-600: #087a56;
  --leaf: #0d5b43;
  --sun: #ecb941;
  --shadow-sm: 0 4px 12px rgba(12, 62, 47, .06);
  --shadow-lg: 0 20px 60px rgba(12, 62, 47, .12);
  --radius-lg: 24px;
  --radius-md: 16px;
}

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body.hindi-text { background: var(--paper) !important; color: var(--ink); font-family: "Noto Sans Devanagari", ui-sans-serif, system-ui, sans-serif; line-height: 1.7; }
body.hindi-text::selection { color: #fff; background: var(--mint-600); }
img { max-width: 100%; }
:where(a, button, input, select, textarea, summary, [role="link"]):focus-visible { outline: 3px solid #0a8d63; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; transform: translateY(-150%); border-radius: 8px; padding: .65rem 1rem; background: var(--leaf); color: #fff; transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(252,253,251,.88); border-bottom: 1px solid rgba(220,231,225,.78); backdrop-filter: blur(18px); }
.legacy-header { display: none !important; }
.site-header__inner { max-width: 1280px; height: 76px; margin: auto; padding: 0 1.25rem; display: flex; align-items: center; gap: 1.4rem; }
.site-brand { min-height: 44px; color: var(--ink); display: inline-flex; flex: 0 0 auto; align-items: center; gap: .65rem; text-decoration: none; }
.site-brand img { width: 42px; height: 42px; object-fit: cover; object-position: center; }
.site-brand__copy { display: grid; line-height: 1; }
.site-brand__copy strong { font-size: 1.08rem; letter-spacing: -.035em; }
.site-brand__copy small { margin-top: .4rem; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .025em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: .25rem; margin-left: auto; }
.site-nav a, .mobile-nav a { display: inline-flex; min-height: 44px; align-items: center; color: #35564d; border-radius: 8px; padding: .45rem .65rem; font-size: .86rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--mint-50); color: var(--mint-600); }
.site-search { position: relative; display: flex; align-items: center; width: min(270px, 25vw); height: 42px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--muted); transition: box-shadow .2s, border-color .2s; }
.site-search:focus-within { border-color: var(--mint-500); box-shadow: 0 0 0 4px rgba(21,149,108,.11); }
.site-search > svg { flex: 0 0 auto; width: 18px; height: 18px; margin: 0 .55rem .1rem .8rem; }
.site-search input { min-width: 0; flex: 1; padding: .35rem .7rem .35rem 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: .84rem; }
.site-search input::placeholder { color: #82928e; }
.search-spinner { width: 15px; height: 15px; margin-right: .75rem; border: 2px solid #cde4da; border-top-color: var(--mint-600); border-radius: 50%; animation: th-spin .7s linear infinite; }
@keyframes th-spin { to { transform: rotate(360deg); } }
.site-search .search-dropdown { position: absolute; top: calc(100% + .65rem); right: 0; left: auto; width: min(430px, calc(100vw - 2rem)); max-height: 70vh; overflow: auto; padding: .45rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-lg); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { padding: .5rem 1.25rem 1rem; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav a { display: block; padding: .7rem .8rem; }

/* Homepage */
.th-home { overflow: hidden; }
.th-hero { position: relative; overflow: hidden; padding: clamp(3.8rem, 8vw, 7rem) 1.25rem 4rem; background: linear-gradient(122deg, #e8f7ed 0%, #f7fbf1 51%, #f8eecf 145%); }
.th-hero::before, .th-hero::after { position: absolute; content: ""; width: 35rem; height: 35rem; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.th-hero::before { top: -26rem; left: -12rem; background: rgba(115, 205, 153, .26); }
.th-hero::after { right: -18rem; bottom: -28rem; background: rgba(240, 191, 80, .20); }
.th-hero__grid { position: relative; z-index: 1; max-width: 1200px; margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .85fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.eyebrow { display: inline-flex; gap: .45rem; align-items: center; padding: .34rem .7rem; border: 1px solid #bbded0; border-radius: 99px; background: rgba(255,255,255,.6); color: var(--leaf); font-size: .76rem; font-weight: 800; letter-spacing: .02em; }
.eyebrow::before { width: .44rem; height: .44rem; border-radius: 50%; background: var(--mint-500); content: ""; }
.th-hero h1 { max-width: 720px; margin: 1rem 0 1rem; color: #143b32; font-size: clamp(2.15rem, 5vw, 4.35rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.17; }
.th-hero h1 em { color: var(--mint-600); font-style: normal; }
.th-hero__intro { max-width: 650px; margin: 0; color: #49665d; font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.85; }
.th-hero__intro strong { color: var(--leaf); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.65rem; }
.button-primary, .button-secondary { display: inline-flex; gap: .45rem; align-items: center; justify-content: center; border-radius: 10px; padding: .73rem 1rem; text-decoration: none; font-size: .9rem; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button-primary { background: var(--leaf); box-shadow: 0 7px 17px rgba(13,91,67,.20); color: #fff; }
.button-primary:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 11px 22px rgba(13,91,67,.25); }
.button-secondary { border: 1px solid #b8d9c9; background: rgba(255,255,255,.67); color: var(--leaf); }
.button-secondary:hover { background: #fff; color: var(--leaf); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .55rem .6rem; margin-top: 1.7rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .42rem; padding: .42rem .82rem; border: 1px solid #cbe6d8; border-radius: 99px; background: rgba(255,255,255,.72); color: #2f5346; font-size: .78rem; font-weight: 700; box-shadow: 0 2px 8px rgba(12,62,47,.05); backdrop-filter: blur(4px); }
.hero-feature { position: relative; min-height: 375px; }
.hero-feature__label { position: absolute; z-index: 3; top: -1rem; left: -1rem; border-radius: 8px; padding: .45rem .7rem; box-shadow: var(--shadow-sm); background: #fff; color: var(--leaf); font-size: .74rem; font-weight: 800; }
.hero-slider-container { position: relative; width: 100% !important; height: 375px !important; margin: 0 !important; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-lg); background: #d5e5dc; }
.hero-slider-card { flex: 0 0 100% !important; width: 100% !important; min-height: 375px !important; border-radius: var(--radius-lg) !important; background-size: cover !important; }
.hero-slider-loading { display: grid; width: 100%; height: 100%; place-items: center; padding: 2rem; color: #315d50; font-size: .9rem; font-weight: 700; text-align: center; }
.hero-slider-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(10,42,31,.03) 22%, rgba(10,42,31,.84) 100%); }
.hero-slider-content { padding: 1.5rem !important; z-index: 3 !important; }
.hero-slider-content > div { padding: 2.5rem 0 0 !important; background: none !important; }
.hero-slider-title { max-width: 26rem; font-size: 1.3rem !important; line-height: 1.45 !important; }
.hero-slider-description { max-width: 28rem; padding-bottom: 4rem !important; font-size: .86rem !important; }
.hero-slider-popular { top: 1rem !important; right: 1rem !important; background: var(--sun) !important; color: #4a3613 !important; box-shadow: none !important; }
.hero-slider-dot { display: grid !important; width: 32px !important; height: 32px !important; padding: 0 !important; place-items: center; border: 0 !important; background: transparent !important; cursor: pointer; }
.hero-slider-dot::after { width: 22px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.55); content: ""; transition: width .2s, background .2s; }
.hero-slider-dot.active { background: transparent !important; box-shadow: none !important; transform: none !important; }
.hero-slider-dot.active::after { width: 28px; background: #fff; }
.hero-slider-progress { background: var(--sun) !important; }
.hero-slider-pause { position: absolute; z-index: 11; top: 1rem; left: 1rem; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; background: rgba(10,52,39,.62); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.hero-slider-pause:hover, .hero-slider-pause[aria-pressed="true"] { background: rgba(10,52,39,.88); transform: translateY(-1px); }
.hero-slider-pause svg { width: 18px; height: 18px; }

/* स्लाइडर कंट्रोल — pause + dots एक ही निचली पट्टी (pill) में (audit #8,17,18,19) */
.hero-slider-indicators { position: absolute; z-index: 11; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 99px; background: rgba(10,52,39,.5); backdrop-filter: blur(8px); }
.hero-slider-indicators .hero-slider-pause { position: static; width: 30px; height: 30px; border-radius: 8px; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.16); backdrop-filter: none; }
.hero-slider-indicators .hero-slider-pause:hover, .hero-slider-indicators .hero-slider-pause[aria-pressed="true"] { background: rgba(255,255,255,.32); transform: none; }
.hero-slider-indicators .hero-slider-pause svg { width: 15px; height: 15px; }
.hero-slider-dot::after { width: 24px; height: 4px; background: rgba(255,255,255,.7); }
.hero-slider-dot.active::after { width: 30px; background: #fff; }

/* लेख-कार्ड अब असली लिंक (<a>) — नए टैब में खोलें/लिंक-कॉपी + कीबोर्ड फ़ोकस */
.post-card, .related-post-card, .all-post-card { text-decoration: none !important; color: inherit; }
.post-card:focus-visible, .related-post-card:focus-visible, .all-post-card:focus-visible { outline: 3px solid #0a3427 !important; outline-offset: 3px; }

.quick-topics { position: relative; z-index: 3; max-width: 1110px; margin: -1.35rem auto 0; padding: 0 1.25rem; }
.quick-topics__inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; padding: .7rem; border: 1px solid #e1ebe5; border-radius: var(--radius-md); background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); }
.topic-link { display: flex; min-height: 48px; gap: .72rem; align-items: center; min-width: 0; padding: .6rem .7rem; border-radius: 11px; color: var(--ink); text-decoration: none !important; overflow: hidden; transition: background .2s, transform .2s; }
.topic-link strong, .topic-link small { text-decoration: none !important; }
.topic-link:hover { transform: translateY(-1px); background: var(--mint-50); color: var(--ink); }
.topic-link__icon { display: grid; flex: 0 0 auto; width: 37px; height: 37px; place-items: center; border-radius: 9px; background: #e8f6ee; color: var(--mint-600); font-size: 1.2rem; }
.topic-link:nth-child(2) .topic-link__icon { background: #fff5db; color: #aa7510; }
.topic-link:nth-child(3) .topic-link__icon { background: #e8f0fb; color: #3475b9; }
.topic-link__icon svg { width: 20px; height: 20px; }
.topic-link > span:not(.topic-link__icon) { min-width: 0; flex: 1 1 0; overflow: hidden; }
.topic-link strong, .topic-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic-link strong { font-size: .92rem; }
.topic-link small { margin-top: .05rem; color: var(--muted); font-size: .68rem; }

.content-shell { max-width: 1200px; margin: auto; padding: clamp(3.4rem, 6vw, 5.5rem) 1.25rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.35rem); letter-spacing: -.045em; line-height: 1.25; }
.section-heading p { max-width: 29rem; margin: 0; color: var(--muted); font-size: .9rem; text-align: right; }
.section-kicker { display: block; margin-bottom: .45rem; color: var(--mint-600); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.alphabet-section { margin-top: 0; padding: 1.55rem; border: 1px solid #dce9e1; border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff, #f5fbf7); }
#postNavigator { margin: 0 !important; padding: 0 !important; border-radius: 0 !important; background: none !important; }
#postNavigator .max-w-6xl { max-width: none; padding: 0; }
#postNavigator .section-divider, #postNavigator .medical-badge { display: none; }
.alphabet-nav { gap: .42rem !important; }
.alphabet-btn, .alphabet-nav button { min-width: 2.75rem; height: 2.75rem; border: 1px solid #d3e2da !important; border-radius: 8px !important; background: #fff !important; color: var(--leaf) !important; font-weight: 800; }
.alphabet-btn:hover, .alphabet-btn.active, .alphabet-nav button:hover, .alphabet-nav button.active { border-color: var(--mint-600) !important; background: var(--mint-600) !important; color: #fff !important; }

.catalogue { padding: 0 0 1rem !important; background: none !important; }
#medicineCards { margin: 0 !important; }
#medicineCards > div { max-width: 1200px !important; margin: 0 auto 4.4rem !important; padding: 0 !important; }
#medicineCards > div:last-child { margin-bottom: 0 !important; }
#medicineCards .text-center.mb-8 { margin: 0 0 1.45rem !important; text-align: left !important; }
#medicineCards .section-divider, #medicineCards .medical-badge { display: none !important; }
#medicineCards h3 { margin: 0 !important; padding: 0 !important; border: 0 !important; color: var(--ink) !important; font-family: inherit !important; font-size: clamp(1.35rem, 2.4vw, 1.8rem) !important; }
#medicineCards h3::before { display: inline-block; width: .6rem; height: .6rem; margin: 0 .55rem .08rem 0; border-radius: 50%; background: var(--mint-500); content: ""; }
#medicineCards .border-b-2 { border-color: #d7e7df !important; }
#medicineCards .grid { gap: 1.15rem !important; }
.post-card { position: relative; display: flex; flex-direction: column; min-width: 0; max-width: none !important; border: 1px solid #e1eae5 !important; border-radius: var(--radius-md) !important; box-shadow: none !important; outline: 0 !important; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.post-card:hover { transform: translateY(-4px); border-color: #bee0d0 !important; box-shadow: var(--shadow-lg) !important; }
.post-card > div:first-child { overflow: hidden; }
.post-card > div:first-child > img { display: block; width: 100%; height: auto; transition: transform .45s ease; }
.post-card:hover > div:first-child > img { transform: scale(1.04); }
.post-card > div:last-child { display: flex; flex: 1; flex-direction: column; padding: 1.05rem !important; }
.post-card h3 { font-size: 1rem !important; line-height: 1.48 !important; }
.post-card p { color: var(--muted) !important; font-size: .8rem !important; line-height: 1.65 !important; }
.post-card > div:first-child > div:last-child { top: .7rem !important; right: .7rem !important; border-radius: 99px !important; background: rgba(15,53,42,.78) !important; font-size: .66rem !important; }
#medicineCards [id$="-pagination"] button { margin: .12rem; border-radius: 8px; padding: .45rem .7rem; font-size: .78rem; }
#medicineCards [id$="-pagination"] button { min-height: 44px; }

.th-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 5rem 0 0 !important; padding: 0 !important; overflow: hidden; border: 1px solid #d9e6df !important; border-radius: var(--radius-lg); background: #d9e6df; box-shadow: var(--shadow-sm) !important; text-align: center; }
.th-stats > div { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 1.9rem 1rem !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; backdrop-filter: none !important; }
.th-stats > div > div:first-child { position: relative; margin: 0 !important; padding-bottom: .65rem; color: var(--leaf) !important; font-weight: 800 !important; font-size: clamp(1.5rem, 3.2vw, 2.3rem) !important; line-height: 1.1; }
.th-stats > div > div:first-child::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 26px; height: 3px; transform: translateX(-50%); border-radius: 99px; background: var(--sun); }
.th-stats > div > div:last-child { color: var(--muted) !important; font-size: .82rem !important; font-weight: 600; letter-spacing: .01em; }
.disclaimer-card { margin: 3.8rem auto 0; max-width: 900px; border: 1px solid #f0dfba; border-left: 4px solid var(--sun); border-radius: var(--radius-md); background: #fff8ec; box-shadow: var(--shadow-sm); }
.disclaimer-card summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1rem 1.2rem; color: #7a5a12; font-size: .92rem; font-weight: 800; list-style: none; }
.disclaimer-card summary::-webkit-details-marker { display: none; }
.disclaimer-card__head { display: inline-flex; align-items: center; gap: .6rem; }
.disclaimer-card__icon { flex: 0 0 auto; width: 22px; height: 22px; color: #c9902a; }
.disclaimer-card__chev { transition: transform .2s; }
.disclaimer-card[open] summary .disclaimer-card__chev { transform: rotate(180deg); }
.disclaimer-card #disclaimer-body { padding: .1rem 1.2rem 1.15rem; color: #6b5a38; font-size: .88rem; line-height: 1.8; }
.disclaimer-card #disclaimer-body p { margin: 0 0 .6rem; }
.disclaimer-card #disclaimer-body p:last-child { margin-bottom: 0; }

/* Home: about intro + FAQ + category descriptions */
.th-about { position: relative; overflow: hidden; max-width: 900px; margin: 1.5rem auto 0; padding: clamp(1.7rem, 4vw, 2.8rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(158deg, #ffffff 0%, #f3faf6 100%); box-shadow: var(--shadow-sm); }
.th-about::before { position: absolute; content: ""; top: -7rem; right: -7rem; width: 16rem; height: 16rem; border-radius: 50%; background: radial-gradient(circle, rgba(115,205,153,.22), transparent 68%); pointer-events: none; }
.th-about > .section-heading { position: relative; margin-bottom: 1.1rem; }
.th-about p { position: relative; margin: 0 0 1rem; color: #3c5a51; font-size: 1rem; line-height: 1.9; }
.th-about__points { position: relative; display: flex; flex-wrap: wrap; gap: .55rem .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.th-about__points li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1px solid #cbe6d8; border-radius: 99px; background: rgba(255,255,255,.82); color: #2f5346; font-size: .82rem; font-weight: 700; }
.th-about__points li span { font-size: 1.02rem; line-height: 1; }
.th-about p.th-about__note { margin: 1.5rem 0 0; padding: .85rem 1.1rem; border-left: 4px solid var(--sun); border-radius: 10px; background: #fbf6ea; color: #6b5a38; font-size: .9rem; line-height: 1.75; }
.th-faq { max-width: 900px; margin: 3.8rem auto 0; }
.th-faq > .section-heading { margin-bottom: 1.1rem; }
.th-faq details { margin-top: .7rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.th-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1rem 1.2rem; color: var(--ink); font-size: .95rem; font-weight: 800; list-style: none; }
.th-faq summary::-webkit-details-marker { display: none; }
.th-faq summary span { transition: transform .2s; }
.th-faq details[open] summary span { transform: rotate(180deg); }
.th-faq details > p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.8; }
#medicineCards .text-center.mb-8 p { margin: .4rem auto 0 !important; max-width: 520px; color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* Shared secondary pages and post readability */
body > main:not(.th-home) { min-height: 70vh; padding-top: 3.75rem !important; padding-bottom: 4.5rem !important; background: radial-gradient(circle at 90% -10%, rgba(208,239,220,.48), transparent 28%), var(--paper) !important; }
body > main:not(.th-home) .bg-white { border: 1px solid #e0e9e4; border-radius: var(--radius-md) !important; box-shadow: var(--shadow-sm) !important; }
body > main:not(.th-home) .bg-medical-blue-50 { border: 1px solid #dbe9e3; border-radius: var(--radius-md) !important; background: #f2faf5 !important; box-shadow: none !important; }
body > main:not(.th-home) h1 { color: var(--ink) !important; letter-spacing: -.045em; }
body > main:not(.th-home) h2 { color: var(--leaf) !important; }
body > main:not(.th-home) .form-input { width: 100%; border: 1px solid var(--line) !important; border-radius: 10px; background: #fff; padding: .75rem .85rem; outline: 0; transition: border-color .2s, box-shadow .2s; }
body > main:not(.th-home) .form-input:focus { border-color: var(--mint-500) !important; box-shadow: 0 0 0 4px rgba(21,149,108,.1); }
body > main:not(.th-home) .btn-primary { border: 0 !important; background: var(--leaf) !important; color: #fff !important; font-weight: 800; }
body > main:not(.th-home) article { border-color: #e1eae5 !important; }
body > main:not(.th-home) .prose { color: #36564d; font-size: 1.05rem; line-height: 1.95; }
body > main:not(.th-home) .prose h2, body > main:not(.th-home) .prose h3 { margin-top: 2rem; color: var(--leaf); }

.error-page { display: grid; min-height: calc(100vh - 76px); place-items: center; padding: 5rem 1.25rem !important; text-align: center; background: radial-gradient(circle at 12% 20%, #dff3e7, transparent 30%), radial-gradient(circle at 90% 90%, #fff0ce, transparent 26%), var(--paper) !important; }
.error-page__content { max-width: 690px; }
.error-page__code { margin: .4rem 0 -.2rem; color: var(--leaf); font-family: ui-serif, Georgia, serif; font-size: clamp(6rem, 20vw, 12rem); font-weight: 700; letter-spacing: -.1em; line-height: 1; }
.error-page__code span { color: var(--sun); }
.error-page h1 { margin: 0; color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.05em; }
.error-page p:not(.error-page__code) { max-width: 38rem; margin: 1rem auto 0; color: var(--muted); }
.error-page .hero-actions { justify-content: center; }

/* Footer */
.site-footer { margin-top: 5rem; padding: 3rem 1.25rem 1.25rem; background: #10382e !important; color: #dcece5; }
.site-footer__inner { max-width: 1200px; margin: auto; }
.site-footer__top { display: grid; grid-template-columns: 1.25fr .85fr .9fr; gap: 2.4rem; padding-bottom: 2rem; }
.site-footer .site-brand { color: #fff; }
.site-footer .site-brand img { width: auto; height: 56px; object-fit: contain; opacity: .95; }
.site-footer .site-brand__copy { display: none; } /* full logo lockup already carries the ThinkHomeo wordmark */
.footer-intro { max-width: 25rem; margin: 1rem 0 0; color: #b9d1c6; font-size: .83rem; line-height: 1.8; }
.footer-intro [lang="en"] { display: block; margin-top: .45rem; font-style: italic; color: #a7c6ba; }
.footer-title { margin: 0 0 .75rem; color: #fff; font-size: .92rem; font-weight: 800; }
.footer-links { display: grid; gap: .25rem; }
.footer-links a { width: fit-content; color: #c5dbd1; font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-disclaimer { margin: 0; color: #b9d1c6; font-size: .8rem; line-height: 1.75; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(218,239,228,.16); padding-top: 1.2rem; color: #a9c8bb; font-size: .82rem; }
.footer-share { display: flex; gap: .4rem; }
.footer-share button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(218,239,228,.25); border-radius: 8px; background: transparent; color: #fff; transition: background .2s; }
.footer-share button:hover { background: rgba(255,255,255,.12); }

@media (max-width: 1050px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: .42rem; font-size: .8rem; }
  .th-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(285px, .8fr); gap: 2.5rem; }
}
@media (max-width: 1080px) {
  .quick-topics__inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .site-header__inner { height: 68px; gap: .75rem; }
  .site-brand__copy { display: none; }
  .site-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-search { width: min(320px, calc(100vw - 154px)); margin-left: auto; }
  .th-hero { padding-top: 3.8rem; }
  .th-hero__grid { grid-template-columns: 1fr; }
  .hero-feature { width: min(100%, 560px); margin: .35rem auto 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading p { text-align: left; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__top > :first-child { grid-column: span 2; }
}
/* संबंधित लेख: equalize card heights regardless of image ratio/text length */
#relatedPostsContainer { align-items: stretch !important; }
#relatedPostsContainer > .related-post-card { height: 100%; }
@media (max-width: 560px) {
  .site-header__inner { padding: 0 .9rem; }
  .site-brand img { width: 38px; height: 38px; }
  .site-search { height: 39px; width: calc(100vw - 145px); }
  .site-search input { font-size: .75rem; }
  .th-hero { padding: 3.2rem 1.15rem 3rem; }
  .th-hero h1 { font-size: 2.2rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button-primary, .button-secondary { padding-inline: .65rem; font-size: .8rem; }
  .hero-trust span { padding: .32rem .6rem; font-size: .68rem; }
  .hero-feature { min-height: 305px; }
  .hero-slider-container, .hero-slider-card { height: 305px !important; min-height: 305px !important; }
  .hero-slider-content { padding: 1rem !important; }
  .hero-slider-title { font-size: 1.05rem !important; }
  .hero-slider-description { padding-bottom: 5.5rem !important; }
  .quick-topics { padding: 0 .8rem; }
  .quick-topics__inner { gap: .15rem; padding: .38rem; grid-template-columns: repeat(2, 1fr); }
  .topic-link { gap: .35rem; padding: .42rem; }
  .topic-link__icon { width: 30px; height: 30px; border-radius: 7px; font-size: .9rem; }
  .topic-link strong { font-size: .7rem; }
  .topic-link small { font-size: .6rem; }
  .content-shell { padding: 3.4rem 1rem; }
  .alphabet-section { padding: 1rem; }
  #medicineCards .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .65rem !important; }
  .post-card > div:last-child { padding: .68rem !important; }
  .post-card h3 { font-size: .78rem !important; }
  .post-card p { display: none; }
  .th-stats { margin-top: 3rem !important; }
  .th-stats > div { padding: 1.1rem .4rem !important; }
  .th-stats > div > div:last-child { white-space: normal !important; font-size: .64rem !important; }
  .site-footer { margin-top: 3.5rem; }
  .site-footer__top { grid-template-columns: 1fr; gap: 1.7rem; }
  .site-footer__top > :first-child { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
