/* Interior page shared styles */

/* ===== INTERIOR HERO ===== */
.interior-hero {
  position: relative;
  overflow: hidden;
  min-height: 445px;
  display: flex;
  align-items: flex-end;
}

.interior-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.70) 100%);
  z-index: 1;
}

.interior-hero .media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.interior-hero .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interior-hero .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 110px;
  gap: 40px;
}

.interior-hero.has-back-link,
.interior-hero.has-button {
  min-height: calc(415px + 150px);
}

.interior-hero.has-back-link .hero-inner {
  padding-bottom: 50px;
}

.interior-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 100%;
}

.interior-hero-eyebrow {
  color: #FFFFFF;
  margin: 0;
}

.interior-hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.interior-hero-back-link:hover {
  color: #FFFFFF;
  opacity: 0.85;
}

.interior-hero-back-link-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.interior-hero h1 {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 50px;
  font-weight: 500;
  line-height: 65px;
  color: #FFFFFF;
  margin: 0;
  max-width: none;
}

.page-publications-details .interior-hero-copy {
  max-width: none;
  width: 100%;
}

.page-blog-details .interior-hero-copy {
  max-width: 1143px;
}

.interior-hero .btn-layout.yellow {
  flex-shrink: 0;
}
 


/* ===== INTERIOR CONTENT BLOCKS (alternating) ===== */
.interior-block {
  padding: 90px 0;
}

.page-faqs-details .interior-block,
.page-appeals-details .interior-block {
  padding: 50px 0;
}

