:root {
    color-scheme: light;
    --primary: #111111;
    --accent: #E63946;
    --accent-dark: #b92531;
    --bg: #ffffff;
    --bg-soft: #f7f7f8;
    --bg-elevated: #ffffff;
    --text: #111111;
    --text-muted: #666666;
    --text-soft: #8a8a8a;
    --border: #e8e8ea;
    --shadow: 0 18px 60px rgba(17, 17, 17, .08);
    --shadow-strong: 0 24px 80px rgba(17, 17, 17, .16);
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1240px;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --ease: all .3s ease;
}

[data-theme="dark"] {
    color-scheme: dark;
    --primary: #ffffff;
    --bg: #080808;
    --bg-soft: #121214;
    --bg-elevated: #161619;
    --text: #f4f4f5;
    --text-muted: #b5b5ba;
    --text-soft: #85858e;
    --border: #2a2a2e;
    --shadow: 0 18px 60px rgba(0, 0, 0, .36);
    --shadow-strong: 0 24px 80px rgba(0, 0, 0, .56);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--ease); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; fill: currentColor; }
::selection { background: var(--accent); color: #fff; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link:focus {
    position: fixed;
    left: 18px;
    top: 18px;
    z-index: 9999;
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
}
.site-main { padding: 34px 0 70px; }

.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 9998;
    background: transparent;
    pointer-events: none;
}
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .08s linear; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    border-bottom: 1px solid var(--border);
    transition: var(--ease);
}
.site-header.is-scrolled {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .08);
}
.top-bar {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    font-size: 12px;
    letter-spacing: .02em;
    color: var(--text-muted);
}
.top-bar-inner, .masthead, .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.top-bar-inner { min-height: 38px; }
.top-clock, .top-actions, .social-nav, .header-tools { display: flex; align-items: center; gap: 12px; }
.clock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 15%, transparent); }
.social-nav a, .footer-social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    background: var(--bg-elevated);
}
.social-nav a:hover, .footer-social a:hover { border-color: var(--accent); color: #fff; background: var(--accent); transform: translateY(-2px); }
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    color: var(--text);
    padding: 0;
    font-weight: 700;
    font-size: 12px;
}
.theme-toggle-track { width: 40px; height: 22px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 2px; display: block; }
.theme-toggle-thumb { width: 16px; height: 16px; display: block; border-radius: 50%; background: var(--accent); transition: var(--ease); }
[data-theme="dark"] .theme-toggle-thumb { transform: translateX(18px); }

