/* Variables */
:root {
    /* Main color palette */
    --primary-color: #4a6cfa;
    --secondary-color: #3dcbce;
    --accent-color: #f95c39;
    --dark-color: #242f4a;
    --light-color: #f5f8ff;
    --gray-color: #e1e5ed;
    --text-color: #2c3e50;
    --text-light: #5f7186;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --error-color: #e74c3c;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-monospace: 'Source Code Pro', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;  /* 4px */
    --spacing-s: 0.5rem;    /* 8px */
    --spacing-m: 1rem;      /* 16px */
    --spacing-l: 1.5rem;    /* 24px */
    --spacing-xl: 2rem;     /* 32px */
    --spacing-xxl: 3rem;    /* 48px */
    
    /* Borders */
    --border-radius-s: 4px;
    --border-radius-m: 8px;
    --border-radius-l: 12px;
    --border-radius-xl: 16px;
    --border-radius-xxl: 24px;
    --border-radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Container widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style-position: inside;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p, ul, ol {
    margin-bottom: var(--spacing-m);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
    padding: 0 var(--spacing-l);
}

/* Layout */
main {
    min-height: calc(100vh - 100px);
}

/* Header */
header {
    background-color: #fff;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-m) var(--spacing-l);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-m);
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-l);
    margin-bottom: 0;
}

nav li a {
    font-weight: 500;
    padding: var(--spacing-s) var(--spacing-m);
    border-radius: var(--border-radius-m);
    transition: all var(--transition-normal);
}

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-m);
    color: white;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-l);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-m);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-s) var(--spacing-l);
    border-radius: var(--border-radius-m);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    border: none;
}

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

.btn.primary:hover {
    background-color: #e6461e;
    transform: translateY(-2px);
}

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

.btn.secondary:hover {
    background-color: var(--gray-color);
    transform: translateY(-2px);
}

/* Expert Interview Section */
.expert-interview {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.expert-interview h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.interview-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

.expert-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-md);
}

.interview-text h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-m);
}

.interview-text p {
    margin-bottom: var(--spacing-m);
}

/* Future Quote Section */
.future-quote {
    padding: var(--spacing-xxl) 0;
    background-color: var(--dark-color);
    color: white;
}

.future-quote h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: white;
}

blockquote {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-l);
    border-left: 4px solid var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-m);
}

blockquote cite {
    display: block;
    margin-top: var(--spacing-m);
    font-size: 1rem;
    font-style: normal;
    color: var(--secondary-color);
}

/* Blog Posts Section */
.blog-posts {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-color);
}

.blog-posts h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-l);
}

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

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

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.post-content {
    padding: var(--spacing-l);
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-s);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-s);
}

.post-excerpt {
    color: var(--text-color);
    margin-bottom: var(--spacing-m);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 500;
    color: var(--primary-color);
}

.read-more:hover {
    color: var(--secondary-color);
}

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

.newsletter h2 {
    color: white;
    margin-bottom: var(--spacing-s);
}

.newsletter p {
    margin-bottom: var(--spacing-l);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: var(--spacing-s);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-s) var(--spacing-m);
    border: none;
    border-radius: var(--border-radius-m);
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: var(--spacing-xl) 0;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: var(--spacing-m);
    font-size: 1.25rem;
}

.footer-column p, .footer-column address {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-s);
    font-style: normal;
}

.footer-column a {
    color: var(--secondary-color);
}

.footer-column a:hover {
    color: white;
}

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

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.social-icons {
    display: flex;
    gap: var(--spacing-s);
}

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

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.social-icons svg {
    width: 20px;
    height: 20px;
    color: white;
}

.copyright {
    text-align: center;
    padding-top: var(--spacing-l);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(36, 47, 74, 0.95);
    padding: var(--spacing-l);
    z-index: 1000;
    display: none;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.cookie-content {
    max-width: var(--container-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-m);
    color: white;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-s);
    flex-wrap: wrap;
}

.btn-cookie {
    padding: var(--spacing-s) var(--spacing-m);
    border-radius: var(--border-radius-m);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.btn-cookie.customize {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

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

.btn-cookie:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* About Page Styles */
.about-hero {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.about-hero h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-m);
    color: white;
}

.about-hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.our-mission {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.mission-text {
    flex: 1;
}

.mission-image {
    flex: 1;
}

.mission-image img {
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-lg);
}

.our-team {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-color);
}

.our-team h2, .team-intro {
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.team-member h3, .team-member p {
    padding: 0 var(--spacing-l);
}

.team-member h3 {
    margin-top: var(--spacing-m);
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.team-member p.author-title {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: var(--spacing-s);
}

.team-member p:last-of-type {
    margin-bottom: var(--spacing-l);
}

.social-links {
    display: flex;
    gap: var(--spacing-s);
    padding: 0 var(--spacing-l);
    margin-bottom: var(--spacing-l);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-color);
    border-radius: var(--border-radius-circle);
    transition: all var(--transition-normal);
}

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

.social-links svg {
    width: 18px;
    height: 18px;
    color: var(--dark-color);
}

.social-links a:hover svg {
    color: white;
}

.our-values {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.our-values h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-l);
}

.value-card {
    padding: var(--spacing-l);
    background-color: var(--light-color);
    border-radius: var(--border-radius-l);
    text-align: center;
    transition: transform var(--transition-normal);
}

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

.value-icon {
    margin: 0 auto var(--spacing-m);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-circle);
}

