/* @import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

:root {
    /* Color Palette - Traditional News Portal (Light Theme) */
    --bg-dark: #fcfcf9;         /* Warm editorial newsprint white */
    --bg-surface: #ffffff;      /* Pure white for containers/cards */
    --bg-card: #ffffff;         /* Card background */
    --border-color: #dcdad5;    /* Editorial thin border line */
    --border-glow: rgba(140, 29, 29, 0.05);
    
    --accent-blue: #8c1d1d;     /* Deep Burgundy Red for newspaper headers/accents */
    --accent-blue-hover: #6e1616;
    --accent-amber: #111111;    /* Accent secondary is solid news black */
    --accent-amber-hover: #333333;
    --accent-color: var(--accent-blue);
    
    --text-white: #111111;      /* Deep black for title texts */
    --text-light: #1a1a1a;      /* Medium black for headings */
    --text-secondary: #2b2b2b;  /* Warm readable grey-black for body text */
    --text-muted: #666666;      /* Editorial muted meta/date text */
    
    --font-title: 'Crimson Pro', Georgia, serif;
    --font-body: 'Crimson Pro', Georgia, serif;
    
    --transition-smooth: all 0.2s ease-in-out;
    --container-max: 1200px;
    --border-radius-sm: 0px;    /* Traditional newspapers have sharp corners! */
    --border-radius-md: 0px;
    --border-radius-lg: 0px;
    
    --shadow-sm: none;          /* Traditional print is flat with fine lines */
    --shadow-md: none;
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-amber);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* Header */
.site-header {
    background-color: var(--bg-surface);
    border-bottom: 3px double var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.site-logo {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.site-logo i {
    color: var(--accent-blue);
    animation: none;
}

.site-logo span {
    color: var(--text-white);
    text-transform: lowercase;
    font-weight: 400;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.nav-link i {
    font-size: 0.85rem;
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue) !important;
    background-color: transparent !important;
    border-bottom: 2px solid var(--accent-blue);
}

.nav-link.active {
    box-shadow: none;
    border-left: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 0px;
    transition: var(--transition-smooth);
}

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1002;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-blue);
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem 0;
    background: var(--bg-surface);
    border-bottom: 3px double var(--border-color);
    position: relative;
}

.hero-section::before {
    display: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-align: center;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--text-white);
}

.hero-title i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    color: var(--text-muted);
}

/* Search Box */
.search-box-wrapper {
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
}

.search-box {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    outline: none;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.search-box:focus {
    border-color: var(--accent-blue);
    box-shadow: none;
    background-color: var(--bg-card);
}

/* Categories Switcher */
.categories-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cat-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    padding: 0.65rem 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.cat-btn i {
    font-size: 0.95rem;
}

.cat-btn:hover {
    background-color: var(--bg-dark);
    color: var(--accent-blue);
}

.cat-btn.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: none;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.25rem;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-secondary);
    box-shadow: none;
    transition: var(--transition-smooth);
}

.card:hover {
    transform: none;
    border-color: var(--accent-blue);
    box-shadow: none;
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #eaeaea;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card:hover .card-img {
    transform: none;
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-badge {
    align-self: flex-start;
    background-color: rgba(140, 29, 29, 0.08);
    border: 1px solid rgba(140, 29, 29, 0.2);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.6rem;
    border-radius: 0px;
    margin-bottom: 0.85rem;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    line-height: 1.4;
    transition: var(--transition-smooth);
}

.card:hover .card-title {
    color: var(--accent-blue);
    text-decoration: underline;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.no-results {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Article View Layout */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent-blue);
}

.breadcrumbs .separator {
    font-size: 0.75rem;
    opacity: 0.7;
}

.breadcrumbs .current {
    color: var(--text-white);
    font-weight: 500;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
    align-items: start;
}

.article-main {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: none;
    min-width: 0;
}

.article-header {
    margin-bottom: 2.25rem;
}

.article-category-badge {
    display: inline-block;
    background-color: var(--accent-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.35rem 0.85rem;
    border-radius: 0px;
    margin-bottom: 1.25rem;
}

.article-title-large {
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.article-meta-large {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-meta-large span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-meta-large i {
    color: var(--accent-blue);
}

.article-cover-img-wrapper {
    margin-bottom: 2.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border-color);
}

.article-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Content Body styling */
.article-content {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.75rem;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 3.5rem 0 1.25rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--accent-blue);
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem 0;
}

.article-content strong {
    color: var(--text-white);
}

.article-content ul, .article-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--accent-blue);
    background-color: #f7f5f0;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    border-radius: 0;
}

.article-content blockquote p {
    margin: 0;
    font-style: italic;
    color: var(--text-white);
}

/* Alert Boxes in Markdown */
.article-content blockquote.note, .article-content blockquote.important {
    border-left: 4px solid var(--accent-blue);
    background-color: #f3f0e8;
}