.masthead-wrap { background: var(--bg); }
.masthead { min-height: 84px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--bg);
    font-family: var(--serif);
    font-weight: 900;
    font-size: 27px;
    line-height: 1;
}
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -.035em; }
.brand-copy small { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.main-menu { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; }
.main-menu > a, .mega-trigger > button {
    border: 0;
    background: transparent;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}
.main-menu > a:hover, .main-menu > a.active, .mega-trigger:hover > button, .mega-trigger.is-open > button { background: var(--bg-soft); color: var(--accent); }
.mega-trigger { position: static; }
.mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition: var(--ease);
    z-index: 20;
}
.mega-trigger:hover .mega-menu, .mega-trigger.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.mega-inner {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 24px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}
.mega-intro span, .eyebrow { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.mega-intro h2 { margin: 8px 0 10px; font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: -.035em; }
.mega-intro p { margin: 0; color: var(--text-muted); font-size: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mega-card { min-height: 150px; border-radius: var(--radius-md); overflow: hidden; position: relative; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.mega-card img, .category-card img, .hero-image-link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega-card-shade, .category-card-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.72)); transition: var(--ease); }
.mega-card strong { color: #fff; font-family: var(--serif); font-size: 21px; line-height: 1.05; }
.mega-card em { color: rgba(255,255,255,.8); font-style: normal; font-size: 12px; font-weight: 800; }
.mega-card:hover { transform: translateY(-4px); }
.mega-card:hover .mega-card-shade { background: linear-gradient(180deg, rgba(230,57,70,.12), rgba(230,57,70,.86)); }
.search-box { position: relative; display: flex; align-items: center; width: 190px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); padding: 0 8px 0 14px; }
.search-box input { flex: 1; width: 100%; min-width: 0; height: 42px; border: 0; outline: 0; color: var(--text); background: transparent; font-weight: 600; }
.search-box button { width: 32px; height: 32px; border: 0; background: var(--text); color: var(--bg); border-radius: 50%; display: grid; place-items: center; }
.search-results {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(430px, calc(100vw - 40px));
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--ease);
    z-index: 40;
}
.search-results.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-result-item { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 12px; border-bottom: 1px solid var(--border); }
.search-result-item:last-child { border-bottom: 0; }
.search-result-item img { width: 62px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.search-result-item strong { display: block; font-size: 14px; line-height: 1.25; }
.search-result-item em { display: block; color: var(--accent); font-size: 11px; font-style: normal; font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
.search-empty { padding: 16px; color: var(--text-muted); font-size: 14px; }
.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-elevated); padding: 0; place-items: center; }
.hamburger span { width: 18px; height: 2px; background: var(--text); display: block; margin: 3px auto; transition: var(--ease); }
.breaking-bar { background: var(--accent); color: #fff; }
.breaking-inner { min-height: 42px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; overflow: hidden; }
.breaking-inner > strong { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; background: #fff; color: var(--accent); border-radius: 999px; padding: 7px 11px; white-space: nowrap; }
.ticker-viewport { overflow: hidden; min-width: 0; }
.ticker-track { display: flex; align-items: center; gap: 36px; white-space: nowrap; will-change: transform; }
.ticker-track a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; }
.ticker-track span { opacity: .75; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ease);
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(460px, 100%);
    background: var(--bg);
    transform: translateX(100%);
    transition: var(--ease);
    padding: 22px;
    overflow-y: auto;
}
.mobile-overlay.is-open .mobile-panel { transform: translateX(0); }
.mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.mobile-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--text); font-size: 32px; line-height: 1; }
.mobile-search { display: flex; gap: 10px; margin-bottom: 22px; }
.mobile-search input, .archive-search input, .newsletter-widget input, .comment-form input, .comment-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text);
    outline: 0;
    padding: 13px 16px;
    transition: var(--ease);
}
.comment-form textarea { min-height: 140px; border-radius: 18px; resize: vertical; }
.mobile-search button, .archive-search button, .newsletter-widget button, .btn {
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
    padding: 13px 18px;
    transition: var(--ease);
}
.mobile-search button:hover, .archive-search button:hover, .newsletter-widget button:hover, .btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.mobile-links { display: grid; gap: 8px; }
.mobile-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; background: var(--bg-soft); border-radius: 16px; font-weight: 900; }
.mobile-links a:hover { background: var(--accent); color: #fff; transform: translateX(4px); }
.mobile-links em { font-style: normal; opacity: .72; }

.hero-section { margin-top: 18px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); gap: 22px; }
.featured-post { min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; position: relative; isolation: isolate; box-shadow: var(--shadow); }
.hero-image-link { position: absolute; inset: 0; display: block; z-index: -2; }
.hero-gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.82)); }
.hero-featured:hover img { transform: scale(1.035); }
.hero-image-link img, .post-thumb img, .hero-mini-thumb img, .related-thumb img, .category-card img { transition: transform .55s ease, opacity .3s ease; }
.hero-content { position: absolute; left: 34px; right: 34px; bottom: 34px; color: #fff; z-index: 2; }
.category-badge { display: inline-flex; align-items: center; width: max-content; background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 11px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.text-badge { background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); }
.hero-content h1 { margin: 16px 0 12px; font-family: var(--serif); font-size: clamp(32px, 4.2vw, 52px); line-height: .98; letter-spacing: -.045em; max-width: 760px; }
.hero-content h1 a:hover, .post-card-content h3 a:hover, .post-card-content h2 a:hover, .article-content a:hover, .related-card h3 a:hover { color: var(--accent); }
.hero-content p { max-width: 760px; margin: 0 0 18px; color: rgba(255,255,255,.86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.hero-meta { color: rgba(255,255,255,.78); }
.post-meta span:not(:first-child)::before { content: ''; width: 4px; height: 4px; display: inline-block; background: currentColor; border-radius: 50%; margin-right: 12px; opacity: .45; vertical-align: middle; }
.author-avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: #fff; font-weight: 900; }
.hero-meta .author-avatar { background: #fff; color: var(--accent); }
.hero-stack { display: grid; gap: 16px; }
.hero-mini { min-height: 176px; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-elevated); box-shadow: var(--shadow); display: grid; grid-template-columns: 42% 1fr; border: 1px solid var(--border); }
.hero-mini-thumb { overflow: hidden; min-height: 100%; }
.hero-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-mini:hover img { transform: scale(1.06); }
.hero-mini > div { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mini-category { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.hero-mini h2 { font-family: var(--serif); margin: 0; font-size: 21px; line-height: 1.12; letter-spacing: -.035em; }
.hero-mini time { font-size: 12px; color: var(--text-muted); font-weight: 700; }

.category-grid-section { padding: 70px 0 30px; }
.section-heading { margin-bottom: 24px; }
.section-heading h2 { margin: 4px 0 6px; font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--text-muted); max-width: 620px; }
.center-heading { text-align: center; display: grid; justify-items: center; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card {
    min-height: 236px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}
.category-card-overlay { background: linear-gradient(180deg, color-mix(in srgb, var(--cat-color) 20%, transparent), rgba(0,0,0,.76)); }
.category-card:hover { transform: scale(1.03); }
.category-card:hover img { transform: scale(1.08); }
.category-card:hover .category-card-overlay { background: linear-gradient(180deg, color-mix(in srgb, var(--cat-color) 42%, transparent), rgba(0,0,0,.86)); }
.category-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(10px); font-size: 20px; font-weight: 900; }
.category-card-copy { color: #fff; display: grid; gap: 6px; }
.category-card-copy strong { font-family: var(--serif); font-size: 31px; line-height: 1; letter-spacing: -.035em; }
.category-card-copy em { font-style: normal; font-size: 13px; font-weight: 900; opacity: .8; }
.category-card-copy small { color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.content-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 42px; align-items: start; }
.main-content-layout { padding-top: 34px; }
.post-feed { display: grid; gap: 22px; }
.post-card-horizontal {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 22px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .04);
    transition: var(--ease);
}
.post-card-horizontal:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); }
.post-thumb { width: 280px; height: 180px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-horizontal:hover .post-thumb img { transform: scale(1.06); }
.post-card-content { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.post-card-content h3, .post-card-content h2 { margin: 10px 0 8px; font-family: var(--serif); font-size: 27px; line-height: 1.08; letter-spacing: -.035em; }
.post-card-content p { margin: 0 0 15px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 28px; }
.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: var(--bg);
    padding: 15px 22px;
    font-weight: 900;
    transition: var(--ease);
}
.load-more-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.load-more-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.load-more-btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .65s linear infinite; }

.sidebar { position: sticky; top: 182px; display: grid; gap: 20px; }
.widget { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; box-shadow: 0 8px 30px rgba(0,0,0,.035); }
.widget-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.widget-head span { width: 8px; height: 22px; border-radius: 99px; background: var(--accent); }
.widget-head h2, .newsletter-widget h2 { margin: 0; font-family: var(--serif); font-size: 25px; line-height: 1.08; letter-spacing: -.035em; }
.ranked-post { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.ranked-post:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-no { font-family: var(--serif); color: var(--accent); font-size: 35px; line-height: .9; font-weight: 900; }
.rank-copy strong { display: block; font-size: 15px; line-height: 1.25; }
.rank-copy em { display: block; margin-top: 6px; color: var(--text-muted); font-style: normal; font-size: 12px; font-weight: 700; }
.category-bars { display: grid; gap: 14px; }
.category-bar { display: grid; gap: 8px; }
.category-bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.category-bar-top em { font-style: normal; color: var(--text-muted); font-weight: 800; }
.category-bar-track { height: 7px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.category-bar-track span { display: block; height: 100%; border-radius: inherit; }
.newsletter-widget { background: linear-gradient(145deg, var(--accent), #111111); color: #fff; border-color: transparent; }
.newsletter-widget .eyebrow { color: rgba(255,255,255,.76); }
.newsletter-widget p { color: rgba(255,255,255,.78); margin: 10px 0 16px; }
.newsletter-widget form { display: grid; gap: 10px; }
.newsletter-widget input { background: rgba(255,255,255,.13); color: #fff; border-color: rgba(255,255,255,.22); }
.newsletter-widget input::placeholder { color: rgba(255,255,255,.68); }
.newsletter-widget button { background: #fff; color: #111; }
.newsletter-widget small { display: block; margin-top: 10px; color: rgba(255,255,255,.8); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { border: 1px solid var(--border); background: var(--bg-soft); color: var(--text-muted); border-radius: 999px; padding: 8px 11px; font-size: 13px; font-weight: 800; }
.tag-cloud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

.archive-hero {
    background: radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--cat-color, var(--accent)) 18%, transparent), transparent 35%), var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(30px, 5vw, 58px);
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}
.archive-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--cat-color, var(--accent)); color: #fff; font-size: 24px; margin-bottom: 18px; }
.archive-hero h1 { margin: 8px 0 8px; font-family: var(--serif); font-size: clamp(38px, 6vw, 66px); line-height: .95; letter-spacing: -.05em; }
.archive-hero p { max-width: 700px; margin: 0 0 12px; color: var(--text-muted); }
.archive-hero em { font-style: normal; font-weight: 900; color: var(--accent); }
.archive-search { display: flex; gap: 10px; margin-top: 22px; max-width: 560px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(300px, 1fr); gap: 48px; align-items: start; }
.article-main { min-width: 0; }
.article-header { text-align: center; max-width: 860px; margin: 0 auto 24px; display: grid; justify-items: center; }
.article-header h1 { margin: 18px 0 14px; font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); line-height: .96; letter-spacing: -.055em; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--text-muted); margin: 0 0 18px; line-height: 1.55; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin: 28px 0; background: var(--bg-soft); }
.article-content { font-size: 18px; color: var(--text); }
.article-content h2, .article-content h3 { font-family: var(--serif); letter-spacing: -.035em; line-height: 1.1; margin: 34px 0 12px; }
.article-content h2 { font-size: 38px; }
.article-content h3 { font-size: 29px; }
.article-content p { margin: 0 0 20px; }
.article-content a { color: var(--accent); font-weight: 800; }
.article-content img { border-radius: var(--radius-md); margin: 28px 0; }
.article-content blockquote { margin: 28px 0; padding: 24px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.author-box { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 24px; margin: 36px 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-soft); }
.large-avatar { width: 64px; height: 64px; font-size: 24px; }
.author-box h2 { font-family: var(--serif); margin: 3px 0 6px; font-size: 28px; }
.author-box p { margin: 0; color: var(--text-muted); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; background: var(--bg-elevated); }
.related-thumb { height: 150px; overflow: hidden; border-radius: var(--radius-sm); margin-bottom: 12px; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card:hover img { transform: scale(1.06); }
.related-card h3 { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.comments-block { margin-top: 38px; }
.comments-block h2 { font-family: var(--serif); font-size: 34px; letter-spacing: -.035em; }
.comment { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-elevated); margin-bottom: 14px; }
.comment p { margin: 6px 0 0; color: var(--text-muted); }
.comment-form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 800; }
.alert.success { background: rgba(36, 160, 97, .12); color: #24a061; }
.muted { color: var(--text-muted); }

.site-footer { margin-top: 60px; background: #111111; color: #aaaaaa; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 34px; padding: 56px 0; }
.site-footer h2, .site-footer h3 { color: #fff; font-family: var(--serif); letter-spacing: -.035em; margin: 0 0 14px; }
.site-footer p { margin: 0 0 16px; color: #aaaaaa; }
.footer-logo .brand-mark { background: #fff; color: #111; }
.footer-logo .brand-copy strong { color: #fff; }
.footer-logo .brand-copy small { color: #aaaaaa; }
.footer-brand p { margin-top: 18px; max-width: 330px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-links.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-links a, .footer-contact, .footer-bottom a { color: #aaaaaa; font-weight: 700; }
.footer-links a:hover, .footer-contact:hover, .footer-bottom a:hover { color: #fff; }
.footer-note { color: #777 !important; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { min-height: 58px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-strong);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--ease);
    z-index: 999;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); color: var(--bg); transform: translateY(-3px); }

.lazy-img { opacity: 0; }
.lazy-img.is-loaded { opacity: 1; }
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
}
.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--bg) 65%, transparent), transparent);
    animation: shimmer 1.35s infinite;
}
.fade-in { animation: fadeUp .35s ease both; }

.empty-state { text-align: center; padding: 80px 20px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.empty-state h1, .empty-state h2 { font-family: var(--serif); font-size: clamp(42px, 8vw, 80px); line-height: 1; margin: 0 0 12px; }
.empty-state p { color: var(--text-muted); }

@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1280px) {
    :root { --container: 1120px; }
    .main-menu > a, .mega-trigger > button { padding-inline: 9px; }
    .hero-content h1 { font-size: clamp(32px, 4vw, 46px); }
}

@media (max-width: 1024px) {
    .container { width: min(100% - 32px, var(--container)); }
    .main-menu { display: none; }
    .hamburger { display: grid; }
    .search-box { width: 220px; }
    .hero-grid, .content-layout, .article-layout { grid-template-columns: 1fr; }
    .featured-post { min-height: 500px; }
    .hero-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero-mini { grid-template-columns: 1fr; min-height: auto; }
    .hero-mini-thumb { height: 140px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .newsletter-widget, .tag-widget { grid-column: span 1; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .top-bar-inner { justify-content: center; }
    .social-nav, .theme-toggle-text { display: none; }
    .masthead { min-height: 72px; }
    .brand-copy strong { font-size: 24px; }
    .brand-copy small { display: none; }
    .search-box { display: none; }
    .breaking-inner { grid-template-columns: 1fr; gap: 8px; padding: 8px 0 10px; }
    .breaking-inner > strong { width: max-content; }
    .featured-post { min-height: 440px; border-radius: 22px; }
    .hero-content { left: 20px; right: 20px; bottom: 22px; }
    .hero-content h1 { font-size: clamp(31px, 8vw, 46px); }
    .hero-stack { grid-template-columns: 1fr; }
    .hero-mini { grid-template-columns: 150px 1fr; }
    .hero-mini-thumb { height: auto; }
    .category-grid { grid-template-columns: 1fr; }
    .post-card-horizontal { grid-template-columns: 1fr; }
    .post-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; }
    .post-card-content h3, .post-card-content h2 { font-size: 25px; }
    .sidebar { grid-template-columns: 1fr; }
    .related-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 16px 0; }
    .form-row, .archive-search { grid-template-columns: 1fr; display: grid; }
}

@media (max-width: 480px) {
    .container { width: min(100% - 24px, var(--container)); }
    .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: 24px; }
    .top-clock { font-size: 11px; }
    .featured-post { min-height: 390px; }
    .hero-content p { display: none; }
    .post-meta { gap: 6px 10px; font-size: 12px; }
    .post-meta span:not(:first-child)::before { display: none; }
    .hero-mini { grid-template-columns: 112px 1fr; }
    .hero-mini h2 { font-size: 18px; }
    .section-heading h2 { font-size: 31px; }
    .category-card { min-height: 210px; }
    .category-card-copy strong { font-size: 27px; }
    .widget { padding: 18px; }
    .article-header h1 { font-size: 38px; }
    .article-content { font-size: 17px; }
    .article-content h2 { font-size: 31px; }
    .author-box { grid-template-columns: 1fr; }
    .mobile-panel { padding: 18px; }
}

@media print {
    :root { --text: #000; --bg: #fff; }
    .site-header, .site-footer, .sidebar, .back-to-top, .scroll-progress, .comments-block, .related-posts { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .container, .article-layout, .article-main { width: 100%; max-width: none; display: block; }
    .site-main { padding: 0; }
    a { color: #000; text-decoration: underline; }
    .article-header { text-align: left; display: block; }
    .article-cover { box-shadow: none; border-radius: 0; max-height: 360px; object-fit: cover; }
    .article-content { font-size: 12pt; }
}


/* AselNova detail/archive/search pages */
.article-page { padding-top: 0; }
.article-hero-full { position: relative; min-height: min(64vh, 560px); display: grid; align-items: end; overflow: hidden; background: #111; }
.article-hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 500px; min-height: 100%; object-fit: cover; filter: saturate(1.05); }
.article-hero-overlay, .archive-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.78)); }
.article-hero-content { position: relative; z-index: 2; padding: 140px 0 56px; color: #fff; }
.article-hero-content h1 { max-width: 920px; margin: 16px 0 16px; color: #fff; font-family: var(--serif); font-size: clamp(42px, 6vw, 76px); line-height: .96; letter-spacing: -.05em; }
.article-hero-content .post-meta, .breadcrumb.light, .breadcrumb.light a { color: rgba(255,255,255,.78); }
.breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 26px 0; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.breadcrumb a { color: var(--text); }
.breadcrumb a:hover { color: var(--accent); }
.article-detail-layout { grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); align-items: start; gap: 42px; }
.article-main { min-width: 0; }
.sticky-sidebar { position: sticky; top: 132px; display: grid; gap: 22px; }
.rich-author-card { margin: 0 0 26px; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--primary); color: var(--bg); display: grid; place-items: center; font-weight: 900; flex: 0 0 auto; text-decoration: none; }
.author-avatar.large { width: 92px; height: 92px; font-size: 28px; }
.author-avatar.xlarge { width: 132px; height: 132px; font-size: 42px; box-shadow: var(--shadow-soft); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-stats { margin-top: 10px; color: var(--text-muted); font-weight: 700; }
.author-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.author-social a { border: 1px solid var(--border); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 800; text-transform: capitalize; background: var(--bg); }
.article-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 28px 0; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-soft); }
.like-button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 16px; background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); cursor: pointer; font-weight: 900; transition: var(--ease); }
.like-button svg { width: 20px; height: 20px; fill: currentColor; color: var(--accent); transform-origin: center; }
.like-button.is-liked, .like-button:hover { background: var(--accent); color: #fff; }
.like-button.is-liked svg, .like-button:hover svg { color: #fff; animation: heartBeat .42s ease; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a, .share-row button { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 999px; padding: 10px 13px; font-size: 12px; font-weight: 900; cursor: pointer; }
.share-row a:hover, .share-row button:hover { border-color: var(--accent); color: var(--accent); }
.article-stats { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-muted); font-size: 13px; font-weight: 700; }
.article-content { font-size: 19px; line-height: 1.82; color: var(--text); }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2, .article-content h3, .article-content h4 { font-family: var(--serif); color: var(--text); letter-spacing: -.035em; line-height: 1.08; margin: 1.45em 0 .55em; scroll-margin-top: 140px; }
.article-content h2 { font-size: clamp(32px, 4vw, 48px); }
.article-content h3 { font-size: clamp(25px, 3vw, 34px); }
.article-content img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); margin: 18px 0 28px; }
.article-content blockquote { margin: 34px 0; padding: 28px 30px; border-left: 5px solid var(--accent); background: var(--bg-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--serif); font-size: 1.25em; line-height: 1.45; }
.article-content ul, .article-content ol { padding-left: 1.25em; margin: 0 0 1.5em; }
.article-content li { margin: .45em 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 28px 0; overflow: hidden; border-radius: var(--radius-sm); font-size: 15px; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; }
.article-content th { background: var(--bg-soft); font-weight: 900; }
.article-content pre, .article-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.article-content pre { overflow-x: auto; padding: 18px; border-radius: var(--radius-md); background: #111; color: #fff; }
.article-content code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); }
.article-content pre code { padding: 0; background: transparent; }
.toc-widget nav { display: grid; gap: 4px; }
.toc-widget a { display: block; padding: 9px 10px; border-radius: 10px; color: var(--text-muted); font-weight: 700; font-size: 13px; border-left: 3px solid transparent; }
.toc-widget a.toc-h3 { padding-left: 24px; font-size: 12px; }
.toc-widget a.is-active, .toc-widget a:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); border-left-color: var(--accent); }
.ad-widget { min-height: 250px; place-items: center; text-align: center; background: linear-gradient(135deg, var(--primary), #3a1518); color: #fff; }
.ad-widget span { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.ad-widget strong { display: block; margin: 8px 0; font-family: var(--serif); font-size: 34px; }
.ad-widget p { color: rgba(255,255,255,.72); }
.tag-section { margin: 42px 0; padding-top: 28px; border-top: 1px solid var(--border); }
.tag-section h2 { font-family: var(--serif); margin-bottom: 14px; }
.comments-block { margin: 48px 0; padding-top: 36px; border-top: 1px solid var(--border); }
.comment-list { display: grid; gap: 16px; margin-bottom: 30px; }
.comment-card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.comment-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 900; }
.comment-card header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.comment-card time { color: var(--text-muted); font-size: 12px; }
.comment-card p { margin: 0; color: var(--text-muted); line-height: 1.7; }
.comment-form { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-soft); }
.comment-form h3 { font-family: var(--serif); font-size: 32px; margin: 0; }
.comment-form label { display: grid; gap: 8px; font-weight: 800; }
.comment-form input, .comment-form textarea, .big-search-form input { width: 100%; border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 14px; padding: 14px 15px; font: inherit; outline: 0; }
.comment-form input:focus, .comment-form textarea:focus, .big-search-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 800; }
.alert-success { background: #e8f7ee; color: #176c35; }
.alert-error { background: #fdecee; color: #a11925; }
.muted { color: var(--text-muted); }
@keyframes heartBeat { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

.archive-page { padding-top: 0; }
.archive-hero { position: relative; min-height: 420px; display: grid; align-items: end; overflow: hidden; background: var(--primary); }
.archive-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.archive-hero-content { position: relative; z-index: 2; color: #fff; padding: 110px 0 52px; }
.archive-hero-content h1 { font-family: var(--serif); font-size: clamp(48px, 8vw, 88px); line-height: .9; margin: 12px 0 14px; letter-spacing: -.06em; }
.archive-hero-content p { max-width: 680px; color: rgba(255,255,255,.78); font-size: 18px; }
.archive-hero-content strong { display: inline-flex; margin-top: 10px; padding: 9px 13px; border-radius: 999px; background: var(--cat-color, var(--accent)); color: #fff; }
.archive-section { padding: 54px 0 80px; }
.archive-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.archive-toolbar h2 { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); margin: 0; }
.sort-tabs { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); }
.sort-tabs a { padding: 10px 14px; border-radius: 999px; font-weight: 900; color: var(--text-muted); }
.sort-tabs a.is-active, .sort-tabs a:hover { background: var(--accent); color: #fff; }
.archive-grid { display: grid; gap: 26px; }
.archive-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-soft); transition: var(--ease); }
.archive-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.archive-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--ease); }
.archive-card:hover .archive-thumb img { transform: scale(1.04); }
.archive-card-body, .archive-card > div:not(.archive-card-body) { padding: 20px; }
.archive-card h3 { font-family: var(--serif); font-size: 26px; line-height: 1.05; margin: 10px 0; letter-spacing: -.03em; }
.archive-card h3 a:hover { color: var(--accent); }
.archive-card p { color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 38px; }
.page-link, .page-dots { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-weight: 900; background: var(--bg); }
.page-link.is-active, .page-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-prev, .page-next { width: auto; }

