/*
Theme Name: Dinner Cruise Oahu
Theme URI: https://dinnercruiseoahu.com
Author: Makana / Claude Code
Author URI: https://dinnercruiseoahu.com
Description: A classy, widescreen WordPress theme for Dinner Cruise Oahu with full-screen imagery, ocean-blue & gold palette, and curvy section dividers. Built to match the approved design mockup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dinnercruise-oahu
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:        #0d2a43;
  --navy-deep:   #081f33;
  --ocean:       #1c4a6b;
  --ocean-light: #2e6489;
  --gold:        #c2914a;
  --gold-dark:   #a9793a;
  --gold-bright: #d9ad5f;
  --cream:       #faf7f1;
  --paper:       #ffffff;
  --ink:         #324049;
  --muted:       #6f808c;
  --line:        #e7ecf1;
  --faq-row:     #eef3f7;

  --maxw: 1280px;
  --maxw-wide: 1500px;
  --radius: 16px;
  --shadow-sm: 0 6px 20px rgba(13,42,67,.08);
  --shadow-md: 0 18px 50px rgba(13,42,67,.16);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container-wide { width: 100%; max-width: var(--maxw-wide); margin: 0 auto; padding: 0 28px; }

/* ============================================================
   SHARED SECTION ORNAMENTS
   ============================================================ */
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 800px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

/* gold line-diamond-line divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 18px auto 0; width: 180px;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; flex: 1; background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}
.ornament::after { --dir: left; }
.ornament span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.ornament--light::before, .ornament--light::after { background: linear-gradient(to var(--dir, right), transparent, var(--gold-bright)); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 4px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(194,145,74,.32); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: var(--navy);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); color: #fff; font-size: 1.18rem; letter-spacing: .02em; }
.brand-text small { font-family: var(--sans); color: #fff; font-size: .9rem; letter-spacing: .35em; opacity: .85; }

.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; color: #fff; font-size: .78rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px;
}
.main-nav a:hover { color: var(--gold-bright); }
.main-nav .menu-item-has-children > a::after { content: " \25BE"; font-size: .7em; opacity: .8; }

.main-nav .sub-menu, .main-nav ul ul {
  position: absolute; min-width: 311px; background: #fff; border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 8px; margin-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease;
  display: block;
}
.main-nav li { position: relative; }
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { color: var(--navy); border-radius: 6px; }
.main-nav .sub-menu a:hover { background: var(--cream); color: var(--gold-dark); }

.header-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; justify-content: center;
  text-align: center; color: #fff; padding: 140px 0 120px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,25,40,.55) 0%, rgba(8,25,40,.28) 40%, rgba(8,25,40,.62) 100%);
}
.hero__inner { max-width: 980px; padding: 44px 24px; animation: rise 1s ease both; }
.hero h1 {
  color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.6rem); margin-bottom: .15em;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero__sub {
  font-family: var(--sans); font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  font-size: clamp(.8rem, 1.4vw, 1.05rem); margin-bottom: 8px;
}
.hero__cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* wave divider sitting at bottom of a dark section, curving into white */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; line-height: 0; z-index: 1; }
.wave-divider svg { width: 100%; height: 110px; display: block; }
.wave-top { position: absolute; left: 0; right: 0; top: -1px; width: 100%; line-height: 0; transform: rotate(180deg); }
.wave-top svg { width: 100%; height: 110px; display: block; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.about__copy .eyebrow { margin-bottom: 6px; }

/* organic blob image with offset gold outline */
.blob { position: relative; }
.blob__img {
  border-radius: 62% 38% 55% 45% / 56% 50% 50% 44%;
  overflow: hidden; box-shadow: var(--shadow-md); position: relative; z-index: 2;
}
.blob__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.blob::before {
  content: ""; position: absolute; inset: -22px -22px auto auto; width: 100%; height: 100%;
  border: 1.5px solid var(--gold); border-radius: 62% 38% 55% 45% / 56% 50% 50% 44%;
  z-index: 1; right: -22px; top: -22px;
}

/* ============================================================
   CRUISES
   ============================================================ */
.cruises { background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.07); }
.card__badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(13,42,67,.92); color: var(--gold-bright);
  border: 1px solid rgba(217,173,95,.5); border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px;
}