.interior-block:nth-child(odd) {
  background: var(--bg, #FFFFFF);
}

.interior-block:nth-child(even) {
  background: var(--bg-alt, #E1E7EB);
}

.sd-blocks.grey .interior-block:nth-child(odd) {
  background: var(--bg-alt, #E1E7EB);
}

.sd-blocks.grey .interior-block:nth-child(even){
  background: var(--bg, #FFFF);
}


.interior-block-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.interior-block-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.interior-block .section-title {
  margin-bottom: 30px;
}

.interior-block-subheading {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink, #061C2D);
  margin: 50px 0 30px;
}

.interior-block .section-body strong {
  color: var(--brand, #4079A0);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0.12px;
}

.interior-block .section-body a {
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.12px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-underline-position: from-font;
}

.page-publications-details .interior-block .section-body a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.page-publications-details .interior-block .section-body ul,
.page-publications-details .interior-block .section-body ol {
  margin: 0 0 34px 28px;
  padding: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: var(--base-size, 20px);
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.12px;
}

.page-publications-details .interior-block .section-body li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.page-publications-details .interior-block .section-body li:last-child {
  margin-bottom: 0;
}

.section-body .heavy {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px; 
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--ink, #061C2D);
}

/* ===== INTERIOR FAQ ===== */
.interior-faq {
  background: var(--bg, #FFFFFF);
  padding: 110px 0;
}

.interior-faq-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 100px;
  align-items: start;
}

.interior-faq-intro .section-eyebrow {
  margin-bottom: 10px;
}

.interior-faq-intro .section-title {
  margin-bottom: 50px;
}

.interior-faq-btn {
  width: 100%;
  justify-content: center;
}

.interior-faq-list {
  display: flex;
  flex-direction: column;
}

.interior-faq-item {
  /* border-bottom: 1px solid var(--border, #E4E4E4); */
}

.interior-faq-item:first-child {
  /* border-top: 1px solid var(--border, #E4E4E4); */
}

.interior-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 36px 0;
  background: none;
  border: none;
  cursor: pointer;
  gap: 20px;
  text-align: left;
}

.interior-faq-question span:first-child {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink, #061C2D);
}

.interior-faq-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink, #061C2D);
  border-radius: var(--radius, 4px);
  flex-shrink: 0;
}

.interior-faq-toggle .cnm-icon {
  color: #FFFFFF;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.interior-faq-item.is-open .interior-faq-toggle .cnm-icon {
  transform: rotate(45deg);
}

.interior-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 0;
}

.interior-faq-item.is-open .interior-faq-answer {
  padding-bottom: 30px;
}

/* ===== INTERIOR LISTING ===== */
.interior-listing {
  --listing-section-bg: transparent;
  --listing-pad-top: 90px;
  --listing-pad-bottom: 90px;
  --listing-card-bg: var(--bg-alt, #E1E7EB);
  --listing-card-title-color: var(--ink, #061C2D);
  --listing-filter-active-bg: var(--gold, #FFD400);
  --listing-filter-active-color: var(--ink, #061C2D);
  --listing-filter-border: var(--border, #E4E4E4);
  --listing-filter-color: var(--ink-light, #5F5F5F);
  --listing-filters-surface-bg: transparent;
  --listing-filters-surface-padding: 0;
  --listing-filters-surface-gap: 30px;
  --listing-toggle-bg: transparent;
  --listing-toggle-border: var(--listing-filter-border);
  --listing-toggle-color: var(--listing-filter-color);
  --listing-link-color: var(--ink-mid, #07253E);
  --listing-tag-bg: var(--brand-dark, #26526D);
  --listing-tag-color: #FFFFFF;
  background: var(--listing-section-bg);
  padding: var(--listing-pad-top) 0 var(--listing-pad-bottom);
}

.interior-listing-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.interior-listing-filters-surface {
  padding: var(--listing-filters-surface-padding);
  background: var(--listing-filters-surface-bg);
  margin-bottom: var(--listing-filters-surface-gap);
}

.interior-listing-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.interior-listing-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 37px;
  border: 3px solid var(--listing-filter-border);
  background: transparent;
  color: var(--listing-filter-color);
  border-radius: 7px;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.interior-listing-filter:hover {
  background: var(--listing-filter-active-bg);
  border-color: var(--listing-filter-active-bg);
  color: var(--listing-filter-active-color);
}

.interior-listing-filter.is-active {
  background: var(--listing-filter-active-bg);
  border-color: var(--listing-filter-active-bg);
  color: var(--listing-filter-active-color);
  font-weight: 700;
}

.interior-listing-filter-panel {
  position: relative;
  margin-left: auto;
}

.interior-listing-filter-panel summary {
  list-style: none;
}

.interior-listing-filter-panel summary::-webkit-details-marker {
  display: none;
}

.interior-listing-filter.is-toggle {
  height: 55px;
  padding: 9px 20px;
  min-width: fit-content;
  white-space: nowrap;
  background: var(--listing-toggle-bg);
  border-color: var(--listing-toggle-border);
  color: var(--listing-toggle-color);
}

.interior-listing-filter-toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.interior-listing-filter-toggle-icon::before {
  content: "";
  position: absolute;
  inset: 2px 0 0 0;
  width: 10px;
  height: 10px;
  margin: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.interior-listing-filter-menu {
  display: none;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding-top: 10px;
}

.interior-listing-filter-panel[open] + .interior-listing-filter-menu {
  display: flex;
}

.interior-listing-filter-panel[open] .interior-listing-filter-toggle-icon::before {
  transform: rotate(-135deg);
}

.interior-listing-results {
  display: grid;
  grid-template-columns: repeat(var(--listing-columns, 1), 1fr);
  gap: var(--listing-results-gap, 20px);
}

.interior-listing-group {
  display: flex;
  flex-direction: column;
  gap: var(--listing-group-card-gap, 26px);
}

.interior-listing-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 0 0 20px;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  line-height: normal;
}


.interior-listing-sort-label {
  color: var(--ink, #061C2D);
  font-weight: 600;
}

.interior-listing-sort-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  color: var(--ink-light, #5F5F5F);
  cursor: pointer;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.interior-listing-sort-btn:hover {
  color: var(--ink, #061C2D);
}

.interior-listing-sort-btn.is-active {
  color: var(--ink, #061C2D);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.interior-listing-group-title {
  color: #000000;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 26px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin: 0;
}

.page-blog-category .interior-listing-blog-tag,
.page-blog-category .interior-listing-card--blog .interior-listing-blog-tag {
  display: none !important;
}

.interior-listing-results-surface {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.interior-listing-card {
  background: var(--listing-card-bg);
  padding: 20px 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.interior-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-blog-listing {
    background: #FFF;
}
.interior-listing-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.interior-listing-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.interior-listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  gap: 8px;
}

.interior-listing-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.interior-listing-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 0;
  background: var(--listing-tag-bg);
  color: var(--listing-tag-color);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.interior-listing-tag.is-unpublished {
  background: #FFD400;
  color: #061C2D;
}

/* Hide per-card category tag when a specific filter is active —
   the active filter button already communicates the category,
   so repeating it on every card is redundant.
   Works on both the publications listing and the FAQs listing. */
.interior-listing:has(.interior-listing-filter.is-active:not([data-filter="all"])) .interior-listing-tag {
  display: none;
}

.interior-listing-date {
  color: #061C2D;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.interior-listing-title {
  margin-bottom: 20px;
  color: var(--listing-card-title-color);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.interior-listing-link {
  color: var(--listing-link-color);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.interior-listing-link:hover {
  color: var(--listing-card-title-color);
}

.interior-listing-card--blog {
  padding: 0;
  background: #E1E7EB;
}

.interior-listing-card--blog .interior-listing-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.interior-listing-blog-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 20px 30px;
  background: #4079A0;
  color: var(--listing-tag-color);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.interior-listing-card--blog .interior-listing-card-body {
  width: 100%;
  padding: 30px 20px 40px;
  gap: 18px;
}

.interior-listing-card--blog .interior-listing-date {
  margin: 0;
  color: var(--listing-filter-color);
  font-size: 18px;
  line-height: 1.5;
  white-space: normal;
}

.interior-listing-card--blog .interior-listing-title {
  margin: 0;
  line-height: 1.4;
}

.interior-listing-excerpt {
  margin: 0;
  color: var(--listing-filter-color);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.interior-listing-card--blog .interior-listing-link {
  margin-top: auto;
  font-size: 18px;
}

.interior-listing-actions {
  display: flex;
  justify-content: center;
}

.interior-listing-load-all {
  /* padding-top: 24px; */
  /* padding: 24px 70px; */
  /* padding-bottom: 24px; */
}

/* ===== INTERIOR VIDEO ARCHIVE ===== */
.page-resources-video {
  background: var(--bg, #FFFFFF);
}

.resources-video-description {
  padding: 30px 0;
  background: var(--bg, #FFFFFF);
}

.resources-video-description .section-body {
  max-width: 811px;
  margin-inline: auto;
  text-align: center;
}

.resources-video-description .section-body p {
  margin: 0;
}

.resources-video-archive {
  padding: 90px 0 110px;
  background: var(--bg-light, #E7ECEF);
}

.resources-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.resources-video-card {
  background: var(--bg, #FFFFFF);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.resources-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(6, 28, 45, 0.08);
}

.resources-video-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.resources-video-card-media {
  position: relative;
  aspect-ratio: 610 / 408;
  overflow: hidden;
  background: #D4D0D0;
}

.resources-video-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(6, 28, 45, 0.2) 100%);
  pointer-events: none;
}

.resources-video-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.resources-video-card:hover .resources-video-card-media img {
  transform: scale(1.03);
}

.resources-video-card-duration {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 57px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 30px;
  background: var(--ink, #061C2D);
  color: #FFFFFF;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.resources-video-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 164px;
  padding: 20px 40px;
  background: var(--bg, #FFFFFF);
}

.resources-video-card-date {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.resources-video-card-title {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  min-height: 72px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.resources-video-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.resources-video-load-all {
  min-width: 184px;
  justify-content: center;
}
.sd-blocks.appeals .interior-block {padding: 30px 0;}

section.interior-listing.page-resources-appeals-listing {
    background: #E7ECEF;
    padding: 90px 0;
}

.page-resources-appeals-listing .interior-listing-inner {
    
}
/* ===== INTERIOR RELATED POSTS ===== */
.interior-related-posts {
  position: relative;
  overflow: hidden;
  background: #E7ECEF;
  padding: 50px 0;
}

.interior-related-posts .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.79) 0%, rgba(255, 255, 255, 0.89) 100%),
    url("../img/content-container.webp") center / cover no-repeat;
  opacity: 0.9;
}

.interior-related-posts .container {
  position: relative;
  z-index: 1;
}

.interior-related-posts-header {
  margin-bottom: 80px;
}

.interior-related-posts-header .section-eyebrow {
  margin-bottom: 8px;
}

.interior-related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  min-height: 251px;
}

.interior-related-post {
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

.interior-related-post-tag {
  display: block;
  width: fit-content;
  background: var(--brand, #4079A0);
  color: #FFFFFF;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  padding: 20px 30px;
}

.interior-related-post-body {
  min-height: 213px;
  padding: 30px 20px 40px;
  display: flex;
  flex-direction: column;
}

.interior-related-post-title {
  margin: 0 0 20px;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.interior-related-post-link {
  margin-top: auto;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.interior-related-post-link:hover {
  color: var(--brand, #4079A0);
}

/* ===== BLOG DETAILS ===== */
.blog-detail-content {
  padding: 50px 0 0;
}

.blog-detail-article,
.blog-detail-reply-card {
  /* max-width: 1251px; */
  margin: 0 auto;
}

.blog-detail-article {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-bottom: 50px;
}

.blog-detail-meta {
  border: 1px solid #E7ECEF;
  border-radius: 6px;
  background: #FFFFFF;
  padding: 20px 37px;
}

.blog-detail-meta p {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: normal;
  justify-self: center;
}

.blog-detail-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-detail-body p {
  margin: 0;
}

.blog-detail-intro {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.blog-detail-intro p {
  padding-top: 17px;
  color: #4079A0;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.2px;
}

.blog-detail-dropcap {
  flex-shrink: 0;
  color: #4079A0;
  font-family: var(--display, "Rufina", serif);
  font-size: 140px;
  font-weight: 400;
  line-height: 0.8;
}

.blog-detail-footnotes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-detail-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #E7ECEF;
}

.blog-detail-categories-title {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.blog-detail-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.blog-detail-category-link {
  color: #707070;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.blog-detail-category-link:hover {
  color: var(--brand, #4079A0);
}

.blog-detail-comments {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-top: 20px;
  border-top: 1px solid #E7ECEF;
}

.blog-detail-comments-title,
.blog-detail-reply-title {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}

.blog-detail-comment {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-detail-comment-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.blog-detail-comment-avatar {
  display: inline-flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #E7ECEF;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.blog-detail-comment-author {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-detail-comment-author p 
{
  margin: 0;
 
}

p.blog-detail-comment-name {
    color: #061C2D;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 100% */
    letter-spacing: -0.4px;
}

p.blog-detail-comment-date {
    color: #707070;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 16.8px; /* 84% */
}

.blog-detail-comment-reply a {
color: #707070;
font-family: Poppins;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 16.8px; /* 84% */
}
.blog-detail-comment-copy,
.blog-detail-comment-reply {
  padding-left: 88px;
}

.blog-detail-comment-copy p {
  color: #5F5F5F;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.blog-detail-comment-reply a {
  font-weight: 500;
}

.blog-detail-reply {
  background: #E7ECEF;
  padding: 50px 0;
}

.blog-detail-reply-card {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.blog-detail-reply-shortcode .form {
  margin-top: 0;
  display: block;
}

/* ===== TESTIMONIALS PAGE ===== */
.page-testimonials {
  background: var(--bg, #FFFFFF);
}

.page-404 {
  background: var(--bg, #FFFFFF);
}

.page-404 .testimonials-disclaimer-copy .btn-layout {
  margin-top: 14px;
}

.testimonials-disclaimer {
  padding: 90px 0;
  background: var(--bg, #FFFFFF);
}

.testimonials-disclaimer-grid {
  display: grid;
  grid-template-columns: minmax(0, 572px) minmax(280px, 499px);
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}

.testimonials-disclaimer-copy .section-eyebrow {
  margin-bottom: 20px;
}

.testimonials-disclaimer-copy .section-title {
  margin-bottom: 50px;
}

.testimonials-disclaimer-copy .section-body {
  max-width: 572px;
}

.testimonials-disclaimer-copy .section-body p {
  margin-bottom: 36px;
}

.testimonials-disclaimer-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 50px;
}

.testimonials-disclaimer-media img {
  width: min(100%, 499px);
  height: auto;
}

.testimonials-listing {
  background: var(--bg-alt, #E1E7EB);
  padding: 90px 0;
}

.testimonials-listing-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonial-card {
  position: relative;
  max-width: 1251px;
  margin-inline: auto;
  background: var(--bg, #FFFFFF);
  padding: 90px 60px 40px;
}

.testimonial-card-rating {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 134px;
  min-height: 40px;
  padding: 10px 17px;
  background: var(--brand, #4079A0);
}

.testimonial-card-rating img {
  width: 20px;
  height: 20px;
}

.testimonial-card-quote {
  margin: 0;
}

.testimonial-card-quote p {
  margin: 0;
  color: var(--ink-light, #5F5F5F);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.testimonial-card-author {
  margin-top: 25px;
  color: var(--brand-dark, #26526D);
  text-align: right;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== SERVICE DETAIL PAGE ===== */
.sd-services {
  background: var(--bg-light, #E7ECEF);
  padding: 110px 0 50px;
}

.sd-services .header {
  text-align: center;
}

.page-faqs .bottom-contact,
.page-testimonials .bottom-contact,
.page-publications .bottom-contact,
.page-resources-video .bottom-contact,
.page-resources-appeals .bottom-contact,
.page-resources-links .bottom-contact,
.page-appeals-details .bottom-contact {
  background: var(--bg, #FFFFFF);
}

/* ===== RESOURCES LINKS PAGE ===== */
.links-category-heading {
  font-family: var(--sans, "Poppins", sans-serif);
  margin-bottom: 20px;
  color: #061C2D;
  text-align: left;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.links-item {
  flex: 0 0 calc(25% - 15px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  text-decoration: none;
  color: var(--ink, #061C2D);
  padding: 24px 16px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.links-item:hover {
  opacity: 0.7;
}

.links-item-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.links-item-name {
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 200px;
}

@media (max-width: 991px) {
  .links-item {
    flex: 0 0 calc(33.333% - 14px);
  }
.interior-hero.has-back-link, .interior-hero.has-button{min-height: calc(295px + 150px);}
}

@media (max-width: 620px) {
  .links-item {
    flex: 0 0 calc(50% - 10px);
  }

  .links-item-logo {
    width: 64px;
    height: 40px;
  }
}

.shared-awards {
  padding: 90px 0 0;
  background: var(--bg, #FFFFFF);
}

/* ===== BIO PAGE SHARED INTERIOR SECTIONS ===== */
.page-bio {
  background: var(--bg, #FFFFFF);
}

.bio-intro {
  background: var(--bg, #FFFFFF);
  padding: 90px 0;
}

.bio-intro-grid {
  display: grid;
  grid-template-columns: minmax(320px, 505px) minmax(0, 1fr);
  gap: 108px;
  align-items: center;
}

.bio-intro-media {
  display: flex;
  justify-content: flex-start;
}

.bio-intro-frame {
  position: relative;
  width: min(100%, 505px);
  padding: 30px 52px 30px 0;
}

.bio-intro-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 0 88px;
  background:
    linear-gradient(0deg, rgba(64, 121, 160, 0.92) 0%, rgba(64, 121, 160, 0.92) 100%),
    url("../img/content-container.webp") center / cover no-repeat;
  z-index: 0;
}

.bio-intro-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
}

.bio-intro-content {
  max-width: 700px;
}

.bio-intro-content .section-eyebrow {
  color: var(--brand-dark, #26526D);
  margin-bottom: 20px;
}

.bio-intro-content .section-title {
  margin-bottom: 50px;
}

.bio-intro-content .section-body {
  margin-bottom: 50px;
}

.bio-copy {
  padding: 90px 0;
}

.bio-copy .section-body {
  /* max-width: 1251px; */
}

/* ===== DEFAULT PAGE / WORDPRESS CONTENT ===== */
.page-default .page-copy .wp-block-heading {
  margin: 0 0 24px;
  font-family: var(--sans, "Poppins", sans-serif);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink, #061C2D);
}

.page-default .page-copy h2.wp-block-heading {
  margin-top: 54px;
  font-size: 36px;
  line-height: 1.25;
  color: var(--brand, #4079A0);
}

.page-default .page-copy h3.wp-block-heading {
  margin-top: 40px;
  font-size: 26px;
  line-height: 1.3;
}

.page-default .page-copy h4.wp-block-heading,
.page-default .page-copy h5.wp-block-heading,
.page-default .page-copy h6.wp-block-heading {
  margin-top: 34px;
  font-size: 22px;
  line-height: 1.35;
}

.page-default .page-copy .wp-block-heading:first-child {
  margin-top: 0;
}

.page-default .page-copy .wp-block-heading strong {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.page-default .page-copy .wp-block-list {
  margin: 0 0 34px 28px;
  padding: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: var(--base-size, 20px);
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.12px;
}

.page-default .page-copy .wp-block-list li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.page-default .page-copy .wp-block-list li:last-child {
  margin-bottom: 0;
}

.page-default .page-copy .wp-block-separator {
  width: 100%;
  margin: 44px 0;
  border: 0;
  border-top: 1px solid var(--border, #E4E4E4);
}

.page-default .page-copy .wp-block-separator + .wp-block-heading {
  margin-top: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .interior-listing-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .interior-listing-date {
    order: -1;
  }

  .interior-listing-meta-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .interior-hero {
    min-height: 300px;
  }

  .interior-hero .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 40px;
    gap: 24px;
  }

  .interior-hero-copy {
    max-width: 100%;
  }

  .interior-hero h1 {
    font-size: 36px;
    max-width: 100%;
    line-height: normal;
  }

  .interior-hero-back-link {
    font-size: 18px;
  }

  .interior-intro,
  .interior-block {
    padding: var(--section-pad-mobile) 0;
  }

  .interior-faq {
    padding: var(--section-pad-mobile) 0;
  }

  .interior-listing {
    padding: var(--section-pad-mobile) 0;
  }

  .interior-related-posts {
    padding: var(--section-pad-mobile) 0;
  }

  .resources-video-description {
    padding: 24px 0;
  }

  .resources-video-archive {
    padding: var(--section-pad-mobile) 0;
  }

  .resources-video-grid {
    grid-template-columns: 1fr;
  }

  .resources-video-card-body {
    min-height: 0;
    padding-inline: 28px;
  }

  .interior-faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .interior-faq-btn {
    max-width: 460px;
  }

  .interior-faq-question span:first-child {
    font-size: 20px;
  }

  .interior-block .section-title {
    font-size: 36px;
  }

  .interior-block-subheading {
    font-size: 24px;
    margin: 40px 0 24px;
  }

  .interior-listing-filter {
    padding-inline: 24px;
  }

  .interior-listing-filter-menu {
    gap: 10px;
  }

  .interior-listing-card {
    /* padding-inline: 28px; */
  }

  .interior-listing-card--blog .interior-listing-card-body {
    padding: 24px 20px 32px;
  }

  .interior-related-posts-grid {
    gap: 24px;
  }

  .testimonials-disclaimer,
  .testimonials-listing,
  .sd-services {
    padding: var(--section-pad-mobile) 0;
  }

  .testimonials-disclaimer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-disclaimer-copy .section-title {
    margin-bottom: 32px;
    font-size: 36px;
  }

  .testimonials-disclaimer-media {
    padding-block: 0;
  }

  .testimonial-card {
    padding: 72px 32px 32px;
  }

  .video-detail-player {
    padding: 30px 0 20px;
  }

  .video-detail-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
  }

  .video-detail-date {
    font-size: 20px;
  }

  .video-detail-title {
    font-size: 22px;
  }

  .video-detail-duration {
    font-size: 20px;
    min-width: 64px;
  }

  .video-related-grid {
    grid-template-columns: 1fr;
  }

  .bio-intro,
  .bio-copy {
    padding: var(--section-pad-mobile) 0;
  }

  .bio-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-intro-media {
    order: -1;
  }

  .bio-intro-frame {
    margin-inline: auto;
    padding: 24px 40px 24px 0;
  }

  .bio-intro-frame::before {
    left: 60px;
  }

  .bio-intro-content {
    max-width: 100%;
  }

  .bio-intro-content .section-title {
    font-size: 36px;
  }

  .page-default .page-copy h2.wp-block-heading {
    margin-top: 42px;
    font-size: 30px;
  }

  .page-default .page-copy h3.wp-block-heading {
    margin-top: 34px;
    font-size: 24px;
  }

  .page-default .page-copy .wp-block-separator {
    margin: 36px 0;
  }
}

@media (max-width: 620px) {
  .interior-listing-blog-tag {
    padding: 16px 24px;
    font-size: 16px;
  }

  .interior-listing-card--blog .interior-listing-date,
  .interior-listing-excerpt {
    font-size: 16px;
  }

  .interior-hero {
    min-height: 260px;
  }

  .interior-hero h1 {
    font-size: 30px;
  }

  .interior-hero-eyebrow,
  .interior-hero-back-link {
    font-size: 18px;
  }

  .interior-intro p {
    font-size: 18px;
  }

  .interior-block .section-title {
    font-size: 30px;
  }

  .interior-block-subheading {
    font-size: 22px;
  }

  .interior-faq-question span:first-child {
    font-size: 18px;
  }

  .interior-listing-filters {
    gap: 10px;
  }

  .interior-listing-filter-panel {
    margin-left: auto;
  }

  .interior-listing-filter-menu {
    padding-top: 10px;
  }

  .interior-listing-card {
    /* padding: 20px 24px; */
  }

  .resources-video-grid {
    gap: 24px;
  }

  .video-detail-info {
    padding: 16px 20px;
  }

  .video-detail-date {
    font-size: 18px;
  }

  .video-detail-title {
    font-size: 20px;
  }

  .video-detail-duration {
    font-size: 18px;
    min-width: 56px;
    min-height: 30px;
  }

  .resources-video-card-body {
    padding: 20px 24px 24px;
  }

  .resources-video-card-title {
    min-height: auto;
    font-size: 22px;
  }

  .resources-video-card-duration {
    right: 18px;
    bottom: 16px;
  }

  .interior-listing-title {
    font-size: 22px;
  }

  .interior-listing-link {
    font-size: 18px;
  }

  .interior-related-post-body {
    min-height: auto;
  }

  .interior-related-post-title {
    font-size: 22px;
  }

  .testimonials-disclaimer-copy .section-title {
    font-size: 30px;
  }

  .testimonial-card {
    padding: 72px 24px 24px;
  }

  .testimonial-card-author {
    font-size: 20px;
  }

  .interior-faq-toggle {
    width: 30px;
    height: 30px;
  }

  .bio-intro-frame {
    padding: 20px 26px 20px 0;
  }

  .bio-intro-frame::before {
    left: 38px;
  }

  .bio-intro-frame img {
    max-width: 100%;
  }

  .page-default .page-copy h2.wp-block-heading {
    font-size: 26px;
  }

  .page-default .page-copy h3.wp-block-heading,
  .page-default .page-copy h4.wp-block-heading,
  .page-default .page-copy h5.wp-block-heading,
  .page-default .page-copy h6.wp-block-heading {
    font-size: 22px;
  }

  .page-default .page-copy .wp-block-list {
    margin-left: 22px;
    font-size: 18px;
    line-height: 1.55;
  }
}

@media (max-width: 768px) {
  .interior-listing-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .interior-hero h1 {
    font-size: 26px;
  }

  .interior-hero-back-link {
    gap: 10px;
  }

  .interior-listing-results {
    grid-template-columns: 1fr;
  }

  .interior-listing-meta {
    flex-wrap: wrap;
  }

  .interior-listing-meta-left {
    flex-wrap: wrap;
  }

  .interior-listing-tag {
    width: auto;
  }

  .interior-listing-load-all {
    width: 100%;
    justify-content: center;
  }

  .resources-video-load-all {
    width: 100%;
  }

  .testimonial-card-rating {
    min-width: 118px;
    padding-inline: 14px;
  }

  .testimonial-card-rating img {
    width: 18px;
    height: 18px;
  }
}

/* ===== VIDEO DETAIL PAGE ===== */
.page-resources-video-details {
  background: var(--bg, #FFFFFF);
}

.interior-hero--empty {
  min-height: calc(355px * 0.6);
}

.interior-hero--empty .hero-inner {
  display: none;
}

.video-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.video-detail-back:hover {
  opacity: 0.7;
}

.video-detail-back .cnm-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.video-detail-player {
  padding: 50px 0;
}

.video-detail-card {
  max-width: 960px;
  margin-inline: auto;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--bg-light, #E7ECEF);
}

@media (min-width: 992px) {
  .video-detail-card {
    max-width: 1110px;
  }
}

.video-detail-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-detail-media iframe,
.video-detail-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-detail-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 37px;
  background: var(--bg, #FFFFFF);
  gap: 20px;
}

.video-detail-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.video-detail-date {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.5;
}

.video-detail-title {
  margin: 0;
  color: var(--ink, #061C2D);
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.video-detail-duration {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 30px;
  background: var(--ink, #061C2D);
  color: #FFFFFF;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  flex-shrink: 0;
}

.video-related .interior-related-posts-header {
  margin-bottom: 80px;
}

.video-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.page-resources-video-details .bottom-contact {
  background: var(--bg, #FFFFFF);
}

/* ===== PUBLICATIONS DETAILS ===== */
.sd-blocks h3,h4 {
  margin: 0 0 32px;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand, #4079A0);
}

.page-publications-details .interior-related-posts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.page-publications-details .interior-related-post {
  padding: 20px 40px;
  gap: 10px;
  justify-content: flex-start;
}

.page-publications-details .interior-related-post-tag {
  width: fit-content;
  padding: 12px 20px;
  background: var(--brand-dark, #26526D);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.page-publications-details .interior-related-post-body {
  min-height: auto;
  padding: 0;
  flex: 1;
}

.page-publications-details .interior-related-post-title {
  margin: 0 0 30px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.page-publications-details .interior-related-post-link {
  margin-top: auto;
  font-size: 20px;
  line-height: 1.4;
}

@media (max-width: 1300px) and (min-width: 992px) {
  .page-publications-details .interior-hero h1 {
    font-size: 44px;
    line-height: 1.25;
  }
}

@media (max-width: 991px) {
  .blog-detail-meta p {
    font-size: 22px;
  }

  .blog-detail-comment-copy,
  .blog-detail-comment-reply {
    padding-left: 0;
  }

  .page-publications-details .publication-highlight {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 28px;
  }

  .page-publications-details .interior-hero h1 {
    font-size: 26px;
    line-height: 1.25;
    max-width: none;
  }

  .page-publications-details .interior-related-posts-grid {
    grid-template-columns: 1fr;
  }

  .video-related-grid {
    grid-template-columns: 1fr;
  }

  .interior-hero--empty {
    min-height: calc(255px * 0.6);
  }

}

@media (max-width: 620px) {
  .blog-detail-content,
  .blog-detail-reply {
    padding: 40px 0;
  }

  .blog-detail-meta {
    padding: 18px 20px;
  }

  .blog-detail-meta p,
  .blog-detail-comment-author p,
  .blog-detail-comment-reply a {
    font-size: 16px;
  }

  .blog-detail-comments-title,
  .blog-detail-reply-title {
    font-size: 24px;
  }

  .blog-detail-comment-copy p {
    font-size: 20px;
  }

  .blog-detail-intro {
    gap: 14px;
  }

  .blog-detail-dropcap {
    font-size: 96px;
  }

  .blog-detail-intro p {
    padding-top: 10px;
  }

  .page-publications-details .publication-highlight {
    font-size: 22px;
  }

  .page-publications-details .interior-block .section-body ul,
  .page-publications-details .interior-block .section-body ol {
    margin-left: 22px;
    font-size: 18px;
    line-height: 1.55;
  }

  .page-publications-details .interior-related-post {
    padding: 18px 18px 16px;
  }
}

/* ===== BLOG SIDEBAR ===== */
.interior-listing-inner.has-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    "sort sidebar"
    "posts sidebar";
  column-gap: clamp(40px, 10vw, 250px);
  row-gap: 0;
  align-items: start;
}

.interior-listing-inner.has-sidebar > .interior-listing-sort {
  grid-area: sort;
}

.interior-listing-inner.has-sidebar > .interior-listing-results-surface {
  grid-area: posts;
}

.interior-listing-inner.has-sidebar > .blog-sidebar {
  grid-area: sidebar;
}

.interior-listing-inner.has-sidebar > .interior-listing-results-surface {
  min-width: 0;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-family: var(--sans, "Poppins", sans-serif);
  color: var(--ink, #061C2D);
}

.blog-sidebar-widget {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-sidebar-title {
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: normal;
  color: var(--ink-light, #5F5F5F);
  margin: 0 0 4px;
}

/* Subscribe ----------------------------------------------- */
.blog-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-sidebar-input,
.blog-sidebar-search-input,
.blog-sidebar-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border, #E4E4E4);
  background: #FFFFFF;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--ink-light, #5F5F5F);
  border-radius: 5px;
  transition: border-color 0.2s ease;
}

.blog-sidebar-input::placeholder,
.blog-sidebar-search-input::placeholder {
  color: var(--ink-muted, #707070);
}

.blog-sidebar-input:focus,
.blog-sidebar-search-input:focus,
.blog-sidebar-select:focus {
  outline: none;
  border-color: var(--brand, #4079A0);
}

.blog-sidebar-submit,
.blog-sidebar-load-all,
.blog-sidebar-archive-go {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: var(--charcoal, #3A3A3A);
  color: #FFFFFF;
  border: 1px solid var(--charcoal, #3A3A3A);
  border-radius: 5px;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 600;
  line-height: 16.8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-sidebar-submit:hover,
.blog-sidebar-load-all:hover,
.blog-sidebar-archive-go:hover {
  background: transparent;
  color: var(--ink, #061C2D);
  border-color: var(--charcoal, #3A3A3A);
}

/* Browse by topic ---------------------------------------- */
.blog-sidebar-search {
  position: relative;
}

.blog-sidebar-search-input {
  padding-left: 44px;
}

.blog-sidebar-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F5F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.blog-sidebar-topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-sidebar-topic-item {
  border: 1px solid var(--border, #E4E4E4);
  border-radius: 5px;
  overflow: hidden;
}

.blog-sidebar-topic-item.is-hidden {
  display: none;
}

.blog-sidebar-topic-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-family: var(--sans, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--ink-light, #5F5F5F);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.blog-sidebar-topic-link:hover {
  background: var(--bg-light, #E7ECEF);
}

.blog-sidebar-topic-name {
  flex: 1 1 auto;
}

.blog-sidebar-topic-count {
  flex: 0 0 auto;
  color: var(--ink-light, #5F5F5F);
  font-variant-numeric: tabular-nums;
}

.blog-sidebar-empty {
  font-size: 15px;
  color: var(--ink-muted, #707070);
  margin: 0;
}

/* Drawer wrapper — neutral on desktop, off-canvas on mobile */
.blog-sidebar-drawer-trigger,
.blog-sidebar-drawer-close,
.blog-sidebar-drawer-backdrop {
  display: none;
}

.blog-sidebar-drawer {
  display: contents;
}

.blog-sidebar-drawer-panel,
.blog-sidebar-drawer-content {
  display: contents;
}

/* Archives ----------------------------------------------- */
.blog-sidebar-select-wrapper {
  position: relative;
}

.blog-sidebar-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061C2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .interior-listing-inner.has-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Let the sidebar's children flow into the inner flex container
     so we can reorder them around the posts list. */
  .blog-sidebar {
    display: contents;
  }

  .interior-listing-inner.has-sidebar > .interior-listing-sort {
    order: 2;
  }

  .interior-listing-inner.has-sidebar > .interior-listing-results-surface {
    order: 3;
  }

  .blog-sidebar-subscribe {
    order: 4;
    width: 100%;
  }

  .blog-sidebar-subscribe .blog-sidebar-form {
    width: 100%;
  }

  .blog-sidebar-title {
    font-size: 22px;
  }

  /* Trigger button (mobile only) — sits above the posts list */
  .blog-sidebar-drawer-trigger {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: transparent;
    color: var(--ink, #061C2D);
    border: 1px solid var(--border, #E4E4E4);
    border-radius: 5px;
    font-family: var(--sans, "Poppins", sans-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .blog-sidebar-drawer-trigger:hover {
    background: var(--charcoal, #3A3A3A);
    color: #FFFFFF;
  }

  .blog-sidebar-drawer-trigger:hover .blog-sidebar-drawer-trigger-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='4' y1='6' x2='20' y2='6'/><line x1='7' y1='12' x2='17' y2='12'/><line x1='10' y1='18' x2='14' y2='18'/></svg>");
  }

  .blog-sidebar-drawer-trigger-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061C2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='4' y1='6' x2='20' y2='6'/><line x1='7' y1='12' x2='17' y2='12'/><line x1='10' y1='18' x2='14' y2='18'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: background-image 0.2s ease;
  }

  /* Drawer container becomes off-canvas */
  .blog-sidebar-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
  }

  .blog-sidebar-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .blog-sidebar-drawer-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(6, 28, 45, 0.55);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .blog-sidebar-drawer.is-open .blog-sidebar-drawer-backdrop {
    opacity: 1;
  }

  .blog-sidebar-drawer-panel {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: #FFFFFF;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 68px 24px 32px;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .blog-sidebar-drawer.is-open .blog-sidebar-drawer-panel {
    transform: translateX(0);
  }

  .blog-sidebar-drawer-panel:focus {
    outline: none;
  }

  .blog-sidebar-drawer-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .blog-sidebar-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    color: var(--ink, #061C2D);
    border: 1px solid var(--border, #E4E4E4);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .blog-sidebar-drawer-close:hover {
    background: var(--charcoal, #3A3A3A);
    color: #FFFFFF;
  }

  /* Lock body scroll while drawer is open */
  body.blog-drawer-open {
    overflow: hidden;
  }
}

@media (max-width: 620px) {
  .blog-sidebar {
    gap: 20px;
  }

  .blog-sidebar-title {
    font-size: 20px;
  }
}
