/* ==========================================================================
   Hospitality News — Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  padding: .62rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease), border-color var(--speed) var(--ease);
  text-align: center;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-warm); color: #fff; }
.btn--navy { background: var(--navy-deep); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); color: #fff; }
[data-theme="dark"] .btn--navy { background: var(--navy-soft); border-color: var(--border-strong); }
.btn--gold { background: var(--gold); color: #15171A; }
.btn--gold:hover { background: #F0C26B; color: #15171A; }
.btn--outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--ghost { color: var(--red); background: transparent; }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--sm { padding: .4rem .85rem; font-size: .8rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   Category badges & labels
   -------------------------------------------------------------------------- */
.category-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: .1rem;
}
.category-badge--solid {
  background: var(--red);
  color: #fff;
  padding: .22rem .6rem;
  border-radius: 3px;
  letter-spacing: .1em;
}
.category-badge--navy { background: var(--navy-deep); color: #fff; padding: .22rem .6rem; border-radius: 3px; }
.category-badge--gold {
  background: var(--gold);
  color: #15171A;
  padding: .22rem .6rem;
  border-radius: 3px;
}
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8A6118;
  background: var(--gold-soft);
  padding: .2rem .55rem;
  border-radius: 3px;
}
[data-theme="dark"] .badge-premium { background: rgba(224,180,101,.18); color: var(--gold); }
.badge-developing {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-warm);
}
.badge-developing::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-warm);
  animation: livePulse 1.6s infinite;
}

/* --------------------------------------------------------------------------
   Entry meta
   -------------------------------------------------------------------------- */
.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem .75rem;
  font-family: var(--font-sans);
  font-size: var(--fs-meta);
  color: var(--text-muted);
}
.entry-meta a { color: var(--text-muted); }
.entry-meta a:hover { color: var(--red); }
.entry-meta .meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }
.entry-meta svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.entry-meta__item { display: inline-flex; align-items: center; gap: .32rem; }

/* --------------------------------------------------------------------------
   Image placeholders (WordPress featured-image slots)
   -------------------------------------------------------------------------- */
.ph {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(199,42,37,.28), transparent 42%),
    linear-gradient(158deg, var(--navy-deep) 0%, #16345F 55%, #2A4A7A 100%);
  color: #E7EDF6;
  display: flex;
  align-items: flex-end;
}
.ph::before {
  /* mountain silhouette watermark echoing the logo */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L70 38 L110 78 L165 12 L215 70 L262 30 L316 86 L358 52 L400 120 Z' fill='rgba(250,248,243,0.10)'/%3E%3Cpath d='M0 120 L55 70 L120 110 L190 55 L260 105 L330 70 L400 120 Z' fill='rgba(250,248,243,0.08)'/%3E%3C/svg%3E") bottom / cover no-repeat;
  pointer-events: none;
}
.ph__label {
  position: relative;
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem .7rem;
  opacity: .68;
}
.ph--gold { background:
  radial-gradient(120% 90% at 78% 8%, rgba(232,180,82,.4), transparent 45%),
  linear-gradient(158deg, var(--navy-deep) 0%, #274066 60%, #4A5D80 100%); }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-21x9 { aspect-ratio: 21 / 9; }

a .ph { transition: transform .3s var(--ease); }
.card-link:hover .ph { transform: scale(1.015); }

/* Author avatar placeholder */
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(140deg, var(--navy-soft), var(--navy-deep));
  color: #F3D9A4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.avatar--lg { width: 64px; height: 64px; font-size: 1.1rem; }
.avatar--sm { width: 32px; height: 32px; font-size: .68rem; }

/* --------------------------------------------------------------------------
   Breaking news ticker
   -------------------------------------------------------------------------- */
.breaking-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.breaking-bar__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 46px;
}
.breaking-bar__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 1rem;
  flex: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  padding-right: 1.4rem;
}
.breaking-bar__label .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livePulse 1.6s infinite; }
.breaking-bar__viewport {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  padding-inline: .75rem;
}
.breaking-bar__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  will-change: transform; /* movement driven by main.js marquee */
}
.breaking-bar__track.is-paused { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .breaking-bar__track { animation: none; }
}
.breaking-bar__track a {
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.breaking-bar__track a::before { content: "•"; color: var(--red); font-size: 1.1rem; }
.breaking-bar__track a:hover { color: var(--red); }
.breaking-bar__controls {
  display: flex;
  align-items: center;
  gap: .1rem;
  padding-inline: .5rem;
  border-left: 1px solid var(--border);
  flex: none;
}
.breaking-bar__controls button {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--text-muted);
}
.breaking-bar__controls button:hover { background: var(--bg-alt); color: var(--text); }
.breaking-bar__controls svg { width: 14px; height: 14px; stroke: currentColor; fill: currentColor; stroke-width: 0; }

