/*
Theme Name: BOIR Submission Center
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Norml Studio
Author URI: https://norml.studio
Version: 1.2.1735061983
Updated: 2024-12-24 17:39:43

*/

/* =========================================================
   Design tokens — resolved from Elementor global kit
   ========================================================= */

/* =========================================================
   Announcement bar — matches Elementor global secondary #00599C
   ========================================================= */
.boir-announcement {
  background: #00599C;
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.boir-announcement p { margin: 0; color: #fff; }
.boir-announcement svg { margin-top: 1px; flex-shrink: 0; }

/* =========================================================
   Site header — matches Elementor section bg #112F4E
   ========================================================= */
.boir-site-header {
  background: #112F4E;
  position: sticky;
  top: 0;
  z-index: 100;
}
.boir-site-header__inner {
  max-width: 1184px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.boir-site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.boir-site-header__logo-img { height: 44px; width: auto; display: block; }
.boir-site-header__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.boir-site-header__nav { margin-left: auto; }

/* Nav menu — white links on dark header */
.boir-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.boir-nav-menu li { position: relative; }
.boir-nav-menu a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background .15s ease;
  white-space: nowrap;
}
.boir-nav-menu a:hover { background: rgba(255,255,255,.1); }

/* Last nav item = "File BOIR Now" outlined button */
.boir-nav-menu li:last-child > a {
  border: 1.5px solid rgba(255,255,255,.7);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
}
.boir-nav-menu li:last-child > a:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* Mobile toggle — white lines on dark bg */
.boir-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.boir-menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.boir-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.boir-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.boir-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .boir-menu-toggle { display: flex; }
  .boir-site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #112F4E;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 24px;
    z-index: 99;
  }
  .boir-site-header__nav.is-open { display: block; }
  .boir-nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .boir-nav-menu a { width: 100%; }
}

/* =========================================================
   Site footer
   ========================================================= */