.search-hero { padding: 76px 0 48px; background: radial-gradient(circle at 20% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 40%), var(--bg-soft); border-bottom: 1px solid var(--border); }
.search-hero-inner { max-width: 900px; text-align: center; }
.search-hero h1 { font-family: var(--serif); font-size: clamp(46px, 9vw, 88px); line-height: .92; margin: 10px 0 24px; letter-spacing: -.06em; }
.big-search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 8px; border: 1px solid var(--border); border-radius: 22px; background: var(--bg); box-shadow: var(--shadow-soft); }
.big-search-form input { border: 0; font-size: 18px; }
.search-count { color: var(--text-muted); font-weight: 700; }
.search-results-page { padding: 44px 0 80px; }
.search-result-list { display: grid; gap: 18px; max-width: 950px; margin: 0 auto; }
.search-result-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); box-shadow: var(--shadow-soft); }
.search-result-thumb { overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 16 / 11; background: var(--bg-soft); }
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-card h2 { font-family: var(--serif); font-size: 31px; line-height: 1.05; margin: 8px 0; }
.search-result-card mark { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); padding: 0 3px; border-radius: 4px; }
.rich-empty { max-width: 880px; margin: 0 auto; }
.empty-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.empty-categories a { display: flex; justify-content: space-between; gap: 12px; padding: 15px 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); font-weight: 900; }
.empty-categories span { color: var(--accent); }