/* --------------------------------------------------------------------------
   Article cards
   -------------------------------------------------------------------------- */
.article-card { display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.article-card .entry-title {
  font-size: var(--fs-card);
  font-weight: 600;
  line-height: 1.32;
}
.article-card .entry-title a { color: var(--text); }
.article-card .entry-title a:hover { color: var(--red); }
.article-card .entry-excerpt {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Horizontal card */
.article-card--horizontal {
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
}
.article-card--horizontal .card-media { width: 200px; flex: none; }
.article-card--horizontal .card-body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }

/* Compact sidebar story */
.compact-story {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding-block: .8rem;
}
.compact-story + .compact-story { border-top: 1px solid var(--border); }
.compact-story .card-media { width: 86px; flex: none; }
.compact-story .entry-title { font-size: .94rem; font-weight: 600; line-height: 1.35; }
.compact-story .entry-title a { color: var(--text); }
.compact-story .entry-title a:hover { color: var(--red); }
.compact-story .entry-meta { margin-top: .3rem; }

/* Numbered most-read */
.most-read { counter-reset: mostread; list-style: none; margin: 0; padding: 0; }
.most-read li {
  counter-increment: mostread;
  display: flex;
  gap: .9rem;
  padding-block: .8rem;
  align-items: flex-start;
}
.most-read li + li { border-top: 1px solid var(--border); }
.most-read li::before {
  content: counter(mostread, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--red);
  flex: none;
  min-width: 2.2rem;
}
.most-read a { color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.most-read a:hover { color: var(--red); }
.most-read .entry-meta { margin-top: .25rem; }

/* Featured/hero story */
.featured-story { position: relative; display: flex; flex-direction: column; gap: .9rem; }
.featured-story .entry-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.featured-story .entry-title a { color: var(--text); }
.featured-story .entry-title a:hover { color: var(--red); }
.featured-story .entry-excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 60ch;
}
.featured-story--sub .entry-title { font-size: var(--fs-card-lg); font-weight: 600; }

/* --------------------------------------------------------------------------
   Sidebar widgets
   -------------------------------------------------------------------------- */
.widget { margin-bottom: 2rem; }
.widget-title {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: .6rem;
  margin-bottom: .4rem;
  border-bottom: 2px solid var(--rule);
  position: relative;
}
.widget-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 44px; height: 2px;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */
.tabs { font-family: var(--font-sans); }
.tabs__list {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.tabs__tab {
  padding: .5rem .95rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tabs__panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-field label {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.form-field .req { color: var(--red); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: .92rem;
  padding: .6rem .8rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  transition: border-color var(--speed) var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(11,35,71,.12); }
[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field select:focus,
[data-theme="dark"] .form-field textarea:focus { box-shadow: 0 0 0 3px rgba(159,180,214,.2); }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--red-warm); }
.field-error {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--red-warm);
  display: none;
}
.form-field.has-error .field-error { display: block; }
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-family: var(--font-sans); font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.form-check input { width: 16px; height: 16px; margin-top: .25rem; flex: none; accent-color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-status {
  display: none;
  font-family: var(--font-sans);
  font-size: .88rem;
  padding: .7rem .9rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.form-status.is-success { display: block; background: rgba(34,120,62,.12); color: #1D6B37; border: 1px solid rgba(34,120,62,.35); }
[data-theme="dark"] .form-status.is-success { color: #7FD69A; }
.form-status.is-error { display: block; background: rgba(181,31,36,.08); color: var(--red-warm); border: 1px solid rgba(181,31,36,.3); }

/* --------------------------------------------------------------------------
   Booking panel
   -------------------------------------------------------------------------- */
.booking-panel {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.booking-panel__title {
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
}
.booking-panel__title svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.booking-panel form {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr .8fr 1fr auto;
  gap: .7rem;
  align-items: end;
}
.booking-panel .form-field { margin-bottom: 0; }
.booking-panel label { color: #B9C8DE; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.booking-panel input, .booking-panel select {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.24);
  color: #fff;
  color-scheme: dark;
}
.booking-panel input::placeholder { color: #8FA2BD; }
.booking-panel .field-error { color: #FFB3AE; }

/* --------------------------------------------------------------------------
   Hotel / job / event / itinerary cards
   -------------------------------------------------------------------------- */
.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--speed) var(--ease), transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.listing-card:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.listing-card__media { position: relative; }
.listing-card__media .ph { border-radius: 0; }
.listing-card__flag {
  position: absolute;
  top: .7rem; left: .7rem;
  z-index: 1;
}
.listing-card__body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.listing-card__title { font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.listing-card__title a { color: var(--text); }
.listing-card__title a:hover { color: var(--red); }
.listing-card__desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }
.listing-card__foot {
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.stars { color: var(--gold); font-size: .82rem; letter-spacing: .1em; font-family: var(--font-sans); }
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
}
[data-theme="dark"] .rating-chip { background: var(--navy-soft); }
.price-tag { font-family: var(--font-sans); font-size: .82rem; color: var(--text-muted); }
.price-tag strong { color: var(--text); font-size: 1.02rem; }

.amenity-list { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0; }
.amenity-list li {
  font-family: var(--font-sans);
  font-size: .72rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .16rem .6rem;
}

/* Job card */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.job-card__logo {
  width: 52px; height: 52px;
  flex: none;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--navy);
}
[data-theme="dark"] .job-card__logo { color: var(--gold); }
.job-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.job-card__title { font-size: 1.05rem; font-weight: 600; }
.job-card__title a { color: var(--text); }
.job-card__title a:hover { color: var(--red); }
.job-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.job-tag {
  font-family: var(--font-sans);
  font-size: .72rem;
  padding: .18rem .6rem;
  border-radius: 99px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.job-tag--type { background: rgba(11,35,71,.07); color: var(--navy); border-color: rgba(11,35,71,.15); }
[data-theme="dark"] .job-tag--type { background: rgba(159,180,214,.12); color: var(--navy); border-color: var(--border-strong); }
.job-card__deadline {
  font-family: var(--font-sans);
  font-size: .78rem;
  color: var(--red-warm);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.job-card__deadline svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.job-card__actions { display: flex; flex-direction: column; gap: .4rem; flex: none; }

/* Event card */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-2); }
.event-card__body { padding: 1rem 1.1rem 1.15rem; display: flex; gap: 1rem; flex: 1; }
.event-date-chip {
  flex: none;
  width: 58px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-sans);
  align-self: flex-start;
}
.event-date-chip__month {
  display: block;
  background: var(--red);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .2rem 0;
}
.event-date-chip__day {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  padding: .25rem 0 .3rem;
}
.event-card__info { display: flex; flex-direction: column; gap: .4rem; min-width: 0; flex: 1; }
.event-card__title { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.event-card__title a { color: var(--text); }
.event-card__title a:hover { color: var(--red); }
.event-type-chip {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(11,35,71,.07);
  padding: .15rem .55rem;
  border-radius: 3px;
  align-self: flex-start;
}
[data-theme="dark"] .event-type-chip { background: rgba(159,180,214,.14); color: var(--navy); }

/* Itinerary card */
.itinerary-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  font-family: var(--font-sans);
  font-size: .76rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: .55rem;
}
.itinerary-card__specs span { display: flex; align-items: center; gap: .35rem; }
.itinerary-card__specs svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.itinerary-card__highlights { font-size: .85rem; color: var(--text-muted); line-height: 1.55; }

/* Video card */
.video-card { position: relative; }
.video-card .play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.play-badge span {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(181,31,36,.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease);
  box-shadow: 0 4px 16px rgba(8,26,54,.4);
}
.play-badge span svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.video-card:hover .play-badge span { transform: scale(1.08); background: var(--red-warm); }
.play-badge--sm span { width: 38px; height: 38px; }
.play-badge--sm span svg { width: 13px; height: 13px; }
.video-duration {
  position: absolute;
  right: .55rem; bottom: .55rem;
  z-index: 1;
  background: rgba(8,26,54,.85);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  padding: .12rem .45rem;
  border-radius: 3px;
}

/* Author card */
.author-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
}
.author-card__name { font-weight: 700; font-size: 1rem; }
.author-card__role { font-family: var(--font-sans); font-size: .78rem; color: var(--text-muted); margin-bottom: .35rem; }
.author-card__bio { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* Team member card */
.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.15rem 1.25rem;
  transition: box-shadow var(--speed) var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-2); }
.team-card .avatar { margin-inline: auto; margin-bottom: .8rem; }
.team-card__name { font-size: 1.02rem; font-weight: 700; }
.team-card__role { font-family: var(--font-sans); font-size: .78rem; color: var(--red); font-weight: 600; letter-spacing: .04em; margin: .2rem 0 .45rem; }
.team-card__dept { font-family: var(--font-sans); font-size: .78rem; color: var(--text-muted); }
.team-card__social { display: flex; justify-content: center; gap: .3rem; margin-top: .7rem; }
.team-card__social a { padding: .3rem; color: var(--text-muted); }
.team-card__social a:hover { color: var(--red); }
.team-card__social svg { width: 15px; height: 15px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Breadcrumbs & pagination
   -------------------------------------------------------------------------- */
.breadcrumbs {
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--text-muted);
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumbs li + li::before { content: "›"; opacity: .5; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--red); }
.page-header .breadcrumbs, .page-header .breadcrumbs a { color: #9FB0C9; }
.page-header .breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current="page"] { color: inherit; font-weight: 600; }

.pagination {
  display: flex;
  gap: .35rem;
  justify-content: center;
  margin-top: 2.25rem;
  font-family: var(--font-sans);
}
.pagination a, .pagination span {
  min-width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: .6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--text);
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .is-current { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.pagination .is-gap { border: none; }

/* --------------------------------------------------------------------------
   Filter bars
   -------------------------------------------------------------------------- */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .8rem 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .45rem;
  font-family: var(--font-sans);
}
.filter-bar__row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; width: 100%; }
.filter-bar .form-field { margin-bottom: 0; flex: 1; min-width: 160px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .42rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.filter-chip:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--bg-card);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(11, 35, 71, .12);
}
.filter-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.filter-chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--red-warm), var(--red));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(181, 31, 36, .35);
  transform: translateY(-1px);
}
.filter-select {
  font-family: var(--font-sans);
  font-size: .84rem;
  font-weight: 500;
  color: var(--text);
  background-color: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  padding: .42rem 2.1rem .42rem 1rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2368707C' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 13px;
  transition: border-color var(--speed) var(--ease);
}
.filter-select:hover, .filter-select:focus { border-color: var(--red); outline: none; }
[data-theme="dark"] .filter-chip:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, .4); }
/* small screens: chips scroll in one tidy row instead of stacking tall */
@media (max-width: 640px) {
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; padding-bottom: .65rem; }
  .filter-bar > * { flex: none; }
  .filter-bar .filter-select { margin-left: auto; }
}
.results-count { font-family: var(--font-sans); font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   Search overlay
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 40, .78);
  backdrop-filter: blur(3px);
  z-index: var(--z-modal);
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 8vh, 6rem) var(--gutter) 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), visibility var(--speed);
  overflow-y: auto;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__panel {
  width: min(680px, 100%);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.6rem;
  height: fit-content;
  box-shadow: var(--shadow-3);
}
.search-overlay__form {
  display: flex;
  gap: .6rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: .2rem .2rem .2rem .9rem;
  align-items: center;
}
[data-theme="dark"] .search-overlay__form { border-color: var(--border-strong); }
.search-overlay__form svg { width: 18px; height: 18px; stroke: var(--text-muted); fill: none; stroke-width: 2; flex: none; }
.search-overlay__form input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: .55rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  min-width: 0;
}
.search-overlay__form input:focus { outline: none; }
.search-overlay__group { margin-top: 1.3rem; }
.search-overlay__group h3 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.search-suggestions { list-style: none; margin: 0; padding: 0; font-family: var(--font-sans); }
.search-suggestions li a, .search-suggestions li button {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  text-align: left;
  padding: .5rem .6rem;
  border-radius: var(--radius);
  font-size: .92rem;
  color: var(--text);
}
.search-suggestions li a:hover, .search-suggestions li button:hover { background: var(--bg-alt); color: var(--red); }
.search-suggestions svg { width: 14px; height: 14px; stroke: var(--text-muted); fill: none; stroke-width: 1.8; flex: none; }
.search-overlay__close {
  float: right;
  margin: -0.4rem -0.5rem 0 0;
}

