/* ============================================
   MEGAMODO CMS - Cinematic Magazine
   Brand: #D4D916 (giallo-verde) + #1a1a1a (scuro)
   Fonts: Playfair Display (titoli) + Inter (body)
   ============================================ */

:root {
    --brand: #D4D916;
    --brand-dark: #B8BC00;
    --dark: #1a1a1a;
    --darker: #111;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f5f4f0;
    --white: #fff;
    --border: #e5e5e5;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === HEADER === */
.header { background: var(--dark); position: sticky; top: 0; z-index: 200; }
.header-inner { max-width: 1300px; margin: 0 auto; padding: 0 30px; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 26px; width: auto; }
.main-nav { display: none; gap: 4px; }
.main-nav a { color: rgba(255,255,255,.55); font-size: .88rem; font-weight: 500; padding: 8px 16px; border-radius: 4px; transition: all .2s; }
.main-nav a:hover { color: var(--brand); background: rgba(255,255,255,.06); }
.header-right { display: flex; align-items: center; gap: 14px; }
.search-btn { background: none; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: rgba(255,255,255,.4); padding: 8px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.search-btn:hover { border-color: var(--brand); color: var(--brand); }
.search-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: rgba(255,255,255,.6); margin: 4px 0; }

@media (min-width: 900px) { .main-nav { display: flex; } .nav-search-link { display: none; } }
@media (max-width: 899px) { .menu-btn { display: block; } .search-btn { display: none; } }

/* === SPLIT HERO === */
.split-hero { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 80vh; }

/* Lato foto */
.split-img { position: relative; overflow: hidden; }
.split-slide-img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.split-slide-img.active { opacity: 1; }
.split-slide-img img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.split-slide-img.active img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

.slide-counter { position: absolute; bottom: 20px; left: 20px; z-index: 10; display: flex; gap: 6px; }
.slide-dot { width: 32px; height: 3px; background: rgba(255,255,255,.25); border-radius: 2px; cursor: pointer; transition: background .3s; }
.slide-dot.active { background: var(--brand); }

/* Lato testo */
.split-text { background: var(--dark); color: var(--white); padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; position: relative; }

.split-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.split-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:.3 } }
.split-badge-label { font-size: .68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); }

/* Flip clock */
.flip-clock { display: inline-flex; align-items: center; gap: 3px; }
.flip-divider { font-size: .7rem; color: rgba(255,255,255,.2); margin: 0 2px; }

.flip-card-digit { position: relative; width: 22px; height: 30px; perspective: 200px; }

/* Top e bottom: ogni meta mostra il numero ma clippato a meta */
.flip-card-digit .flip-top,
.flip-card-digit .flip-bottom { position: absolute; left: 0; right: 0; width: 100%; height: 100%; overflow: hidden; font-family: 'Inter', monospace; font-size: .85rem; font-weight: 700; text-align: center; line-height: 30px; }
.flip-card-digit .flip-top { top: 0; height: 50%; background: #2a2a2a; border-radius: 4px 4px 0 0; border-bottom: 1px solid #1a1a1a; color: var(--brand); }
.flip-card-digit .flip-bottom { top: 50%; height: 50%; background: #252525; border-radius: 0 0 4px 4px; color: var(--brand); line-height: 0; }

.flip-card-digit.flip-static .flip-top,
.flip-card-digit.flip-static .flip-bottom { color: rgba(255,255,255,.3); }

/* Flip animation panels */
.flip-card-digit .flip-front,
.flip-card-digit .flip-back { position: absolute; left: 0; right: 0; width: 100%; height: 50%; overflow: hidden; font-family: 'Inter', monospace; font-size: .85rem; font-weight: 700; text-align: center; color: var(--brand); backface-visibility: hidden; }
.flip-card-digit .flip-front { top: 0; background: #2a2a2a; border-radius: 4px 4px 0 0; border-bottom: 1px solid #1a1a1a; z-index: 10; transform-origin: bottom center; line-height: 30px; }
.flip-card-digit .flip-back { top: 50%; background: #252525; border-radius: 0 0 4px 4px; z-index: 10; transform-origin: top center; transform: rotateX(180deg); line-height: 0; }

.flip-card-digit.flipping .flip-front { animation: flipTop .4s ease-in forwards; }
.flip-card-digit.flipping .flip-back { animation: flipBottom .4s .2s ease-out forwards; }

@keyframes flipTop { 0% { transform: rotateX(0); } 100% { transform: rotateX(-180deg); } }
@keyframes flipBottom { 0% { transform: rotateX(180deg); } 100% { transform: rotateX(0); } }

.split-slide-text { display: none; }
.split-slide-text.active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity:0; transform: translateY(15px); } to { opacity:1; transform: translateY(0); } }

.split-cat { display: inline-block; background: var(--brand); color: var(--dark); font-size: .6rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.split-text h2 { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; line-height: 1.08; margin-bottom: 16px; }
.split-text h2 a { color: var(--white); }
.split-text h2 a:hover { color: var(--brand); }
.split-excerpt { font-size: .95rem; color: rgba(255,255,255,.4); line-height: 1.7; font-weight: 300; margin-bottom: 20px; }
.split-meta { font-size: .78rem; color: rgba(255,255,255,.25); letter-spacing: .5px; }
.split-meta strong { color: rgba(255,255,255,.5); }

/* Side cards */
.split-sides { margin-top: auto; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 10px; }
.split-side-card { display: flex; gap: 12px; padding: 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.06); transition: all .3s; cursor: pointer; }
.split-side-card:hover, .split-side-card.is-next { border-color: rgba(212,217,22,.4); background: rgba(255,255,255,.04); }
.split-side-card img { width: 72px; height: 50px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.split-side-card .sc { font-size: .55rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); }
.split-side-card h4 { font-size: .88rem; color: rgba(255,255,255,.7); font-weight: 500; line-height: 1.3; margin-top: 2px; }

/* Progress */
.split-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.06); }
.split-progress-bar { height: 100%; background: var(--brand); width: 0; }

@media (max-width: 900px) {
    .split-hero { grid-template-columns: 1fr; }
    .split-img { height: 45vh; }
    .split-text { padding: 30px 24px; }
    .split-text h2 { font-size: 1.8rem; }
}

/* === COCCINELLA WATERMARK === */
.bug-section { position: relative; overflow: hidden; }
.bug-wm { position: absolute; pointer-events: none; z-index: 0; opacity: .08; transform: rotate(-10deg); }
.bug-section > *:not(.bug-wm) { position: relative; z-index: 1; }

