/* ShowtimeSpot.com - Entertainment News Theme */

:root {
    --bg: #f9fafb;
    --bg-card: #ffffff;
    --bg-surface: #f3f4f6;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    --text: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --navy: #0f172a;
    --navy-light: #1e293b;
    --red: #7c3aed;
    --red-hover: #6d28d9;
    --red-light: rgba(124,58,237,0.08);
    --accent: #7c3aed;
    --nav-height: 60px;
    --bar-height: 38px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --shadow: 0 1px 4px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.05);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.12);
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Breaking News Bar ── */
.breaking-bar {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    height: var(--bar-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1001;
}
.breaking-label {
    background: #fff;
    color: var(--red);
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}
.breaking-scroll {
    display: flex;
    align-items: center;
    gap: 0;
    animation: breakingScroll 40s linear infinite;
    white-space: nowrap;
}
.breaking-scroll:hover { animation-play-state: paused; }
.breaking-item { padding: 0 32px; border-right: 1px solid rgba(255,255,255,0.3); }
.breaking-item a { color: #fff; }
.breaking-item a:hover { text-decoration: underline; }
@keyframes breakingScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Navigation ── */
.main-nav {
    background: var(--navy);
    height: var(--nav-height);
    border-bottom: 3px solid var(--red);
}
.has-breaking .main-nav {
    top: var(--bar-height);
}
.nav-inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-logo span { color: #7c3aed; }
.nav-cats {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cat {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nav-cat:hover, .nav-cat.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cat.active { color: #c4b5fd; }
.nav-search {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-search input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    width: 180px;
    outline: none;
    transition: all var(--transition);
    font-family: var(--font);
}
.nav-search input::placeholder { color: rgba(255,255,255,0.45); }
.nav-search input:focus { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); width: 220px; }

/* ── Layout ── */
.container { max-width: 1340px; margin: 0 auto; padding: 0 20px; }
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding: 28px 0 48px;
    align-items: start;
}
.main-content { min-width: 0; }
.sidebar { min-width: 0; }

/* ── Section Titles ── */
.section-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--red);
    border-radius: 2px;
}

/* ── Hero Article ── */
.hero-article {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 24px;
    background: var(--navy);
    cursor: pointer;
}
.hero-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hero-article:hover img { transform: scale(1.03); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.95) 0%, rgba(10,15,30,0.4) 55%, transparent 100%);
}
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
}
.hero-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: var(--red);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.hero-title {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    transition: opacity var(--transition);
}
.hero-article:hover .hero-title { opacity: 0.9; }
.hero-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Article Grid ── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.article-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-surface);
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .card-img img { transform: scale(1.05); }
.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.card-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
}
.card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.01em;
    transition: color var(--transition);
}
.article-card:hover .card-title { color: var(--red); }
.card-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.card-meta-dot { width: 3px; height: 3px; background: var(--border-dark); border-radius: 50%; }

/* ── List Articles (sidebar / recent) ── */
.article-list { display: flex; flex-direction: column; gap: 0; }
.list-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    cursor: pointer;
}
.list-item:last-child { border-bottom: none; }
.list-img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-surface);
}
.list-img img { width: 100%; height: 100%; object-fit: cover; }
.list-body { flex: 1; min-width: 0; }
.list-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 4px;
}
.list-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.01em;
    transition: color var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.list-item:hover .list-title { color: var(--red); }
.list-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ── Sidebar Card ── */
.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.sidebar-card .section-title { margin-bottom: 16px; }

/* ── Category Badge ── */
.cat-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 9px;
    border-radius: 3px;
    background: var(--red-light);
    color: var(--red);
}

/* ── Breaking Badge ── */
.badge-breaking {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border-radius: 2px;
}

/* ── Category Page ── */
.cat-header {
    padding: 32px 0 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}
.cat-header-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cat-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.cat-header h1 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 10px;
}
.cat-tagline {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
}

