/*
Theme Name: Bureau of Bureau Management
Theme URI: https://www.angela4oregon.com
Author: Burnett Media Group
Author URI: https://www.angela4oregon.com
Description: Satirical microsite theme for the Bureau of Bureau Management series. Paid for by Angela for Oregon.
Version: 1.0.0
Requires at least: 5.5
Requires PHP: 7.4
License: Proprietary
Text Domain: bbm
*/

/* =========================================================
   BUREAU OF BUREAU MANAGEMENT — Redesigned Stylesheet
   Aesthetic: Mock-Official Seal / Cold-War Civic Propaganda Poster
   Palette derived from illustrated seal logos:
   Navy #13294b · Red #c8202f · Sky #4a90d9 · Gray #8a8f98 · Paper #f4f1ec
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@400;500;600;700&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  /* --- Palette --- */
  --color-navy:         #13294b;
  --color-navy-dark:    #0d1d35;
  --color-navy-mid:     #1a3560;
  --color-red:          #c8202f;
  --color-red-dark:     #9e1824;
  --color-red-light:    #e03040;
  --color-sky:          #4a90d9;
  --color-sky-dark:     #2e6eb5;
  --color-sky-light:    #7ab3e8;
  --color-gray:         #8a8f98;
  --color-gray-light:   #c4c8d0;
  --color-paper:        #f5f2ec;
  --color-paper-dark:   #ebe7df;
  --color-paper-mid:    #e0dbd2;
  --color-ink:          #0f1923;
  --color-white:        #ffffff;
  --color-muted:        #6b7280;

  /* --- Typography --- */
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-label:   'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'PT Serif', Georgia, 'Times New Roman', serif;

  /* --- Misc --- */
  --radius: 3px;
  --shadow-seal: 0 6px 24px rgba(0, 0, 0, 0.30), 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow-card: 0 2px 10px rgba(19, 41, 75, 0.12);
  --border-navy: 1px solid var(--color-navy);
  --container-w: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 0.45em;
  color: var(--color-navy);
  line-height: 1.1;
  font-weight: 400;
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Credit bar ---------- */
.credit-bar {
  background: var(--color-navy-dark);
  color: var(--color-sky-light);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 12px;
}
.credit-bar a {
  color: var(--color-white);
  text-decoration: underline;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-navy);
  border-bottom: 3px solid var(--color-red);
  padding: 16px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--color-white);
}
/* Seal is now a real PNG image — no gradient background */
.brand__seal {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.brand__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}
.brand__text { line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.brand__slogan {
  display: block;
  font-family: var(--font-label);
  font-size: 11px;
  color: var(--color-sky-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-sky);
  color: var(--color-sky-light);
  padding: 8px 14px;
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.site-nav__list {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-label);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-nav__list a {
  text-decoration: none;
  color: var(--color-gray-light);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.18s, color 0.18s;
}
.site-nav__list a:hover,
.site-nav__list a:focus {
  color: var(--color-white);
  border-color: var(--color-sky);
}

/* =====================================================
   HERO — Homepage
   ===================================================== */
.hero {
  text-align: center;
  padding: 68px 0 44px;
  background: var(--color-paper);
  /* Subtle halftone dot texture */
  background-image:
    radial-gradient(circle, rgba(19,41,75,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  position: relative;
}

/* Decorative thin horizontal rule with star */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-red) 30%, var(--color-red) 70%, transparent 100%);
}

.hero__seal {
  width: 170px;
  height: 170px;
  margin: 0 auto 22px;
  filter: var(--shadow-seal);
  filter: drop-shadow(0 6px 20px rgba(19,41,75,0.35)) drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}
.hero__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  margin-bottom: 4px;
  color: var(--color-navy);
}

