/* Base Styles */
:root {
    --primary-color: #5d8c78;
    --secondary-color: #f5b553;
    --accent-color: #e27d60;
    --dark-color: #2c3e50;
    --light-color: #f9f9f9;
    --text-color: #333;
    --border-color: #e1e1e1;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease-in-out;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.font-size-large body {
    font-size: 1.8rem;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--dark-color);
    font-weight: 600;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

.font-size-large h1 {
    font-size: 4.2rem;
}

.font-size-large h2 {
    font-size: 3.2rem;
}

.font-size-large h3 {
    font-size: 2.6rem;
}

.font-size-large h4 {
    font-size: 2.2rem;
}

/* Buttons */
.btn, .btn-small {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.btn-small {
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
}

.btn:hover, .btn-small:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    flex: 0 0 180px;
}

.logo img {
    max-height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.6rem;
}

nav ul li a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

.font-size-button {
    margin-left: 2rem;
}

#increase-font {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#increase-font i {
    font-size: 1.8rem;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.page-banner h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Featured Posts */
.featured-posts {
    padding: 8rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.post h3 {
    margin-top: 1.5rem;
    padding: 0 2rem;
}

.post p {
    padding: 0 2rem;
    color: #666;
}

.post .btn-small {
    margin: 0 2rem 2rem;
}

.view-all {
    text-align: center;
    margin-top: 4rem;
}

/* This Day in History */
.this-day-history {
    padding: 6rem 0;
    background-color: #f6f9fc;
}

.this-day-history h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.history-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.history-text h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Newsletter */
.newsletter {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 3rem;
}

#newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

#newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

#newsletter-form button:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 6rem 0 2rem;
}

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

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1.5rem;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover,
.footer-contact a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    width: 4rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 1rem;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cookie-policy {
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* Blog Page */
.blog-content {
    padding: 6rem 0;
}

.blog-filter {
    margin-bottom: 4rem;
    text-align: center;
}

.blog-filter h3 {
    margin-bottom: 1.5rem;
}

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

.filter-btn {
    padding: 0.8rem 1.6rem;
    background-color: #f1f1f1;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.4rem;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.post-content {
    padding: 2rem 2rem 2rem 0;
}

.post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #777;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 1rem;
}

.pagination a {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    background-color: white;
    border-radius: 50%;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
}

.pagination .next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 2rem;
}

/* Single Post */
.post-header {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0 5rem;
    position: relative;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.post-header .container {
    position: relative;
    z-index: 1;
}

.post-header h1 {
    color: white;
    margin: 1rem 0 2rem;
    font-size: 4rem;
}

.post-header .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.post-content {
    padding: 6rem 0;
}

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

article {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.intro-text {
    font-size: 1.8rem;
    color: #555;
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin-bottom: 3rem;
}

article h2 {
    color: var(--primary-color);
    margin-top: 4rem;
}

article h2:first-of-type {
    margin-top: 0;
}

article img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.materials-list,
.instructions-list {
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.materials-list li,
.instructions-list li {
    margin-bottom: 1rem;
}

.instructions-list {
    list-style-type: decimal;
}

.tip-box {
    background-color: #f6f9fc;
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tip-box h4 {
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.conclusion {
    background-color: #f6f9fc;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
}

.share-post {
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.share-post h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.social-share {
    display: flex;
    gap: 1rem;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #f1f1f1;
    border-radius: 50%;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sidebar */
.sidebar > div {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.author-box {
    text-align: center;
}

.author-box img {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.author-box h3 {
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #f1f1f1;
    border-radius: 50%;
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.related-post {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.related-post:last-child {
    margin-bottom: 0;
}

.related-post img {
    width: 8rem;
    height: 6rem;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.related-post h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.related-post span {
    font-size: 1.3rem;
    color: #777;
}

.categories ul li {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.categories ul li a {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.categories ul li a span {
    color: #777;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f1f1f1;
    border-radius: 2rem;
    font-size: 1.3rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Comments */
.comments-section {
    margin-top: 4rem;
}

.comments-section h3 {
    margin-bottom: 3rem;
}

.comment {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.comment img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-header h4 {
    margin-bottom: 0;
}

.comment-header span {
    color: #777;
    font-size: 1.4rem;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 1.4rem;
    margin-top: 1rem;
}

.comment.reply {
    margin-left: 8rem;
}

.leave-comment {
    margin-top: 4rem;
}

.leave-comment h3 {
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1.6rem;
}

.form-group textarea {
    resize: vertical;
}

/* About Page */
.about-content {
    padding: 6rem 0;
}

.about-intro {
    margin-bottom: 6rem;
}

.about-intro h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.about-intro-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.our-values {
    margin-bottom: 6rem;
}

.our-values h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-section {
    margin-bottom: 6rem;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-member h3,
.team-member p {
    padding: 0 2rem;
}

.team-member h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #f1f1f1;
    border-radius: 50%;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
}

.member-social a svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: var(--dark-color);
}

.member-social a:hover svg {
    fill: white;
}

.community-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.community-text ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.community-text ul li {
    margin-bottom: 1rem;
}

.community-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Contact Page */
.contact-content {
    padding: 6rem 0;
}

.contact-info-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #f1f1f1;
    border-radius: 50%;
    transition: var(--transition);
}

.contact-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.5rem;
}

.map-container {
    margin-bottom: 6rem;
}

.map-container h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.thank-you-message h2 {
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    html {
        font-size: 55%;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .history-content,
    .about-intro-content,
    .community-content,
    .contact-info-form {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .post-image img {
        height: 250px;
    }
    
    .post-content {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .post-header h1 {
        font-size: 3.2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    #newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    #newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .comment {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment.reply {
        margin-left: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
