:root {
    --primary-color: #1e3a8a;
    --primary-light: #2e4a9a;
    --primary-dark: #0e2a7a;
    --secondary-color: #f5b514;
    --text-color: #333333;
    --text-light: #666666;
    --text-dark: #111111;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
    --font-size-base: 16px;
    --font-size-large: 18px;
    --font-size-increased: 19px; /* For font size toggle functionality */
}

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

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

body.font-increased {
    font-size: var(--font-size-increased);
}

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

a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

button {
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

/* Navigation */
#main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#main-nav ul li {
    margin-left: 2rem;
}

#main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
}

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

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

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

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
}

#font-size-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    margin-right: 1rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#font-size-toggle:hover {
    color: var(--primary-color);
}

.language-switcher {
    position: relative;
}

#lang-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    color: var(--text-color);
}

#lang-toggle:hover {
    background-color: var(--background-light);
}

#lang-toggle span {
    margin-right: 5px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    min-width: 120px;
    display: none;
    z-index: 1000;
}

.language-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown li {
    padding: 0;
}

.lang-dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background-color: var(--background-light);
    color: var(--primary-color);
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(to right, rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-section .subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(to right, rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.7)), url('images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Blog Posts Grid */
.blog-posts {
    padding: 80px 0;
}

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

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

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

.post-image {
    height: 200px;
    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.05);
}

.post-content {
    padding: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-date {
    margin-right: 15px;
}

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

.post-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.post-content p {
    color: var(--text-color);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

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

.read-more:hover::after {
    margin-left: 8px;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--background-light);
    padding: 60px 0;
    margin-bottom: 80px;
}

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

.newsletter-container h2 {
    margin-bottom: 15px;
}

.newsletter-container p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn.primary:hover {
    background-color: var(--primary-dark);
    color: white;
    text-decoration: none;
}

.btn.secondary {
    background-color: var(--background-dark);
    color: var(--text-color);
}

.btn.secondary:hover {
    background-color: var(--border-color);
    text-decoration: none;
}

/* About Page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 0;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
}

.team-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

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

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

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

.team-member h3 {
    margin: 15px 0 5px;
}

.team-member p {
    color: var(--text-light);
    margin: 0 15px 15px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
}

.team-member .social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

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

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

.values-section {
    padding: 80px 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.value-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-item h3 {
    margin-bottom: 15px;
}

.value-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.partnerships-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.partnerships-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    max-width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

/* Contact Page */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 0;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-details a {
    color: var(--text-light);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.social-media-contact h3 {
    margin-bottom: 15px;
}

.social-media-contact .social-icons {
    display: flex;
    gap: 15px;
}

.social-media-contact .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--primary-color);
    transition: var(--transition);
}

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

.contact-form-container h2 {
    margin-bottom: 30px;
}

.contact-form {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.map-section {
    padding: 80px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-item {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

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

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

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

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

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-dark);
}

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

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

.thank-you-message h2 {
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 30px;
}

/* Blog Post Single */
.blog-post {
    padding: 80px 0;
}

.post-header {
    margin-bottom: 40px;
}

.post-header .post-meta {
    margin-bottom: 15px;
    font-size: 1rem;
}

.post-header h1 {
    margin-bottom: 30px;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.table-of-contents {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.table-of-contents h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul li {
    margin-bottom: 10px;
}

.table-of-contents ul li a {
    color: var(--text-color);
}

.table-of-contents ul li a:hover {
    color: var(--primary-color);
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
}

.post-content img {
    border-radius: var(--border-radius);
    margin: 30px auto;
}

.post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    font-weight: 500;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: var(--background-light);
    color: var(--text-color);
    padding: 5px 15px;
    border-radius: 50px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-author-bio {
    display: flex;
    align-items: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
}

.author-image {
    flex-shrink: 0;
    margin-right: 20px;
}

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

.author-info h3 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.author-info .social-links {
    display: flex;
    gap: 10px;
}

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

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

.related-posts {
    margin-top: 80px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

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

.related-post h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
}

.related-post .post-date {
    padding: 0 15px 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 80px 0 20px;
    margin-top: 80px;
}

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

.footer-about img {
    margin-bottom: 20px;
}

.footer-about p {
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

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

.footer-links ul li a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact p svg {
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact p a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact p a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
}

.footer-bottom .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-bottom .social-icons a:hover {
    background-color: white;
    color: var(--primary-dark);
}

.copyright {
    opacity: 0.7;
    margin-bottom: 0;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .post-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-content {
        order: 2;
    }

    .about-image {
        order: 1;
    }

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

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero-section {
        padding: 70px 0;
    }

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

    .hero-section .subtitle {
        font-size: 1.2rem;
    }

    #main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: var(--background-color);
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    #main-nav.show {
        left: 0;
    }

    #main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    #main-nav ul li {
        margin: 0 0 15px;
    }

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

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

    .team-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

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

    .author-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

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

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 576px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .partners-logos {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