.hero__slogan {
  font-family: var(--font-label);
  color: var(--color-red);
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* Mission statement block */
.mission {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 28px;
  background: var(--color-white);
  border-left: 4px solid var(--color-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-style: italic;
  color: var(--color-ink);
  text-align: left;
}
.mission__label {
  display: block;
  font-family: var(--font-label);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 8px;
}

/* =====================================================
   Section shell
   ===================================================== */
.section { padding: 52px 0; background: var(--color-paper); }
.section--alt { background: var(--color-paper-dark); }

/* "Wood" section = now Navy (dark background) */
.section--wood {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--wood h2,
.section--wood h3 { color: var(--color-white); }

/* Eyebrow label above section titles */
.section__eyebrow {
  font-family: var(--font-label);
  color: var(--color-red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4px;
}
.section__eyebrow::before { content: "★ "; }
.section__eyebrow::after  { content: " ★"; }

.section--wood .section__eyebrow { color: var(--color-sky-light); }

.section__title {
  text-align: center;
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 10px;
}
.section__lede {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--color-muted);
}
.section--wood .section__lede { color: var(--color-gray-light); }

/* =====================================================
   Division Grid (homepage + explore-other)
   ===================================================== */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.division-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--color-ink);
  background: var(--color-white);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius);
  padding: 24px 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.division-card:hover,
.division-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(19,41,75,0.18);
  border-color: var(--color-red);
}

/* Seal is now a real PNG — no gradient circle */
.division-card__icon {
  width: 86px;
  height: 86px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(19,41,75,0.25));
  flex-shrink: 0;
}
.division-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.division-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  color: var(--color-navy);
}
.division-card__slogan {
  font-size: 13px;
  color: var(--color-red);
  font-style: italic;
}
.division-card__badge {
  margin-top: 10px;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.division-card__badge--live {
  background: var(--color-red);
  color: var(--color-white);
}
.division-card__badge--soon {
  background: transparent;
  border: 1px solid var(--color-gray);
  color: var(--color-gray);
}
.division-card--soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}
.division-card__badge--review {
  background: var(--color-sky-dark);
  color: var(--color-white);
}
.division-card--review {
  opacity: 0.6;
  filter: grayscale(0.35);
}
.division-card--review:hover,
.division-card--review:focus-visible {
  opacity: 0.9;
}

/* =====================================================
   Division page hero block
   ===================================================== */
.division-hero {
  text-align: center;
  padding: 36px 0 40px;
  background: var(--color-paper-dark);
  border-bottom: 3px solid var(--color-red);
  /* Subtle halftone dot texture */
  background-image:
    radial-gradient(circle, rgba(19,41,75,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-color: var(--color-paper-dark);
}
.division-hero__seal {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 6px 20px rgba(19,41,75,0.35)) drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}
.division-hero__seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.division-hero__eyebrow {
  font-family: var(--font-label);
  color: var(--color-red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.division-hero h1 {
  font-size: clamp(28px, 4.8vw, 46px);
}
.division-hero__slogan {
  font-family: var(--font-label);
  color: var(--color-red);
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =====================================================
   Video embed
   ===================================================== */
.video-embed {
  max-width: 860px;
  margin: 0 auto;
}
.video-embed__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--color-navy-dark);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-embed__frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  background: var(--color-navy-dark);
}
/* Clickable poster + play button (opens the video-modal popup) */
.video-embed__trigger {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-embed__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-embed__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-red);
  border: 3px solid var(--color-white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, background 0.18s ease;
}
.video-embed__play svg {
  width: 26px;
  height: 26px;
  fill: var(--color-white);
}
.video-embed__trigger:hover .video-embed__play,
.video-embed__trigger:focus-visible .video-embed__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--color-red-light);
}
.video-embed__trigger::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,29,53,0) 55%, rgba(13,29,53,0.55) 100%);
  pointer-events: none;
}

/* Mobile: skip the popup — play the native <video> inline instead.
   Desktop (>859px) keeps the poster + play button + modal, unchanged. */
