/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Disable image downloads and right-click */
img {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

.logo img {
    pointer-events: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Couleurs par défaut des liens de navigation */
.nav-links a[href*="challenge"] {
    color: #3498db !important; /* Bleu */
}

.nav-links a[href*="histoire"] {
    color: #000000 !important; /* Noir */
}

.nav-links a[href*="newsletter"] {
    color: #27ae60 !important; /* Vert */
}

.nav-links a[href*="contact"] {
    color: #9b59b6 !important; /* Mauve */
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.hero-content h1,
.hero-content h2 {
    font-size: 5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.challenge-hero .hero-content h1 {
    font-size: 5rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Sections */
section {
    padding: 4rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* Challenge Section */
.challenge {
    background: var(--bg-light);
}

.challenge-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 152, 219, 0.7)), url('../images/revo.png') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 6rem 2rem;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-hero .challenge-content p {
    color: white;
    opacity: 0.95;
    font-size: 1.3rem;
}

.challenge-hero .challenge-content p:first-of-type {
    font-family: 'Zapfino', cursive, serif;
    font-size: 1.95rem;
}

.adventure-title,
.poem-title {
    font-weight: 700;
}

.challenge-question {
    margin-top: 1rem;
}

.challenge-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.challenge-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Challenge Details Section */
.challenge-details {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.challenge-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.challenge-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.8;
}

.challenge-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.challenge-text a:hover {
    text-decoration: underline;
}

.challenge-text strong {
    color: var(--primary-color);
}

/* Hint Box Styles */
.hint-box {
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    box-shadow: var(--shadow-hover);
}

.hint-piktos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
}

.hint-piktos img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: auto;
    flex-shrink: 0;
}

.hint-letters {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
}

.hint-letters span {
    font-size: 1.5rem;
    font-weight: 700;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.letter-b { color: #f39c12; } /* Triangle jaune */
.letter-f { color: #f39c12; } /* Croix jaune */
.letter-k { color: #3498db; } /* Carré bleu */
.letter-q { color: #2c3e50; } /* Triangle noir */
.letter-v { color: #f39c12; } /* Cible jaune */
.letter-w { color: #3498db; } /* Cible bleue */
.letter-x { color: #27ae60; } /* Cible verte */

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 700px;
    margin: 3rem auto;
    padding: 0 60px;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
    pointer-events: auto;
}

.carousel-caption {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    font-size: 3rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: white;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
}

/* Mon histoire Section */
.histoire {
    background: var(--bg-color);
    padding: 2rem 2rem;
}

.histoire-content {
    max-width: 800px;
    margin: 0 auto;
}

.histoire-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter {
    background: var(--bg-light);
    padding: 2rem 2rem;
}

.newsletter-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.newsletter-intro,
.newsletter-section {
    text-align: left;
    margin: 3rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.newsletter-intro p,
.newsletter-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.newsletter-intro ol {
    margin-left: 2rem;
    margin-top: 1rem;
}

.newsletter-intro ol li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.newsletter-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.newsletter-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.newsletter-section a:hover {
    text-decoration: underline;
}

/* Newsletter Image */
.newsletter-image {
    margin: 3rem auto;
    text-align: center;
    max-width: 800px;
}

.newsletter-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    pointer-events: auto;
}

.image-caption {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Previous Newsletters Section */
.previous-newsletters {
    margin: 3rem auto;
    max-width: 800px;
}

.newsletter-details {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.newsletter-summary {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    user-select: none;
    padding: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.newsletter-summary:hover {
    background: var(--bg-light);
}

.newsletter-summary::-webkit-details-marker {
    display: none;
}

.newsletter-summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.newsletter-details[open] .newsletter-summary::before {
    transform: rotate(90deg);
}

.newsletter-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.newsletter-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.newsletter-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.newsletter-card-content {
    flex: 1;
    min-width: 0;
}

.newsletter-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.newsletter-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.newsletter-card .read-more {
    flex-shrink: 0;
    align-self: center;
    white-space: nowrap;
}

/* Substack Embed */
.substack-embed {
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Section */
.timeline-section {
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 80px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--secondary-color);
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    flex: 1;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: calc(50% + 60px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: calc(50% + 60px);
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* Timeline item colors */
.timeline-item:nth-child(1) .timeline-content {
    background: #ffffff;
}

.timeline-item:nth-child(2) .timeline-content {
    background: #f5d5e8;
}

.timeline-item:nth-child(3) .timeline-content {
    background: #fff9d5;
}

.timeline-item:nth-child(4) .timeline-content {
    background: #d5e8f5;
}

.timeline-item:nth-child(5) .timeline-content {
    background: #d5f5e8;
}

.timeline-item:nth-child(6) .timeline-content {
    background: #e8e8e8;
}

.timeline-item:nth-child(7) .timeline-content {
    background: linear-gradient(135deg, #f5d5e8 0%, #fff9d5 25%, #d5e8f5 50%, #d5f5e8 75%, #f5d5e8 100%);
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Latest Posts Section */
.latest-posts {
    background: var(--bg-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.post-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Social Links Section */
.social {
    background: var(--bg-light);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 2rem 2rem;
}

.contact p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-form {
    max-width: 700px;
    margin: 2rem auto;
}

.contact-form iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: white;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

footer p {
    opacity: 0.9;
}

/* Blog Page Styles */
.blog-header {
    background: var(--primary-color);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-posts {
    padding: 4rem 2rem;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.blog-post h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
    font-size: 2rem;
}

.blog-post .post-meta {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.blog-post .post-excerpt {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Newsletter Button */
.btn-newsletter {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #3498db 0%, #f39c12 100%);
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
    margin: 2rem auto;
    text-align: center;
}

.btn-newsletter:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.6);
    background: linear-gradient(135deg, #2980b9 0%, #e67e22 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation burger menu */
    nav {
        padding: 1rem;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        padding: 3rem 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        font-size: 1.3rem;
    }

    /* Challenge hero mobile */
    .challenge-hero {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
        padding: 4rem 1rem;
        min-height: 80vh;
    }

    /* Hero titles */
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .challenge-hero .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .challenge-hero .challenge-content p:first-of-type {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .adventure-title,
    .poem-title {
        font-weight: 700;
        display: inline-block;
    }

    .challenge-question {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }

    section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    /* Hint box responsive */
    .hint-box {
        padding: 1rem;
        max-width: 100%;
    }

    .hint-piktos img {
        width: 35px;
        height: 35px;
    }

    .hint-letters span {
        font-size: 1.2rem;
        width: 35px;
    }

    /* Carousel responsive */
    .carousel-container {
        max-width: 100%;
        margin: 2rem auto;
        padding: 0 50px;
    }

    .carousel-btn {
        font-size: 2rem;
        padding: 0.3rem 0.7rem;
    }

    .carousel-btn.prev {
        left: 0;
    }

    .carousel-btn.next {
        right: 0;
    }

    .carousel-slide img {
        max-height: 350px;
    }

    /* Grids */
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    /* Newsletter button */
    .btn-newsletter {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        width: 90%;
        max-width: 400px;
    }

    /* Newsletter sections */
    .newsletter-intro,
    .newsletter-section {
        padding: 1.5rem;
        margin: 2rem auto;
    }

    .newsletter-section h2 {
        font-size: 1.5rem;
    }

    /* Previous newsletters responsive */
    .newsletter-details {
        padding: 1.5rem;
    }

    .newsletter-summary {
        font-size: 1.3rem;
        padding: 0.5rem;
    }

    .newsletter-card h3 {
        font-size: 1.1rem;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        padding-left: 60px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        flex: 0 0 60px;
    }

    .timeline-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Challenge text */
    .challenge-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Logo */
    .logo-img {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 2rem 1rem;
    }

    /* Sections reduced padding */
    .histoire,
    .newsletter,
    .contact {
        padding: 1.5rem 1rem;
    }

    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
    }

    .challenge-hero .hero-content h1 {
        font-size: 2rem;
    }

    .challenge-hero .challenge-content p:first-of-type {
        font-size: 1.2rem;
    }

    /* Hint box */
    .hint-piktos {
        gap: 0.2rem;
    }

    .hint-piktos img {
        width: 30px;
        height: 30px;
    }

    .hint-letters {
        gap: 0.2rem;
    }

    .hint-letters span {
        font-size: 1rem;
        width: 30px;
    }

    /* Buttons */
    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-newsletter {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        width: 95%;
    }

    /* Carousel */
    .carousel-slide img {
        max-height: 300px;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 0.2rem 0.5rem;
    }

    /* Newsletter sections */
    .newsletter-intro,
    .newsletter-section {
        padding: 1rem;
        margin: 1.5rem auto;
    }

    .newsletter-intro p,
    .newsletter-section p {
        font-size: 1rem;
    }

    .newsletter-section h2 {
        font-size: 1.3rem;
    }

    /* Previous newsletters small screens */
    .newsletter-details {
        padding: 1rem;
    }

    .newsletter-summary {
        font-size: 1.1rem;
    }

    .newsletter-card {
        padding: 1rem;
    }

    .newsletter-card h3 {
        font-size: 1rem;
    }

    /* Timeline small screens */
    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    /* Challenge text */
    .challenge-text p {
        font-size: 0.95rem;
    }
}