/* Filigrana card */
.card { position: relative; overflow: hidden; }
.card-bug-wm { position: absolute; bottom: -10px; right: -10px; width: 70px; opacity: .08; transform: rotate(-10deg); pointer-events: none; z-index: 0; }

/* === SPECIALS: Card grid === */
.spec-card { border: 2px solid transparent !important; }
.spec-card:hover { border-color: var(--brand) !important; }
.spec-card-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .58rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; }

/* === SPECIALS: Hero band === */
.spec-hero-band { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; margin: 50px 0 10px; }
.spec-hero-half { position: relative; padding: 44px; min-height: 260px; overflow: hidden; display: flex; align-items: flex-end; }
.spec-hero-half:first-child { border-right: 1px solid rgba(255,255,255,.06); }
.spec-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.spec-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.25); transition: transform .4s; }
.spec-hero-half:hover .spec-hero-bg img { transform: scale(1.04); }
.spec-hero-content { position: relative; z-index: 1; }
.spec-hero-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .58rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 4px 10px; border-radius: 3px; margin-bottom: 14px; }
.spec-hero-content h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: #fff; font-weight: 900; margin-bottom: 10px; }
.spec-hero-content p { font-size: .85rem; color: rgba(255,255,255,.4); line-height: 1.6; margin-bottom: 14px; }
.spec-hero-link { font-size: .78rem; font-weight: 600; color: var(--brand); letter-spacing: .5px; }
@media (max-width: 700px) { .spec-hero-band { grid-template-columns: 1fr; } }

/* === SECTION HEADER === */
.section-head { display: flex; align-items: center; gap: 16px; margin: 50px 0 24px; }
.section-head h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; white-space: nowrap; }
.section-head .line { flex: 1; height: 2px; background: linear-gradient(to right, var(--brand), transparent); }
.section-head .more { font-size: .75rem; font-weight: 600; color: var(--brand); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }
.section-btn { display: inline-block; padding: 8px 20px; background: var(--dark); color: var(--white); border-radius: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .5px; white-space: nowrap; transition: all .2s; }
.section-btn:hover { background: var(--brand); color: var(--dark); }

/* === GRID 4 COL === */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: all .25s; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.card-img { position: relative; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-cat { position: absolute; top: 12px; left: 12px; font-size: .6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--brand); color: var(--dark); padding: 3px 9px; border-radius: 3px; }
.card-body { padding: 16px; }
.card-body h3 { font-size: .92rem; font-weight: 600; line-height: 1.35; margin-bottom: 10px; color: var(--dark); }
.card:hover .card-body h3 { color: var(--text-light); }
.card-meta { font-size: .73rem; color: #aaa; }
.card-meta strong { color: var(--text-light); font-weight: 500; }

@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 550px) { .grid-4 { grid-template-columns: 1fr; } }

/* === HORIZONTAL SCROLL === */
.hscroll-wrap { margin: 0 -30px; }
.hscroll { display: flex; gap: 16px; overflow-x: auto; padding: 0 30px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { height: 3px; }
.hscroll::-webkit-scrollbar-track { background: #e8e8e4; }
.hscroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }
.hcard { flex: 0 0 300px; scroll-snap-align: start; position: relative; border-radius: 10px; overflow: hidden; }
.hcard img { width: 100%; height: 400px; object-fit: cover; filter: brightness(.65); transition: all .4s; }
.hcard:hover img { filter: brightness(.45); transform: scale(1.03); }
.hcard-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px; }
.hcard-text .cat { font-size: .55rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 8px; }
.hcard-text h4 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.hcard-text .meta { font-size: .7rem; color: rgba(255,255,255,.35); margin-top: 6px; }

/* === CAT SPLIT (grande + lista) === */
.cat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cat-big { position: relative; border-radius: 12px; overflow: hidden; min-height: 380px; display: block; }
.cat-big img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: all .5s; }
.cat-big:hover img { filter: brightness(.55); transform: scale(1.03); }
.cat-big-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }
.cat-big-text .cat { font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 10px; }
.cat-big-text h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 8px; }
.cat-big-text .meta { font-size: .75rem; color: rgba(255,255,255,.4); }