.video-embed__inline { display: none; }
@media (max-width: 859px) {
  .video-embed__trigger { display: none; }
  .video-embed__inline { display: block; }
}

.video-embed__caption {
  text-align: center;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-top: 10px;
}
.video-embed__watermark-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Compressed top-stack: video sits directly beneath the mission block */
.division-hero .video-embed {
  margin-top: 30px;
}
.division-hero .video-embed .section__eyebrow {
  margin-bottom: 10px;
}

/* Two-column hero: text stack left, video right on wide screens.
   Stacks back to one column (content, then video, same order) below 860px —
   no separate mobile markup, just a narrower grid. */
.division-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.division-hero__media { min-width: 0; }
.division-hero__media .video-embed {
  max-width: none;
  margin: 0;
}
@media (min-width: 860px) {
  .division-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    text-align: left;
  }
  .division-hero__content { text-align: left; }
  .division-hero__grid .division-hero__seal { margin: 0 0 16px; }
  .division-hero__grid .mission { margin: 0; max-width: none; }
}

/* Division-hero variant: video on the left, seal/title/slogan on the
   right (centered on the video), mission statement spans full width below.
   Applied via .division-hero--media-left on all division pages. */
.division-hero--media-left h1 {
  font-size: clamp(24px, 3.6vw, 36px);
}
.division-hero--media-left .division-hero__grid .division-hero__mission {
  grid-column: 1 / -1;
}
@media (min-width: 860px) {
  .division-hero--media-left .division-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .division-hero--media-left .division-hero__grid .division-hero__content {
    text-align: center;
  }
  .division-hero--media-left .division-hero__grid .division-hero__seal {
    margin: 0 auto 16px;
  }
}

/* Pending / placeholder video (used before a real embed is ready) */
.video-embed__pending-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Press release button row */
.press-release {
  text-align: center;
  margin: 26px 0 6px;
}

/* =====================================================
   Video modal (popup player triggered by .video-embed__trigger)
   ===================================================== */
.video-modal[hidden] { display: none; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #13294b;
}
.video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.video-modal__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--color-navy-dark);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal__frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: var(--color-red);
  color: var(--color-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.video-modal__close:hover,
.video-modal__close:focus-visible {
  background: var(--color-red-light);
}
body.video-modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .video-modal__close { top: -40px; width: 32px; height: 32px; font-size: 18px; }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 13px;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
}
.btn:hover { transform: translateY(-1px); }

/* Primary action button: Red */
.btn--gold {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red-dark);
}
.btn--gold:hover { background: var(--color-red-light); border-color: var(--color-red); }

/* Outline button: context-aware */
.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline:hover { background: var(--color-navy); color: var(--color-white); }

/* Dark section outline: sky blue border/text */
.section--wood .btn--outline {
  color: var(--color-white);
  border-color: var(--color-sky);
}
.section--wood .btn--outline:hover {
  background: rgba(74, 144, 217, 0.2);
  border-color: var(--color-sky-light);
}

/* Navy button (secondary) */
.btn--maroon {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy-dark);
}
.btn--maroon:hover { background: var(--color-navy-mid); }

.btn--block { display: block; width: 100%; text-align: center; }

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.testimonial {
  background: var(--color-white);
  border-left: 4px solid var(--color-red);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-red);
}

/* Pending testimonials (before real quotes are approved) */
.testimonials--pending {
  position: relative;
}
.testimonial--blank {
  min-height: 110px;
}
.testimonials__pending-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   CTA block (tab / donate / notify)
   ===================================================== */
