/*
Theme Name: Palace Insight WORLD CLASS
Description: The most beautiful sports portal on the planet. Elite Senior Design.
Version: 4.0.0
Author: Antigravity AI (Senior Full-Stack)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --brand-navy: #05162d;
    --brand-red: #d1122a;
    --brand-blue: #0074e4;
    --bg-main: #ffffff;
    --bg-alt: #f1f3f6;
    --text-main: #1a1a1a;
    --text-muted: #5f6368;
    --white: #ffffff;
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

body {
    background: var(--bg-alt);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 30px; }

/* HEADER ELITE: LOGO LEFT, MENU RIGHT */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--brand-navy);
    text-decoration: none;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}
.site-logo span { color: var(--brand-red); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.nav-menu a:hover { opacity: 1; color: var(--brand-red); transform: translateY(-2px); }

.nav-cta {
    background: var(--brand-navy);
    padding: 10px 24px;
    border-radius: 50px;
}
.nav-cta a { color: white !important; opacity: 1 !important; }
.nav-cta:hover { background: var(--brand-red); transform: scale(1.05); }

/* ELITE BENTO GRID 3 (1 LARGE, 2 VERTICAL) */
.elite-bento-grid-3 {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 20px;
    margin: 40px 0;
}

.bento-main { grid-row: 1 / 3; position: relative; border-radius: var(--radius-lg); overflow: hidden; }

/* SIDEBAR PRO (THE ATHLETIC STYLE) */
.sidebar-elite {
    background: transparent;
}

.sidebar-widget {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--gray-200);
}

.widget-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--brand-navy);
    text-transform: uppercase;
    border-bottom: 3px solid var(--brand-red);
    padding-bottom: 10px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* ARCHIVE MINI LIST */
.archive-list-mini {
    display: grid;
    gap: 15px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.archive-item-small {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-50);
}

.archive-item-small:last-child { border: none; }

.archive-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--brand-red);
    font-size: 0.8rem;
    min-width: 50px;
}

.archive-title a {
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.archive-title a:hover { color: var(--brand-red); }

/* PAGINATION */
.pagination {
    display: flex;
    gap: 10px;
    margin-top: 50px;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.pagination .current {
    background: var(--brand-red);
    color: white;
}
.bento-item-sub { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-premium); }

.full-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.hero-link:hover .full-img { transform: scale(1.1); }

.img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 22, 45, 0.95) 10%, transparent 70%); }
.img-overlay-soft { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 22, 45, 0.8) 0%, transparent 60%); }

.hero-info { position: absolute; bottom: 0; left: 0; padding: 50px; color: white; }
.hero-info-small { position: absolute; bottom: 0; left: 0; padding: 25px; color: white; }

.main-hero-title { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 3.5rem; line-height: 1; margin: 20px 0; letter-spacing: -2px; }
.sub-hero-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1.2; margin: 0; }

.badge-premium { background: var(--brand-red); color: white; padding: 6px 15px; font-weight: 900; text-transform: uppercase; font-size: 0.7rem; border-radius: 4px; letter-spacing: 1px; }

/* NEWS FEED ELITE */
.portal-body { display: grid; grid-template-columns: 1fr 380px; gap: 60px; margin-bottom: 100px; }

.title-modern { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.2rem; margin: 0; color: var(--brand-navy); }
.title-underline { width: 80px; height: 6px; background: var(--brand-red); margin: 15px 0 40px; border-radius: 3px; }

.news-item-elite {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: var(--white);
    margin-bottom: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.news-item-elite:hover { transform: scale(1.02); box-shadow: var(--shadow-premium); }

.news-img-box img { width: 100%; height: 220px; object-fit: cover; }
.news-content-box { padding: 30px; display: flex; flex-direction: column; justify-content: center; }

.news-cat-label { color: var(--brand-red); font-weight: 800; text-transform: uppercase; font-size: 0.75rem; margin-bottom: 15px; display: block; }
.news-title-link a { text-decoration: none; color: var(--brand-navy); font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1.2; }
.news-excerpt { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin: 15px 0; }

/* FOOTER WORLD CLASS */
.site-footer { background: var(--brand-navy); color: white; padding: 120px 0 60px; }
.footer-grid-elite { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 80px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .main-hero-title { font-size: 2.5rem; }
    .portal-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .elite-bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .news-item-elite { grid-template-columns: 1fr; }
    .header-container { flex-direction: column; gap: 20px; }
}