/* ── Article Page ── */
.article-header { padding: 28px 0 0; }
.article-header .breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--border-dark); }
.article-page-title {
    font-size: clamp(22px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 16px;
}
.article-page-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.article-page-meta a { color: var(--red); font-weight: 600; }
.article-hero-img {
    width: 100%;
    aspect-ratio: 16/8;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}
.article-excerpt {
    font-size: 22px;
    font-weight: 500;
    color: var(--red-hover);
    line-height: 1.5;
    margin-bottom: 28px;
}
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}
.article-body h2 { font-size: 22px; font-weight: 800; margin: 32px 0 14px; letter-spacing: -0.02em; color: var(--navy); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 24px 0 12px; letter-spacing: -0.01em; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 700; color: var(--navy); }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 0 0 48px;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 0;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.page-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-btn.active { background: var(--red); color: #fff; border-color: var(--red); }
.page-btn.dots { border: none; background: none; cursor: default; }

/* ── Search Page ── */
.search-header { padding: 28px 0 24px; }
.search-form { display: flex; gap: 10px; margin-bottom: 24px; }
.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-card);
    outline: none;
    transition: border-color var(--transition);
}
.search-input:focus { border-color: var(--red); }
.btn-search {
    padding: 12px 24px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: background var(--transition);
}
.btn-search:hover { background: var(--red-hover); }

/* ── Footer ── */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.65);
    margin-top: 64px;
}

/* Newsletter strip */
.footer-newsletter {
    background: var(--red);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}