.cat-list { display: flex; flex-direction: column; }
.cat-list-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: center; transition: transform .15s; }
.cat-list-item:first-child { padding-top: 0; }
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item:hover { transform: translateX(5px); }
.cat-list-item img { width: 110px; height: 75px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.list-cat { font-size: .58rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 4px; }
.cat-list-body h4 { font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--dark); }
.cat-list-body .meta { font-size: .72rem; color: #bbb; margin-top: 3px; }

@media (max-width: 800px) { .cat-split { grid-template-columns: 1fr; } }

/* === TRENDING V1 (Brand Grid con thumb) === */
.trending-v1 { background: var(--brand); border-radius: 14px; padding: 28px; margin: 50px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tv1-item { display: flex; flex-direction: column; gap: 10px; transition: transform .2s; }
.tv1-item:hover { transform: translateY(-4px); }
.tv1-img { width: 100%; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; }
.tv1-img img { width: 100%; height: 100%; object-fit: cover; }
.tv1-num { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 900; color: rgba(0,0,0,.2); }
.tv1-title { font-size: .82rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.tv1-cat { font-size: .58rem; color: rgba(0,0,0,.4); letter-spacing: 1px; text-transform: uppercase; }

@media (max-width: 800px) { .trending-v1 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .trending-v1 { grid-template-columns: 1fr; } }

/* === ARTICLE HERO IMAGE === */
.article-hero { position: relative; height: 50vh; min-height: 300px; max-height: 500px; overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.article-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(transparent, var(--bg)); }

/* === ARTICLE LAYOUT === */
.article-top { position: relative; z-index: 2; margin-top: 18px; }
.article-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .article-layout { grid-template-columns: 1fr 320px; } }

/* === ARTICLE SINGLE === */
.article-single { background: var(--white); border-radius: 14px; padding: 40px 44px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }

/* Header */
.article-header { margin-bottom: 28px; }
.art-cat { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 4px 12px; border-radius: 3px; margin-bottom: 16px; }
.art-cat-group { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.art-cat-group .art-cat { margin-bottom: 0; }
.art-cat-special { background: var(--dark) !important; color: var(--brand) !important; }
.article-header h1 { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; line-height: 1.1; color: var(--darker); margin-bottom: 16px; }
.article-excerpt { font-size: 1.1rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.65; font-weight: 300; }

/* Byline */
.article-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .84rem; color: var(--text-muted); padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.byline-author a { color: var(--dark); font-weight: 600; }
.byline-author a:hover { color: var(--brand-dark); }
.byline-label { color: var(--text-muted); font-weight: 400; }
.byline-sep { color: #d0d0d0; }
.byline-views { font-size: .78rem; }
.byline-comments { font-size: .78rem; color: var(--text-light); text-decoration: none; transition: color .15s; }
.byline-comments:hover { color: var(--brand-dark); }

/* Video */
.article-video-wrap { margin: 0 -44px 28px; }

/* Lazy video: thumbnail + play */
.article-video-lazy { position: relative; padding-top: 56.25%; background: #000; cursor: pointer; overflow: hidden; }
.article-video-lazy .video-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .3s, transform .3s; }
.article-video-lazy:hover .video-thumb { filter: brightness(.7); transform: scale(1.02); }
.video-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: none; border: none; cursor: pointer; z-index: 2; opacity: .9; transition: opacity .2s, transform .2s; }
.video-play-btn svg { width: 72px; height: 48px; }
.article-video-lazy:hover .video-play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

/* Iframe attivo dopo click */
.article-video-lazy iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Content */
.article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-content p { margin-bottom: 2rem; }
.article-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 1.5em 0 .5em; color: var(--darker); }
.article-content h3 { font-size: 1.2rem; margin: 1.3em 0 .4em; color: var(--darker); }
.article-content img { margin: 1.2em 0; border-radius: 8px; }
.article-content blockquote { border-left: 4px solid var(--brand); padding-left: 16px; margin: 1.2em 0; color: var(--text-light); font-style: italic; }
.article-content ul, .article-content ol { margin: 1em 0; padding-left: 1.5em; }
.article-content li { margin-bottom: .4em; }
.article-content a { color: var(--darker); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.article-content a:hover { color: var(--brand-dark); text-decoration-color: var(--brand-dark); }

/* Immagine copertina in fondo (no galleria) */
.article-bottom-image { margin: 32px 0 0; position: relative; overflow: hidden; border-radius: 10px; }
.article-bottom-image > img:first-child { width: 100%; height: auto; display: block; }
.article-bottom-bug { position: absolute; bottom: -20px; right: -20px; width: 180px; pointer-events: none; opacity: .10; transform: rotate(-10deg); z-index: 1; }

/* Tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.tag { display: inline-block; padding: 5px 14px; background: var(--bg); border-radius: 20px; font-size: .8rem; color: var(--text-light); transition: all .2s; }
.tag:hover { background: var(--brand); color: var(--dark); }

/* Author bio box (E-E-A-T) */
.article-author-box { display: flex; gap: 14px; margin-top: 24px; padding: 14px 16px; background: #fafafa; border-radius: 10px; border-left: 3px solid var(--brand); align-items: center; }
.aab-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; }
.aab-avatar img { width: 100%; height: 100%; object-fit: cover; }
.aab-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.05rem; }
.aab-body { flex: 1; min-width: 0; }
.aab-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); margin-bottom: 1px; }
.aab-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--darker); display: inline-block; margin-bottom: 2px; text-decoration: none; }
.aab-name:hover { color: var(--brand-dark); }
.aab-bio { font-size: .8rem; color: var(--text-light); line-height: 1.45; margin: 2px 0 4px; }
.aab-link { font-size: .72rem; color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.aab-link:hover { text-decoration: underline; }

/* Author social pills */
.author-hero-socials { display: flex; gap: 10px; margin: 14px 0 8px; }
.author-social { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: background .2s; }
.author-social:hover { background: var(--brand); color: var(--darker); }

/* Share */
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.share-native-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; background: var(--dark); color: var(--white); border: none; border-radius: 8px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s; }
.share-native-btn:hover { background: var(--darker); }
.share-native-btn svg { flex-shrink: 0; }
.share-fallback { display: none; align-items: center; gap: 8px; }
.share-fallback.visible { display: flex; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; font-size: .8rem; font-weight: 700; color: var(--white); transition: transform .2s; }
.share-btn:hover { transform: scale(1.1); }
.share-fb { background: #1877f2; }
.share-tw { background: #1a1a1a; }
.share-wa { background: #25d366; }
.share-em { background: #888; }

/* === GALLERIA === */
.article-gallery { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.gallery-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.gallery-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--darker); display: flex; align-items: center; gap: 12px; margin: 0; }
.gallery-count { background: var(--brand); color: var(--dark); font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; letter-spacing: .3px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.gallery-item { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--bg); position: relative; }
.gallery-item-hidden { display: none; }
.gallery-item.gallery-item-shown { display: block; }
.gallery-link { display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-link::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .25s; }
.gallery-link::before { content: '🔍'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.5); opacity: 0; transition: all .25s; font-size: 1.6rem; z-index: 2; pointer-events: none; }
.gallery-link:hover img { transform: scale(1.06); }
.gallery-link:hover::after { background: rgba(0,0,0,.25); }
.gallery-link:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-more-btn { display: block; margin: 22px auto 0; background: var(--white); border: 2px solid var(--border); color: var(--darker); padding: 12px 28px; border-radius: 10px; font-family: 'Inter', sans-serif; font-weight: 700; font-size: .85rem; cursor: pointer; transition: all .15s; letter-spacing: .3px; text-transform: uppercase; }
.gallery-more-btn:hover { background: var(--brand); border-color: var(--brand); color: var(--dark); }

/* Lightbox */
dialog.lightbox { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; background: rgba(0,0,0,.94); border: none; padding: 0; margin: 0; z-index: 9999; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.94); }
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox-stage { position: relative; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox-img { max-width: 95vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox-caption { color: white; font-size: .9rem; padding: 12px 20px 4px; text-align: center; max-width: 80vw; }
.lightbox-counter { color: rgba(255,255,255,.6); font-size: .8rem; padding: 4px 0; font-family: 'Inter', sans-serif; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.1); color: white; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: background .15s; line-height: 1; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: background .15s; display: flex; align-items: center; justify-content: center; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
@media (max-width: 700px) {
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.1rem; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .gallery-title { font-size: 1.25rem; }
}

/* === COMMENTI === */
.comments-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.comments-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.comments-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--darker); display: flex; align-items: center; gap: 12px; margin: 0; }
.comments-count { background: var(--brand); color: var(--dark); font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; letter-spacing: .3px; }

/* Form compose */
.cmnt-compose { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 32px; }
.cmnt-compose-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.cmnt-compose input[type="text"], .cmnt-compose input[type="email"], .cmnt-compose textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 11px 14px; font-family: 'Inter', sans-serif; font-size: .92rem; background: var(--white); color: var(--text); transition: border-color .15s; }
.cmnt-compose input:focus, .cmnt-compose textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(212,217,22,.15); }
.cmnt-compose textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.cmnt-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.cmnt-compose-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; flex-wrap: wrap; }
.cmnt-hint { font-size: .76rem; color: var(--text-muted); }
.cmnt-submit { background: var(--brand); color: var(--dark); border: none; padding: 11px 26px; border-radius: 8px; font-weight: 700; font-family: 'Inter', sans-serif; font-size: .88rem; cursor: pointer; transition: background .15s, transform .1s; letter-spacing: .3px; text-transform: uppercase; }
.cmnt-submit:hover { background: var(--brand-dark); }
.cmnt-submit:active { transform: scale(.98); }
.cmnt-submit:disabled { opacity: .6; cursor: not-allowed; }
.cmnt-feedback { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: .86rem; display: none; }
.cmnt-feedback.success { display: block; background: #e8f5ea; color: #1e7e34; border: 1px solid #c8e6c9; }
.cmnt-feedback.error { display: block; background: #fde8e8; color: #c62828; border: 1px solid #f8c8c8; }
.cmnt-feedback-msg { font-weight: 600; margin-bottom: 10px; }

/* Preview commento in moderazione */
.cmnt-preview { background: var(--white); border: 1px dashed #c8e6c9; border-radius: 8px; padding: 12px; margin-top: 6px; }
.cmnt-preview .cmnt-avatar { flex: 0 0 36px; width: 36px; height: 36px; }
.cmnt-preview .cmnt-content { color: var(--text); }
.cmnt-pending-badge { background: #fff3cd; color: #856404; padding: 2px 9px; border-radius: 10px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-left: auto; }

/* Lista commenti */
.cmnt-list { display: flex; flex-direction: column; }
.cmnt-empty { text-align: center; color: var(--text-muted); padding: 30px 20px; font-style: italic; }

/* Singolo commento */
.cmnt { display: flex; gap: 14px; padding: 16px 0; }
.cmnt-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; text-transform: uppercase; }
.cmnt-body { flex: 1; min-width: 0; }
.cmnt-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .85rem; }
.cmnt-author { font-weight: 700; color: var(--darker); }
.cmnt-date { color: var(--text-muted); font-size: .78rem; }
.cmnt-perma { color: #ccc; text-decoration: none; font-size: .82rem; margin-left: auto; padding: 2px 6px; border-radius: 4px; transition: color .15s, background .15s; }
.cmnt-perma:hover { color: var(--brand-dark); background: var(--bg); }
.cmnt-content { color: var(--text); font-size: .94rem; line-height: 1.65; margin-bottom: 8px; word-wrap: break-word; }

/* Azioni commento */
.cmnt-actions { display: flex; gap: 4px; align-items: center; margin-top: 4px; }
.cmnt-action { background: none; border: none; padding: 5px 11px; border-radius: 6px; color: var(--text-light); font-size: .76rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 5px; font-family: 'Inter', sans-serif; transition: background .15s, color .15s; }
.cmnt-action:hover { background: var(--bg); color: var(--darker); }

/* Threading lines */
.cmnt-children { margin-left: 4px; padding-left: 24px; position: relative; border-left: 2px solid var(--border); margin-top: 4px; }
.cmnt-children .cmnt-children { border-left-color: #ebebeb; }
.cmnt-children .cmnt-children .cmnt-children { border-left-color: #f1f1f1; }

/* Reply form inline */
.cmnt-reply-form { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px; margin-top: 10px; }
.cmnt-reply-form input, .cmnt-reply-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-family: 'Inter', sans-serif; font-size: .87rem; margin-bottom: 8px; background: var(--white); }
.cmnt-reply-form input:focus, .cmnt-reply-form textarea:focus { outline: none; border-color: var(--brand); }
.cmnt-reply-form textarea { resize: vertical; min-height: 70px; }
.cmnt-reply-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cmnt-reply-cancel, .cmnt-reply-send { padding: 7px 16px; border-radius: 6px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; font-size: .8rem; border: none; }
.cmnt-reply-cancel { background: var(--border); color: var(--text); }
.cmnt-reply-cancel:hover { background: #ddd; }
.cmnt-reply-send { background: var(--brand); color: var(--dark); }
.cmnt-reply-send:hover { background: var(--brand-dark); }

/* Comprimi */
.cmnt.collapsed > .cmnt-body > .cmnt-content,
.cmnt.collapsed > .cmnt-body > .cmnt-children { display: none; }

/* Mobile */
@media (max-width: 700px) {
    .cmnt-compose-row { grid-template-columns: 1fr; }
    .cmnt-children { padding-left: 14px; }
    .cmnt-avatar { flex-basis: 32px; width: 32px; height: 32px; font-size: .72rem; }
    .comments-title { font-size: 1.25rem; }
}

/* === SIDEBAR === */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-section { background: var(--white); border-radius: 12px; padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.sidebar-section h3 { font-size: .9rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--brand); color: var(--darker); }
.related-item { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.related-item:last-child { border-bottom: none; }
.related-item img { width: 80px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.related-item span { font-size: .85rem; color: var(--dark); font-weight: 500; line-height: 1.3; }
.related-item:hover span { color: var(--brand-dark); }

@media (max-width: 900px) {
    .article-hero { height: 35vh; }
    .article-single { padding: 24px 20px; }
    .article-header h1 { font-size: 1.7rem; }
    .article-video-wrap { margin: 0 -20px 20px; }
}

/* === CATEGORY HERO (S6 Split) === */
.cat-hero { background: var(--dark); color: var(--white); margin-bottom: 36px; }
.cat-hero-accent { height: 4px; background: var(--brand); }
.cat-hero-inner { display: flex; align-items: center; padding: 36px 30px; max-width: 1300px; margin: 0 auto; }
.cat-hero-main { flex: 1; }
.cat-hero .breadcrumb { margin-bottom: 14px; }
.cat-hero .breadcrumb, .cat-hero .breadcrumb a { color: rgba(255,255,255,.25); }
.cat-hero .breadcrumb a:hover { color: var(--brand); }
.cat-hero .breadcrumb-sep { color: rgba(255,255,255,.1); }
.cat-hero-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; }
.cat-hero-stats { display: flex; align-items: center; gap: 20px; }
.cat-hero-stat { display: flex; align-items: baseline; gap: 8px; }
.cat-hero-stat-num { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900; color: var(--brand); }
.cat-hero-stat-lbl { font-size: .65rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 700px) {
    .cat-hero-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .cat-hero-title { font-size: 2rem; }
}

/* === SEZIONI SPECIALI (Test, Focus) — Editorial Magazine Hero === */
.cat-hero.is-special-cat {
    position: relative;
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212,217,22,.15), transparent 70%),
        radial-gradient(ellipse 40% 60% at 90% 0%, rgba(212,217,22,.08), transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #141414 50%, #1c1c12 100%);
    border-bottom: 1px solid rgba(212,217,22,.25);
    margin-bottom: 48px;
    overflow: hidden;
    isolation: isolate;
}
.cat-hero.is-special-cat::before {
    /* Sottile noise/grain texture */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 2px, rgba(255,255,255,.012) 2px 3px);
    pointer-events: none;
    z-index: 1;
}
.cat-hero.is-special-cat .cat-hero-accent {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--brand) 30%, #fff 50%, var(--brand) 70%, transparent 100%);
    box-shadow: 0 0 16px rgba(212,217,22,.6);
    z-index: 2;
}
.cat-hero.is-special-cat .cat-hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 30px 70px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
}
.cat-hero.is-special-cat .cat-hero-main {
    flex: none;
    max-width: 760px;
}
.cat-hero.is-special-cat .breadcrumb { justify-content: center; margin-bottom: 22px; }

/* Coccinella watermark di sfondo (stessa angolazione di home/footer) */
.cat-hero-bug {
    position: absolute;
    width: 520px;
    right: -90px;
    top: -80px;
    opacity: .08;
    transform: rotate(-10deg);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    filter: brightness(10);  /* rende il logo bianco/luminoso su sfondo scuro */
}
@media (max-width: 700px) {
    .cat-hero-bug { width: 320px; right: -70px; top: -50px; }
}

/* Watermark gigante della categoria */
.cat-hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(12rem, 28vw, 22rem);
    line-height: .8;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212,217,22,.08);
    text-stroke: 1px rgba(212,217,22,.08);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    user-select: none;
}