.cta-block {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-navy);
  border: 2px solid var(--color-red);
  border-top: 5px solid var(--color-red);
  border-radius: var(--radius);
  padding: 34px 32px;
  color: var(--color-white);
}
.cta-block__headline {
  text-align: center;
  color: var(--color-white);
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 22px;
}
.cta-block__tabs {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
.cta-block__tab {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--color-sky-light);
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 13px;
  padding: 13px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cta-block__tab.is-active {
  background: var(--color-red);
  color: var(--color-white);
}
.cta-block__panel { display: none; }
.cta-block__panel.is-active { display: block; }
.cta-block__sub {
  text-align: center;
  color: var(--color-gray-light);
  margin-bottom: 20px;
  font-size: 15px;
}
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cta-form input[type="text"],
.cta-form input[type="email"] {
  flex: 1 1 220px;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--color-sky-dark);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-ink);
}
.cta-form__amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.cta-form__amount {
  background: transparent;
  border: 1px solid var(--color-sky);
  color: var(--color-sky-light);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cta-form__amount.is-selected,
.cta-form__amount:hover {
  background: var(--color-sky);
  color: var(--color-white);
  border-color: var(--color-sky);
}
.cta-form__submit-row { width: 100%; text-align: center; margin-top: 8px; }
.cta-form__message {
  width: 100%;
  text-align: center;
  font-family: var(--font-label);
  font-size: 13px;
  margin: 10px 0 0;
}
.cta-form__message.is-success { color: var(--color-sky-light); }
.cta-form__message.is-error { color: var(--color-red-light); }
.cta-block__donate-link { text-align: center; }

/* =====================================================
   "Our shop" product carousel (WooCommerce)
   Ported 1:1 (structure, spacing, colors) from the demo_shop reference
   theme's front-page shop-owl block. Only the typefaces are swapped to
   the Bureau fonts — sizes/weights/colors/layout are left as in the
   original, including overriding this site's default uppercase h1-h4
   treatment so "Our shop" and product titles keep their original case.
   ===================================================== */
.shop-container {
  margin-top: 70px;
  margin-bottom: 70px;
}
.woocommerce .shop-main-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}
.woocommerce .shop-main-title h2 {
  font-family: var(--font-display);
  text-transform: none;
  font-weight: 500;
  font-size: 33px;
  text-align: left;
  margin: 0;
}
.woocommerce .shop-main-title a {
  font-family: var(--font-label);
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}
.woocommerce .shop-owl ul li h2 {
  text-align: left;
}
.woocommerce .shop-owl ul.products li.product {
  float: none;
  width: 100%;
  margin: 0;
}
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.woocommerce ul.products li.product a img {
  border-radius: 8px;
  height: auto;
}
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  font-size: 14px;
  font-weight: 500;
  width: 88px;
  height: 38px;
  min-width: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #D82700;
  right: auto;
  top: 22px;
  left: 16px;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
  font-family: var(--font-label);
  padding: 0.2em 0;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  line-height: 144%;
}
.woocommerce ul.products li.product .price {
  font-family: var(--font-body);
  font-size: 20px;
  color: #000;
  font-weight: 600;
}
.woocommerce ul.products li.product .price del {
  font-weight: 400;
  color: #707070;
  opacity: 1;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  color: #D82700;
  font-size: 20px;
  font-weight: 600;
  padding-left: 5px;
}
.woocommerce .owl-nav {
  position: absolute;
  top: 131px;
  width: calc(100% + 70px);
  justify-content: space-between;
  display: flex;
  right: -35px;
}
.woocommerce .owl-nav button.owl-prev,
.woocommerce .owl-nav button.owl-next {
  background: transparent;
  border: 0;
  padding: 0;
  color: #000;
  cursor: pointer;
}

@media (max-width: 767px) {
  /* "Our shop" / "Go to shop" are both short — keep them on one row
     instead of the reference theme's stacked mobile layout, just smaller. */
  .woocommerce .owl-nav {
    display: none;
  }
  .woocommerce .shop-main-title h2 {
    font-size: 22px;
  }
  .woocommerce .shop-main-title a {
    font-size: 14px;
  }
}

/* =====================================================
   Shop / category archive + single product pages
   Ported 1:1 from the demo_shop reference theme — colors/sizes/spacing
   kept as in the original, only typefaces swapped to the Bureau fonts.
   ===================================================== */
