/* Base Styles */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --dark-color: #2d3436;
    --light-color: #f9f9f9;
    --gray-color: #636e72;
    --text-color: #333;
    --body-font: 'Montserrat', sans-serif;
    --heading-font: 'Raleway', sans-serif;
    --border-radius: 6px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    font-size: 16px;
    text-align: center;
}

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

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

a:hover {
    color: darken(var(--primary-color), 10%);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
    transition: var(--transition);
}

h2:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    transition: var(--transition);
}

h3:hover {
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

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

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
}

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

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    color: white;
}

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

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
}

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

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

/* Hero Section */
.hero {
    background-color: var(--light-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,107,107,0.1) 0%, rgba(78,205,196,0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--gray-color);
}

/* Featured Post */
.featured-post {
    display: flex;
    margin-bottom: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.featured-image {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    overflow: hidden;
}

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

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.meta {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    display: block;
}

/* Posts Section */
.posts {
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

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

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

.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: 25px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-top: 0;
}

.post-content .meta {
    font-size: 0.8rem;
}

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

/* Newsletter Section */
.newsletter {
    background-color: var(--light-color);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 60px;
}

.newsletter h2 {
    margin-top: 0;
}

.newsletter p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 25%;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

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

.footer-links, .footer-legal, .footer-contact {
    flex: 0 0 23%;
    margin-bottom: 30px;
}

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

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

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

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

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

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

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

.copyright p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 15px;
    max-width: 800px;
}

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

.cookie-more-info {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Single Post */
.post-container {
    display: flex;
    gap: 40px;
    margin: 50px auto;
}

.single-post {
    flex: 0 0 70%;
    max-width: 70%;
}

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

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

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

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

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

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

.post-content a {
    text-decoration: underline;
}

.post-content .info-box {
    background-color: rgba(78,205,196,0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-content .info-box h4 {
    margin-top: 0;
    color: var(--secondary-color);
}

.post-content .info-box p {
    margin-bottom: 0;
}

.post-content .testimonial {
    font-style: italic;
    padding: 30px;
    background-color: rgba(255,107,107,0.05);
    border-radius: var(--border-radius);
    margin: 30px 0;
    position: relative;
}

.post-content .testimonial:before {
    content: '"';
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(255,107,107,0.2);
    position: absolute;
    top: -20px;
    left: 10px;
}

.post-content .testimonial p {
    position: relative;
    z-index: 1;
}

.post-content .testimonial cite {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    font-style: normal;
    text-align: right;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center;
}

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

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(255,107,107,0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

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

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

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.nav-previous, .nav-next {
    flex: 0 0 48%;
}

.nav-previous a, .nav-next a {
    display: block;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-previous a:hover, .nav-next a:hover {
    background-color: #f1f1f1;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.nav-title {
    font-weight: bold;
    color: var(--dark-color);
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Sidebar */
.post-sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.widget {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.widget h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.widget ul {
    margin-bottom: 0;
}

.widget ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    color: var(--dark-color);
    transition: var(--transition);
}

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

.widget.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.widget.cta h3 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.widget.cta p {
    margin-bottom: 20px;
}

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

.widget.cta .btn:hover {
    background-color: rgba(255,255,255,0.9);
}

/* Page Header */
.page-header {
    background-color: var(--light-color);
    padding: 60px 0;
    margin-bottom: 50px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* About Page */
.about-container {
    margin: 50px auto;
}

.about-intro {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    flex: 0 0 40%;
    max-width: 40%;
}

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

.about-content {
    flex: 0 0 60%;
    max-width: 60%;
}

.values-list {
    margin-top: 30px;
}

.values-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,107,107,0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.values-list li h3 {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
}

.values-list li p {
    margin-bottom: 0;
    text-align: left;
}

.team-section {
    margin-bottom: 60px;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.team-member p {
    margin-bottom: 15px;
    padding: 0 20px;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

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

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

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

.methodology-section {
    margin-bottom: 60px;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.methodology-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.methodology-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.methodology-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255,107,107,0.1);
    color: var(--primary-color);
    margin: 0 auto 20px;
}

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

.methodology-item p {
    margin-bottom: 0;
}

.partners-section {
    margin-bottom: 60px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.partner {
    flex: 0 0 calc(20% - 40px);
    max-width: calc(20% - 40px);
}

.partner img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

.cta-section {
    background-color: var(--light-color);
    padding: 60px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 60px;
}

.cta-section h2 {
    margin-top: 0;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Contact Page */
.contact-container {
    margin: 50px auto;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 0 0 40%;
    max-width: 40%;
}

.info-items {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,107,107,0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h3 {
    margin: 0 0 10px;
    text-align: left;
}

.info-item p {
    margin-bottom: 5px;
    text-align: left;
}

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

.info-item p a:hover {
    color: var(--primary-color);
}

.info-time {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.contact-map {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-form {
    flex: 0 0 60%;
    max-width: 60%;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: left;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

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

.faq-section {
    margin-bottom: 60px;
}

.faq-items {
    margin-top: 40px;
}

.faq-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    cursor: pointer;
    text-align: left;
}

.faq-item p {
    margin-bottom: 0;
    text-align: left;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
}

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

.thank-you-message svg {
    margin-bottom: 20px;
}

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

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

/* Responsive */
@media (max-width: 992px) {
    .featured-post {
        flex-direction: column;
    }
    
    .featured-image,
    .featured-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .post-container {
        flex-direction: column;
    }
    
    .single-post,
    .post-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-image,
    .about-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .contact-info,
    .contact-form {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter button {
        border-radius: var(--border-radius);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links,
    .footer-legal,
    .footer-contact {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous,
    .nav-next {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .methodology-item,
    .team-member {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
}
