/* Base Styles */
:root {
    --primary-color: #7b3fe4;
    --primary-dark: #5c2eb0;
    --primary-light: #9c6dff;
    --secondary-color: #2dcece;
    --accent-color: #ff6b6b;
    --dark-color: #252a41;
    --medium-dark: #3a3f5a;
    --light-color: #f5f7ff;
    --gray-color: #e1e5f2;
    --text-color: #333344;
    --text-light: #777788;
    --success-color: #36b37e;
    --warning-color: #ffab00;
    --danger-color: #ff5630;
    --box-shadow: 0 4px 20px rgba(123, 63, 228, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-main: 'Roboto', 'Arial', sans-serif;
    --font-heading: 'Montserrat', 'Roboto', 'Arial', sans-serif;
}

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

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    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;
}

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

.btn-secondary:hover {
    background-color: #27b7b7;
    color: white;
}

.btn-tertiary {
    background-color: white;
    color: var(--text-color);
    border: 1px solid var(--gray-color);
}

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

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

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

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

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

nav ul li a.active::after,
nav ul li a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

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

.page-header h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.page-header p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Featured Posts Section */
.featured-posts {
    margin-bottom: 3rem;
}

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

.featured-posts h3 {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

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

.post-card {
    background-color: 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 25px rgba(123, 63, 228, 0.2);
}

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--dark-color);
}

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

/* About Section */
.about-section {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

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

.about-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.about-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

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

.cta-section h3 {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

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

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

/* Blog Posts Page */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 70%;
}

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

.post-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(123, 63, 228, 0.2);
}

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

.post-large .post-content {
    flex: 1;
    padding: 2rem;
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.post-highlights {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.post-highlights li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.post-highlights li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Sidebar */
.sidebar {
    width: 30%;
    padding-left: 2rem;
}

main {
    display: flex;
    flex-wrap: wrap;
}

.widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.widget h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-color);
}

.categories ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.categories ul li {
    margin-bottom: 0.75rem;
}

.categories ul li a {
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
}

.categories ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.mini-post {
    display: flex;
    margin-bottom: 1.25rem;
}

.mini-post:last-child {
    margin-bottom: 0;
}

.mini-post img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.mini-post h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.mini-post span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.subscribe form {
    display: flex;
    flex-direction: column;
}

.subscribe input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Blog Post */
.blog-post {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
    width: 100%;
}

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

.post-header h1 {
    margin-bottom: 0.5rem;
}

.post-header h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 1.5rem;
}

.post-image {
    margin-bottom: 2rem;
}

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

.blog-post .post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.info-box, .quote-box {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-box h3 {
    margin-top: 0 !important;
}

.quote-box {
    background-color: var(--primary-light);
    color: white;
}

.quote-box blockquote {
    border-left: 3px solid white;
    padding-left: 1rem;
}

.quote-box blockquote p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-box cite {
    font-size: 0.9rem;
    display: block;
    text-align: right;
}

.post-tags {
    margin-top: 3rem;
    display: flex;
    align-items: center;
}

.post-tags span {
    margin-right: 1rem;
    font-weight: 500;
}

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.post-tags ul li {
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
}

.post-tags ul li a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-color);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 0.85rem;
}

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

.post-share {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-color);
}

.post-share span {
    margin-right: 1rem;
    font-weight: 500;
}

.post-share a {
    margin-right: 1rem;
    color: var(--text-light);
}

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

.author-bio {
    display: flex;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 3rem 0;
}

.author-image {
    margin-right: 1.5rem;
}

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

.author-info {
    flex: 1;
}

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

.author-info p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.author-social a {
    margin-right: 1rem;
    color: var(--text-light);
}

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

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

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

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

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

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

.related-post span {
    display: block;
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

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

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

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

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

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

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

/* About Us Page */
.about-mission {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.mission-content {
    flex: 1;
}

.mission-image {
    flex: 1;
}

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

.values-list {
    list-style-type: none;
    padding-left: 0;
}

.values-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.values-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.about-story {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.story-content {
    flex: 1;
}

.story-image {
    flex: 1;
}

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

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

.team-section h2, .team-section h3 {
    text-align: center;
}

.team-section h3 {
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 2rem;
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(123, 63, 228, 0.2);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

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

.team-member p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

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

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

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

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

.partners-section h2, .partners-section h3 {
    text-align: center;
}

.partners-section h3 {
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 2rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.partner {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(123, 63, 228, 0.2);
}

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

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

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

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

.info-item .icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

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

.social-contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-color);
}

.social-contact h4 {
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 1.5rem;
}

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

.map-section h2, .map-section h3 {
    text-align: center;
}

.map-section h3 {
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 2rem;
}

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

.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

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

.modal.active {
    display: flex;
}

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

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

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

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

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

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

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-links ul li a:hover {
    color: white;
}

.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact address p svg {
    margin-right: 0.75rem;
}

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

.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);
}

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

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

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

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

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem 20px;
}

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

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

.cookie-content a {
    font-size: 0.9rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .about-section, .about-mission, .about-story {
        flex-direction: column;
    }
    
    .about-image, .mission-image, .story-image {
        order: -1;
    }
    
    .post-large {
        flex-direction: column;
    }
    
    .post-large img {
        width: 100%;
        height: 200px;
    }
    
    .blog-posts {
        width: 100%;
    }
    
    .sidebar {
        width: 100%;
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .contact-info, .contact-form-wrapper {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav {
        margin-top: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        flex-direction: column;
        text-align: center;
    }
    
    .logo img {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .post-tags, .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-tags span, .post-share span {
        margin-bottom: 0.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