.boir-site-footer {
  background: var(--boir-navy, #112F4E);
  color: rgba(255,255,255,.75);
  padding: 48px 24px 24px;
  margin-top: 80px;
}
.boir-site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.boir-site-footer__logo { display: inline-block; margin-bottom: 20px; }
.boir-site-footer__logo img { height: 44px; width: auto; }
.boir-site-footer__disclaimer {
  font-size: 13px;
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 40px;
  color: rgba(255,255,255,.6);
}
.boir-site-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  align-items: start;
}
.boir-site-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.boir-site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.boir-site-footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .15s ease;
}
.boir-site-footer__col ul a:hover { color: #fff; }
.boir-site-footer__email {
  font-size: 14px;
  color: var(--boir-gold, #F4B93F);
  text-decoration: none;
}
.boir-site-footer__email:hover { color: #fff; }
.boir-site-footer__col--cta { align-self: center; }
.boir-site-footer__bottom {
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.boir-site-footer__bottom p { margin: 0; }

@media (max-width: 768px) {
  .boir-site-footer__columns { grid-template-columns: 1fr; gap: 28px; }
}
:root {
  --boir-navy:  #112F4E;
  --boir-blue:  #00599C;
  --boir-gold:  #F4B93F;
  --boir-text:  #1B1B1B;
  --boir-cream: #FEF8EC;
  --boir-light: #F0F0F0;
  --boir-white: #FFFFFF;
  --boir-font:  'Source Sans 3', sans-serif;
}

/* =========================================================
   Global container
   ========================================================= */
.boir-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Single post — intro
   ========================================================= */
.post-intro { padding: 48px 0 0; background: #fff; }

.post-intro__breadcrumb { margin-bottom: 20px; }
.post-intro__breadcrumb ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 4px;
  font-size: 13px; color: #9ca3af;
}
.post-intro__breadcrumb li { display: flex; align-items: center; gap: 4px; }
.post-intro__breadcrumb li:not(:last-child)::after { content: '/'; color: #d1d5db; }
.post-intro__breadcrumb a { color: var(--boir-blue); text-decoration: none; }
.post-intro__breadcrumb a:hover { text-decoration: underline; }
.post-intro__breadcrumb li[aria-current] {
  color: #6b7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px;
}

.post-intro__cat {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--boir-blue); text-decoration: none;
  margin-bottom: 12px;
}

.post-intro__title {
  font-size: 40px; line-height: 1.18; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--boir-navy);
  margin: 0 0 20px; max-width: 820px;
}

.post-intro__meta {
  font-size: 14px; color: #6b7280;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-bottom: 32px;
}
.post-intro__meta-item { display: flex; align-items: center; gap: 5px; }
.post-intro__meta-sep { color: #d1d5db; }

.post-intro__thumb {
  margin: 0; border-radius: 12px; overflow: hidden;
  background: var(--boir-light);
}
.post-intro__thumb img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
}

/* =========================================================
   Single post — body (2-col)
   ========================================================= */
.post-body { padding: 48px 0 64px; }

.post-body__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
  /* align-items: stretch — REQUIRED so sticky TOC has scroll room */
}

.post-body__content { min-width: 0; }
.post-body__sidebar { min-width: 0; }

/* Entry content typography */
.entry-content h2 {
  font-size: 28px; font-weight: 700;
  color: var(--boir-navy); margin: 40px 0 16px; line-height: 1.25;
}
.entry-content h3 {
  font-size: 22px; font-weight: 700;
  color: var(--boir-navy); margin: 32px 0 12px;
}
.entry-content p {
  font-size: 17px; line-height: 1.8; color: #374151; margin-bottom: 24px;
}
.entry-content ul, .entry-content ol { padding-left: 28px; margin-bottom: 24px; }
.entry-content li { font-size: 17px; line-height: 1.8; color: #374151; margin-bottom: 8px; }
.entry-content a { color: var(--boir-blue); font-weight: 600; }
.entry-content a:hover { color: var(--boir-navy); }
.entry-content blockquote {
  border-left: 4px solid var(--boir-gold);
  padding: 16px 24px; margin: 32px 0;
  background: var(--boir-cream); border-radius: 0 6px 6px 0;
  font-size: 18px; font-style: italic; color: var(--boir-navy);
}
.entry-content img { width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }
.entry-content strong { color: var(--boir-navy); }

/* Inline CTA */
.post-inline-cta {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  background: var(--boir-navy); border-radius: 12px;
  padding: 32px 36px; margin: 48px 0;
}
.post-inline-cta__text { flex: 1; min-width: 0; }
.post-inline-cta__text h3 {
  font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 8px;
}
.post-inline-cta__text p { font-size: 15px; color: rgba(255,255,255,.75); margin: 0; }

/* Tags */
.post-tags {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin-top: 40px; padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}
.post-tags__label { font-size: 13px; font-weight: 700; color: var(--boir-navy); }

/* TOC sidebar */
.post-toc {
  position: sticky;
  top: 96px; /* 72px header + 24px gap */
  background: var(--boir-light); border-radius: 10px;
  padding: 24px; font-size: 14px;
}
.post-toc__heading {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #9ca3af; margin: 0 0 14px;
}
.post-toc__nav ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px; counter-reset: toc;
}
.post-toc__nav li { counter-increment: toc; }
.post-toc__nav a {
  display: flex; gap: 10px;
  font-size: 14px; color: #6b7280; text-decoration: none;
  padding: 5px 8px; border-radius: 5px;
  transition: background .12s ease, color .12s ease;
  line-height: 1.4;
}
.post-toc__nav a::before {
  content: counter(toc) '.'; color: #d1d5db;
  font-size: 12px; font-weight: 700; flex-shrink: 0; padding-top: 1px;
}
.post-toc__nav a:hover { background: #e5e7eb; color: var(--boir-navy); }
.post-toc__nav a.is-active { color: var(--boir-blue); font-weight: 600; }
.post-toc__nav a.is-active::before { color: var(--boir-blue); }

/* =========================================================
   Bands (full-width below body)
   ========================================================= */
.band { display: block; margin: 0; padding: 0; }

.band--related { padding: 64px 0; background: #f9fafb; border-top: 1px solid #f3f4f6; }
.band--related .band__heading {
  font-size: 28px; font-weight: 700; color: var(--boir-navy);
  margin: 0 0 32px;
}
/* Constrain related posts grid inside band */
.band--related .boir-container .boir-posts-grid { grid-template-columns: repeat(3, 1fr); }

.band--newsletter { padding: 64px 0; background: var(--boir-navy); }
.band-newsletter__inner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.band-newsletter__text { flex: 1; min-width: 260px; }
.band-newsletter__text h2 {
  font-size: 32px; font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.2;
}
.band-newsletter__text p { font-size: 16px; color: rgba(255,255,255,.75); margin: 0; }
.band--newsletter .boir-btn { flex-shrink: 0; }

/* =========================================================
   Mobile — single post
   ========================================================= */
@media (max-width: 991px) {
  .post-intro { padding: 32px 0 0; }
  .post-intro__title { font-size: 28px; line-height: 1.22; margin-bottom: 16px; }
  .post-intro__meta { margin-bottom: 20px; }
  .post-intro__thumb { border-radius: 8px; }

  .post-body { padding: 32px 0 48px; }
  .post-body__row { grid-template-columns: 1fr; gap: 24px; }
  .post-body__sidebar { order: -1; }

  .post-toc { position: static; }

  .band--related { padding: 40px 0; }
  .band--related .boir-container .boir-posts-grid { grid-template-columns: 1fr; }
  .band--newsletter { padding: 40px 0; }
  .band-newsletter__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .post-inline-cta { flex-direction: column; gap: 20px; padding: 24px; }
}

/* =========================================================
   Blog archive
   ========================================================= */
.boir-blog-archive {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.boir-blog-header {
  text-align: center;
  margin-bottom: 48px;
}

.boir-blog-header h1 {
  font-family: var(--boir-font);
  font-size: 48px;
  font-weight: 700;
  color: var(--boir-navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.boir-blog-header p {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
}

.boir-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .boir-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .boir-posts-grid { grid-template-columns: 1fr; }
  .boir-blog-header h1 { font-size: 32px; }
}

/* Post card */
.boir-post-card {
  background: var(--boir-white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.boir-post-card:hover {
  box-shadow: 0 8px 32px rgba(17,47,78,.12);
  transform: translateY(-2px);
}
.boir-post-card__thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.boir-post-card__thumbnail--placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--boir-navy) 0%, var(--boir-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.boir-post-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.boir-post-card__category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--boir-blue);
  margin-bottom: 8px;
  text-decoration: none;
}
.boir-post-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--boir-navy);
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}
.boir-post-card__title:hover { color: var(--boir-blue); }
.boir-post-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  flex: 1;
  margin-bottom: 20px;
}
.boir-post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #888;
}
.boir-post-card__date,
.boir-post-card__read-time { display: flex; align-items: center; gap: 4px; }
.boir-post-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--boir-blue);
  text-decoration: none;
}
.boir-post-card__read-more:hover { color: var(--boir-navy); }
.boir-post-card__read-more svg { transition: transform .15s ease; }
.boir-post-card__read-more:hover svg { transform: translateX(3px); }