/* --------------------------------------------------------------------------
   Modal & lightbox
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(8, 20, 40, .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), visibility var(--speed);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-3);
}
.modal__close {
  position: absolute;
  top: .8rem; right: .8rem;
  z-index: 2;
}
.modal__video {
  aspect-ratio: 16/9;
  background: var(--navy-deep);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B9C8DE;
  font-family: var(--font-sans);
  font-size: .9rem;
  flex-direction: column;
  gap: .6rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(6, 14, 28, .93);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed) var(--ease), visibility var(--speed);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(900px, 100%); }
.lightbox__stage .ph { box-shadow: var(--shadow-3); }
.lightbox__caption {
  color: #C9D4E4;
  font-family: var(--font-sans);
  font-size: .88rem;
  margin-top: 1rem;
  text-align: center;
  max-width: 70ch;
}
.lightbox__credit { display: block; font-size: .74rem; opacity: .65; margin-top: .2rem; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; color: #fff; }
.lightbox__counter {
  position: absolute;
  top: 1.2rem; left: 1.4rem;
  color: #9FB0C9;
  font-family: var(--font-sans);
  font-size: .82rem;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast-region {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: min(420px, calc(100vw - 2rem));
}
.toast {
  background: var(--navy-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .88rem;
  padding: .75rem 1.05rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  display: flex;
  align-items: center;
  gap: .6rem;
  border-left: 3px solid var(--gold);
  animation: toastIn .25s var(--ease);
}
.toast--success { border-left-color: #4CAF74; }
.toast--error { border-left-color: var(--red-warm); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   Cookie / privacy notice
   -------------------------------------------------------------------------- */
