/* Base styles */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --dark-light-color: #374151;
    --light-color: #f3f4f6;
    --light-dark-color: #e5e7eb;
    --text-color: #1f2937;
    --text-light-color: #6b7280;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --white: #ffffff;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --border-radius: 0.375rem;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
    --container-width: 1280px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

li {
    margin-bottom: 0.5rem;
}

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

button, .btn {
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

input, select, textarea {
    display: block;
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    border: 1px solid var(--light-dark-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

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

.btn-secondary:hover {
    background-color: #0da271;
    border-color: #0da271;
    color: var(--white);
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 0.75rem;
}

nav a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    background-image: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/1.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

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

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

.post-card {
    background-color: var(--white);
    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 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

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

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

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

/* Terminology Section */
.terminology {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.terminology h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.term-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.term-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* This Day in History Section */
.this-day {
    padding: 4rem 0;
}

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

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

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

.history-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.history-text p {
    margin-bottom: 0.75rem;
}

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

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

.newsletter-form input {
    flex: 1;
    margin-right: 0.5rem;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

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

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

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

.footer-about h3, .footer-links h3, .footer-legal h3, .footer-contact h3 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.footer-about p {
    color: var(--light-dark-color);
}

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

.footer-links a, .footer-legal a {
    color: var(--light-dark-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: var(--light-dark-color);
    margin-bottom: 0.75rem;
}

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

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

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-dark-color);
    margin: 0 0.75rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--white);
}

.footer-bottom p {
    color: var(--light-dark-color);
    margin-bottom: 0;
    font-size: 0.875rem;
}

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

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

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-cookie.configure {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-cookie.reject {
    background-color: transparent;
    color: var(--light-dark-color);
    border: none;
}

.cookie-content a {
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    background-image: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

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

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

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

.blog-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-bar {
    display: flex;
    max-width: 400px;
    flex-grow: 1;
}

.search-bar input {
    flex: 1;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
}

.search-bar button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-filter select {
    min-width: 200px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-image {
    overflow: hidden;
}

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

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

.blog-text {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light-color);
}

.blog-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-text p {
    color: var(--text-light-color);
    margin-bottom: 1.25rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--text-color);
    font-weight: 600;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.pagination a.next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-light-color);
}

/* About Page */
.about-intro {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h2:first-child {
    margin-top: 0;
}

.about-text ul {
    margin-left: 1.25rem;
}

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

.team {
    background-color: var(--light-color);
    padding: 4rem 0;
}

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

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

.team-member {
    background-color: var(--white);
    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 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.team-member h3 {
    margin: 1.25rem 0 0.25rem;
    color: var(--dark-color);
}

.team-member p {
    color: var(--text-light-color);
    margin-bottom: 0.75rem;
    padding: 0 1.25rem;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

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

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

.values {
    padding: 4rem 0;
}

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

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

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.value-icon {
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

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

.cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    margin-right: 1.25rem;
    color: var(--primary-color);
    display: flex;
    align-items: flex-start;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

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

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

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

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

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input {
    width: auto;
    margin-right: 0.75rem;
}

.checkbox-container label {
    margin-bottom: 0;
}

.map-section {
    padding: 0 0 4rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.map-container img {
    width: 100%;
    height: auto;
}

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

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

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

.faq-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

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

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

.success-icon {
    color: var(--success-color);
    margin-bottom: 1.25rem;
}

.thank-you-content h2 {
    margin-bottom: 1rem;
}

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

/* Blog Post Page */
.post-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    background-image: linear-gradient(to right, var(--primary-color), var(--primary-dark));
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-header h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.75rem;
    object-fit: cover;
}

.post-featured-image {
    max-height: 500px;
    overflow: hidden;
}

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

.post-body {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.post-intro {
    font-size: 1.25rem;
    color: var(--dark-light-color);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

.post-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.post-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-body ul, .post-body ol {
    margin-left: 1.25rem;
    margin-bottom: 2rem;
}

.post-body li {
    margin-bottom: 0.75rem;
}

.post-body strong {
    font-weight: 600;
    color: var(--dark-color);
}

.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-dark-color);
}

.post-tags h3 {
    margin-bottom: 1rem;
}

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-tags li a {
    display: block;
    background-color: var(--light-color);
    color: var(--text-light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--light-dark-color);
    border-bottom: 1px solid var(--light-dark-color);
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    max-width: 45%;
}

.nav-direction {
    font-size: 0.875rem;
    color: var(--text-light-color);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 600;
    color: var(--primary-color);
}

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

.related-posts h3 {
    margin-bottom: 1.5rem;
}

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

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

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

.related-post h4 {
    padding: 1rem;
    margin-bottom: 0;
    font-size: 1rem;
}

.post-comments {
    margin-bottom: 3rem;
}

.post-comments h3 {
    margin-bottom: 1.5rem;
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

    .about-image {
        order: -1;
    }

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

    .history-image {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .newsletter-form input {
        margin-right: 0;
        margin-bottom: 0.75rem;
        border-radius: var(--border-radius);
    }

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

    .blog-card {
        grid-template-columns: 1fr;
    }

    .post-header h1 {
        font-size: 2rem;
    }

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

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .cookie-content {
        padding: 0 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .pagination a {
        width: 35px;
        height: 35px;
    }
}
