/*
Theme Name: Tant d'aime
Theme URI: https://tantdaime.com
Description: Thème WordPress pour le blog de voyage en tandem "Tant d'aime" avec mise en page personnalisée pour les articles par pays et fonctionnalités de traduction.
Version: 1.0
Author: Maylis
Author URI: https://tantdaime.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tantdaime
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:wght@500;600;700&display=swap');

:root {
    --ink: #1a2332;
    --ink-light: #2d3a4d;
    --ink-muted: #5a6a7a;
    --cream: #f5f9fc;
    --warm-white: #ffffff;
    --primary: #2196F3;
    --primary-light: #64B5F6;
    --primary-dark: #1565C0;
    --accent: #00BCD4;
    --accent-light: #4DD0E1;
    --green: #4CAF50;
    --green-light: #81C784;
    --sand: #e3edf5;
    --sand-light: #f0f5f9;
    --card: rgba(255, 255, 255, 0.95);
    --card-glass: rgba(255, 255, 255, 0.8);
    --stroke: rgba(33, 150, 243, 0.1);
    --stroke-strong: rgba(33, 150, 243, 0.2);
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 35, 50, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 35, 50, 0.15);
    --shadow-glow: 0 10px 40px rgba(33, 150, 243, 0.25);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
}

/* Réinitialisation et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--ink);
    background-color: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80' viewBox='0 0 120 80'%3E%3Cg fill='none' stroke='%232196F3' stroke-width='0.5' opacity='0.08'%3E%3Ccircle cx='15' cy='50' r='8'/%3E%3Ccircle cx='45' cy='50' r='8'/%3E%3Ccircle cx='75' cy='50' r='8'/%3E%3Ccircle cx='105' cy='50' r='8'/%3E%3Cline x1='23' y1='50' x2='37' y2='50'/%3E%3Cline x1='53' y1='50' x2='67' y2='50'/%3E%3Cline x1='83' y1='50' x2='97' y2='50'/%3E%3Cpath d='M15 50 L25 35 L35 35 L45 50'/%3E%3Cpath d='M45 50 L55 35 L65 35 L75 50'/%3E%3Cpath d='M75 50 L85 35 L95 35 L105 50'/%3E%3Cline x1='25' y1='35' x2='25' y2='28'/%3E%3Cline x1='55' y1='35' x2='55' y2='28'/%3E%3Cline x1='85' y1='35' x2='85' y2='28'/%3E%3Cline x1='35' y1='35' x2='35' y2='28'/%3E%3Cline x1='65' y1='35' x2='65' y2='28'/%3E%3Cline x1='95' y1='35' x2='95' y2='28'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    min-height: 100vh;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* En-tête */
header {
    background: #0d1117 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
}

.site-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff !important;
    margin: 0;
}

.site-title a {
    color: #ffffff !important;
    text-decoration: none;
}

.site-title a:hover {
    color: var(--primary-light);
}

.site-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-top: 0.15rem;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light) !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Language Switcher - Simplified */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-select {
    background: white;
    color: #1a2332;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.lang-select option {
    background: white;
    color: #1a2332;
}

.lang-select:focus {
    outline: none;
    border-color: var(--primary);
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

.lang-switcher.highlight {
    animation: pulse 0.5s ease-in-out 3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); box-shadow: 0 0 20px rgba(33, 150, 243, 0.5); }
}

#google_translate_element {
    position: fixed;
    top: -9999px;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0d1117;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Boutons */
.translate-btn, .newsletter-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.translate-btn:hover, .newsletter-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Hero */
.hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    padding-right: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--sand);
    color: var(--ink-light);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.badge-alt {
    background: rgba(33, 150, 243, 0.12);
    color: var(--primary);
}

.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin: 1.25rem 0 1.5rem;
    color: var(--ink);
    font-weight: 600;
}

.hero-title span {
    color: var(--primary);
}

