/*
Theme Name: Best Belly Boat MTC
Theme URI: https://bestbellyboat.com
Author: Marketing the Change
Author URI: https://marketingthechange.com
Description: Editorial magazine FSE theme for Best Belly Boat. Outdoor waterside palette (lake blue, forest cedar, cream, safety orange), Fraunces + Inter, angler-byline block, FTC disclosure banner, verdict badge, and review card built in. Ships with block patterns for lake hero, product hub, brand hub, how-to guide, species guide, review card, buying-guide band.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: bestbellyboat-mtc
Tags: block-theme, full-site-editing, magazine, editorial, blog, outdoor, fishing
*/

/* Base editorial reset. theme.json handles most tokens. */

body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }

a { text-underline-offset: 3px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; background: #E85D25; color: #F4EDDD; padding: 8px 14px; z-index: 9999; font-weight: 600; }

/* Angler byline card */
.bbb-byline {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  padding: 16px 20px; background: #E8DEC5; border-left: 3px solid #4A6A3A;
  font-size: 14px; color: #141B22; margin: 24px 0;
}
.bbb-byline strong { font-weight: 600; }
.bbb-byline .bbb-byline__meta { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #5C4A32; }
.bbb-byline .bbb-byline__water { color: #2E4526; font-weight: 600; }

/* Session-count stamp */
.bbb-sessions {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; background: #2E4526; color: #F4EDDD;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; border-radius: 2px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.bbb-sessions--desk { background: #8A7A63; }

/* FTC disclosure block (Safety Orange border, above H1) */
.bbb-ftc {
  border-top: 4px solid #E85D25; background: #E8DEC5; color: #141B22;
  padding: 20px 24px; margin: 24px 0; font-size: 15px; line-height: 1.55;
}
.bbb-ftc__label { font-weight: 700; color: #E85D25; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 6px; }
.bbb-ftc a { color: #141B22; text-decoration: underline; text-decoration-color: #E85D25; }

/* Safety warning band */
.bbb-safety {
  background: #E8DEC5; border-left: 4px solid #E85D25; padding: 14px 18px;
  font-size: 14px; color: #141B22; margin: 24px 0;
}
.bbb-safety strong { color: #E85D25; }

/* Callout box */
.bbb-callout { border-left: 4px solid #4A6A3A; background: #F4EDDD; padding: 20px 24px; margin: 24px 0; }
.bbb-callout p:last-child { margin-bottom: 0; }

/* Verdict badge (score / 10) */
.bbb-verdict { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 16px; background: #4A6A3A; color: #F4EDDD; border-radius: 4px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; }
.bbb-verdict__score { font-size: 26px; line-height: 1; }
.bbb-verdict__max { font-size: 14px; opacity: 0.75; }

/* Sub-score row */
.bbb-subscores { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; }
.bbb-subscores span { padding: 4px 10px; background: #E8DEC5; color: #141B22; border-radius: 2px; }
.bbb-subscores span strong { color: #2E4526; margin-left: 4px; }

/* Comparison table */
.bbb-compare { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.bbb-compare th, .bbb-compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #E8DEC5; }
.bbb-compare thead th { background: #12354D; color: #F4EDDD; font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.bbb-compare tbody tr:nth-child(even) { background: #E8DEC5; }
.bbb-compare tbody tr:hover { background: #F4EDDD; }

/* Spec table (mono numerics) */
.bbb-spec { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.bbb-spec th, .bbb-spec td { padding: 10px 12px; border-bottom: 1px solid #E8DEC5; text-align: left; }
.bbb-spec th { width: 40%; color: #5C4A32; font-weight: 600; }
.bbb-spec td { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #141B22; }

/* Editor's pick pill */
.bbb-pick { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; background: #4A6A3A; color: #F4EDDD; }
.bbb-pick--top { background: #E85D25; }
.bbb-pick--budget { background: #5C4A32; }
.bbb-pick--fly { background: #12354D; }
.bbb-pick--sponsored { background: #E85D25; color: #F4EDDD; }

/* Shortcomings pair callout */
.bbb-shortcomings { background: #F4EDDD; border: 1px solid #8A7A63; border-radius: 4px; padding: 20px 24px; margin: 24px 0; }
.bbb-shortcomings h4 { margin-top: 0; color: #E85D25; font-family: 'Fraunces', Georgia, serif; }
.bbb-shortcomings ul { margin: 8px 0 0; padding-left: 20px; }

/* Image treatments */
.bbb-img-lake-wash { position: relative; overflow: hidden; isolation: isolate; }
.bbb-img-lake-wash img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bbb-img-lake-wash::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,53,77,0.30) 0%, rgba(11,36,52,0.70) 100%); pointer-events: none; z-index: 1; }
.bbb-img-cedar-wash { position: relative; overflow: hidden; isolation: isolate; }
.bbb-img-cedar-wash::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,69,38,0.25) 0%, rgba(46,69,38,0.60) 100%); pointer-events: none; z-index: 1; }
.bbb-img-cream-frame { padding: 12px; background: #F4EDDD; border: 1px solid #E8DEC5; border-radius: 4px; box-shadow: 0 2px 6px rgba(20,27,34,0.06); display: inline-block; }
.bbb-img-cream-frame img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
