/* Florida Man Times — clean modern news theme.
   Accent: lime green. To switch to light blue, change the three --accent values:
   --accent: #38bdf8; --accent-ink: #0369a1; --accent-soft: #e0f2fe; */
:root {
  --bg: #ffffff;
  --gray-50: #f7f8f7;
  --gray-100: #f0f2f0;
  --gray-200: #e4e7e4;
  --gray-400: #9aa29a;
  --gray-600: #5b635b;
  --ink: #111511;
  --accent: #a3e635;      /* bright lime, for fills and highlights */
  --accent-ink: #3f6212;  /* dark lime, for text on white (readable) */
  --accent-soft: #f2fbe3;
  --radius: 14px;
  --max: 1200px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
main { padding-bottom: 72px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--gray-200); }
.bar { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 14px; letter-spacing: -.02em; }
.logo-text { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo-text b { font-weight: 800; color: var(--accent-ink); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { font-size: 14px; font-weight: 600; color: var(--gray-600); padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--gray-100); color: var(--ink); }
.breaking { background: var(--gray-50); border-top: 1px solid var(--gray-200); }
.breaking-inner { max-width: var(--max); margin: 0 auto; padding: 9px 24px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.breaking-inner a { overflow: hidden; text-overflow: ellipsis; }
.breaking-inner a:hover { color: var(--accent-ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; flex: none; }
.pill.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Shared bits ---------- */
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.tag:hover { background: var(--accent); color: var(--ink); }
.label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin: 0; display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.meta { margin: 0; font-size: 13px; color: var(--gray-600); }
.meta span { color: var(--gray-400); margin: 0 2px; }
.dek { margin: 0; color: var(--gray-600); }

/* Media */
.media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.media.wide { aspect-ratio: 16 / 9; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover .media img { transform: scale(1.04); }
.placeholder { display: grid; place-items: center; background:
  radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 55%),
  radial-gradient(circle at 85% 80%, #eef1ee, transparent 50%),
  var(--gray-100); }
.ph-emoji { font-size: clamp(56px, 8vw, 96px); filter: drop-shadow(0 10px 18px rgba(0,0,0,.12)); transition: transform .3s; }
.media.wide .ph-emoji { font-size: clamp(80px, 12vw, 150px); }
a:hover .ph-emoji { transform: scale(1.08) rotate(-5deg); }

/* ---------- Home ---------- */
.top { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 40px; padding-top: 32px; }
.hero-body { padding-top: 20px; }
.hero h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 900; margin: 12px 0; }
.hero h2 a:hover, .card h3 a:hover, .trending a:hover { color: var(--accent-ink); }
.hero .dek { font-size: 19px; margin-bottom: 12px; }
.read-more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 15px; border-bottom: 3px solid var(--accent); padding-bottom: 2px; }
.trending { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; align-self: start; position: sticky; top: 130px; }
.trending ol { list-style: none; margin: 16px 0 0; padding: 0; }
.trending li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--gray-200); }
.trending li:first-child { border-top: 0; }
.num { font-size: 28px; font-weight: 900; line-height: 1; color: var(--accent-ink); min-width: 26px; letter-spacing: -.04em; }
.trending a { font-weight: 700; font-size: 15px; line-height: 1.3; display: block; margin-bottom: 4px; letter-spacing: -.01em; }

.section-head { margin: 56px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.card-body { padding-top: 14px; display: grid; gap: 8px; justify-items: start; }
.card h3 { font-size: 20px; line-height: 1.22; letter-spacing: -.025em; font-weight: 800; margin: 2px 0 0; }
.card .dek { font-size: 15px; }

.cta { margin-top: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 20px; background: var(--ink); color: #fff; }
.cta h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.03em; }
.cta p { margin: 0; color: #c9d1c9; }
.cta-badge { flex: none; background: var(--accent); color: var(--ink); font-weight: 800; padding: 12px 18px; border-radius: 999px; font-size: 14px; }

/* ---------- Story ---------- */
.story { max-width: 760px; margin: 0 auto; padding: 40px 24px 0; }
.story-head h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 900; margin: 14px 0 14px; }
.story-dek { font-size: 21px; line-height: 1.45; color: var(--gray-600); margin: 0 0 24px; }
.byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.byline strong { display: block; font-size: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.story-media { margin: 28px -24px 8px; }
.story-media .media { border-radius: 18px; }
.caption { font-size: 13px; color: var(--gray-400); margin: 8px 24px 0; }
.story-body { font-family: var(--serif); font-size: 20px; line-height: 1.7; color: #1d211d; margin-top: 28px; }
.story-body p { margin: 0 0 1.25em; }
.story-body p:first-child::first-letter { font-family: var(--sans); font-weight: 900; float: left; font-size: 3.6em; line-height: .85; margin: 6px 10px 0 0; color: var(--ink); background: var(--accent); padding: 8px 10px 6px; border-radius: 10px; }
.source-box { margin-top: 32px; padding: 20px 22px; border-radius: var(--radius); background: var(--gray-50); border: 1px solid var(--gray-200); display: grid; gap: 6px; }
.source-box a { font-weight: 700; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.source-box p { margin: 0; font-size: 14px; color: var(--gray-600); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.share span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.share a, .share button { font: 600 14px var(--sans); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--gray-200); background: #fff; color: var(--ink); cursor: pointer; }
.share a:hover, .share button:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Section / misc ---------- */
.page-head { padding: 48px 0 8px; border-bottom: 1px solid var(--gray-200); margin-bottom: 32px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.04em; font-weight: 900; margin: 12px 0 6px; }
.page-head p { margin: 0 0 24px; color: var(--gray-600); font-size: 18px; }
.center { text-align: center; padding-top: 80px; }
.button { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 999px; }
.button:hover { background: var(--accent); color: var(--ink); }
.empty { color: var(--gray-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 48px 24px 32px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-tag { color: var(--gray-600); max-width: 420px; margin: 12px 0 0; font-size: 15px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; font-size: 14px; align-items: flex-start; }
.footer-nav a:hover { color: var(--accent-ink); }
.fine { max-width: var(--max); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid var(--gray-200); font-size: 12px; color: var(--gray-400); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .top { grid-template-columns: 1fr; }
  .trending { position: static; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 18px; }
  .nav { margin-left: -12px; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .container, .breaking-inner { padding-left: 18px; padding-right: 18px; }
  .grid { grid-template-columns: 1fr; }
  .story { padding: 28px 18px 0; }
  .story-media { margin: 24px -18px 8px; }
  .story-media .media { border-radius: 0; }
  .story-body { font-size: 18px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px; }
  .site-header { position: static; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
