/* Global Styles - Hand-drawn aesthetic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffcc5c;
    --text-dark: #333;
    --text-light: #666;
    --background-light: #fff;
    --background-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --hand-drawn-filter: url(#handdrawn);
}

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

/* Hand-drawn button styles */
.cta-button, .submit-button, .secondary-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    transform: rotate(-1deg);
    box-shadow: 3px 3px 0 var(--text-dark);
}

.cta-button:hover, .submit-button:hover {
    transform: rotate(1deg) translateY(-2px);
    box-shadow: 5px 5px 0 var(--text-dark);
    background: #ff5252;
}

.secondary-button {
    background: var(--secondary-color);
    transform: rotate(1deg);
}

.secondary-button:hover {
    background: #26a69a;
    transform: rotate(-1deg) translateY(-2px);
}

/* Header Styles */
.header {
    background: var(--background-light);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid var(--text-dark);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    background: var(--accent-color);
    border-color: var(--text-dark);
    transform: rotate(-1deg);
    box-shadow: 2px 2px 0 var(--text-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-gray) 0%, var(--background-light) 100%);
    padding: 150px 0 100px;
    margin-top: 80px;
    border-bottom: 4px solid var(--text-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff6b6b' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
    transform: rotate(-1deg);
    text-shadow: 2px 2px 0 rgba(255,255,255,0.8);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    transform: rotate(0.5deg);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background-light);
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    transform: rotate(-1deg);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--background-light);
    padding: 2rem;
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    text-align: center;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--text-dark);
}

.service-card:nth-child(even) {
    transform: rotate(-1deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 6px 6px 0 var(--text-dark);
}

.service-icon {
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-gray);
    border-top: 4px solid var(--text-dark);
    border-bottom: 4px solid var(--text-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

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

.read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border: 2px solid var(--text-dark);
    border-radius: 15px;
    font-weight: bold;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0 var(--text-dark);
}

.read-more:hover {
    transform: rotate(-1deg) translateY(-2px);
    box-shadow: 4px 4px 0 var(--text-dark);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--background-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    transform: rotate(1deg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--background-gray);
    padding: 2rem;
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    text-align: center;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.testimonial-card:nth-child(even) {
    transform: rotate(1deg);
}

.testimonial-icon {
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card cite {
    font-weight: bold;
    color: var(--primary-color);
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: var(--background-gray);
    border-top: 4px solid var(--text-dark);
}

.blog h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--background-light);
    padding: 2rem;
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--text-dark);
}

.blog-card:nth-child(odd) {
    transform: rotate(-1deg);
}

.blog-card:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 6px 6px 0 var(--text-dark);
}

.blog-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-light);
    border-top: 4px solid var(--text-dark);
}

.contact h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    transform: rotate(1deg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-gray);
    border: 2px solid var(--text-dark);
    border-radius: 15px;
    transform: rotate(-0.5deg);
    box-shadow: 2px 2px 0 var(--text-dark);
}

.contact-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.contact-icon {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    border: 2px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0 var(--text-dark);
}

.social-links a:hover {
    transform: rotate(1deg) translateY(-2px);
    box-shadow: 4px 4px 0 var(--text-dark);
}