.testimonials {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-l);
    overflow-x: auto;
    padding-bottom: var(--spacing-m);
}

.testimonial {
    min-width: 400px;
    flex: 1;
}

.testimonial-content {
    padding: var(--spacing-l);
    background-color: white;
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-md);
}

.testimonial-content p {
    margin-bottom: var(--spacing-l);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-m);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

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

.cta {
    padding: var(--spacing-xxl) 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: var(--spacing-s);
}

.cta p {
    margin-bottom: var(--spacing-l);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-hero h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-m);
    color: white;
}

.contact-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info h3, .contact-form-container h3 {
    margin-bottom: var(--spacing-l);
}

.info-item {
    display: flex;
    gap: var(--spacing-m);
    margin-bottom: var(--spacing-l);
}

.info-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 24px;
    color: var(--primary-color);
}

.info-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--dark-color);
}

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

.social-contact {
    margin-top: var(--spacing-xl);
}

.social-contact h4 {
    margin-bottom: var(--spacing-m);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-m);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input, .form-group textarea {
    padding: var(--spacing-m);
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius-m);
    transition: border-color var(--transition-normal);
}

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

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

.checkbox-group input {
    margin-top: 5px;
}

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

.faq {
    padding: var(--spacing-xxl) 0;
    background-color: var(--light-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: var(--spacing-l);
}

.faq-item {
    padding: var(--spacing-l);
    background-color: white;
    border-radius: var(--border-radius-l);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    margin-bottom: var(--spacing-s);
    color: var(--primary-color);
}

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

.map {
    padding: var(--spacing-xxl) 0;
    background-color: white;
}

.map h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

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

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius-l);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.close-modal {
    position: absolute;
    top: var(--spacing-m);
    right: var(--spacing-m);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-normal);
}

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

.modal-body {
    padding: var(--spacing-xl);
    text-align: center;
}

.success-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-l);
}

.success-icon svg {
    color: var(--success-color);
    width: 64px;
    height: 64px;
}

.modal-body h3 {
    margin-bottom: var(--spacing-s);
}

.modal-body p {
    margin-bottom: var(--spacing-l);
}

/* Blog Post Styles */
.blog-post {
    background-color: white;
    padding: var(--spacing-xl) 0;
}

.post-header {
    margin-bottom: var(--spacing-xl);
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-s);
}

.post-featured-image {
    margin-bottom: var(--spacing-xl);
    border-radius: var(--border-radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.post-content {
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
}

.post-content h2 {
    margin-top: var(--spacing-xl);
    font-size: 1.75rem;
    color: var(--primary-color);
}

.post-content h3 {
    margin-top: var(--spacing-l);
    font-size: 1.35rem;
    color: var(--dark-color);
}

.post-content a {
    border-bottom: 1px solid currentColor;
}

.post-content a:hover {
    border-color: transparent;
}

.post-content ul, .post-content ol {
    margin-left: var(--spacing-m);
    margin-bottom: var(--spacing-l);
}

.post-content li {
    margin-bottom: var(--spacing-s);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-s);
    margin-bottom: var(--spacing-xl);
}

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

.post-tags a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-s);
    background-color: var(--light-color);
    border-radius: var(--border-radius-m);
    font-size: 0.875rem;
    color: var(--text-color);
    transition: all var(--transition-normal);
}

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

.post-navigation {
    border-top: 1px solid var(--gray-color);
    border-bottom: 1px solid var(--gray-color);
    padding: var(--spacing-l) 0;
    margin-bottom: var(--spacing-xl);
}

.post-navigation-links {
    display: flex;
    justify-content: space-between;
}

.prev-post, .next-post {
    font-weight: 500;
}

.post-author-bio {
    display: flex;
    gap: var(--spacing-l);
    padding: var(--spacing-l);
    background-color: var(--light-color);
    border-radius: var(--border-radius-l);
    margin-bottom: var(--spacing-xl);
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-circle);
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 0;
    color: var(--primary-color);
}

.author-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-s);
}

.author-social {
    display: flex;
    gap: var(--spacing-s);
    margin-top: var(--spacing-s);
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: var(--border-radius-circle);
    transition: all var(--transition-normal);
}

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

.author-social svg {
    color: var(--text-light);
}

.author-social a:hover svg {
    color: white;
}

.related-posts h3 {
    margin-bottom: var(--spacing-l);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-l);
}

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

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

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

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.related-post-content {
    padding: var(--spacing-m);
}

.related-post-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.related-post-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Tables */
.comparison-table {
    width: 100%;
    margin-bottom: var(--spacing-l);
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: var(--spacing-s) var(--spacing-m);
    text-align: left;
    border-bottom: 1px solid var(--gray-color);
}

.comparison-table th {
    background-color: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
}

.comparison-table tr:hover {
    background-color: var(--light-color);
}

.table-caption {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    text-align: center;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h2 {
        font-size: 2.25rem;
    }
    
    .post-header h1 {
        font-size: 2.25rem;
    }
    
    .interview-content {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-content {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: var(--spacing-m);
    }
    
    nav ul {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .post-navigation-links {
        flex-direction: column;
        gap: var(--spacing-m);
        align-items: center;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .testimonial {
        min-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 var(--spacing-m);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h2 {
        font-size: 1.75rem;
    }
    
    nav ul {
        gap: var(--spacing-s);
    }
    
    nav li a {
        padding: var(--spacing-xs) var(--spacing-s);
    }
    
    .post-card {
        width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