/* Eyebrow con linee orizzontali */
.cat-hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}
.cat-hero-eyebrow .eyebrow-line {
    flex: 0 1 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,217,22,.55), transparent);
}
.cat-hero-eyebrow .eyebrow-text {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--brand);
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(212,217,22,.3);
}

/* Titolo gigante con punto brand */
.cat-hero.is-special-cat .cat-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    font-style: italic;
    line-height: .95;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 4px 40px rgba(212,217,22,.2);
    margin: 0;
}
.cat-hero.is-special-cat .cat-hero-title .title-dot {
    color: var(--brand);
    text-shadow: 0 0 32px rgba(212,217,22,.7);
    margin-left: -.05em;
}

/* Tagline editoriale */
.cat-hero-tagline {
    margin-top: 22px;
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    font-weight: 300;
    font-style: italic;
    line-height: 1.55;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stat box minimal centrata */
.cat-hero.is-special-cat .cat-hero-stats {
    margin-top: 8px;
}
.cat-hero.is-special-cat .cat-hero-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0;
    border-top: 1px solid rgba(212,217,22,.25);
    border-bottom: 1px solid rgba(212,217,22,.25);
    padding: 10px 28px;
}
.cat-hero.is-special-cat .cat-hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--brand);
    font-style: italic;
}
.cat-hero.is-special-cat .cat-hero-stat-lbl {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 700px) {
    .cat-hero.is-special-cat .cat-hero-inner { padding: 56px 20px 48px; }
    .cat-hero-eyebrow .eyebrow-line { flex-basis: 40px; }
    .cat-hero-eyebrow .eyebrow-text { font-size: .62rem; letter-spacing: 2.5px; }
    .cat-hero-watermark { font-size: clamp(8rem, 36vw, 14rem); }
    .cat-hero-tagline { font-size: .92rem; }
}