.shop-container,
.shop-single {
  margin-top: 70px;
  margin-bottom: 70px;
}
.woocommerce-loop-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.woocommerce .page-title {
  font-family: var(--font-display);
  text-transform: none;
  color: #000000;
  font-size: 33px;
  font-weight: 500;
  line-height: 43px;
}
.woocommerce .page-meta {
  display: flex;
  align-items: center;
}
.woocommerce .page-meta .woocommerce-result-count {
  font-family: var(--font-label);
  color: #707070;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-transform: capitalize;
  margin: 0 32px 0 0;
}
.header-hr {
  border: 0;
  border-top: 1px solid #D8D8D8;
  margin-top: 15px;
  margin-bottom: 30px;
}
.bbm-woo-cart {
  position: relative;
  display: inline-flex;
}
.bbm-woo-cart__icon {
  width: 48px;
  height: 48px;
  color: #000;
}
.bbm-woo-cart__count {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: #000;
  border-radius: 100%;
  color: #fff;
  font-family: var(--font-label);
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Product gallery */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  max-height: 629px;
  overflow: hidden;
  border-radius: 4px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  padding: 1px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  padding: 1px;
}

/* Title / price */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 26px;
  font-weight: 400;
  border-bottom: 0;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-body);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  text-transform: capitalize;
}
.woocommerce .star-rating {
  width: 6.2em;
  letter-spacing: 0.2em;
}
a.woocommerce-review-link {
  font-family: var(--font-body);
  color: #707070;
  font-size: 16px;
  font-weight: 400;
  margin-left: 10px;
  text-decoration: none;
}
.woocommerce-product-details__short-description {
  font-family: var(--font-body);
  color: #707070;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

/* Variations */
.woocommerce div.product form.cart .variations label {
  font-family: var(--font-label);
  color: #707070;
  font-weight: 400;
  font-size: 12px;
}
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  text-align: left;
  vertical-align: middle;
}
.woocommerce div.product form.cart .variations td {
  text-align: right;
  position: relative;
}
.woocommerce div.product form.cart .variations select {
  font-family: var(--font-label);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  min-width: auto;
  border: 0;
  color: #707070;
  outline: none;
}
.woocommerce div.product form.cart .variations tr {
  border-bottom: 1px solid #eee;
}
.woocommerce div.product form.cart .reset_variations {
  position: absolute;
  right: 0;
  bottom: -32px;
  font-family: var(--font-label);
  font-size: 14px;
  color: #000;
  font-weight: 600;
}
.woocommerce-variation-price {
  margin-bottom: 30px;
}

/* Quantity stepper */
.woo-plus-minus {
  position: relative;
  width: 140px;
  height: 52px;
  border-radius: 4px;
  border: 1px solid #707070;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
    background: #fff;
    border-color: #fff;
}
.woo-plus-minus span {
  width: 32px;
  height: 32px;
  text-align: center;
  background: #EFEFEF;
  border-radius: 4px;
  color: #707070;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
}
.woocommerce .quantity .woo-plus-minus .qty {
  font-family: var(--font-body);
  text-align: center;
  width: 48px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #707070;
  font-size: 16px;
  font-weight: 400;
    color: #000;
    padding-left: 12px;
}

/* Add to cart button (+ generic WooCommerce buttons: checkout, place order) */
.woocommerce div.product form.cart .button {
  vertical-align: middle;
  float: right;
  border-radius: 4px;
  background: #000;
  width: calc(100% - 150px);
  font-family: var(--font-label);
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 17.6px 0;
}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #payment #place_order {
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 700;
  padding: 19px 30px;
}