.hero-lede {
    font-size: 1.15rem;
    color: var(--ink-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.journey-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1 1 120px;
    background: var(--warm-white);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    color: var(--ink-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-card strong {
    display: block;
    margin-top: 0.35rem;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-panel {
    background: var(--warm-white);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.panel-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
}

.panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
}

.panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.panel-list li::before {
    content: '✓';
    color: var(--sage);
    font-weight: 700;
    flex-shrink: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sage);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-cta:hover {
    background: var(--sage-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 143, 113, 0.25);
}

/* Mise en page principale */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    padding: 3rem 0;
}

/* Articles récents */
.recent-articles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-articles > h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.article-card {
    background: var(--warm-white);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: var(--stroke-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.article-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.6rem;
    color: var(--ink);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: var(--primary);
}

.article-meta {
    color: var(--ink-muted);
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-meta .categories a {
    color: var(--sage);
    text-decoration: none;
}

.article-excerpt {
    color: var(--ink-light);
    margin-bottom: 1rem;
    line-height: 1.65;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.2s ease;
}

.read-more:hover {
    gap: 0.65rem;
}

/* Sidebar pays */
.country-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.country-sidebar h3 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sand);
}

.country-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--warm-white);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: 0.75rem;
}

.country-list li {
    margin: 0;
}

.country-list a {
    color: var(--ink-light);
    text-decoration: none;
    padding: 0.6rem 0.9rem;
    display: block;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.country-list a:hover {
    background: var(--sand-light);
    color: var(--primary);
    padding-left: 1.1rem;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-actions .newsletter-btn {
    justify-content: center;
}

.contact-card {
    background: var(--sand-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    color: var(--ink-light);
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-link {
    display: block;
    margin-top: 0.6rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--ink);
    color: var(--sand-light);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Fraunces', Georgia, serif;
    margin-bottom: 1rem;
    color: var(--warm-white);
    font-size: 1.1rem;
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.85rem 1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.12);
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.newsletter-form button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.contact-info {
    line-height: 1.7;
    color: var(--sand);
    font-size: 0.95rem;
}

.contact-info a {
    color: var(--primary-light);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--ink-muted);
    font-size: 0.9rem;
}

/* Pages spécifiques */
.page-content {
    background: var(--warm-white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--stroke);
    margin: 2rem 0;
    max-width: 800px;
}

.page-content h1 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    font-weight: 600;
}

.page-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--ink-light);
}

.page-content ul {
    margin: 1rem 0 1.5rem 1.25rem;
    color: var(--ink-light);
}

.page-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.page-content a {
    color: var(--primary);
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

/* Galerie photos */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    transition: all 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* Map showcase */
.map-showcase {
    padding: 3rem 0;
    background: var(--sand-light);
    margin-top: 2rem;
}

.map-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
}

.map-info h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0.75rem 0 1rem;
    color: var(--ink);
    font-weight: 600;
}

.map-info p {
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.map-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.map-highlights li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--ink-light);
    font-size: 0.95rem;
}

.map-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-md);
}

.map-embed iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* Newsletter highlight */
.newsletter-highlight {
    padding: 4rem 0;
    background: var(--warm-white);
}

.newsletter-highlight .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-copy h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0.75rem 0 1rem;
    color: var(--ink);
    font-weight: 600;
}

.newsletter-copy > p {
    color: var(--ink-muted);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.newsletter-copy ul {
    margin-top: 1rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-copy ul li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-light);
    font-size: 0.95rem;
}

.newsletter-copy ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 700;
}

.newsletter-panel {
    background: var(--sand-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--stroke);
}

.newsletter-panel .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-panel input[type="email"] {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--stroke);
    font-size: 0.95rem;
    background: var(--warm-white);
}

.newsletter-panel input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-pill {
    background: var(--warm-white);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-pill a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.contact-pill p {
    color: var(--ink-muted);
    font-size: 0.85rem;
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a {
    background: var(--warm-white);
    border: 1px solid var(--stroke);
    color: var(--ink-light);
}

.pagination a:hover {
    background: var(--sand-light);
    color: var(--primary);
}

.pagination .current {
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-panel {
        max-width: 480px;
    }
    
    .map-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-highlight .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .site-info {
        flex: 1;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0d1117;
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav a {
        display: block;
        padding: 0.8rem 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .lang-switcher {
        position: absolute;
        top: 100%;
        right: 1rem;
        margin-top: 0.5rem;
        display: none;
    }
    
    .lang-switcher.active {
        display: flex;
    }
    
    .country-sidebar {
        position: static;
    }

    .map-embed iframe {
        height: 300px;
    }
    
    .hero {
        padding: 2.5rem 0 1.5rem;
    }
    
    .journey-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    nav ul {
        gap: 0.25rem;
    }
    
    nav a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex: 1 1 100%;
    }
    
    .stat-card strong {
        font-size: 1.4rem;
    }
    
    .article-card {
        padding: 1.25rem;
    }
    
    .article-title {
        font-size: 1.15rem;
    }
}