/* Tables styling and wrapper */
.table-wrapper, .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2.5rem 0;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
}

.table-wrapper table, .table-responsive table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin: 0;
}

.article-content th {
    background-color: #f4f3ef;
    color: var(--text-white);
    font-weight: 700;
    text-align: left;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-title);
    border-bottom: 2px solid var(--border-color);
}

.article-content td {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.article-content tr:last-child td {
    border-bottom: none;
}

.article-content tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Summary Box */
.summary-box {
    background-color: rgba(140, 29, 29, 0.05);
    border: 1px solid rgba(140, 29, 29, 0.2);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.summary-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
}

.summary-box h3 i {
    color: var(--accent-blue);
}

.summary-box ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.summary-box li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.summary-box li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-blue);
    font-size: 1rem;
}

.summary-box li:last-child {
    margin-bottom: 0;
}

/* Recommendation Box (011info.com links) */
.recommendation-box {
    background: #f7f5f0;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem;
    border-radius: 0px;
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rec-label {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.rec-link {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rec-link:hover {
    color: var(--accent-blue);
}

.rec-link i {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* FAQ Accordion Section */
.faq-section-title {
    font-size: 1.8rem;
    margin: 4rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.faq-section-title i {
    color: var(--accent-blue);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-surface);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    color: var(--text-white);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
    color: var(--accent-blue);
}

.faq-question i {
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    color: var(--text-muted);
}

.faq-item.active .faq-question {
    color: var(--accent-blue);
    border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: transparent;
}

.faq-answer-inner {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* Sidebar Widgets */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.75rem;
    box-shadow: none;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title i {
    color: var(--accent-blue);
}

.toc-list {
    list-style-type: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toc-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--accent-blue);
}

.toc-list a {
    color: var(--text-secondary);
}

.toc-list a:hover {
    color: var(--accent-blue);
}

/* Celebrated Athletes Sidebar List */
.sidebar-sports-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-sports-list li {
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.5rem;
    font-size: 0.95rem;
}

.sidebar-sports-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-sports-list a {
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.sidebar-sports-list a::after {
    content: '\f08e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.sidebar-sports-list a:hover {
    color: var(--accent-blue);
    padding-left: 4px;
}

.sidebar-sports-list a:hover::after {
    color: var(--accent-blue);
    opacity: 1;
}

/* Recent posts side-bar content */
.recent-posts-links li a {
    color: var(--text-light) !important;
}

.recent-posts-links li a:hover {
    color: var(--accent-blue) !important;
}

/* Read Next Cards */
.read-next-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.read-next-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-next-title i {
    color: var(--accent-blue);
}

.read-next-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.read-next-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.read-next-card:hover {
    border-color: var(--accent-blue);
    transform: none;
    background-color: var(--bg-dark);
}

.read-next-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.read-next-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.read-next-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Partner Widgets styling inside footer.html */
.partner-widgets-section {
    background-color: var(--bg-surface);
    padding: 4.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partner-widgets-title {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.partner-widgets-title i {
    color: var(--accent-blue);
}

.partner-widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.partner-card:hover {
    border-color: var(--accent-blue);
    transform: none;
    box-shadow: none;
}

.partner-icon {
    font-size: 2.25rem;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
}

.partner-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.partner-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.partner-btn {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.partner-card:hover .partner-btn {
    color: var(--accent-blue-hover);
}

.partner-widgets-grid-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.partner-card-small {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 1.25rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    box-shadow: none;
}

.partner-card-small:hover {
    border-color: var(--accent-blue);
    transform: none;
    box-shadow: none;
}

.partner-icon-small {
    font-size: 1.75rem;
    color: var(--accent-blue);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(140, 29, 29, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card-small:hover .partner-icon-small {
    background-color: rgba(140, 29, 29, 0.15);
    color: var(--accent-blue);
}

.partner-info-small {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.partner-title-small {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.partner-desc-small {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .partner-widgets-grid-small {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Site Footer */
.site-footer {
    background-color: #f4f3ef;
    padding: 5rem 0 3rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 1.25rem;
}

.footer-brand h2 span {
    color: var(--accent-blue);
}

.footer-brand p {
    line-height: 1.7;
    max-width: 480px;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style-type: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: var(--text-muted);
}

.footer-links-list a:hover {
    color: var(--accent-blue);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p:last-child {
    font-weight: 600;
    color: var(--accent-blue);
}

/* Animation keyframes */
@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }
    
    .article-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .search-box-wrapper {
        margin-bottom: 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-surface);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: 6rem 2rem 2rem 2rem;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .site-nav.open {
        right: 0;
    }
    
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .article-main {
        padding: 1.5rem 1rem;
    }
    
    .article-title-large {
        font-size: 2rem;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .read-next-grid {
        grid-template-columns: 1fr;
    }
}
