/* Munfarid Local Copy - Custom Fixes & Animation Enhancements */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-semibold.woff2') format('woff2');
}

/* Ensure smooth image hover transitions */
.wp-block-post-featured-image img,
.wp-block-cover img,
.wp-block-image img {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.wp-block-post:hover .wp-block-post-featured-image img {
  transform: scale(1.03);
}

/* Navigation Dropdown Enhancements */
.wp-block-navigation .wp-block-navigation__submenu-container {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  display: flex !important;
  pointer-events: none;
}

.wp-block-navigation .has-child:hover > .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:focus-within > .wp-block-navigation__submenu-container,
.wp-block-navigation .has-child.is-open > .wp-block-navigation__submenu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile Navigation Overlay Transition */
.wp-block-navigation__responsive-container {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wp-block-navigation__responsive-container.is-menu-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Fallback for Swiper container before / during hydration */
swiper-container {
  display: block;
  width: 100%;
  position: relative;
}

/* Loading overlay transition */
.loading-overlay {
  transition: opacity 0.3s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Sticky Footer Requirements (Rule 15) */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wp-site-blocks > main,
.wp-site-blocks > div.entry-content,
.wp-site-blocks > #wp--skip-link--target {
  flex: 1 0 auto;
}

.wp-site-blocks > footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* WordPress Block Categories List Styling from Munfarid */
.wp-block-categories {
  box-sizing: border-box;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.wp-block-categories.wp-block-categories-list {
  padding-left: 0;
  margin-left: 0;
}

.wp-block-categories.wp-block-categories-list li.cat-item {
  list-style: none;
  margin-bottom: 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.wp-block-categories.wp-block-categories-list li.cat-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.wp-block-categories.wp-block-categories-list li.cat-item a {
  font-weight: 500;
  text-decoration: none;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wp-block-categories.wp-block-categories-list li.cat-item a:hover {
  color: #0f172a;
  transform: translateX(4px);
}

/* Responsive Two-Column Layout for Sidebar */
@media (min-width: 782px) {
  .wp-block-columns.has-sidebar {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--wp--preset--spacing--40, 2.5rem);
  }
  .wp-block-columns.has-sidebar > .main-content-col {
    flex-basis: 66.6667% !important;
    max-width: 66.6667%;
    min-width: 0;
  }
  .wp-block-columns.has-sidebar > .sidebar-col {
    flex-basis: 33.3333% !important;
    max-width: 33.3333%;
    min-width: 0;
  }
}

@media (max-width: 781px) {
  .wp-block-columns.has-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--wp--preset--spacing--30, 1.5rem);
  }
  .wp-block-columns.has-sidebar > .main-content-col,
  .wp-block-columns.has-sidebar > .sidebar-col {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .wp-block-columns.has-sidebar > .sidebar-col {
    margin-top: 2rem;
  }
}

/* Callout Box & Disclaimer Styling */
.bc-callout {
  background: var(--wp--preset--color--base-2, #f4f3ef);
  border-left: 4px solid #1e293b;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

.bc-callout h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
}

.bc-callout p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
}

.bc-article-disclaimer {
  border-left-color: #64748b;
  margin-top: 2.5rem;
}

/* FAQs Accordion */
.bc-faq-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bc-faq-item {
  background: var(--wp--preset--color--base-2, #f4f3ef);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
}

.bc-faq-question {
  font-weight: 600;
  cursor: pointer;
  color: #0f172a;
  outline: none;
}

.bc-faq-answer {
  margin-top: 0.5rem;
  color: #334155;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Brand mark and wordmark */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.site-brand-name {
  color: #181d24;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.site-brand-accent {
  color: #aa7c11;
}

.site-brand-tagline {
  color: #667085;
  font-family: inherit;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .site-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-brand-name {
    font-size: 16px;
  }

  .site-brand-tagline {
    font-size: 7px;
    letter-spacing: 0.06em;
  }
}

/* Static editorial pages */
.page-title {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  color: #181d24;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.18;
  text-wrap: balance;
}

main .article-intro {
  color: inherit;
  font: inherit;
  line-height: inherit;
}

main figure.wp-block-image,
main figure.wp-block-post-featured-image,
main figure.image-centered {
  float: none;
  clear: both;
  width: min(100%, 48rem);
  margin: 1.75rem auto;
  text-align: center;
}

main figure.wp-block-image img,
main figure.wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}

main ul,
main ol {
  padding-inline-start: 1.4rem;
  line-height: 1.7;
}

main table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

main th,
main td {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(24, 29, 36, 0.16);
  text-align: left;
  vertical-align: top;
}

main th {
  background: #f4f3ef;
  font-weight: 700;
}

.category-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
}

.category-card-grid > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(24, 29, 36, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(24, 29, 36, 0.045);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.category-card-grid > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 29, 36, 0.1);
}

.category-card-grid .wp-block-post-featured-image {
  width: 100%;
  margin: 0 0 0.85rem !important;
}

.category-card-grid .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.category-card-grid .bc-card-category,
.category-card-grid .wp-block-post-title,
.category-card-grid .category-card-excerpt,
.category-card-grid .category-read-more {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.category-card-grid .bc-card-category {
  margin-bottom: 0.55rem;
}

.category-card-grid .wp-block-post-title {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.16rem;
  line-height: 1.35;
}

.category-card-grid .wp-block-post-title a {
  color: #181d24;
  text-decoration: none;
}

.category-card-grid .wp-block-post-title a:hover {
  color: #8b650d;
}

.category-card-grid .category-card-byline {
  margin: -0.25rem 1.15rem 0.6rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.4;
}

.category-card-grid .category-card-author {
  color: #181d24;
  font-weight: 600;
}

.category-card-grid .category-card-separator {
  padding: 0 0.15rem;
  color: #8b650d;
}

.category-card-grid .category-card-byline time {
  font-variant-numeric: tabular-nums;
}

.category-card-excerpt {
  margin-bottom: 1.2rem !important;
  color: #4b5563;
  font-size: 0.96rem;
  line-height: 1.65;
}

.category-card-grid .category-read-more {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 1.15rem;
  padding: 0.68rem 1rem;
  border: 1px solid #181d24;
  border-radius: 5px;
  background: #181d24;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.category-card-grid .category-read-more:hover,
.category-card-grid .category-read-more:focus-visible {
  border-color: #8b650d;
  background: #8b650d;
  color: #fff;
}

.home .wp-block-post-template > li {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home .wp-block-post-template .wp-block-post-featured-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Contact page */
.contact-page {
  width: min(100%, 48rem);
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
}

.contact-page .contact-page-title {
  margin: 0 0 0.85rem;
  text-align: center;
}

.contact-lede {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  color: #475569;
  line-height: 1.65;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  width: 100%;
  max-width: 40rem;
  box-sizing: border-box;
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid rgba(24, 29, 36, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 29, 36, 0.06);
}

.contact-field {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.contact-field label {
  color: #242a32;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border: 1px solid #b8bec7;
  border-radius: 5px;
  background: #fff;
  color: #181d24;
  font: inherit;
}

.contact-field input { min-height: 46px; }
.contact-field textarea { min-height: 170px; resize: vertical; }

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #9a7217;
  outline: 2px solid rgba(170, 124, 17, 0.18);
  outline-offset: 1px;
}

.contact-actions { margin-top: 0.2rem; }

.contact-submit {
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 5px;
  background: #181d24;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-submit:hover { background: #343c47; }

.contact-help {
  max-width: 40rem;
  margin: 1rem auto;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-status {
  max-width: 40rem;
  min-height: 1.5em;
  margin: 0.75rem auto;
  color: #315d3c;
}

.contact-email { text-align: center; }
.contact-email a { color: #8b650d; font-weight: 600; }

@media (max-width: 640px) {
  .category-card-grid { grid-template-columns: minmax(0, 1fr); }
  .page-title { margin-bottom: 1.1rem; }
}
.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}
.not-found-links a { color: #8b650d; font-weight: 600; }

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}
.not-found-links a { color: #8b650d; font-weight: 600; }

/* Article sidebar modules */
.sidebar-col .sidebar-panel {
  margin-top: 1.25rem;
  padding: 1.1rem;
  border: 1px solid rgba(24, 29, 36, 0.12);
  border-radius: 6px;
  background: #fff;
}

.sidebar-col .sidebar-panel h2 {
  margin: 0 0 0.85rem;
  color: #181d24;
  font-size: 1.15rem;
  line-height: 1.3;
}

.sidebar-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  width: 100%;
}

.sidebar-search-form input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.65rem 0.7rem;
  border: 1px solid #aab1bb;
  border-radius: 4px;
  font: inherit;
}

.sidebar-search-form button {
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 4px;
  background: #181d24;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sidebar-search-form button:hover { background: #343c47; }

.sidebar-related-card + .sidebar-related-card { margin-top: 1.1rem; }

.sidebar-related-card > a {
  display: block;
  color: #181d24;
  text-decoration: none;
}

.sidebar-related-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}

.sidebar-related-title {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-related-card a:hover .sidebar-related-title { color: #8b650d; }

/* Static article search */
.search-page {
  width: min(100%, 56rem);
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
}

.search-page .page-title { margin: 0 0 0.65rem; }
.search-intro { margin: 0 0 1.25rem; color: #475569; }

.site-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  max-width: 42rem;
}

.site-search-row input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #aab1bb;
  border-radius: 5px;
  font: inherit;
}

.search-count { margin: 1.5rem 0 1rem; color: #667085; }

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.search-result-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(24, 29, 36, 0.12);
  border-radius: 8px;
  background: #fff;
}

.search-result-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 5px;
}

.search-result-category { margin: 0.85rem 0 0.3rem; color: #8b650d; font-size: 0.8rem; font-weight: 600; }
.search-result-card h2 { margin: 0 0 0.5rem; font-size: 1.1rem; line-height: 1.35; }
.search-result-card h2 a { color: #181d24; text-decoration: none; }
.search-result-card h2 a:hover { color: #8b650d; }
.search-result-card > p:last-child { margin: 0; color: #475569; font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 640px) {
  .search-results { grid-template-columns: 1fr; }
  .site-search-row { grid-template-columns: 1fr; }
}


/* Single, consistent category label on home and archive cards */
.category-card-grid .wp-block-post-featured-image {
  margin-bottom: 0.75rem !important;
}

.bc-card-category {
  margin: 0 0 0.7rem;
}

.bc-category-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(139, 101, 13, 0.22);
  border-radius: 999px;
  background: #fbf7ec;
  color: #74540b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.bc-category-pill:hover {
  background: #f3ead2;
  color: #4b3708;
}

.home .bc-home-category {
  min-width: 0;
}


/* Keep the brand and primary navigation aligned in one header row */
.site-header-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  gap: clamp(0.75rem, 2.5vw, 2rem);
}

.site-header-row > .wp-block-site-logo {
  flex: 0 0 auto;
}

.site-header-row > .wp-block-navigation {
  width: auto;
  min-width: 0;
  flex: 0 1 auto;
  margin-left: auto;
}

.site-header-row .wp-block-navigation__responsive-container:not(.is-menu-open) {
  width: auto;
}

.site-header-row .wp-block-navigation__container {
  flex-wrap: nowrap;
  gap: clamp(0.4rem, 1vw, 1rem);
}

.site-header-row .wp-block-navigation-item__content {
  white-space: nowrap;
}

@media (max-width: 781px) {
  .site-header-row {
    gap: 0.75rem;
  }

  .site-header-row .site-brand-tagline {
    display: none;
  }
}

/* Native disclosure rows for article FAQ sections. */
.single-post .bc-faq-accordion {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
}

.single-post .bc-faq-item {
  border: 1px solid rgba(24, 29, 36, 0.16);
  border-radius: 0.65rem;
  background: #fff;
  overflow: clip;
}

.single-post .bc-faq-item summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.15rem;
  color: inherit;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.single-post .bc-faq-item summary::-webkit-details-marker {
  display: none;
}

.single-post .bc-faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 1.15rem;
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.single-post .bc-faq-item[open] summary {
  border-bottom: 1px solid rgba(24, 29, 36, 0.12);
}

.single-post .bc-faq-item[open] summary::after {
  content: "−";
}

.single-post .bc-faq-item summary:focus-visible {
  outline: 3px solid #537b71;
  outline-offset: -3px;
}

.single-post .bc-faq-answer {
  padding: 0.15rem 1.15rem 0.2rem;
}

.single-post .bc-faq-answer > :last-child {
  margin-bottom: 1rem !important;
}

/* Clear, comfortable link rows in the footer navigation lists. */
footer .wp-block-navigation__container > li {
  box-sizing: border-box;
  width: 100%;
  padding: 0.35rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

footer .wp-block-navigation__container > li:hover {
  border-color: rgba(24, 29, 36, 0.08);
  background-color: rgba(24, 29, 36, 0.045);
}

footer .wp-block-navigation__container > li > a {
  display: flex;
  align-items: center;
  min-height: 1.8rem;
  color: inherit;
  text-decoration: none;
}

footer .wp-block-navigation__container > li > a:hover {
  color: #8b650d;
}

footer .wp-block-navigation__container > li > a:focus-visible {
  outline: 2px solid #537b71;
  outline-offset: 2px;
  border-radius: 0.2rem;
}

@media (min-width: 600px) and (max-width: 980px) {
  .site-header-row .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .site-header-row .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex;
  }
}

/* Subtle separators keep the original menu style easy to scan */
@media (min-width: 981px) {
  .site-header-row .wp-block-navigation__container > .wp-block-navigation-item + .wp-block-navigation-item {
    align-self: stretch;
    margin-left: 0.2rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(24, 29, 36, 0.2);
  }
}


/* Let article copy use the full width of its main column. */
.main-content-col .wp-block-post-content.is-layout-constrained {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.main-content-col .wp-block-post-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.main-content-col .wp-block-post-content table {
  width: 100%;
}

/* Widen the site's shared content container by 20% (1140px to 1368px). */
:root {
  --wp--style--global--wide-size: 1368px !important;
}


/* Post titles span the full width of the article container. */
.single-post .page-title {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: center;
}

.single-post .article-byline {
  margin: -0.85rem 0 1.35rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: center;
}

.single-post .article-byline span,
.contact-author span {
  color: #181d24;
  font-weight: 600;
}

.single-post .article-byline .byline-separator {
  color: #8b650d;
  font-weight: 400;
}

.single-post .article-byline time {
  font-variant-numeric: tabular-nums;
}

.contact-page .contact-author {
  margin: 0.55rem 0 1rem;
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
}

.privacy-policy-container {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 56rem);
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  border: 1px solid rgba(24, 29, 36, 0.1);
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 6px 24px rgba(24, 29, 36, 0.045);
}

.privacy-policy-container .page-title {
  margin: 0 0 1.5rem;
}

.privacy-policy-container h2 {
  margin-top: 1.8rem;
}

.privacy-policy-container p {
  line-height: 1.7;
}


/* Reduce the shared H2 size while keeping it fluid across screen widths. */
:root {
  --wp--preset--font-size--x-large: clamp(1.5rem, 2.2vw, 1.8rem) !important;
}

/* Keep H3 smaller than H2 across screen widths. */:root {
  --wp--preset--font-size--large: clamp(1.2rem, 1.6vw, 1.4rem) !important;
}

/* Vary editorial image placement through long-form articles. */
.single-post .wp-block-post-content figure.wp-block-image.alignleft {
  float: left;
  clear: none;
  width: min(42%, 24rem);
  max-width: 42%;
  margin: 0.45rem 1.5rem 1rem 0;
  text-align: left;
}

.single-post .wp-block-post-content figure.wp-block-image.alignright {
  float: right;
  clear: none;
  width: min(42%, 24rem);
  max-width: 42%;
  margin: 0.45rem 0 1rem 1.5rem;
  text-align: left;
}

.single-post .wp-block-post-content figure.wp-block-image.aligncenter {
  float: none;
  clear: both;
  width: min(100%, 48rem);
  max-width: 100%;
  margin: 1.75rem auto;
  text-align: center;
}

.single-post .wp-block-post-content :is(h2, h3) {
  clear: both;
}

.single-post .wp-block-post-content figure.wp-block-image figcaption {
  font-size: 0.82rem;
  line-height: 1.4;
}

.single-post .wp-block-post-content figure.wp-block-image img[src*="-google.webp"] {
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .single-post .wp-block-post-content figure.wp-block-image.alignleft,
  .single-post .wp-block-post-content figure.wp-block-image.alignright {
    float: none;
    clear: both;
    width: min(100%, 48rem);
    max-width: 100%;
    margin: 1.5rem auto;
  }
}

