/*
Theme Name: TPMT Theme
Theme URI: https://example.com
Author: Your Name
Description: Premium magazine-style WordPress theme.
Version: 2.0
License: GPL-2.0-or-later
Text Domain: tpmt
*/

/* ═══════════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════════ */
:root {
 --c-black:    #0d0d0d;
 --c-dark:     #141414;
 --c-dark2:    #1e1e1e;
 --c-dark3:    #2a2a2a;
 --c-mid:      #555555;
 --c-muted:    #888888;
 --c-light:    #d4d4d4;
 --c-border:   #e2e2e2;
 --c-bg:       #f5f5f5;
 --c-white:    #ffffff;
 --c-accent:   #e63946;
 --c-accent2:  #1a73e8;

 /* Customizer-overridable tokens */
 --c-header-bg:   #ffffff;
 --c-header-text: #111111;
 --c-topbar-bg:   #111111;
 --c-topbar-text: #ffffff;
 --c-footer-bg:   #0a0a0a;
 --ff-body:       Arial, Helvetica, sans-serif;
 --ff-heading:    Arial Black, Arial, sans-serif;
 --ff-head:       Arial, Helvetica, sans-serif; /* alias */
 --base-font-size: 15px;
 --container-width: 1200px;

 --r: 3px;
 --r-lg: 6px;
 --sh:   0 2px 10px rgba(0,0,0,.08);
 --sh-md:0 6px 24px rgba(0,0,0,.12);
 --sh-lg:0 16px 48px rgba(0,0,0,.18);
 --tr: .18s ease;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
 font-family: var(--ff-body);
 background: var(--c-bg);
 color: var(--c-dark);
 font-size: var(--base-font-size);
 line-height: 1.7;
 -webkit-font-smoothing: antialiased;
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus { color: inherit; text-decoration: none !important; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

h1,h2,h3,h4,h5,h6 {
 font-family: var(--ff-heading);
 font-weight: 700;
 line-height: 1.2;
 color: var(--c-black);
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════ */
.container { max-width: var(--container-width, 1200px); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════════════
   TOPBAR (thin black bar above header)
═══════════════════════════════════════════════════════════ */
.topbar {
 background: var(--c-topbar-bg);
 color: var(--c-topbar-text);
 font-size: .72rem;
 letter-spacing: .05em;
 text-transform: uppercase;
 padding: 7px 0;
}
.topbar .inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
}
.topbar-date { color: var(--c-muted); }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: var(--c-light); transition: color var(--tr); }
.topbar-links a:hover { color: var(--c-white); }
.topbar-socials { display: flex; gap: 14px; align-items: center; }
.topbar-socials a {
 color: var(--c-muted);
 display: flex;
 align-items: center;
 transition: color var(--tr);
}
.topbar-socials a svg { width: 13px; height: 13px; fill: currentColor; display: block; }
.topbar-socials a:hover { color: var(--c-accent); }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.site-header {
 background: var(--c-header-bg);
 color: var(--c-header-text);
 border-bottom: 3px solid var(--c-black);
 position: sticky;
 top: 0;
 z-index: 300;
 box-shadow: var(--sh);
}
.site-header .inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 min-height: 64px;
 padding: 10px 0;
 gap: 20px;
}

/* Logo */
.site-branding { flex-shrink: 0; max-width: 160px; }
.site-branding img { max-height: 42px; width: auto; }
.site-title a {
 font-size: 1.45rem;
 font-weight: 700;
 color: var(--c-black);
 letter-spacing: -.04em;
 text-transform: uppercase;
 white-space: nowrap;
 line-height: 1;
}
.site-title a:hover { color: var(--c-accent); }
.site-description { display: none; }

/* Primary nav */
.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul {
 display: flex;
 align-items: center;
 gap: 2px;
 justify-content: center;
 flex-wrap: var(--nav-flex-wrap, nowrap);
}
.primary-nav > ul > li { flex-shrink: var(--nav-item-shrink, 0); }
.primary-nav a {
 display: block;
 padding: 6px 14px;
 font-size: var(--nav-font-size, .78rem);
 font-family: var(--nav-font-family, var(--ff-body));
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 color: var(--c-dark);
 border-radius: var(--r);
 transition: background var(--tr), color var(--tr);
 white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a {
 background: var(--c-black);
 color: var(--c-white);
}
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu {
 display: none;
 position: absolute;
 top: calc(100% + 8px);
 left: 0;
 min-width: 200px;
 background: var(--c-white);
 border-top: 3px solid var(--c-accent);
 box-shadow: var(--sh-md);
 border-radius: 0 0 var(--r-lg) var(--r-lg);
 z-index: 400;
 padding: 8px 0;
}
.primary-nav .menu-item-has-children:hover .sub-menu { display: block; }
.primary-nav .sub-menu li { }
.primary-nav .sub-menu a {
 padding: 10px 18px;
 font-size: .78rem;
 border-radius: 0;
 display: block;
 color: var(--c-dark);
}
.primary-nav .sub-menu a:hover { background: var(--c-bg); color: var(--c-accent); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-search-btn,
.header-icon-btn {
 width: 36px;
 height: 36px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 50%;
 color: var(--c-dark);
 font-size: 1rem;
 transition: background var(--tr), color var(--tr);
}
.header-search-btn:hover,
.header-icon-btn:hover { background: var(--c-bg); color: var(--c-accent); }
.header-subscribe-btn {
 display: inline-flex;
 align-items: center;
 padding: 8px 18px;
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 border-radius: var(--r);
 transition: background var(--tr);
}
.header-subscribe-btn:hover { background: var(--c-black); }

/* Mobile toggle */
.nav-toggle {
 display: none;
 flex-direction: column;
 gap: 5px;
 padding: 6px;
}
.nav-toggle span {
 display: block;
 width: 22px;
 height: 2px;
 background: var(--c-black);
 border-radius: 2px;
 transition: var(--tr);
}

/* ═══════════════════════════════════════════════════════════
   BREAKING NEWS TICKER
═══════════════════════════════════════════════════════════ */
.breaking-bar {
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .75rem;
 font-weight: 700;
 letter-spacing: .06em;
 text-transform: uppercase;
 padding: 9px 0;
 overflow: hidden;
}
.breaking-bar .inner { display: flex; align-items: center; gap: 0; }
.breaking-track-wrap { flex: 1; overflow: hidden; }
.breaking-label {
 background: var(--c-black);
 color: var(--c-white);
 padding: 4px 16px;
 border-radius: var(--r);
 flex-shrink: 0;
 margin-right: 20px;
 letter-spacing: .1em;
}
.breaking-track {
 display: flex;
 gap: 60px;
 white-space: nowrap;
 animation: ticker 10s linear infinite;
}
.breaking-track a { color: var(--c-white); transition: opacity var(--tr); }
.breaking-track a:hover { opacity: .75; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── label top ── */
.breaking-bar--label-top { padding: 0; }
.breaking-bar--label-top .container,
.breaking-bar--label-bottom .container {
 max-width: none;
 padding: 0;
}
.breaking-bar--label-top .inner {
 flex-direction: column;
 align-items: stretch;
 gap: 0;
}
.breaking-bar--label-top .breaking-label {
 width: 100%;
 margin-right: 0;
 text-align: center;
 padding: 7px 24px;
 border-radius: 0;
 flex-shrink: unset;
}
.breaking-bar--label-top .breaking-track-wrap { padding: 9px 24px; }

/* ── label bottom ── */
.breaking-bar--label-bottom { padding: 0; }
.breaking-bar--label-bottom .inner {
 flex-direction: column;
 align-items: stretch;
 gap: 0;
}
.breaking-bar--label-bottom .breaking-label {
 width: 100%;
 order: 2;
 margin-right: 0;
 text-align: center;
 padding: 7px 24px;
 border-radius: 0;
 flex-shrink: unset;
}
.breaking-bar--label-bottom .breaking-track-wrap { padding: 9px 24px; }

/* ── label right ── */
.breaking-bar--label-right .breaking-label {
 order: 2;
 margin-right: 0;
 margin-left: 20px;
 border-radius: 0 var(--r) var(--r) 0;
}

/* ═══════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════ */
.hero-slider {
 position: relative;
 background: var(--c-black);
 overflow: hidden;
}
.hero-slides { position: relative; }
.hero-slide {
 display: none;
 position: relative;
}
.hero-slide.active { display: block; }
.hero-slide-img {
 width: 100%;
 height: 540px;
 object-fit: cover;
 opacity: .55;
}
.hero-slide-placeholder {
 width: 100%;
 height: 540px;
 background: linear-gradient(135deg, var(--c-dark2) 0%, var(--c-dark3) 100%);
}
.hero-slide-content {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 padding: 48px;
 background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
 color: var(--c-white);
}
.hero-slide-content .slide-cat {
 display: inline-block;
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .68rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 padding: 4px 12px;
 border-radius: var(--r);
 margin-bottom: 14px;
}
.hero-slide-content h1 {
 font-size: clamp(1.6rem, 3.5vw, 2.8rem);
 font-weight: 700;
 color: var(--c-white);
 letter-spacing: -.03em;
 max-width: 720px;
 margin-bottom: 12px;
 line-height: 1.15;
}
.hero-slide-content h1 a { color: inherit; }
.hero-slide-content h1 a:hover { color: var(--c-light); }
.hero-slide-content .slide-meta {
 font-size: .78rem;
 color: rgba(255,255,255,.6);
 display: flex;
 gap: 16px;
 flex-wrap: wrap;
}
/* Slider thumbnails strip */
.hero-thumbs {
 position: absolute;
 bottom: 20px;
 right: 48px;
 display: flex;
 gap: 10px;
}
.hero-thumb {
 width: 100px;
 height: 64px;
 object-fit: cover;
 border-radius: var(--r);
 opacity: .5;
 cursor: pointer;
 border: 2px solid transparent;
 transition: opacity var(--tr), border-color var(--tr);
}
.hero-thumb.active,
.hero-thumb:hover { opacity: 1; border-color: var(--c-accent); }
/* Slider controls */
.hero-prev,
.hero-next {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 background: rgba(255,255,255,.12);
 color: var(--c-white);
 border: 1px solid rgba(255,255,255,.2);
 width: 42px;
 height: 42px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.1rem;
 cursor: pointer;
 transition: background var(--tr);
 z-index: 10;
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover { background: var(--c-accent); border-color: var(--c-accent); }
/* Dots */
.hero-dots {
 position: absolute;
 bottom: 18px;
 left: 48px;
 display: flex;
 gap: 6px;
}
.hero-dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: rgba(255,255,255,.35);
 cursor: pointer;
 transition: background var(--tr), width var(--tr);
 border: none;
}
.hero-dot.active { background: var(--c-accent); width: 22px; border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════
   SECTION LABELS
═══════════════════════════════════════════════════════════ */
.section-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 margin-bottom: 22px;
}
.section-title {
 font-size: .78rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 color: var(--c-black);
 display: flex;
 align-items: center;
 gap: 10px;
}
.section-title::before {
 content: '';
 display: block;
 width: 14px;
 height: 14px;
 background: var(--c-accent);
 border-radius: 2px;
}
.section-more {
 font-size: .7rem;
 font-weight: 700;
 letter-spacing: .1em;
 text-transform: uppercase;
 color: var(--c-muted);
 display: inline-flex;
 align-items: center;
 gap: 4px;
 transition: color var(--tr);
}
.section-more::after { content: '→'; }
.section-more:hover { color: var(--c-accent); }
.section-divider {
 border: none;
 border-top: 2px solid var(--c-black);
 margin-bottom: 22px;
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY PILL
═══════════════════════════════════════════════════════════ */
.cat-pill {
 display: inline-block;
 /* background: var(--c-accent); */
 color: var(--c-white);
 font-size: .62rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 padding: 3px 9px;
 border-radius: var(--r);
 line-height: 1.4;
}
.cat-pill--dark { background: var(--c-black); }
.cat-pill--gray { background: var(--c-mid); }

/* ═══════════════════════════════════════════════════════════
   POST CARDS — STANDARD
═══════════════════════════════════════════════════════════ */
.card {
 background: var(--c-white);
 border-radius: var(--r-lg);
 overflow: hidden;
 border: 1px solid var(--c-border);
 transition: transform var(--tr), box-shadow var(--tr);
 display: flex;
 flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--c-border); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-thumb img { transform: scale(1.05); }
.card-thumb .cat-pill { position: absolute; top: 12px; left: 12px; }

.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body .meta { font-size: .7rem; color: var(--c-muted); margin-bottom: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.card-body .meta span::before { content: '·'; margin-right: 10px; }
.card-body .meta span:first-child::before { content: ''; margin-right: 0; }
.card-body h3, .card-body h2 { font-size: .98rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.card-body h3 a, .card-body h2 a { color: var(--c-black); transition: color var(--tr); }
.card-body h3 a:hover, .card-body h2 a:hover { color: var(--c-accent); }
.card-body .excerpt { font-size: .83rem; color: var(--c-mid); line-height: 1.6; margin-top: 8px; flex: 1; }
.card-read-more {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 margin-top: 14px;
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .07em;
 text-transform: uppercase;
 color: var(--c-accent);
 transition: gap var(--tr);
}
.card-read-more:hover { gap: 8px; color: var(--c-accent); }
.meta-author {
 display: inline-flex;
 align-items: center;
 gap: 5px;
}
.meta-av {
 width: 16px;
 height: 16px;
 border-radius: 50%;
 object-fit: cover;
 display: inline-block;
 vertical-align: middle;
}
.meta-rt { white-space: nowrap; }
.meta-cmts { white-space: nowrap; }

/* ── Page editor content section ── */
.home-editor-content {
 padding: 40px 0;
 border-bottom: 1px solid var(--c-border);
}
.home-editor-content .wp-block-columns { gap: 28px; }
.home-editor-content img { border-radius: var(--r-lg); }
.home-editor-content h1,
.home-editor-content h2,
.home-editor-content h3 { margin-bottom: .5em; }
.home-editor-content p { margin-bottom: 1em; }

/* ═══════════════════════════════════════════════════════════
   POST CARDS — HORIZONTAL (list style)
═══════════════════════════════════════════════════════════ */
.card-h {
 display: flex;
 gap: 14px;
 align-items: flex-start;
 padding: 14px 0;
 border-bottom: 1px solid var(--c-border);
}
.card-h:last-child { border-bottom: none; }
.card-h .card-h-thumb {
 flex-shrink: 0;
 width: 88px;
 height: 64px;
 border-radius: var(--r);
 overflow: hidden;
 background: var(--c-border);
}
.card-h .card-h-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-h .card-h-body { flex: 1; }
.card-h .card-h-body h4 { font-size: .85rem; font-weight: 700; line-height: 1.3; }
.card-h .card-h-body h4 a { color: var(--c-black); transition: color var(--tr); }
.card-h .card-h-body h4 a:hover { color: var(--c-accent); }
.card-h .card-h-body .meta { font-size: .68rem; color: var(--c-muted); margin-top: 4px; }
.card-h-rank {
 flex-shrink: 0;
 width: 26px;
 height: 26px;
 background: var(--c-black);
 color: var(--c-white);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: .72rem;
 font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   CARD — LARGE FEATURE
═══════════════════════════════════════════════════════════ */
.card-feature {
 position: relative;
 border-radius: var(--r-lg);
 overflow: hidden;
 background: var(--c-black);
}
.card-feature img {
 width: 100%;
 height: 360px;
 object-fit: cover;
 opacity: .55;
 transition: opacity .3s;
}
.card-feature:hover img { opacity: .45; }
.card-feature .card-feature-body {
 position: absolute;
 bottom: 0; left: 0; right: 0;
 padding: 28px 24px;
 background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
 color: var(--c-white);
}
.card-feature .card-feature-body .meta { font-size: .7rem; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.card-feature .card-feature-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--c-white); line-height: 1.25; letter-spacing: -.02em; }
.card-feature .card-feature-body h2 a { color: inherit; }
.card-feature .card-feature-body h2 a:hover { color: var(--c-light); }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
═══════════════════════════════════════════════════════════ */
.home-section { padding: 44px 0; }
.home-section + .home-section { border-top: 1px solid var(--c-border); }

/* Latest posts: 3-col grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Trending: big feature left + list right */
.trending-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.trending-list { border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-white); padding: 4px 20px; }

/* Video section */
.video-section { background: var(--c-dark); color: var(--c-white); padding: 52px 0; margin: 0; }
.video-section .section-title { color: var(--c-white); }
.video-section .section-title::before { background: var(--c-accent); }
.video-section .section-more { color: rgba(255,255,255,.5); }
.video-section .section-more:hover { color: var(--c-accent); }
.video-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.video-main {
 position: relative;
 border-radius: var(--r-lg);
 overflow: hidden;
 background: var(--c-black);
 aspect-ratio: 16/9;
}
.video-main img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video-play-btn {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%,-50%);
 width: 60px;
 height: 60px;
 background: rgba(255,255,255,.15);
 border: 2px solid rgba(255,255,255,.4);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--c-white);
 font-size: 1.2rem;
 cursor: pointer;
 transition: background var(--tr), border-color var(--tr);
 backdrop-filter: blur(4px);
}
.video-play-btn:hover { background: var(--c-accent); border-color: var(--c-accent); }
.video-title {
 position: absolute;
 bottom: 0; left: 0; right: 0;
 padding: 20px;
 background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
 color: var(--c-white);
 font-size: .95rem;
 font-weight: 700;
 line-height: 1.3;
}
.video-list { display: flex; flex-direction: column; gap: 0; }
.video-card-h {
 display: flex;
 gap: 12px;
 align-items: flex-start;
 padding: 14px 0;
 border-bottom: 1px solid rgba(255,255,255,.07);
}
.video-card-h:last-child { border-bottom: none; }
.video-card-h .v-thumb {
 flex-shrink: 0;
 width: 96px;
 height: 60px;
 border-radius: var(--r);
 overflow: hidden;
 background: var(--c-dark3);
 position: relative;
}
.video-card-h .v-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video-card-h .v-play {
 position: absolute;
 inset: 0;
 display: flex;
 align-items: center;
 justify-content: center;
 color: rgba(255,255,255,.8);
 font-size: .85rem;
}
.video-card-h .v-body h5 { font-size: .82rem; font-weight: 700; color: var(--c-white); line-height: 1.3; }
.video-card-h .v-body .meta { font-size: .68rem; color: rgba(255,255,255,.4); margin-top: 5px; }

/* Don't miss: image overlay grid */
.dont-miss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dont-miss-main { grid-row: span 2; }

/* Shop strip */
.shop-section { background: var(--c-bg); padding: 52px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 4px; }
.shop-card {
 background: var(--c-white);
 border: 1px solid var(--c-border);
 border-radius: var(--r-lg);
 padding: 24px 16px 20px;
 text-align: center;
 transition: transform var(--tr), box-shadow var(--tr);
}
.shop-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.shop-card img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 16px; }
.shop-card .shop-name { font-size: .85rem; font-weight: 700; color: var(--c-black); margin-bottom: 6px; }
.shop-card .shop-price { font-size: .8rem; color: var(--c-muted); }
.shop-card .shop-price del { margin-right: 4px; }
.shop-card .shop-price strong { color: var(--c-accent); }
.shop-btn {
 display: inline-block;
 margin-top: 14px;
 padding: 7px 18px;
 background: var(--c-black);
 color: var(--c-white);
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 border-radius: var(--r);
 transition: background var(--tr);
}
.shop-btn:hover { background: var(--c-accent); }

/* Three-col posts strip */
.three-col-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 44px 0; }
.strip-col-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--c-black); }
.strip-col-head .section-title { margin-bottom: 0; }

