/* ─── Basier Circle Font Face ──────────────────────────────────────────── */

@font-face {
  font-family: 'Basier Circle';
  src: url('/wp-content/uploads/2025/10/basiercircle-regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Basier Circle';
  src: url('/wp-content/uploads/2025/10/basiercircle-regularitalic-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Basier Circle';
  src: url('/wp-content/uploads/2025/10/basiercircle-medium-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Basier Circle';
  src: url('/wp-content/uploads/2025/10/basiercircle-semibold-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Basier Circle';
  src: url('/wp-content/uploads/2025/10/basiercircle-bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Basier Circle';
  src: url('/wp-content/uploads/2025/10/basiercircle-bolditalic-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ─── Article Body Typography — match Webflow ─────────────────────────── */

#brxe-grcekq .brxe-shortcode {
  font-family: 'Basier Circle', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #001123;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

#brxe-grcekq .brxe-shortcode a {
  font-weight: 600;
  color: #0074ff;
}

/* Fill block article content — same typography */
.thx-article-section__content {
  font-family: 'Basier Circle', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: #001123;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.thx-article-section__content a {
  font-weight: 600;
  color: #0074ff;
}

/* Threshold Ad Spot Styles */
.thx-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
}

.thx-ad img {
  max-width: 100%;
  height: auto;
  display: block;
}

.thx-ad a {
  display: block;
  line-height: 0;
}

/* Horizontal banner — full width, constrained height */
.thx-ad--horizontal-banner {
  width: 100%;
  min-height: 90px;
  max-height: 280px;
}

/* Sidebar square — fills container width */
.thx-ad--sidebar-square {
  width: 100%;
  max-width: 375px;
  min-height: 250px;
}

/* Sidebar tall — fills container width */
.thx-ad--sidebar-tall {
  width: 100%;
  max-width: 375px;
  min-height: 600px;
}

/* Placeholder style (shown when no AdSense code configured) */
.thx-ad__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: #1a1a2e;
  border: none;
  border-radius: 12px;
  color: #666;
  font-size: 13px;
  font-family: monospace;
}

/* ─── NAO Hero Image — match Webflow ──────────────────────────────────── */

/* Pull hero up behind the transparent sticky header (70px) so the image
   starts at the very top of the viewport. Height 500px matches Webflow.
   background-attachment: scroll (not fixed) prevents the zoom effect. */
#brxe-ghoauq {
  margin-top: -70px !important;
  padding: 250px 0 !important;
  background-attachment: scroll !important;
  background-position: center center !important;
}

/* ─── NAO Main Layout — match Webflow 1140px grid ─────────────────────── */

#brxe-hubfbp > .brxe-container {
  max-width: 1140px !important;
  width: 1140px !important;
  padding: 0 !important;
  gap: 16px !important;
}

#brxe-grcekq {
  width: 749px !important;
  flex: none !important;
  padding: 15px 15px 10px;
}

#brxe-grcekq figure {
  margin: 16px 0;
}

#brxe-grcekq img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

#brxe-kmwkzx {
  width: 375px !important;
}

#brxe-kmwkzx .thx-ad {
  min-height: 750px;
}

/* ─── Headlines Widget (front-page card style) ─────────────────────────── */

.thx-headlines {
  background: #eee;
  border-radius: 10px;
  padding: 20px;
}

.dark-mode .thx-headlines {
  background: #222;
}

.thx-headlines__title {
  font-weight: 600;
  font-size: 18px;
  color: #001123;
  margin-bottom: 10px;
}

.dark-mode .thx-headlines__title {
  color: #fff;
}

.thx-headlines__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.thx-headlines__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  background-color: #333;
  border-radius: 10px;
  padding: 15px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.thx-headlines__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.49);
  border-radius: 10px;
  z-index: 1;
}

.thx-headlines__card > * {
  position: relative;
  z-index: 2;
}

.thx-headlines__card:hover::before {
  background: rgba(0, 0, 0, 0.35);
}

.thx-headlines__card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.thx-headlines__card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.thx-headlines__card-date {
  font-size: 18px;
  font-weight: 600;
  color: #eee;
}

.thx-headlines__card-cat {
  background: #0074ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 4px 8px;
  white-space: nowrap;
}