/* Featured della sezione speciale: bordo brand + label */
.is-special-page .cat-featured {
    border: 2px solid var(--brand);
    box-shadow: 0 2px 24px rgba(212,217,22,.15);
}
.is-special-page .cat-featured-body .art-cat {
    background: var(--brand);
    color: var(--darker);
    font-weight: 700;
}

/* Editorial list a 2 colonne (più magazine, meno blog list) */
.is-special-page .editorial-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.is-special-page .editorial-item {
    flex-direction: column;
    border-top: 3px solid var(--brand);
    border-radius: 0 0 12px 12px;
}
.is-special-page .editorial-item-img { width: 100%; }
.is-special-page .editorial-item-img img { min-height: 200px; max-height: 240px; }
.is-special-page .editorial-body { padding: 18px 22px 22px; }
.is-special-page .editorial-body h4 { font-size: 1.15rem; line-height: 1.3; }
.is-special-page .ed-cat {
    color: var(--brand-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 800px) {
    .is-special-page .editorial-list { grid-template-columns: 1fr; }
}

/* Category featured */
.cat-featured { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; margin-bottom: 36px; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.cat-featured-img { display: block; overflow: hidden; }
.cat-featured-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .4s; }
.cat-featured:hover .cat-featured-img img { transform: scale(1.03); }
.cat-featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.cat-featured-body .art-cat { margin-bottom: 12px; }
.cat-featured-body h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.cat-featured-body h2 a { color: var(--darker); }
.cat-featured-body h2 a:hover { color: var(--brand-dark); }
.cat-featured-body p { font-size: .92rem; color: var(--text-light); line-height: 1.65; margin-bottom: 16px; font-weight: 300; }
.cat-featured-meta { font-size: .82rem; color: var(--text-muted); }
.cat-featured-meta strong { color: var(--text); }

@media (max-width: 800px) {
    .cat-featured { grid-template-columns: 1fr; }
    .cat-featured-img img { min-height: 220px; }
    .cat-featured-body { padding: 24px; }
    .cat-featured-body h2 { font-size: 1.4rem; }
    .cat-hero-title { font-size: 2rem; }
}

/* === PRIMO PIANO HERO (full-width overlay) === */
.pp-hero { display: block; position: relative; border-radius: 14px; overflow: hidden; height: 540px; margin-bottom: 14px; }
.pp-hero-img { position: absolute; inset: 0; }
.pp-hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pp-hero:hover .pp-hero-img img { transform: scale(1.03); }
.pp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.1) 100%); }
.pp-hero-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 44px; z-index: 2; }
.pp-hero-cat { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 4px 12px; border-radius: 3px; margin-bottom: 16px; }
.pp-hero-body h2 { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 14px; max-width: 700px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.pp-hero-body p { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.65; font-weight: 400; margin-bottom: 14px; max-width: 600px; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.pp-hero-meta { font-size: .82rem; color: rgba(255,255,255,.4); }
.pp-hero-meta strong { color: rgba(255,255,255,.65); }

@media (max-width: 800px) {
    .pp-hero { height: 360px; }
    .pp-hero-body { padding: 24px; }
    .pp-hero-body h2 { font-size: 1.6rem; }
    .pp-hero-body p { font-size: .88rem; }
}

/* === CINEMATIC GRID (In primo piano) === */
.cine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 36px; }
.cine-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; display: block; }
.cine-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: all .4s; }
.cine-card:hover img { filter: brightness(.4); transform: scale(1.04); }
.cine-card-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.cine-card-text .cat { font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 10px; }
.cine-card-text h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.cine-card-text .meta { font-size: .8rem; color: rgba(255,255,255,.45); }
@media (max-width: 900px) {
    .cine-grid { grid-template-columns: 1fr; }
    .cine-card { aspect-ratio: 4/3; }
    .cine-card-text { padding: 18px; }
    .cine-card-text h3 { font-size: 1.2rem; line-height: 1.2; }
    .cine-card-text .meta { font-size: .72rem; }
    .cat-big { min-height: 320px; }
    .cat-big-text { padding: 20px; }
    .cat-big-text h3 { font-size: 1.3rem; line-height: 1.2; }
    .cat-big-text .meta { font-size: .72rem; }
}

