/* ============================================================
   ROOT & TOKENS
   ============================================================ */
:root {
  --color-bg:          #faf8f4;
  --color-surface:     #f2ede4;
  --color-text:        #1a1510;
  --color-text-light:  #2e2924;
  --color-accent:      #8b3a2a;
  --color-accent-dark: #5c2318;
  --color-gold:        #c9a84c;
  --color-nav-bg:      #1a1510;
  --color-nav-text:    #e8dfd0;
  --color-footer-bg:   #000000;
  --color-footer-text: #e8dfd0;
  --color-card-border: #d9cfc0;

  --font-display: 'Open Sans', Georgia, serif;
  --font-sans:    'Josefin Sans', 'Helvetica Neue', sans-serif;

  --header-height: clamp(340px, 55vh, 680px);
  --nav-height:    72px;
  --max-width:     1160px;
  --section-gap:   clamp(3rem, 6vw, 6rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body { 
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 18px; /* this is controlling the page text */
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: relative;
  width: 100%;
  height: var(--header-height);
  overflow: hidden;
}

.header-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85);
  transition: transform 8s ease;
}

.site-header:hover .header-image {
  transform: scale(1.03);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 13, 8, 0.18) 0%,
    rgba(20, 13, 8, 0.55) 60%,
    rgba(20, 13, 8, 0.82) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 3rem clamp(1.5rem, 5vw, 5rem);
}

.header-text {
  max-width: var(--max-width);
  animation: fadeUp 1.1s ease both;
}

.header-subtitle {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.header-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 5.2rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: 0.01em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background-color: var(--color-nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: var(--nav-height);
  padding: 0 1rem;
  gap: 0;
}

.nav-item {
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 clamp(0.5rem, 1.2vw, 1rem);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--color-nav-text);
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link--active {
  opacity: 1;
  color: #fff;
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 60%;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-gap) clamp(1.5rem, 5vw, 3rem);
}

html, body {
  overflow-x: hidden;
  touch-action: pan-y;
}

/* ============================================================
   INTRO TEXT SECTION
   ============================================================ */
.intro-section {
  max-width: 90%;
  margin: 0 auto var(--section-gap);
  text-align: center;
}

.intro-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.intro-section h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 1.4rem;
  font-style: italic;
}

.intro-section p {
  font-family: var(--font-display);
  font-size: 1.20rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.intro-divider {
  width: 56px;
  height: 1px;
  background: var(--color-gold);
  margin: 2rem auto;
}

/* ============================================================
   BLOCKQUOTE
   ============================================================ */
blockquote {
  margin: 2rem 0 2rem 4rem;
  padding: 1.5rem 2rem 1.5rem 2.5rem;
  border-left: 3px solid var(--color-gold);
  background: var(--color-surface);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--color-text);
  overflow: visible;
  display: flow-root;
}

blockquote p {
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ============================================================
   FEATURED CARDS
   ============================================================ */
.cards-section {
  margin-top: var(--section-gap);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  will-change: transform;  
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 12px rgba(26, 21, 16, 0.14);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.9);
}

.card:hover .card-image-wrap img {
  transform: scale(1.06);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,13,8,0.5) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .card-image-overlay {
  opacity: 1;
}

.card-body {
  padding: 1.4rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.card-description {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap 0.2s, color 0.2s;
}

.card-link:hover {
  color: var(--color-accent-dark);
  gap: 0.7rem;
}

.card-link::after {
  content: '→';
  font-size: 0.85rem;
}

/* ============================================================
   PAGE LAYOUT (for inner pages)
   ============================================================ */
.page-content {
  max-width: 760px;
  margin: 0 auto;
}

.site-main h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1.3rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-card-border);
}

.site-main h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--color-text);
  margin: 0.5rem 0 1rem;
  padding-bottom: 0.2rem;
}

.site-main h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--color-text);
  font-style: italic;
  margin: 0.5rem 0 1rem;
  padding-bottom: 0.2rem;
}

.site-main p {
  margin-bottom: 1.2rem;
  line-height: 1.3;
  color: var(--color-text-light);
}

p.p-indent {
  text-indent: 1.5em;
}

/* ============================================================
   FOOTNOTES
   ============================================================ */
.footnote-ref {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.15rem;
}