/* Form Styles */
.subscription-form {
    background: var(--background-gray);
    padding: 2rem;
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    transform: rotate(1deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.subscription-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
    transform: rotate(-1deg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-dark);
    transform: rotate(-0.5deg);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 3px solid var(--text-dark);
    border-radius: 15px;
    font-size: 16px;
    font-family: inherit;
    background: var(--background-light);
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    transform: rotate(0deg);
    box-shadow: 3px 3px 0 var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    transform: rotate(-1deg);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #555;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 1rem;
    z-index: 1001;
    border-top: 3px solid var(--primary-color);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 15px;
    background: transparent;
    color: white;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.cookie-buttons button:hover {
    background: white;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Page-specific styles */
.about-page, .thanks-page, .legal-page {
    padding-top: 120px;
    min-height: 100vh;
}

.page-hero {
    background: var(--background-gray);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 4px solid var(--text-dark);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.company-story, .team-section, .values-section {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member, .value-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(1deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.team-member:nth-child(even), .value-card:nth-child(even) {
    transform: rotate(-1deg);
}

.member-avatar, .value-icon {
    margin-bottom: 1rem;
}

.thanks-hero {
    text-align: center;
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.next-steps {
    background: var(--background-gray);
    padding: 2rem;
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    margin: 2rem 0;
    transform: rotate(-1deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.next-steps ul {
    list-style: none;
    margin-top: 1rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.social-follow {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-gray);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(1deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.social-follow .social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-gray);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(0.5deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.legal-section:nth-child(even) {
    transform: rotate(-0.5deg);
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transform: rotate(-1deg);
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-light);
        flex-direction: column;
        padding: 1rem;
        border: 3px solid var(--text-dark);
        border-top: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content, .about-content, .contact-content, .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .services h2, .testimonials h2, .blog h2, .contact h2 {
        font-size: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .services, .testimonials, .blog, .contact, .about {
        padding: 60px 0;
    }

    .service-card, .testimonial-card, .blog-card {
        padding: 1.5rem;
    }

    .subscription-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.hero-graphic svg {
    animation: float 6s ease-in-out infinite;
}

/* Focus styles for accessibility */
button:focus, input:focus, a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Blog Article Styles */
.blog-article {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--background-light);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background-light);
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    transform: rotate(-0.5deg);
    box-shadow: 6px 6px 0 var(--text-dark);
    margin-bottom: 3rem;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta .category {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--text-dark);
    font-weight: bold;
    transform: rotate(-2deg);
    box-shadow: 2px 2px 0 var(--text-dark);
}

.article-meta .date {
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--text-dark);
    font-weight: bold;
    transform: rotate(2deg);
    box-shadow: 2px 2px 0 var(--text-dark);
}

.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.2;
    transform: rotate(-1deg);
}

.article-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--background-gray);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(1deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.article-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-style: italic;
}

.article-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--background-gray);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    transform: rotate(0.5deg);
    box-shadow: 4px 4px 0 var(--text-dark);
}

.article-section:nth-child(even) {
    transform: rotate(-0.5deg);
    background: var(--background-light);
}

.article-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transform: rotate(-1deg);
    border-bottom: 3px solid var(--text-dark);
    padding-bottom: 0.5rem;
}

.article-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--secondary-color);
    transform: rotate(0.5deg);
}

.article-section h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    color: var(--text-dark);
    font-weight: bold;
}

.article-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.article-section ul, .article-section ol {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-dark);
}

.article-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-section li strong {
    color: var(--primary-color);
}

.article-conclusion {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--accent-color);
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    transform: rotate(-1deg);
    box-shadow: 6px 6px 0 var(--text-dark);
}

.article-conclusion h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    transform: rotate(1deg);
}

.article-conclusion p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.7;
}

.article-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--background-gray);
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    transform: rotate(1deg);
    box-shadow: 6px 6px 0 var(--text-dark);
}

.article-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transform: rotate(-1deg);
}

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

/* Related Articles Sidebar */
.related-articles {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--background-gray);
    border: 3px solid var(--text-dark);
    border-radius: 25px;
    transform: rotate(0.5deg);
    box-shadow: 6px 6px 0 var(--text-dark);
}

.related-articles h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
    transform: rotate(-1deg);
}

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

.related-card {
    display: block;
    padding: 1.5rem;
    background: var(--background-light);
    border: 3px solid var(--text-dark);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-dark);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--text-dark);
}

.related-card:nth-child(even) {
    transform: rotate(1deg);
}

.related-card:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 6px 6px 0 var(--text-dark);
    background: var(--accent-color);
}

.related-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transform: rotate(0.5deg);
}

.related-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Blog-specific responsive styles */
@media (max-width: 768px) {
    .blog-article {
        padding-top: 100px;
    }
    
    .article-content {
        padding: 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }
    
    .article-content h1 {
        font-size: 2rem;
    }
    
    .article-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .article-section {
        padding: 1.5rem;
    }
    
    .article-section h2 {
        font-size: 1.5rem;
    }
    
    .related-articles {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-section h2 {
        font-size: 1.3rem;
    }
    
    .article-intro p {
        font-size: 1rem;
    }
    
    .article-section p, .article-section li {
        font-size: 1rem;
    }
}