/* === EDITORIAL LIST (Tutti gli articoli) === */
.editorial-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.editorial-item { display: flex; gap: 28px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: all .3s; }
.editorial-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-2px); }
.editorial-item-img { width: 360px; flex-shrink: 0; overflow: hidden; }
.editorial-item-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .5s; }
.editorial-item:hover .editorial-item-img img { transform: scale(1.05); }
.editorial-body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.editorial-body .ed-cat { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; width: fit-content; }
.editorial-body h4 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin-bottom: 10px; color: var(--darker); }
.editorial-item:hover .editorial-body h4 { color: var(--text-light); }
.editorial-body .ed-excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; font-weight: 300; }
.editorial-body .ed-meta { font-size: .78rem; color: #bbb; }
.editorial-body .ed-meta strong { color: #777; }

@media (max-width: 700px) {
    .editorial-item { flex-direction: column; }
    .editorial-item-img { width: 100%; height: 220px; }
    .editorial-body { padding: 20px; }
}


/* === DARK STRIP (Sport) === */
.dark-strip { background: var(--dark); border-radius: 14px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin-bottom: 10px; }
.dark-strip-img { border-radius: 10px; overflow: hidden; }
.dark-strip-img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .4s; }
.dark-strip:hover .dark-strip-img img { transform: scale(1.03); }
.dark-strip-body { display: flex; flex-direction: column; justify-content: center; color: #fff; }
.ds-cat { font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 10px; }
.dark-strip-body h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.dark-strip-body p { font-size: .9rem; color: rgba(255,255,255,.45); line-height: 1.6; font-weight: 300; margin-bottom: 14px; }
.dark-strip-body .meta { font-size: .78rem; color: rgba(255,255,255,.3); }
.dark-strip-body .meta strong { color: rgba(255,255,255,.55); }
.dark-strip-list { display: flex; gap: 12px; margin-top: 20px; }
.dark-strip-mini { flex: 1; background: rgba(255,255,255,.06); border-radius: 8px; padding: 14px; border: 1px solid rgba(255,255,255,.08); transition: border-color .2s; display: block; color: #fff; }
.dark-strip-mini:hover { border-color: rgba(212,217,22,.3); }
.dark-strip-mini .ds-cat { margin-bottom: 6px; font-size: .5rem; }
.dark-strip-mini h5 { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.8); line-height: 1.3; }
@media (max-width: 800px) { .dark-strip { grid-template-columns: 1fr; } .dark-strip-list { flex-direction: column; } }

/* === MOSAIC (Turismo) === */
.mosaic-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-bottom: 10px; }
.mosaic-item { position: relative; border-radius: 12px; overflow: hidden; display: block; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: all .4s; }
.mosaic-item:hover img { filter: brightness(.4); transform: scale(1.03); }
.mosaic-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.mosaic-text .cat { font-size: .55rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 6px; }
.mosaic-text h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1.2; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.mosaic-text .meta { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: 4px; }
.mosaic-big { grid-row: span 2; min-height: 400px; }
.mosaic-big .mosaic-text h3 { font-size: 1.8rem; }
.mosaic-small { min-height: 190px; }
@media (max-width: 800px) {
    .mosaic-grid { grid-template-columns: 1fr; }
    .mosaic-big { grid-row: auto; min-height: 340px; }
    .mosaic-big .mosaic-text h3 { font-size: 1.3rem; line-height: 1.2; }
    .mosaic-small { min-height: 220px; }
    .mosaic-text { padding: 16px; }
    .mosaic-text h3 { font-size: 1.1rem; line-height: 1.2; }
    .mosaic-text .meta { font-size: .7rem; }
}

/* === PILL CARDS (Beauty) === */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 10px; }
.pill-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s; display: block; }
.pill-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.pill-card-img { overflow: hidden; }
.pill-card-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .4s; }
.pill-card:hover .pill-card-img img { transform: scale(1.06); }
.pill-card-body { padding: 18px; text-align: center; }
.pill-cat { display: inline-block; font-size: .55rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.pill-card-body h3 { font-size: .88rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; color: var(--dark); }
.pill-card-body .meta { font-size: .72rem; color: var(--text-muted); }
@media (max-width: 900px) { .pill-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 550px) { .pill-grid { grid-template-columns: 1fr; } }

/* === ARCHIVE (generic) === */
.archive-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin-bottom: 4px; }
.archive-count { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; }