.footnote-ref sup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 40%;
  background: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  font-style: normal;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0;
  border: none;
  line-height: 1;
  transition: background 1s, transform 0.5s;
  user-select: none;
}

.footnote-ref sup:hover {
  background: var(--color-accent);
  transform: scale(1.15);
}

.footnote-ref.active sup {
  background: var(--color-accent);
}

.footnote-popover {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 10vw;
  max-width: 40vw;
  overflow-y: visible;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  padding: 1rem 1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--color-text);
  box-shadow: 0 8px 15px rgba(26, 21, 16, 0.14);
  z-index: 200;
  word-break: normal;
  overflow-wrap: break-word;
}

.footnote-ref.active .footnote-popover {
  display: block;
  animation: fadeUp 0.2s ease both;
}

/* flip below for footnotes near bottom of page */
.footnote-ref.below .footnote-popover {
  bottom: auto;
  top: calc(100% + 0.75rem);
}

.footnote-ref.below .footnote-popover::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--color-card-border);
}

.footnote-ref.below .footnote-popover::before {
  top: auto;
  bottom: calc(100% - 1px);
  border-top-color: transparent;
  border-bottom-color: #fff;
}

.footnote-ref.pin-right .footnote-popover {
  left: auto;
  right: 0;
  transform: none;
}

.footnote-ref.pin-left .footnote-popover {
  left: 0;
  right: auto;
  transform: none;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3rem 2rem;
  margin-top: var(--section-gap);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.4;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cards-grid .card:nth-child(1) { animation: fadeUp 0.7s 0.1s ease both; }
.cards-grid .card:nth-child(2) { animation: fadeUp 0.7s 0.22s ease both; }
.cards-grid .card:nth-child(3) { animation: fadeUp 0.7s 0.34s ease both; }

/* ============================================================
   ACTIVE LINK STYLING
   ============================================================ */
.site-main a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 0.05em;
  transition: color 0.2s, border-bottom-color 0.2s;
}

.site-main a:hover {
  color: var(--color-accent-dark);
  border-bottom-color: var(--color-accent);
}

.site-main a:visited {
  color: var(--color-text-light);
  border-bottom-color: var(--color-card-border);
}

.site-main a:active {
  color: var(--color-accent-dark);
  border-bottom-color: var(--color-accent-dark);
}

/* These are overrides for specific elements such as content cards or image figures in order to avoid styling there for active links */

.site-main .card,
.site-main .card a,
.site-main .card-link,
.site-main figure a,
.site-main .icon-row a,
.site-main .breadcrumb a,
.site-main .footnote-ref sup {
  border-bottom: none;
  padding-bottom: 0;
  transition: none;
}

.site-main .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-main .content-card {
  transition: transform 0.2s ease;
}

