:root {
  --teal-950: #043b4b;
  --teal-900: #07586b;
  --teal-800: #087a8b;
  --teal: #07a8ac;
  --aqua: #2cc5c2;
  --ink: #0a2c3a;
  --muted: #6a7f87;
  --line: #dce7e9;
  --surface: #f7fbfb;
  --orange: #f5b22c;
  --shadow: 0 8px 22px rgba(9, 59, 72, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; font-size: 13px; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.container { width: min(1760px, calc(100% - 48px)); margin-inline: auto; }

.site-header { height: 70px; background: var(--teal-950); border-bottom: 1px solid rgba(255, 255, 255, .14); position: relative; z-index: 5; }
.topbar { height: 70px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-width: 160px; }
.brand-mark { width: 27px; height: 27px; color: #fff; background: var(--teal); border-radius: 6px; display: grid; place-items: center; font-size: 18px; font-weight: 800; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { color: #fff; font-size: 15px; letter-spacing: .1px; }
.brand-copy small { color: #a6ced0; font-size: 7px; letter-spacing: .2px; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 21px; flex: 1; justify-content: center; }
.main-nav a { color: #c4dfe1; font-size: 11px; font-weight: 500; height: 70px; display: flex; align-items: center; position: relative; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--aqua); border-radius: 5px 5px 0 0; }
.header-actions { display: flex; align-items: center; gap: 7px; }
.lang-btn, .login-btn, .signup-btn { border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; height: 31px; padding: 0 10px; border-radius: 6px; font-size: 10px; font-weight: 600; cursor: pointer; }
.lang-btn { border: 0; display: flex; align-items: center; gap: 6px; padding: 0 4px; }
.lang-btn i { font-style: normal; color: #9ee3e0; font-size: 12px; border-left: 1px solid rgba(255,255,255,.3); padding-left: 6px; }
.signup-btn { border-color: var(--teal); color: #fff; background: var(--teal); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 22px; }

.hero { min-height: 300px; color: #fff; background: #0a6074; position: relative; overflow: hidden; background-image: url("/attached_assets/image_1789806372961.png"); background-size: 202% auto; background-position: right -119px; background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 68px; background: linear-gradient(transparent 0%, rgba(3, 48, 60, .78) 35%, #0a6074 88%); pointer-events: none; z-index: 2; }
.hero-inner { min-height: 300px; display: flex; align-items: center; position: relative; z-index: 1; }
.hero-content { width: 61%; padding: 27px 0 28px; opacity: 0; pointer-events: none; }
.eyebrow { color: #94e4e1; letter-spacing: 1.3px; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pulse-dot { width: 7px; height: 7px; background: var(--aqua); border-radius: 50%; box-shadow: 0 0 0 5px rgba(44,197,194,.16); }
h1 { font-size: clamp(30px, 4vw, 47px); line-height: 1.05; letter-spacing: -1.2px; margin: 0 0 13px; font-weight: 800; }
h1 em { color: #bbf0eb; font-style: normal; }
.hero-content p { margin: 0 0 14px; color: #d3eef0; font-size: 13px; }
.hero-list { display: flex; flex-wrap: wrap; gap: 8px 17px; color: #c2e1e3; font-size: 10px; }
.hero-list span { position: relative; }
.hero-list span::before { content: "•"; margin-right: 5px; color: var(--aqua); }
.hero-figure { display: none; height: 277px; width: 390px; position: absolute; right: 12%; bottom: 0; opacity: .9; }
.person-silhouette { position: absolute; right: 53px; bottom: -30px; width: 190px; height: 260px; border-radius: 48% 48% 9% 9%; background: linear-gradient(90deg, rgba(28,91,111,.1), rgba(128,203,211,.72) 48%, rgba(9,63,80,.35)); clip-path: polygon(42% 0, 61% 0, 71% 13%, 77% 26%, 72% 38%, 88% 60%, 100% 100%, 0 100%, 11% 61%, 28% 39%, 24% 22%); filter: blur(.2px); }
.person-silhouette::after { content: ""; position: absolute; width: 16px; height: 190px; left: 83px; top: 36px; background: linear-gradient(180deg, #f58331, #ffbf43 45%, rgba(247,105,39,.1)); box-shadow: 0 0 22px 10px rgba(255,121,44,.43); border-radius: 50%; transform: rotate(7deg); }
.person-silhouette::before { content: ""; position: absolute; width: 48px; height: 77px; left: 67px; top: 79px; border-radius: 45%; background: repeating-linear-gradient(170deg, rgba(255,224,184,.95) 0 6px, transparent 6px 12px); opacity: .6; z-index: 1; }
.spine-glow { position: absolute; right: 55px; bottom: 72px; width: 115px; height: 115px; background: rgba(255,112,34,.18); border-radius: 50%; filter: blur(24px); }
.hero-note { display: none; position: absolute; right: 7px; top: 70px; font-family: Georgia, serif; font-size: 17px; line-height: .9; color: #bbebea; text-align: center; transform: rotate(-9deg); }
.hero-note b { color: #fff; font-size: 20px; }
.hero-note small { display: block; font-family: Tajawal, sans-serif; font-size: 12px; margin-top: 9px; color: rgba(255,255,255,.78); }

.search-shell { margin-top: -29px; position: relative; z-index: 2; background: #fff; border-radius: 9px; box-shadow: 0 10px 28px rgba(8,54,66,.18); padding: 0 15px 12px; }
.search-tabs { display: flex; gap: 3px; }
.search-tab { border: 0; background: transparent; color: var(--teal-900); padding: 14px 19px 12px; cursor: pointer; border-radius: 0 0 7px 7px; font-size: 10px; font-weight: 600; display: flex; gap: 7px; align-items: center; }
.search-tab.active { background: #e8f7f6; color: var(--teal-800); }
.search-tab span:first-child { font-size: 15px; }
.search-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr .76fr; gap: 8px; }
.search-input, .select-input { border: 1px solid #d8e8e9; min-height: 54px; background: #fff; border-radius: 6px; color: var(--ink); display: flex; align-items: center; }
.search-input { gap: 10px; padding: 7px 13px; }
.search-icon { color: var(--teal); font-size: 21px; }
.search-input div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.search-input strong { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-input small { font-size: 8px; color: #8a9da1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chevron { color: #82999d; }
.select-input { border: 1px solid #d8e8e9; background: #fff; justify-content: space-between; padding: 0 13px; color: #688087; font-size: 10px; cursor: pointer; }
.search-button { border: 0; border-radius: 6px; background: var(--teal); color: white; font-weight: 700; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 11px; transition: .2s; }
.search-button:hover, .book-button:hover, .signup-btn:hover { background: var(--teal-900); }
.search-button b { font-size: 18px; transform: rotate(-20deg); }
.popular { display: flex; align-items: center; gap: 6px; padding: 10px 2px 0; white-space: nowrap; overflow: hidden; }
.popular strong { font-size: 9px; color: #466a73; margin-right: 2px; }
.popular button, .filter-pills button { border: 1px solid #dfebec; background: #fff; color: #70878c; padding: 4px 8px; border-radius: 12px; font-size: 8px; cursor: pointer; }
.popular button:hover, .filter-pills button:hover, .filter-pills .selected { color: var(--teal-900); border-color: #8cd8d5; background: #edfbfa; }

.content-section { padding-top: 34px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
.section-kicker { color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: 1.2px; display: block; margin-bottom: 4px; }
h2 { font-size: 21px; letter-spacing: -.5px; margin: 0; line-height: 1.1; }
.section-heading > a { font-size: 10px; color: var(--teal-800); font-weight: 700; margin-bottom: 3px; }
.card-grid { display: grid; gap: 9px; }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.category-card { min-width: 0; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 6px 6px 11px; text-align: center; transition: transform .2s, box-shadow .2s; }
.category-card:hover, .provider-card:hover, .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-image { height: 110px; border-radius: 5px; background-size: cover; background-position: center; margin-bottom: 9px; }
.image-brain { background-image: linear-gradient(120deg, rgba(16,100,126,.16), rgba(8,37,59,.15)), url("https://images.unsplash.com/photo-1559757175-0eb30cd8c063?auto=format&fit=crop&w=400&q=80"); }
.image-rehab { background-image: linear-gradient(120deg, rgba(5,44,58,.2), rgba(9,128,139,.05)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=400&q=80"); }
.image-pain { background-image: linear-gradient(120deg, rgba(3,33,45,.12), rgba(242,124,44,.16)), url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=400&q=80"); }
.image-bone { background-image: linear-gradient(120deg, rgba(9,49,63,.1), rgba(12,109,128,.15)), url("https://images.unsplash.com/photo-1511174511562-5f7f18b874f8?auto=format&fit=crop&w=400&q=80"); }
.image-hand { background-image: linear-gradient(120deg, rgba(8,52,63,.1), rgba(14,111,122,.15)), url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=400&q=80"); }
.image-physio { background-image: linear-gradient(120deg, rgba(3,40,57,.14), rgba(28,135,145,.05)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=400&q=80"); }
.image-radiology { background-image: linear-gradient(120deg, rgba(6,53,70,.1), rgba(9,118,135,.1)), url("https://images.unsplash.com/photo-1511174511562-5f7f18b874f8?auto=format&fit=crop&w=400&q=80"); }
.image-lab { background-image: linear-gradient(120deg, rgba(8,70,80,.11), rgba(255,255,255,.12)), url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=400&q=80"); }
.image-hospital { background-image: linear-gradient(120deg, rgba(8,50,62,.1), rgba(8,135,144,.08)), url("https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=400&q=80"); }
.image-pharmacy { background-image: linear-gradient(120deg, rgba(8,49,60,.08), rgba(17,128,140,.1)), url("https://images.unsplash.com/photo-1585435557343-3b092031a831?auto=format&fit=crop&w=400&q=80"); }
.category-card h3 { color: var(--ink); font-size: 11px; line-height: 1.2; min-height: 25px; margin: 0 0 5px; }
.category-card p { color: var(--muted); font-size: 8px; line-height: 1.45; margin: 0; }

.providers-section { padding-top: 34px; }
.providers-heading { margin-bottom: 9px; }
.filter-pills { display: flex; gap: 5px; margin-bottom: 10px; }
.filter-pills button { padding: 5px 13px; }
.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.provider-card { position: relative; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 6px 6px 8px; text-align: center; transition: transform .2s, box-shadow .2s; }
.provider-photo { height: 119px; border-radius: 5px; background-size: cover; background-position: center; margin-bottom: 11px; }
.doctor-photo { background-image: linear-gradient(90deg, rgba(2,48,63,.04), rgba(2,48,63,.13)), url("https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=500&q=85"); background-position: center 26%; }
.physio-photo { background-image: linear-gradient(90deg, rgba(2,48,63,.03), rgba(2,48,63,.12)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=500&q=85"); }
.radiology-photo { background-image: linear-gradient(90deg, rgba(2,48,63,.03), rgba(2,48,63,.1)), url("https://images.unsplash.com/photo-1516841273335-e39b37888115?auto=format&fit=crop&w=500&q=85"); }
.lab-photo { background-image: linear-gradient(90deg, rgba(2,48,63,.03), rgba(2,48,63,.1)), url("https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?auto=format&fit=crop&w=500&q=85"); }
.provider-card h3 { font-size: 11px; margin: 0 0 3px; line-height: 1.18; }
.provider-card p { color: #668087; font-size: 8px; margin: 0 0 3px; }
.provider-card small { color: #8b9da0; font-size: 8px; }
.sponsored { position: absolute; top: 11px; left: 11px; color: #725800; background: #ffd96c; padding: 3px 5px; border-radius: 3px; font-size: 7px; font-weight: 700; }
.heart { position: absolute; right: 11px; top: 8px; border: 0; color: #dce6e7; background: rgba(255,255,255,.86); border-radius: 50%; font-size: 17px; line-height: 20px; cursor: pointer; }
.heart:hover { color: #f26767; }
.rating { margin: 6px 0; color: #4c6268; font-size: 9px; }
.rating b { color: var(--orange); font-size: 12px; }
.rating span { color: #8c9ca0; }
.book-button, .dark-button { border: 0; width: 100%; border-radius: 5px; color: #fff; background: var(--teal); padding: 8px 10px; font-size: 10px; font-weight: 700; cursor: pointer; transition: .2s; }

.advertise-banner { min-height: 83px; margin-top: 34px; border-radius: 8px; overflow: hidden; background: linear-gradient(90deg, #0a465d, #087c89); color: #fff; display: flex; align-items: center; padding: 9px 17px 9px 158px; position: relative; }
.banner-art { position: absolute; left: 0; top: 0; bottom: 0; width: 155px; background: linear-gradient(90deg, rgba(5,37,50,.3), rgba(6,76,89,.25)), url("https://images.unsplash.com/photo-1559757175-7cb057fba93c?auto=format&fit=crop&w=400&q=70") center/cover; clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); }
.advertise-banner .section-kicker { color: #9ce2dc; }
.advertise-banner h2 { font-size: 19px; color: white; margin: 0 0 3px; }
.advertise-banner p { margin: 0; color: #c5e4e5; font-size: 10px; }
.advertise-banner > div:nth-child(2) { flex: 1; }
.advertise-banner > button { border: 1px solid rgba(255,255,255,.4); color: white; background: rgba(0,0,0,.06); padding: 10px 16px; border-radius: 5px; font-size: 10px; font-weight: 700; cursor: pointer; }
.advertise-banner > button b { margin-left: 8px; font-size: 15px; }

.article-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.article-card { border: 1px solid var(--line); border-radius: 7px; padding: 6px 6px 10px; transition: transform .2s, box-shadow .2s; }
.article-image { height: 83px; border-radius: 5px; background-size: cover; background-position: center; margin-bottom: 8px; }
.article-knee { background-image: url("https://images.unsplash.com/photo-1609840114035-3c981b782dfe?auto=format&fit=crop&w=400&q=80"); }
.article-herniated { background-image: url("https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=400&q=80"); }
.article-rheumatoid { background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=400&q=80"); }
.article-exercise { background-image: url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=400&q=80"); }
.article-osteoporosis { background-image: url("https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?auto=format&fit=crop&w=400&q=80"); }
.article-card > span { color: var(--teal); font-size: 7px; letter-spacing: .8px; font-weight: 800; }
.article-card h3 { font-size: 10px; line-height: 1.3; min-height: 27px; margin: 4px 0 8px; }
.article-card a { color: var(--teal-900); font-size: 8px; font-weight: 700; }

.stats-strip { margin-top: 37px; border-top: 1px solid #d9eeee; border-bottom: 1px solid #d9eeee; background: #f1fbfb; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 0; }
.stat { display: flex; justify-content: center; align-items: center; gap: 11px; border-right: 1px solid #cfe4e5; }
.stat:last-child { border: 0; }
.stat-icon { width: 31px; height: 31px; border-radius: 50%; color: var(--teal-800); background: #d7f3f1; display: grid; place-items: center; font-size: 17px; }
.stat strong { display: block; font-size: 17px; color: var(--ink); }
.stat small { color: #6d858b; font-size: 9px; display: block; margin-top: 2px; }

.cta-section { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 28px; padding-bottom: 29px; }
.cta-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 7px; padding: 8px 11px; min-height: 69px; }
.cta-avatar { width: 64px; height: 54px; flex: 0 0 auto; border-radius: 5px; background-size: cover; background-position: center; }
.avatar-doctor { background-image: url("https://images.unsplash.com/photo-1612349317150-e413f6a5b16d?auto=format&fit=crop&w=200&q=80"); }
.avatar-center { background-image: url("https://images.unsplash.com/photo-1586773860418-d37222d8fce3?auto=format&fit=crop&w=200&q=80"); }
.cta-card > div:nth-child(2) { flex: 1; }
.cta-card h3 { margin: 0 0 3px; font-size: 12px; }
.cta-card p { color: #72878b; margin: 0; font-size: 9px; }
.cta-card .book-button, .cta-card .dark-button { width: auto; padding: 8px 13px; }
.dark-button { background: var(--teal-950); }

.site-footer { min-height: 250px; background: #f7fbfb; border-top: 1px solid #e1eeee; padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 28px; padding-bottom: 23px; }
.footer-brand p { color: #70878b; font-size: 9px; line-height: 1.6; max-width: 160px; margin: 12px 0; }
.footer-grid h4 { margin: 0 0 12px; color: var(--ink); font-size: 10px; }
.footer-grid > div:not(:first-child) > a { display: block; color: #71868a; font-size: 9px; margin: 0 0 8px; }
.footer-grid > div:not(:first-child) > a:hover { color: var(--teal); }
.socials { display: flex; gap: 6px; }
.socials a { width: 21px; height: 21px; border: 1px solid #c5dfe0; color: var(--teal-800); display: grid; place-items: center; border-radius: 50%; font-size: 9px; font-weight: 700; }
.copyright { border-top: 1px solid #dbe9ea; padding-top: 10px; display: flex; justify-content: space-between; color: #94a5a8; font-size: 8px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 90px); background: var(--teal-950); color: #fff; border-radius: 6px; padding: 12px 17px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 11px; z-index: 20; transition: transform .25s; }
.toast.show { transform: translate(-50%, 0); }

html[dir="rtl"] body { font-family: Tajawal, Inter, sans-serif; }
html[dir="rtl"] .main-nav, html[dir="rtl"] .header-actions { direction: rtl; }
html[dir="rtl"] .main-nav a.active::after { left: 0; right: 0; }
html[dir="rtl"] .hero { background-position: left -119px; }
html[dir="rtl"] .hero-content { text-align: right; }
html[dir="rtl"] .hero-list { direction: rtl; }
html[dir="rtl"] .hero-list span::before { margin-left: 5px; margin-right: 0; }
html[dir="rtl"] .hero-figure { right: auto; left: 12%; transform: scaleX(-1); }
html[dir="rtl"] .hero-note { right: auto; left: 7px; }
html[dir="rtl"] .section-heading, html[dir="rtl"] .popular, html[dir="rtl"] .search-row, html[dir="rtl"] .cta-section, html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .section-heading > a { transform: scaleX(-1); }
html[dir="rtl"] .advertise-banner { padding: 9px 158px 9px 17px; }
html[dir="rtl"] .banner-art { left: auto; right: 0; transform: scaleX(-1); }
html[dir="rtl"] .advertise-banner > button b { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .footer-grid { text-align: right; }

@media (max-width: 980px) {
  .container { width: min(100% - 32px, 760px); }
  .main-nav { gap: 11px; }
  .main-nav a { font-size: 9px; }
  .hero-figure { right: 1%; opacity: .65; }
  .hero-content { width: 75%; }
  .category-image { height: 95px; }
}
@media (max-width: 860px) and (min-width: 731px) {
  .container { width: calc(100% - 40px); }
  .topbar { gap: 14px; }
  .brand { min-width: 145px; }
  .main-nav { gap: 9px; }
  .main-nav a { font-size: 8px; }
  .header-actions { gap: 3px; }
  .login-btn, .signup-btn { padding-inline: 7px; font-size: 9px; }
  .search-row { grid-template-columns: 1.7fr 1fr 1fr .78fr; }
  .card-grid.five { grid-template-columns: repeat(3, 1fr); }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .category-card:last-child, .article-card:last-child { grid-column: auto; max-width: none; }
}
@media (max-width: 730px) {
  .site-header, .topbar { height: 62px; }
  .topbar { gap: 12px; }
  .brand { min-width: auto; }
  .brand-copy strong { font-size: 13px; }
  .main-nav { display: none; position: absolute; top: 62px; left: 16px; right: 16px; background: white; box-shadow: var(--shadow); padding: 8px 15px; border-radius: 0 0 8px 8px; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { height: 38px; border-bottom: 1px solid #edf3f3; color: var(--ink); }
  .main-nav a:hover, .main-nav a.active { color: var(--teal-800); }
  .main-nav a.active::after { display: none; }
  .header-actions { margin-inline-start: auto; }
  .login-btn { display: none; }
  .menu-btn { display: block; }
  .container { width: calc(100% - 28px); }
  .hero, .hero-inner { min-height: 360px; }
  .hero { background-image: linear-gradient(90deg, rgba(3,35,50,.95) 3%, rgba(4,72,91,.72) 42%, rgba(3,50,67,.76) 100%), url("https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&w=1800&q=85"); background-size: cover; background-position: center 45%; }
  html[dir="rtl"] .hero { background-position: center 45%; }
  .hero-content { width: 100%; align-self: flex-start; padding-top: 35px; position: relative; z-index: 2; opacity: 1; pointer-events: auto; }
  .hero-figure, .hero-note { display: block; }
  h1 { font-size: 33px; max-width: 370px; }
  .hero-figure { right: -35px; bottom: -38px; opacity: .45; transform: scale(.82); transform-origin: bottom right; }
  html[dir="rtl"] .hero-figure { left: -35px; transform: scale(.82) scaleX(-1); transform-origin: bottom left; }
  .search-shell { margin-top: -24px; padding-inline: 10px; }
  .search-tabs { overflow-x: auto; }
  .search-tab { white-space: nowrap; padding-inline: 12px; }
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-input { grid-column: 1 / -1; }
  .search-button { min-height: 48px; }
  .popular { overflow-x: auto; padding-bottom: 3px; }
  .popular button { flex: 0 0 auto; }
  .card-grid.five { grid-template-columns: repeat(2, 1fr); }
  .category-image { height: 105px; }
  .category-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 4px); }
  .provider-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 4px); }
  .advertise-banner { padding-left: 115px; }
  .banner-art { width: 115px; }
  .advertise-banner p { max-width: 280px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 15px 0; }
  .stat:nth-child(2) { border: 0; }
  .cta-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 25px 15px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .topbar { gap: 8px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-copy strong { font-size: 12px; }
  .signup-btn { font-size: 9px; }
  .search-row { grid-template-columns: 1fr; }
  .search-input { grid-column: auto; }
  .search-button, .select-input { min-height: 46px; }
  .section-heading { align-items: flex-start; gap: 9px; }
  .section-heading > a { font-size: 9px; white-space: nowrap; }
  h2 { font-size: 19px; }
  .advertise-banner p { max-width: 235px; }
}
@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .signup-btn { padding-inline: 8px; }
  .hero-note { display: none; }
  .hero-content p { max-width: 270px; line-height: 1.4; }
  .card-grid.five, .provider-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .category-image { height: 83px; }
  .category-card h3 { font-size: 10px; }
  .category-card p { font-size: 7px; }
  .filter-pills { overflow-x: auto; }
  .filter-pills button { flex: 0 0 auto; }
  .provider-photo { height: 95px; }
  .advertise-banner { min-height: 112px; padding-left: 95px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
  .banner-art { width: 95px; }
  .advertise-banner > button { position: absolute; right: 9px; bottom: 12px; padding: 7px 9px; }
  html[dir="rtl"] .advertise-banner { padding-left: 17px; padding-right: 95px; }
  .cta-card { padding: 8px; gap: 8px; }
  .cta-avatar { width: 48px; height: 45px; }
  .cta-card h3 { font-size: 10px; }
  .cta-card p { font-size: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright { flex-direction: column; gap: 5px; }
}
@media (max-width: 350px) {
  .container { width: calc(100% - 20px); }
  .header-actions { gap: 2px; }
  .lang-btn { padding-inline: 2px; }
  .signup-btn { padding-inline: 6px; }
  .hero, .hero-inner { min-height: 340px; }
  h1 { font-size: 29px; }
  .card-grid.five, .provider-grid, .article-grid { grid-template-columns: 1fr; }
  .category-card:last-child, .article-card:last-child { grid-column: auto; max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
}