.author-header { display: flex; gap: 24px; align-items: center; margin-bottom: 30px; background: var(--white); padding: 28px; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand); }
.author-bio { color: var(--text-light); margin: 8px 0; line-height: 1.6; }

/* === AUTHOR PAGE (nuovo stile) === */
.author-hero { background: var(--dark); color: var(--white); margin-bottom: 36px; }
.author-hero-accent { height: 4px; background: var(--brand); }
.author-hero-inner { padding: 36px 30px; max-width: 1300px; margin: 0 auto; }
.author-hero .breadcrumb { margin-bottom: 22px; }
.author-hero .breadcrumb, .author-hero .breadcrumb a { color: rgba(255,255,255,.25); }
.author-hero .breadcrumb a:hover { color: var(--brand); }
.author-hero .breadcrumb-sep { color: rgba(255,255,255,.1); }

.author-hero-content { display: flex; gap: 32px; align-items: center; }
.author-hero-avatar { flex: 0 0 130px; width: 130px; height: 130px; border-radius: 50%; overflow: hidden; border: 4px solid var(--brand); box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.author-hero-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-hero-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 3rem; font-family: 'Inter', sans-serif; }

.author-hero-main { flex: 1; min-width: 0; }
.author-hero-label { font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.author-hero-name { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; line-height: 1.1; margin-bottom: 12px; color: var(--white); }
.author-hero-bio { color: rgba(255,255,255,.7); line-height: 1.6; max-width: 720px; margin-bottom: 20px; font-size: .98rem; }

.author-hero-stats { display: flex; gap: 36px; }
.ah-stat { display: flex; flex-direction: column; }
.ah-stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--brand); line-height: 1; }
.ah-stat-lbl { font-size: .65rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }

@media (max-width: 800px) {
    .author-hero-content { flex-direction: column; align-items: flex-start; gap: 22px; }
    .author-hero-avatar { width: 100px; height: 100px; flex-basis: 100px; }
    .author-hero-initials { font-size: 2.2rem; }
    .author-hero-name { font-size: 1.9rem; }
    .author-hero-stats { gap: 24px; flex-wrap: wrap; }
    .ah-stat-num { font-size: 1.4rem; }
}

/* Top categorie autore */
.author-cats { background: var(--white); border-radius: 14px; padding: 24px 28px; margin-bottom: 32px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.author-cats h3 { font-size: 1rem; margin-bottom: 14px; color: var(--darker); }
.author-cats-list { display: flex; flex-wrap: wrap; gap: 8px; }
.author-cat-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); color: var(--darker); padding: 8px 14px; border-radius: 20px; font-size: .82rem; font-weight: 600; text-decoration: none; transition: all .15s; }
.author-cat-pill:hover { background: var(--brand); border-color: var(--brand); color: var(--dark); }
.author-cat-count { background: var(--white); color: var(--text-muted); padding: 1px 8px; border-radius: 10px; font-size: .72rem; font-weight: 700; }
.author-cat-pill:hover .author-cat-count { background: var(--dark); color: var(--brand); }

/* === SEARCH PAGE === */
.search-hero { background: var(--dark); color: var(--white); padding: 50px 0 44px; text-align: center; position: relative; overflow: hidden; }
.search-bug { position: absolute; width: 400px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-10deg); opacity: .03; pointer-events: none; filter: brightness(10); }
.search-title { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; position: relative; }
.search-query { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 400; font-style: italic; color: var(--brand); margin-top: 8px; position: relative; }
.search-hero-form { max-width: 650px; margin: 28px auto 0; position: relative; }
.search-input-wrap { display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 4px; transition: border-color .2s; }
.search-input-wrap:focus-within { border-color: var(--brand); background: rgba(255,255,255,.1); }
.search-icon { width: 20px; height: 20px; color: rgba(255,255,255,.3); margin-left: 16px; flex-shrink: 0; }
.search-input-wrap input { flex: 1; padding: 14px 16px; background: none; border: none; color: var(--white); font-size: 1.1rem; outline: none; }
.search-input-wrap input::placeholder { color: rgba(255,255,255,.3); }
.search-input-wrap button { padding: 12px 28px; background: var(--brand); color: var(--dark); border: none; border-radius: 8px; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.search-input-wrap button:hover { background: #e8ed2a; }
.search-count { font-size: .85rem; color: rgba(255,255,255,.35); margin-top: 16px; position: relative; }

/* Search results */
.search-results { display: flex; flex-direction: column; gap: 16px; padding: 36px 0; }
.search-item { display: flex; gap: 24px; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: all .3s; }
.search-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-2px); }
.search-item-img { width: 280px; flex-shrink: 0; overflow: hidden; }
.search-item-img img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform .4s; }
.search-item:hover .search-item-img img { transform: scale(1.05); }
.search-item-body { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.search-item-cat { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dark); background: var(--brand); padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; width: fit-content; }
.search-item-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; line-height: 1.25; margin-bottom: 8px; color: var(--darker); }
.search-item:hover .search-item-body h3 { color: var(--text-light); }
.search-item-body p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; font-weight: 300; }
.search-item-meta { font-size: .78rem; color: #bbb; }
.search-item-meta strong { color: #888; }

/* Empty state */
.search-empty { text-align: center; padding: 60px 20px; }
.search-empty-bug { width: 80px; margin: 0 auto 20px; opacity: .12; }
.search-empty h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 10px; }
.search-empty p { color: var(--text-muted); font-size: .95rem; }

/* Suggestions */
.search-suggestions { padding: 40px 0; text-align: center; }
.search-suggestions h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 24px; }
.search-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.search-cat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 50px; font-size: .88rem; font-weight: 500; transition: all .2s; }
.search-cat-pill:hover { border-color: var(--brand); background: var(--brand); color: var(--dark); transform: translateY(-2px); }
.search-cat-pill span { font-size: .72rem; color: var(--text-muted); font-weight: 600; }
.search-cat-pill:hover span { color: rgba(0,0,0,.5); }

@media (max-width: 700px) {
    .search-item { flex-direction: column; }
    .search-item-img { width: 100%; height: 200px; }
    .search-item-body { padding: 20px; }
    .search-hero { padding: 32px 0 28px; }
    .search-title { font-size: 1.5rem; }
    .search-query { font-size: 1.2rem; }
    .search-hero-form { margin-top: 20px; }
    .search-input-wrap { padding: 3px; border-radius: 10px; }
    .search-input-wrap input { padding: 10px 10px; font-size: .95rem; min-width: 0; }
    .search-input-wrap button { padding: 10px 14px; font-size: .82rem; border-radius: 8px; }
    .search-icon { width: 18px; height: 18px; margin-left: 8px; }
    .search-suggestions { padding: 28px 0; }
    .search-suggestions h2 { font-size: 1.25rem; margin-bottom: 18px; }
    .search-cat-pill { padding: 8px 14px; font-size: .82rem; }
    .search-bug { width: 280px; }
}