/* Review scores */
.review-score {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 10px 0;
 border-bottom: 1px solid var(--c-border);
}
.review-score:last-child { border-bottom: none; }
.review-score a { font-size: .82rem; font-weight: 600; color: var(--c-dark); transition: color var(--tr); }
.review-score a:hover { color: var(--c-accent); }
.review-score .score-badge {
 font-size: .72rem;
 font-weight: 700;
 padding: 3px 8px;
 border-radius: var(--r);
 background: var(--c-black);
 color: var(--c-white);
 flex-shrink: 0;
}
.review-score .score-date { font-size: .68rem; color: var(--c-muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER BAR
═══════════════════════════════════════════════════════════ */
.newsletter-bar {
 background: var(--c-white);
 border-top: 1px solid var(--c-border);
 border-bottom: 1px solid var(--c-border);
 padding: 52px 0;
 text-align: center;
}
.newsletter-bar .icon {
 font-size: 1.8rem;
 color: var(--c-accent);
 margin-bottom: 10px;
}
.newsletter-bar h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.newsletter-bar p { font-size: .875rem; color: var(--c-muted); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
 flex: 1;
 padding: 12px 16px;
 border: 1px solid var(--c-border);
 border-radius: var(--r);
 font-family: inherit;
 font-size: .875rem;
 background: var(--c-bg);
 color: var(--c-dark);
 outline: none;
 transition: border-color var(--tr);
}
.newsletter-form input:focus { border-color: var(--c-black); }
.newsletter-form button {
 padding: 12px 22px;
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .78rem;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 border-radius: var(--r);
 transition: background var(--tr);
}
.newsletter-form button:hover { background: var(--c-black); }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════ */
.page-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; padding: 44px 0; }
.sidebar { position: sticky; top: 88px; }
.widget { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px 20px; margin-bottom: 24px; }
.site-footer .widget { background: transparent; border: none; border-radius: 0; padding: 0; margin-bottom: 0; }
.site-footer .widget-title { color: var(--c-white); border-bottom-color: var(--c-mid); }
.widget-title {
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 color: var(--c-black);
 padding-bottom: 12px;
 margin-bottom: 16px;
 border-bottom: 2px solid var(--c-black);
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════════ */
.single-article {
 background: var(--c-white);
 border: 1px solid var(--c-border);
 border-radius: var(--r-lg);
 overflow: hidden;
}
.single-article .hero-img img { width: 100%; max-height: 480px; object-fit: cover; }
.single-article .article-body { padding: 40px 48px; }
.single-article .article-cats { margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.single-article h1 {
 font-size: clamp(1.6rem, 3vw, 2.4rem);
 font-weight: 700;
 letter-spacing: -.03em;
 margin-bottom: 18px;
}
.article-meta-bar {
 display: flex;
 align-items: center;
 gap: 20px;
 flex-wrap: wrap;
 padding: 16px 0;
 border-top: 1px solid var(--c-border);
 border-bottom: 1px solid var(--c-border);
 margin-bottom: 32px;
 font-size: .78rem;
 color: var(--c-muted);
 font-weight: 600;
 letter-spacing: .03em;
}
.article-meta-bar .author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.article-meta-bar .author { display: flex; align-items: center; gap: 8px; color: var(--c-dark); }

/* Post content typography */
.post-content { font-size: .93rem; line-height: 1.85; color: var(--c-dark); }
.post-content h2, .post-content h3, .post-content h4 { margin: 36px 0 14px; }
.post-content h2 { font-size: 1.45rem; }
.post-content h3 { font-size: 1.15rem; }
.post-content p { margin-bottom: 20px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 7px; }
.post-content blockquote {
 border-left: 3px solid var(--c-accent);
 padding: 14px 24px;
 margin: 28px 0;
 background: var(--c-bg);
 border-radius: 0 var(--r) var(--r) 0;
 font-style: italic;
 color: var(--c-mid);
}
.post-content a { color: var(--c-accent2); border-bottom: 1px solid transparent; transition: border-color var(--tr); }
/* .post-content a:hover { border-bottom-color: var(--c-accent2); } */
.post-content img { border-radius: var(--r-lg); margin: 24px 0; }
.post-content code { background: var(--c-bg); border: 1px solid var(--c-border); padding: 1px 6px; border-radius: var(--r); font-size: .85em; }
.post-content pre { background: var(--c-dark); color: var(--c-light); padding: 22px; border-radius: var(--r-lg); overflow-x: auto; margin-bottom: 20px; }
.post-content pre code { background: none; border: none; padding: 0; }

/* ═══════════════════════════════════════════════════════════
   PAGE
═══════════════════════════════════════════════════════════ */
.page-article {
 background: var(--c-white);
 border: 1px solid var(--c-border);
 border-radius: var(--r-lg);
 padding: 52px 64px;
 margin: 44px 0;
}
.page-article h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 2px solid var(--c-black); }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer { background: var(--c-footer-bg); color: var(--c-muted); margin-top: 0; }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .site-title a { color: var(--c-white); font-size: 1.5rem; }
.footer-brand .tagline { font-size: .83rem; color: var(--c-mid); margin-top: 12px; line-height: 1.7; }
.footer-brand .footer-socials { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-brand .footer-socials a {
 width: 36px; height: 36px;
 border-radius: 50%;
 background: var(--c-dark3);
 color: var(--c-light);
 display: flex; align-items: center; justify-content: center;
 transition: background var(--tr), color var(--tr);
}
.footer-brand .footer-socials a svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer-brand .footer-socials a:hover { background: var(--c-accent); color: var(--c-white); }
.footer-col h5 {
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 color: var(--c-white);
 margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .83rem; color: inherit; opacity: .65; transition: opacity .15s, padding-left .15s; display: block; }
.footer-col ul li a:hover { opacity: 1; padding-left: 4px; color: inherit; }
.footer-bottom {
 border-top: 1px solid var(--c-dark3);
 padding: 22px 0;
 display: flex;
 align-items: center;
 justify-content: space-between;
 font-size: .75rem;
 color: var(--c-mid);
}
.footer-bottom a { color: var(--c-mid); transition: color var(--tr); }
.footer-bottom a:hover { color: var(--c-white); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-muted { color: var(--c-muted); }
.mt-0 { margin-top: 0 !important; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
 .grid-4, .shop-grid { grid-template-columns: repeat(2, 1fr); }
 .trending-layout, .video-layout { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
 .page-with-sidebar { grid-template-columns: 1fr; }
 .sidebar { position: static; }
}

@media (max-width: 768px) {
 .container { padding: 0 16px; }
 .grid-3, .grid-2, .three-col-strip, .dont-miss-grid { grid-template-columns: 1fr; }
 .dont-miss-main { grid-row: auto; }
 .primary-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--c-white); border-bottom: 2px solid var(--c-black); padding: 12px 16px 20px; z-index: 299; }
 .primary-nav.open { display: block; }
 .primary-nav ul { flex-direction: column; gap: 0; }
 .primary-nav a { padding: 11px 8px; border-radius: 0; border-bottom: 1px solid var(--c-border); }
 .nav-toggle { display: flex; }
 .hero-slide-img, .hero-slide-placeholder { height: 340px; }
 .hero-slide-content { padding: 24px 20px; }
 .hero-thumbs { display: none; }
 .hero-dots { left: 20px; bottom: 14px; }
 .newsletter-form { flex-direction: column; }
 .page-article { padding: 28px 20px; }
 .single-article .article-body { padding: 24px 20px; }
 .footer-grid { grid-template-columns: 1fr; gap: 28px; }
 .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
 .topbar-links, .topbar-socials { display: none; }
 .header-subscribe-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   ADMIN BAR OFFSET (sticky header + WP toolbar)
═══════════════════════════════════════════════════════════ */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
 body.admin-bar .site-header { top: 46px; }
}

/* ═══════════════════════════════════════════════════════════
   NAV — ACTIVE STATES
   WordPress adds many classes; cover them all.
═══════════════════════════════════════════════════════════ */
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-menu-parent > a,
.primary-nav .current_page_item > a,
.primary-nav .current_page_ancestor > a,
.primary-nav .current_page_parent > a {
 background: var(--c-black);
 color: var(--c-white) !important;
}

/* ═══════════════════════════════════════════════════════════
   SEARCH OVERLAY
═══════════════════════════════════════════════════════════ */
.search-overlay {
 position: fixed;
 inset: 0;
 background: rgba(0,0,0,.92);
 z-index: 9999;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 opacity: 0;
 transition: opacity .22s ease;
 pointer-events: none;
}
.search-overlay.is-open {
 opacity: 1;
 pointer-events: all;
}
.search-overlay[hidden] { display: flex; } /* keep flex, use opacity/pointer-events to toggle */
.search-overlay-close {
 position: absolute;
 top: 28px;
 right: 36px;
 background: none;
 border: none;
 color: rgba(255,255,255,.5);
 font-size: 1.5rem;
 cursor: pointer;
 transition: color var(--tr);
 line-height: 1;
}
.search-overlay-close:hover { color: var(--c-white); }
.search-overlay-inner { width: 100%; max-width: 640px; padding: 0 24px; }
.search-overlay-hint {
 text-align: center;
 font-size: .72rem;
 font-weight: 700;
 letter-spacing: .14em;
 text-transform: uppercase;
 color: rgba(255,255,255,.35);
 margin-bottom: 24px;
}
.search-overlay-form {
 display: flex;
 align-items: center;
 border-bottom: 2px solid rgba(255,255,255,.25);
 transition: border-color var(--tr);
}
.search-overlay-form:focus-within { border-color: var(--c-accent); }
.search-overlay-input {
 flex: 1;
 background: none;
 border: none;
 outline: none;
 color: var(--c-white);
 font-family: var(--ff-body);
 font-size: 1.9rem;
 font-weight: 700;
 padding: 12px 0;
 letter-spacing: -.02em;
}
.search-overlay-input::placeholder { color: rgba(255,255,255,.2); }
.search-overlay-submit {
 background: none;
 border: none;
 color: rgba(255,255,255,.5);
 font-size: 2rem;
 cursor: pointer;
 padding: 8px 0 8px 12px;
 line-height: 1;
 transition: color var(--tr);
}
.search-overlay-submit:hover { color: var(--c-accent); }

/* Search results page */
.search-results-header { padding: 36px 0 0; }
.search-results-header h1 { font-size: 1.4rem; font-weight: 700; }
.search-results-header h1 mark { background: var(--c-accent); color: var(--c-white); padding: 0 6px; font-style: normal; border-radius: var(--r); }

═══════════════════════════════════════════════════════════ */
.hero-accordion {
 display: flex;
 height: 520px;
 background: var(--c-black);
 overflow: hidden;
 position: relative;
}
.acc-panel {
 flex: 1;
 min-width: 54px;
 position: relative;
 overflow: hidden;
 cursor: pointer;
 transition: flex .55s cubic-bezier(.4,0,.2,1);
}
.acc-panel.is-active { flex: 5; }
.acc-panel img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: .6;
 transition: opacity .3s;
}
.acc-panel.is-active img { opacity: .45; }
.acc-panel-overlay {
 position: absolute;
 bottom: 0; left: 0; right: 0;
 padding: 28px 22px 22px;
 background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 55%, transparent 100%);
}
.acc-panel-label {
 position: absolute;
 bottom: 22px;
 left: 50%;
 transform: translateX(-50%) rotate(-90deg);
 white-space: nowrap;
 font-size: .62rem;
 font-weight: 700;
 color: rgba(255,255,255,.45);
 letter-spacing: .12em;
 text-transform: uppercase;
 transition: opacity .2s;
 pointer-events: none;
}
.acc-panel.is-active .acc-panel-label { opacity: 0; }
.acc-panel-content {
 transform: translateY(14px);
 opacity: 0;
 transition: transform .32s .08s, opacity .32s .08s;
}
.acc-panel.is-active .acc-panel-content { transform: translateY(0); opacity: 1; }
.acc-panel-content .acc-cat {
 display: inline-block;
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .62rem;
 font-weight: 700;
 letter-spacing: .1em;
 text-transform: uppercase;
 padding: 3px 9px;
 border-radius: var(--r);
 margin-bottom: 10px;
}
.acc-panel-content h2 {
 font-size: 1.1rem;
 font-weight: 700;
 color: var(--c-white);
 line-height: 1.25;
 letter-spacing: -.01em;
}
.acc-panel-content h2 a { color: inherit; }
.acc-panel-content h2 a:hover { color: var(--c-light); }
.acc-panel-content .acc-meta {
 font-size: .72rem;
 color: rgba(255,255,255,.5);
 margin-top: 8px;
}
@media (max-width: 768px) {
 .hero-accordion { height: 360px; }
 .acc-panel { min-width: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   HERO — SINGLE IMAGE TYPE
═══════════════════════════════════════════════════════════ */
.hero-single {
 position: relative;
 height: 540px;
 background: var(--c-black);
 overflow: hidden;
}
.hero-single > img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: .5;
}
.hero-single-overlay {
 position: absolute;
 inset: 0;
 display: flex;
 align-items: flex-end;
 background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.18) 60%, transparent 100%);
}
.hero-single-content {
 padding: 56px 48px;
 color: var(--c-white);
 max-width: 820px;
}
.hero-single-content .slide-cat {
 display: inline-block;
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .68rem;
 font-weight: 700;
 letter-spacing: .12em;
 text-transform: uppercase;
 padding: 4px 12px;
 border-radius: var(--r);
 margin-bottom: 16px;
}
.hero-single-content h1 {
 font-size: clamp(1.8rem, 4vw, 3.2rem);
 font-weight: 700;
 color: var(--c-white);
 letter-spacing: -.03em;
 margin-bottom: 14px;
 line-height: 1.15;
}
.hero-single-content h1 a { color: inherit; }
.hero-single-content h1 a:hover { color: var(--c-light); }
.hero-single-content .slide-meta {
 font-size: .8rem;
 color: rgba(255,255,255,.55);
 margin-bottom: 26px;
 display: flex;
 gap: 14px;
 flex-wrap: wrap;
}
.hero-single-btn {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 13px 26px;
 background: var(--c-accent);
 color: var(--c-white);
 font-size: .78rem;
 font-weight: 700;
 letter-spacing: .08em;
 text-transform: uppercase;
 border-radius: var(--r);
 transition: background var(--tr), color var(--tr);
}
.hero-single-btn:hover { background: var(--c-white); color: var(--c-accent); }
@media (max-width: 768px) {
 .hero-single { height: 380px; }
 .hero-single-content { padding: 32px 20px; }
}
