/* 
* Gossip Chronicle - Main Stylesheet
* A modern, responsive design for a celebrity gossip blog
*/

/* Base Styles and Variables */
:root {
    --primary-color: #ff4757;
    --secondary-color: #5352ed;
    --accent-color: #ffa502;
    --text-color: #333333;
    --light-text: #777777;
    --dark-bg: #2f3542;
    --light-bg: #f8f9fa;
    --border-color: #e4e4e4;
    --success-color: #2ed573;
    --danger-color: #ff6b81;
    --warning-color: #ffa502;
    --info-color: #70a1ff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-family-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-family-secondary: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
}

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

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

/* Utility Classes */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2.2rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.logo h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 800;
}

nav ul {
    display: flex;
    gap: 3rem;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    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);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-color);
    font-size: 2.4rem;
}

/* Hero Section */
.hero {
    background-color: var(--dark-bg);
    color: white;
    padding: 10rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(47, 53, 66, 0.85), rgba(47, 53, 66, 0.85)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero h2 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

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

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

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

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

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

.post-image {
    height: 250px;
    overflow: hidden;
}

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

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 2rem;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.post-content h3 a {
    color: var(--dark-bg);
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.post-date, .post-author, .post-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.read-more:hover {
    gap: 1rem;
}

.read-more::after {
    content: '→';
    transition: var(--transition);
}

/* Random Fact Section */
.random-fact {
    padding: 6rem 0;
    background-color: var(--light-bg);
}

.random-fact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.fact-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-left: 5px solid var(--accent-color);
}

.fact-box p {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--dark-bg);
    margin-bottom: 0;
}

/* Statistics Section */
.statistics {
    padding: 6rem 0;
}

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

.chart-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    height: 400px;
}

.chart-description {
    text-align: center;
    color: var(--light-text);
    font-style: italic;
}

/* Newsletter Section */
.newsletter {
    padding: 8rem 0;
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
}

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

.newsletter p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

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

#newsletter-form input {
    flex: 1;
    padding: 1.2rem 2rem;
    border-radius: var(--border-radius);
    border: none;
}

/* Blog Posts Page */
.page-header {
    background-color: var(--dark-bg);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.page-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.blog-posts {
    padding: 6rem 0;
}

.post-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background-color: var(--light-bg);
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

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

.blog-posts .post-card {
    display: flex;
    flex-direction: column;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Individual Blog Post */
.blog-post {
    padding: 6rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 4rem;
}

.post-header h1 {
    margin: 1.5rem 0;
}

.post-featured-image {
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

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

.post-intro {
    font-size: 2rem;
    color: var(--dark-bg);
    margin-bottom: 3rem;
}

.post-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.post-content ul li, .post-content ol li {
    margin-bottom: 1rem;
    list-style-type: disc;
}

.post-content ol li {
    list-style-type: decimal;
}

.post-quote {
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    background-color: var(--light-bg);
    margin: 3rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-quote blockquote {
    font-style: italic;
    color: var(--dark-bg);
}

.post-quote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--light-text);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 4rem 0;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    background-color: var(--light-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1.4rem;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.post-share span {
    font-weight: 600;
}

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

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--dark-bg);
    transition: var(--transition);
}

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

.author-bio {
    display: flex;
    gap: 2rem;
    padding: 3rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.author-info p {
    margin-bottom: 1.5rem;
}

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

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: white;
    color: var(--dark-bg);
    transition: var(--transition);
}

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

.related-posts {
    margin-bottom: 4rem;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.related-post {
    text-align: center;
}

.related-post img {
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    height: 180px;
    width: 100%;
    object-fit: cover;
}

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

.related-post .post-date {
    display: block;
    color: var(--light-text);
    font-size: 1.4rem;
}

.post-comments {
    max-width: 800px;
    margin: 0 auto;
}

.post-comments h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.comment-form {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.comment-form h4 {
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

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

.about-intro, .about-mission, .about-ethics {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.about-intro p, .about-mission p, .about-ethics p {
    margin-bottom: 2rem;
}

.about-mission ul, .about-ethics ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.about-mission ul li, .about-ethics ul li {
    margin-bottom: 1rem;
    list-style-type: disc;
}

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

.team-section h3 {
    text-align: center;
    margin-bottom: 1rem;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 4rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    box-shadow: var(--box-shadow);
}

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

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

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

.team-member .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--dark-bg);
    transition: var(--transition);
}

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

.about-stats {
    padding: 6rem 0;
    background-color: var(--light-bg);
    margin-bottom: 6rem;
}

.about-stats h3 {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.6rem;
    color: var(--light-text);
}

.cta-section {
    padding: 8rem 0;
    background-color: var(--dark-bg);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

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

.info-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    border-radius: 50%;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--light-text);
}

.info-item .social-icons {
    display: flex;
    gap: 1rem;
}

.info-item .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--dark-bg);
    transition: var(--transition);
}

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

.contact-form {
    background-color: var(--light-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

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

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

.map-section {
    padding-bottom: 6rem;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

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

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.4rem;
    cursor: pointer;
}

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

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 2rem;
}

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

.thank-you-message p {
    margin-bottom: 2rem;
}

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

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

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-contact p svg {
    color: var(--primary-color);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-policies {
    display: flex;
    gap: 2rem;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-policies a:hover {
    color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 2rem;
}

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

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

.cookie-buttons button {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--success-color);
    color: white;
}

.cookie-customize {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.cookie-decline {
    background-color: var(--danger-color);
    color: white;
}

.cookie-buttons a {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    html {
        font-size: 56.25%; /* 9px */
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        gap: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 90;
    }

    nav ul.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    #newsletter-form {
        flex-direction: column;
    }

    .contact-section .container {
        grid-template-columns: 1fr;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        margin: 0 auto;
    }

    .author-social {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%; /* 8px */
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.6rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-policies {
        justify-content: center;
    }
}