/* === BREADCRUMB === */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb-sep { margin: 0 6px; }

/* === PAGINATION === */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.pagination a, .page-current { padding: 8px 14px; border-radius: 6px; font-size: .875rem; font-weight: 500; }
.pagination a { color: var(--text-light); border: 1px solid var(--border); background: var(--white); }
.pagination a:hover { background: var(--brand); color: var(--dark); border-color: var(--brand); }
.page-current { background: var(--dark); color: var(--white); border: 1px solid var(--dark); }
.page-dots { color: #ccc; }
.page-prev, .page-next { border: none !important; font-weight: 600 !important; color: var(--dark) !important; }

/* === 404 === */
.page-404 { text-align: center; padding: 80px 20px; }
.page-404 h1 { font-family: 'Playfair Display', serif; font-size: 8rem; color: var(--brand); font-weight: 900; }
.page-404 p { font-size: 1.25rem; color: var(--text-muted); margin: 16px 0 32px; }
.btn { display: inline-block; padding: 12px 28px; background: var(--dark); color: var(--white); border-radius: 8px; font-weight: 600; }
.btn:hover { background: var(--darker); color: var(--white); }

/* === FOOTER === */
.footer { background: var(--dark); margin-top: 80px; position: relative; overflow: hidden; color: rgba(255,255,255,.65); }
.footer-bug { position: absolute; width: 500px; right: -60px; top: -40px; opacity: .04; transform: rotate(-10deg); pointer-events: none; filter: brightness(10); z-index: 0; }
.footer-main { padding: 56px 0 36px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 50px; }
.footer-col { min-width: 0; }
.footer-h { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 9px; }
.footer-list a { font-size: .85rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .15s, padding-left .15s; display: inline-block; }
.footer-list a:hover { color: var(--brand); padding-left: 4px; }

/* Brand col */
.footer-brand-col .footer-logo { height: 32px; width: auto; margin-bottom: 18px; display: block; }
.footer-tagline { font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.45); margin-bottom: 22px; max-width: 360px; }
.footer-tagline strong { color: rgba(255,255,255,.7); font-weight: 600; }

/* Social */
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); transition: all .2s; }
.footer-social a:hover { background: var(--brand); color: var(--dark); transform: translateY(-2px); }

/* Latest articles */
.footer-latest { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-latest li a { display: flex; gap: 12px; align-items: center; text-decoration: none; transition: opacity .15s; }
.footer-latest li a:hover { opacity: .8; }
.footer-latest img, .footer-latest-noimg { flex: 0 0 56px; width: 56px; height: 42px; object-fit: cover; border-radius: 4px; background: rgba(255,255,255,.05); }
.footer-latest-title { display: block; font-size: .82rem; line-height: 1.4; color: rgba(255,255,255,.8); font-weight: 500; }
.footer-latest-date { display: block; font-size: .68rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .8px; margin-top: 4px; }
.footer-latest li a:hover .footer-latest-title { color: var(--brand); }

/* Bottom bar */
.footer-bottom { background: rgba(0,0,0,.3); padding: 18px 0; border-top: 1px solid rgba(255,255,255,.05); position: relative; z-index: 1; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: .76rem; color: rgba(255,255,255,.4); }
.footer-copy strong { color: rgba(255,255,255,.6); font-weight: 600; }
.footer-version { font-size: .7rem; color: rgba(255,255,255,.2); font-family: 'Inter', monospace; letter-spacing: .5px; }
.footer-legal { font-size: .7rem; color: rgba(255,255,255,.3); line-height: 1.7; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.05); text-align: center; }
.footer-legal a { color: rgba(255,255,255,.55); text-decoration: none; font-weight: 600; transition: color .15s; }
.footer-legal a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
    .footer-brand-col { grid-column: 1 / -1; max-width: 600px; }
    .footer-latest img, .footer-latest-noimg { flex: 0 0 48px; width: 48px; height: 36px; }
}
@media (max-width: 600px) {
    .footer-main.container { padding: 32px 30px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-latest-col { grid-column: 1 / -1; }
    .footer-brand-col .footer-logo { height: 26px; margin-bottom: 12px; }
    .footer-tagline { font-size: .78rem; margin-bottom: 14px; }
    .footer-social a { width: 32px; height: 32px; }
    .footer-h { font-size: .66rem; margin-bottom: 12px; padding-bottom: 8px; }
    .footer-list a { font-size: .78rem; }
    .footer-list li { margin-bottom: 6px; }
    .footer-latest img, .footer-latest-noimg { flex: 0 0 44px; width: 44px; height: 33px; }
    .footer-latest-title { font-size: .75rem; }
    .footer-latest-date { font-size: .62rem; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
    .footer-copy { font-size: .68rem; }
    .footer-legal { font-size: .64rem; }
}

/* === PAGE HERO === */
.page-hero { background: var(--dark); color: var(--white); margin-bottom: 36px; }
.page-hero-accent { height: 4px; background: var(--brand); }
.page-hero-inner { padding: 36px 30px; max-width: 1300px; margin: 0 auto; }
.page-hero .breadcrumb { margin-bottom: 14px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255,255,255,.25); }
.page-hero .breadcrumb a:hover { color: var(--brand); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,.1); }
.page-hero-title { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; }

/* === PAGE LAYOUT === */
.page-layout { display: grid; gap: 40px; grid-template-columns: 1fr 300px; }
@media (max-width: 900px) { .page-layout { grid-template-columns: 1fr; } }

/* === PAGE SINGLE === */
.page-single { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }

/* === PAGE SIDEBAR === */
.page-sidebar { position: sticky; top: 80px; }
.page-sidebar-link { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; font-size: .88rem; font-weight: 500; color: var(--dark); transition: transform .15s; }
.page-sidebar-link:last-child { border-bottom: none; }
.page-sidebar-link:hover { transform: translateX(5px); color: var(--brand-dark); }
.page-sidebar-count { font-size: .72rem; color: var(--text-muted); }

/* === MAIN === */
.site-main { min-height: 60vh; }
