/*
Theme Name: katohika-cinematic
Text Domain: katohika-cinematic
Description: Standalone premium cinematic homepage inspired by the approved Katohika mockup; dynamic WordPress content and responsive layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* Premium titles are emitted as plain text for compatibility with escaped theme headings. */
.single main article .pms-premium-lock,
.single main article .pms-premium-lock div,
.single main article .pms-premium-lock h1,
.single main article .pms-premium-lock h2,
.single main article .pms-premium-lock h3,
.single main article .pms-premium-lock h4,
.single main article .pms-premium-lock p,
.single main article .pms-premium-lock span,
.single main article .pms-premium-lock strong,
.single main article .pms-premium-lock em {
	color:#fff!important;
}
.single main article .pms-premium-lock .pms-premium-kicker{color:#d4af37!important;}
.single main article .pms-premium-lock .pms-premium-note{color:#c9c9c9!important;}
.single main article .pms-premium-lock .pms-premium-btn-gold{color:#111!important;}
.single main article .pms-premium-lock .pms-premium-btn-light{color:#a40e17!important;}
.single main article [style*="background:#111"],
.single main article [style*="background: #111"],
.single main article [style*="background:#0b0b0b"],
.single main article [style*="background: #0b0b0b"] {color:#fff!important;}
.single main article [style*="background:#111"] *,
.single main article [style*="background: #111"] *,
.single main article [style*="background:#0b0b0b"] *,
.single main article [style*="background: #0b0b0b"] * {color:#fff!important;}

/* Premium paywall: force readable white text on dark background. */
.single article .kat-premium-lock,
.single article .kat-premium-lock * {
	color:#fff !important;
}
.single article .kat-premium-lock a.kat-premium-primary {
	color:#000 !important;
}
.single article .kat-premium-lock a.kat-premium-secondary {
	color:#111 !important;
}
.single article .kat-premium-lock h3,
.single article .kat-premium-lock p,
.single article .kat-premium-lock div,
.single article .kat-premium-lock span,
.single article .kat-premium-lock strong {
	color:#fff !important;
}

/* LIVE-SAFE lower homepage sections: pure CSS, no Tailwind dependency */
.kat-future-block-live{margin-top:14px;background:#090a0b;border:1px solid #252525;color:#fff}.kat-future-head-live{padding:14px 16px;border-bottom:1px solid #272727;background:linear-gradient(90deg,#130406,#090a0b)}.kat-future-head-live span{font:900 17px/1.2 Georgia,serif;letter-spacing:.02em}.kat-future-head-live span b{color:#d71920}.kat-future-head-live small{display:block;margin-top:4px;color:#9f9f9f;font-size:10px}.kat-future-track-live{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:8px;padding:8px}.kat-future-card-live{position:relative;min-height:210px;background-image:linear-gradient(0deg,rgba(0,0,0,.96),rgba(0,0,0,.06) 72%),var(--future-img);background-size:cover;background-position:center;color:#fff;overflow:hidden;border:1px solid #303030}.kat-future-card-live.is-featured{min-height:260px}.kat-future-card-live>div{position:absolute;left:12px;right:12px;bottom:12px;z-index:2}.kat-future-card-live span{display:inline-block;background:#a40e17;padding:4px 7px;font-size:8px;font-weight:900}.kat-future-card-live h3{margin:7px 0 5px;color:#fff;font:800 14px/1.18 Georgia,serif}.kat-future-card-live.is-featured h3{font-size:22px}.kat-future-card-live p{margin:0 0 7px;color:#d7d7d7;font-size:10px;line-height:1.35}.kat-future-card-live strong{font-size:8px;color:#e0b85a;letter-spacing:.04em}
.kat-agreed-flow-live{margin-top:14px;background:#0a0b0c;border:1px solid #252525;padding:0 8px 14px;color:#fff}.kat-agreed-flow-live>header{padding:14px 4px 9px;border-bottom:1px solid #2d2d2d}.kat-agreed-flow-live>header h2{margin:0;color:#fff;font:900 20px/1 Georgia,serif;letter-spacing:.02em}.kat-agreed-flow-rows-live{padding-top:8px}.kat-agreed-flow-row-live{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:8px;align-items:stretch}.kat-flow-grid-card-live,.kat-flow-ad-wrap-live{height:285px;min-width:0;border:1px solid #2f2f2f;background:#111;overflow:hidden}.kat-flow-grid-card-live{display:flex;flex-direction:column;color:#fff;text-decoration:none}.kat-flow-grid-card-live img{width:100%;height:108px;object-fit:cover;display:block;flex:0 0 108px}.kat-flow-grid-meta-live{display:flex;justify-content:space-between;gap:8px;padding:8px 9px 0;color:#b5b5b5;font-size:8px}.kat-flow-grid-meta-live small{color:#d71920;font-weight:900}.kat-flow-grid-card-live h3{margin:7px 9px 4px;color:#fff;font:800 13px/1.18 Georgia,serif;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.kat-flow-grid-card-live p{margin:0 9px;color:#bdbdbd;font-size:9px;line-height:1.32;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.kat-flow-grid-card-live strong{margin:auto 9px 9px;color:#d8ad4e;font-size:8px;letter-spacing:.03em}.kat-flow-ad-wrap-live{display:flex;align-items:stretch;justify-content:stretch;background:#111}.kat-flow-ad-wrap-live .kat-ad-slot{width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:#111!important;display:grid!important;grid-template-rows:28px 1fr!important;align-items:stretch!important;justify-items:stretch!important;overflow:hidden!important}.kat-flow-ad-wrap-live .kat-ad-label{display:flex!important;align-items:center!important;justify-content:center!important;color:#777!important;font-size:8px!important;padding:0!important;height:28px!important}.kat-flow-ad-wrap-live .adsbygoogle{display:block!important;width:100%!important;height:257px!important;min-height:0!important;max-height:257px!important;aspect-ratio:1/1!important;margin:0 auto!important;overflow:hidden!important}.kat-flow-ad-wrap-live iframe{width:100%!important;height:100%!important;max-height:257px!important}.kat-flow-more-live{display:block;width:max-content;margin:10px auto 0;padding:9px 16px;border:1px solid #a40e17;color:#fff!important;background:#780a10;font-size:9px;font-weight:900;text-decoration:none}.kat-flow-more-live:hover{background:#a40e17}
@media(max-width:1100px){.kat-future-track-live{grid-template-columns:repeat(2,1fr)}.kat-future-card-live.is-featured{grid-column:span 2}.kat-agreed-flow-row-live{grid-template-columns:repeat(3,1fr)}.kat-flow-grid-card-live,.kat-flow-ad-wrap-live{height:300px}}
@media(max-width:700px){.kat-future-track-live{grid-template-columns:1fr}.kat-future-card-live.is-featured{grid-column:auto}.kat-agreed-flow-row-live{grid-template-columns:1fr 1fr;gap:6px}.kat-flow-grid-card-live,.kat-flow-ad-wrap-live{height:285px}.kat-flow-grid-card-live img{height:100px;flex-basis:100px}.kat-flow-grid-card-live h3{font-size:12px}.kat-flow-grid-card-live p{font-size:8px}.kat-flow-ad-wrap-live .adsbygoogle{height:257px!important;min-height:0!important;max-height:257px!important}.kat-flow-ad-wrap-live iframe{height:100%!important;max-height:257px!important}}
