/*
Theme Name: HSD Football Theme
Theme URI: https://blvvinhtoan.test/
Author: Gemini
Author URI: https://gemini.google.com/
Description: Theme thể thao chuyên nghiệp với giao diện Dark Mode cao cấp dành cho bình luận bóng đá.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hsdfootballtheme
*/

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

:root {
    --bg-dark: #0B0F19; /* Very deep navy/black */
    --bg-card: #151C2C; /* Slightly lighter navy for cards */
    --accent: #BA0020; /* Deep Red Accent */
    --accent-hover: #96001A;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border: #1E293B;
    --red-live: #EF4444;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Base Elements */
a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
    line-height: 1.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Fix sticky header when WordPress Admin Bar is visible (Logged In) */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

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

.site-title {
    margin: 0;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--accent);
    transform: skew(-10deg);
}

.site-title a {
    color: var(--accent);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--accent);
}

/* Hero Section */
.football-hero {
    position: relative;
    height: 75vh;
    min-height: 550px;
    background-color: #111;
    /* Use a high quality aggressive sports image */
    background-image: url('https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--accent);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 80%),
                radial-gradient(circle at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.live-badge {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--red-live);
    border: 1px solid var(--red-live);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-title {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.hero-excerpt {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 40px;
    max-width: 650px;
    margin-inline: auto;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    transform: skew(-10deg);
    letter-spacing: 0.5px;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 15px rgba(186, 0, 32, 0.15);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: #000;
    transform: skew(-10deg) translateY(-3px);
    box-shadow: 0 10px 25px rgba(186, 0, 32, 0.3);
}

/* Homepage Layout */
.homepage-main {
    padding: 70px 0;
}

.home-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.section-title .icon {
    color: var(--accent);
    font-size: 1.8rem;
}

.view-all {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    padding-bottom: 6px;
    font-family: var(--font-heading);
}

.view-all:hover {
    color: var(--accent);
}

/* Grid Cards */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.grid-card:hover {
    transform: translateY(-6px);
    border-color: rgba(186, 0, 32, 0.3); /* Subtle accent border */
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.fallback-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E293B, #0F172A);
    position: relative;
}

.fallback-img::after {
    content: '⚽';
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-card:hover .card-image img {
    transform: scale(1.08); /* slight zoom */
}

.category-pill {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent);
    color: #000;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-heading);
    border-radius: 3px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

.card-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.mt-auto {
    margin-top: auto;
}

.read-more {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--accent);
    gap: 8px; /* Arrow slide effect */
}

/* Base style overrides for standard templates (index, single) */
.site-content {
    padding: 60px 0;
    min-height: 600px;
}

.posts-list article {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.pagination .page-numbers {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 4px;
}

.pagination .page-numbers.current {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: bold;
}

/* Widgets */
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--border);
    transition: var(--transition);
}

.widget:hover::before {
    background: var(--accent);
}

.widget-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    color: #fff;
    /* Visual border removed because there's a top bar */
}

/* Match List Dashboard */
.match-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.match-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    width: 35%;
    color: #fff;
}

.team:last-child {
    justify-content: flex-end;
}

.score {
    width: 30%;
    text-align: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent);
    line-height: 1.2;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud a {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-cloud a:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* Newsletter */
.newsletter-form input {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    color: #fff;
    padding: 14px 16px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-family: var(--font-body);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-form button {
    width: 100%;
    background: var(--accent);
    color: #000;
    border: none;
    padding: 14px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 243, 61, 0.2);
}

/* --- FOOTER GLOBAL --- */
.site-footer {
    background: #060910;
    border-top: 2px solid var(--accent);
    padding: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-widgets {
    padding: 70px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-widget .widget-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
    letter-spacing: 0.5px;
    position: relative;
}

.footer-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--accent);
}

/* About Widget */
.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-main);
    transform: skew(-10deg);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo a {
    color: #fff;
}

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.1);
}

/* Links Widget */
.links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-widget ul li {
    margin-bottom: 15px;
}

.links-widget ul li a {
    color: var(--text-muted);
    position: relative;
    padding-left: 0;
    transition: var(--transition);
}