.cookie-notice {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: var(--z-toast);
  margin-inline: auto;
  width: min(560px, calc(100% - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: .86rem;
  color: var(--text-muted);
  display: none;
}
.cookie-notice.is-visible { display: block; }
.cookie-notice__actions { display: flex; gap: .6rem; margin-top: .8rem; }

/* --------------------------------------------------------------------------
   Skeleton / empty / error states
   -------------------------------------------------------------------------- */
.skeleton {
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.skeleton--line { height: 14px; margin-bottom: .55rem; }
.skeleton--media { aspect-ratio: 16/9; }

.empty-state, .error-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  color: var(--text-muted);
}
.empty-state h3, .error-state h3 { font-family: var(--font-serif); color: var(--text); margin-bottom: .4rem; }
.empty-state svg, .error-state svg { width: 40px; height: 40px; stroke: var(--border-strong); fill: none; stroke-width: 1.4; margin: 0 auto .8rem; }

/* --------------------------------------------------------------------------
   Social share
   -------------------------------------------------------------------------- */
.share-buttons { display: flex; gap: .4rem; flex-wrap: wrap; }
.share-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  transition: all var(--speed) var(--ease);
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-alt); }
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }
.share-btn--bookmark[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #15171A; }

/* Divider */
.rule { border: 0; border-top: 1px solid var(--border); margin-block: 1.5rem; }

/* Grids */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