.card__body { padding: 20px 24px 24px; text-align: left; display: flex; flex-direction: column; flex: 1; }
.card__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--sans); font-size: .82rem; margin-bottom: 12px;
}
.card__rating { color: var(--gold); font-weight: 600; }
.card__stars { letter-spacing: 1px; }
.card__rating small { color: var(--muted); font-weight: 400; }
.card__duration { display: flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.card__duration svg { width: 15px; height: 15px; }

.card__body h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card__body p {
  font-size: .92rem; color: var(--muted); margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__divider { border: 0; border-top: 1px solid var(--line); margin: 0 0 16px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-family: var(--sans); font-weight: 600; letter-spacing: .02em; }
.card__price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.card__price strong { color: var(--gold-dark); font-weight: 700; }
.btn-sm { padding: 11px 20px; font-size: .72rem; letter-spacing: .12em; }

/* ============================================================
   OCEAN FEATURES (dark)
   ============================================================ */
.ocean {
  position: relative; color: #fff;
  background: linear-gradient(180deg, var(--ocean) 0%, var(--navy) 100%);
  padding: 95px 0 85px;
}
.ocean::before {
  content: ""; position: absolute; inset: 0; opacity: .14; z-index: 0;
  background-image: radial-gradient(circle at 20% 30%, #fff 1px, transparent 1px),
                    radial-gradient(circle at 70% 60%, #fff 1px, transparent 1px);
  background-size: 120px 120px, 90px 90px;
}
.ocean .container { position: relative; z-index: 2; }
.ocean h2 { color: #fff; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-top: 20px; text-align: center; }
.feature__icon { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--gold-bright); }
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 {
  color: var(--gold-bright); font-family: var(--sans); font-size: .92rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px;
}
.feature p { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ============================================================
   CTA BANNER (curved, full image)
   ============================================================ */
.cta-banner {
  position: relative; color: #fff; padding: 200px 0; overflow: hidden;
  display: flex; align-items: center;
}
.cta-banner__bg { position: absolute; inset: 0; background-size: cover; background-position: 0 -30px; z-index: -2; }
.cta-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,25,40,.78) 0%, rgba(8,25,40,.45) 55%, rgba(8,25,40,.2) 100%);
}
.cta-banner h2 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 620px; }
.cta-banner__sub { letter-spacing: .26em; text-transform: uppercase; font-size: .9rem; margin-bottom: 26px; opacity: .9; }

/* ============================================================
   WHY CHOOSE
   ============================================================ */
.why { background: #fff; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why__col { padding: 10px 34px; text-align: center; position: relative; }
.why__col + .why__col::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line);
}
.why__icon { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--gold); }
.why__icon svg { width: 100%; height: 100%; }
.why h3 {
  font-family: var(--sans); color: var(--navy); font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.why p { font-size: .9rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: linear-gradient(180deg, var(--cream) 0%, #ffffff 100%); }
.faq__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item { background: var(--faq-row); border-radius: 8px; overflow: hidden; transition: box-shadow .25s ease; }
.acc-item.is-open { box-shadow: var(--shadow-sm); }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-family: var(--sans); font-size: .98rem; font-weight: 500; color: var(--navy);
}
.acc-q .plus { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.acc-q .plus::before, .acc-q .plus::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .3s ease;
}
.acc-q .plus::before { top: 10px; left: 0; width: 22px; height: 2px; }
.acc-q .plus::after { left: 10px; top: 0; width: 2px; height: 22px; }
.acc-item.is-open .plus::after { transform: scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: .94rem; }

/* ============================================================
   BLOG
   ============================================================ */
.blog { background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%); }
.blog .section-head p { color: var(--muted); margin-top: 14px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.post__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.post:hover .post__media img { transform: scale(1.07); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-bottom: 14px;
}
.post__cat {
  color: var(--gold-dark); border: 1px solid rgba(194,145,74,.45); border-radius: 999px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; padding: 5px 12px;
}
.post__body h3 { font-size: 1.18rem; line-height: 1.35; margin-bottom: 10px; }
.post__body h3 a { color: var(--navy); transition: color .2s ease; }
.post__body h3 a:hover { color: var(--gold-dark); }
.post__body p {
  font-size: .92rem; color: var(--muted); margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post__link {
  margin-top: auto; font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .06em; color: var(--gold-dark);
}
.post__link:hover { color: var(--gold); }
.blog__cta { text-align: center; margin-top: 48px; }
.btn-outline-gold {
  background: transparent; color: var(--gold-dark); border-color: var(--gold);
  border-radius: 999px; padding: 15px 38px;
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 44px; padding-bottom: 50px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 56px; height: 56px; }
.footer__brand strong { font-family: var(--serif); color: #fff; font-size: 1.2rem; display: block; }
.footer__brand small { letter-spacing: .35em; font-size: .85rem; opacity: .8; }
.footer h4 {
  color: var(--gold-bright); font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.78); font-size: .92rem; }
.footer a:hover { color: var(--gold-bright); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold-bright); flex: 0 0 auto; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
}
.socials a:hover { background: var(--gold); }
.socials svg { width: 18px; height: 18px; color: #fff; }
.newsletter form { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.newsletter input[type=email] {
  padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: #fff; font-family: var(--sans); font-size: .9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; text-align: center;
  font-size: .82rem; color: rgba(255,255,255,.55);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .cards, .posts { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .why__col:nth-child(3)::before { display: none; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .about__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .features { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); background: var(--navy);
    flex-direction: column; align-items: flex-start; padding: 90px 28px; gap: 0;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .main-nav a { padding: 14px 0; width: 100%; }
  .main-nav .sub-menu, .main-nav ul ul {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; padding: 0 0 0 16px; margin: 0;
  }
  .main-nav .sub-menu a { color: rgba(255,255,255,.7); }
}
@media (max-width: 560px) {
  .cards, .posts { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__col::before { display: none !important; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .blob::before { display: none; }
}

/* ============================================================
   SINGLE POST + ARCHIVE (blog templates)
   ============================================================ */
.container-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 28px; }
.single-post { background: #fff; }

/* Article hero band (also gives the fixed header a dark backdrop) */
.article-hero {
  position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--ocean) 100%);
  color: #fff; text-align: center; padding: 170px 0 96px;
}
.article-hero .container { position: relative; z-index: 2; max-width: 860px; }
.article-hero__cat {
  display: inline-block; font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright);
  border: 1px solid rgba(217,173,95,.5); border-radius: 999px; padding: 6px 16px; margin-bottom: 22px;
}
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 20px; }
.article-hero__meta {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: .92rem; color: rgba(255,255,255,.78);
}
.article-hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-bright); }
.article-hero .ornament { margin-top: 26px; }

/* Featured image, pulled up over the wave */
.article-figure { background: #fff; }
.article-figure__img {
  margin-top: -36px; position: relative; z-index: 3; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 16/9;
}
.article-figure__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Readable prose */
.entry-content { padding: 56px 0 8px; font-size: 1.075rem; line-height: 1.85; color: #314454; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--navy); margin: 1.7em 0 .5em; line-height: 1.2;
}
.entry-content h3 { font-size: 1.32rem; color: var(--navy); margin: 1.5em 0 .4em; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--gold); }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .55em; }
.entry-content ul li::marker { color: var(--gold); }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.2em 0; }
.entry-content blockquote {
  margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold);
  font-style: italic; color: var(--navy);
}

/* Keyword link helper used in posts */
.entry-content a.kw { color: var(--gold-dark); text-decoration: underline dotted; text-underline-offset: 3px; }
.entry-content a.kw:hover { color: var(--gold); text-decoration-style: solid; }

/* Responsive video / iframe embeds */
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16/9; margin: 1.8em 0;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Article footer: tags + back link */
.article-foot {
  margin: 16px 0 0; padding: 32px 0 80px; border-top: 1px solid rgba(13,42,67,.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags a {
  font-family: var(--sans); font-size: .8rem; color: var(--gold-dark);
  border: 1px solid rgba(194,145,74,.45); border-radius: 999px; padding: 6px 14px;
}
.article-tags a:hover { background: var(--gold); color: #fff; }

/* Blog archive page header */
.archive-head { position: relative; background: linear-gradient(180deg, var(--navy) 0%, var(--ocean) 100%); color: #fff; text-align: center; padding: 168px 0 92px; }
.archive-head .container { position: relative; z-index: 2; }
.archive-head h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.archive-head p { color: rgba(255,255,255,.8); max-width: 620px; margin: 14px auto 0; }
.archive-head .ornament { margin-top: 22px; }
