/* ═══════════════════════════════════════════════════════
   SUPREMA YACHTS — Guide / Article Styles
   Extends: style.css (must be loaded before this file)
═══════════════════════════════════════════════════════ */

/* ── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb {
  padding: calc(var(--nav-h) + var(--s3)) var(--pad-x) var(--s2);
  max-width: var(--max-w);
  margin: 0 auto;
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-head);
}
.breadcrumb__list a {
  color: var(--text-dim);
  transition: color 150ms ease;
}
.breadcrumb__list a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--text-muted); }
.breadcrumb__current { color: var(--text-dim); }


/* ── ARTICLE HERO ────────────────────────────────────── */
.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
  margin-bottom: var(--s5);
}
.article-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,12,0.2) 0%, rgba(12,12,12,0.55) 100%);
}


/* ── ARTICLE LAYOUT ──────────────────────────────────── */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.article-header {
  margin-bottom: var(--s5);
}
.article-header .section-label {
  margin-bottom: var(--s2);
}
.article-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--s2);
}
.article-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-head);
  padding-top: var(--s2);
  border-top: 1px solid var(--border);
}
.article-meta__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.article-meta__badge {
  background: rgba(75,168,204,0.12);
  color: var(--accent);
  border: 1px solid rgba(75,168,204,0.25);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ── DIRECT ANSWER BLOCK ─────────────────────────────── */
.answer-block {
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: var(--s3) var(--s4);
  margin: var(--s4) 0 var(--s5);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
}
.answer-block strong {
  color: var(--text);
}


/* ── ARTICLE BODY (prose) ────────────────────────────── */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-dim);
}
.article-body > * + * {
  margin-top: var(--s3);
}
.article-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: var(--s6);
  margin-bottom: var(--s2);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}
.article-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-top: var(--s4);
  margin-bottom: var(--s1);
}
.article-body p {
  color: var(--text-dim);
}
.article-body strong {
  color: var(--text);
  font-weight: 600;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(75,168,204,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}
.article-body a:hover {
  text-decoration-color: var(--accent);
}
.article-body ul {
  list-style: none;
  padding: 0;
  margin-top: var(--s2);
}
.article-body ul li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85em;
}
.article-body ol {
  padding-left: 1.5rem;
  margin-top: var(--s2);
}
.article-body ol li {
  margin-bottom: 0.5rem;
}


/* ── ARTICLE IMAGE ───────────────────────────────────── */
.article-img {
  display: block;
  width: 100%;
  border-radius: 6px;
  margin: var(--s5) 0;
}
.article-img-wrap {
  margin: var(--s5) 0;
}
.article-img-wrap img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.article-img-caption {
  margin-top: var(--s1);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}


/* ── CALLOUT / STAT BOX ──────────────────────────────── */
.article-callout {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s3) var(--s4);
  margin: var(--s4) 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  text-align: center;
}
.article-callout em {
  color: var(--accent);
  font-style: normal;
}

.article-highlight {
  background: linear-gradient(135deg, rgba(75,168,204,0.08), rgba(75,168,204,0.03));
  border: 1px solid rgba(75,168,204,0.2);
  border-radius: 8px;
  padding: var(--s3) var(--s4);
  margin: var(--s4) 0;
}
.article-highlight p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}


