/* SOC Site Manager v3.6 — Public Inner Pages Design System */
body.soc-suite-inner-enabled{
  --soc-i-plum:#5B174F;
  --soc-i-plum-dark:#37102F;
  --soc-i-orange:var(--soc-inner-accent,#FF671F);
  --soc-i-orange-dark:#E85112;
  --soc-i-cream:#FFF8F0;
  --soc-i-peach:#FFE8D6;
  --soc-i-lilac:#F5EAF3;
  --soc-i-green:#55A35B;
  --soc-i-heading:var(--soc-inner-heading,#28142E);
  --soc-i-text:var(--soc-inner-text,#625A65);
  --soc-i-border:#EDE3DB;
  --soc-i-shadow:0 12px 34px rgba(55,16,47,.07);
  --soc-i-shadow-hover:0 18px 42px rgba(55,16,47,.12);
  --soc-i-radius:var(--soc-inner-radius,18px);
  background:var(--soc-inner-bg,#FFFDFC);
  color:var(--soc-i-text);
}
body.soc-suite-inner-enabled #content-wrap,
body.soc-suite-inner-enabled .container{max-width:1280px}
body.soc-suite-inner-enabled a{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}

/* Page/archive header */
body.soc-suite-resource-archive .page-header,
body.soc-suite-resource-archive .page-header.background-image-page-header{
  margin:0!important;
  padding:34px 0!important;
  background:
    radial-gradient(circle at 88% 20%,rgba(255,103,31,.13),transparent 24%),
    linear-gradient(135deg,#FFF8F0 0%,#F7EDF5 100%)!important;
  border:0!important;
  border-bottom:1px solid var(--soc-i-border)!important;
}
body.soc-suite-resource-archive .page-header .page-header-title,
body.soc-suite-resource-archive .page-header h1,
body.soc-suite-resource-archive .page-header-title{
  margin:0!important;
  color:var(--soc-i-heading)!important;
  font-family:Poppins,Inter,Arial,sans-serif!important;
  font-size:clamp(28px,4vw,44px)!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
body.soc-suite-resource-archive .site-breadcrumbs,
body.soc-suite-resource-archive .site-breadcrumbs a{color:#8A7183!important;font-size:12px!important}
body.soc-suite-resource-archive .site-breadcrumbs a:hover{color:var(--soc-i-orange)!important}

/* Common content typography */
body.soc-suite-content-style .entry-content,
body.soc-suite-content-style .elementor-widget-text-editor,
body.soc-suite-content-style .elementor-widget-theme-post-content{
  color:var(--soc-i-text);
  line-height:1.78;
}
body.soc-suite-content-style .entry-content h1,
body.soc-suite-content-style .entry-content h2,
body.soc-suite-content-style .entry-content h3,
body.soc-suite-content-style .entry-content h4,
body.soc-suite-content-style .elementor-widget-text-editor h1,
body.soc-suite-content-style .elementor-widget-text-editor h2,
body.soc-suite-content-style .elementor-widget-text-editor h3,
body.soc-suite-content-style .elementor-widget-text-editor h4{
  color:var(--soc-i-heading)!important;
  font-family:Poppins,Inter,Arial,sans-serif!important;
  scroll-margin-top:110px;
}
body.soc-suite-content-style .entry-content h2,
body.soc-suite-content-style .elementor-widget-text-editor h2{
  position:relative;
  margin:34px 0 18px!important;
  padding:13px 16px 13px 18px!important;
  border:1px solid #F0DFD5;
  border-left:4px solid var(--soc-i-orange);
  border-radius:12px;
  background:linear-gradient(90deg,#FFF8F0 0%,#FFF 72%);
  font-size:clamp(21px,2.6vw,28px)!important;
  line-height:1.28!important;
}
body.soc-suite-content-style .entry-content h3,
body.soc-suite-content-style .elementor-widget-text-editor h3{
  margin:26px 0 12px!important;
  font-size:clamp(17px,2vw,21px)!important;
  line-height:1.35!important;
}
body.soc-suite-content-style .entry-content h3:before,
body.soc-suite-content-style .elementor-widget-text-editor h3:before{
  content:"";display:inline-block;width:7px;height:7px;margin:0 9px 2px 0;border-radius:50%;background:var(--soc-i-orange)
}
body.soc-suite-content-style .entry-content p,
body.soc-suite-content-style .elementor-widget-text-editor p{margin-bottom:1.05em;color:var(--soc-i-text)}
body.soc-suite-content-style .entry-content strong{color:#402039}
body.soc-suite-content-style .entry-content ul,
body.soc-suite-content-style .entry-content ol{margin:16px 0 22px;padding-left:24px}
body.soc-suite-content-style .entry-content li{margin:7px 0;padding-left:3px}
body.soc-suite-content-style .entry-content li::marker{color:var(--soc-i-orange);font-weight:800}
body.soc-suite-content-style .entry-content blockquote{
  margin:24px 0;padding:18px 20px;border:1px solid #EADBE7;border-left:4px solid var(--soc-i-plum);border-radius:14px;background:#FAF3F9;color:#503948;box-shadow:0 8px 24px rgba(55,16,47,.05)
}
body.soc-suite-content-style .entry-content hr{margin:32px 0;border:0;border-top:1px solid var(--soc-i-border)}
body.soc-suite-content-style .entry-content code{padding:2px 6px;border-radius:6px;background:#F7EDF5;color:var(--soc-i-plum-dark);font-size:.92em}
body.soc-suite-content-style .entry-content pre{overflow:auto;padding:18px;border:1px solid #E8D9E4;border-radius:14px;background:#2F172A;color:#FFF}
body.soc-suite-content-style .entry-content img{max-width:100%;height:auto;border-radius:14px}
body.soc-suite-content-style .entry-content iframe,
body.soc-suite-content-style .entry-content video{max-width:100%;border-radius:16px;box-shadow:var(--soc-i-shadow)}

/* Tables */
.soc-table-scroll{width:100%;overflow:auto;margin:22px 0;border:1px solid var(--soc-i-border);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(55,16,47,.05)}
.soc-table-scroll table{margin:0!important;min-width:620px;border:0!important}
body.soc-suite-content-style .entry-content table:not(.soc-table),
body.soc-suite-content-style .elementor-widget-text-editor table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}
body.soc-suite-content-style .entry-content table:not(.soc-table) th,
body.soc-suite-content-style .elementor-widget-text-editor table th{padding:13px 14px;background:#F7EDF5;color:var(--soc-i-plum-dark);font-weight:800;text-align:left;border-color:#EADDE5}
body.soc-suite-content-style .entry-content table:not(.soc-table) td,
body.soc-suite-content-style .elementor-widget-text-editor table td{padding:12px 14px;color:var(--soc-i-text);border-color:#F0E5DF}

/* Single-resource shell */
body.soc-suite-resource-single #main,
body.soc-suite-resource-single #content-wrap{background:transparent}
body.soc-suite-resource-single .entry-content{
  width:min(var(--soc-inner-width),calc(100% - 40px));
  max-width:var(--soc-inner-width)!important;
  margin:0 auto!important;
  padding:34px 0 62px!important;
}
body.soc-suite-resource-single .entry-content>.elementor,
body.soc-suite-resource-single .entry-content>.elementor-section-wrap{width:100%}
body.soc-suite-resource-single .entry-title{color:var(--soc-i-heading)!important;font-family:Poppins,Inter,sans-serif!important;font-weight:800!important;letter-spacing:-.02em}
body.soc-suite-resource-single .resource-card-chips,
body.soc-suite-resource-single .soc-badges,
body.soc-suite-resource-single .soc-resource-tax-chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 15px}
body.soc-suite-resource-single .resource-card-chips a,
body.soc-suite-resource-single .soc-badges a,
body.soc-suite-resource-single .soc-resource-tax-chips a,
body.soc-suite-resource-single .chip{
  display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #EADBE7;border-radius:999px;background:#FAF3F9;color:var(--soc-i-plum)!important;font-size:10.5px;font-weight:750;line-height:1.2;text-decoration:none!important
}
body.soc-suite-resource-single .resource-card-chips a:hover,
body.soc-suite-resource-single .soc-badges a:hover{border-color:#F4B28F;background:#FFF3EC;color:var(--soc-i-orange-dark)!important}

/* Browse page */
body.soc-suite-browse-page{background:#FFFDFC}
body.soc-suite-browse-page .soc-inner-browser-shell{padding-top:28px}
body.soc-suite-browse-page .entry-content{max-width:none!important;padding-top:0!important}
body.soc-suite-browse-page .soc-public-filterbar,
body.soc-suite-browse-page .soc-filter,
body.soc-suite-browse-page .rb2-filter,
body.soc-suite-browse-page .soc-rb2-filter,
body.soc-suite-browse-page .resource-browser-filter{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(140px,1fr)) minmax(190px,1.35fr) auto!important;
  align-items:end!important;
  gap:10px!important;
  margin:0 0 24px!important;
  padding:16px!important;
  border:1px solid var(--soc-i-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:var(--soc-i-shadow)!important;
}
body.soc-suite-browse-page .soc-public-filterbar label,
body.soc-suite-browse-page .soc-filter label{display:grid;gap:6px;color:#6D5868;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
body.soc-suite-browse-page .soc-public-filterbar select,
body.soc-suite-browse-page .soc-public-filterbar input[type="search"],
body.soc-suite-browse-page .soc-public-filterbar input[type="text"],
body.soc-suite-browse-page .soc-filter select,
body.soc-suite-browse-page .soc-filter input[type="search"],
body.soc-suite-browse-page .soc-filter input[type="text"]{
  width:100%!important;min-height:44px!important;margin:0!important;padding:0 12px!important;border:1px solid #E7DCD6!important;border-radius:10px!important;background:#FFF!important;color:var(--soc-i-heading)!important;font-size:12px!important;box-shadow:none!important
}
body.soc-suite-browse-page .soc-public-filterbar select:focus,
body.soc-suite-browse-page .soc-public-filterbar input:focus,
body.soc-suite-browse-page .soc-filter select:focus,
body.soc-suite-browse-page .soc-filter input:focus{border-color:#F3A27A!important;outline:3px solid rgba(255,103,31,.10)!important}
body.soc-suite-browse-page .soc-public-filterbar button,
body.soc-suite-browse-page .soc-filter button,
body.soc-suite-browse-page .soc-public-filterbar .button,
body.soc-suite-browse-page .soc-filter .button{
  min-height:44px!important;padding:0 16px!important;border:0!important;border-radius:10px!important;background:var(--soc-i-orange)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;box-shadow:0 8px 18px rgba(255,103,31,.19)!important
}
body.soc-suite-browse-page .soc-public-filterbar button:hover,
body.soc-suite-browse-page .soc-filter button:hover{background:var(--soc-i-orange-dark)!important;transform:translateY(-1px)}

/* Existing Resource Browser / related card system */
body.soc-suite-browse-page .soc-cards,
body.soc-suite-resource-archive .soc-cards,
body.soc-suite-resource-single .soc-cards{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important
}
body.soc-suite-browse-page .soc-card,
body.soc-suite-resource-archive .soc-card,
body.soc-suite-resource-single .soc-card{
  position:relative!important;display:flex!important;flex-direction:column!important;min-width:0!important;min-height:100%!important;padding:18px!important;border:1px solid var(--soc-i-border)!important;border-radius:var(--soc-i-radius)!important;background:#fff!important;box-shadow:var(--soc-i-shadow)!important;overflow:hidden!important
}
body.soc-suite-browse-page .soc-card:before,
body.soc-suite-resource-archive .soc-card:before,
body.soc-suite-resource-single .soc-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,var(--soc-i-orange),#FFB178);opacity:0;transition:.18s ease}
body.soc-suite-browse-page .soc-card:hover,
body.soc-suite-resource-archive .soc-card:hover,
body.soc-suite-resource-single .soc-card:hover{transform:translateY(-3px);border-color:#E7CFC2!important;box-shadow:var(--soc-i-shadow-hover)!important}
body.soc-suite-browse-page .soc-card:hover:before,
body.soc-suite-resource-archive .soc-card:hover:before,
body.soc-suite-resource-single .soc-card:hover:before{opacity:1}
body.soc-suite-browse-page .soc-badges,
body.soc-suite-resource-archive .soc-badges,
body.soc-suite-resource-single .soc-card .soc-badges{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0 0 12px!important}
body.soc-suite-browse-page .soc-badges a,
body.soc-suite-browse-page .soc-badges span,
body.soc-suite-resource-archive .soc-badges a,
body.soc-suite-resource-archive .soc-badges span,
body.soc-suite-resource-single .soc-card .soc-badges a,
body.soc-suite-resource-single .soc-card .soc-badges span{
  display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:4px 8px!important;border:1px solid #EADBE7!important;border-radius:999px!important;background:#FAF3F9!important;color:var(--soc-i-plum)!important;font-size:9.5px!important;font-weight:800!important;line-height:1.15!important;text-decoration:none!important
}
body.soc-suite-browse-page .soc-title,
body.soc-suite-resource-archive .soc-title,
body.soc-suite-resource-single .soc-card .soc-title{margin:0 0 9px!important;color:var(--soc-i-heading)!important;font-family:Poppins,Inter,sans-serif!important;font-size:16px!important;font-weight:750!important;line-height:1.42!important}
body.soc-suite-browse-page .soc-title a,
body.soc-suite-resource-archive .soc-title a,
body.soc-suite-resource-single .soc-card .soc-title a{color:inherit!important;text-decoration:none!important}
body.soc-suite-browse-page .soc-desc,
body.soc-suite-resource-archive .soc-desc,
body.soc-suite-resource-single .soc-card .soc-desc{margin:0 0 14px!important;color:#746A72!important;font-size:12px!important;line-height:1.6!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.soc-suite-browse-page .soc-card-foot,
body.soc-suite-resource-archive .soc-card-foot,
body.soc-suite-resource-single .soc-card .soc-card-foot{margin-top:auto!important;padding-top:13px!important;border-top:1px solid #F2E8E2!important}
body.soc-suite-browse-page .soc-more,
body.soc-suite-resource-archive .soc-more,
body.soc-suite-resource-single .soc-card .soc-more{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:0 13px!important;border-radius:9px!important;background:#FFF2EA!important;color:var(--soc-i-orange-dark)!important;font-size:10.5px!important;font-weight:850!important;text-decoration:none!important
}
body.soc-suite-browse-page .soc-more:hover,
body.soc-suite-resource-archive .soc-more:hover,
body.soc-suite-resource-single .soc-card .soc-more:hover{background:var(--soc-i-orange)!important;color:#fff!important}

/* Archive loops/cards */
body.soc-suite-resource-archive #content-wrap{padding-top:36px!important;padding-bottom:58px!important}
body.soc-suite-resource-archive #primary{min-width:0}
body.soc-suite-resource-archive .blog-entry,
body.soc-suite-resource-archive article.entry,
body.soc-suite-resource-archive .entries .entry,
body.soc-suite-resource-archive .oceanwp-row .col{
  border-color:var(--soc-i-border)!important
}
body.soc-suite-resource-archive .blog-entry.post,
body.soc-suite-resource-archive .blog-entry,
body.soc-suite-resource-archive #primary>article{
  margin-bottom:18px!important;padding:20px!important;border:1px solid var(--soc-i-border)!important;border-radius:var(--soc-i-radius)!important;background:#fff!important;box-shadow:var(--soc-i-shadow)!important
}
body.soc-suite-resource-archive .blog-entry-title,
body.soc-suite-resource-archive .entry-title{font-family:Poppins,Inter,sans-serif!important;font-size:20px!important;line-height:1.35!important}
body.soc-suite-resource-archive .blog-entry-title a,
body.soc-suite-resource-archive .entry-title a{color:var(--soc-i-heading)!important}
body.soc-suite-resource-archive .blog-entry-title a:hover,
body.soc-suite-resource-archive .entry-title a:hover{color:var(--soc-i-orange-dark)!important}
body.soc-suite-resource-archive .blog-entry-summary,
body.soc-suite-resource-archive .entry-summary{color:var(--soc-i-text)!important;line-height:1.65!important}
body.soc-suite-resource-archive .meta,
body.soc-suite-resource-archive .blog-entry-meta{color:#947F8C!important;font-size:11px!important}

/* Sidebar / widgets */
body.soc-suite-sidebar-style .widget-area,
body.soc-suite-sidebar-style #right-sidebar,
body.soc-suite-sidebar-style #left-sidebar{font-family:Inter,Arial,sans-serif}
body.soc-suite-sidebar-style .widget-area .widget,
body.soc-suite-sidebar-style .sidebar-box,
body.soc-suite-sidebar-style #right-sidebar .widget,
body.soc-suite-sidebar-style #left-sidebar .widget{
  margin-bottom:16px!important;padding:17px!important;border:1px solid var(--soc-i-border)!important;border-radius:15px!important;background:#fff!important;box-shadow:0 9px 25px rgba(55,16,47,.055)!important
}
body.soc-suite-sidebar-style .widget-title,
body.soc-suite-sidebar-style .sidebar-box .widget-title,
body.soc-suite-sidebar-style .widget-area h2,
body.soc-suite-sidebar-style .widget-area h3{
  position:relative!important;margin:0 0 13px!important;padding:0 0 10px 13px!important;border:0!important;color:var(--soc-i-plum-dark)!important;font-family:Poppins,Inter,sans-serif!important;font-size:14px!important;font-weight:800!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important
}
body.soc-suite-sidebar-style .widget-title:before,
body.soc-suite-sidebar-style .sidebar-box .widget-title:before,
body.soc-suite-sidebar-style .widget-area h2:before,
body.soc-suite-sidebar-style .widget-area h3:before{content:"";position:absolute;left:0;top:2px;width:4px;height:18px;border-radius:8px;background:var(--soc-i-orange)}
body.soc-suite-sidebar-style .widget-title:after,
body.soc-suite-sidebar-style .sidebar-box .widget-title:after,
body.soc-suite-sidebar-style .widget-area h2:after,
body.soc-suite-sidebar-style .widget-area h3:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#F0E6E0}
body.soc-suite-sidebar-style .widget-area ul,
body.soc-suite-sidebar-style .sidebar-box ul{margin:0!important;padding:0!important;list-style:none!important}
body.soc-suite-sidebar-style .widget-area li,
body.soc-suite-sidebar-style .sidebar-box li{margin:0!important;padding:0!important;border-bottom:1px solid #F3EAE5!important}
body.soc-suite-sidebar-style .widget-area li:last-child,
body.soc-suite-sidebar-style .sidebar-box li:last-child{border-bottom:0!important}
body.soc-suite-sidebar-style .widget-area li a,
body.soc-suite-sidebar-style .sidebar-box li a{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:9px 2px!important;color:#5C4656!important;font-size:11.5px!important;font-weight:650!important;line-height:1.35!important;text-decoration:none!important
}
body.soc-suite-sidebar-style .widget-area li a:hover,
body.soc-suite-sidebar-style .sidebar-box li a:hover{color:var(--soc-i-orange-dark)!important;padding-left:5px!important}
body.soc-suite-sidebar-style .widget-area .count,
body.soc-suite-sidebar-style .sidebar-box .count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:23px;padding:0 7px;border-radius:999px;background:#F7EDF5;color:var(--soc-i-plum);font-size:9.5px;font-weight:800}
body.soc-suite-sidebar-style .widget-area input[type="search"],
body.soc-suite-sidebar-style .widget-area input[type="text"],
body.soc-suite-sidebar-style .sidebar-box input[type="search"]{width:100%;min-height:42px;padding:0 11px;border:1px solid #E7DCD6;border-radius:9px;background:#FFF;color:var(--soc-i-heading)}
body.soc-suite-sidebar-style .widget-area button,
body.soc-suite-sidebar-style .sidebar-box button{min-height:40px;border:0;border-radius:9px;background:var(--soc-i-orange);color:#fff;font-size:10.5px;font-weight:800}

/* Public pagination */
body.soc-suite-inner-enabled .page-numbers,
body.soc-suite-inner-enabled .soc-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:26px}
body.soc-suite-inner-enabled a.page-numbers,
body.soc-suite-inner-enabled span.page-numbers,
body.soc-suite-inner-enabled .soc-pager a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:38px!important;height:38px!important;padding:0 10px!important;border:1px solid var(--soc-i-border)!important;border-radius:9px!important;background:#fff!important;color:var(--soc-i-plum)!important;font-size:11px!important;font-weight:800!important;text-decoration:none!important;box-shadow:0 5px 14px rgba(55,16,47,.04)!important
}
body.soc-suite-inner-enabled .page-numbers.current,
body.soc-suite-inner-enabled .soc-pager .soc-page-active{border-color:var(--soc-i-orange)!important;background:var(--soc-i-orange)!important;color:#fff!important}
body.soc-suite-inner-enabled a.page-numbers:hover,
body.soc-suite-inner-enabled .soc-pager a:hover{border-color:#F3B393!important;background:#FFF2EA!important;color:var(--soc-i-orange-dark)!important}

/* Empty / notices */
body.soc-suite-inner-enabled .soc-empty,
body.soc-suite-inner-enabled .no-results,
body.soc-suite-inner-enabled .elementor-alert{
  padding:20px!important;border:1px dashed #E2CEC2!important;border-radius:14px!important;background:#FFF9F5!important;color:#6B5964!important
}

/* Mobile sidebar toggle injected by JS */
.soc-public-sidebar-toggle{display:none;width:100%;min-height:44px;margin:0 0 14px;padding:0 14px;border:1px solid #E8DAD3;border-radius:10px;background:#fff;color:var(--soc-i-plum);font:800 11px/1 Inter,Arial,sans-serif;box-shadow:0 6px 18px rgba(55,16,47,.05)}

@media(min-width:960px){
  body.soc-suite-sidebar-style .widget-area,
  body.soc-suite-sidebar-style #right-sidebar,
  body.soc-suite-sidebar-style #left-sidebar{position:sticky;top:104px;align-self:start}
}
@media(max-width:1100px){
  body.soc-suite-browse-page .soc-public-filterbar,
  body.soc-suite-browse-page .soc-filter,
  body.soc-suite-browse-page .rb2-filter,
  body.soc-suite-browse-page .soc-rb2-filter,
  body.soc-suite-browse-page .resource-browser-filter{grid-template-columns:repeat(3,minmax(140px,1fr))!important}
  body.soc-suite-browse-page .soc-cards,
  body.soc-suite-resource-archive .soc-cards,
  body.soc-suite-resource-single .soc-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  body.soc-suite-resource-single .entry-content{width:calc(100% - 24px);padding-top:24px!important}
  body.soc-suite-content-style .entry-content h2,
  body.soc-suite-content-style .elementor-widget-text-editor h2{margin-top:26px!important;padding:11px 13px 11px 14px!important;font-size:20px!important}
  body.soc-suite-browse-page .soc-inner-hero{padding:30px 0}
  body.soc-suite-browse-page .soc-public-filterbar,
  body.soc-suite-browse-page .soc-filter,
  body.soc-suite-browse-page .rb2-filter,
  body.soc-suite-browse-page .soc-rb2-filter,
  body.soc-suite-browse-page .resource-browser-filter{grid-template-columns:1fr!important;padding:13px!important}
  body.soc-suite-browse-page .soc-cards,
  body.soc-suite-resource-archive .soc-cards,
  body.soc-suite-resource-single .soc-cards{grid-template-columns:1fr!important;gap:13px!important}
  body.soc-suite-browse-page .soc-card,
  body.soc-suite-resource-archive .soc-card,
  body.soc-suite-resource-single .soc-card{padding:15px!important;border-radius:14px!important}
  .soc-public-sidebar-toggle{display:flex;align-items:center;justify-content:space-between}
  body.soc-suite-sidebar-style .widget-area.soc-mobile-collapsible:not(.is-open),
  body.soc-suite-sidebar-style #right-sidebar.soc-mobile-collapsible:not(.is-open),
  body.soc-suite-sidebar-style #left-sidebar.soc-mobile-collapsible:not(.is-open){display:none!important}
  body.soc-suite-resource-archive #content-wrap{padding-top:24px!important}
}
@media(prefers-reduced-motion:reduce){
  body.soc-suite-inner-enabled *,body.soc-suite-inner-enabled *:before,body.soc-suite-inner-enabled *:after{scroll-behavior:auto!important;transition:none!important}
}
.soc-archive-kicker{margin-bottom:6px;color:var(--soc-i-orange);font:800 10px/1.2 Inter,Arial,sans-serif;letter-spacing:.11em}

/* =========================================================
   SOC Site Manager v3.7 — Global Public Inner UI Coverage
   ========================================================= */
body.soc-suite-public-inner{
  --soc-i-surface:#fff;
  --soc-i-surface-soft:#fffaf6;
  --soc-i-canvas:#f8f3f6;
  --soc-i-plum:#5B174F;
  --soc-i-plum-dark:#37102F;
  --soc-i-orange:var(--soc-inner-accent,#FF671F);
  --soc-i-orange-dark:#E44E12;
  --soc-i-heading:var(--soc-inner-heading,#28142E);
  --soc-i-text:var(--soc-inner-text,#625A65);
  --soc-i-border:#EDE3DB;
  --soc-i-shadow:0 12px 34px rgba(55,16,47,.07);
  --soc-i-shadow-lg:0 20px 54px rgba(55,16,47,.10);
  background:var(--soc-inner-bg,#FFF8F0)!important;
  color:var(--soc-i-text);
}
body.soc-suite-force-background #main,
body.soc-suite-force-background #content,
body.soc-suite-force-background #content-wrap,
body.soc-suite-force-background #primary,
body.soc-suite-force-background .content-area,
body.soc-suite-force-background .site-main,
body.soc-suite-force-background .site-content{
  background:transparent!important;
}
body.soc-suite-force-background #main{
  min-height:55vh;
  background:
    radial-gradient(circle at 92% 5%,rgba(255,103,31,.065),transparent 22rem),
    radial-gradient(circle at 4% 30%,rgba(91,23,79,.045),transparent 24rem),
    linear-gradient(180deg,#FFFBF7 0%,var(--soc-inner-bg,#FFF8F0) 34%,#F8F3F6 100%)!important;
}
body.soc-suite-public-inner #content-wrap{
  width:min(1280px,calc(100% - 40px))!important;
  max-width:1280px!important;
  margin-inline:auto!important;
}
body.soc-suite-standard-page:not(.soc-suite-browse-page) #content-wrap,
body.soc-suite-standard-post #content-wrap,
body.soc-suite-resource-single #content-wrap,
body.soc-suite-search-page #content-wrap,
body.soc-suite-blog-index #content-wrap,
body.soc-suite-404 #content-wrap{
  padding-top:36px!important;
  padding-bottom:64px!important;
}

/* Consistent article/page surfaces. Keeps Elementor data untouched. */
body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) #primary>article,
body.soc-suite-content-surface.soc-suite-standard-post #primary>article,
body.soc-suite-content-surface.soc-suite-resource-single #primary>article,
body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) .content-area>article,
body.soc-suite-content-surface.soc-suite-standard-post .content-area>article,
body.soc-suite-content-surface.soc-suite-resource-single .content-area>article,
body.soc-suite-content-surface.soc-suite-search-page #primary>.search-entry,
body.soc-suite-content-surface.soc-suite-404 #primary>.error404-content{
  position:relative;
  overflow:hidden;
  padding:clamp(20px,3vw,34px)!important;
  border:1px solid var(--soc-i-border)!important;
  border-radius:clamp(16px,2vw,24px)!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:var(--soc-i-shadow-lg)!important;
}
body.soc-suite-content-surface.soc-suite-resource-single #primary>article:before,
body.soc-suite-content-surface.soc-suite-standard-post #primary>article:before,
body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) #primary>article:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,var(--soc-i-plum),var(--soc-i-orange));
}
body.soc-suite-resource-single .entry-content,
body.soc-suite-standard-post .entry-content,
body.soc-suite-standard-page:not(.soc-suite-browse-page) .entry-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* Title/meta area */
body.soc-suite-public-inner #main .entry-header,
body.soc-suite-public-inner #main .page-header-content{
  margin-bottom:22px;
}
body.soc-suite-public-inner #main .entry-title,
body.soc-suite-public-inner #main .page-title,
body.soc-suite-public-inner #main .elementor-widget-theme-post-title .elementor-heading-title{
  color:var(--soc-i-heading)!important;
  font-family:Poppins,Inter,Arial,sans-serif!important;
  font-size:clamp(28px,4.1vw,46px)!important;
  font-weight:800!important;
  line-height:1.16!important;
  letter-spacing:-.025em!important;
  text-wrap:balance;
}
body.soc-suite-public-inner #main .meta,
body.soc-suite-public-inner #main .entry-meta,
body.soc-suite-public-inner #main .post-meta,
body.soc-suite-public-inner #main .blog-entry-meta{
  color:#8B7683!important;
  font-size:11.5px!important;
}

/* Elementor coverage: explicit Elementor colours still win unless the site left defaults. */
body.soc-suite-elementor-style #main .elementor-widget-heading .elementor-heading-title{
  color:var(--soc-i-heading);
  font-family:Poppins,Inter,Arial,sans-serif;
  line-height:1.25;
}
body.soc-suite-elementor-style #main .elementor-widget-text-editor,
body.soc-suite-elementor-style #main .elementor-widget-theme-post-content{
  color:var(--soc-i-text);
  font-family:Inter,Arial,sans-serif;
  line-height:1.78;
}
body.soc-suite-elementor-style #main .elementor-button,
body.soc-suite-public-inner #main .wp-block-button__link,
body.soc-suite-public-inner #main .theme-button,
body.soc-suite-public-inner #main a.readmore{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border:0;
  border-radius:11px;
  background:linear-gradient(135deg,var(--soc-i-orange),#F58443);
  color:#fff;
  font-family:Inter,Arial,sans-serif;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 9px 22px rgba(255,103,31,.18);
  transition:.18s ease;
}
body.soc-suite-elementor-style #main .elementor-button:hover,
body.soc-suite-public-inner #main .wp-block-button__link:hover,
body.soc-suite-public-inner #main .theme-button:hover,
body.soc-suite-public-inner #main a.readmore:hover{
  background:var(--soc-i-orange-dark);
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 13px 28px rgba(228,78,18,.22);
}

/* Generic public forms inside content (Browse has more specific styling below). */
body.soc-suite-public-inner #main input[type="text"],
body.soc-suite-public-inner #main input[type="search"],
body.soc-suite-public-inner #main input[type="email"],
body.soc-suite-public-inner #main input[type="url"],
body.soc-suite-public-inner #main input[type="number"],
body.soc-suite-public-inner #main select,
body.soc-suite-public-inner #main textarea{
  border:1px solid #E3D7D1;
  border-radius:10px;
  background:#fff;
  color:var(--soc-i-heading);
  box-shadow:0 3px 12px rgba(55,16,47,.025);
}
body.soc-suite-public-inner #main input:focus,
body.soc-suite-public-inner #main select:focus,
body.soc-suite-public-inner #main textarea:focus{
  border-color:#F2A17A;
  outline:3px solid rgba(255,103,31,.09);
  box-shadow:none;
}

/* Browse: auto-fit removes broken blank columns when conditional filters hide/show. */
body.soc-suite-browse-page .soc-public-filterbar,
body.soc-suite-browse-page .soc-filter,
body.soc-suite-browse-page .rb2-filter,
body.soc-suite-browse-page .soc-rb2-filter,
body.soc-suite-browse-page .resource-browser-filter{
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;
  align-items:end!important;
  gap:12px!important;
  padding:18px!important;
  border:1px solid #E9DDD7!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:var(--soc-i-shadow-lg)!important;
}
body.soc-suite-browse-page .soc-inner-browser-shell{
  width:min(1240px,calc(100% - 40px));
  margin-inline:auto;
  padding:28px 0 58px!important;
}
body.soc-suite-browse-page .soc-inner-browser-shell .soc-cards{
  margin-top:4px!important;
}

/* Resource/archive cards and native OceanWP loops */
body.soc-suite-resource-archive #blog-entries,
body.soc-suite-resource-archive .blog-entries{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px!important;
}
body.soc-suite-resource-archive #blog-entries .blog-entry,
body.soc-suite-resource-archive .blog-entries .blog-entry{
  margin:0!important;
  height:100%;
}
body.soc-suite-resource-archive .blog-entry,
body.soc-suite-resource-archive #primary>article,
body.soc-suite-search-page .search-entry,
body.soc-suite-blog-index .blog-entry{
  position:relative!important;
  overflow:hidden!important;
  padding:20px!important;
  border:1px solid var(--soc-i-border)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:var(--soc-i-shadow)!important;
  transition:.18s ease!important;
}
body.soc-suite-resource-archive .blog-entry:hover,
body.soc-suite-search-page .search-entry:hover,
body.soc-suite-blog-index .blog-entry:hover{
  transform:translateY(-3px);
  border-color:#E5CDC1!important;
  box-shadow:var(--soc-i-shadow-lg)!important;
}
body.soc-suite-resource-archive .blog-entry:before,
body.soc-suite-search-page .search-entry:before,
body.soc-suite-blog-index .blog-entry:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:linear-gradient(180deg,var(--soc-i-orange),#FFB07A);
}

/* Sidebar: OceanWP, classic widgets and Elementor sidebar widgets. */
body.soc-suite-sidebar-style .elementor-widget-sidebar .widget,
body.soc-suite-sidebar-style [class*="elementor-widget-wp-widget-"] .widget,
body.soc-suite-sidebar-style .widget-area .widget,
body.soc-suite-sidebar-style .sidebar-box,
body.soc-suite-sidebar-style #right-sidebar .widget,
body.soc-suite-sidebar-style #left-sidebar .widget{
  margin-bottom:16px!important;
  padding:18px!important;
  border:1px solid var(--soc-i-border)!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 10px 28px rgba(55,16,47,.06)!important;
}
body.soc-suite-sidebar-style .elementor-widget-sidebar .widget-title,
body.soc-suite-sidebar-style [class*="elementor-widget-wp-widget-"] .widget-title,
body.soc-suite-sidebar-style .widget-area .widget-title,
body.soc-suite-sidebar-style .sidebar-box .widget-title{
  color:var(--soc-i-plum-dark)!important;
  font-family:Poppins,Inter,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
}
body.soc-suite-sidebar-style .elementor-widget-sidebar a,
body.soc-suite-sidebar-style [class*="elementor-widget-wp-widget-"] a{
  color:#604B5A;
  text-decoration:none;
}
body.soc-suite-sidebar-style .elementor-widget-sidebar a:hover,
body.soc-suite-sidebar-style [class*="elementor-widget-wp-widget-"] a:hover{
  color:var(--soc-i-orange-dark);
}

/* Content readability and reusable learning components. */
body.soc-suite-content-style #main .soc-learning-content,
body.soc-suite-content-style #main .entry-content,
body.soc-suite-content-style #main .elementor-widget-theme-post-content,
body.soc-suite-content-style #main .elementor-widget-text-editor{
  font-size:15.5px;
  line-height:1.82;
}
body.soc-suite-content-style #main h2{
  text-wrap:balance;
}
body.soc-suite-content-style #main .entry-content h2,
body.soc-suite-content-style #main .elementor-widget-theme-post-content h2,
body.soc-suite-content-style #main .elementor-widget-text-editor h2,
body.soc-suite-content-style #main .soc-learning-content h2{
  margin:34px 0 18px!important;
  padding:14px 17px 14px 19px!important;
  border:1px solid #EEDFD6!important;
  border-left:4px solid var(--soc-i-orange)!important;
  border-radius:13px!important;
  background:linear-gradient(90deg,#FFF7F0 0%,#FFF 76%)!important;
  color:var(--soc-i-heading)!important;
  box-shadow:0 6px 18px rgba(55,16,47,.035);
}
body.soc-suite-content-style #main .entry-content h3,
body.soc-suite-content-style #main .elementor-widget-theme-post-content h3,
body.soc-suite-content-style #main .elementor-widget-text-editor h3,
body.soc-suite-content-style #main .soc-learning-content h3{
  color:var(--soc-i-plum-dark)!important;
}
body.soc-suite-content-style #main .entry-content a:not(.elementor-button):not(.soc-more):not(.mcq-btn),
body.soc-suite-content-style #main .elementor-widget-theme-post-content a:not(.elementor-button):not(.soc-more):not(.mcq-btn){
  color:var(--soc-i-plum);
  text-decoration-color:rgba(255,103,31,.45);
  text-underline-offset:3px;
}
body.soc-suite-content-style #main .entry-content a:hover,
body.soc-suite-content-style #main .elementor-widget-theme-post-content a:hover{color:var(--soc-i-orange-dark)}

/* Accordions / TOC / tabs commonly used on Elementor inner pages. */
body.soc-suite-elementor-style #main .elementor-accordion .elementor-accordion-item,
body.soc-suite-elementor-style #main .elementor-toggle .elementor-toggle-item,
body.soc-suite-elementor-style #main .elementor-widget-table-of-contents .elementor-widget-container,
body.soc-suite-public-inner #main .soc-toc{
  overflow:hidden;
  margin-bottom:12px;
  border:1px solid var(--soc-i-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(55,16,47,.04);
}
body.soc-suite-elementor-style #main .elementor-tab-title,
body.soc-suite-elementor-style #main .elementor-accordion-title{
  color:var(--soc-i-plum-dark)!important;
  font-weight:750!important;
}

/* Taxonomy chips / badges, including legacy resource chip markup. */
body.soc-suite-public-inner #main .resource-card-chips,
body.soc-suite-public-inner #main .soc-resource-tax-chips,
body.soc-suite-public-inner #main .soc-badges{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
body.soc-suite-public-inner #main .resource-card-chips a,
body.soc-suite-public-inner #main .resource-card-chips span,
body.soc-suite-public-inner #main .soc-resource-tax-chips a,
body.soc-suite-public-inner #main .soc-resource-tax-chips span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:5px 9px!important;
  border:1px solid #E8D9E4!important;
  border-radius:999px!important;
  background:#F8EFF7!important;
  color:var(--soc-i-plum)!important;
  font-size:10.5px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
}

/* Prevent the design layer from altering the dedicated MCQ option/quiz controls. */
body.soc-suite-public-inner #main .mcq-root button,
body.soc-suite-public-inner #main .mcq-root input,
body.soc-suite-public-inner #main .mcq-root label{
  font-family:inherit;
}

@media(max-width:1024px){
  body.soc-suite-resource-archive #blog-entries,
  body.soc-suite-resource-archive .blog-entries{grid-template-columns:1fr!important}
  body.soc-suite-public-inner #content-wrap{width:min(100% - 28px,1280px)!important}
}
@media(max-width:767px){
  body.soc-suite-standard-page:not(.soc-suite-browse-page) #content-wrap,
  body.soc-suite-standard-post #content-wrap,
  body.soc-suite-resource-single #content-wrap,
  body.soc-suite-search-page #content-wrap,
  body.soc-suite-blog-index #content-wrap,
  body.soc-suite-404 #content-wrap{padding-top:22px!important;padding-bottom:42px!important}
  body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) #primary>article,
  body.soc-suite-content-surface.soc-suite-standard-post #primary>article,
  body.soc-suite-content-surface.soc-suite-resource-single #primary>article{padding:18px!important;border-radius:16px!important}
  body.soc-suite-public-inner #main .entry-title,
  body.soc-suite-public-inner #main .page-title,
  body.soc-suite-public-inner #main .elementor-widget-theme-post-title .elementor-heading-title{font-size:clamp(25px,8vw,34px)!important}
  body.soc-suite-browse-page .soc-inner-browser-shell{width:calc(100% - 24px)!important;padding-bottom:42px!important}
  body.soc-suite-browse-page .soc-public-filterbar,
  body.soc-suite-browse-page .soc-filter,
  body.soc-suite-browse-page .rb2-filter,
  body.soc-suite-browse-page .soc-rb2-filter,
  body.soc-suite-browse-page .resource-browser-filter{grid-template-columns:1fr!important}
}

/* SOC v3.8 — professional uniform public UI and stronger readability */
body.soc-suite-public-inner{
  --soc-page-bg:#F5F6FA;--soc-surface:#FFFFFF;--soc-surface-soft:#FBF9FC;--soc-line:#E7E3EA;
  --soc-title:#25152C;--soc-copy:#514A55;--soc-muted:#7A727D;--soc-plum:#5B174F;--soc-orange:#FF671F;
  background:var(--soc-page-bg)!important;color:var(--soc-copy)!important;
}
body.soc-suite-public-inner #main,
body.soc-suite-public-inner #content,
body.soc-suite-public-inner #content-wrap,
body.soc-suite-public-inner #primary,
body.soc-suite-public-inner .content-area,
body.soc-suite-public-inner .site-main,
body.soc-suite-public-inner .elementor-location-single,
body.soc-suite-public-inner .elementor-location-archive{background:transparent!important}
body.soc-suite-public-inner #content-wrap{max-width:1260px!important;padding-top:34px!important;padding-bottom:64px!important}

/* Clear, high-contrast titles and descriptions across OceanWP + Elementor. */
body.soc-suite-public-inner :is(.entry-title,.page-title,.blog-entry-title,.elementor-widget-theme-post-title .elementor-heading-title,.soc-title){
  color:var(--soc-title)!important;font-family:Poppins,Inter,Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.018em!important;text-wrap:balance
}
body.soc-suite-public-inner :is(.entry-summary,.blog-entry-summary,.soc-desc,.archive-description,.taxonomy-description,.elementor-widget-text-editor,.elementor-widget-theme-post-content){color:var(--soc-copy)!important}
body.soc-suite-public-inner :is(.archive-description,.taxonomy-description){max-width:800px;font-size:14px;line-height:1.72}
body.soc-suite-public-inner :is(.entry-meta,.blog-entry-meta,.meta,.updated,.posted-on){color:var(--soc-muted)!important;font-size:11.5px!important}

/* One consistent reading surface; no low-contrast text sitting directly on tinted canvas. */
body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) #primary>article,
body.soc-suite-content-surface.soc-suite-standard-post #primary>article,
body.soc-suite-content-surface.soc-suite-resource-single #primary>article,
body.soc-suite-content-surface.soc-suite-resource-single .elementor-location-single>.elementor-element:first-child{
  background:var(--soc-surface)!important;border:1px solid var(--soc-line)!important;border-radius:20px!important;
  box-shadow:0 14px 38px rgba(37,21,44,.07)!important
}
body.soc-suite-content-surface.soc-suite-resource-single #primary>article{overflow:visible!important}
body.soc-suite-resource-single .entry-content,
body.soc-suite-resource-single .elementor-widget-theme-post-content .elementor-widget-container,
body.soc-suite-standard-page .entry-content,
body.soc-suite-standard-post .entry-content{color:var(--soc-copy)!important;font-size:15.5px!important;line-height:1.82!important}

/* Breadcrumbs: one understated navigation row, not another hero. */
body.soc-suite-public-inner :is(.site-breadcrumbs,.soc-inner-breadcrumbs,.rank-math-breadcrumb,.yoast-breadcrumb,.breadcrumbs){
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;margin:0 0 15px!important;color:#7B707A!important;font-size:11.5px!important;line-height:1.5!important
}
body.soc-suite-public-inner :is(.site-breadcrumbs,.soc-inner-breadcrumbs,.rank-math-breadcrumb,.yoast-breadcrumb,.breadcrumbs) a{color:var(--soc-plum)!important;text-decoration:none!important;font-weight:700!important}
body.soc-suite-public-inner :is(.site-breadcrumbs,.soc-inner-breadcrumbs,.rank-math-breadcrumb,.yoast-breadcrumb,.breadcrumbs) a:hover{color:var(--soc-orange)!important}

/* Resource/browse cards: consistent hierarchy and clickable affordance. */
body.soc-suite-public-inner :is(.soc-card,.soc-public-resource-card,.blog-entry,.search-entry,.soc-public-loop-card){
  border:1px solid var(--soc-line)!important;border-radius:17px!important;background:var(--soc-surface)!important;box-shadow:0 8px 26px rgba(37,21,44,.055)!important
}
body.soc-suite-public-inner :is(.soc-card,.soc-public-resource-card,.blog-entry,.search-entry,.soc-public-loop-card):hover{
  transform:translateY(-2px)!important;border-color:#DCCDD8!important;box-shadow:0 15px 34px rgba(37,21,44,.09)!important
}
body.soc-suite-public-inner .soc-title{font-size:16.5px!important;line-height:1.42!important;margin-bottom:8px!important}
body.soc-suite-public-inner .soc-desc{font-size:12.5px!important;line-height:1.62!important;color:#69616B!important;-webkit-line-clamp:3!important}
body.soc-suite-public-inner .soc-more{min-height:40px!important;padding:0 15px!important;border:1px solid #EFD8CC!important;border-radius:10px!important;background:#FFF7F2!important;color:#C94F17!important;font-size:11px!important;font-weight:850!important}
body.soc-suite-public-inner .soc-more:hover{border-color:var(--soc-orange)!important;background:var(--soc-orange)!important;color:#fff!important}

/* Reduce noisy archive metadata while preserving useful date/context. */
body.soc-suite-resource-archive :is(.comments-link,.meta-author,.author,.category){display:none!important}
body.soc-suite-resource-archive .blog-entry-meta li:empty{display:none!important}

/* Sidebar becomes a real navigation rail. */
body.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar){font-size:13px;color:var(--soc-copy)}
body.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) .widget{
  padding:18px!important;border:1px solid var(--soc-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(37,21,44,.05)!important
}
body.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) .widget-title{
  margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:1px solid #EEE9EF!important;color:var(--soc-title)!important;font-size:14px!important;font-weight:850!important
}
body.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) li{margin:0!important;padding:0!important;border:0!important}
body.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) li a{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;padding:8px 7px!important;border-radius:8px!important;color:#5B525C!important;text-decoration:none!important
}
body.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) li a:hover{background:#FAF4F8!important;color:var(--soc-plum)!important}

/* Content headings: clear without oversized tinted blocks. */
body.soc-suite-content-style #main :is(.entry-content,.soc-learning-content,.elementor-widget-theme-post-content,.elementor-widget-text-editor) h2{
  margin:34px 0 16px!important;padding:0 0 11px!important;border:0!important;border-bottom:2px solid #F0E5EC!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--soc-title)!important;font-size:clamp(21px,2.5vw,27px)!important
}
body.soc-suite-content-style #main :is(.entry-content,.soc-learning-content,.elementor-widget-theme-post-content,.elementor-widget-text-editor) h2:after{content:"";display:block;width:54px;height:3px;margin-top:9px;border-radius:99px;background:linear-gradient(90deg,var(--soc-orange),#FFB27E)}
body.soc-suite-content-style #main :is(.entry-content,.soc-learning-content,.elementor-widget-theme-post-content,.elementor-widget-text-editor) h3{
  margin:27px 0 11px!important;color:var(--soc-plum)!important;font-size:clamp(17px,2vw,21px)!important
}
body.soc-suite-content-style #main :is(.entry-content,.soc-learning-content,.elementor-widget-theme-post-content,.elementor-widget-text-editor) h3:before{display:none!important}
body.soc-suite-content-style #main p{color:var(--soc-copy)!important}
body.soc-suite-content-style #main strong{color:#34223A!important}