/* Product meta (SKU / categories / tags) — no "Category:" line */
.product_meta .posted_in {
  display: none;
}
.product_meta > span {
  font-family: var(--font-body);
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin-bottom: 5px;
}
.product_meta > span > span,
.product_meta > span > a {
  color: #707070;
  font-size: 16px;
  font-weight: 400;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-label);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  color: #707070;
  background: transparent;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  font-family: var(--font-label);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  color: #000;
  background: transparent;
  padding: 12px;
  border: 0;
  margin: 0;
  border-bottom: 2px solid #D8D8D8;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child {
  padding-left: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  color: #000;
  border-bottom-color: #000;
  background: transparent;
  padding: 12px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom: 2px solid #D8D8D8;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:after {
  content: '';
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -33.6px;
  height: 1.6px;
  background: #000;
}
.woocommerce-Tabs-panel p {
  font-family: var(--font-body);
  color: #707070;
  font-size: 16px;
  line-height: 168%;
  font-weight: 400;
}
.woocommerce table.shop_attributes th {
  font-family: var(--font-label);
  padding-left: 0;
  text-align: left;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}
.related.products{
  margin-top: 70px;
}
.woocommerce table.shop_attributes td {
  font-family: var(--font-body);
  color: #707070;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
}
.woocommerce-Reviews-title {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 20px;
  font-weight: 400;
  margin-top: 48px;
  color: #000;
  margin-bottom: 0;
}

/* =====================================================
   Return policy popup — ported 1:1 from demo_shop (add_return_policy_woo),
   fonts swapped to Bureau. Opened via initReturnPolicyModal() in main.js
   instead of demo_shop's unloaded Fancybox dependency.
   ===================================================== */
.rp-trigger {
  background: #0000001A;
  width: 100%;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  color: #000;
  text-decoration: none;
  margin-top: 50px;
  box-sizing: border-box;
}
.rp-trigger__left,
.rp-trigger__right {
  display: flex;
  align-items: center;
}
.rp-trigger__left span {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 32px;
  margin-left: 15px;
}
.rp-trigger__right span {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 20px;
  margin-right: 15px;
}
@media (max-width: 767px) {
  .rp-trigger__right { display: none; }
  .rp-trigger__left span { font-size: 24px; }
}

.rp-modal[hidden] { display: none; }
.rp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.rp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 29, 53, 0.86);
}
.rp-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.rp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: var(--color-red);
  color: var(--color-white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
}
.rp-modal__close:hover,
.rp-modal__close:focus-visible {
  background: var(--color-red-light);
}
.rp-modal__content h1 {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 15px;
  color: #000;
}
.rp-modal__content p {
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 140%;
  font-weight: 400;
  margin: 20px 0;
  color: #000;
}
.rp-modal__content a {
  color: #226BDA;
}
@media (max-width: 767px) {
  .rp-modal__dialog { padding: 24px; }
  .rp-modal__content h1 { font-size: 26px; }
  .rp-modal__content p {
    font-size: 16px;
    line-height: 140%;
    font-weight: 400;
    margin: 10px 0;
  }
}

/* =====================================================
   WooCommerce Blocks (Cart / Checkout — default block templates)
   ===================================================== */
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
  font-size: 18px;
  font-weight: 400;
  text-transform: none;
  line-height: 144%;
  color: var(--color-navy);
  text-decoration: none;
}

/* "Please double-check your order" checkout notice — ported 1:1 from
   demo_shop (add_custom_text_under_order_heading), font swapped to Bureau. */
.bbm-checkout-notice {
  width: 100%;
  background: #303d48;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 15px;
  box-sizing: border-box;
}
.bbm-checkout-notice svg {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* =====================================================
   Angela segue
   ===================================================== */
.angela-segue {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.angela-segue__fictional-note {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-sky-light);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.angela-segue p { color: var(--color-gray-light); }
.angela-segue .video-embed { margin-top: 24px; }
.angela-segue__linkout { margin-top: 28px; }
.angela-segue__transcript {
  max-width: 640px;
  margin: 22px auto 0;
}
.angela-segue__transcript-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sky-light);
  margin-bottom: 8px;
}
.angela-segue__transcript p:not(.angela-segue__transcript-label) {
  font-style: italic;
}
.angela-segue__transcript .btn { margin-top: 6px; }