/* ─── NAO Fill Block Layout ─────────────────────────────────────────────── */

/* Fill break: separator ad between content sections — 20px gap above and below */
.thx-fill-break {
  max-width: 1140px;
  margin: 20px auto;
  padding: 0;
  clear: both;
}

.thx-fill-separator {
  display: flex;
  justify-content: center;
}

/* Standard divider ad height — all separator/divider ads use 250px */
.thx-fill-separator .thx-ad,
#brxe-naosep .thx-ad {
  min-height: 250px;
}

/* Fill section: two-column layout (content + sidebar) */
.thx-article-section--fill {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}

.thx-article-section__content {
  width: 749px;
  flex-shrink: 0;
  min-width: 0;
  background: #eee;
  padding: 15px 15px 10px;
  border-radius: 10px;
}

.dark-mode .thx-article-section__content {
  background: #222;
}

.thx-article-section__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.thx-article-section__content figure {
  margin: 16px 0;
}

.thx-article-section__sidebar {
  width: 375px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Standardize all sidebar ad heights in fill blocks */
.thx-article-section__sidebar .thx-ad {
  min-height: 750px;
}

/* ─── Comments Section ──────────────────────────────────────────────────── */

#brxe-cmtsec {
  max-width: 1140px;
  margin: 20px auto 0;
  padding: 0 0 0 0 !important;
}

#brxe-cmtsec > .brxe-container {
  max-width: 100% !important;
  width: 100% !important;
}

#brxe-cmtcnt {
  background: #eee;
  border-radius: 10px;
}

.dark-mode #brxe-cmtcnt {
  background: #222;
}

/* ─── More Reads Section ───────────────────────────────────────────────── */

/* Section + container: 1140px, match edges with article layout */
#brxe-zdbmir {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 !important;
}

#brxe-eglnon {
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
}

/* "More reads" heading — 20px gap to card grid below */
#brxe-unrwkx {
  margin-bottom: 20px !important;
}

/* Separator ad above More News — 20px standard gap */
#brxe-naosep {
  max-width: 1140px;
  margin: 20px auto;
  padding: 0 !important;
}

/* Bottom ad below More News — 20px standard gap, divider height */
#brxe-naobottom {
  max-width: 1140px;
  margin: 20px auto;
  padding: 0 !important;
}

#brxe-naobottom .thx-ad {
  min-height: 250px;
}

/* Card grid: 4 columns, 20px standard gap */
#brxe-ocbxic {
  gap: 20px !important;
}

/* Card styling — match headline card design */
#brxe-ocbxic .brxe-zbjfxj {
  aspect-ratio: 3 / 2 !important;
  overflow: hidden !important;
  position: relative !important;
  margin-bottom: 0 !important;
}

/* Dark overlay on cards */
#brxe-ocbxic .brxe-zbjfxj::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.49);
  border-radius: 10px;
  z-index: 1;
}

#brxe-ocbxic .brxe-zbjfxj:hover::before {
  background: rgba(0, 0, 0, 0.35);
}

/* All card children above overlay */
#brxe-ocbxic .brxe-zbjfxj > * {
  position: relative;
  z-index: 2;
}

/* Title: left-aligned, match headline card */
#brxe-ocbxic .brxe-post-title {
  text-align: left !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

#brxe-ocbxic .brxe-post-title a {
  color: #fff !important;
  text-decoration: none;
  text-align: left !important;
}

/* Meta row: date + category side by side */
#brxe-ocbxic .brxe-qtvarq {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 8px;
}

/* Date: single line, no wrapping */
#brxe-ocbxic .brxe-post-meta {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #eee !important;
  white-space: nowrap !important;
}

/* Category badge */
#brxe-ocbxic .brxe-text-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .thx-article-section--fill {
    flex-direction: column;
    padding: 0 10px;
  }
  .thx-fill-break {
    padding: 0 10px;
  }
  .thx-article-section__content {
    width: 100%;
  }
  .thx-article-section__sidebar {
    width: 100%;
  }
  .thx-ad--sidebar-square,
  .thx-ad--sidebar-tall {
    width: 100%;
    max-width: 100%;
  }
  #brxe-cmtsec {
    padding: 0 10px;
  }
}