.site-main a:has(img) {
  border-bottom: none;
  padding-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid .card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid .card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .nav-list {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 0;
    -webkit-overflow-scrolling: touch;
  }

  @media (max-width: 600px) {
  .footnote-popover {
    width: 240px;
    max-width: 80vw;
  }

  .footnote-ref.pin-right .footnote-popover {
    left: auto;
    right: 0;
    transform: none;
  }

  .footnote-ref.pin-left .footnote-popover {
    left: 0;
    right: auto;
    transform: none;
  }
}
  .nav-link {
    padding: 0 0.9rem;
    white-space: nowrap;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid .card:nth-child(3) {
    grid-column: auto;
    max-width: 100%;
  }

  .header-overlay {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .site-nav {
    overflow-x: hidden;
  }

  .nav-list {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav-list::-webkit-scrollbar {
    display: none;
  }
}

/* Added content page and card styles */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.content-card {
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1),
              box-shadow 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 10px rgba(26, 21, 16, 0.14);
}

.content-card:not(:hover) {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

.content-card-body {
  padding: .9rem;
  line-height: 1; /* tweak line height of card content */
}

.content-card-body p {
  font-size: 1rem; /* tweak font size of card content (not title) */
}

.content-card-body h3 {
  margin-bottom: 0.75rem;
}

.content-card-body h4 {
  margin-bottom: 0.75rem;
}

.article-image {
  width: 340px;
  margin: 0 1.5rem 1rem 0;
  float: left;
}

.article-image.w-15 { width: 15%; }
.article-image.w-15 { width: 20%; }
.article-image.w-25 { width: 25%; }
.article-image.w-33 { width: 33.333%; }
.article-image.w-40 { width: 40%; }
.article-image.w-50 { width: 50%; }
.article-image.w-60 { width: 60%; }
.article-image.w-75 { width: 75%; }
.article-image.w-100 { width: 100%; }

.article-image.right {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.article-image.center {
  display: block;
  float: none;
  margin: 0 auto 1.4rem;
}
.image-caption {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* ============================================================
   IMAGE SLIDER
   ============================================================ */
.comparison-frame {
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  outline: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 3px 5px rgba(0,0,0,0.7);
}

.img-base {
  display: block;
  width: auto;
  height: auto;
  max-height: 500px;
  max-width: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.img-reveal-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--split, 50) * 1%);
  height: 100%;
  overflow: hidden;
}

.img-reveal-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: auto;
  height: auto;
  max-height: 500px;
  max-width: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.comparison-frame .divider {
  position: absolute;
  top: 0;
  left: calc(var(--split, 50) * 1%);
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
  pointer-events: none;
}

.comparison-frame .handle {
  position: absolute;
  top: 50%;
  left: calc(var(--split, 50) * 1%);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.comparison-frame.dragging .handle {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.comparison-frame .handle svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.comparison-frame .label {
  position: absolute;
  top: 14px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.comparison-frame .label-before { right: 14px; }
.comparison-frame .label-after  { left:  14px; }
.comparison-frame .label-after  { opacity: calc(min(var(--split, 50) / 15, 1)); }
.comparison-frame .label-before { opacity: calc(min((100 - var(--split, 50)) / 15, 1)); }

/* IMAGE WORD WRAPPING */
.comparison-frame.align-left {
  float: left;
  margin: 0.3rem 2.2rem 1.4rem 0;
}

.comparison-frame.align-right {
  float: right;
  margin: 0.3rem 0 1.4rem 2.2rem;
}

/* IMAGE CAPTION IN COMPARISON */
.comparison-figure {
  display: table;
}

.comparison-figure .comparison-frame {
  flex-shrink: 0;
}

.comparison-figure.align-left {
  float: left;
  margin: 0.3rem 2.2rem 1.4rem 0;
}

.comparison-figure.align-right {
  float: right;
  margin: 0.3rem 0 1.4rem 2.2rem;
}

.comparison-figure figcaption {
  display: table-caption;
  caption-side: bottom;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 80%;
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-card-image {
  flex: 0 0 25%;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-body {
  flex: 1;
  padding: 1.4rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.team-card-body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  font-style: italic;
}

.team-card-body p {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

@media (max-width: 700px) {
  .team-list {
    max-width: 100%;
  }

  .team-card {
    flex-direction: column;
  }

  .team-card-image {
    flex: 0 0 auto;
    height: 340px;
  }
}
/* ============================================================
   COMPARISON FLEX ROW
   ============================================================ */
.comparison-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1.5rem 0;
  justify-content: center;
  align-items: flex-start;
}

.comparison-row .comparison-frame {
  width: 100%;
  display: block;
  align-items: center;
}

.comparison-row .article-image {
  margin: 0.5 rem;
}

.comparison-row .article-image img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* ============================================================
   ICON STYLING
   ============================================================ */

.icon-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--color-accent);
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-accent-dark);
}

.breadcrumb-divider {
  color: var(--color-gold);
  font-size: 0.65rem;
}

.breadcrumb-current {
  color: var(--color-text-light);
  opacity: 0.7;
}

/* ============================================================
   TEXT BOX
   ============================================================ */
.text-box {
  border: 1px solid var(--color-card-border);
  border-radius: 14px;
  margin: 1.5rem 2.5rem 1.5rem 2.5rem;
}

.text-box-label {
  display: flex;
  border-radius: 14px 14px 0 0;
  align-items: center;
  gap: 0.75rem;
  background: #e8dcc8;
  padding: 0.75rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  overflow: clip;
  overflow-clip-margin: 0px;
}

.text-box-body {
  background: #f5efe4;  
  border-radius: 14px 14px 0 0;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  border-radius: 0 0 14px 14px;
}

.text-box-body p {
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.text-box-body p:last-child {
  margin-bottom: 0;
}
.text-box-label img {
  height: 1em;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
}
.text-box-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.text-box-icons img {
  height: 1em;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
}