.author-hero-section { padding: 44px 0 28px; }
.author-profile-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px; border: 1px solid var(--border); border-radius: 28px; background: linear-gradient(135deg, var(--bg), var(--bg-soft)); box-shadow: var(--shadow-soft); }
.author-profile-copy h1 { margin: 4px 0 10px; font-family: var(--serif); font-size: clamp(42px, 7vw, 76px); line-height: .95; letter-spacing: -.06em; }
.author-profile-copy p { max-width: 720px; color: var(--text-muted); font-size: 17px; }
.author-profile-stats { display: flex; gap: 14px; }
.author-profile-stats div { min-width: 120px; padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); text-align: center; }
.author-profile-stats strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; }
.author-profile-stats span { color: var(--text-muted); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.not-found-page { min-height: 62vh; display: grid; place-items: center; padding: 70px 0; }
.not-found-card { max-width: 720px; text-align: center; padding: 54px 32px; border-radius: 32px; border: 1px solid var(--border); background: radial-gradient(circle at top, color-mix(in srgb, var(--accent) 13%, transparent), transparent 45%), var(--bg); box-shadow: var(--shadow-soft); }
.error-code { display: block; color: var(--accent); font-family: var(--serif); font-size: clamp(72px, 15vw, 140px); line-height: .82; font-weight: 900; }
.not-found-card h1 { font-family: var(--serif); font-size: clamp(38px, 7vw, 68px); margin: 10px 0; letter-spacing: -.05em; }
.not-found-card p { color: var(--text-muted); font-size: 18px; margin-bottom: 24px; }

@media (max-width: 1024px) {
    .article-detail-layout { grid-template-columns: 1fr; }
    .sticky-sidebar { position: static; }
    .archive-grid.three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .author-profile-card { grid-template-columns: auto 1fr; }
    .author-profile-stats { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .article-hero-content { padding: 110px 0 36px; }
    .article-hero-content h1 { font-size: clamp(38px, 11vw, 58px); }
    .article-actions { align-items: stretch; }
    .share-row, .article-stats { width: 100%; }
    .archive-toolbar { align-items: stretch; flex-direction: column; }
    .archive-grid.three-col { grid-template-columns: 1fr; }
    .search-result-card { grid-template-columns: 1fr; }
    .empty-categories { grid-template-columns: 1fr; }
    .author-profile-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .author-social, .author-profile-stats { justify-content: center; }
}
@media (max-width: 480px) {
    .article-content { font-size: 17px; }
    .comment-card { grid-template-columns: 1fr; }
    .big-search-form { grid-template-columns: 1fr; }
    .author-profile-stats { flex-direction: column; width: 100%; }
    .sort-tabs { border-radius: 18px; flex-direction: column; }
}

/* v7 editable brand logo support */
.brand-logo-img{width:56px;height:56px;object-fit:contain;border-radius:14px;background:var(--surface,#fff)}
.footer-logo .brand-logo-img{background:rgba(255,255,255,.08)}

/* v10 managed layout additions */
.article-detail-layout.no-sidebar{display:block;max-width:920px;margin-inline:auto}.article-bottom-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:34px 0 18px;padding:18px 20px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.post-share-block{margin:18px 0 28px;padding:18px 20px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}.share-icons{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.share-icons a,.share-icons button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:999px;background:var(--bg);color:var(--text);transition:all .25s ease;cursor:pointer}.share-icons svg{width:20px;height:20px;fill:currentColor}.share-icons a:hover,.share-icons button:hover{background:var(--accent);border-color:var(--accent);color:#fff;transform:translateY(-2px)}.author-card-bottom{display:grid;grid-template-columns:92px 1fr;gap:20px;margin:32px 0;padding:26px;border:1px solid var(--border);border-radius:24px;background:linear-gradient(135deg,var(--surface),rgba(230,57,70,.05));box-shadow:var(--shadow-soft)}.author-card-avatar{width:92px;height:92px;border-radius:999px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:28px;overflow:hidden}.author-card-avatar img{width:100%;height:100%;object-fit:cover}.author-card-copy h2{margin:2px 0 8px;font-family:var(--font-heading);font-size:28px}.author-card-copy p{margin:0 0 12px;color:var(--muted)}.author-card-meta{font-size:14px;color:var(--muted)}.author-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.author-social a{font-size:12px;padding:7px 10px;border-radius:999px;background:var(--bg);border:1px solid var(--border)}.widget-post-list{display:grid;gap:12px}.widget-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.widget-post-card{display:flex;gap:12px;padding:10px;border-radius:14px;border:1px solid var(--border);background:var(--bg);color:var(--text)}.widget-post-grid .widget-post-card{display:block}.widget-post-thumb{flex:0 0 88px;height:64px;border-radius:10px;overflow:hidden;background:var(--surface)}.widget-post-thumb img{width:100%;height:100%;object-fit:cover}.widget-post-body{display:grid;gap:4px}.widget-post-body strong{font-size:14px;line-height:1.25}.widget-post-body em,.widget-post-body small{font-style:normal;color:var(--muted);font-size:12px}.managed-ad{min-height:auto}.static-page{padding:46px 0 80px}.narrow-container{max-width:900px}.static-card{padding:34px;border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:var(--shadow-soft)}.static-card h1{font-size:42px;margin:0 0 18px;font-family:var(--font-heading)}
@media(max-width:768px){.author-card-bottom{grid-template-columns:1fr;text-align:center}.author-card-avatar{margin:auto}.article-bottom-actions{align-items:flex-start;flex-direction:column}.widget-post-grid{grid-template-columns:1fr}}

/* v11 content editor styles */
.article-content .content-note,
.static-card .content-note{padding:18px 20px;border-radius:16px;margin:20px 0;line-height:1.7}
.article-content .content-note-red,
.static-card .content-note-red{background:#fff1f2;border-left:5px solid var(--accent,#E63946)}
.article-content .content-note-info,
.static-card .content-note-info{background:#eff6ff;border-left:5px solid #2563eb}
.article-content .content-note-dotted,
.static-card .content-note-dotted{border:2px dotted var(--text,#111);background:var(--soft-bg,#fafafa)}
.article-content .content-note-yellow,
.static-card .content-note-yellow{background:#fef9c3;border-left:5px solid #eab308;color:#111}
.article-content .content-button,
.static-card .content-button{display:inline-block;padding:12px 18px;border-radius:999px;background:var(--accent,#E63946);color:#fff!important;text-decoration:none;font-weight:800}
.static-card .lead,.article-content .lead{font-size:1.18rem;font-weight:650;color:var(--muted,#555)}

/* v12: logo, mobile header and compact breaking bar fixes */
.brand-logo-img{
    width:250px;
    max-width:250px;
    height:60px;
    object-fit:contain;
    object-position:left center;
    border-radius:0;
    background:transparent;
}
.footer-logo .brand-logo-img{
    width:220px;
    max-width:220px;
    height:54px;
    background:transparent;
}
.brand:has(.brand-logo-img){gap:14px;}
.site-header .masthead{min-height:82px;}
.mobile-overlay{display:block;}
.mobile-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto;}
.mobile-overlay.is-open .mobile-panel{transform:translateX(0);}
body.mobile-menu-open{overflow:hidden;}
@media(max-width:1024px){
    .brand-logo-img{width:220px;max-width:220px;height:56px;}
    .main-menu{display:none!important;}
    .hamburger{display:grid!important;}
}
@media(max-width:768px){
    .container{width:min(100% - 24px,var(--container));}
    .top-bar{font-size:10px;}
    .top-bar-inner{min-height:26px;justify-content:space-between;gap:8px;}
    .top-clock{gap:6px;white-space:nowrap;}
    .clock-dot{width:6px;height:6px;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent);}
    .top-actions{gap:6px;}
    .social-nav{display:none!important;}
    .theme-toggle{font-size:0;gap:0;}
    .theme-toggle-track{width:36px;height:20px;}
    .theme-toggle-thumb{width:14px;height:14px;}
    [data-theme="dark"] .theme-toggle-thumb{transform:translateX(16px);}
    .masthead{min-height:58px;padding-block:6px;}
    .brand-logo-img{width:180px;max-width:180px;height:46px;}
    .brand-copy strong{font-size:20px;}
    .brand-copy small{display:none;}
    .hamburger{width:42px;height:42px;flex:0 0 42px;}
    .breaking-inner{min-height:34px;grid-template-columns:auto 1fr;gap:8px;padding:4px 0;}
    .breaking-inner>strong{font-size:10px;letter-spacing:.08em;padding:5px 8px;}
    .ticker-track{gap:24px;}
    .ticker-track a{font-size:11px;gap:6px;}
    .ticker-track span{font-size:9px;}
    .mobile-panel{width:min(360px,92vw);padding:16px;}
    .mobile-head{margin-bottom:18px;}
}
@media(max-width:480px){
    .top-bar-inner{min-height:24px;}
    .brand-logo-img{width:155px;max-width:155px;height:42px;}
    .masthead{min-height:54px;}
    .breaking-inner{min-height:30px;gap:7px;}
    .breaking-inner>strong{font-size:9px;padding:4px 7px;}
    .ticker-track a{font-size:10px;}
    .mobile-panel{width:100%;}
}

/* v13 public refinements */
.mobile-brand-clean .brand-logo-img{max-width:180px;height:auto}.contact-form-card{margin-top:28px;padding:34px;border:1px solid var(--border);border-radius:24px;background:var(--surface);box-shadow:var(--shadow-soft)}.contact-form{display:grid;gap:16px}.contact-form label{display:grid;gap:8px;font-weight:800}.contact-form input,.contact-form textarea{width:100%;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:16px;padding:14px 16px;font:inherit}.contact-form textarea{resize:vertical}.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important}.form-message{padding:14px 16px;border-radius:16px;font-weight:800;margin:14px 0}.form-message.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.form-message.error{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.primary-btn{border:0;border-radius:999px;background:var(--accent);color:#fff;padding:15px 24px;font-weight:900;cursor:pointer}.primary-btn:hover{filter:brightness(.96)}@media(max-width:768px){.top-bar{font-size:12px}.top-bar-inner{min-height:34px}.top-actions{gap:6px}.theme-toggle{transform:scale(.86);transform-origin:right center}.main-header{padding:10px 0}.brand-logo-img{max-width:180px}.breaking-bar{min-height:42px}.breaking-inner{gap:8px}.breaking-inner>strong{font-size:12px;padding:9px 12px}.ticker-track a{font-size:12px}.mobile-panel{padding:20px 16px}.mobile-head{margin-bottom:16px}.mobile-links{gap:8px}.mobile-links a{padding:15px 16px;border-radius:16px}.mobile-search{margin-bottom:16px}.contact-form-card{padding:24px 18px}.form-grid.two{grid-template-columns:1fr!important}}

/* v14: ayrı açık/koyu logo ve yönetilebilir footer */
.brand-logo-dark{display:none!important}
[data-theme="dark"] .brand-logo-light + .brand-logo-dark{display:block!important}
[data-theme="dark"] .brand-logo-light:has(+ .brand-logo-dark){display:none!important}
[data-theme="dark"] .brand-logo-light.logo-has-dark{display:none!important}
.footer-logo-img{display:block!important;filter:none!important;opacity:1!important}
.site-footer .footer-logo .brand-logo-img{background:transparent;mix-blend-mode:normal;object-fit:contain;object-position:left center}
.site-footer .footer-grid:empty{display:none}
[data-theme="dark"] .brand:has(.brand-logo-dark) .brand-logo-light{display:none!important}

/* v15 footer logo and links polish */
.footer-links a{word-break:break-word}.author-card-bottom .author-card-copy h2{line-height:1.15}.post-meta a{color:inherit;text-decoration:none}.post-meta a:hover{color:var(--accent)}

/* v17 SEO yardımcı paneli */
.seo-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:14px;background:#fafafa}.seo-inline-actions small{color:#64748b;font-size:12px}.seo-auto-box{display:grid;gap:12px;margin:12px 0}.seo-score{border:1px solid #e5e7eb;border-radius:14px;padding:12px;background:#fff}.seo-score strong{display:flex;justify-content:space-between;align-items:center;font-size:13px}.seo-score-bar{height:8px;background:#f1f5f9;border-radius:999px;overflow:hidden;margin:8px 0 10px}.seo-score-bar span{display:block;height:100%;width:0;background:#E63946;border-radius:999px;transition:width .3s ease}.seo-score ul{margin:0;padding:0;list-style:none;display:grid;gap:6px}.seo-score li{font-size:12px;line-height:1.35}.seo-score li.ok{color:#047857}.seo-score li.warn{color:#92400e}.seo-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:12px}.tag-suggestion{border:1px solid #fee2e2;background:#fff1f2;color:#b91c1c;border-radius:999px;padding:6px 10px;cursor:pointer;font-weight:700}.tag-suggestion:hover{background:#E63946;color:#fff;border-color:#E63946}

.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.newsletter-consent{display:flex!important;gap:8px;align-items:flex-start;font-size:12px;line-height:1.4}.newsletter-consent input{width:auto!important;margin-top:3px}.ad-slot{max-width:100%;overflow:hidden}.ad-slot ins{max-width:100%}
