/* SpeakNepal compact dark footer + high-visibility glass pill design system.
   Loaded after all editorial themes to ensure consistent public behavior. */
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body>main{flex:1 0 auto;min-width:0}
body>.footer{flex:0 0 auto;margin-top:auto!important}
body .footer,body.sn-reference .footer{
  background:#080a0e!important;color:#f4f7fb!important;
  border-top:1px solid #252b36!important;padding:22px 0 12px!important;
  box-shadow:none!important;min-height:0;
}
body .sn-footer-inner{display:block}
body .footer-grid,body.sn-reference .footer-grid{
  display:grid!important;grid-template-columns:minmax(170px,1.4fr) minmax(240px,1.5fr) minmax(190px,1fr);
  gap:12px 30px!important;align-items:center;padding:0 0 14px!important;
}
body.sn-reference .footer-grid>div:first-child:before{display:none!important}
body .footer-brand{min-width:0}
body .footer-name{display:block;font:800 19px/1.2 "Inter","Noto Sans Devanagari",sans-serif;letter-spacing:-.045em;color:#fff}
body .footer-name span{color:#df4b64}
body .footer .footer-brand p,body.sn-reference .footer .footer-brand p{
  max-width:320px;margin:5px 0 0;color:#aeb9ca!important;
  font:500 11px/1.45 "Inter","Noto Sans Devanagari",sans-serif!important;
}
body .footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 14px;min-width:0}
body .footer-links a,body.sn-reference .footer-links a{
  display:inline-flex;align-items:center;min-height:32px;padding:4px 0;
  font-size:11px!important;font-weight:650!important;line-height:1.35;
  color:#d5dce6!important;white-space:nowrap;
}
body .footer-links a:hover,body.sn-reference .footer-links a:hover,
body .footer-bottom button:hover{color:#fff!important;font-weight:850!important;opacity:1!important}
body .footer-social{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px}
body .footer-social a,body.sn-reference .footer-social a{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  border:1px solid rgba(255,255,255,.24);border-radius:999px;
  padding:7px 11px;min-height:34px;min-width:0;
  background:linear-gradient(130deg,rgba(255,255,255,.20),rgba(255,255,255,.055));
  box-shadow:inset 0 1px rgba(255,255,255,.22),0 3px 12px #0003;
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  backdrop-filter:blur(16px) saturate(160%);
  color:#fff!important;font:700 11px/1.3 "Inter",sans-serif!important;
  white-space:nowrap;text-decoration:none;
  transition:background .2s ease,box-shadow .2s ease,transform .2s ease;
}
body .footer-social a:hover{background:rgba(255,255,255,.25)!important;color:#fff!important;font-weight:850!important;opacity:1;transform:translateY(-1px)}
body .footer-social a:focus-visible{outline:3px solid #92b8ff;outline-offset:2px}
body .sn-social-symbol{display:inline-grid;place-items:center;min-width:17px;font-size:15px;font-weight:850;line-height:1}
body .footer-compact-newsletter{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin-top:4px}
body .footer-compact-newsletter label{font-size:11px;font-weight:750;color:#e8edf4}
body .footer-compact-newsletter>div{display:flex;align-items:center;max-width:300px;flex:1}
body .footer-compact-newsletter input{height:35px;min-width:0;width:100%;padding:7px 12px;background:#161c25;color:#fff;border:1px solid #465267;border-radius:999px 0 0 999px}
body .footer-compact-newsletter button{height:35px;width:44px;flex:0 0 44px;color:#131d2b!important;background:#f4f7fc!important;border:1px solid #f4f7fc}
body .footer-bottom,body.sn-reference .footer-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 16px;
  margin:0!important;padding:10px 0 0!important;border-top:1px solid #2d3441!important;
  color:#aeb7c5!important;font-size:10px!important;line-height:1.5;
}
body .footer-bottom .privacy-control,body.sn-reference .footer-bottom .privacy-control{
  color:#e8edf5!important;font-size:10px!important;background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.19);padding:6px 12px;
}
body .sn-no-footer-links .footer-links{display:none}
body .sn-no-footer-links .footer-social{display:flex!important}

/* Compact ad units; all active campaigns in a placement rotate within one unit. */
body .advert,body.sn-reference .advert{
  box-sizing:border-box;border:1px solid #e4e8f0;border-radius:17px;
  background:rgba(255,255,255,.86);padding:10px 12px!important;
  margin:14px auto!important;max-width:720px;min-width:0;
  box-shadow:0 8px 24px rgba(25,35,56,.055)!important;
}
body .sn-story-rail .advert,body .ref-latest-side .advert{
  width:100%;max-width:100%;margin:0!important;padding:10px!important;
}
body .advert .ad-label{display:block;text-transform:uppercase;letter-spacing:.11em;color:#667489;font-size:9px;font-weight:800;margin:0 0 7px}
body .sn-ad-viewport{width:100%;min-width:0;overflow:hidden}
body .sn-ad-slide[hidden]{display:none!important}
body .advert .sn-ad-slide>a,body .sn-story-rail .advert .sn-ad-slide>a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  width:100%;min-height:68px!important;padding:8px 10px!important;
  border-radius:11px;background:#f5f7fa;
  color:#1d2a3b!important;text-align:center;text-decoration:none;font-size:12px;
}
body .advert .sn-ad-slide>a:hover{color:#111b29!important;font-weight:800!important;opacity:1!important;background:#ecf2fa}
body .advert .sn-ad-slide strong{max-width:100%;font-size:12px;line-height:1.45}
body .advert .sn-ad-slide span:not(.sn-ad-counter){font-size:11px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body .advert .sn-ad-slide .advert-image,body .sn-story-rail .advert .sn-ad-slide img{
  width:auto;max-width:100%;height:auto;max-height:116px!important;object-fit:contain;border-radius:8px
}
body .sn-story-rail .advert .sn-ad-slide .advert-image{max-height:94px!important}
body .sn-ad-controls{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:7px}
body .sn-ad-controls button{
  display:grid;place-items:center;width:30px;height:30px;min-width:30px;padding:0!important;
  background:rgba(244,248,255,.9)!important;color:#17263d!important;
  border:1px solid #d9e3ef!important;border-radius:999px!important;
  font-size:20px;line-height:1;font-weight:800;
}
body .sn-ad-controls button:hover{background:#dce7f5!important;color:#101b2a!important}
body .sn-ad-counter{color:#435267;font-size:10px;font-weight:800;min-width:43px;text-align:center;font-variant-numeric:tabular-nums}
body .ad-header-slot,body .ad-footer-slot{width:100%;min-width:0}
body .ad-footer-slot{margin-top:0}

/* Consistent frosted-island buttons and links, high contrast in both themes. */
body button{
  border-radius:999px!important;
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  box-shadow:inset 0 1px rgba(255,255,255,.32),0 3px 11px rgba(17,24,39,.10);
  transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}
body button:hover:not(:disabled){
  font-weight:850!important;opacity:1!important;visibility:visible!important;
  box-shadow:inset 0 1px rgba(255,255,255,.45),0 6px 18px rgba(17,24,39,.15);
}
body a:hover{opacity:1!important;visibility:visible!important;font-weight:800}
body .nav-inner a:hover,body .locale-switch a:hover{font-weight:850!important;opacity:1!important;visibility:visible!important}
body :is(.section-heading>a,.pagination>a,.empty-gallery-link,.article-share button){
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:999px!important;border:1px solid rgba(159,177,201,.52)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(229,239,251,.85))!important;
  color:#152236!important;padding:9px 16px!important;min-height:36px;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:inset 0 1px rgba(255,255,255,.96),0 4px 14px rgba(35,55,79,.10);
  text-decoration:none!important;font-weight:750!important;
}
body :is(.section-heading>a,.pagination>a,.empty-gallery-link,.article-share button):hover{
  background:linear-gradient(135deg,#e4eefb,#d9e8f8)!important;color:#101d30!important;
  font-weight:850!important;opacity:1!important;visibility:visible!important;
}
body :is(.contact-form button,.newsletter-band button,.sn-rail-newsletter button,.sn-chat-launch){
  background:linear-gradient(145deg,rgba(41,55,76,.95),rgba(13,24,42,.96))!important;
  border:1px solid rgba(255,255,255,.25)!important;color:#fff!important;
}
body :is(.contact-form button,.newsletter-band button,.sn-rail-newsletter button,.sn-chat-launch):hover{
  color:#fff!important;background:linear-gradient(145deg,#344967,#17243c)!important;opacity:1!important;
}
body .sn-chat-close{color:#1b2739!important;background:rgba(255,255,255,.88)!important}
body .sn-chat-close:hover{color:#0c1524!important}
body .sn-menu-trigger{border-radius:999px!important}
body .privacy-banner button{background:rgba(255,255,255,.95);color:#101a2a;border:1px solid #cfd8e4}
body .privacy-banner button:hover{background:#e7effa!important;color:#071528!important}
body button:focus-visible{outline:3px solid #527ce1!important;outline-offset:3px}
@media(max-width:850px){
 body .footer-grid,body.sn-reference .footer-grid{grid-template-columns:1fr 1fr!important;gap:10px 15px!important;align-items:start}
 body .footer-brand{grid-column:1/-1}
 body .footer-links{justify-content:flex-start}
 body .footer-social{justify-content:flex-end}
}
@media(max-width:520px){
 body .footer,body.sn-reference .footer{padding:17px 0 10px!important}
 body .footer-grid,body.sn-reference .footer-grid{grid-template-columns:1fr!important;gap:9px!important;padding-bottom:10px!important}
 body .footer-brand{grid-column:auto}
 body .footer-brand p{max-width:350px}
 body .footer-links{gap:4px 12px;justify-content:flex-start}
 body .footer-links a{min-height:28px}
 body .footer-social{justify-content:flex-start}
 body .footer-bottom,body.sn-reference .footer-bottom{gap:7px}
 body .footer-compact-newsletter{grid-column:auto;flex-wrap:wrap}
 body .advert,body.sn-reference .advert{margin-block:10px!important;padding:9px!important}
}
@media(prefers-reduced-motion:reduce){
 body button,body .footer-social a{transition:none!important}
 body button:hover,body .footer-social a:hover{transform:none!important}
}


/* Speak Nepal masthead — a distinct Nepal flag mark and bespoke live wordmark,
   never a duplicate of the full-width SVG logo. Works with custom Media assets. */
body .sn-brand-lockup,body.sn-reference .sn-brand-lockup{
 grid-area:brand;display:inline-flex;align-items:center;gap:clamp(9px,1.1vw,14px);
 flex:0 1 auto;min-width:0;max-width:100%;width:max-content;
 color:#121b2b!important;text-decoration:none!important;
 padding:5px 8px 5px 2px;
 opacity:1!important;transition:transform .24s cubic-bezier(.2,.8,.2,1);
}
body .sn-brand-lockup:hover{opacity:1!important;transform:translateY(-1px)}
body .sn-brand-icon{
 flex:0 0 clamp(42px,4.4vw,58px);width:clamp(42px,4.4vw,58px);
 height:clamp(45px,4.7vw,62px);display:grid;place-items:center;
 border:1px solid rgba(255,255,255,.95);border-radius:18px;
 background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(231,238,250,.78));
 box-shadow:inset 0 1px rgba(255,255,255,.95),
   inset 0 -1px rgba(118,143,184,.15),0 7px 22px rgba(32,56,90,.13);
 -webkit-backdrop-filter:blur(18px) saturate(150%);
 backdrop-filter:blur(18px) saturate(150%);
 overflow:hidden;
}
body .sn-brand-icon img,body.sn-reference .sn-brand-icon img{
 display:block;width:76%!important;height:78%!important;max-width:100%!important;
 max-height:100%!important;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.1));
}
body .sn-brand-type{display:flex;flex-direction:column;justify-content:center;min-width:0;gap:2px}
body .sn-brand-name,body.sn-reference .sn-brand-name{
 display:flex;align-items:baseline;gap:clamp(4px,.4vw,8px);
 margin:0;padding:0;color:#121824!important;
 font:800 clamp(25px,2.7vw,37px)/.99 "Inter","Noto Sans Devanagari",system-ui,sans-serif!important;
 letter-spacing:-.072em;white-space:nowrap;text-transform:none;
}
body .sn-brand-name>span{color:#141b29}
body .sn-brand-name em{font-style:normal;color:#c82141}
body .sn-brand-name i{
 display:inline-block;align-self:flex-end;flex:0 0 7px;width:7px;height:7px;
 border-radius:50%;background:#003893;margin-left:1px;margin-bottom:4px;
 box-shadow:0 0 0 3px rgba(0,56,147,.09);
}
body .sn-brand-caption,body.sn-reference .sn-brand-caption{
 display:block;color:#657185!important;
 font:750 clamp(8px,.7vw,10px)/1.45 "Inter","Noto Sans Devanagari",sans-serif!important;
 letter-spacing:.13em;white-space:nowrap;text-transform:uppercase;
}
body .sn-brand-lockup:focus-visible{outline:3px solid #517acc!important;outline-offset:4px;border-radius:15px}
body.sn-reference .head-inner{padding-top:12px}
body.sn-reference .sn-brand-lockup{padding-bottom:12px}
body.sn-reference .head-inner>.header-actions{align-self:center}

/* Dynamic Island glass: consistent highlight, depth and crisp typography.
   Dark primary controls keep white labels; light controls keep navy labels. */
body :is(button,.footer-social a,.locale-switch a,.section-heading>a,.pagination>a,.empty-gallery-link){
 border-radius:999px!important;
 -webkit-backdrop-filter:blur(22px) saturate(180%);
 backdrop-filter:blur(22px) saturate(180%);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.80),
  inset 0 -1px 0 rgba(68,88,119,.07),
  0 6px 20px rgba(25,43,74,.12)!important;
 transition:background .2s ease,box-shadow .2s ease,transform .2s ease,color .2s ease!important;
}
body :is(button,.footer-social a,.locale-switch a,.section-heading>a,.pagination>a,.empty-gallery-link):hover{
 visibility:visible!important;opacity:1!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.95),
  0 9px 24px rgba(23,43,78,.18)!important;
}
body button:hover:not(:disabled),body .section-heading>a:hover,
body .footer-social a:hover,body .pagination>a:hover{transform:translateY(-1px)}
body button:active:not(:disabled){transform:translateY(0);box-shadow:inset 0 2px 8px rgba(12,22,36,.13),0 2px 7px rgba(14,28,50,.08)!important}
body :is(.header-search button,.sn-menu-trigger,.sn-chat-close,
 .sn-chat-actions button:not([aria-pressed=true]),.sn-ad-controls button,
 #lightbox button,.privacy-banner button,
 .article-share button,.locale-switch a,.footer-compact-newsletter button){
 background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(220,233,250,.78))!important;
 border:1px solid rgba(153,177,210,.52)!important;color:#172640!important;
 text-shadow:none;
}
body :is(.header-search button,.sn-menu-trigger,.sn-chat-close,
 .sn-chat-actions button:not([aria-pressed=true]),.sn-ad-controls button,
 #lightbox button,.privacy-banner button,
 .article-share button,.locale-switch a,.footer-compact-newsletter button):hover{
 background:linear-gradient(145deg,#fff,#dbe8f8)!important;color:#0b1c34!important;
 font-weight:800!important;
}
body :is(.contact-form button,.newsletter-band button,.sn-rail-newsletter button,
 .sn-chat-launch,.sn-chat-form button,.sn-chat-actions button[aria-pressed=true],
 .search-filters button,.sn-reference .search-filters button){
 background:linear-gradient(145deg,rgba(49,66,94,.97),rgba(15,28,47,.96))!important;
 border:1px solid rgba(255,255,255,.40)!important;color:#fff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.35),
  inset 0 -1px 0 rgba(0,0,0,.22),
  0 8px 21px rgba(14,32,61,.21)!important;
 text-shadow:0 1px 0 rgba(0,0,0,.12);
}
body :is(.contact-form button,.newsletter-band button,.sn-rail-newsletter button,
 .sn-chat-launch,.sn-chat-form button,.sn-chat-actions button[aria-pressed=true],
 .search-filters button,.sn-reference .search-filters button):hover{
 background:linear-gradient(145deg,#49658a,#172a47)!important;color:#fff!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 12px 25px rgba(14,32,61,.23)!important;
}
body .header-search{background:rgba(244,247,253,.72);border:1px solid #e1e8f2;box-shadow:inset 0 1px #fff,0 4px 13px #172a430d}
body .header-search button{min-width:38px;min-height:36px;display:inline-grid;place-items:center;padding:0 9px}
body .locale-switch a[aria-current=page]{
 background:linear-gradient(145deg,rgba(244,249,255,.98),rgba(216,230,247,.92))!important;
 color:#003893!important;font-weight:850!important;border-color:#b6cde9!important;
}
body .footer-social a,body.sn-reference .footer-social a{
 background:linear-gradient(145deg,rgba(255,255,255,.27),rgba(255,255,255,.09))!important;
 border-color:rgba(255,255,255,.36)!important;color:#fff!important;
 box-shadow:inset 0 1px rgba(255,255,255,.36),0 4px 17px rgba(0,0,0,.26)!important;
}
body .footer-social a:hover,body.sn-reference .footer-social a:hover{
 background:linear-gradient(145deg,rgba(255,255,255,.34),rgba(255,255,255,.16))!important;color:#fff!important;
}
body .privacy-banner button{min-height:37px;padding-inline:15px}
body .sn-chat-form button{height:37px;width:37px;min-width:37px}
body .sn-chat-actions button{min-height:33px}
body .sn-menu-trigger span{background:#1d2a41!important}
body #lightbox button{color:#15253e!important}
body .nav-inner a:hover,body .footer-links a:hover{opacity:1!important;visibility:visible!important;font-weight:800!important}
@media(max-width:1100px){
 body .sn-brand-name,body.sn-reference .sn-brand-name{font-size:clamp(23px,3vw,31px)!important}
 body .sn-brand-caption{font-size:8px!important}
}
@media(max-width:760px){
 body .sn-brand-lockup,body.sn-reference .sn-brand-lockup{gap:8px;padding:2px 0}
 body.sn-reference .head-inner{padding-top:8px}
 body .sn-brand-icon{flex-basis:38px;width:38px;height:43px;border-radius:13px}
 body .sn-brand-name,body.sn-reference .sn-brand-name{font-size:clamp(20px,3.6vw,25px)!important;gap:4px}
 body .sn-brand-name i{width:5px;height:5px;flex-basis:5px;margin-bottom:3px}
 body .sn-brand-caption,body.sn-reference .sn-brand-caption{font-size:7px!important;letter-spacing:.09em}
 body.sn-reference .sn-brand-lockup{padding-bottom:0}
}
@media(max-width:510px){
 body .sn-brand-icon{flex-basis:33px;width:33px;height:37px;border-radius:12px}
 body .sn-brand-name,body.sn-reference .sn-brand-name{font-size:20px!important}
 body .sn-brand-caption,body.sn-reference .sn-brand-caption{display:none!important}
 body .sn-brand-lockup{gap:6px!important}
 body .header-actions,body.sn-reference .header-actions{gap:5px!important}
 body .locale-switch{gap:2px}
 body .locale-switch a{font-size:10px;padding:5px 2px}
 body .header-search button{min-width:38px;min-height:38px}
}
@media(max-width:370px){
 body .sn-brand-name,body.sn-reference .sn-brand-name{font-size:18px!important}
 body .sn-brand-icon{flex-basis:29px;width:29px;height:34px}
 body .sn-brand-lockup{gap:5px!important}
 body .head-inner,body.sn-reference .head-inner{flex-wrap:wrap;row-gap:5px}
 body .header-actions,body.sn-reference .header-actions{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){
 body :is(button,.footer-social a,.locale-switch a,.section-heading>a,.pagination>a,.empty-gallery-link),body .sn-brand-lockup{transition:none!important}
 body button:hover,body .sn-brand-lockup:hover{transform:none!important}
}


/* Small homepage AI island, dormant when idle and never over footer links. */
body .sn-chat{
 position:fixed;right:clamp(12px,2.5vw,26px);bottom:clamp(12px,2.5vw,26px);
 z-index:49;display:flex;align-items:center;gap:5px;
 transition:opacity .22s ease,transform .22s ease;
}
body .sn-chat-launch{
 width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
 max-width:42px!important;padding:0!important;gap:0!important;
 display:inline-grid;place-items:center;
 border-radius:999px!important;color:#fff!important;
 background:linear-gradient(145deg,#375077,#17253e)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.55),0 6px 20px rgba(14,31,57,.26)!important;
}
body .sn-chat-launch:hover{color:#fff!important;background:linear-gradient(145deg,#49638a,#263955)!important}
body .sn-chat-spark{font-size:21px;color:#fff;line-height:1}
body .sn-chat-launch-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body .sn-chat-hide{
 width:24px;height:24px;min-height:24px;min-width:24px;
 display:grid;place-items:center;padding:0!important;
 border:1px solid rgba(151,174,203,.65)!important;
 background:rgba(255,255,255,.97)!important;color:#243950!important;
 font-size:17px;line-height:1;
 box-shadow:0 3px 11px rgba(13,30,53,.15)!important;
}
body .sn-chat:not(:hover):not(:focus-within):not(.sn-chat-open) .sn-chat-hide{opacity:0;pointer-events:none}
body .sn-chat.sn-chat-open .sn-chat-hide{display:none}
body .sn-chat.sn-chat-away:not(.sn-chat-open),body .sn-chat.sn-chat-dismissed,body .sn-chat.sn-chat-near-footer{
 opacity:0;visibility:hidden;transform:translateY(14px);pointer-events:none;
}
body .sn-chat.sn-chat-open{z-index:81}
body .sn-chat-panel{
 width:min(390px,calc(100vw - 24px));height:min(560px,calc(100dvh - 105px));
 bottom:calc(100% + 12px);right:0;
 box-shadow:0 22px 55px rgba(17,30,53,.25);
}
body .sn-chat-actions{flex-wrap:wrap}
body .sn-chat-actions button{
 min-height:32px;white-space:nowrap;font-size:11px;
}
body:has(#privacy-banner:not([hidden])) .sn-chat:not(.sn-chat-open){opacity:0;pointer-events:none}
@media(max-width:540px){
 body .sn-chat{right:12px;bottom:12px}
 body .sn-chat-launch{height:40px!important;width:40px!important;min-width:40px!important;min-height:40px!important}
 body .sn-chat-panel{width:min(375px,calc(100vw - 24px));height:min(68dvh,515px)}
}
@media(prefers-reduced-motion:reduce){body .sn-chat{transition:none!important}body .sn-chat.sn-chat-away{transform:none!important}}