/* ── COMPARISON TABLE ────────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  margin: var(--s4) 0 var(--s5);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.compare-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}
.compare-tbl thead {
  background: var(--bg-3);
}
.compare-tbl thead th {
  padding: 0.9rem 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-tbl thead th:first-child {
  color: var(--text-muted);
  font-weight: 500;
}
.compare-tbl thead .col-highlight {
  background: rgba(75,168,204,0.08);
  color: var(--accent);
}
.compare-tbl tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 150ms ease;
}
.compare-tbl tbody tr:last-child {
  border-bottom: none;
}
.compare-tbl tbody tr:hover {
  background: rgba(240,238,232,0.03);
}
.compare-tbl td {
  padding: 0.75rem 1rem;
  color: var(--text-dim);
  vertical-align: middle;
}
.compare-tbl td:first-child {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.compare-tbl .col-highlight {
  background: rgba(75,168,204,0.05);
  color: var(--text);
  font-weight: 500;
}
.compare-tbl .val-accent {
  color: var(--accent);
  font-weight: 600;
}
.compare-tbl .val-check {
  color: #25D366;
  font-size: 1rem;
}
.compare-tbl .val-dash {
  color: var(--text-muted);
}
.compare-tbl .val-price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
}
.compare-tbl .val-na {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.82rem;
}


/* ── CHOICE CARDS ────────────────────────────────────── */
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
  margin: var(--s4) 0;
}
.choice-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--s3);
}
.choice-card.choice-card--accent {
  border-color: rgba(75,168,204,0.35);
  background: rgba(75,168,204,0.05);
}
.choice-card__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s1);
}
.choice-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s1);
}
.choice-card__price {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.choice-card p {
  font-size: 0.87rem;
  color: var(--text-dim);
  line-height: 1.6;
}


/* ── FAQ SECTION ─────────────────────────────────────── */
.faq-section {
  margin: var(--s6) 0;
}
.faq-section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: var(--s4);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 150ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary svg {
  flex-shrink: 0;
  transition: transform 250ms ease;
  color: var(--accent);
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-body {
  padding: 0 0 var(--s3);
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.faq-item .faq-body strong {
  color: var(--text);
}
.faq-item .faq-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(75,168,204,0.35);
}


/* ── ARTICLE CTA BOX ─────────────────────────────────── */
.article-cta {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: var(--s4) var(--s5);
  margin: var(--s6) 0;
  text-align: center;
}
.article-cta__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s2);
}
.article-cta h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s2);
}
.article-cta p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: var(--s3);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--s2);
  flex-wrap: wrap;
}


/* ── AUTHOR BOX ──────────────────────────────────────── */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: var(--s6) 0;
}
.author-box__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}
.author-box__info h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.author-box__info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ── GUIDE INDEX PAGE ────────────────────────────────── */
.guide-index-hero {
  padding: calc(var(--nav-h) + var(--s7)) var(--pad-x) var(--s7);
  max-width: var(--max-w);
  margin: 0 auto;
}
.guide-index-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s3);
}
.guide-index-hero p {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.6;
}

.guide-grid-section {
  padding: 0 var(--pad-x) var(--s8);
  max-width: var(--max-w);
  margin: 0 auto;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--s4);
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
  text-decoration: none;
}
.guide-card:hover {
  border-color: rgba(75,168,204,0.35);
  transform: translateY(-3px);
}
.guide-card__media {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.guide-card:hover .guide-card__media img {
  transform: scale(1.04);
}
.guide-card__body {
  padding: var(--s3);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.guide-card__tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s1);
}
.guide-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: var(--s1);
  flex: 1;
}
.guide-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--s2);
}
.guide-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-head);
}


/* ── RELATED ARTICLES ────────────────────────────────── */
.related-section {
  padding: var(--s6) var(--pad-x) var(--s8);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.related-section h2 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s4);
}


/* ── MOBILE RESPONSIVE ───────────────────────────────── */
@media (max-width: 767px) {
  .article-hero { aspect-ratio: 16/8; }
  .article-body h2 { margin-top: var(--s5); }
  .choice-grid { grid-template-columns: 1fr; }
  .compare-tbl { font-size: 0.8rem; }
  .compare-tbl td, .compare-tbl th { padding: 0.6rem 0.75rem; }
  .article-cta { padding: var(--s3) var(--s3); }
  .guide-index-hero { padding: calc(var(--nav-h) + var(--s5)) var(--pad-x) var(--s5); }
  .author-box { flex-direction: column; gap: var(--s2); }
}