/* =====================================================
   Satire notice
   ===================================================== */
.satire-notice {
  background: var(--color-paper-dark);
  border-top: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  padding: 22px 0;
  text-align: center;
}
.satire-notice__inner {
  max-width: 780px;
  margin: 0 auto;
}
.satire-notice__label {
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.satire-notice p {
  font-size: 14px;
  color: var(--color-muted);
  margin: 0;
}

/* =====================================================
   Social share
   ===================================================== */
.social-share {
  max-width: 780px;
  margin: 0 auto;
}
.social-share__caption {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px dashed var(--color-gray-light);
  padding: 14px 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}
.social-share__caption p { margin: 0; font-size: 14px; }
.social-share__copy {
  flex-shrink: 0;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-navy);
  color: var(--color-white);
  border: 1px solid var(--color-sky);
  border-radius: var(--radius);
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.15s;
}
.social-share__copy:hover { background: var(--color-navy-mid); }
.social-share__copy.is-copied {
  background: var(--color-red);
  border-color: var(--color-red-dark);
  color: var(--color-white);
}

/* =====================================================
   Explore other divisions (scaled-down cards)
   ===================================================== */
.explore-other .division-card__icon {
  width: 68px;
  height: 68px;
}

/* =====================================================
   Coming soon page
   ===================================================== */
.coming-soon {
  text-align: center;
  padding: 96px 0;
}
.coming-soon__ribbon {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--color-white);
  background: var(--color-red);
  padding: 7px 22px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(200,32,47,0.4);
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  margin-top: auto;
  background: var(--color-navy-dark);
  color: var(--color-gray-light);
  padding: 32px 0 20px;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.site-footer__credits { line-height: 1.7; }
.site-footer__credits strong { color: var(--color-sky-light); }
.site-footer__credits a { color: var(--color-gray-light); text-decoration: underline; }
.site-footer__credits a:hover { color: var(--color-white); }
.site-footer__links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.site-footer__links a {
  text-decoration: none;
  color: var(--color-gray-light);
}
.site-footer__links a:hover { color: var(--color-white); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--color-gray);
  margin-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
.site-footer__copyright { margin: 0; }
.site-footer__legal {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.site-footer__legal a {
  color: var(--color-gray);
  text-decoration: none;
  font-size: 14px;
}
.site-footer__legal a:hover { color: var(--color-white); }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 720px) {
  .site-nav__toggle { display: inline-block; }
  .site-nav__list {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--color-navy-dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 3px solid var(--color-red);
    z-index: 20;
  }
  .site-nav__list.is-open { display: flex; }
  .site-header__inner { position: relative; }
  .site-footer__inner { flex-direction: column; text-align: center; }
  .site-footer__bottom { flex-direction: column; text-align: center; }

  .hero { padding: 48px 0 32px; }
  .hero__seal { width: 130px; height: 130px; }
  .division-hero__seal { width: 76px; height: 76px; }
  .cta-block { padding: 24px 18px; }
  .mission { padding: 18px 20px; }
}

/* =====================================================
   Development placeholder (front-page.php default view)
   ===================================================== */
.dev-stub {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-navy);
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 24px;
}
.dev-stub__inner { max-width: 560px; }
.dev-stub__seal {
  width: 130px;
  height: 130px;
  margin: 0 auto 26px;
  border-radius: 50%;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.4));
}
.dev-stub__title {
  color: var(--color-white);
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 14px;
}
.dev-stub__message {
  font-family: var(--font-label);
  color: var(--color-sky-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 15px;
  margin-bottom: 8px;
}
.dev-stub__sub {
  color: var(--color-gray-light);
  font-size: 14px;
}
