/* 
* КраудИИ - Блог о краудфандинге и ICO для ИИ проектов
* Основные стили сайта
*/

/* === Базовые стили и нормализация === */
:root {
    --primary-color: #4059AD;
    --secondary-color: #6B92E5;
    --accent-color: #97CC04;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #FFFFFF;
    --background-alt: #F5F7FA;
    --border-color: #E1E5EE;
    --shadow-color: rgba(64, 89, 173, 0.1);
    --success-color: #38B44A;
    --warning-color: #F5A623;
    --danger-color: #E15554;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px var(--shadow-color);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

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

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

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

p {
    margin-bottom: 1.5rem;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5, h6 {
    font-size: 1rem;
}

blockquote {
    padding: 1.5rem;
    background-color: var(--background-alt);
    border-left: 4px solid var(--accent-color);
    margin: 1.5rem 0;
    border-radius: var(--border-radius);
}

button, .btn {
    cursor: pointer;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
}

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

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

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

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

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

.section {
    padding: 5rem 0;
}

/* === Шапка сайта === */
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 1.5rem;
}

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

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

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

.tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -5px;
}

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

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

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-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: 5rem 0;
    background-color: var(--background-alt);
}

.hero-content {
    max-width: 600px;
}

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

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

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

.hero-image {
    width: 45%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #86B903;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(151, 204, 4, 0.3);
}

.featured-posts {
    padding: 5rem 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.featured-posts h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

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

.post-content {
    padding: 1.5rem;
}

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

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

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

.read-more:hover {
    color: #86B903;
}

.testimonials {
    background-color: var(--background-alt);
    padding: 5rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.testimonials h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.testimonials-slider {
    display: flex;
    overflow: hidden;
    flex-wrap: wrap;
}

.testimonial {
    flex: 0 0 100%;
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 1rem;
}

.testimonial blockquote {
    border-left: none;
    background: none;
    padding: 0;
    margin: 0 0 1.5rem;
    position: relative;
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial blockquote:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -1.5rem;
    top: -1.5rem;
    color: var(--accent-color);
    opacity: 0.3;
}

.testimonial .author {
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
}

.subscribe {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.subscribe-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.subscribe-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.subscribe-content p {
    margin-bottom: 2rem;
}

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

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

.subscribe-form button {
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background-color: #86B903;
}

/* === Блог === */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.blog-content {
    padding: 5rem 0;
}

.blog-filters {
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.search-box button {
    padding: 0.75rem 1.25rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

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

.categories span {
    font-weight: 600;
}

.category-tag {
    padding: 0.5rem 1rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

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

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

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

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

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

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    align-items: center;
}

.pagination a {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.pagination-dots {
    margin: 0 0.5rem;
}

.pagination-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* === О нас === */
.about-intro {
    display: flex;
    margin-bottom: 5rem;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

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

.about-content {
    padding: 5rem 0;
}

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

.value-card {
    padding: 2rem;
    background-color: white;
    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 8px 20px var(--shadow-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--background-alt);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-section, .values-section, .stats-section {
    margin-bottom: 5rem;
}

.team-section h2, .values-section h2, .stats-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.team-section h2:after, .values-section h2:after, .stats-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

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

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

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

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

.team-member h3, .team-member p {
    padding: 0 1.5rem;
}

.team-member h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-member p:last-child {
    margin-bottom: 1.5rem;
}

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

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

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-section {
    background-color: var(--background-alt);
    padding: 5rem 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* === Контакты === */
.contact-content {
    padding: 5rem 0;
}

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

.contact-info {
    background-color: var(--background-alt);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-block {
    display: flex;
    margin-bottom: 2rem;
}

.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
}

.social-contact {
    margin-top: 3rem;
}

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

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

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

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

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

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

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

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.checkbox-group input {
    width: auto;
}

.form-submit {
    text-align: right;
}

.form-submit button {
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.form-submit button:hover {
    background-color: #86B903;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(151, 204, 4, 0.3);
}

.map-section {
    margin-bottom: 5rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.map-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

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

/* === Статьи === */
.post-page {
    padding: 5rem 0;
}

.blog-post-full {
    max-width: 800px;
    margin: 0 auto;
}

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

.post-featured-image {
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

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

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.post-content ul li, .post-content ol li {
    margin-bottom: 0.75rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

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

.post-tags a {
    padding: 0.3rem 0.75rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

.author-avatar {
    flex: 0 0 100px;
    margin-right: 2rem;
}

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

.author-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.author-info h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.related-posts h3 {
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.related-posts h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

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

.related-post {
    background-color: 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 8px 20px var(--shadow-color);
}

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

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

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

.post-navigation {
    margin: 3rem 0;
}

.back-to-blog {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background-color: var(--background-alt);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.back-to-blog:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-5px);
}

/* === Подвал сайта === */
footer {
    background-color: #2A3B7A;
    color: white;
    padding: 5rem 0 2.5rem;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-info {
    list-style: none;
    padding: 0;
    background: none;
    border-radius: 0;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #B8C7EE;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

footer .social-icons a {
    background-color: #3C4D8C;
}

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

/* === Cookie баннер === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: none;
    z-index: 2000;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

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

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

.cookie-btn.accept:hover {
    background-color: #86B903;
}

.cookie-btn.configure {
    background-color: var(--background-alt);
    color: var(--text-color);
}

.cookie-btn.configure:hover {
    background-color: #E1E5EE;
}

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

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

/* === Модальное окно === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

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

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

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

.success-icon {
    color: var(--success-color);
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
}

/* === Адаптивный дизайн === */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1.5rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .about-intro {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        flex: auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0.5rem 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}