/* Callouts / examples / notes / tables. */
body.soc-suite-content-style #main blockquote{border:1px solid #E5D9E3!important;border-left:4px solid var(--soc-plum)!important;background:#FBF8FB!important;color:#4F4650!important;box-shadow:none!important}
body.soc-suite-content-style #main .soc-resource-reading-block{padding:20px!important;border:1px solid var(--soc-line)!important;border-radius:15px!important;background:#fff!important}
body.soc-suite-content-style #main table{font-size:13px!important}.soc-table-scroll{border-color:var(--soc-line)!important;box-shadow:none!important}
body.soc-suite-content-style #main table th{background:#F7F3F7!important;color:#3B2237!important}

/* Browse toolbar and pagination should feel like controls, not full-width form fields. */
body.soc-suite-browse-page .soc-inner-browser-shell{width:min(1240px,calc(100% - 36px))!important}
body.soc-suite-browse-page :is(.soc-public-filterbar,.soc-filter,.rb2-filter,.soc-rb2-filter,.resource-browser-filter){
  padding:16px!important;border-color:var(--soc-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 30px rgba(37,21,44,.055)!important
}
body.soc-suite-browse-page :is(.soc-public-filterbar,.soc-filter,.rb2-filter,.soc-rb2-filter,.resource-browser-filter) :is(select,input[type="search"],input[type="text"]){min-height:43px!important;border:1px solid #DED9E0!important;border-radius:10px!important;background:#fff!important;color:#3F3741!important;font-size:12.5px!important}
body.soc-suite-browse-page :is(.soc-public-filterbar,.soc-filter,.rb2-filter,.soc-rb2-filter,.resource-browser-filter) :is(button,input[type="submit"]){min-height:43px!important;border-radius:10px!important;background:var(--soc-plum)!important;color:#fff!important;font-weight:850!important}
body.soc-suite-public-inner :is(.page-numbers,.soc-page,.rb2-page){min-width:39px!important;min-height:39px!important;border:1px solid var(--soc-line)!important;border-radius:10px!important;background:#fff!important;color:var(--soc-plum)!important;font-weight:800!important;text-decoration:none!important}
body.soc-suite-public-inner :is(.page-numbers.current,.soc-page-active,.rb2-page.active){border-color:var(--soc-plum)!important;background:var(--soc-plum)!important;color:#fff!important}

/* Remove visual noise that is objectively empty/duplicative. */
body.soc-suite-public-inner .soc-ui-empty-heading{display:none!important}
body.soc-suite-public-inner .soc-ui-hidden-no-comments{display:none!important}

@media(max-width:767px){
  body.soc-suite-public-inner #content-wrap{width:calc(100% - 22px)!important;padding-top:20px!important;padding-bottom:44px!important}
  body.soc-suite-content-surface.soc-suite-resource-single #primary>article,
  body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) #primary>article,
  body.soc-suite-content-surface.soc-suite-standard-post #primary>article{border-radius:14px!important;padding:16px!important}
  body.soc-suite-content-style #main :is(.entry-content,.soc-learning-content,.elementor-widget-theme-post-content,.elementor-widget-text-editor){font-size:15px!important;line-height:1.75!important}
}

/* === SOC v3.9.3 RECOVERY — narrowly scoped, no generic DOM rearrangement === */
/* NCERT Q&A only: readable accordion/details without touching MCQ pages. */
body.soc-resource-type-ncert-solutions :is(
  .elementor-accordion .elementor-accordion-item,
  .elementor-toggle .elementor-toggle-item,
  details,
  .soc-qna-card,
  .soc-qna-accordion-item,
  .qa-item,
  .qna-item
){
  margin:0 0 12px!important;
  border:1px solid #E6E1E8!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(37,21,44,.035)!important;
  overflow:hidden!important;
}
body.soc-resource-type-ncert-solutions :is(
  .elementor-accordion .elementor-tab-title,
  .elementor-toggle .elementor-tab-title,
  details>summary,
  .soc-qna-question,
  .soc-qna-accordion-item [role="button"]
){
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  margin:0!important;
  padding:15px 48px 15px 17px!important;
  border:0!important;
  background:#fff!important;
  color:#28142E!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:700!important;
  line-height:1.58!important;
  text-align:left!important;
  text-decoration:none!important;
}
body.soc-resource-type-ncert-solutions :is(
  .elementor-accordion .elementor-tab-title *,
  .elementor-toggle .elementor-tab-title *,
  details>summary *,
  .soc-qna-question *
){
  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
  margin:0!important;
}
body.soc-resource-type-ncert-solutions :is(
  .elementor-accordion .elementor-tab-content,
  .elementor-toggle .elementor-tab-content,
  details>:not(summary),
  .soc-qna-answer,
  .soc-qna-panel
){
  margin:0!important;
  padding:17px 18px 19px!important;
  border:0!important;
  border-top:1px solid #EEE9EF!important;
  border-left:4px solid #FF671F!important;
  background:#FFF9F6!important;
  color:#4E4852!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:450!important;
  line-height:1.76!important;
}
body.soc-resource-type-ncert-solutions :is(
  .elementor-accordion .elementor-tab-content,
  .elementor-toggle .elementor-tab-content,
  details>:not(summary),
  .soc-qna-answer,
  .soc-qna-panel
) :is(p,div,span,li){
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
body.soc-resource-type-ncert-solutions :is(.elementor-accordion-icon,.elementor-toggle-icon){
  position:absolute!important;right:15px!important;top:50%!important;transform:translateY(-50%)!important;
  float:none!important;margin:0!important;color:#5B174F!important;font-size:14px!important;
}
body.soc-resource-type-ncert-solutions :is(.soc-qna-controls,.qa-controls,.qna-controls){display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0 0 12px!important}
body.soc-resource-type-ncert-solutions :is(.soc-qna-controls,.qa-controls,.qna-controls) button{
  min-height:36px!important;padding:0 12px!important;border:1px solid #E3D8E1!important;border-radius:9px!important;background:#fff!important;color:#5B174F!important;font:800 11px/1 Inter,Arial,sans-serif!important
}

/* Related resource cards: one visual language without deleting any section. */
body.soc-suite-resource-single :is(.soc-cards,.related-posts,.soc-related-resources,.soc-related-wrap){gap:14px!important}
body.soc-suite-resource-single :is(.soc-card,.related-post,.resource-card,.elementor-post){
  border:1px solid #E8E2E9!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 5px 16px rgba(37,21,44,.035)!important;outline:0!important;overflow:hidden!important
}
body.soc-suite-resource-single :is(.soc-card,.related-post,.resource-card,.elementor-post):hover{
  transform:translateY(-2px)!important;border-color:#D8CBD6!important;box-shadow:0 11px 24px rgba(37,21,44,.075)!important
}
body.soc-suite-resource-single :is(.soc-card,.related-post,.resource-card,.elementor-post) :is(h2,h3,h4,.soc-title,.elementor-post__title),
body.soc-suite-resource-single :is(.soc-card,.related-post,.resource-card,.elementor-post) :is(h2,h3,h4,.soc-title,.elementor-post__title) a{
  color:#28142E!important;font-family:Poppins,Inter,Arial,sans-serif!important;font-size:14.5px!important;font-weight:800!important;line-height:1.43!important;text-decoration:none!important
}
body.soc-suite-resource-single :is(.soc-card,.related-post,.resource-card,.elementor-post) :is(p,.soc-desc,.excerpt,.elementor-post__excerpt){
  color:#6B646D!important;font-family:Inter,Arial,sans-serif!important;font-size:11.8px!important;line-height:1.55!important
}
body.soc-suite-resource-single :is(.soc-card,.related-post,.resource-card,.elementor-post) :is(.soc-more,.elementor-post__read-more){
  display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 11px!important;border:1px solid #FFD8C5!important;border-radius:8px!important;background:#FFF5EF!important;color:#D65318!important;font:850 10.5px/1 Inter,Arial,sans-serif!important;text-decoration:none!important
}

/* Sidebar Latest/Recent cards: remove old purple-outline presentation. */
body.soc-suite-sidebar-style :is(.widget_recent_entries,.widget_recent_posts,.soc-latest-widget,.elementor-widget-posts) li,
body.soc-suite-sidebar-style :is(.widget_recent_entries,.widget_recent_posts,.soc-latest-widget) .soc-latest-widget-item{
  margin:0 0 10px!important;padding:12px!important;border:1px solid #E8E2E9!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 14px rgba(37,21,44,.03)!important;outline:0!important
}
body.soc-suite-sidebar-style :is(.widget_recent_entries,.widget_recent_posts,.soc-latest-widget) li a{
  padding:0!important;background:transparent!important;color:#28142E!important;font:800 12.5px/1.48 Poppins,Inter,Arial,sans-serif!important;text-decoration:none!important
}
body.soc-suite-sidebar-style :is(.widget_recent_entries,.widget_recent_posts,.soc-latest-widget) li a:hover{background:transparent!important;color:#5B174F!important}

@media(max-width:767px){
  body.soc-resource-type-ncert-solutions :is(.elementor-accordion .elementor-tab-title,.elementor-toggle .elementor-tab-title,details>summary,.soc-qna-question){font-size:15.5px!important;min-height:56px!important;padding:14px 44px 14px 14px!important}
  body.soc-resource-type-ncert-solutions :is(.elementor-accordion .elementor-tab-content,.elementor-toggle .elementor-tab-content,details>:not(summary),.soc-qna-answer,.soc-qna-panel){font-size:15.5px!important;padding:15px!important}
}

/* =========================================================
   SOC v3.9.4 — Stable inner-page readability & Q&A study UX
   No DOM moving. No MCQ selectors. Scoped to public inner UI.
   ========================================================= */

/* Remove decorative canvas artwork/gradients from all inner pages. */
body.soc-suite-inner-enabled:not(.home){
  background:#F6F7FB!important;
  background-image:none!important;
}
body.soc-suite-force-background #main,
body.soc-suite-force-background #content,
body.soc-suite-force-background #content-wrap,
body.soc-suite-force-background #primary,
body.soc-suite-force-background .content-area,
body.soc-suite-force-background .site-main,
body.soc-suite-force-background .site-content{
  background-color:#F6F7FB!important;
  background-image:none!important;
}
body.soc-suite-resource-single .elementor-location-single>.elementor-element:first-child,
body.soc-suite-resource-archive .elementor-location-archive>.elementor-element:first-child{
  background-image:none!important;
}
body.soc-suite-resource-single #primary,
body.soc-suite-resource-single .content-area{
  background:transparent!important;
}

/* Q&A study toolbar inserted above the first detected accordion question. */
body.soc-resource-type-ncert-solutions .soc-qa-studybar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:12px 0 14px;padding:14px 16px;border:1px solid #E7E0E7;border-radius:14px;
  background:#fff;box-shadow:0 7px 20px rgba(37,21,44,.04)
}
body.soc-resource-type-ncert-solutions .soc-qa-studybar strong{
  display:block;margin:0;color:#28142E;font:800 15px/1.35 Poppins,Inter,Arial,sans-serif
}
body.soc-resource-type-ncert-solutions .soc-qa-studybar span{
  display:block;margin-top:3px;color:#746D77;font:500 12.5px/1.5 Inter,Arial,sans-serif
}
body.soc-resource-type-ncert-solutions .soc-qa-studybar-count{
  flex:0 0 auto!important;margin:0!important;padding:7px 10px!important;border-radius:999px!important;
  background:#F7EDF5!important;color:#5B174F!important;font:800 11px/1 Inter,Arial,sans-serif!important
}

/* Explicitly marked Q&A accordion items. */
body.soc-resource-type-ncert-solutions .soc-qa-item{
  margin:0 0 12px!important;border:1px solid #E4DEE5!important;border-radius:14px!important;
  background:#fff!important;box-shadow:0 5px 15px rgba(37,21,44,.035)!important;overflow:hidden!important
}
body.soc-resource-type-ncert-solutions .soc-qa-trigger{
  position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;column-gap:12px!important;min-height:66px!important;margin:0!important;
  padding:13px 16px!important;border:0!important;background:#fff!important;color:#28142E!important;
  font-family:Inter,Arial,sans-serif!important;font-size:16px!important;font-weight:700!important;
  line-height:1.52!important;text-align:left!important;cursor:pointer!important
}
body.soc-resource-type-ncert-solutions .soc-qa-number{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:42px!important;height:30px!important;padding:0 9px!important;border-radius:999px!important;
  background:#F7EDF5!important;color:#5B174F!important;font:850 11px/1 Inter,Arial,sans-serif!important;
  letter-spacing:.02em!important;white-space:nowrap!important
}
body.soc-resource-type-ncert-solutions .soc-qa-question-text{
  min-width:0!important;color:#28142E!important;font:700 16px/1.55 Inter,Arial,sans-serif!important
}
body.soc-resource-type-ncert-solutions .soc-qa-chevron{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:30px!important;height:30px!important;border:1px solid #E6DCE4!important;border-radius:50%!important;
  background:#FBF8FB!important;color:#5B174F!important;font:900 17px/1 Inter,Arial,sans-serif!important;
  transition:transform .18s ease,background .18s ease!important
}
body.soc-resource-type-ncert-solutions .soc-qa-trigger.elementor-active .soc-qa-chevron,
body.soc-resource-type-ncert-solutions .soc-qa-trigger[aria-expanded="true"] .soc-qa-chevron,
body.soc-resource-type-ncert-solutions details[open]>.soc-qa-trigger .soc-qa-chevron{
  transform:rotate(180deg)!important;background:#5B174F!important;color:#fff!important
}
body.soc-resource-type-ncert-solutions .soc-qa-trigger:hover{
  background:#FCFAFC!important
}
body.soc-resource-type-ncert-solutions .soc-qa-answer-panel{
  margin:0!important;padding:18px 19px 20px 20px!important;border:0!important;border-top:1px solid #EEE8EE!important;
  border-left:4px solid #FF671F!important;background:#FFF9F5!important;color:#4E4852!important;
  font-family:Inter,Arial,sans-serif!important;font-size:16px!important;font-weight:450!important;line-height:1.78!important
}
body.soc-resource-type-ncert-solutions .soc-qa-answer-panel :is(p,div,span,li){
  color:inherit!important;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important
}
body.soc-resource-type-ncert-solutions .soc-qa-answer-panel strong{
  color:#4A2643!important;font-weight:800!important
}

/* Related / More Study / sidebar recommendations share the same calm card language. */
body.soc-suite-resource-single :is(.elementor-post,.e-loop-item,.elementor-grid-item,.related-post,.resource-card),
body.soc-suite-sidebar-style :is(.elementor-post,.e-loop-item,.elementor-grid-item,.soc-latest-widget-item){
  border:1px solid #E5E0E6!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 6px 18px rgba(37,21,44,.045)!important;outline:0!important;overflow:hidden!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important
}
body.soc-suite-resource-single :is(.elementor-post,.e-loop-item,.elementor-grid-item,.related-post,.resource-card):hover,
body.soc-suite-sidebar-style :is(.elementor-post,.e-loop-item,.elementor-grid-item,.soc-latest-widget-item):hover{
  transform:translateY(-2px)!important;border-color:#D8CBD6!important;box-shadow:0 12px 27px rgba(37,21,44,.075)!important
}
body.soc-suite-resource-single :is(.elementor-post__title,.e-loop-item h2,.e-loop-item h3,.resource-card h3,.related-post h3),
body.soc-suite-sidebar-style :is(.elementor-post__title,.e-loop-item h2,.e-loop-item h3){
  color:#28142E!important;font-family:Poppins,Inter,Arial,sans-serif!important;font-size:14px!important;
  font-weight:800!important;line-height:1.45!important
}
body.soc-suite-resource-single :is(.elementor-post__excerpt,.e-loop-item p,.resource-card p,.related-post p),
body.soc-suite-sidebar-style :is(.elementor-post__excerpt,.e-loop-item p){
  color:#6D6670!important;font:500 12px/1.58 Inter,Arial,sans-serif!important
}
body.soc-suite-resource-single :is(.elementor-post__read-more,.e-loop-item .elementor-button,.resource-card .soc-more,.related-post .soc-more),
body.soc-suite-sidebar-style :is(.elementor-post__read-more,.e-loop-item .elementor-button){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:34px!important;padding:0 11px!important;border:1px solid #FFD7C3!important;border-radius:8px!important;
  background:#FFF5EF!important;color:#D65318!important;font:850 10.5px/1 Inter,Arial,sans-serif!important;text-decoration:none!important
}

@media(max-width:767px){
  body.soc-resource-type-ncert-solutions .soc-qa-studybar{align-items:flex-start;flex-direction:column;gap:9px;padding:13px 14px}
  body.soc-resource-type-ncert-solutions .soc-qa-trigger{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:9px!important;min-height:62px!important;padding:12px!important;font-size:15.5px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-question-text{font-size:15.5px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-number{min-width:38px!important;height:28px!important;padding:0 8px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-chevron{width:28px!important;height:28px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-answer-panel{padding:16px 15px 18px!important;font-size:15.5px!important}
}
\n\n/* =========================================================\n   SOC v3.9.5 — Q&A edge-case + recommendation card polish\n   Stable hotfix: no content movement, no MCQ selectors.\n   ========================================================= */\n\n/* Ensure every enhanced Q&A item, including the final Key Question, has a complete rounded shell. */\nbody.soc-resource-type-ncert-solutions .soc-qa-item{\n  border-radius:14px!important;\n  overflow:hidden!important;\n}\nbody.soc-resource-type-ncert-solutions .soc-qa-item>.soc-qa-trigger:first-child{\n  border-radius:13px!important;\n}\nbody.soc-resource-type-ncert-solutions .soc-qa-item>.soc-qa-trigger.elementor-active,\nbody.soc-resource-type-ncert-solutions .soc-qa-item>.soc-qa-trigger[aria-expanded=\"true\"],\nbody.soc-resource-type-ncert-solutions details[open]>.soc-qa-trigger{\n  border-radius:13px 13px 0 0!important;\n}\nbody.soc-resource-type-ncert-solutions .soc-qa-item>.soc-qa-answer-panel:last-child{\n  border-radius:0 0 13px 13px!important;\n}\n\n/* Empty taxonomy/badge placeholders must never render as blank pills. */\nbody.soc-suite-resource-single :is(\n  .soc-badges,.resource-card-chips,.soc-resource-tax-chips\n)>:empty,\nbody.soc-suite-resource-single :is(.soc-card,.resource-card,.related-post,.soc-latest-widget-item,.elementor-post,.e-loop-item) :is([class*=\"chip\"],[class*=\"badge\"]):empty{\n  display:none!important;\n}\n\n/* Approved card language for Related + More Study + sidebar recommendations. */\nbody.soc-suite-resource-single :is(.soc-cards,.related-posts,.soc-related-resources,.soc-related-wrap) :is(.soc-card,.resource-card,.related-post,.elementor-post,.e-loop-item,.elementor-grid-item),\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-card,.resource-card,.soc-latest-widget-item,.elementor-post,.e-loop-item,.elementor-grid-item){\n  border:1px solid #E6E0E7!important;\n  outline:0!important;\n  border-radius:14px!important;\n  background:#fff!important;\n  box-shadow:0 6px 18px rgba(37,21,44,.045)!important;\n  overflow:hidden!important;\n}\nbody.soc-suite-resource-single :is(.soc-cards,.related-posts,.soc-related-resources,.soc-related-wrap) :is(.soc-card,.resource-card,.related-post,.elementor-post,.e-loop-item,.elementor-grid-item):hover,\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-card,.resource-card,.soc-latest-widget-item,.elementor-post,.e-loop-item,.elementor-grid-item):hover{\n  border-color:#D6CAD5!important;\n  transform:translateY(-2px)!important;\n  box-shadow:0 12px 26px rgba(37,21,44,.075)!important;\n}\n\n/* Main-page recommendation cards: readable, even rhythm. */\nbody.soc-suite-resource-single :is(.soc-cards,.related-posts,.soc-related-resources,.soc-related-wrap) :is(.soc-card,.resource-card,.related-post){\n  padding:15px!important;\n  min-height:220px!important;\n}\nbody.soc-suite-resource-single :is(.soc-card,.resource-card,.related-post) :is(.soc-title,h3,h4){\n  margin:0 0 9px!important;\n  color:#28142E!important;\n  font:800 14px/1.45 Poppins,Inter,Arial,sans-serif!important;\n}\nbody.soc-suite-resource-single :is(.soc-card,.resource-card,.related-post) :is(.soc-desc,p){\n  color:#6D6670!important;\n  font:500 12px/1.58 Inter,Arial,sans-serif!important;\n}\n\n/* Sidebar Latest Posts: one card per row; no cramped 2-column mini-cards. */\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-cards,.elementor-posts-container,.elementor-loop-container,.e-loop){\n  display:grid!important;\n  grid-template-columns:1fr!important;\n  gap:10px!important;\n}\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-card,.resource-card,.soc-latest-widget-item,.elementor-post,.e-loop-item,.elementor-grid-item){\n  width:100%!important;\n  min-width:0!important;\n  min-height:0!important;\n  padding:12px!important;\n}\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-title,.elementor-post__title,h3,h4),\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-title,.elementor-post__title,h3,h4) a{\n  color:#28142E!important;\n  font:800 12.5px/1.48 Poppins,Inter,Arial,sans-serif!important;\n  text-decoration:none!important;\n}\nbody.soc-suite-sidebar-style :is(#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) :is(.soc-desc,.elementor-post__excerpt,p){\n  color:#6D6670!important;\n  font:500 11.5px/1.55 Inter,Arial,sans-serif!important;\n}\n\n@media(max-width:767px){\n  body.soc-suite-resource-single :is(.soc-cards,.related-posts,.soc-related-resources,.soc-related-wrap) :is(.soc-card,.resource-card,.related-post){min-height:0!important}\n}\n
/* =========================================================
   SOC v4.0.0 — Unified Resource Templates
   CSS-first, non-destructive resource-type presentation layer.
   Q&A and MCQ modules keep their existing dedicated UX.
   ========================================================= */

body.soc-suite-resource-single.soc-unified-resource-v4{
  --soc-v4-surface:#FFFFFF;
  --soc-v4-surface-soft:#FBFAFC;
  --soc-v4-line:#E9E4EA;
  --soc-v4-ink:#28142E;
  --soc-v4-copy:#514B55;
  --soc-v4-muted:#817985;
  --soc-v4-plum:#5B174F;
  --soc-v4-orange:#FF671F;
  --soc-v4-peach:#FFF5EF;
  --soc-v4-lilac:#F8F1F7;
  --soc-v4-green:#3F8F4B;
}

/* Common reading surface for non-Q&A / non-MCQ resource templates. */
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) :is(
  .entry-content,
  .elementor-widget-theme-post-content .elementor-widget-container
){
  color:var(--soc-v4-copy)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:16px!important;
  line-height:1.78!important;
}
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) :is(
  .entry-content,
  .elementor-widget-theme-post-content .elementor-widget-container
) > :first-child{margin-top:0!important}

/* Section headings: one system across Grammar / Formula / Translation / Video resources. */
body.soc-unified-resource-v4 .soc-v4-section-heading{
  position:relative!important;
  margin:28px 0 14px!important;
  padding:12px 16px 12px 18px!important;
  border:1px solid var(--soc-v4-line)!important;
  border-left:4px solid var(--soc-v4-orange)!important;
  border-radius:12px!important;
  background:linear-gradient(90deg,#FFF9F5 0%,#FFFFFF 72%)!important;
  color:var(--soc-v4-ink)!important;
  font-family:Poppins,Inter,Arial,sans-serif!important;
  font-size:clamp(18px,2vw,22px)!important;
  font-weight:800!important;
  line-height:1.35!important;
  letter-spacing:-.012em!important;
}
body.soc-unified-resource-v4 .soc-v4-section-heading[data-soc-study-section="practice"]{
  border-left-color:#7C4DFF!important;
  background:linear-gradient(90deg,#F8F4FF 0%,#FFFFFF 72%)!important;
}
body.soc-unified-resource-v4 .soc-v4-section-heading[data-soc-study-section="examples"]{
  border-left-color:#55A35B!important;
  background:linear-gradient(90deg,#F4FBF4 0%,#FFFFFF 72%)!important;
}
body.soc-unified-resource-v4 .soc-v4-section-heading[data-soc-study-section="answer"]{
  border-left-color:#D78A16!important;
  background:linear-gradient(90deg,#FFF9E9 0%,#FFFFFF 72%)!important;
}
body.soc-unified-resource-v4 .soc-v4-section-heading[data-soc-study-section="notes"]{
  border-left-color:var(--soc-v4-plum)!important;
  background:linear-gradient(90deg,#FAF4F9 0%,#FFFFFF 72%)!important;
}

/* Lists and study tables stay readable without becoming a wall of text. */
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) .entry-content :is(ul,ol),
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) .elementor-widget-theme-post-content :is(ul,ol){
  margin:14px 0 20px!important;
  padding:14px 18px 14px 38px!important;
  border:1px solid #ECE7ED!important;
  border-radius:13px!important;
  background:#fff!important;
}
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) .entry-content li,
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) .elementor-widget-theme-post-content li{
  margin:7px 0!important;
  color:var(--soc-v4-copy)!important;
  font-size:15.8px!important;
  line-height:1.7!important;
}
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) .entry-content li::marker,
body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) .elementor-widget-theme-post-content li::marker{
  color:var(--soc-v4-orange)!important;
  font-weight:800!important;
}

/* Translation: bilingual reading rhythm without moving content. */
body.soc-resource-type-translations.soc-unified-resource-v4 .soc-v4-language-block{
  margin:12px 0!important;
  padding:14px 16px!important;
  border:1px solid #ECE7ED!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--soc-v4-copy)!important;
  font-size:16px!important;
  line-height:1.8!important;
}
body.soc-resource-type-translations.soc-unified-resource-v4 .soc-v4-language-block.soc-v4-hindi{
  border-left:4px solid var(--soc-v4-orange)!important;
  background:#FFF9F5!important;
}
body.soc-resource-type-translations.soc-unified-resource-v4 .soc-v4-language-block.soc-v4-english{
  border-left:4px solid var(--soc-v4-plum)!important;
  background:#FCFAFC!important;
}
body.soc-resource-type-translations.soc-unified-resource-v4 .soc-v4-language-block strong{
  color:var(--soc-v4-ink)!important;
}

/* Grammar resource templates. */
body:is(.soc-resource-type-board-grammar,.soc-resource-type-competitive-grammar).soc-unified-resource-v4 .entry-content :is(blockquote,.wp-block-quote),
body:is(.soc-resource-type-board-grammar,.soc-resource-type-competitive-grammar).soc-unified-resource-v4 .elementor-widget-theme-post-content :is(blockquote,.wp-block-quote){
  margin:18px 0!important;
  padding:16px 18px!important;
  border:1px solid #E8E0E7!important;
  border-left:4px solid var(--soc-v4-plum)!important;
  border-radius:12px!important;
  background:#FAF6F9!important;
  color:#4A424C!important;
}
body:is(.soc-resource-type-board-grammar,.soc-resource-type-competitive-grammar).soc-unified-resource-v4 .soc-v4-rule-line{
  display:block!important;
  margin:10px 0!important;
  padding:12px 14px!important;
  border:1px solid #ECE5EB!important;
  border-radius:11px!important;
  background:#FCFAFC!important;
  color:#3D3340!important;
  font-weight:650!important;
  line-height:1.65!important;
}

/* Translation Formula: short structures become high-signal formula cards. */
body.soc-resource-type-translation-formulas.soc-unified-resource-v4 .soc-v4-formula-line{
  display:block!important;
  margin:11px 0!important;
  padding:14px 16px!important;
  border:1px solid #E5DCE4!important;
  border-left:4px solid var(--soc-v4-orange)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#FFF9F5 0%,#FFFFFF 100%)!important;
  color:#3A2937!important;
  font:750 15.8px/1.65 Inter,Arial,sans-serif!important;
  box-shadow:0 4px 12px rgba(55,16,47,.035)!important;
}
body.soc-resource-type-translation-formulas.soc-unified-resource-v4 .soc-v4-formula-line strong{
  color:var(--soc-v4-plum)!important;
}

/* Video template: responsive player and calm notes surface. */
body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-shell{
  position:relative!important;
  width:100%!important;
  margin:18px 0 22px!important;
  padding:10px!important;
  border:1px solid #E7E1E8!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(55,16,47,.07)!important;
  overflow:hidden!important;
}
body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-shell iframe,
body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-shell video{
  display:block!important;
  width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  min-height:0!important;
  border:0!important;
  border-radius:11px!important;
  background:#111!important;
}
body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-notes{
  margin:18px 0!important;
  padding:16px 18px!important;
  border:1px solid #E8E1E7!important;
  border-radius:13px!important;
  background:#FFF9F5!important;
  color:#514B55!important;
  font-size:15.8px!important;
  line-height:1.75!important;
}

/* Responsive consistency. */
@media(max-width:767px){
  body.soc-unified-resource-v4 .soc-v4-section-heading{
    margin-top:22px!important;padding:11px 13px 11px 14px!important;font-size:18px!important
  }
  body.soc-unified-resource-v4:not(.soc-resource-type-ncert-solutions):not(.soc-resource-type-mcq-practice) :is(
    .entry-content,.elementor-widget-theme-post-content .elementor-widget-container
  ){
    font-size:15.5px!important;line-height:1.72!important
  }
  body.soc-resource-type-translations.soc-unified-resource-v4 .soc-v4-language-block,
  body.soc-resource-type-translation-formulas.soc-unified-resource-v4 .soc-v4-formula-line,
  body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-notes{
    padding:13px 14px!important;font-size:15.5px!important
  }
}

/* =========================================================
   SOC v4.0.1 — resource UI regression hotfix
   Prevent v4 study styles leaking into sidebar/footer and normalize recommendation cards.
   ========================================================= */
body.soc-unified-resource-v4 :is(#footer,#footer-widgets,.site-footer,.elementor-location-footer,#right-sidebar,#left-sidebar,.widget-area,.elementor-widget-sidebar) .soc-v4-section-heading{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.soc-suite-resource-single .soc-v4-empty-badge{display:none!important}

body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card{
  margin-top:0!important;
  padding-top:13px!important;
  border:1px solid #E6E0E7!important;
  outline:0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(37,21,44,.045)!important;
  overflow:hidden!important;
}
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card:hover{
  border-color:#D7CBD6!important;
  box-shadow:0 11px 24px rgba(37,21,44,.075)!important;
  transform:translateY(-2px)!important;
}
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card :is(h2,h3,h4,.soc-title,.elementor-post__title),
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card :is(h2,h3,h4,.soc-title,.elementor-post__title) a{
  color:#28142E!important;
  font-family:Poppins,Inter,Arial,sans-serif!important;
  font-weight:800!important;
  line-height:1.42!important;
  text-decoration:none!important;
}
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card :is(p,.soc-desc,.elementor-post__excerpt){
  color:#6D6670!important;
  font-family:Inter,Arial,sans-serif!important;
  line-height:1.58!important;
}

/* Latest Posts sidebar: one readable card per row, not cramped tiles. */
body.soc-suite-resource-single .soc-v4-rec-latest :is(.elementor-posts-container,.elementor-loop-container,.e-loop,.soc-cards){
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
body.soc-suite-resource-single .soc-v4-rec-latest .soc-v4-rec-card{
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  padding:12px 13px!important;
}
body.soc-suite-resource-single .soc-v4-rec-latest .soc-v4-rec-card :is(h2,h3,h4,.soc-title,.elementor-post__title),
body.soc-suite-resource-single .soc-v4-rec-latest .soc-v4-rec-card :is(h2,h3,h4,.soc-title,.elementor-post__title) a{
  font-size:13px!important;
  line-height:1.45!important;
}

/* More Study Resources should visually match approved Related Resources cards. */
body.soc-suite-resource-single .soc-v4-rec-more .soc-v4-rec-card{
  border-color:#E6E0E7!important;
  outline:0!important;
  box-shadow:0 6px 18px rgba(37,21,44,.045)!important;
}

/* Footer must always keep its own theme presentation. */
body.soc-unified-resource-v4 :is(#footer,#footer-widgets,.site-footer,.elementor-location-footer) :is(h2,h3,h4,.elementor-heading-title){
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

@media(max-width:767px){
  body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card{padding-top:12px!important}
}
\n\n/* =========================================================\n   SOC v4.0.2 — recommendation-card blank badge + box rhythm fix\n   Scoped only to public resource recommendation cards.\n   ========================================================= */\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-empty-badge,\nbody.soc-suite-resource-single .soc-v4-recommendation-section :is(\n  .elementor-post-info__item-prefix,.elementor-post-info__icon,\n  .elementor-post__avatar,.elementor-post-avatar,.avatar,\n  [class*="chip-icon"],[class*="badge-icon"],[class*="term-icon"],[class*="meta-icon"]\n){\n  display:none!important;\n  width:0!important;\n  min-width:0!important;\n  height:0!important;\n  margin:0!important;\n  padding:0!important;\n  border:0!important;\n}\n\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-chip-row-clean{\n  display:flex!important;\n  flex-wrap:wrap!important;\n  align-items:center!important;\n  gap:6px!important;\n  margin:0 0 10px!important;\n  padding:0!important;\n  min-height:0!important;\n}\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-chip-row-clean:empty{display:none!important}\n\n/* Keep content anchored to the top and actions at the bottom, without artificial empty space. */\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card{\n  display:flex!important;\n  flex-direction:column!important;\n  align-items:stretch!important;\n  justify-content:flex-start!important;\n  gap:0!important;\n  min-height:0!important;\n  height:100%!important;\n  padding:14px!important;\n}\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card > :first-child{margin-top:0!important}\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card :is(\n  .soc-more,.elementor-post__read-more,.elementor-button,.read-more,a[class*="read-more"]\n){\n  margin-top:auto!important;\n  align-self:flex-start!important;\n}\nbody.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-rec-card :is(\n  .soc-title,.elementor-post__title,h2,h3,h4\n){\n  margin-top:0!important;\n}\n\n/* Sidebar recommendations stay compact and readable. */\nbody.soc-suite-resource-single .soc-v4-rec-latest .soc-v4-rec-card{\n  padding:13px 14px!important;\n  min-height:0!important;\n}\nbody.soc-suite-resource-single .soc-v4-rec-latest .soc-v4-chip-row-clean{margin-bottom:8px!important}\n

/* =========================================================
   SOC v4.0.3 — remove leading decorative recommendation marker
   The visible blank pill is often a pseudo-element on the first real badge,
   not an empty badge node. Scope removal to recommendation cards only.
   ========================================================= */
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-first-real-badge::before,
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-first-real-badge::after,
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-chip-row-clean::before,
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-chip-row-clean::after{
  content:none!important;
  display:none!important;
  width:0!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
}
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-empty-badge{
  display:none!important;
  visibility:hidden!important;
  position:absolute!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
/* Don't reserve a leading slot in flex/grid chip rows after marker removal. */
body.soc-suite-resource-single .soc-v4-recommendation-section .soc-v4-chip-row-clean{
  column-gap:6px!important;
  row-gap:6px!important;
  text-indent:0!important;
}

/* =========================================================
   SOC v4.1.0 — Browse / Archive / Search discovery UX
   ========================================================= */
body.soc-v41-browse .soc-v41-filter-host{
  margin:0 0 22px!important;
  border:1px solid #E8E1E7!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(55,16,47,.055)!important;
  overflow:hidden!important;
}
body.soc-v41-browse .soc-v41-filter-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;
  padding:18px 20px 13px!important;border-bottom:1px solid #F0EBEF!important;background:linear-gradient(180deg,#FFFCFA 0%,#FFF 100%)!important
}
body.soc-v41-browse .soc-v41-filter-head>div{min-width:0!important}
body.soc-v41-browse .soc-v41-filter-head span{display:block!important;margin:0 0 4px!important;color:#FF671F!important;font:850 9.5px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.12em!important}
body.soc-v41-browse .soc-v41-filter-head strong{display:block!important;color:#28142E!important;font:800 18px/1.35 Poppins,Inter,Arial,sans-serif!important}
body.soc-v41-browse .soc-v41-filter-head p{margin:4px 0 0!important;color:#756B74!important;font:500 12.5px/1.55 Inter,Arial,sans-serif!important}
body.soc-v41-browse .soc-v41-filter-toggle{display:none!important;border:1px solid #EADFD9!important;border-radius:10px!important;background:#FFF7F2!important;color:#5B174F!important;padding:9px 12px!important;font:800 12px/1 Inter,Arial,sans-serif!important}
body.soc-v41-browse .soc-v41-filter-toggle b{margin-left:6px!important;color:#FF671F!important}

body.soc-v41-browse .soc-v41-filter-form,
body.soc-v41-browse .soc-v41-filter-host>.soc-public-filterbar,
body.soc-v41-browse .soc-v41-filter-host>.soc-filter,
body.soc-v41-browse .soc-v41-filter-host>.rb2-filter,
body.soc-v41-browse .soc-v41-filter-host>.soc-rb2-filter,
body.soc-v41-browse .soc-v41-filter-host>.resource-browser-filter{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:10px!important;
  margin:0!important;padding:15px 20px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important
}
body.soc-v41-browse .soc-v41-filter-form :is(select,input[type="search"],input[type="text"]){
  width:100%!important;min-height:44px!important;padding:0 12px!important;border:1px solid #DDD5DC!important;border-radius:10px!important;background:#fff!important;color:#403742!important;font:600 12.5px/1.2 Inter,Arial,sans-serif!important
}
body.soc-v41-browse .soc-v41-filter-form :is(select,input[type="search"],input[type="text"]):focus{border-color:#FF9A67!important;outline:3px solid rgba(255,103,31,.09)!important}
body.soc-v41-browse .soc-v41-filter-form :is(button,input[type="submit"],.button,a[class*="clear"]){min-height:44px!important;border-radius:10px!important;font:800 12px/1 Inter,Arial,sans-serif!important}

body.soc-v41-browse .soc-v41-active-filters{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;padding:0 20px 14px!important;background:#fff!important
}
body.soc-v41-browse .soc-v41-active-filters[hidden]{display:none!important}
body.soc-v41-browse .soc-v41-active-filters>span:not(.soc-v41-active-label){padding:6px 9px!important;border:1px solid #EADDE7!important;border-radius:999px!important;background:#FAF4F8!important;color:#5B174F!important;font:750 10.5px/1 Inter,Arial,sans-serif!important}
body.soc-v41-browse .soc-v41-active-label{color:#877780!important;font:700 10.5px/1 Inter,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.05em!important}

body.soc-v41-browse .soc-v41-results-meta{
  display:flex!important;align-items:baseline!important;gap:6px!important;margin:8px 0 12px!important;color:#7A6E77!important;font:600 12px/1.4 Inter,Arial,sans-serif!important
}
body.soc-v41-browse .soc-v41-results-meta strong{color:#28142E!important;font-size:14px!important}
body.soc-v41-browse .soc-v41-resource-grid,
body.soc-v41-browse .soc-cards{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important
}
body.soc-v41-browse .soc-v41-card{
  display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important;padding:16px!important;border:1px solid #E7E0E6!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 20px rgba(45,22,48,.045)!important
}
body.soc-v41-browse .soc-v41-card:hover{transform:translateY(-2px)!important;border-color:#DACBD6!important;box-shadow:0 13px 28px rgba(45,22,48,.08)!important}
body.soc-v41-browse .soc-v41-card .soc-title{font-size:15px!important;line-height:1.45!important;margin:0 0 8px!important}
body.soc-v41-browse .soc-v41-card .soc-desc{font-size:12px!important;line-height:1.58!important;margin-bottom:12px!important}
body.soc-v41-browse .soc-v41-card .soc-card-foot{margin-top:auto!important}
body.soc-suite-public-inner .soc-v41-duplicate-desc{display:none!important}

/* Archive, taxonomy, Latest and Search result grids */
body.soc-v41-discovery-page #primary>.soc-v41-discovery-meta,
body.soc-v41-discovery-page .content-area>.soc-v41-discovery-meta{
  display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important;
  margin:0 0 16px!important;padding:16px 18px!important;border:1px solid #E8E1E7!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 24px rgba(55,16,47,.045)!important
}
body.soc-v41-discovery-page .soc-v41-discovery-meta span{display:block!important;margin-bottom:4px!important;color:#FF671F!important;font:850 9px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.12em!important}
body.soc-v41-discovery-page .soc-v41-discovery-meta strong{display:block!important;color:#28142E!important;font:800 18px/1.35 Poppins,Inter,Arial,sans-serif!important}
body.soc-v41-discovery-page .soc-v41-discovery-meta p{margin:0!important;color:#81747E!important;font:650 11.5px/1.4 Inter,Arial,sans-serif!important;white-space:nowrap!important}
body.soc-v41-discovery-page .soc-v41-loop-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important
}
body.soc-v41-discovery-page .soc-v41-loop-grid>.soc-v41-card,
body.soc-v41-discovery-page .soc-v41-loop-grid>.blog-entry,
body.soc-v41-discovery-page .soc-v41-loop-grid>.search-entry,
body.soc-v41-discovery-page .soc-v41-loop-grid>article{
  width:auto!important;margin:0!important;padding:18px!important;border:1px solid #E7E0E6!important;border-radius:16px!important;background:#fff!important;box-shadow:0 7px 22px rgba(45,22,48,.05)!important
}
body.soc-v41-discovery-page .soc-v41-loop-grid :is(.entry-title,.blog-entry-title,h2,h3){font:800 17px/1.42 Poppins,Inter,Arial,sans-serif!important;color:#28142E!important}
body.soc-v41-discovery-page .soc-v41-loop-grid :is(.entry-summary,.blog-entry-summary,.excerpt,p){color:#6F6670!important;font:500 12.5px/1.62 Inter,Arial,sans-serif!important}

/* Pagination: compact, clear, touch-friendly */
body.soc-suite-public-inner .soc-v41-pagination,
body.soc-suite-public-inner .soc-v41-pagination.nav-links{
  display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:7px!important;margin:24px 0 8px!important
}
body.soc-suite-public-inner .soc-v41-pagination :is(a,span),
body.soc-suite-public-inner :is(a.page-numbers,span.page-numbers,.soc-page,.rb2-page){
  min-width:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid #E1D9E0!important;border-radius:10px!important;background:#fff!important;color:#5B174F!important;text-decoration:none!important;font:800 11.5px/1 Inter,Arial,sans-serif!important
}
body.soc-suite-public-inner .soc-v41-pagination :is(.current,.soc-page-active,.active),
body.soc-suite-public-inner :is(.page-numbers.current,.soc-page-active,.rb2-page.active){background:#5B174F!important;border-color:#5B174F!important;color:#fff!important}

@media(max-width:980px){
  body.soc-v41-browse .soc-v41-resource-grid,
  body.soc-v41-browse .soc-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  body.soc-v41-browse .soc-v41-filter-head{padding:15px!important;align-items:center!important}
  body.soc-v41-browse .soc-v41-filter-head p{display:none!important}
  body.soc-v41-browse .soc-v41-filter-toggle{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important}
  body.soc-v41-browse .soc-v41-filter-host .soc-v41-filter-form{display:none!important;grid-template-columns:1fr!important;padding:13px 15px!important}
  body.soc-v41-browse .soc-v41-filter-host.soc-v41-filter-open .soc-v41-filter-form{display:grid!important}
  body.soc-v41-browse .soc-v41-active-filters{padding:0 15px 13px!important}
  body.soc-v41-browse .soc-v41-resource-grid,
  body.soc-v41-browse .soc-cards,
  body.soc-v41-discovery-page .soc-v41-loop-grid{grid-template-columns:1fr!important}
  body.soc-v41-discovery-page #primary>.soc-v41-discovery-meta,
  body.soc-v41-discovery-page .content-area>.soc-v41-discovery-meta{align-items:flex-start!important;flex-direction:column!important;padding:14px!important}
  body.soc-v41-discovery-page .soc-v41-discovery-meta p{white-space:normal!important}
}


/* =========================================================
   SOC v4.1.1 — Browse final polish / regression cleanup
   Presentation-only. No query, taxonomy, or content mutations.
   ========================================================= */
/* Remove any Elementor/theme artwork behind the Study Library shell. */
body.soc-v41-browse,
body.soc-v41-browse #main,
body.soc-v41-browse #content,
body.soc-v41-browse #content-wrap,
body.soc-v41-browse .soc-v41-browser-ancestor,
body.soc-v41-browse .soc-inner-browser-shell{
  background-color:#F6F7FB!important;
  background-image:none!important;
}
body.soc-v41-browse .soc-v41-browser-ancestor::before,
body.soc-v41-browse .soc-v41-browser-ancestor::after,
body.soc-v41-browse .soc-inner-browser-shell::before,
body.soc-v41-browse .soc-inner-browser-shell::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

/* Library shell: compact, clean, and closer to footer. */
body.soc-v41-browse .soc-inner-browser-shell{
  width:min(1240px,calc(100% - 36px))!important;
  margin-inline:auto!important;
  padding-top:28px!important;
  padding-bottom:34px!important;
}
body.soc-v41-browse #content-wrap{padding-bottom:28px!important}

/* Stronger filter readability without making the controls bulky. */
body.soc-v41-browse .soc-v41-filter-form label,
body.soc-v41-browse .soc-v41-filter-host label{
  color:#6E626C!important;
  font:800 10.5px/1.25 Inter,Arial,sans-serif!important;
  letter-spacing:.045em!important;
  text-transform:uppercase!important;
}
body.soc-v41-browse .soc-v41-filter-form :is(select,input[type="search"],input[type="text"]){
  color:#2F2530!important;
  font-size:13px!important;
}
body.soc-v41-browse .soc-v41-filter-form :is(input[type="search"],input[type="text"])::placeholder{
  color:#A096A0!important;
  opacity:1!important;
}

/* Card rhythm: less dead air while keeping the CTA aligned. */
body.soc-v41-browse .soc-v41-resource-grid,
body.soc-v41-browse .soc-cards{
  gap:14px!important;
  align-items:stretch!important;
}
body.soc-v41-browse .soc-v41-card{
  padding:15px!important;
  border-radius:14px!important;
  min-height:0!important;
}
body.soc-v41-browse .soc-v41-card .soc-badges{
  gap:5px!important;
  margin-bottom:10px!important;
}
body.soc-v41-browse .soc-v41-card .soc-badges :is(a,span){
  min-height:23px!important;
  padding:4px 7px!important;
  font-size:9px!important;
}
body.soc-v41-browse .soc-v41-card .soc-title{
  margin-bottom:7px!important;
  font-size:15.5px!important;
  line-height:1.42!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.soc-v41-browse .soc-v41-card .soc-desc{
  margin-bottom:10px!important;
  color:#746B74!important;
  font-size:12.25px!important;
  line-height:1.55!important;
}
body.soc-v41-browse .soc-v41-card .soc-card-foot{
  padding-top:10px!important;
}
body.soc-v41-browse .soc-v41-card .soc-more{
  min-height:36px!important;
  padding-inline:14px!important;
}

/* Display-only card metadata cleanup. */
body.soc-v41-browse .soc-v41-card .soc-v41-chip-hidden{display:none!important}

/* Result line + pagination should read as a single coherent footer. */
body.soc-v41-browse .soc-v41-results-meta{
  margin:6px 0 14px!important;
}
body.soc-v41-browse .soc-v41-pagination{
  margin:20px 0 0!important;
  gap:8px!important;
}
body.soc-v41-browse .soc-v41-pagination :is(a,span),
body.soc-v41-browse :is(.soc-page,.rb2-page){
  min-width:42px!important;
  min-height:40px!important;
  padding:0 12px!important;
}
body.soc-v41-browse .soc-v41-pagination .soc-v41-page-summary{
  min-width:auto!important;
  padding-inline:14px!important;
  color:#28142E!important;
  background:#FFF8F4!important;
  border-color:#F0DDD2!important;
}

@media(max-width:767px){
  body.soc-v41-browse .soc-inner-browser-shell{
    width:calc(100% - 20px)!important;
    padding-top:18px!important;
    padding-bottom:24px!important;
  }
  body.soc-v41-browse .soc-v41-card{padding:14px!important}
  body.soc-v41-browse .soc-v41-card .soc-title{font-size:15px!important}
}


/* =========================================================
   SOC v4.1.2 — Browse final alignment/readability pass
   Presentation-only; no query or taxonomy mutations.
   ========================================================= */
body.soc-v41-browse .soc-v41-filter-host,
body.soc-v41-browse .soc-v41-results-meta,
body.soc-v41-browse .soc-v41-resource-grid,
body.soc-v41-browse .soc-cards,
body.soc-v41-browse .soc-v41-pagination{
  width:100%!important;
  box-sizing:border-box!important;
}

/* Result summary belongs to the card grid, not to the page edge. */
body.soc-v41-browse .soc-v41-results-meta{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  margin:8px 0 14px!important;
  padding:10px 14px!important;
  border:1px solid #E8E1E7!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(55,16,47,.035)!important;
  color:#706670!important;
}
body.soc-v41-browse .soc-v41-results-meta .soc-v412-result-copy{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:5px!important;
  min-width:0!important;
  font:650 12.5px/1.4 Inter,Arial,sans-serif!important;
}
body.soc-v41-browse .soc-v41-results-meta .soc-v412-result-copy strong{
  color:#5B174F!important;
  font:850 14px/1.2 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-v41-browse .soc-v41-results-meta .soc-v412-result-copy span{
  color:#756B74!important;
}

/* Keep every card's internal rhythm consistent. */
body.soc-v41-browse .soc-v41-card{
  overflow:hidden!important;
}
body.soc-v41-browse .soc-v41-card .soc-badges{
  align-items:center!important;
  flex-wrap:wrap!important;
}
body.soc-v41-browse .soc-v41-card .soc-title,
body.soc-v41-browse .soc-v41-card .soc-title a{
  color:#28142E!important;
  text-decoration:none!important;
}
body.soc-v41-browse .soc-v41-card .soc-desc{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  min-height:0!important;
}
body.soc-v41-browse .soc-v41-card .soc-card-foot{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:46px!important;
  margin-top:auto!important;
  border-top:1px solid #F1ECEF!important;
}
body.soc-v41-browse .soc-v41-card .soc-more{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  font-weight:800!important;
}

/* Pagination: separate page summary from navigation controls. */
body.soc-v41-browse .soc-v41-pagination{
  min-height:52px!important;
  padding-top:4px!important;
}
body.soc-v41-browse .soc-v41-pagination .soc-v41-page-summary{
  font-weight:750!important;
  white-space:nowrap!important;
}

@media(max-width:767px){
  body.soc-v41-browse .soc-v41-results-meta{
    min-height:40px!important;
    margin:6px 0 12px!important;
    padding:9px 11px!important;
  }
  body.soc-v41-browse .soc-v41-results-meta .soc-v412-result-copy{
    font-size:12px!important;
  }
  body.soc-v41-browse .soc-v41-card .soc-card-foot{
    min-height:43px!important;
  }
  body.soc-v41-browse .soc-v41-pagination{
    gap:6px!important;
    margin-top:18px!important;
  }
}


/* =========================================================
   SOC v4.1.3 — one authoritative chip row per Browse card
   ========================================================= */
body.soc-v41-browse .soc-v413-duplicate-chip-row,
body.soc-v41-browse .soc-v413-chip-hidden{
  display:none!important;
}
body.soc-v41-browse .soc-v413-canonical-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:6px!important;
  margin:0 0 11px!important;
  padding:0!important;
  min-height:0!important;
}
body.soc-v41-browse .soc-v413-canonical-chips:empty{display:none!important}
body.soc-v41-browse .soc-v41-card{
  overflow:hidden!important;
}
body.soc-v41-browse .soc-v41-card .soc-v41-duplicate-desc{display:none!important}
body.soc-v41-browse .soc-v41-card .soc-card-foot{
  width:100%!important;
}

/* =========================================================
   SOC v4.1.4 — hide legacy taxonomy markup embedded in titles
   ========================================================= */
body.soc-v41-browse .soc-v414-title-meta-hidden{
  display:none!important;
  margin:0!important;
  padding:0!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  border:0!important;
}
body.soc-v41-browse .soc-v414-clean-title{
  margin-top:0!important;
  padding-top:0!important;
}

/* =========================================================
   SOC v4.2.0 — mobile/tablet hardening + context recommendations
   ========================================================= */

/* Context-aware sidebar recommendation cards. */
body.soc-suite-resource-single .soc-v42-context-section{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.soc-suite-resource-single .soc-v42-context-head{
  margin:0 0 12px!important;
}
body.soc-suite-resource-single .soc-v42-context-head>span{
  display:inline-flex!important;
  margin:0 0 5px!important;
  color:#FF671F!important;
  font:850 9px/1.2 Inter,Arial,sans-serif!important;
  letter-spacing:.08em!important;
}
body.soc-suite-resource-single .soc-v42-context-head h3{
  margin:0 0 4px!important;
  padding:0!important;
  color:#28142E!important;
  font:800 18px/1.3 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v42-context-head p{
  margin:0!important;
  color:#726A72!important;
  font:500 12px/1.5 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v42-context-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
}
body.soc-suite-resource-single .soc-v42-context-card{
  min-width:0!important;
  padding:13px!important;
  border:1px solid #E7DFE6!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(40,20,46,.045)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.soc-suite-resource-single .soc-v42-context-card:hover{
  transform:translateY(-2px)!important;
  border-color:#D8C8D5!important;
  box-shadow:0 10px 24px rgba(40,20,46,.075)!important;
}
body.soc-suite-resource-single .soc-v42-context-badges{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:0!important;
}
body.soc-suite-resource-single .soc-v42-context-badges span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:3px 7px!important;
  border:1px solid #E9DCE6!important;
  border-radius:999px!important;
  background:#FAF2F8!important;
  color:#5B174F!important;
  font:800 8.5px/1.2 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v42-context-card h4{
  margin:0!important;
  padding:0!important;
  color:#28142E!important;
  font:800 13px/1.45 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v42-context-card h4 a{color:inherit!important;text-decoration:none!important}
body.soc-suite-resource-single .soc-v42-context-action{
  margin-top:auto!important;
  color:#E44E12!important;
  font:850 10px/1.3 Inter,Arial,sans-serif!important;
  text-decoration:none!important;
}
body.soc-suite-resource-single .soc-v42-context-sidebar .soc-v42-context-grid{grid-template-columns:1fr!important}
body.soc-suite-resource-single .soc-v42-context-sidebar .soc-v42-context-head h3{font-size:17px!important}

/* Tablet: keep layout readable instead of squeezing desktop cards. */
@media(max-width:1024px){
  body.soc-suite-public-inner #content-wrap,
  body.soc-suite-public-inner .container,
  body.soc-suite-public-inner .soc-inner-shell{max-width:100%!important}
  body.soc-v41-browse .soc-v41-filterbar form,
  body.soc-v41-browse .soc-v41-filterbar .soc-v41-filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.soc-v41-browse .soc-v41-filterbar :is(input,select,button,a){min-height:44px!important}
  body.soc-suite-resource-single .soc-v42-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Phone: generous touch targets, safe wrapping, no horizontal overflow. */
@media(max-width:767px){
  body.soc-suite-inner-enabled{overflow-x:hidden!important}
  body.soc-suite-public-inner #main,
  body.soc-suite-public-inner #content,
  body.soc-suite-public-inner #content-wrap,
  body.soc-suite-public-inner #primary,
  body.soc-suite-public-inner .content-area{min-width:0!important;max-width:100%!important}

  body.soc-v41-browse .soc-v41-filterbar,
  body.soc-v41-browse .soc-public-filterbar,
  body.soc-v41-browse .soc-filter,
  body.soc-v41-browse .rb2-filter{padding:13px!important;border-radius:14px!important}
  body.soc-v41-browse .soc-v41-filterbar form,
  body.soc-v41-browse .soc-v41-filterbar .soc-v41-filter-controls,
  body.soc-v41-browse .soc-public-filterbar form,
  body.soc-v41-browse .soc-filter form,
  body.soc-v41-browse .rb2-filter form{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.soc-v41-browse :is(.soc-v42-touch-control,select,input[type="search"],input[type="text"],button,.soc-btn){
    width:100%!important;
    min-height:46px!important;
    font-size:14px!important;
  }
  body.soc-v41-browse .soc-v413-canonical-chips{gap:5px!important;margin-bottom:9px!important}
  body.soc-v41-browse .soc-v413-canonical-chips>*{font-size:9.5px!important;line-height:1.25!important;white-space:normal!important}
  body.soc-v41-browse .soc-v41-card{padding:14px!important}
  body.soc-v41-browse .soc-v41-card .soc-title,
  body.soc-v41-browse .soc-v41-card .soc-title a{font-size:16px!important;line-height:1.42!important}
  body.soc-v41-browse .soc-v41-card .soc-desc{font-size:13px!important;line-height:1.6!important;-webkit-line-clamp:3!important}
  body.soc-v41-browse .soc-v41-card .soc-card-foot{justify-content:stretch!important}
  body.soc-v41-browse .soc-v41-card .soc-more{width:100%!important;min-height:44px!important}

  body.soc-v41-browse .soc-v41-pagination,
  body.soc-v41-browse .soc-pager,
  body.soc-v41-browse .rb2-pagination{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:7px!important}
  body.soc-v41-browse :is(.soc-v42-page-control,.soc-page,.page-numbers){min-width:44px!important;min-height:44px!important;padding:0 10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}

  body.soc-resource-type-ncert-solutions .soc-qa-trigger{min-height:64px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-question-text,
  body.soc-resource-type-ncert-solutions .soc-qa-answer-panel{font-size:16px!important;line-height:1.65!important}
  body.soc-resource-type-ncert-solutions .soc-qa-number{flex:0 0 auto!important}

  body.soc-suite-resource-single .soc-v42-context-grid{grid-template-columns:1fr!important}
  body.soc-suite-resource-single .soc-v42-context-card{padding:14px!important}
  body.soc-suite-resource-single .soc-v42-context-card h4{font-size:14px!important}
  body.soc-suite-resource-single .soc-v42-context-action{min-height:40px!important;display:flex!important;align-items:center!important}
}

@media(prefers-reduced-motion:reduce){
  body.soc-suite-resource-single .soc-v42-context-card{transition:none!important}
}

/* =========================================================
   SOC v4.3.0 — learning continuity + robust recommendation clicks
   ========================================================= */
body.soc-suite-resource-single .soc-v43-context-card{
  position:relative!important;
  cursor:pointer!important;
  isolation:isolate!important;
}
body.soc-suite-resource-single .soc-v43-card-link{
  position:absolute!important;
  inset:0!important;
  z-index:4!important;
  display:block!important;
  border-radius:inherit!important;
  background:transparent!important;
  text-decoration:none!important;
  pointer-events:auto!important;
}
body.soc-suite-resource-single .soc-v43-context-card>.soc-v42-context-badges,
body.soc-suite-resource-single .soc-v43-context-card>h4,
body.soc-suite-resource-single .soc-v43-context-card>.soc-v42-context-action{
  position:relative!important;
  z-index:2!important;
  pointer-events:none!important;
}
body.soc-suite-resource-single .soc-v43-context-card:focus-within{
  outline:3px solid rgba(255,103,31,.22)!important;
  outline-offset:2px!important;
  border-color:#FF9A68!important;
}
body.soc-suite-resource-single .soc-v43-recent{
  margin-top:15px!important;
  padding-top:14px!important;
  border-top:1px solid #EAE3E8!important;
}
body.soc-suite-resource-single .soc-v43-recent-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin:0 0 9px!important;
}
body.soc-suite-resource-single .soc-v43-recent-head strong{
  color:#28142E!important;
  font:800 13px/1.3 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v43-recent-head small{
  color:#8A7F87!important;
  font:600 9px/1.2 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v43-recent-list{
  display:grid!important;
  gap:7px!important;
}
body.soc-suite-resource-single .soc-v43-recent-item{
  display:block!important;
  padding:9px 10px!important;
  border:1px solid #E9E1E7!important;
  border-radius:10px!important;
  background:#FCFAFC!important;
  color:#342A34!important;
  text-decoration:none!important;
  font:750 10.5px/1.42 Inter,Arial,sans-serif!important;
  transition:border-color .16s ease,background .16s ease,transform .16s ease!important;
}
body.soc-suite-resource-single .soc-v43-recent-item:hover{
  border-color:#DCC9D8!important;
  background:#FFF!important;
  transform:translateY(-1px)!important;
}
@media(max-width:767px){
  body.soc-suite-resource-single .soc-v43-recent-head{align-items:flex-start!important;flex-direction:column!important}
  body.soc-suite-resource-single .soc-v43-recent-item{min-height:44px!important;display:flex!important;align-items:center!important}
}

/* =========================================================
   SOC v4.3.1 — Continue Learning clarity + retention polish
   ========================================================= */
body.soc-suite-resource-single .soc-v42-context-section,
body.soc-suite-resource-single .soc-v43-recent,
body.soc-suite-resource-single .soc-v43-recent *{
  opacity:1!important;
  filter:none!important;
  pointer-events:auto;
}
body.soc-suite-resource-single .soc-v42-context-head{
  position:relative!important;
  margin:0 0 14px!important;
  padding:14px 14px 13px 16px!important;
  border:1px solid #E7DDE5!important;
  border-left:4px solid #FF671F!important;
  border-radius:14px!important;
  background:#FFFFFF!important;
  box-shadow:0 7px 22px rgba(40,20,46,.05)!important;
}
body.soc-suite-resource-single .soc-v42-context-head>span{
  display:block!important;
  margin:0 0 5px!important;
  color:#E44E12!important;
  font:900 10px/1.25 Inter,Arial,sans-serif!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
body.soc-suite-resource-single .soc-v42-context-head h3{
  margin:0 0 5px!important;
  color:#28142E!important;
  font:850 19px/1.28 Poppins,Inter,Arial,sans-serif!important;
  letter-spacing:-.01em!important;
}
body.soc-suite-resource-single .soc-v42-context-head p{
  margin:0!important;
  color:#554A55!important;
  font:600 12.5px/1.55 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v43-context-card{
  opacity:1!important;
  filter:none!important;
  background:#FFF!important;
  border-color:#DED2DB!important;
}
body.soc-suite-resource-single .soc-v43-context-card:hover,
body.soc-suite-resource-single .soc-v43-context-card:focus-within{
  border-color:#CFAEC7!important;
  box-shadow:0 12px 28px rgba(91,23,79,.10)!important;
}
body.soc-suite-resource-single .soc-v42-context-card h4{
  color:#241326!important;
  font-size:13.5px!important;
  line-height:1.45!important;
}
body.soc-suite-resource-single .soc-v42-context-action{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  color:#D9470D!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.soc-suite-resource-single .soc-v43-recent{
  margin-top:16px!important;
  padding:14px!important;
  border:1px solid #E7DDE5!important;
  border-radius:14px!important;
  background:#FFF!important;
  box-shadow:0 7px 22px rgba(40,20,46,.045)!important;
}
body.soc-suite-resource-single .soc-v43-recent-head{
  align-items:flex-start!important;
  margin-bottom:10px!important;
}
body.soc-suite-resource-single .soc-v43-recent-head strong{
  color:#28142E!important;
  font:850 15px/1.3 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v43-recent-head small{
  display:block!important;
  margin-top:2px!important;
  color:#655B64!important;
  font:650 10px/1.35 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v43-recent-list{
  gap:8px!important;
}
body.soc-suite-resource-single .soc-v43-recent-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:10px!important;
  align-items:center!important;
  min-height:46px!important;
  padding:10px 34px 10px 11px!important;
  border:1px solid #E4D9E2!important;
  border-radius:11px!important;
  background:#FFF9F5!important;
  color:#2D2130!important;
  opacity:1!important;
  filter:none!important;
  pointer-events:auto!important;
  text-decoration:none!important;
  font:750 11.5px/1.45 Inter,Arial,sans-serif!important;
  box-shadow:0 3px 10px rgba(40,20,46,.03)!important;
}
body.soc-suite-resource-single .soc-v43-recent-item::after{
  content:'→'!important;
  position:absolute!important;
  right:11px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#E44E12!important;
  font-size:15px!important;
  font-weight:900!important;
}
body.soc-suite-resource-single .soc-v43-recent-item:hover,
body.soc-suite-resource-single .soc-v43-recent-item:focus{
  border-color:#FFB18A!important;
  background:#FFF!important;
  color:#28142E!important;
  box-shadow:0 8px 18px rgba(91,23,79,.08)!important;
  outline:none!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing{
  position:fixed!important;
  left:50%!important;
  bottom:18px!important;
  z-index:9994!important;
  width:min(620px,calc(100vw - 28px))!important;
  transform:translate(-50%,18px)!important;
  display:grid!important;
  grid-template-columns:auto 1fr auto auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:11px 12px!important;
  border:1px solid #E2D3DF!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 18px 48px rgba(40,20,46,.18)!important;
  opacity:0!important;
  visibility:hidden!important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
  backdrop-filter:blur(10px)!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing.is-visible{
  opacity:1!important;
  visibility:visible!important;
  transform:translate(-50%,0)!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing-icon{
  width:36px!important;height:36px!important;border-radius:10px!important;
  display:grid!important;place-items:center!important;
  background:#FFF0E8!important;color:#E44E12!important;font-weight:900!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing-copy{min-width:0!important}
body.soc-suite-resource-single .soc-v431-keepgoing-copy small{
  display:block!important;margin-bottom:2px!important;color:#7A6B78!important;
  font:750 9px/1.2 Inter,Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.08em!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing-copy strong{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#28142E!important;font:800 12.5px/1.35 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing-open{
  min-height:38px!important;padding:0 13px!important;border:1px solid #FFB18A!important;border-radius:10px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#FF671F!important;color:#FFF!important;text-decoration:none!important;
  font:850 10.5px/1 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v431-keepgoing-close{
  width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;background:#F6F1F5!important;color:#5B174F!important;
  font-size:18px!important;line-height:1!important;cursor:pointer!important;
}
@media(max-width:640px){
  body.soc-suite-resource-single .soc-v431-keepgoing{
    grid-template-columns:34px 1fr auto!important;bottom:10px!important;padding:10px!important;
  }
  body.soc-suite-resource-single .soc-v431-keepgoing-open{grid-column:2 / 4!important;width:100%!important;min-height:42px!important}
  body.soc-suite-resource-single .soc-v431-keepgoing-close{position:absolute!important;right:8px!important;top:8px!important}
  body.soc-suite-resource-single .soc-v42-context-head h3{font-size:18px!important}
  body.soc-suite-resource-single .soc-v42-context-head p{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
  body.soc-suite-resource-single .soc-v431-keepgoing{transition:none!important}
}


/* =========================================================
   SOC v4.3.2 — crisp Recently Viewed + sticky Study Companion
   ========================================================= */
body.soc-suite-resource-single .soc-v42-context-sidebar{
  position:sticky!important;
  top:104px!important;
  align-self:start!important;
  overflow:visible!important;
}
body.soc-suite-resource-single .soc-v43-recent,
body.soc-suite-resource-single .soc-v43-recent *{
  opacity:1!important;
  filter:none!important;
  -webkit-filter:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  text-shadow:none!important;
  transform:none!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:antialiased!important;
}
body.soc-suite-resource-single .soc-v43-recent{
  background:#FFFFFF!important;
  border-color:#DCCFD9!important;
  box-shadow:0 8px 22px rgba(40,20,46,.055)!important;
}
body.soc-suite-resource-single .soc-v43-recent-head strong{
  font:850 16px/1.3 Poppins,Inter,Arial,sans-serif!important;
  color:#241326!important;
}
body.soc-suite-resource-single .soc-v43-recent-head small{
  margin-top:4px!important;
  color:#5F555E!important;
  font:600 11.5px/1.5 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v43-recent-item{
  min-height:50px!important;
  padding:11px 38px 11px 12px!important;
  background:#FFFFFF!important;
  border:1px solid #DDD2DA!important;
  color:#241B25!important;
  font:750 13px/1.45 Inter,Arial,sans-serif!important;
  box-shadow:0 2px 8px rgba(40,20,46,.025)!important;
}
body.soc-suite-resource-single .soc-v43-recent-item:hover,
body.soc-suite-resource-single .soc-v43-recent-item:focus{
  border-color:#FF9B69!important;
  background:#FFF9F5!important;
  color:#28142E!important;
}
body.soc-suite-resource-single .soc-v432-study-tools{
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid #E1D6DE!important;
  border-radius:14px!important;
  background:#FFFFFF!important;
  box-shadow:0 7px 20px rgba(40,20,46,.045)!important;
}
body.soc-suite-resource-single .soc-v432-study-tools-head{
  margin-bottom:10px!important;
}
body.soc-suite-resource-single .soc-v432-study-tools-head span{
  display:block!important;
  margin-bottom:4px!important;
  color:#E44E12!important;
  font:900 9.5px/1.2 Inter,Arial,sans-serif!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
body.soc-suite-resource-single .soc-v432-study-tools-head strong{
  display:block!important;
  color:#28142E!important;
  font:850 15px/1.3 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v432-study-tools-head small{
  display:block!important;
  margin-top:4px!important;
  color:#655B64!important;
  font:600 11px/1.45 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v432-study-tools-list{
  display:grid!important;
  gap:8px!important;
}
body.soc-suite-resource-single .soc-v432-study-tool{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px 1fr auto!important;
  gap:9px!important;
  align-items:center!important;
  min-height:50px!important;
  padding:8px 10px!important;
  border:1px solid #E4DAE2!important;
  border-radius:11px!important;
  background:#FCFAFC!important;
  color:#28142E!important;
  text-decoration:none!important;
}
body.soc-suite-resource-single .soc-v432-study-tool:hover,
body.soc-suite-resource-single .soc-v432-study-tool:focus{
  border-color:#FFB18A!important;
  background:#FFF8F3!important;
  box-shadow:0 7px 17px rgba(91,23,79,.07)!important;
  outline:none!important;
}
body.soc-suite-resource-single .soc-v432-study-tool-icon{
  width:34px!important;height:34px!important;border-radius:9px!important;
  display:grid!important;place-items:center!important;
  background:#F6EAF3!important;color:#5B174F!important;
  font:900 15px/1 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v432-study-tool-copy strong{
  display:block!important;
  color:#28142E!important;
  font:800 12.5px/1.3 Poppins,Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v432-study-tool-copy small{
  display:block!important;
  margin-top:2px!important;
  color:#6A6069!important;
  font:600 10.5px/1.35 Inter,Arial,sans-serif!important;
}
body.soc-suite-resource-single .soc-v432-study-tool-arrow{
  color:#E44E12!important;
  font:900 15px/1 Inter,Arial,sans-serif!important;
}
@media(max-width:959px){
  body.soc-suite-resource-single .soc-v42-context-sidebar{position:static!important;top:auto!important}
}
@media(max-width:767px){
  body.soc-suite-resource-single .soc-v43-recent-item{font-size:13px!important;min-height:48px!important}
  body.soc-suite-resource-single .soc-v432-study-tool{min-height:48px!important}
}


/* =========================================================
   SOC v4.4.0 — consolidated responsive hardening
   Public inner pages only. No content/query mutations.
   ========================================================= */
body.soc-suite-public-inner,
body.soc-suite-public-inner *{box-sizing:border-box}
body.soc-suite-public-inner #main :is(img,video,svg){max-width:100%;height:auto}
body.soc-suite-public-inner #main :is(iframe,embed,object){max-width:100%}
body.soc-suite-public-inner #main :is(pre,code){max-width:100%;overflow-wrap:normal}
body.soc-suite-public-inner #main pre{overflow-x:auto;-webkit-overflow-scrolling:touch}
body.soc-suite-public-inner #main :is(.entry-content,.elementor-widget-container,.soc-learning-content,.soc-v4-language-block,.soc-v4-formula-line,.soc-v4-video-notes){min-width:0;overflow-wrap:anywhere}

/* Video/media never overflows the reading column. */
body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-shell{width:100%!important;max-width:100%!important;overflow:hidden!important}
body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-shell :is(iframe,video){display:block!important;width:100%!important;max-width:100%!important;aspect-ratio:16/9!important;height:auto!important;min-height:0!important}

/* Tables remain readable instead of shrinking beyond usability. */
body.soc-suite-public-inner #main .soc-table-scroll{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}

/* ---- Browse mobile filter drawer ---- */
body.soc-v41-browse .soc-v41-filter-host{min-width:0!important}
body.soc-v41-browse .soc-v41-filter-form>*{min-width:0!important}
body.soc-v41-browse .soc-v41-filter-form :is(select,input,button,.button,a){max-width:100%!important}
body.soc-v41-browse .soc-v440-filter-cell{min-width:0!important;width:100%!important}
body.soc-v41-browse .soc-v440-filter-cell-hidden{display:none!important}

@media(max-width:1024px){
  body.soc-suite-public-inner #content-wrap{width:calc(100% - 28px)!important;max-width:100%!important}
  body.soc-v41-browse .soc-v41-resource-grid,
  body.soc-v41-browse .soc-cards,
  body.soc-v41-discovery-page .soc-v41-loop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.soc-suite-resource-single .soc-v42-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:767px){
  body.soc-suite-public-inner{overflow-x:hidden!important}
  body.soc-suite-public-inner #main,
  body.soc-suite-public-inner #content,
  body.soc-suite-public-inner #content-wrap,
  body.soc-suite-public-inner #primary,
  body.soc-suite-public-inner .content-area,
  body.soc-suite-public-inner .site-main{min-width:0!important;max-width:100%!important}

  body.soc-suite-public-inner #content-wrap{width:calc(100% - 20px)!important;padding-top:16px!important;padding-bottom:34px!important}
  body.soc-suite-content-surface.soc-suite-resource-single #primary>article,
  body.soc-suite-content-surface.soc-suite-standard-page:not(.soc-suite-browse-page) #primary>article,
  body.soc-suite-content-surface.soc-suite-standard-post #primary>article{padding:14px!important;border-radius:14px!important}

  body.soc-suite-public-inner #main :is(.entry-title,.page-title,.elementor-widget-theme-post-title .elementor-heading-title){font-size:clamp(23px,7.2vw,31px)!important;line-height:1.25!important;overflow-wrap:anywhere!important}
  body.soc-suite-public-inner #main :is(.soc-resource-tax-chips,.soc-badges,.resource-card-chips){gap:5px!important;max-width:100%!important}
  body.soc-suite-public-inner #main :is(.soc-resource-tax-chips,.soc-badges,.resource-card-chips) :is(a,span){white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important}

  /* Browse shell and filter drawer */
  body.soc-v41-browse .soc-inner-browser-shell{width:calc(100% - 16px)!important;padding-top:12px!important;padding-bottom:24px!important}
  body.soc-v41-browse .soc-v41-filter-host{margin-bottom:14px!important;border-radius:14px!important;overflow:hidden!important}
  body.soc-v41-browse .soc-v41-filter-head{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
    padding:13px 12px!important
  }
  body.soc-v41-browse .soc-v41-filter-head>div{min-width:0!important}
  body.soc-v41-browse .soc-v41-filter-head span{font-size:8.5px!important}
  body.soc-v41-browse .soc-v41-filter-head strong{font-size:16px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
  body.soc-v41-browse .soc-v41-filter-head p{display:none!important}
  body.soc-v41-browse .soc-v41-filter-toggle{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;
    min-width:96px!important;min-height:44px!important;padding:0 12px!important;white-space:nowrap!important
  }
  body.soc-v41-browse .soc-v41-filter-host .soc-v41-filter-form{
    display:none!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;
    width:100%!important;margin:0!important;padding:12px!important;border-top:1px solid #F0EBEF!important
  }
  body.soc-v41-browse .soc-v41-filter-host.soc-v41-filter-open .soc-v41-filter-form{display:grid!important}
  body.soc-v41-browse .soc-v41-filter-form :is(label,select,input[type="search"],input[type="text"],button,input[type="submit"],.button,a[class*="clear"]){width:100%!important;max-width:100%!important}
  body.soc-v41-browse .soc-v41-filter-form :is(select,input[type="search"],input[type="text"],button,input[type="submit"],.button,a[class*="clear"]){min-height:46px!important;font-size:14px!important}
  body.soc-v41-browse .soc-v41-filter-form select{padding-right:34px!important;text-overflow:ellipsis!important}
  body.soc-v41-browse .soc-v41-active-filters{padding:10px 12px 12px!important;gap:6px!important;border-top:1px solid #F5F0F4!important}
  body.soc-v41-browse .soc-v41-active-filters>span:not(.soc-v41-active-label){max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important}
  body.soc-v41-browse .soc-v41-results-meta{margin:7px 0 11px!important;padding:9px 10px!important}
  body.soc-v41-browse .soc-v41-results-meta .soc-v412-result-copy{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important}
  body.soc-v41-browse .soc-v41-resource-grid,
  body.soc-v41-browse .soc-cards,
  body.soc-v41-discovery-page .soc-v41-loop-grid{grid-template-columns:minmax(0,1fr)!important;gap:11px!important}
  body.soc-v41-browse .soc-v41-card{padding:13px!important;border-radius:13px!important}
  body.soc-v41-browse .soc-v41-card .soc-title,
  body.soc-v41-browse .soc-v41-card .soc-title a{font-size:15.5px!important;line-height:1.42!important;overflow-wrap:anywhere!important}
  body.soc-v41-browse .soc-v41-card .soc-desc{font-size:13px!important;line-height:1.58!important}
  body.soc-v41-browse .soc-v41-card .soc-card-foot{min-height:0!important;padding-top:9px!important}
  body.soc-v41-browse .soc-v41-card .soc-more{width:100%!important;min-height:46px!important}
  body.soc-v41-browse .soc-v41-pagination,
  body.soc-v41-browse .soc-pager,
  body.soc-v41-browse .rb2-pagination{width:100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px!important;margin-top:16px!important}
  body.soc-v41-browse .soc-v41-pagination :is(a,span),
  body.soc-v41-browse :is(.soc-page,.rb2-page,.page-numbers){min-width:44px!important;min-height:44px!important;padding:0 9px!important}
  body.soc-v41-browse .soc-v41-pagination .soc-v41-page-summary{order:3!important;flex:1 0 100%!important;min-height:36px!important;border:0!important;background:transparent!important}

  /* Q&A and generic reading content */
  body.soc-resource-type-ncert-solutions .soc-qa-studybar{padding:12px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-trigger{grid-template-columns:auto minmax(0,1fr) auto!important;gap:8px!important;padding:11px!important;min-height:60px!important}
  body.soc-resource-type-ncert-solutions .soc-qa-question-text,
  body.soc-resource-type-ncert-solutions .soc-qa-answer-panel{font-size:15.5px!important;line-height:1.65!important}
  body.soc-resource-type-ncert-solutions .soc-qa-answer-panel{padding:14px!important}

  /* Unified Translation / Grammar / Formula / Video sections */
  body.soc-unified-resource-v4 .soc-v4-section-heading{padding:11px 12px!important;font-size:18px!important;line-height:1.35!important}
  body.soc-resource-type-translations.soc-unified-resource-v4 .soc-v4-language-block,
  body.soc-resource-type-translation-formulas.soc-unified-resource-v4 .soc-v4-formula-line,
  body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-notes{padding:13px!important;border-radius:12px!important}
  body.soc-resource-type-watch-videos.soc-unified-resource-v4 .soc-v4-video-shell{border-radius:12px!important}

  /* Recommendations / Recently Viewed / Study Companion */
  body.soc-suite-resource-single .soc-v42-context-sidebar{position:static!important;top:auto!important;width:100%!important;max-width:100%!important}
  body.soc-suite-resource-single .soc-v42-context-grid{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
  body.soc-suite-resource-single .soc-v42-context-card{padding:13px!important}
  body.soc-suite-resource-single .soc-v43-recent,
  body.soc-suite-resource-single .soc-v432-study-tools{width:100%!important;max-width:100%!important}
  body.soc-suite-resource-single .soc-v43-recent-item,
  body.soc-suite-resource-single .soc-v432-study-tool{min-height:50px!important;width:100%!important}
  body.soc-suite-resource-single .soc-v432-study-tool{grid-template-columns:34px minmax(0,1fr) auto!important;gap:9px!important;padding:9px 10px!important}
  body.soc-suite-resource-single .soc-v432-study-tool-copy{min-width:0!important}
  body.soc-suite-resource-single .soc-v432-study-tool-copy :is(strong,small){overflow-wrap:anywhere!important}

  /* Keep Going must not cover quiz buttons or bottom content. */
  body.soc-suite-resource-single .soc-v431-keepgoing{
    left:10px!important;right:10px!important;bottom:8px!important;width:auto!important;max-width:none!important;
    transform:translateY(18px)!important;grid-template-columns:32px minmax(0,1fr) 34px!important;gap:8px!important;
    padding:9px!important;border-radius:13px!important
  }
  body.soc-suite-resource-single .soc-v431-keepgoing.is-visible{transform:translateY(0)!important}
  body.soc-suite-resource-single .soc-v431-keepgoing-copy strong{font-size:12px!important}
  body.soc-suite-resource-single .soc-v431-keepgoing-open{grid-column:1/-1!important;width:100%!important;min-height:44px!important}
  body.soc-suite-resource-single .soc-v431-keepgoing-close{position:static!important;width:34px!important;height:34px!important}

  /* Search/archive discovery cards */
  body.soc-v41-discovery-page #primary>.soc-v41-discovery-meta,
  body.soc-v41-discovery-page .content-area>.soc-v41-discovery-meta{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:13px!important}
  body.soc-v41-discovery-page .soc-v41-loop-grid>.blog-entry,
  body.soc-v41-discovery-page .soc-v41-loop-grid>.search-entry,
  body.soc-v41-discovery-page .soc-v41-loop-grid>article{padding:14px!important}
}

@media(max-width:480px){
  body.soc-suite-public-inner #content-wrap{width:calc(100% - 14px)!important}
  body.soc-v41-browse .soc-inner-browser-shell{width:calc(100% - 10px)!important}
  body.soc-v41-browse .soc-v41-filter-head{grid-template-columns:1fr!important}
  body.soc-v41-browse .soc-v41-filter-toggle{width:100%!important}
  body.soc-v41-browse .soc-v41-active-filters{align-items:flex-start!important}
  body.soc-v41-browse .soc-v41-active-label{flex:1 0 100%!important}
  body.soc-suite-public-inner #main :is(.entry-title,.page-title,.elementor-widget-theme-post-title .elementor-heading-title){font-size:clamp(22px,8vw,28px)!important}
}


/* =========================================================
   SOC v4.6.0 — server-first anti-FOUC hardening
   Body/card state now arrives in initial HTML; these rules keep
   the first paint aligned with the final enhanced presentation.
   ========================================================= */
body.soc-v41-browse .soc-inner-browser-shell{contain:layout style}
body.soc-v41-discovery-page .soc-public-loop-card{min-width:0}
body.soc-suite-resource-single.soc-unified-resource-v4 #primary>article{min-width:0}
body.soc-suite-resource-single .soc-v46-server-context{opacity:1!important;filter:none!important;visibility:visible!important}
@media (prefers-reduced-motion: reduce){
  body.soc-suite-public-inner *,body.soc-suite-public-inner *::before,body.soc-suite-public-inner *::after{scroll-behavior:auto!important}
}


/* =========================================================
   SOC v4.6.1 — source-first Browse cleanup / anti-FOUC parity
   ========================================================= */
/* Legacy taxonomy UI must never paint inside a resource title. */
body.soc-v41-browse :is(.soc-title,.entry-title,.blog-entry-title,.elementor-post__title,h2,h3,h4)
  :is(.resource-card-chips,.soc-badges,.soc-resource-tax-chips,[class*="card-chips"],[class*="tax-chips"],[class*="badge"],[class*="chip"]){
  display:none!important;
  visibility:hidden!important;
}

/* Server-emitted Browse pieces use final styling before deferred JS starts. */
body.soc-v41-browse .soc-v461-server-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding:18px 20px 13px!important;
  border:1px solid #E8E1E7!important;
  border-bottom:1px solid #F0EBEF!important;
  border-radius:18px 18px 0 0!important;
  background:linear-gradient(180deg,#FFFCFA 0%,#FFF 100%)!important;
}
body.soc-v41-browse .soc-v461-server-head + .soc-v41-filter-form{
  margin-top:0!important;
  border:1px solid #E8E1E7!important;
  border-top:0!important;
  border-radius:0 0 18px 18px!important;
  background:#fff!important;
}
body.soc-v41-browse .soc-v41-filter-host .soc-v461-server-head{
  border:0!important;
  border-bottom:1px solid #F0EBEF!important;
  border-radius:0!important;
}
body.soc-v41-browse .soc-v41-filter-host .soc-v461-server-head + .soc-v41-filter-form{
  border:0!important;
  border-radius:0!important;
}

/* Final card geometry applies to original card class too, preventing old-card flash. */
body.soc-v41-browse :is(.soc-card,.resource-card){
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-width:0!important;
  padding:15px!important;
  border:1px solid #E7E0E6!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(45,22,48,.045)!important;
  overflow:hidden!important;
}
body.soc-v41-browse :is(.soc-card,.resource-card) :is(.soc-badges,.resource-card-chips,.soc-resource-tax-chips){
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  margin:0 0 10px!important;
}
body.soc-v41-browse :is(.soc-card,.resource-card) :is(.soc-title,h2,h3,h4){
  margin:0 0 7px!important;
  color:#28142E!important;
  font-size:15.5px!important;
  line-height:1.42!important;
}
body.soc-v41-browse :is(.soc-card,.resource-card) :is(.soc-desc,.entry-summary,.excerpt){
  margin-bottom:10px!important;
  color:#746B74!important;
  font-size:12.25px!important;
  line-height:1.55!important;
}
body.soc-v41-browse :is(.soc-card,.resource-card) .soc-card-foot{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  min-height:46px!important;
  margin-top:auto!important;
  padding-top:10px!important;
  border-top:1px solid #F1ECEF!important;
}

@media(max-width:767px){
  body.soc-v41-browse .soc-v461-server-head{padding:15px!important}
  body.soc-v41-browse .soc-v461-server-head p{display:none!important}
  body.soc-v41-browse .soc-v461-server-head .soc-v41-filter-toggle{display:inline-flex!important}
  body.soc-v41-browse .soc-v461-server-head + .soc-v41-filter-form{display:none!important}
  body.soc-v41-browse .soc-v41-filter-host.soc-v41-filter-open .soc-v41-filter-form{display:grid!important}
}

/* =========================================================
   SOC v4.6.2 — small-phone Browse header regression fix
   Prevent the full-width filter button from squeezing the
   server-rendered Study Library heading into a 1-character column.
   ========================================================= */
@media(max-width:480px){
  body.soc-v41-browse .soc-v461-server-head{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    padding:14px!important;
  }
  body.soc-v41-browse .soc-v461-server-head>div{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.soc-v41-browse .soc-v461-server-head span,
  body.soc-v41-browse .soc-v461-server-head strong{
    width:auto!important;
    max-width:100%!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    white-space:normal!important;
  }
  body.soc-v41-browse .soc-v461-server-head strong{
    font-size:18px!important;
    line-height:1.32!important;
  }
  body.soc-v41-browse .soc-v461-server-head .soc-v41-filter-toggle{
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    justify-content:center!important;
    margin:0!important;
  }
}

/* v5.6.3 — server-rendered resource archives; scoped to the new template only. */
body.soc-server-resource-archive .soc-archive563-wrap{width:min(calc(100% - 32px),var(--soc-inner-width,1280px))!important;max-width:1280px!important;margin-inline:auto!important;padding:24px 0 48px!important;box-sizing:border-box}
body.soc-server-resource-archive .soc-archive563-wrap #primary{width:100%!important;float:none!important;max-width:none!important;border:0!important;padding:0!important;margin:0!important}
.soc-archive563 .soc-inner-hero{border-radius:var(--soc-i-radius,18px);overflow:hidden;margin:0 0 22px!important}
.soc-archive563-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 20px;background:#fff;border:1px solid #eadfd8;border-radius:14px;margin-bottom:18px}
.soc-archive563-toolbar strong,.soc-archive563-toolbar span{display:block}.soc-archive563-toolbar strong{font-size:17px;color:var(--soc-i-heading,#28142e)}.soc-archive563-toolbar span{font-size:13px;color:#625a65}
.soc-archive563-toolbar a,.soc-archive563-foot a{color:#68245d!important;font-weight:700;text-decoration:none!important;min-height:42px;display:inline-flex;align-items:center;gap:5px;max-width:100%;overflow-wrap:anywhere}
.soc-archive563-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.soc-archive563-card{display:flex;flex-direction:column;min-width:0;gap:12px;padding:18px!important;margin:0!important;background:#fff!important;border:1px solid #eadfd8!important;border-radius:var(--soc-i-radius,18px)!important;box-shadow:0 6px 22px rgba(55,16,47,.06);overflow-wrap:anywhere}
.soc-archive563-chips{display:flex;gap:5px;flex-wrap:wrap}.soc-archive563-chips span{display:inline-block;padding:3px 8px;border:1px solid #ecdce8;background:#f5eaf3;color:#68245d;font-size:11px;font-weight:650;border-radius:7px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
.soc-archive563-card h2{font-size:17px!important;line-height:1.45!important;margin:0!important;letter-spacing:normal!important;font-weight:750!important;color:var(--soc-i-heading,#28142e)!important}.soc-archive563-card h2 a{color:inherit!important;text-decoration:none!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.soc-archive563-card p{color:#625a65;font-size:13px;line-height:1.55;margin:0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.soc-archive563-cover{display:block;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#fff8ef}.soc-archive563-cover img{display:block;width:100%;height:100%;object-fit:cover}
.soc-archive563-foot{margin-top:auto;border-top:1px solid #f0e6e0;padding-top:6px}.soc-archive563 a:focus-visible{outline:2px solid #68245d;outline-offset:3px}
.soc-archive563-pagination{margin-top:24px}.soc-archive563-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.soc-archive563-pagination .page-numbers{background:#fff;color:#68245d!important;border:1px solid #e7d6e2;border-radius:8px;padding:8px 12px;min-height:40px}.soc-archive563-pagination .page-numbers.current{background:#68245d!important;color:#fff!important}
@media(max-width:900px){.soc-archive563-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.soc-archive563-grid{grid-template-columns:minmax(0,1fr);gap:12px}.soc-archive563-card{padding:14px!important}.soc-archive563-toolbar{padding:13px}.soc-archive563-wrap{width:calc(100% - 24px)!important}}
body.soc-server-resource-archive #main > .page-header,body.soc-server-resource-archive .soc-archive563-wrap > .page-header{display:none!important}
