/* 11.8.59 — light white/blue/green website; accessible scrolling literary thoughts.
   Enqueued last to correct earlier conflicting sitewide footer/title selectors. */

/* Honor the approved banner's intrinsic 2032 × 774 aspect ratio, without stretching the artwork. */
body.sst-reference-ui .sst-reference-home .sst-reference-hero-img{
  width:100%!important;height:auto!important;aspect-ratio:2032 / 774!important;
  object-fit:contain!important;
}

/* A continuous, duplicated 50-quotation ticker. No timers, API calls or image assets. */
body.sst-reference-ui .sst-literary-thought-ticker{
  display:block!important;
  width:100%; min-height:48px; padding:0; overflow:hidden;
  background:#07563f!important; border:0; border-top:2px solid #0d6b4d;
  border-bottom:2px solid #0d6b4d; color:#fff!important;
  isolation:isolate;
}
body.sst-reference-ui .sst-literary-thought-viewport{width:100%;overflow:hidden;}
body.sst-reference-ui .sst-literary-thought-track{
  display:flex; align-items:stretch; flex-wrap:nowrap; gap:0;
  width:max-content; min-width:100%;
  animation:sst-thoughts-rtl-1159 520s linear infinite;
  will-change:transform;
}
body.sst-reference-ui .sst-literary-thought-group{
  display:flex;align-items:center;gap:42px; flex:none;
  padding-inline-end:42px; white-space:nowrap;
}
body.sst-reference-ui .sst-literary-thought-item{
  display:inline-flex;align-items:center; min-height:48px;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:'Noto Sans Devanagari',Mangal,sans-serif;
  font-size:clamp(.89rem,1.1vw,1.08rem);font-weight:800;
  line-height:1.55;white-space:nowrap;text-shadow:none;opacity:1;
}
body.sst-reference-ui .sst-literary-thought-item::before{
  content:'❧';display:inline-block;margin-inline-end:12px;color:#f4d18a;
  -webkit-text-fill-color:#f4d18a;font-size:1.15em;
}
@keyframes sst-thoughts-rtl-1159 {to{transform:translateX(-50%);}}
body.sst-reference-ui .sst-literary-thought-ticker:is(:hover,:focus-within) .sst-literary-thought-track{animation-play-state:paused;}
@media(prefers-reduced-motion:reduce){
  body.sst-reference-ui .sst-literary-thought-track{animation:none!important;will-change:auto!important;}
}

/* 10px major dividers, including one immediately above the newly published writings. */
body.sst-reference-ui .sst-reference-home .sst-reference-section-divider,
body.sst-reference-ui .sst-reference-home .sst-new-releases-top-divider{
  display:block!important;position:relative!important;
  width:100%!important;height:10px!important;min-height:10px!important;
  margin:15px 0!important;padding:0!important;border:0!important;
  border-radius:6px!important;background:#07563f!important;background-image:none!important;
  box-shadow:none!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-section-divider::before,
body.sst-reference-ui .sst-reference-home .sst-reference-section-divider::after{
  content:none!important;display:none!important;
}
/* The existing middle separator between काव्य and गद्य also follows the 10px requirement. */
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-groups--balanced::after{
  width:10px!important;min-width:10px!important;background:#07563f!important;
  border-radius:6px!important;
}
/* The white lettering must win over older blanket h2 / gradient-text rules. */
body.sst-reference-ui main#main-content .sst-reference-home .sst-reference-genres-panel .sst-reference-section-header h2,
body.sst-reference-ui main#main-content .sst-reference-home .sst-reference-genres-panel .sst-reference-section-header h2 *{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:transparent!important;background-image:none!important;
  text-shadow:none!important;filter:none!important;opacity:1!important;
}
body.sst-reference-ui main#main-content .sst-reference-home .sst-reference-genres-panel .sst-reference-section-header h2 span{
  color:#ffe8ab!important;-webkit-text-fill-color:#ffe8ab!important;
}

