/* Sahitya Sanjeevani 11.8.58 — approved white, blue and green redesign.
 * Presentation only. Uses the same templates, real counts, links and Core flows.
 * Enqueued after royal-reference and royal-sitewide to avoid mixed palettes.
 */
:root,
html[data-site-palette],
html[data-site-palette="emerald"] {
  --bg:#ffffff!important;
  --light-bg:#ffffff!important;
  --banner-cream:#ffffff!important;
  --paper:#ffffff!important;
  --surface:#ffffff!important;
  --surface-alt:#f3faf6!important;
  --ink:#203b51!important;
  --muted:#4f6573!important;
  --line:#c8ddce!important;
  --soft-blue:#f0f7fc!important;
  --soft-green:#edf8f1!important;
  --blue:#174f83!important;
  --blue-2:#1c6799!important;
  --green:#0c6a4c!important;
  --green-2:#19865f!important;
  --teal:#176f68!important;
  --gold:#b98935!important;
  --genre-panel:#f1faf3!important;
  --ssc-genre-panel:#f1faf3!important;
  --sst-royal-page:#ffffff!important;
  --sst-royal-paper:#ffffff!important;
  --sst-royal-panel:#ffffff!important;
  --sst-royal-cream:#f5faf6!important;
  --sst-royal-leaf:#eef8f1!important;
  --sst-royal-green:#0c6a4c!important;
  --sst-royal-green-deep:#07563f!important;
  --sst-royal-blue:#174f83!important;
  --sst-royal-ink:#203b51!important;
  --sst-royal-muted:#526a72!important;
  --sst-royal-border:#c8ddce!important;
  --sst-v7-cream:#ffffff!important;
  --sst-v7-ivory:#ffffff!important;
  --sst-v7-deep:#174f83!important;
  --sst-v7-deeper:#113e6a!important;
  --sst-v7-green:#0c6a4c!important;
  --sst-v7-blue:#174f83!important;
  --sst-heading-color:#174f83!important;
}
html,
html[data-site-palette] body.sst-reference-ui,
body.sst-reference-ui,
body.sst-reference-ui main#main-content,
body.sst-reference-ui .sst-reference-home,
body.sst-reference-ui .content-wrap {
  background:#ffffff!important;
  background-image:none!important;
  color:#203b51!important;
}
body.sst-reference-ui main :is(h1,h2,h3,h4,.entry-title,.page-title),
body.sst-reference-ui .sst-reference-section-header h2,
body.sst-reference-ui .sst-reference-work-text h3,
body.sst-reference-ui .ssc-genre-group-heading h3 {
  color:#174f83!important;
  -webkit-text-fill-color:#174f83!important;
  text-shadow:none!important;
  filter:none!important;
  opacity:1!important;
}
body.sst-reference-ui main :is(p,li,small,label,.sst-reference-work-author) {
  text-shadow:none!important;
  opacity:1;
}
body.sst-reference-ui :where(a,button,input,select,textarea,summary):focus-visible {
  outline:3px solid #1c6799!important;
  outline-offset:3px!important;
}
/* Same header on every page: white background, blue navigation, readable green actions. */
body.sst-reference-ui header.sst-reference-header {
  background:#ffffff!important;
  background-image:none!important;
  border-color:#c8ddce!important;
  box-shadow:0 3px 15px rgba(15,77,66,.065)!important;
}
body.sst-reference-ui .sst-reference-nav-shell,
body.sst-reference-ui .sst-reference-more-panel,
body.sst-reference-ui .sst-reference-view-controls {
  background:#ffffff!important;
  border-color:#c8ddce!important;
}
body.sst-reference-ui .sst-reference-main-nav .sst-reference-nav-list a,
body.sst-reference-ui .sst-reference-more summary {
  color:#174f83!important;
  -webkit-text-fill-color:#174f83!important;
  background:transparent!important;
}
body.sst-reference-ui .sst-reference-main-nav .sst-reference-nav-list a:is(:hover,:focus-visible),
body.sst-reference-ui .sst-reference-more summary:is(:hover,:focus-visible) {
  background:#e9f6ee!important;
  color:#07563f!important;
  -webkit-text-fill-color:#07563f!important;
}
body.sst-reference-ui .sst-reference-main-nav .sst-reference-nav-list a[aria-current="page"] {
  color:#07563f!important;
  -webkit-text-fill-color:#07563f!important;
}
body.sst-reference-ui .sst-reference-main-nav .sst-reference-nav-list a:after {
  background:#0c6a4c!important;
}
body.sst-reference-ui :is(.sst-reference-search,.sst-reference-search input,.sst-reference-view-settings>summary) {
  background:#ffffff!important;
  border-color:#bdd7c7!important;
  color:#203b51!important;
}
body.sst-reference-ui .sst-reference-search input::placeholder,
body.sst-reference-ui main input::placeholder {
  color:#617783!important;
  opacity:1!important;
}
body.sst-reference-ui .sst-reference-view-controls span,
body.sst-reference-ui .sst-reference-more-panel a {
  color:#174f83!important;
}
/* User's supplied 2032 x 774 banner, natural aspect ratio, never cropped or stretched. */
body.sst-reference-ui .sst-reference-hero,
body.sst-reference-ui .sst-reference-hero-frame {
  background:#ffffff!important;
  background-image:none!important;
}
body.sst-reference-ui .sst-reference-hero-frame {
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.sst-reference-ui .sst-reference-hero-img {
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:2032 / 774!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:none!important;
  image-rendering:auto!important;
}
/* Functional, visible green buttons placed exactly over the two buttons in the banner. */
body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-read,
body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-join {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  top:68.0%!important;
  height:9.0%!important;
  padding:1px 4px!important;
  background:linear-gradient(100deg,#07563f,#0e7755)!important;
  background-image:linear-gradient(100deg,#07563f,#0e7755)!important;
  border:1px solid #b98935!important;
  border-radius:999px!important;
  box-shadow:0 3px 10px rgba(5,58,40,.2)!important;
  text-decoration:none!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  line-height:1.2!important;
  opacity:1!important;
  text-align:center!important;
}
body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-read {
  left:11.95%!important;width:13.45%!important;
}
body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-join {
  left:25.55%!important;width:12.9%!important;
}
body.sst-reference-ui .sst-reference-hero-hotspot .sst-visible-banner-label {
  font-family:"Noto Sans Devanagari",Mangal,sans-serif!important;
  font-size:clamp(.7rem,1.08vw,1.12rem)!important;
  font-weight:900!important;
  line-height:1.18!important;
  letter-spacing:0!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:none!important;
  filter:none!important;
}
body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-read:is(:hover,:active,:focus-visible),
body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-join:is(:hover,:active,:focus-visible) {
  background:#174f83!important;
  background-image:none!important;
  color:#ffffff!important;
}
/* Other four banner feature areas remain click targets, not opaque overlays on the icons. */
body.sst-reference-ui .sst-reference-hotspot-read-feature,
body.sst-reference-ui .sst-reference-hotspot-join-feature {
  top:82.2%!important;height:16.5%!important;
  background:transparent!important;border:0!important;
}
body.sst-reference-ui .sst-reference-hotspot-read-feature {left:0.5%!important;width:11.7%!important;}
body.sst-reference-ui .sst-reference-hotspot-join-feature {left:24.45%!important;width:12.3%!important;}
body.sst-reference-ui .sst-reference-hotspot-read-feature:focus-visible,
body.sst-reference-ui .sst-reference-hotspot-join-feature:focus-visible {
  outline:3px solid #174f83!important;
}
body.sst-reference-ui .sst-reference-hotspot-write {
  left:12.3%!important;top:82.2%!important;width:12.1%!important;height:16.5%!important;
  background:transparent!important;
}
body.sst-reference-ui .sst-reference-hotspot-grow {
  left:36.8%!important;top:82.2%!important;width:12.4%!important;height:16.5%!important;
  background:transparent!important;
}
body.sst-reference-ui .sst-reference-hotspot-write:focus-visible,
body.sst-reference-ui .sst-reference-hotspot-grow:focus-visible {
  outline:3px solid #174f83!important;
}
/* Cards and genre directories: light surfaces, strong blue titles and green outlines. */
body.sst-reference-ui .sst-reference-panel,
body.sst-reference-ui :is(.sst-reference-work-card,.sst-reference-author-tile,.ssc-writing-card,.ssc-author-card,.ssc-news-card,.ssc-youtube-card,.ssc-contest-card,.ssc-profile-card) {
  background:#ffffff!important;
  background-image:none!important;
  border-color:#c8ddce!important;
  box-shadow:0 4px 17px rgba(8,75,63,.055)!important;
}
body.sst-reference-ui .sst-reference-work-text h3 a,
body.sst-reference-ui .sst-reference-author-tile strong {
  color:#174f83!important;
  -webkit-text-fill-color:#174f83!important;
  text-shadow:none!important;
}
body.sst-reference-ui .sst-reference-work-author,
body.sst-reference-ui .sst-reference-work-meta {
  color:#526a72!important;
}
body.sst-reference-ui .sst-reference-work-meta span:first-child,
body.sst-reference-ui .sst-reference-author-tile small {
  background:#eaf7ef!important;
  border-color:#bddbc9!important;
  color:#07563f!important;
}
body.sst-reference-ui .sst-reference-genres {
  background:#f4faf6!important;
  border-color:#bddbc9!important;
}
body.sst-reference-ui .sst-reference-genres a {
  color:#174f83!important;
  border-right-color:#c8ddce!important;
}
body.sst-reference-ui .sst-reference-genres a:is(:hover,:focus-visible) {
  background:#dff1e6!important;
  color:#07563f!important;
}
body.sst-reference-ui .sst-reference-genre-icon {
  color:#0c6a4c!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel,
body.sst-reference-ui .sst-reference-home .sst-reference-genre-main {
  background:#f5fbf7!important;
  border-color:#c8ddce!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-group {
  background:#f2faf4!important;
  border-color:#c8ddce!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-group-heading h3 {
  background:#ffffff!important;
  color:#174f83!important;
  -webkit-text-fill-color:#174f83!important;
  border-color:#bcd9c5!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-card {
  background:#ffffff!important;
  border-color:#bddbc9!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-card :is(.ssc-genre-name,.ssc-genre-live-count) {
  color:#174f83!important;
  -webkit-text-fill-color:#174f83!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-card:is(:hover,:focus-visible) {
  background:#e2f3e9!important;
  border-color:#0c6a4c!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-card:is(:hover,:focus-visible) :is(.ssc-genre-name,.ssc-genre-live-count){
  color:#07563f!important;
  -webkit-text-fill-color:#07563f!important;
}
body.sst-reference-ui .sst-reference-home .sst-reference-genres-panel .ssc-genre-showcase-groups--balanced::after,
body.sst-reference-ui .sst-reference-home .sst-reference-section-divider {
  background:#07563f!important;
}
/* All principal actions: green pills on white, with accessible white lettering. */
body.sst-reference-ui :is(
  .sst-reference-register,.sst-reference-login,.sst-reference-search button,
  .sst-reference-contest-button,.sst-reference-section-header>a,
  .sst-reference-hero-mobile-links a,.sst-reference-mobile-actions a,
  .ssc-btn,.btn,.publish-btn,.header-register,.header-login,
  .ssc-new-release-cta,.ssc-profession-profile-btn,
  .reading-copy-link,.reading-share-list a,.wp-block-button__link,
  .footer-author-search button,.footer-update-box button,
  .footer-link-button-grid a,
  .sst-reference-footer-links a
),
body.sst-reference-ui main button[type="submit"],
body.sst-reference-ui main input[type="submit"] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#0c6a4c!important;
  background-image:none!important;
  border:1px solid #07563f!important;
  border-radius:999px!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-weight:800!important;
  text-decoration:none!important;
  text-shadow:none!important;
  box-shadow:0 3px 10px rgba(8,80,53,.10)!important;
}
body.sst-reference-ui :is(
  .sst-reference-register,.sst-reference-login,.sst-reference-search button,
  .sst-reference-contest-button,.sst-reference-section-header>a,
  .sst-reference-hero-mobile-links a,.sst-reference-mobile-actions a,
  .ssc-btn,.btn,.publish-btn,.header-register,.header-login,
  .ssc-new-release-cta,.ssc-profession-profile-btn,
  .reading-copy-link,.reading-share-list a,.wp-block-button__link,
  .footer-author-search button,.footer-update-box button,
  .footer-link-button-grid a,.sst-reference-footer-links a
):is(:hover,:focus-visible,:active,.ssc-clicked,[aria-pressed="true"]),
body.sst-reference-ui main button[type="submit"]:is(:hover,:focus-visible,:active),
body.sst-reference-ui main input[type="submit"]:is(:hover,:focus-visible,:active) {
  background:#174f83!important;
  background-image:none!important;
  border-color:#174f83!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  text-shadow:none!important;
}
/* Links styled as navigation (not action buttons) remain readable blue. */
body.sst-reference-ui .sst-reference-main-nav .sst-reference-nav-list a,
body.sst-reference-ui .sst-reference-more-panel a,
body.sst-reference-ui main .sst-reference-work-card a:not(.btn) {
  text-decoration:none!important;
}
body.sst-reference-ui main :is(input:not([type="submit"]),textarea,select) {
  background:#ffffff!important;
  border-color:#bbd6c7!important;
  color:#203b51!important;
  -webkit-text-fill-color:#203b51!important;
  opacity:1!important;
}
/* Single consistent white footer with green link buttons on every page. */
body.sst-reference-ui footer.site-footer.sst-v7-footer {
  background:#f5faf7!important;
  background-image:none!important;
  border-top:3px solid #0c6a4c!important;
  color:#203b51!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(h2,h3,h4,strong,p,small,label,li),
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-brand-column p {
  color:#203b51!important;
  -webkit-text-fill-color:#203b51!important;
  opacity:1!important;
  text-shadow:none!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(.sst-reference-footer-links a,.footer-link-button-grid a) {
  background:#0c6a4c!important;
  border-color:#07563f!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer :is(.sst-reference-footer-links a,.footer-link-button-grid a):is(:hover,:focus-visible,:active,.ssc-clicked,[aria-current="page"]) {
  background:#174f83!important;
  border-color:#174f83!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-update-box,
body.sst-reference-ui footer.site-footer.sst-v7-footer .ssc-site-payment-notice-box,
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-originality-disclaimer {
  background:#ffffff!important;
  border-color:#c8ddce!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-bottom {
  background:#07563f!important;
  background-image:none!important;
  color:#ffffff!important;
}
body.sst-reference-ui footer.site-footer.sst-v7-footer .footer-bottom :is(span,a,small,strong,p) {
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}
/* Keep the site legible on small screens without shrinking or obscuring Hindi text. */
@media(max-width:900px) {
  body.sst-reference-ui .sst-reference-hero-hotspot .sst-visible-banner-label {font-size:clamp(.56rem,1.25vw,.86rem)!important;}
}
@media(max-width:600px) {
  body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-read,
  body.sst-reference-ui .sst-reference-hero-hotspot.sst-reference-hotspot-join {
    background:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
  }
  body.sst-reference-ui .sst-reference-hero-hotspot .sst-visible-banner-label {display:none!important;}
  body.sst-reference-ui .sst-reference-hero-mobile-links a {min-height:44px!important;}
}
@media(prefers-reduced-motion:reduce) {
  body.sst-reference-ui :is(a,button) {transition:none!important;}
}