.footer-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.footer-newsletter-text strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}
.footer-newsletter-text span {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.footer-newsletter-form {
    display: flex;
    flex-shrink: 0;
}
.footer-newsletter-form input {
    width: 260px;
    padding: 11px 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.footer-newsletter-form input:focus { background: rgba(255,255,255,0.22); }
.footer-newsletter-form button {
    padding: 11px 22px;
    background: #fff;
    color: var(--red);
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}
.footer-newsletter-form button:hover { background: rgba(255,255,255,0.9); }

/* Main body */
.footer-main { padding: 56px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col-topnews { border-right: 1px solid rgba(255,255,255,0.07); padding-right: 40px; }
.footer-topnews-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-topnews-item:last-child { margin-bottom: 0; }
.footer-topnews-num {
    font-size: 18px;
    font-weight: 900;
    color: #7c3aed;
    line-height: 1.2;
    flex-shrink: 0;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.footer-topnews-title {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.45;
    transition: color var(--transition);
    text-decoration: none;
}
.footer-topnews-title::before {
    content: '';
    position: absolute;
    inset: -4px;
}
.footer-topnews-item:hover .footer-topnews-title { color: #fff; }

/* Brand watermark strip */
.footer-brand-strip {
    padding: 40px 0 44px;
    overflow: hidden;
    text-align: center;
}
.footer-brand-logo {
    font-size: clamp(56px, 10vw, 110px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 14px;
    user-select: none;
    pointer-events: none;
}
.footer-brand-logo span { color: #7c3aed; }
.footer-brand-logo strong { font-weight: 900; }
.footer-brand-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}
.footer-col h4 {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.62);
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom { background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 12.5px;
    color: rgba(255,255,255,0.28);
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(255,255,255,0.28); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ── In-Article Related ── */
.in-article-related {
    padding: 14px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 28px 0;
}
.inr-tag { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin-bottom: 8px; margin-top: -5px; }
.inr-row-link { display: flex; align-items: center; gap: 14px; text-decoration: none !important; color: inherit; }
.inr-row-link:hover .inr-title { color: var(--red); }
.inr-body { flex: 1; min-width: 0; }
.inr-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
.inr-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.35; transition: color var(--transition); }
.inr-title-lg { font-size: 17px; }
.inr-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.55; margin-top: 6px; }
.inr-img-lg { width: 140px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }

/* ── Reading progress bar ── */
#read-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #7c3aed;
    z-index: 9999;
    transition: width .1s linear;
}

/* ── Share buttons ── */
.article-share {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.share-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.share-copy.copied { background: #16a34a; color: #fff; border-color: #16a34a; }

.meta-sep { color: var(--text-muted); margin: 0 2px; }
.meta-author { color: var(--text-muted) !important; font-weight: 600; text-decoration: none; font-size: 13px; }
.meta-author:hover { color: var(--red) !important; }

.article-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.byline-avatar-link { flex-shrink: 0; }
.byline-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    border: 2px solid var(--border-dark);
}
.byline-info { display: flex; flex-direction: column; gap: 2px; }
.byline-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: color var(--transition);
}
.byline-name:hover { color: var(--red); }
.byline-title { font-size: 12px; color: var(--text-muted); }

/* ── Author Card (bottom of article) ── */
.author-card {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.author-card-avatar-link { flex-shrink: 0; }
.author-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: block;
    border: 2px solid var(--border-dark);
}
.author-card-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 3px; }
.author-card-name { font-size: 17px; font-weight: 800; color: var(--navy); text-decoration: none; display: block; margin-bottom: 2px; }
.author-card-name:hover { color: var(--red); }
.author-card-title { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.author-card-bio { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.author-card-more { font-size: 13px; font-weight: 600; color: var(--red); text-decoration: none; }
.author-card-more:hover { text-decoration: underline; }

/* ── Team Page ── */
.team-hero {
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
    max-width: 640px;
}
.team-title { font-size: 38px; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; margin-bottom: 12px; }
.team-subtitle { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 64px;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.team-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--red);
}
.team-card-top { display: flex; gap: 14px; align-items: flex-start; }
.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid var(--border-dark);
}
.team-card-info { flex: 1; min-width: 0; }
.team-member-name { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
.team-card:hover .team-member-name { color: var(--red); }
.team-member-title { font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
.team-member-meta { display: flex; gap: 10px; font-size: 11.5px; color: var(--text-muted); flex-wrap: wrap; }
.team-card-bio { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.team-card-specs { display: flex; gap: 6px; flex-wrap: wrap; }
.spec-tag-sm {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 20px;
}

/* ── Author Profile Page ── */
.author-hero {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.author-hero-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid var(--border-dark);
    box-shadow: var(--shadow);
}
.author-hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.author-badge {
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 20px;
}
.author-location, .author-since {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}
.author-hero-name { font-size: 34px; font-weight: 900; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.author-hero-title { font-size: 16px; color: var(--text-secondary); font-weight: 500; margin-bottom: 16px; }
.author-specialties { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.spec-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    background: var(--bg-surface);
    border: 1px solid var(--border-dark);
    padding: 4px 12px;
    border-radius: 20px;
}
.author-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.author-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: background var(--transition);
}
.author-social-btn:hover { background: #1e293b; }
.author-article-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

/* Author bio */
.author-bio-section {
    margin-bottom: 48px;
    max-width: 760px;
}
.author-bio-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* Author article grid (4 cols) */
.article-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.page-info { font-size: 13px; color: var(--text-muted); }

/* ── Admin Bar ── */
.admin-bar {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.1);
}
.admin-bar a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.admin-bar a:hover { color: #fff; }
.admin-sep { color: rgba(255,255,255,0.2); }

/* ── No Articles ── */
.empty-state {
    text-align: center;
    padding: 64px 20px;
    color: var(--text-muted);
}
.empty-state h2 { font-size: 20px; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ── 404 ── */
.page-404 {
    text-align: center;
    padding: 80px 20px;
}
.page-404 .num { font-size: 120px; font-weight: 900; color: var(--red); line-height: 1; letter-spacing: -0.05em; }
.page-404 h1 { font-size: 28px; font-weight: 800; color: var(--navy); margin: 8px 0 12px; }
.page-404 p { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.btn-home {
    display: inline-block;
    padding: 12px 28px;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition);
}
.btn-home:hover { background: var(--red-hover); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .article-layout { grid-template-columns: 1fr; }
    .article-layout .sidebar { display: block; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-col-topnews { grid-column: 1 / -1; border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 28px; margin-bottom: 4px; }
    .article-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .article-grid { grid-template-columns: 1fr; }
    .nav-inner { gap: 16px; }
    .nav-search { display: none; }
    .hero-content { padding: 20px; }
    .footer-newsletter-inner { flex-direction: column; align-items: flex-start; }
    .footer-newsletter-form { width: 100%; }
    .footer-newsletter-form input { flex: 1; width: auto; min-width: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col-topnews { grid-column: 1 / -1; }
    .author-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
    .author-hero-name { font-size: 26px; }
    .article-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .author-card { flex-direction: column; gap: 14px; }
    .team-grid { grid-template-columns: 1fr; }
    .team-title { font-size: 28px; }
}