.links-widget ul li a::before {
    content: '»';
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--accent);
    transition: var(--transition);
    font-size: 1.2rem;
    line-height: 1.2;
}

.links-widget ul li a:hover {
    color: var(--text-main);
    padding-left: 18px;
}

.links-widget ul li a:hover::before {
    opacity: 1;
}

/* Newsletter Footer Widget */
.newsletter-widget-footer p {
    margin-bottom: 20px;
}

.newsletter-widget-footer .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-widget-footer .newsletter-form input {
    margin-bottom: 0;
    background: rgba(0,0,0,0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: #000;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .home-layout {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    .football-hero {
        height: 60vh;
        min-height: 450px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-excerpt {
        font-size: 1.1rem;
    }
    .main-navigation {
        display: none;
    }
    .header-inner {
        justify-content: center;
    }
    .site-title {
        font-size: 1.8rem;
    }
}

/* New Sections Extended */
.mt-60 {
    margin-top: 60px;
}

/* League Table Widget */
.league-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.league-table th {
    text-align: left;
    padding: 10px 5px;
    border-bottom: 2px solid var(--border);
    color: #fff;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.league-table td {
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.league-table tr:last-child td {
    border-bottom: none;
}

/* Video Highlights Section */
.video-highlights-section {
    background-color: #060910;
    padding: 60px 0;
    margin: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card {
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.7);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
    filter: brightness(1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 0 20px rgba(186, 0, 32, 0.5);
    opacity: 0.9;
    transition: var(--transition);
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.video-title {
    font-size: 1.25rem;
    color: #F8FAFC;
    line-height: 1.4;
    transition: var(--transition);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.video-card:hover .video-title {
    color: var(--accent);
}

/* Editor's Pick Section */
.editors-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.feature-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.feature-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.95) 80%);
    padding: 30px;
    z-index: 2;
}

.feature-content-overlay h2 {
    color: #fff;
    font-size: 2rem;
    margin: 15px 0 10px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.list-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-card {
    display: flex;
    gap: 15px;
    background: var(--bg-card);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.list-card:hover {
    transform: translateX(5px);
    border-color: rgba(186, 0, 32, 0.4);
}

.list-img {
    width: 130px;
    height: 95px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

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

.list-info h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.list-info h3 a {
    color: var(--text-main);
}

.list-info h3 a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .editors-layout, .video-grid {
        grid-template-columns: 1fr;
    }
    .feature-card {
        height: 300px;
    }
}

/* Player Spotlight Section */
.players-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.player-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    padding-top: 25px;
}

.player-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.player-img {
    width: 130px;
    height: 130px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border);
    transition: var(--transition);
    padding: 4px;
    background: var(--bg-dark);
}

.player-card:hover .player-img {
    border-color: var(--accent);
    transform: scale(1.05);
}

.player-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.player-info {
    padding: 0 20px 20px;
    text-align: center;
    position: relative;
}

.player-number {
    position: absolute;
    top: -150px;
    left: -5px;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: var(--transition);
}

.player-card:hover .player-number {
    color: rgba(186, 0, 32, 0.2); /* Soft highlight with accent color */
    transform: translateY(5px);
}

.player-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.player-team {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.player-stats {
    display: flex;
    justify-content: space-around;
    position: relative;
    z-index: 1;
}

.stat {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat .value {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

@media (max-width: 1024px) {
    .players-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .players-grid { grid-template-columns: 1fr; }
}

/* 4 Columns Category Grid */
.posts-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .posts-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Archive List Cards */
.archive-list-card {
    display: flex;
    flex-direction: row;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.archive-list-card:hover {
    transform: translateX(5px);
    border-color: rgba(186, 0, 32, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.archive-card-image {
    width: 320px;
    flex-shrink: 0;
    align-self: stretch; /* Make image full height of card */
}

.archive-card-image a {
    display: block;
    height: 100%;
}

.archive-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.archive-card-title {
    font-size: 1.7rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .archive-list-card {
        flex-direction: column;
    }
    .archive-card-image {
        width: 100%;
        height: 250px;
    }
}
