/* Загальні стилі та змінні */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #345889;
    --primary-light: #6289c5;
    --secondary-color: #60bb94;
    --secondary-dark: #4c9478;
    --secondary-light: #79d3ad;
    --accent-color: #f5a742;
    --accent-dark: #e08e20;
    --accent-light: #ffc06a;
    --warning-color: #e74c3c;
    --success-color: #2ecc71;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #888;
    --background-color: #f8f9fa;
    --background-alt: #e9ecef;
    --white: #ffffff;
    --black: #000000;
    --border-color: #dee2e6;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
    --footer-background: #343a40;
    --footer-text: #adb5bd;
}

/* Скидання стилів та базові настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

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

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

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

/* Іконки */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    margin-right: 0.5rem;
}

.icon-home::before {
    content: "🏠";
}

.icon-blog::before {
    content: "📝";
}

.icon-about::before {
    content: "👥";
}

.icon-contact::before {
    content: "✉️";
}

.icon-search::before {
    content: "🔍";
}

.icon-location::before {
    content: "📍";
}

.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "📧";
}

.icon-arrow-right::before {
    content: "➡️";
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    line-height: 1.5;
}

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

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

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

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

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

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

/* Форми */
input, textarea, select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

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

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

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

.form-checkbox input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Заголовок сайту */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
    border-radius: 50%;
}

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

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

nav ul li a {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

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

/* Герой-секція */
.hero {
    padding: 4rem 0;
    background-color: var(--white);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

/* Секція популярних постів */
.featured-posts {
    padding: 4rem 0;
    background-color: var(--background-color);
}

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

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

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

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

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

/* CTA секція */
.cta {
    padding: 4rem 0;
    background-color: var(--white);
}

.cta .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cta-content {
    flex: 1;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.subscribe-form {
    display: flex;
    max-width: 500px;
}

.subscribe-form input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.subscribe-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cta-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

/* Футер */
footer {
    background-color: var(--footer-background);
    color: var(--footer-text);
    padding: 4rem 0 1rem;
    margin-top: auto;
}

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

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

.footer-about p {
    margin-bottom: 0;
}

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

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

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

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

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

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
}

.footer-contact ul li i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.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: var(--white);
    transition: var(--transition);
}

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

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

/* Сторінка блогу */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.search-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.search-box {
    display: flex;
    max-width: 400px;
    width: 100%;
}

.search-box input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.search-box button {
    width: 50px;
    border: 1px solid var(--border-color);
    border-left: none;
    background-color: var(--white);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.filter-categories span {
    font-weight: 500;
}

.filter-categories a {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background-color: var(--background-alt);
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.blog-posts {
    padding: 4rem 0;
}

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

.posts-grid .post-card {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .posts-grid .post-card {
        flex-direction: row;
    }
}

.posts-grid .post-image {
    flex: 0 0 300px;
}

.posts-grid .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-lighter);
}

.post-category {
    padding: 0.125rem 0.5rem;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 4px;
}

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

.pagination a, 
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--text-color);
    font-weight: 500;
    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;
}

/* Сторінка одиночного поста */
.post-single {
    padding: 4rem 0;
}

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

.post-overview {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.post-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

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

.post-content ul, 
.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin-top: 0.75rem;
}

.post-callout {
    background-color: rgba(74, 111, 165, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-callout h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.post-callout.warning {
    background-color: rgba(231, 76, 60, 0.1);
    border-left-color: var(--warning-color);
}

.post-callout.warning h3 {
    color: var(--warning-color);
}

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

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

.post-tags a {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background-color: var(--background-alt);
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.post-author-bio {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.author-info {
    flex: 1;
}

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

.author-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

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

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

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

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-buttons a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background-color: var(--background-alt);
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.share-facebook:hover {
    background-color: #3b5998;
    color: var(--white);
}

.share-twitter:hover {
    background-color: #1da1f2;
    color: var(--white);
}

.share-linkedin:hover {
    background-color: #0077b5;
    color: var(--white);
}

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

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

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

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

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

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

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

.related-post h4 {
    padding: 1rem 1rem 0.5rem;
    margin-bottom: 0.5rem;
}

.related-post p {
    padding: 0 1rem 1rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

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

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

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

/* Сторінка контактів */
.contact-section {
    padding: 4rem 0;
}

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

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 1.5rem;
}

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

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

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

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

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

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

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

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

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

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Сторінка "Про нас" */
.about-intro {
    padding: 4rem 0;
}

.about-intro .container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 992px) {
    .about-intro .container {
        flex-direction: row;
    }
}

.about-content {
    flex: 1;
}

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

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

.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.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(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

.team-member h3 {
    margin: 1.5rem 0 0.25rem;
    padding: 0 1.5rem;
}

.team-member p {
    padding: 0 1.5rem;
    color: var(--text-light);
}

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

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

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

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

/* Кукі-повідомлення */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    display: none;
    z-index: 9999;
}

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

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

.cookie-more {
    display: inline-block;
    margin-left: 1rem;
    padding: 0.75rem 0;
}

/* Модальне вікно "Дякуємо" */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.thank-you-content {
    padding: 3rem 2rem;
    text-align: center;
}

.thank-you-content svg {
    margin: 0 auto 1.5rem;
    color: var(--success-color);
}

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

.thank-you-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Адаптивність */
@media (max-width: 992px) {
    .hero .container,
    .cta .container {
        flex-direction: column;
    }
    
    .hero-image,
    .cta-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .filter-categories {
        margin-top: 1rem;
    }
    
    .search-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .author-social {
        justify-content: center;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .posts-grid .post-card {
        flex-direction: column;
    }
    
    .posts-grid .post-image {
        flex: none;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .logo span {
        display: none;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        border-right: 1px solid var(--border-color);
        margin-bottom: 0.75rem;
    }
    
    .subscribe-form button {
        border-radius: var(--border-radius);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-more {
        margin-left: 0;
        text-align: center;
    }
}
