@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* Limit PR styles to the Producer Resources page only */
body.new-producer-resources header,
body.new-producer-resources .site-header,
body.new-producer-resources nav {
  all: revert; /* restores default styles in the header area */
}

/* Scope every rule below to .new-producer-resources */
body.new-producer-resources {
  /* keep your general resets here if any */
}

body.new-producer-resources .results {
	padding-top: 150px !important;
}

body.new-producer-resources .hero {
	margin-bottom: -200px !important;
}

/* Example scoping (illustrative) */
body.new-producer-resources .hero,
body.new-producer-resources .results,
body.new-producer-resources .footer {
  /* your existing template styles go here */
}

/* --- BEGIN header.css --- */
:root{
  --navy-900:#0B0E3A;
  --white:#fff;
  --muted:#a9afc3;
  --claims-bg:#2EE59D;
  --claims-bg-hover:#26cc8d;
  --claims-text:#001f16;
  --focus:#97b3ff;
}

/* Sticky header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1040;
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-backface-visibility: hidden;
}

/* Typography baseline */
html, body{
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.site-header .bg-navy{ background: var(--navy-900); }
.site-header .navbar{ min-height:60px; }

.navbar-brand .logo{ height:28px; width:auto; display:block; }

/* Main menu */
.main-menu{ gap:.25rem; }
.navbar .nav-link{
  color:var(--white);
  opacity:.9;
  font-weight:500;
  font-size:12px;
  padding:.375rem .6rem;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{ opacity:1; color:var(--white); text-decoration:none; }
.navbar .nav-link:focus{ outline:2px solid var(--focus); outline-offset:2px; border-radius:.25rem; }

/* Dropdown menu */
.dropdown-menu{ font-size:12px; }

/* Right rail */
.right-rail{ gap:.75rem; }
@media (min-width:992px){
  .right-rail{ justify-content:flex-end; }
}

/* Claims button */
.btn-claims{
  background:var(--claims-bg);
  color:var(--claims-text);
  font-weight:700;
  border:none;
  padding:.45rem 1.2rem;
  border-radius:999px;
  line-height:1.2;
  font-size:14px;
}
.btn-claims:hover,
.btn-claims:focus{ background:var(--claims-bg-hover); color:var(--claims-text); }

/* Login block */
.login-block{ color:var(--white); font-size:12px; display:flex; align-items:center; }
.login-label{ opacity:.8; margin-right:.35rem; }
.login-strong{ color:var(--white); font-weight:700; text-decoration:none; }
.login-strong:hover,
.login-strong:focus{ text-decoration:underline; color:var(--white); }
.text-sep{ color:var(--muted); margin:0 .25rem; }

.navbar-toggler{ border-color:rgba(255,255,255,.35); }
.navbar-toggler:focus{ box-shadow:0 0 0 .2rem rgba(255,255,255,.25); }

/* --- END header.css --- */

/* --- BEGIN hero.css --- */
:root{
  --navy-900:#0B0E3A;
  --text:#111827;
  --muted:#6b7280;
  --pill-bg:#ffffff;
  --pill-border:#e5e7eb;
  --pill-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05);
  --chip-bg:#f3f4f6;
  --chip-text:#111827;
  --chip-border:#e5e7eb;
  --tab-bg:#ffffff;
  --tab-border:#e5e7eb;
  --tab-active:#e9ecff;
}

/* Limit hero width to ~1100px but keep header/footer full-width */
.container-xl{ max-width:1100px !important; }

html, body{ font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color:var(--text); }

.hero{ padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* Horizontal-only gradient headline */
.hero-title{
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5rem 0;
  font-size: clamp(28px, 3.2vw + 10px, 44px);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #430bf9, #40ffb1);
  background-clip: text;
  color: transparent;
}

.hero-sub{ color: var(--muted); font-size: clamp(14px, 1.2vw, 16px); }

/* Tabs above search */
.hero-tabs{ display:flex; gap:.5rem; flex-wrap:wrap; }
.hero-tab{
  display:inline-block;
  padding:.35rem .7rem;
  border-radius:999px;
  background:var(--tab-bg);
  border:1px solid var(--tab-border);
  color:#111827;
  text-decoration:none;
  font-size:12px;
  line-height:1;
}
.hero-tab:hover{ background:#f6f7ff; border-color:#dfe3ff; }
.hero-tab.active{ background:var(--tab-active); font-weight:600; }

/* Capsule search */
.search-wrap{
  display: flex;
  align-items: center;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  box-shadow: var(--pill-shadow);
  padding: .25rem;
  max-width: 640px;
}
.search-input{
  appearance: none;
  border: none;
  outline: none;
  flex: 1 1 auto;
  font-size: 14px;
  padding: .6rem .9rem;
  background: transparent;
}
.search-input::placeholder{ color:#9ca3af; }
.search-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 44px;
  border: none;
  border-radius: 999px;
  background: rgb(66, 35, 255);
  color: #fff;
  cursor: pointer;
  margin-left: .25rem;
}
.search-btn:hover{ filter: brightness(1.05); }
.search-btn:focus{ outline: 2px solid #97b3ff; outline-offset: 2px; }

/* Popular chips */
.popular{ display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.popular .label{ color:var(--text); font-weight:700; font-size:12px; } /* bold label */
.chip{
  display:inline-block;
  padding:.35rem .6rem;
  border-radius:999px;
  background:var(--chip-bg);
  border:1px solid var(--chip-border);
  color:var(--chip-text);
  text-decoration:none;
  font-size:12px;
}
.chip:hover{ background:#eef2ff; border-color:#e0e7ff; }

/* Masked photo (33% smaller) */
.masked-photo{
  display:block;
  width: min(280px, 53vw);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 80% 20%, rgba(64,255,177,.18) 0%, rgba(67,11,249,.12) 45%, rgba(255,255,255,0) 60%);
  border-radius: 28% 72% 60% 40% / 40% 30% 70% 60%;
}
.masked-photo.mask-ready{
  border-radius: 0;
  -webkit-mask-size: contain;
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center center;
  mask-repeat: no-repeat;
}
.masked-photo .photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 55% 45%;
}

@media (max-width: 991.98px){
  .hero{ padding-top: 2rem; padding-bottom: 2rem; }
  .masked-photo{ margin-top: .5rem; }
}

/* --- END hero.css --- */

/* --- BEGIN results.css --- */
:root{
  --results-bg:#f5f6f8;
  --card-bg:#ffffff;
  --card-border:#e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 10px 20px -12px rgba(0,0,0,.08);
  --text:#1f2937;
  --muted:#6b7280;
}

/* Keep results width aligned with hero */
.container-xl{ max-width:1100px !important; }

/* Light gray panel like the mockup */
.results.mockup-style{ background: var(--results-bg); }
.results-title{
  font-weight: 700;
  font-size: clamp(18px, 1.4vw + 10px, 28px);
  margin: 0;
}
.results-count{ font-weight: 400; color: var(--muted); }

/* Thumbnail cards */
.thumb-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 6px;
}
.thumb-media{
  position: relative;
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #ececec, #dcdcdc);
  aspect-ratio: 16 / 11;
}
.thumb-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-media.no-img{
  background: repeating-linear-gradient(45deg, #eaeaea, #eaeaea 8px, #e0e0e0 8px, #e0e0e0 16px);
}

.thumb-title{
  font-size: 14px;
  font-weight: 600;
  margin: 8px 2px 4px;
}
.thumb-title a{
  color: var(--text);
  text-decoration: none;
}
.thumb-title a:hover{ text-decoration: underline; }

/* --- END results.css --- */

/* --- BEGIN footer.css --- */
:root{
  --footer-top:#4223ff;
  --footer-bottom:#0e0e47;
  --footer-fg:#ffffff;
  --footer-muted:#d7dbff;
  --link:#ffffff;
  --link-hover:#e6e9ff;
  --divider:rgba(255,255,255,.12);
}

.tco-footer{ font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color:var(--footer-fg); }

/* Top panel */
.tco-footer-top{
  background: var(--footer-top);
  padding: 48px 0;
}
.footer-logomark{
  width: 288px;
  height: auto;
}
.agency-name{ font-size:14px; font-weight:700; margin:0 0 .35rem; }
.agency-meta{ list-style:none; padding:0; margin:0 0 .75rem; color:var(--footer-muted); font-size:12px; }
.agency-meta li + li{ margin-top:.2rem; }

/* Social icons */
.socials{ display:flex; align-items:center; gap:12px; }
.social{ color:#fff; opacity:.9; display:inline-flex; }
.social:hover{ opacity:1; }

/* Link columns */
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li + li{ margin-top:.4rem; }
.footer-links a{ color:var(--link); text-decoration:none; opacity:.95; font-size:13px; }
.footer-links a:hover{ color:var(--link-hover); text-decoration:underline; }

/* Bottom strip */
.tco-footer-bottom{
  background: var(--footer-bottom);
  border-top: 1px solid var(--divider);
  padding: 12px 0;
  font-size:12px;
  color: var(--footer-muted);
}
.tco-footer-bottom .legal-links a{ color: var(--footer-muted); text-decoration:none; }
.tco-footer-bottom .legal-links a:hover{ color:#fff; text-decoration:underline; }
.tco-footer-bottom .sep{ margin:0 .5rem; opacity:.7; }
.tco-footer-bottom .copyright{ color: var(--footer-muted); }

/* --- END footer.css --- */

/* Scope to this template only */
body.new-producer-resources .navbar { overflow: visible; }
body.new-producer-resources .navbar .dropdown-menu.show {
  display: block; /* defeats any global display:none !important */
}
body.new-producer-resources .navbar .dropdown-menu {
  margin-top: .5rem;
  z-index: 1080; /* above header/hero; adjust if needed */
}

/* --- Results: turn WP blocks into our grid cards --- */
.results .results-wp {
  /* nothing special, just a wrapper */
}

/* LATEST POSTS (is-grid) ---------------------------- */
.results .wp-block-latest-posts.is-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

@media (max-width: 991.98px) {
  .results .wp-block-latest-posts.is-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .results .wp-block-latest-posts.is-grid { grid-template-columns: 1fr; }
}

/* each li becomes a card */
.results .wp-block-latest-posts.is-grid li {
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  box-shadow: 0 1px 0 0 rgba(17, 23, 89, 0.04);
  overflow: hidden;
}

/* featured image */
.results .wp-block-latest-posts__featured-image,
.results .wp-block-latest-posts__featured-image a,
.results .wp-block-latest-posts__featured-image img {
  display: block;
  width: 100%;
}
.results .wp-block-latest-posts__featured-image img {
  height: 180px;           /* tune to taste */
  object-fit: cover;
}

/* title/link */
.results .wp-block-latest-posts.is-grid li > a {
  display: block;
  padding: 8px 12px 12px;
  font-family: var(--font-ui, 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #111759;
  text-decoration: none;
}
.results .wp-block-latest-posts.is-grid li > a:hover { text-decoration: underline; }

/* optional meta (if enabled in block) */
.results .wp-block-latest-posts__post-author,
.results .wp-block-latest-posts__post-date {
  display: none; /* hide to match design – show if you need */
}

/* QUERY LOOP (post template) ------------------------ */
.results .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

@media (max-width: 991.98px) {
  .results .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .results .wp-block-post-template { grid-template-columns: 1fr; }
}

.results .wp-block-post {
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  box-shadow: 0 1px 0 0 rgba(17, 23, 89, 0.04);
  overflow: hidden;
}

.results .wp-block-post-featured-image,
.results .wp-block-post-featured-image a,
.results .wp-block-post-featured-image img {
  display: block; width: 100%;
}
.results .wp-block-post-featured-image img {
  height: 180px;
  object-fit: cover;
}

.results .wp-block-post-title,
.results .wp-block-post-title a {
  display: block;
  margin: 0;
  padding: 8px 12px 12px;
  font-family: var(--font-ui, 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #111759;
  text-decoration: none;
}
.results .wp-block-post-title a:hover { text-decoration: underline; }

/* remove default list bullets/margins just in case */
.results .wp-block-post-template > li { list-style: none; }

/* === Producer Resources – Results page: make WP block output match card grid === */
body.page-id-16075 .results { padding-top: 3rem; padding-bottom: 3rem; }

/* Headline: match search page style */
body.page-id-16075 .results .wp-block-heading {
  font-size: clamp(1.25rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #0e0e47;
}

/* Count/suggestion line */
body.page-id-16075 .tco-pr-search-results .search-results-count {
  margin-bottom: 1rem;
  font-weight: 500;
}
body.page-id-16075 .tco-pr-search-results .search-results-suggestion {
  font-weight: 400;
  font-size: .95rem;
}

/* Build a 4-up grid like the search page */
body.page-id-16075 .tco-pr-search-results .search-results-grouped {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Flatten category wrappers so items flow in the grid */
body.page-id-16075 .tco-pr-search-results .search-results-category { display: contents; }
body.page-id-16075 .tco-pr-search-results .search-results-category .search-results-list { display: contents; }

/* Hide category headings (we want a single mixed grid like the search page) */
body.page-id-16075 .tco-pr-search-results .category-title,
body.page-id-16075 .tco-pr-search-results .category-description { display: none !important; }


/* Card */
body.page-id-16075 .tco-pr-search-results .search-result-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(14, 14, 71, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.page-id-16075 .tco-pr-search-results .search-result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 14, 71, 0.12);
}

/* Image block */
body.page-id-16075 .tco-pr-search-results .search-result-image,
body.page-id-16075 .tco-pr-search-results .search-result-image a {
  display: block;
}
body.page-id-16075 .tco-pr-search-results .search-result-image img {
  width: 100%;
  height: 190px;           /* match your search cards’ feel */
  object-fit: cover;
  display: block;
}

/* Content */
body.page-id-16075 .tco-pr-search-results .search-result-content {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Title like the search cards */
body.page-id-16075 .tco-pr-search-results .search-result-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}
body.page-id-16075 .tco-pr-search-results .search-result-title a {
  color: #0e0e47;
  text-decoration: none;
}
body.page-id-16075 .tco-pr-search-results .search-result-title a:hover {
  text-decoration: underline;
}

/* Hide meta/excerpt if you want the tight card look */
.tco-pr-search-results .search-result-date,
.tco-pr-search-results .search-result-excerpt,
.tco-pr-search-results .search-result-link {
  display: none !important;
}

/* Responsive columns (4 desktop, 3 tablet, 2 mobile-horizontal, 1 mobile) */
@media (max-width: 1199.98px) {
  body.page-id-16075 .tco-pr-search-results .search-results-grouped {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 991.98px) {
  body.page-id-16075 .tco-pr-search-results .search-results-grouped {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  body.page-id-16075 .tco-pr-search-results .search-results-grouped {
    grid-template-columns: 1fr;
  }
}

/* Tidy up odd p-wrapper the block output added around the results */
body.page-id-16075 .results .results-wp > p {
  margin: 0;
}




/* ===== Results page: upgrade Query Loop cards to 'two.png' look ===== */
body.page-id-16075 .wp-block-query{
  --card-radius: 14px;
  --card-shadow: 0 10px 24px rgba(14,14,71,.10);
  --card-shadow-hover: 0 14px 28px rgba(14,14,71,.14);
  --card-border: 1px solid #eceff3;
  --tag-bg: #eef2ff;
  --tag-bd: #dde3ff;
  --tag-fg: #27329a;
  --title-fg: #0e0e47;
  --text-fg: #5b5f73;
  --cta-bg: #29e09e;
  --cta-fg: #001f16;
}

/* Card container (each post) */
body.page-id-16075 .wp-block-query .wp-block-post{
  background:#fff;
  border-radius:var(--card-radius);
  box-shadow:var(--card-shadow);
  border:var(--card-border);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
}
body.page-id-16075 .wp-block-query .wp-block-post:hover{
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

/* Featured image */
body.page-id-16075 .wp-block-query .wp-block-post-featured-image img{
  width:100%;
  height:190px;           /* like two.png */
  object-fit:cover;
  display:block;
}

/* Inner content spacing (assumes you’re using a Group inside the Query Loop) */
body.page-id-16075 .wp-block-query .wp-block-post > .wp-block-group{
  padding:12px 14px 14px;
  display:grid;
  grid-template-rows:auto auto 1fr auto; /* tag, title, excerpt, button */
  row-gap:8px;
}

/* Tag chip: if you add a Post Terms block (Categories) before title */
body.page-id-16075 .wp-block-query .wp-block-post .wp-block-post-terms{
  display:inline-block;
  font-size:12px;
  line-height:1;
  padding:.35rem .55rem;
  border-radius:999px;
  background:var(--tag-bg);
  color:var(--tag-fg);
  border:1px solid var(--tag-bd);
  font-weight:600;
  width:max-content;
}

/* Title */
body.page-id-16075 .wp-block-query .wp-block-post-title{
  margin:0;
  font-size:1.05rem;
  line-height:1.25;
  font-weight:700;
  color:var(--title-fg);
}
body.page-id-16075 .wp-block-query .wp-block-post-title a{
  text-decoration:none; color:inherit;
}
body.page-id-16075 .wp-block-query .wp-block-post-title a:hover{
  text-decoration:underline;
}

/* Excerpt */
body.page-id-16075 .wp-block-query .wp-block-post-excerpt{
  margin:0;
  color:var(--text-fg);
  font-size:.93rem;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* CTA button (use a Buttons block with one Button) */
body.page-id-16075 .wp-block-query .wp-block-buttons{
  margin-top:6px;
}
body.page-id-16075 .wp-block-query .wp-block-button .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:38px;
  padding:0 16px;
  border-radius:999px;
  background:var(--cta-bg);
  color:var(--cta-fg);
  font-weight:700;
  border:none;
  box-shadow:none;
}

/* Optional: heart “save” icon as a floating button.
   Add an Image or Buttons block set to absolute via custom class `.is-fav` */
body.page-id-16075 .wp-block-query .wp-block-post .is-fav{
  position:absolute; top:10px; right:10px;
  height:36px; width:36px; border-radius:999px;
  background:#fff; border:1px solid #e9ecf3;
  box-shadow:0 4px 10px rgba(0,0,0,.12);
  display:inline-flex; align-items:center; justify-content:center;
  color:#7a79ff;
}

#wpadminbar { display: none;}


/* --- BEGIN compact hero bar (appears AFTER scroll) --- */

/* Bar height & offsets */
:root{
  --pr-bar-h: 65px;
  --pr-bar-top-desktop: 120px;
  --pr-bar-top-mobile: 80px;
}

/* Reserve space under the bar so content is never covered */
.results{
  padding-top: var(--pr-bar-h);
}

/* Fixed bar: mounted always; hidden via opacity until .show */
.pr-hero-bar{
  position: fixed;
  top: var(--pr-bar-top-desktop);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1039;

  height: var(--pr-bar-h);
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.05);
  margin-top: -2px;

  /* hide without causing layout changes */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

/* Mobile & smaller laptops up to 1187px */
@media (max-width: 1187px){
  .pr-hero-bar{ top: var(--pr-bar-top-mobile); }
}

/* When shown, just fade/slide in (no layout shift) */
.pr-hero-bar.show{
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pr-hero-bar__inner{
  height: var(--pr-bar-h);
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.pr-hero-bar__title{
  font-weight: 700;
  font-size: 16px;
  color: #0e0e47;
  white-space: nowrap;
}

.pr-hero-bar__search{
  margin-left: auto;
  max-width: 560px;
  flex: 1 1 auto;
}

.pr-hero-bar .search-input{ padding: .5rem .8rem; }
.pr-hero-bar .search-btn{ height: 38px; width: 42px; }

@media (max-width: 575.98px){
  .pr-hero-bar__inner{
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    height: auto;
  }
  .pr-hero-bar{
    min-height: var(--pr-bar-h);
  }
  .pr-hero-bar__title{
    margin-top: 2px;
  }
  .pr-hero-bar__search{
    width: 100%;
    margin-left: 0;
  }
}
/* --- END compact hero bar --- */


/* === Query Loop: Resource Card Styles (Vega 2025-09-15) === */
.wp-block-query .wp-block-post-template {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
}
@media (min-width: 640px) {
    .wp-block-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .wp-block-query .wp-block-post-template { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Card */
.wp-block-query .wp-block-post-template > li,
.wp-block-query .wp-block-post {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.04);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.wp-block-query .wp-block-post-template > li:hover,
.wp-block-query .wp-block-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10), 0 24px 48px rgba(0,0,0,.06);
}

/* Featured image */
.wp-block-post-featured-image,
.wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}
.wp-block-post-featured-image a,
.wp-block-post-featured-image img {
    border-radius: 12px;
}
.wp-block-query .wp-block-post-template > li .wp-block-post-featured-image {
    padding: 12px;
}

/* Body */
.wp-block-query .wp-block-post-template > li .card-body {
    padding: 0 16px 18px 16px;
}
/* If no wrapper exists, apply to direct children */
.wp-block-query .wp-block-post-template > li > *:not(.wp-block-post-featured-image) { padding-left: 16px; padding-right:16px; }

/* Tags/Categories as boxes */
.wp-block-post-terms,
.wp-block-post-terms__separator {
    margin-top: 6px;
}
.wp-block-post-terms a {
    display: inline-block;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #0b0e3a;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 10px;
    margin: 8px 8px 0 0;
    text-decoration: none;
    white-space: nowrap;
}
.wp-block-post-terms a:hover { background:#eef2ff; border-color:#c7d2fe; }

/* Title */
.wp-block-post-title {
    font-size: 18px;
    line-height: 1.25;
    margin-top: 10px;
    margin-bottom: 6px;
}
.wp-block-post-title a { color: #111827; text-decoration: none; }
.wp-block-post-title a:hover { text-decoration: underline; }

/* Excerpt */
.wp-block-post-excerpt { color:#374151; font-size:14px; margin: 8px 0 10px; }

/* Learn More button (green capsule) */
.wp-block-read-more,
a.wp-block-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    background: #39d98a; /* Coterie green */
    color: #0b1020;       /* dark text */
    margin: 8px 0 14px;
    transition: background .15s ease, transform .15s ease;
}
.wp-block-read-more:hover,
a.wp-block-read-more:hover { background:#2fc57c; transform: translateY(-1px); color:#0b1020; }
.wp-block-read-more:focus-visible { outline: 2px solid #97b3ff; outline-offset: 2px; }

/* Reset default list spacing that Gutenberg may inject */
.wp-block-post-template.is-flex-container { gap: 24px; }


/* === Query Loop: Resource Card Styles (Vega 2025-09-15 • refined) === */
.wp-block-query .wp-block-post-template {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
    margin: 0;
}
@media (min-width: 640px) {
    .wp-block-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .wp-block-query .wp-block-post-template { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Card container */
.wp-block-query .wp-block-post-template > li,
.wp-block-query .wp-block-post {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.04);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
}
.wp-block-query .wp-block-post-template > li:hover,
.wp-block-query .wp-block-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10), 0 24px 48px rgba(0,0,0,.06);
}

/* Featured image: equal padding and 4:3 ratio */
.wp-block-post-featured-image { 
    margin: 0; 
    padding: 16px; 
}
/*.wp-block-post-featured-image a, */
.wp-block-post-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

/* Body padding */
.wp-block-query .wp-block-post-template > li > *:not(.wp-block-post-featured-image) {
    padding-left: 16px; 
    padding-right: 16px; 
}

/* Order the interior blocks so tags appear above the title */
.wp-block-query .wp-block-post-template > li .wp-block-post-terms { order: 10; }
.wp-block-query .wp-block-post-template > li .wp-block-post-title { order: 20; }
.wp-block-query .wp-block-post-template > li .wp-block-post-excerpt { order: 30; }
.wp-block-query .wp-block-post-template > li .wp-block-read-more { order: 40; }

/* Tags/Categories as boxes */
.wp-block-post-terms { margin-top: 8px; }
.wp-block-post-terms a {
    display: inline-block;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #0b0e3a;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 10px;
    margin: 8px 8px 0 0;
    text-decoration: none;
    white-space: nowrap;
}
.wp-block-post-terms a:hover { background:#eef2ff; border-color:#c7d2fe; }

/* Title treatments */
.wp-block-post-title {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 8px;
    margin-bottom: 6px;
}
.wp-block-post-title a { color: #111827; text-decoration: none; }
.wp-block-post-title a:hover { text-decoration: underline; }

/* Excerpt */
.wp-block-post-excerpt { color:#374151; font-size:14px; margin: 4px 0 10px; }

/* Learn More button (green capsule) */
.wp-block-read-more,
a.wp-block-read-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #0b1020;
    background: white;
    color: #0b1020;       /* dark text */
    margin: 8px 0 16px;
    transition: background .15s ease, transform .15s ease;
}
.wp-block-read-more:hover,
a.wp-block-read-more:hover { background:#4223ff; transform: translateY(-1px); color:#ffffff; }
.wp-block-read-more:focus-visible { outline: 2px solid #97b3ff; outline-offset: 2px; }

.pr-template-scope .wp-block-read-more{font-size:14px;font-weight:400;}

.pr-template-scope a.wp-block-read-more{font-size:14px;font-weight:400;}

/* Fallback chip for CPT label when no terms exist */
.pr-template-scope .tco-chip-fallback{
    display:inline-block;
    border:1px solid #d1d5db;
    background:#f8fafc;
    color:#0b0e3a;
    font-weight:600;
    font-size:12px;
    line-height:1;
    padding:8px 10px;
    border-radius:10px;
    margin:8px 8px 0 0;
}


/* === V5 refinements === */

/* Ensure card is a flex column so order works if needed */
.pr-template-scope .wp-block-query .wp-block-post-template>li,
.pr-template-scope .wp-block-query .wp-block-post{display:flex;flex-direction:column}

/* Featured image full width + 4:3 ratio */
.pr-template-scope .wp-block-query .wp-block-post .wp-block-post-featured-image{margin:0 !important;padding:16px !important;width:100% !important}
.pr-template-scope .wp-block-query .wp-block-post .wp-block-post-featured-image>a{display:block !important;width:100% !important}
.pr-template-scope .wp-block-query .wp-block-post .wp-block-post-featured-image img{display:block !important;width:100% !important;aspect-ratio:4/3 !important;object-fit:cover !important;height:auto !important;border-radius:12px !important}

/* Put terms above title if CSS ordering is used */
.pr-template-scope .wp-block-query .wp-block-post-template>li .wp-block-post-terms{order:10}
.pr-template-scope .wp-block-query .wp-block-post-template>li .wp-block-post-title{order:20}

/* Title: Poppins 18px / 700 with !important to beat theme overrides */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
.pr-template-scope .wp-block-post-title{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif !important;font-size:18px !important;font-weight:700 !important;}

/* Learn More: smaller type (12px) and tighter padding */
.pr-template-scope .wp-block-read-more,
.pr-template-scope a.wp-block-read-more{font-size:12px !important;font-weight:400 !important;padding:5px 12px !important;border-radius:999px}

.pr_card-container > li > div {
	padding: 0 !important;
}

.pr_card-container > li > div div:nth-child(2) {
	padding: 0 16px !important;
}

.pr_card-container > li > div div:nth-child(2) h2,
.pr_card-container > li > div div:nth-child(2) h2 a,
.tco-pr-search-results h4 a {
	padding: 2px 0 !important;
	font-weight: 700 !important;
	font-size: 16px !important;
}

.pr_card-container li , 
.tco-pr-search-results article {
	display: block;
	position: relative;
	padding-bottom: 75px;
}

/* Left-align Learn More buttons, keep same vertical position & width */
.pr_card-container .wp-block-read-more.tco-injected,
.tco-pr-search-results .wp-block-read-more.tco-injected {
  position: absolute;
  bottom: 10px;     /* unchanged vertical offset */
  left: 10px;       /* anchor to left instead of right */
  right: auto;      /* disable right alignment */
  margin-left: 0px; 
  margin-right: 0;  /* prevent extra offset */
  padding-left: 20px !important;
  padding-right: 20px !important;
  width: 110px !important; /* unchanged width */
}



.tco-injected-terms {
	display: none;
}




.tco-pr-header { display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; flex-wrap:wrap; }
.tco-filter-bar { display:flex; flex-wrap:wrap; gap:.5rem; }

.tco-filter-chip {
  appearance:none; border:0; border-radius:10px; padding:.4rem .65rem .4rem .6rem;
  background:#22264C; color:#fff; font:600 14px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  cursor:pointer; display:inline-flex; align-items:center; gap:.5rem;
}
.tco-filter-chip .tco-chip-x { opacity:.8; font-weight:700; }
.tco-filter-chip.is-off { background:#e6e8ee; color:#111; }
.tco-filter-chip:is(:hover,:focus-visible) { filter:brightness(1.05); outline:none; }

/* Task 1: Responsive results grid */
.tco-pr-search-results .search-results-grouped {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}



/* Task 2 & 3: Left-align learn more buttons */

.wp-block-read-more.tco-injected,
.results-grid .learn-more,
.wp-block-query .learn-more {
  display: inline-block;
  margin-left: 5px;
  text-align: left;
}

/* Task 4: Limit headlines */
.pr_card-container h2 a,
.wp-block-query .wp-block-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* limit to two lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis !important;
  max-height: 43px; /* ~2 lines */
}



/* ============================================================
   BOOTSTRAP 5.3 → 5.2 COMPATIBILITY PATCH (Producer Resources)
   ============================================================ */

/* 5.3 introduced --bs-border-color & --bs-border-opacity.
   Bootstrap 5.2 still expects a flat --bs-border-color */
:root {
  --bs-border-color: #dee2e6 !important;
  --bs-border-radius: 0.375rem !important;
  --bs-border-width: 1px !important;
}

/* Ensure our .container-xl behaves consistently under 5.2 */
body.new-producer-resources .container-xl {
  max-width: 1100px !important;
  padding-left: var(--bs-gutter-x, 0.75rem) !important;
  padding-right: var(--bs-gutter-x, 0.75rem) !important;
}

/* 5.2 doesn’t define --bs-body-bg and --bs-body-color the same way */
body.new-producer-resources {
  --bs-body-bg: #ffffff;
  --bs-body-color: #111827;
}

/* Grid gaps: 5.3 changed how gap utilities resolve; force consistent spacing */
body.new-producer-resources .row,
body.new-producer-resources [class*="col-"] {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

/* Buttons: guarantee rounded pills still render under 5.2 default theme */
body.new-producer-resources .btn,
body.new-producer-resources [class*="btn-"] {
  border-radius: 999px !important;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif !important;
}

/* Dropdowns: 5.3 tightened overflow; re-enable visibility */
body.new-producer-resources .dropdown-menu {
  overflow: visible !important;
  z-index: 1080 !important;
}

/* Utility re-introductions from 5.3 that 5.2 lacks */
.text-bg-primary { color: #fff !important; background-color: #4223ff !important; }
.text-bg-light   { color: #111827 !important; background-color: #f8f9fa !important; }

/* ratio polyfill if you used aspect-ratio classes in markup */
.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  display: block;
  padding-top: calc(100% * var(--bs-aspect-ratio, 0.5625));
  content: "";
}
.ratio > * {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Slight top margin to offset sticky site header overlap */
body.new-producer-resources .hero {
  margin-top: 70px; /* match site header height */
}


.tco_noresultsblock .tco-injected-terms {
	display: none !important;
}

.tco_noresultsblock {
	display:none;
}

.tco-pr-noresults .tco_noresultsblock {
	display:block;
	margin-top:1.5em;
}