/* KHETI BIZ website styles (shared by every public page) */
html { scroll-behavior: smooth; }
body { font-family: "Instrument Sans", "Noto Sans Devanagari", system-ui, sans-serif; background:#fff; color:#141a22; font-size:15px; -webkit-font-smoothing: antialiased; }
.serif { font-family: "Merriweather", Georgia, serif; }
.clamp-1 { display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
/* Section heading with large faint watermark word (editorial style) */
.sec-head { position:relative; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem 1rem; margin-bottom:1.25rem; }
body { overflow-x: clip; }
@media (max-width: 640px) { .sec-head .wm { left:0; transform:translateY(-50%); max-width:100%; overflow:hidden; } }
.sec-head h2 { position:relative; z-index:1; font-family:"Merriweather", Georgia, serif; font-weight:700; font-size:clamp(1.45rem, 2.4vw, 2rem); line-height:1.2; color:#0b2c5a; display:flex; align-items:center; gap:.85rem; }
.sec-head h2::before { content:""; width:34px; height:3px; border-radius:3px; background:linear-gradient(90deg,#1b57a0 0 55%,#6cab12 55% 100%); display:inline-block; }
.sec-head .wm { position:absolute; left:50%; top:52%; transform:translate(-50%,-50%); font-family:"Merriweather", Georgia, serif; font-weight:900; font-size:clamp(3.5rem, 9vw, 7.5rem); letter-spacing:.06em; color:rgba(27,87,160,.055); white-space:nowrap; pointer-events:none; z-index:0; text-transform:uppercase; line-height:1; }
.view-all { position:relative; z-index:1; display:inline-flex; align-items:center; gap:.4rem; font-size:13px; font-weight:600; color:#141a22; white-space:nowrap; }
.view-all:hover { color:#3f700a; }
.view-all svg { transition: transform .2s; } .view-all:hover svg { transform: translateX(3px); }
/* Cards */
.card { background:#fff; border:1px solid #e4eaf2; border-radius:16px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.card-hover:hover, .lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(63,112,10,.35); border-color:#cfe8a8; }
.img-zoom { overflow:hidden; background: linear-gradient(135deg,#c7daf3,#5b8fd3); }
.img-zoom img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.group:hover .img-zoom img, .img-zoom:hover img { transform: scale(1.05); }
.pill { display:inline-flex; align-items:center; gap:.3rem; font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:.36rem .75rem; border-radius:999px; background:#fff; color:#3f700a; border:1px solid #dcebc8; line-height:1; }
.pill-dark { background:rgba(255,255,255,.92); }
.pill-blue { color:#154c97; border-color:#c7daf3; }
.meta { font-size:12px; color:#5f6b7a; display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.meta .dot { width:3px; height:3px; border-radius:50%; background:#93b6e6; }
/* Nav */
.nav-link { position:relative; font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#141a22; padding:14px 0; white-space:nowrap; }
.nav-link::after { content:""; position:absolute; left:0; right:0; bottom:8px; height:2px; background:#6cab12; transform:scaleX(0); transition: transform .25s ease; transform-origin:left; }
.nav-link:hover { color:#3f700a; }
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-link.active { color:#0b3a75; }
/* Ticker */
.ticker-track { display:flex; width:max-content; animation: ticker var(--tick, 60s) linear infinite; }
.ticker-wrap { -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-wrap:hover .ticker-track, .ticker-wrap:focus-within .ticker-track, .ticker-wrap.paused .ticker-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation:none; } .ticker-wrap { overflow-x:auto; -webkit-mask-image:none; mask-image:none; } .live-dot { animation:none; } }
.brk-pill { display:inline-flex; align-items:center; gap:7px; height:24px; padding:0 10px 0 8px; border-radius:6px; background:#d62839; color:#fff; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.brk-pill .live-dot { background:#fff; box-shadow:none; }
.tick-item { display:inline-block; color:#1d2733; font-weight:500; padding:12px 2px; }
.tick-item:hover { color:#1b57a0; text-decoration:underline; text-underline-offset:3px; }
.tick-sep { display:inline-block; width:1px; height:14px; background:#cdb999; margin:0 22px; }
.tick-pause { width:28px; height:28px; place-items:center; border-radius:999px; border:1px solid #e2d4bd; background:#fff; color:#5a4330; flex-shrink:0; }
.tick-pause:hover { border-color:#a3855f; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.live-dot { width:7px; height:7px; border-radius:50%; background:#ff5a6e; box-shadow:0 0 0 0 rgba(255,90,110,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow:0 0 0 7px rgba(255,90,110,0); } 100% { box-shadow:0 0 0 0 rgba(255,90,110,0); } }
.no-scrollbar::-webkit-scrollbar { display:none; } .no-scrollbar { scrollbar-width:none; }
.tab-btn.active, .state-chip.active { background:#3f700a; color:#fff; border-color:#3f700a; }
.skeleton { background: linear-gradient(90deg, #eef3fa 25%, #f7faff 50%, #eef3fa 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 16px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.num { font-family:"Merriweather", Georgia, serif; font-weight:900; font-size:2.6rem; line-height:1; color:#1b57a0; opacity:.9; }
.locked-page { filter: blur(4px); }
.modal { display:none; } .modal.open { display:flex; }
.pay-tab.active { background:#fff; color:#0b3a75; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.toast { transform: translateY(150%); visibility:hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; }
.toast.show { transform: translateY(0); visibility:visible; }
.drawer { transform: translateX(-100%); visibility:hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.drawer.open { transform: none; visibility:visible; transition: transform .3s ease; }
.lang-menu { display:none; } .lang-wrap:focus-within .lang-menu, .lang-wrap:hover .lang-menu { display:block; }
.news-item.hide { display:none; }
.blue-mesh { background: radial-gradient(1200px 400px at 0% 0%, rgba(91,143,211,.35), transparent 60%), radial-gradient(900px 400px at 100% 100%, rgba(108,171,18,.18), transparent 60%), linear-gradient(135deg, #0b2c5a 0%, #0b3a75 55%, #154c97 100%); }
.soft-mesh { background: radial-gradient(700px 300px at 100% 0%, rgba(199,218,243,.7), transparent 60%), #f5f8fc; }

/* Article / page body */
.soil { background:#071f42; }
.img-ph { background: linear-gradient(135deg,#c7daf3,#5b8fd3); }
.prose-kb { font-size: 1.125rem; line-height: 1.85; color: #2a2520; }
.prose-kb p { margin: 0 0 1.25em; }
.prose-kb h2 { font-family: "Merriweather", Georgia, serif; font-size: 1.7rem; font-weight: 700; color: #0a2f66; margin: 1.6em 0 .6em; line-height: 1.25; }
.prose-kb h3 { font-size: 1.3rem; font-weight: 700; color: #0a2f66; margin: 1.4em 0 .5em; }
.prose-kb ul, .prose-kb ol { margin: 0 0 1.25em 1.4em; }
.prose-kb ul { list-style: disc; } .prose-kb ol { list-style: decimal; }
.prose-kb li { margin: .3em 0; }
.prose-kb a { color: #1b57a0; text-decoration: underline; text-underline-offset: 3px; }
.prose-kb blockquote { border-left: 4px solid #6cab12; background: #fff; padding: 1em 1.25em; border-radius: .5rem; font-family: "Merriweather", Georgia, serif; font-size: 1.2rem; color: #0a2f66; margin: 1.5em 0; }
.prose-kb img { border-radius: .75rem; margin: 1.5em 0; max-width: 100%; height: auto; }
.prose-kb figure.image { margin: 1.5em 0; } .prose-kb figcaption { font-size: .85rem; color: #6b6258; text-align: center; }
.prose-kb table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose-kb td, .prose-kb th { border: 1px solid #dfc8a8; padding: .5em .75em; }
.prose-kb iframe { width: 100%; aspect-ratio: 16/9; border-radius: .75rem; }
.nav-drop { display:none; }
.nav-item:hover > .nav-drop, .nav-item:focus-within > .nav-drop { display:block; }
.ad-box img { max-width:100%; height:auto; }

/* Light field-soil background (third brand colour with blue + green) */
.soil-mesh { background: radial-gradient(700px 300px at 100% 0%, rgba(226,212,189,.75), transparent 60%), #f8f3ea; }
.lang-menu a.on { background:#f8f3ea; color:#5a4330; }

/* ---------- Article page (Unicorn-style) ---------- */
.crumb-strip { background:#fff; box-shadow:0 0 0 100vmax #fff; clip-path:inset(0 -100vmax); border-bottom:1px solid var(--color-line);
  border-image:linear-gradient(var(--color-line), var(--color-line)) 0 0 1 0 / 0 0 1px 0 / 0 100vmax; } /* full-width white strip + line without page overflow */
.cat-chip { display:inline-block; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#3f700a; background:#eef6e2; border:1px solid #cfe5ad; padding:5px 12px; border-radius:999px; }
.cat-chip:hover { background:#e2f0cc; }
.share-btn { --c:#141a22; width:36px; height:36px; display:grid; place-items:center; border-radius:999px; border:1px solid var(--color-line); background:#fff; color:#141a22; transition:all .2s; }
.share-btn:hover { background:var(--c); border-color:var(--c); color:#fff; transform:translateY(-1px); }
.share-rail-label { writing-mode:vertical-rl; transform:rotate(180deg); font-size:10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--color-muted); margin-bottom:4px; font-size:12px; }
.tag-chip { padding:6px 12px; border-radius:999px; background:#f8f3ea; border:1px solid #e2d4bd; font-size:12.5px; color:#5a4330; }
.tag-chip:hover { border-color:#6cab12; color:#3f700a; background:#fff; }
.side-title { font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:#141a22; padding-bottom:10px; border-bottom:2px solid #141a22; margin-bottom:2px; }
.short-link.copied .copy-label { background:#6cab12; }

/* ---------- Main menu bar ---------- */
.nav-logo { max-width:0; opacity:0; overflow:hidden; transition:max-width .3s, opacity .3s; }
#mainNav.stuck .nav-logo { max-width:120px; opacity:1; }
#mainNav.stuck { box-shadow:0 6px 18px -12px rgba(20,26,34,.35); }

/* ---------- Listing pages (Unicorn-style) ---------- */
.sec-head h1 { position:relative; z-index:1; font-weight:700; font-size:clamp(1.9rem, 3.6vw, 2.7rem); line-height:1.15; color:#141a22; }
.load-more.loading { pointer-events:none; opacity:.75; }
.load-more.loading .lm-icon { display:none; }
.load-more.loading .lm-spin { display:block; }
.story-card.is-new { animation:kbFadeUp .45s ease both; }
@keyframes kbFadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

/* ---------- Header buttons ---------- */
.hdr-cta { display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 16px; border-radius:999px; font-size:13px; font-weight:600; white-space:nowrap; transition:all .2s; }
.hdr-wa { background:#1f8f4e; color:#fff; box-shadow:0 6px 16px -8px rgba(31,143,78,.7); }
.hdr-wa:hover { background:#17763f; transform:translateY(-1px); }
.hdr-mag { background:#fff; color:#141a22; border:1.5px solid #141a22; }
.hdr-mag:hover { background:#141a22; color:#fff; }
@media (max-width: 1100px) { header .hdr-cta { width:40px; padding:0; justify-content:center; } header .hdr-cta-text { display:none; } }

/* ---------- "More" panel ---------- */
.more-canvas { transform:translateX(100%); visibility:hidden; transition:transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s; }
.more-canvas.open { transform:none; visibility:visible; transition:transform .35s cubic-bezier(.2,.7,.2,1); }
.more-link { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 14px; border-radius:12px; font-size:15px; font-weight:600; color:#141a22; border-bottom:1px solid var(--color-line); }
.more-link:hover, .more-link.on { background:#f8f3ea; color:#3f700a; }
.more-link svg { transition:transform .2s; } .more-link:hover svg { transform:translateX(3px); }

/* ---------- Full-screen search ---------- */
.search-ov { position:fixed; inset:0; z-index:90; background:rgba(255,255,255,.965); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); overflow-y:auto; opacity:0; transition:opacity .25s; }
.search-ov[hidden] { display:block; visibility:hidden; pointer-events:none; }
.search-ov.open { opacity:1; visibility:visible; pointer-events:auto; }
.search-ov-inner { max-width:1100px; margin:0 auto; padding:18vh 24px 60px; transform:translateY(14px); transition:transform .35s cubic-bezier(.2,.7,.2,1); }
.search-ov.open .search-ov-inner { transform:none; }
.search-ov-close { position:absolute; top:24px; right:24px; width:52px; height:52px; display:grid; place-items:center; border:1.5px solid #141a22; color:#141a22; background:#fff; transition:all .2s; }
.search-ov-close:hover { background:#141a22; color:#fff; transform:rotate(90deg); }
.search-ov-label, .search-ov-sub { font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:#5f6b7a; }
.search-ov-form { display:flex; align-items:center; gap:16px; margin-top:18px; border-bottom:2px solid #141a22; }
.search-ov-form input { flex:1; min-width:0; background:transparent; outline:none; border:0; padding:8px 0 14px; font-size:clamp(1.45rem, 5vw, 3.6rem); font-weight:300; letter-spacing:-.02em; color:#141a22; }
.search-ov-form input::placeholder { color:#c9ced6; }
.search-ov-form input::-webkit-search-cancel-button { display:none; }
.search-ov-go { color:#141a22; padding:8px; border-radius:999px; transition:transform .2s, color .2s; } .search-ov-go:hover { color:#3f700a; transform:translateX(4px); }
.search-suggest { margin-top:6px; }
.search-suggest a { display:flex; align-items:center; gap:14px; padding:12px 10px; border-bottom:1px solid var(--color-line); border-radius:10px; color:#141a22; }
.search-suggest a:hover, .search-suggest a.on { background:#f8f3ea; }
.search-suggest img, .search-suggest .ph { width:64px; height:46px; border-radius:8px; object-fit:cover; flex-shrink:0; background:linear-gradient(135deg,#1b57a0,#6cab12); }
.search-suggest mark { background:#e6f2cf; color:inherit; border-radius:3px; padding:0 2px; }
.search-suggest .all { justify-content:space-between; font-weight:700; font-size:14px; color:#3f700a; border-bottom:0; }
.search-chip { padding:8px 14px; border-radius:999px; border:1px solid var(--color-line); background:#fff; font-size:14px; color:#141a22; transition:all .2s; }
.search-chip:hover { border-color:#141a22; background:#141a22; color:#fff; }
.search-ov-hint { margin-top:48px; font-size:12px; color:#8a94a3; }
.search-ov-hint kbd { display:inline-block; min-width:22px; padding:1px 6px; margin:0 2px; border:1px solid #d6dce5; border-bottom-width:2px; border-radius:5px; font:600 11px/1.6 ui-monospace, monospace; color:#141a22; background:#fff; text-align:center; }
body.ov-lock { overflow:hidden; }

/* ---------- Comments ---------- */
.like-btn.liked { color:#3f700a; font-weight:700; }
.like-btn.liked svg { fill:#e6f2cf; }

/* ---------- Comfortable tap targets on phones (min ~40px) ---------- */
@media (max-width: 767px) {
  .view-all, .like-btn, [data-reply], [data-delete], .tag-chip, .search-chip, [data-chips] a, .lang-wrap > button, .auth-btn,
  .state-chip, .more-link, .short-link, .share-btn { min-height:40px; }
  .view-all, .like-btn, [data-reply], [data-delete], .tag-chip { display:inline-flex; align-items:center; }
  .like-btn, [data-reply], [data-delete] { padding:0 6px; }
  .share-btn { min-width:40px; }
  footer a { display:inline-block; padding:9px 0; }
  /* footer brand block, social icons and buttons keep their own layout */
  footer a.flex { display:flex; padding:0; } footer a.grid { display:grid; padding:0; } footer a.inline-flex { display:inline-flex; padding:8px 16px; }
  footer [data-footer-contact] a { display:inline; padding:0; } footer [data-footer-contact] li { padding:4px 0; }
  .crumb-strip a { display:inline-block; padding:10px 0; }
  .article-meta a { display:inline-flex; align-items:center; min-height:40px; }
  .lang-wrap > button, .auth-btn { min-width:40px; justify-content:center; }
}

/* ---------- Phones: compact list rows instead of tall cards ---------- */
@media (max-width: 639px) {
  .m-list { gap:0 !important; }
  .m-list > :not(.m-row) { margin-bottom:10px; }
  .m-row { display:flex !important; flex-direction:row !important; align-items:flex-start; gap:14px; padding:14px 0 !important;
           background:transparent !important; border:0 !important; border-bottom:1px solid var(--color-line) !important; border-radius:0 !important; box-shadow:none !important; transform:none !important; }
  .m-list > .m-row:last-child { border-bottom:0 !important; }
  .m-row .m-img { width:112px !important; flex:0 0 112px; aspect-ratio:4/3 !important; height:auto; border-radius:10px; overflow:hidden; position:relative; }
  .m-row .m-img img { width:100%; height:100%; object-fit:cover; }
  .m-row .m-body { padding:0 !important; min-width:0; flex:1; }
  .m-row .m-hide { display:none !important; }
  .m-row h3, .m-row h4, .m-row .font-serif { font-size:15.5px !important; line-height:1.38 !important; }
  .m-limit4 > :nth-child(n+5) { display:none !important; }
  /* Grow Smarter: numbered list, no pictures */
  .num-list { gap:0 !important; }
  .num-item { flex-direction:row !important; align-items:center; gap:14px; padding:14px 0; border:0 !important; border-bottom:1px solid var(--color-line) !important; border-radius:0 !important; box-shadow:none !important; background:transparent !important; transform:none !important; }
  .num-item::before { content:attr(data-n); font-family:Merriweather, Georgia, serif; font-weight:900; font-size:28px; line-height:1; color:#6cab12; min-width:40px; }
  .num-item .num-pic { display:none; }
  .num-item .num-body { padding:0 !important; }
  .num-item .num-body .meta { display:none; }
}

/* Rows that scroll sideways fade at the edge, so readers see there is more */
.edge-fade, #stateChips, [data-chips] { -webkit-mask-image:linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent); mask-image:linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent); }
@media (max-width: 767px) { #navList { -webkit-mask-image:linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent); mask-image:linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent); padding-right:28px; } }

/* ---------- Article: reading progress + phone share bar ---------- */
.read-progress { position:fixed; top:0; left:0; right:0; height:3px; z-index:80; pointer-events:none; }
.read-progress span { display:block; height:100%; width:0; background:linear-gradient(90deg,#1b57a0,#6cab12); transition:width .1s linear; }
.m-share { position:fixed; left:12px; right:12px; bottom:12px; z-index:60; display:flex; gap:8px; padding:8px; border-radius:999px; background:#fff; box-shadow:0 10px 30px -8px rgba(20,26,34,.35); border:1px solid var(--color-line);
           transform:translateY(140%); transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.m-share.show { transform:none; }
.m-share-wa { flex:1; display:flex; align-items:center; justify-content:center; gap:8px; height:44px; border-radius:999px; background:#1f8f4e; color:#fff; font-weight:600; font-size:14px; }
.m-share-i { width:44px; height:44px; flex-shrink:0; display:grid; place-items:center; border-radius:999px; border:1px solid var(--color-line); color:#141a22; background:#fff; }
.m-share-i[hidden] { display:none; }
.m-share-wa { min-width:44px; white-space:nowrap; }
.m-share-short { display:none; }
@media (max-width:480px) { .m-share { gap:6px; padding:6px; } .m-share-i { width:40px; height:40px; } .m-share-wa { height:40px; } .m-share-long { display:none; } .m-share-short { display:inline; } }
@media (max-width:374px) { .m-share-short { display:none; } .m-share-i { width:38px; height:38px; } .m-share-wa { height:38px; } }
@media (max-width: 639px) { #wxGrid > :nth-child(n+4) { display:none; } } /* phones: your area + 2 nearby cities */

/* Section with only a few stories: wide rows instead of a half-empty grid */
@media (min-width: 640px) {
  .few-list .story-card { flex-direction:row; align-items:stretch; }
  .few-list .story-card .m-img { width:280px; flex:0 0 280px; aspect-ratio:16/10; height:auto; }
  .few-list .story-card .m-body { padding:20px 24px; justify-content:center; }
  .few-list .story-card .m-body > .font-serif { font-size:20px; -webkit-line-clamp:3; }
}

/* ---------- e-Magazine: cards, page strip, flip viewer ---------- */
.mag-badge { display:inline-flex; align-items:center; gap:4px; font-size:11.5px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; padding:4px 8px; border-radius:6px; box-shadow:0 2px 8px rgba(0,0,0,.15); }
.mag-card .img-zoom { transition: transform .35s ease, box-shadow .35s ease; }
.mag-card:hover .img-zoom { transform: translateY(-4px); box-shadow: 0 22px 40px -18px rgba(11,36,71,.55); }

.mag-strip { display:grid; grid-template-columns: repeat(var(--slots, 6), minmax(0, 1fr)); gap:10px; }
@media (max-width: 639px) { .mag-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap:8px; } .mag-strip > :nth-child(n+4):not(.mag-more):not(:last-child) { display:none; } .mag-strip > :nth-child(n+5) { display:none; } .mag-strip > .mag-more { display:flex; } }
.mag-tile { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; aspect-ratio:3/4; border-radius:10px; overflow:hidden; background:#fff; border:1px solid #e6e1d6; box-shadow:0 6px 16px -10px rgba(11,36,71,.35); transition: transform .2s ease, box-shadow .2s ease; text-align:center; }
button.mag-tile, a.mag-tile { cursor:pointer; }
button.mag-tile:hover, a.mag-tile:hover { transform: translateY(-3px); box-shadow:0 14px 26px -14px rgba(11,36,71,.55); }
.mag-tile > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.mag-tile-tag { position:absolute; left:6px; right:6px; bottom:6px; font-size:11px; font-weight:700; line-height:1.2; padding:3px 6px; border-radius:6px; background:rgba(255,255,255,.92); color:#172540; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mag-locked > img { filter: blur(9px) saturate(.6); transform: scale(1.25); opacity:.55; }
.mag-locked::before { content:""; position:absolute; inset:0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.0) 0 14px, rgba(255,255,255,.5) 14px 18px); }
.mag-lock { position:relative; width:34px; height:34px; border-radius:999px; display:grid; place-items:center; background:#fff; color:#172540; box-shadow:0 4px 12px rgba(0,0,0,.18); }
.mag-lock svg { width:16px; height:16px; }
.mag-more { background: linear-gradient(150deg, #123a73, #0b2447); color:#fff; border-color: transparent; padding:8px; }

.mag-viewer { position:fixed; inset:0; z-index:90; background:rgba(9,14,22,.94); color:#fff; display:flex; flex-direction:column; backdrop-filter: blur(4px); }
.mag-viewer[hidden] { display:none; }
.mv-top { display:flex; align-items:center; gap:14px; padding:12px 16px; border-bottom:1px solid rgba(255,255,255,.1); }
.mv-top > .min-w-0 { flex:1; }
.mv-kicker { font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#9fd36a; }
.mv-title { font-family: Merriweather, Georgia, serif; font-weight:700; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mv-count { font-size:13px; font-weight:700; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.1); white-space:nowrap; }
.mv-btn, .mv-nav { display:grid; place-items:center; width:44px; height:44px; border-radius:999px; background:rgba(255,255,255,.1); color:#fff; transition: background .2s; flex-shrink:0; }
.mv-btn:hover, .mv-nav:hover:not(:disabled) { background:rgba(255,255,255,.22); }
.mv-btn svg, .mv-nav svg { width:22px; height:22px; }
.mv-nav:disabled { opacity:.25; cursor:default; }
.mv-stage { flex:1; min-height:0; display:flex; align-items:center; justify-content:center; gap:18px; padding:18px; }
.mv-page { height:100%; max-width:min(100%, 760px); display:flex; align-items:center; justify-content:center; margin:0; }
.mv-page[hidden], .mv-end[hidden] { display:none; }
.mv-page img { max-height:100%; max-width:100%; border-radius:6px; box-shadow:0 30px 60px -20px rgba(0,0,0,.7); background:#fff; animation: mvIn .25s ease; }
@keyframes mvIn { from { opacity:.3; transform: scale(.985); } to { opacity:1; transform:none; } }
.mv-end { width:min(100%, 460px); text-align:center; background:#fff; color:#172540; border-radius:20px; padding:30px 24px; box-shadow:0 30px 60px -20px rgba(0,0,0,.7); }
.mv-end-lock { display:inline-grid; place-items:center; width:56px; height:56px; border-radius:999px; background:#eef6e2; color:#3f700a; }
.mv-end-lock svg { width:26px; height:26px; }
.mv-end-k { font-weight:700; color:#3f700a; }
.mv-end-t { font-family: Merriweather, Georgia, serif; font-weight:900; font-size:22px; margin-top:12px; }
.mv-end-s { color:#5b6575; font-size:14.5px; margin-top:8px; line-height:1.55; }
.mv-end-opts { display:grid; gap:10px; margin-top:18px; }
.mv-cta { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border-radius:999px; color:#fff; font-weight:700; margin-top:16px; }
.mv-end-opts .mv-cta { margin-top:0; }
.mv-cta-ghost { background:#fff; color:#123a73; border:2px solid #123a73; }
.mv-end-pay { font-size:12px; color:#5b6575; margin-top:14px; }
.mv-thumbs { display:flex; gap:8px; justify-content:center; padding:10px 16px 16px; overflow-x:auto; }
.mv-thumbs button { flex:0 0 auto; width:46px; aspect-ratio:3/4; border-radius:6px; overflow:hidden; border:2px solid transparent; opacity:.6; transition: opacity .2s, border-color .2s; background:#1d2633; }
.mv-thumbs button img { width:100%; height:100%; object-fit:cover; }
.mv-thumbs button.on { border-color:#9fd36a; opacity:1; }
.mv-thumb-lock { display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:12px; font-weight:800; color:#fff; }
@media (max-width: 639px) {
  .mv-stage { padding:10px 8px; gap:6px; }
  .mv-nav { position:absolute; bottom:86px; z-index:2; }
  .mv-prev { left:12px; } .mv-next { right:12px; }
  .mv-count { display:none; }
}

.mag-hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(108,171,18,.28), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(56,120,210,.35), transparent 60%), linear-gradient(160deg, #0f2f5c, #0b2447 55%, #0a1f3b); }
.mag-hero .mag-tile { border-color: rgba(255,255,255,.15); }
.mag-cover-3d { transform: perspective(1400px) rotateY(-9deg) rotateX(2deg); transition: transform .5s ease; }
.mag-cover-3d:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mag-chip { display:inline-flex; align-items:center; min-height:40px; padding:0 16px; border-radius:999px; font-size:14px; font-weight:600; border:1px solid #e6e1d6; background:#fff; color:#172540; white-space:nowrap; transition: background .2s, color .2s; }
.mag-chip:hover { border-color:#172540; }
.mag-chip.on { background:#172540; color:#fff; border-color:#172540; }
.mag-faq summary { list-style:none; cursor:pointer; }
.mag-faq summary::-webkit-details-marker { display:none; }
.mag-faq details[open] .faq-plus { transform: rotate(45deg); }

/* ---------- Phone header: ticker gets the whole top strip; language + account move to the logo row ---------- */
.m-lang, .m-acct { display:inline-grid; place-items:center; width:40px; height:40px; border-radius:999px; flex-shrink:0; transition: background .2s, border-color .2s; }
.m-lang { border:1.5px solid #e6e1d6; background:#fff; color:#172540; font-weight:800; font-size:13px; letter-spacing:.01em; }
.m-lang:hover, .m-lang:active { border-color:#172540; }
.m-acct { border:1.5px solid #e6e1d6; background:#fff; overflow:hidden; }
.m-acct img { width:100%; height:100%; object-fit:cover; }
.m-acct span { width:100%; height:100%; display:grid; place-items:center; background:#3f700a; color:#fff; font-size:13px; font-weight:800; }
@media (min-width: 640px) { .m-lang, .m-acct { display:none; } }
@media (max-width: 639px) {
  .topbar .tick-item { font-size:13.5px; font-weight:600; padding:10px 2px; }
  .topbar .brk-pill { font-size:11px; padding:4px 8px; }
  #hdrRow { gap:6px; }
  #hdrRow > div { gap:2px !important; }
  #hdrRow > div:last-child { gap:6px !important; }
}
@media (max-width: 359px) { .m-lang { width:36px; height:36px; } .m-acct, header .hdr-cta { width:36px !important; height:36px; } }

/* ---------- Push notifications (only rendered when PUSH_NOTIFICATIONS=true) ---------- */
.push-bell { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:999px; background:#fff; border:1px solid #e2d4bd; color:#141a22; cursor:pointer; transition:border-color .2s, background .2s, color .2s; position:relative; }
.push-bell:hover { border-color:#cdb999; }
.push-bell svg { width:16px; height:16px; }
.push-bell .i-on, .push-row .i-on { display:none; }
.push-bell.is-on { background:#3f700a; border-color:#3f700a; color:#fff; }
.push-bell.is-on .i-on, .push-row.is-on .i-on { display:block; }
.push-bell.is-on .i-off, .push-row.is-on .i-off { display:none; }
.push-bell:not(.is-on)::after { content:""; position:absolute; top:5px; right:6px; width:7px; height:7px; border-radius:999px; background:#d0142c; box-shadow:0 0 0 2px #fff; }
.push-row { width:100%; display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 12px; border-radius:12px; border:1px solid #e4eaf2; background:#fff; font-weight:600; font-size:14px; color:#141a22; cursor:pointer; }
.push-row svg { width:18px; height:18px; }
.push-row.is-on { background:#ecf6df; border-color:#c9e3a8; color:#2c5207; }
.push-bell[hidden], .push-row[hidden], .push-ask[hidden] { display:none !important; }

.push-ask { position:fixed; left:16px; bottom:16px; z-index:85; width:min(380px, calc(100vw - 32px)); display:flex; gap:12px; align-items:flex-start;
  padding:14px 36px 14px 14px; background:#fff; border:1px solid #e4eaf2; border-radius:16px; box-shadow:0 18px 50px rgba(20,26,34,.18);
  opacity:0; transform:translateY(16px); transition:opacity .25s ease, transform .25s ease; }
.push-ask.show { opacity:1; transform:none; }
.push-ask-logo { width:44px; height:44px; border-radius:12px; object-fit:contain; background:#f5f8fc; flex-shrink:0; padding:4px; }
.push-ask-body { min-width:0; }
.push-ask-title { margin:0; font-weight:700; font-size:15px; color:#141a22; line-height:1.3; }
.push-ask-text { margin:4px 0 0; font-size:13px; line-height:1.45; color:#5f6b7a; }
.push-ask-btns { display:flex; gap:8px; margin-top:10px; }
.push-ask-yes, .push-ask-no { height:34px; padding:0 14px; border-radius:999px; font-weight:700; font-size:13px; cursor:pointer; }
.push-ask-yes { background:#3f700a; color:#fff; border:0; }
.push-ask-yes:hover { background:#2c5207; }
.push-ask-no { background:#fff; color:#141a22; border:1px solid #e4eaf2; }
.push-ask-x { position:absolute; top:6px; right:8px; width:28px; height:28px; border:0; background:none; font-size:20px; line-height:1; color:#5f6b7a; cursor:pointer; border-radius:999px; }
.push-ask-x:hover { background:#f5f8fc; }
@media (max-width: 640px) {
  .push-ask { left:12px; right:12px; bottom:12px; width:auto; }
}
@media (prefers-reduced-motion: reduce) { .push-ask { transition:none; } }
