/* Theme "reel": a dark video-magazine look - near-black page background
   throughout (header, nav, cards, footer), a small amber play-icon logo
   mark next to a bold white wordmark, an amber square bullet in front of
   every uppercase section heading, and hero side items rendered as
   full-bleed image tiles with the title overlaid on a bottom gradient
   instead of a thumbnail-plus-text row. Amber corner badges on cards.
   Same class-name contract as the other themes (see
   functions/_themes/reel.js). */
:root {
  --ink: #0e0e0e; --paper: #111111; --card: #1a1a1a; --line: #2b2b2b;
  --muted: #9a9a9a; --text: #ececec; --accent: #e8960c; --accent-ink: #14131c; --sidebar-bg: #1a1a1a;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--text); }
body { font-family: 'Inter', -apple-system, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Inter', -apple-system, sans-serif; margin: 0; font-weight: 800; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.placeholder-img { background: repeating-linear-gradient(45deg, #232323, #232323 10px, #1a1a1a 10px, #1a1a1a 20px); display: flex; align-items: center; justify-content: center; color: #6b6b6b; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; object-fit: cover; }

.topbar { background: var(--ink); color: #7a7a7a; font-size: 11.5px; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: flex-end; padding: 9px 24px; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: none; }
.topbar-right { display: flex; gap: 12px; align-items: center; }
.social-dot { width: 22px; height: 22px; border-radius: 3px; background: #262626; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--accent); }
.social-dot:hover { background: var(--accent); color: var(--accent-ink); }

.site-header { background: var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: flex-start; padding: 20px 24px; }
.logo-group { display: flex; align-items: center; gap: 12px; flex-direction: row; }
.logo-box { width: 40px; height: 40px; flex-shrink: 0; background: var(--accent); color: var(--accent-ink); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.logo-img { height: 48px; width: auto; max-width: 340px; object-fit: contain; flex-shrink: 0; }
.site-name { font-size: 26px; font-weight: 800; letter-spacing: -.01em; text-align: left; color: #fff; }
.site-tagline { font-size: 10.5px; color: var(--muted); margin-top: 3px; text-align: left; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }

.main-nav { background: #161616; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.main-nav .wrap { display: flex; gap: 2px; justify-content: flex-start; flex-wrap: wrap; padding: 0; }
.main-nav a { color: #c2c2c2; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 15px 16px; border-bottom: 2px solid transparent; }
.main-nav a.home { color: var(--accent); border-bottom-color: var(--accent); }
.main-nav a:hover:not(.home) { color: #fff; }

.layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; padding: 34px 24px 20px; max-width: 1180px; margin: 0 auto; align-items: start; }

.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { font-weight: 700; color: var(--text); }
.breadcrumb .sep { margin: 0 8px; color: #444; }

/* Amber square bullet in front of an uppercase heading - this theme's
   recurring motif (no underline, no pill). */
.section-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.section-heading h2 { font-size: 18px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.section-heading h2::before { content: ""; display: inline-block; width: 11px; height: 11px; background: var(--accent); border-radius: 2px; }
.section-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-heading .see-all { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
section.cat-section { margin-bottom: 46px; }

.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 44px; }
.hero-main { position: relative; display: block; }
.hero-main .placeholder-img, .hero-main img { width: 100%; height: 360px; margin-bottom: 14px; border-radius: 6px; }
.cat-tag { color: var(--accent-ink); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--accent); padding: 5px 11px; border-radius: 3px; display: inline-block; position: relative; top: -34px; left: 12px; margin-bottom: -20px; }
.hero-main h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 10px; color: #fff; }
.hero-main p { color: var(--muted); font-size: 15px; margin: 0 0 8px; font-weight: 400; }
.meta { color: #7a7a7a; font-size: 12.5px; font-weight: 500; }

/* Hero side items: full-bleed image tiles with the caption overlaid on a
   bottom gradient, instead of a thumbnail-plus-text row. */
.hero-side { display: flex; flex-direction: column; gap: 10px; height: 360px; }
.hero-side-item { position: relative; display: block; flex: 1; overflow: hidden; border-radius: 6px; }
.hero-side-item .placeholder-img, .hero-side-item img { width: 100%; height: 100%; font-size: 9px; border-radius: 6px; position: absolute; inset: 0; }
.hero-side-item > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.hero-side-item h3 { font-size: 14px; line-height: 1.28; margin: 2px 0 0; color: #fff; }
.hero-side-item .cat-tag { top: 0; left: 0; margin-bottom: 4px; padding: 3px 9px; font-size: 9.5px; }

.tech-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-item { background: var(--card); border-radius: 6px; padding: 12px; display: block; border: 1px solid var(--line); }
.tech-item .placeholder-img, .tech-item img { width: 100%; height: 90px; margin-bottom: 10px; font-size: 9px; border-radius: 4px; }
.tech-item h3 { font-size: 14px; line-height: 1.3; color: #fff; }

.picks-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; background: var(--card); padding: 28px; border-radius: 8px; border: 1px solid var(--line); }
.picks-feature { display: block; }
.picks-feature .placeholder-img, .picks-feature img { width: 100%; height: 236px; margin-bottom: 14px; font-size: 10px; border-radius: 6px; }
.picks-feature h3 { font-size: 22px; line-height: 1.26; margin: 8px 0; color: #fff; }
.picks-list { list-style: none; margin: 0; padding: 0; counter-reset: pick; }
.picks-list li { counter-increment: pick; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.picks-list li:last-child { border-bottom: none; }
.picks-list li::before { content: counter(pick); font-size: 20px; font-weight: 900; color: var(--accent); width: 26px; flex-shrink: 0; }
.picks-list .p-title { font-size: 14px; font-weight: 700; line-height: 1.3; color: #fff; }

.lifestyle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lifestyle-card { position: relative; overflow: hidden; height: 254px; display: block; border-radius: 6px; }
.lifestyle-card .placeholder-img, .lifestyle-card img { width: 100%; height: 100%; }
.lifestyle-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff; }
.lifestyle-overlay h3 { color: #fff; font-size: 16px; margin-top: 4px; }

.travel-feature { display: grid; grid-template-columns: 1.4fr 1fr; background: var(--card); color: #fff; overflow: hidden; margin-bottom: 20px; border-radius: 8px; border: 1px solid var(--line); }
.travel-feature .placeholder-img, .travel-feature > img { width: 100%; height: 100%; min-height: 254px; }
.travel-copy { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.travel-copy h3 { color: #fff; font-size: 23px; margin: 10px 0 12px; line-height: 1.26; }
.travel-copy p { color: #a8a8a8; font-size: 14px; margin: 0; font-weight: 400; }
.travel-small { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.travel-small .placeholder-img, .travel-small img { width: 100%; height: 128px; margin-bottom: 10px; font-size: 9px; border-radius: 6px; }
.travel-small h3 { font-size: 14.5px; line-height: 1.3; color: #fff; }

.business-list { border-top: 1px solid var(--line); }
.business-row { display: flex; gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.business-row .placeholder-img, .business-row img { width: 88px; height: 64px; flex-shrink: 0; font-size: 8px; border-radius: 5px; }
.business-row h3 { font-size: 15px; line-height: 1.3; margin: 4px 0 4px; color: #fff; }

.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.popular-list li { counter-increment: pop; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.popular-list li::before { content: counter(pop); font-size: 20px; font-weight: 900; color: var(--accent); width: 26px; flex-shrink: 0; }
.popular-list .pop-title { font-size: 14px; font-weight: 700; line-height: 1.3; color: #fff; }

.cta-banner { background: var(--card); color: #fff; padding: 34px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; border-radius: 8px; border: 1px solid var(--accent); }
.cta-banner h2 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.cta-banner p { margin: 0; font-size: 14px; color: #a8a8a8; font-weight: 400; }
.cta-form { display: flex; gap: 10px; flex-shrink: 0; }
.cta-form input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; width: 220px; font-family: inherit; background: #101010; color: #fff; }
.cta-form button { padding: 12px 22px; border: none; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }

.widget { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.widget h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; margin-bottom: 16px; color: var(--accent); }
.weather-widget { background: var(--ink); }
.weather-widget h3 { color: var(--accent); }
.weather-now { display: flex; align-items: center; justify-content: space-between; }
.weather-now .temp-big { font-size: 40px; font-weight: 800; color: #fff; }
.weather-now .cond { font-size: 13px; color: #a8a8a8; }
.weather-date { font-size: 12.5px; color: #7a7a7a; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.weather-date .clock { font-weight: 800; color: #fff; font-size: 15px; }
.trending-list { list-style: none; margin: 0; padding: 0; counter-reset: trend; }
.trending-list li { counter-increment: trend; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trending-list li:last-child { border-bottom: none; padding-bottom: 0; }
.trending-list li::before { content: counter(trend); font-size: 20px; font-weight: 900; color: var(--accent); flex-shrink: 0; width: 24px; }
.trending-list .t-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #fff; }
.trending-list .t-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.newsletter-widget p { font-size: 13px; color: var(--muted); margin: 0 0 14px; font-weight: 400; }
.newsletter-widget input { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 13.5px; margin-bottom: 10px; font-family: inherit; background: #101010; color: #fff; }
.newsletter-widget button { width: 100%; padding: 10px; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 4px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: #101010; border: 1px solid var(--line); padding: 6px 14px; border-radius: 4px; font-size: 12.5px; font-weight: 700; color: #d9d9d9; }
.tag-cloud a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.social-row { display: flex; gap: 10px; }
.social-row a { flex: 1; background: #101010; border: 1px solid var(--line); border-radius: 4px; text-align: center; padding: 12px 6px; font-size: 12px; font-weight: 800; color: #d9d9d9; }
.ad-widget { border: 1px dashed var(--line); background: transparent; text-align: center; color: #7a7a7a; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 60px 10px; border-radius: 6px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; }
.post-card { display: block; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.post-card .placeholder-img, .post-card img { width: 100%; height: 150px; margin-bottom: 10px; font-size: 10px; border-radius: 5px; }
.post-card h3 { font-size: 16px; line-height: 1.3; margin: 6px 0 6px; color: #fff; }
.post-card p { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; font-weight: 400; }

.category-title { font-size: 30px; margin: 0 0 8px; color: #fff; }
.category-desc { font-size: 14px; color: var(--muted); margin: 0 0 26px; font-weight: 400; }
.pagination { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.pagination a { color: var(--accent); }

.single-post { max-width: 760px; }
.single-post-header h1 { font-size: 36px; line-height: 1.22; margin: 10px 0 14px; color: #fff; }
.single-post-headline { width: 100%; max-height: 470px; object-fit: cover; margin: 20px 0 30px; border-radius: 8px; }
.single-post-content { font-size: 18px; font-weight: 400; }
.single-post-content p { margin: 0 0 22px; }
.single-post-content h2 { font-size: 25px; margin: 36px 0 16px; color: #fff; }
.single-post-content h3 { font-size: 20px; margin: 28px 0 12px; color: #fff; }
.single-post-content img { margin: 24px 0; width: 100%; border-radius: 6px; }
.single-post-content a { color: var(--accent); text-decoration: underline; }

.related-posts { max-width: 760px; margin: 60px 0 0; border-top: 1px solid var(--line); padding-top: 30px; }
.related-posts h2 { font-size: 19px; margin-bottom: 20px; color: #fff; }

.site-footer { background: var(--ink); color: #a8a8a8; padding: 48px 24px 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.footer-grid h4 { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 14px; }
.footer-grid p { font-size: 13px; color: #8a8a8a; line-height: 1.6; font-weight: 400; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 13px; }
.footer-grid li a::before { content: "\25b8  "; color: var(--accent); }
.footer-bottom { padding-top: 18px; font-size: 12px; color: #5c5c5c; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state h1 { color: #fff; font-size: 28px; }
.btn { display: inline-block; margin-top: 16px; background: var(--accent); color: var(--accent-ink); padding: 10px 20px; border-radius: 4px; font-weight: 700; }

.featured-ribbon {
  display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 6px;
}
.single-post-header .featured-ribbon { margin: 6px 0; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.tag-pill-link { background: var(--card); color: #d9d9d9; font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 4px; border: 1px solid var(--line); }
.tag-pill-link:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.search-form { display: flex; gap: 10px; margin: 0 0 22px; }
.search-form input { flex: 1; padding: 11px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; font-family: inherit; background: #101010; color: #fff; }
.search-form button { background: var(--accent); color: var(--accent-ink); border: none; border-radius: 4px; padding: 0 22px; font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .hero, .picks-split, .travel-feature { grid-template-columns: 1fr; }
  .hero-side { height: auto; flex-direction: row; }
  .hero-side-item { height: 160px; flex: 1; }
  .tech-row, .lifestyle-grid, .travel-small, .popular-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