.boir-no-posts {
  text-align: center;
  padding: 80px 24px;
  color: #888;
  grid-column: 1 / -1;
}

/* Pagination */
.boir-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.boir-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  color: var(--boir-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
}
.boir-pagination .page-numbers:hover,
.boir-pagination .page-numbers.current {
  background: var(--boir-navy);
  color: var(--boir-white);
  border-color: var(--boir-navy);
}
.boir-pagination .page-numbers.dots { border: none; color: #888; }

/* =========================================================
   Single post
   ========================================================= */
.boir-post-hero {
  background: linear-gradient(135deg, var(--boir-navy) 0%, var(--boir-blue) 100%);
  padding: 80px 24px 60px;
  text-align: center;
}
.boir-post-hero__category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--boir-gold);
  margin-bottom: 16px;
  text-decoration: none;
}
.boir-post-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--boir-white);
  max-width: 800px;
  margin: 0 auto 24px;
}
.boir-post-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
}
.boir-post-hero__meta-item { display: flex; align-items: center; gap: 6px; }

.boir-post-featured-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
  margin-bottom: 48px;
}

.boir-single-post {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
}

.boir-post-content { max-width: 720px; margin: 0 auto; }
.boir-post-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--boir-navy);
  margin: 40px 0 16px;
  line-height: 1.2;
}
.boir-post-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--boir-navy);
  margin: 32px 0 12px;
}
.boir-post-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}
.boir-post-content ul,
.boir-post-content ol { padding-left: 28px; margin-bottom: 24px; }
.boir-post-content li {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 8px;
}
.boir-post-content a { color: var(--boir-blue); font-weight: 600; }
.boir-post-content a:hover { color: var(--boir-navy); }
.boir-post-content blockquote {
  border-left: 4px solid var(--boir-gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--boir-cream);
  border-radius: 0 6px 6px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--boir-navy);
}
.boir-post-content img { width: 100%; height: auto; border-radius: 8px; margin: 24px 0; }

/* Mid-post CTA */
.boir-post-cta {
  background: var(--boir-navy);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}
.boir-post-cta h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--boir-white);
  margin-bottom: 12px;
}
.boir-post-cta p { color: rgba(255,255,255,.75); margin-bottom: 24px; }

.boir-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--boir-gold);
  color: var(--boir-navy);
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s ease;
}
.boir-btn:hover { background: #e0a930; color: var(--boir-navy); }

/* Tags */
.boir-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.boir-post-tags__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--boir-navy);
  align-self: center;
  margin-right: 4px;
}
.boir-post-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--boir-light);
  color: var(--boir-navy);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.boir-post-tag:hover { background: var(--boir-navy); color: var(--boir-white); }

/* Related posts */
.boir-related-posts {
  border-top: 1px solid #e5e7eb;
  padding-top: 48px;
  margin-top: 48px;
}
.boir-related-posts h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--boir-navy);
  margin-bottom: 24px;
}
.boir-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 600px) {
  .boir-post-hero__title { font-size: 32px; }
  .boir-related-grid { grid-template-columns: 1fr; }
  .boir-post-cta { padding: 28px 20px; }
  .boir-post-cta h3 { font-size: 22px; }
}