/* Compact, consistent dark-green footer across the entire site. */
body.sst-reference-ui footer.site-footer.sst-v7-footer{
  background:#07563f!important;background-image:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-top:5px solid #0a684c!important;box-shadow:none!important;
  padding:12px 0 0!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-site-shell{color:#fff!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(h2,h3,h4,p,li,small,span,label,strong),
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-brand-column p,
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-reference-footer-links h3{
  color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:none!important;opacity:1!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-brand{
  display:flex!important;align-items:center!important;gap:8px!important;
  background:transparent!important;max-width:100%!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-brand-wordmark{
  display:block!important;max-width:200px!important;max-height:63px!important;
  padding:5px!important;border-radius:10px!important;background:#fff!important;
  box-shadow:none!important;filter:none!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-brand-logo{max-height:66px!important;width:66px!important;object-fit:contain!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-brand-column p{font-size:.83rem!important;line-height:1.45!important;margin:6px 0!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-grid-v7.footer-grid-compact{
  display:grid!important;
  grid-template-columns:minmax(0,1.16fr) minmax(0,.72fr) minmax(0,.72fr) minmax(0,1.04fr)!important;
  gap:12px!important;align-items:start!important;padding:7px 0 6px!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-reference-footer-links{gap:4px!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-reference-footer-links h3{margin:0 0 4px!important;font-size:.94rem!important;}
/* All footer navigation/buttons: white background and true black bold type, including hover/active. */
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(
  .sst-reference-footer-links a,.footer-link-button-grid a,.footer-socials a,
  .footer-author-search button,.footer-update-box button,.ssc-alpha-circle,
  .sst-footer-directory-drawer>summary
),
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(
  .sst-reference-footer-links a,.footer-link-button-grid a,.footer-socials a,
  .footer-author-search button,.footer-update-box button,.ssc-alpha-circle,
  .sst-footer-directory-drawer>summary
):is(:hover,:focus-visible,:active,.ssc-clicked,[aria-current='page']){
  box-sizing:border-box!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:0!important;min-height:32px!important;
  padding:4px 9px!important;border:1px solid #b7d9c9!important;
  border-radius:8px!important;background:#fff!important;background-image:none!important;
  color:#111!important;-webkit-text-fill-color:#111!important;
  font-family:'Noto Sans Devanagari',Mangal,'Segoe UI',sans-serif!important;
  font-weight:850!important;font-size:clamp(.77rem,.85vw,.85rem)!important;
  line-height:1.32!important;text-align:center!important;
  text-decoration:none!important;text-shadow:none!important;
  box-shadow:none!important;filter:none!important;opacity:1!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(
  .sst-reference-footer-links a,.footer-link-button-grid a,.footer-socials a,
  .footer-author-search button,.footer-update-box button,.ssc-alpha-circle,
  .sst-footer-directory-drawer>summary
):is(:hover,:focus-visible,:active,.ssc-clicked,[aria-current='page']){
  background:#eaf4ee!important;border-color:#a3d0b6!important;color:#111!important;-webkit-text-fill-color:#111!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-reference-footer-links a{
  display:flex!important;width:100%!important;min-height:30px!important;padding:4px 6px!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-link-button-grid{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:5px!important;margin:8px 0!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-link-button-grid a{
  display:flex!important;width:100%!important;min-height:31px!important;padding:4px!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-socials{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:6px!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-socials a{min-width:33px!important;padding:4px!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-update-box{
  background:#0b664a!important;border:1px solid #3f9477!important;
  border-radius:10px!important;padding:9px!important;box-shadow:none!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-update-box :is(h3,p){color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-update-box p{font-size:.8rem!important;margin:4px 0!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(.footer-update-box form,.footer-author-search){background:transparent!important;box-shadow:none!important;border:0!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(.footer-update-box input,.footer-author-search input){background:#fff!important;color:#1d3442!important;-webkit-text-fill-color:#1d3442!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-footer-directory-drawer{
  display:block!important;margin:0 0 9px!important;color:#fff!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-footer-directory-drawer>summary{
  cursor:pointer!important;min-height:34px!important;width:100%!important;max-width:480px!important;
  list-style:none!important;outline-offset:3px!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .sst-footer-directory-drawer>summary::-webkit-details-marker{display:none!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-author-az{
  margin:9px 0 0!important;padding:10px!important;
  background:#0b664a!important;border:1px solid #3f9477!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-author-az :is(h3,span,label){color:#fff!important;-webkit-text-fill-color:#fff!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .ssc-alpha-nav{gap:5px!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer .ssc-alpha-circle{min-width:29px!important;width:29px!important;height:29px!important;padding:2px!important;border-radius:50%!important;}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(.ssc-site-payment-notice-box,.footer-originality-disclaimer){
  background:#0b664a!important;background-image:none!important;
  border:1px solid #3f9477!important;border-radius:10px!important;
  padding:9px 12px!important;margin:7px 0!important;color:#fff!important;
  box-shadow:none!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(.ssc-site-payment-notice-box,.footer-originality-disclaimer) :is(strong,p,span,b){
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
  font-size:clamp(.78rem,.8vw,.86rem)!important;line-height:1.55!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-bottom{
  background:#054832!important;color:#fff!important;border-top:1px solid #2e8265!important;
  border-radius:0!important;margin:8px 0 0!important;padding:6px 9px!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-bottom *{color:#fff!important;-webkit-text-fill-color:#fff!important;}
@media(max-width:1100px){
  body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-link-button-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
@media(max-width:850px){
  body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-grid-v7.footer-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-link-button-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.sst-reference-ui .sst-literary-thought-item{font-size:.88rem!important;}
}
@media(max-width:530px){
  body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-grid-v7.footer-grid-compact{grid-template-columns:1fr!important;}
  body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-link-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.sst-reference-ui .sst-literary-thought-item{font-size:.84rem!important;}
}
