/* Общие стили */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #4169E1;
    --secondary-color: #7B68EE;
    --accent-color: #00C0A3;
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --gray-dark-color: #DDDDDD;
    --text-color: #333333;
    --text-light-color: #666666;
    --shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #FBFBFB;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

section {
    padding: 60px 0;
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

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

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

nav ul li {
    margin-left: 30px;
}

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

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

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: var(--gray-color);
    padding: 80px 0;
}

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

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

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

.hero-image {
    flex: 1;
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 30px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    left: 50px;
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 100px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    left: 44px;
    top: 0;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--primary-color);
    width: 40px;
    text-align: right;
}

.timeline-content {
    background: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Blog Posts */
.blog-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

.post-counter {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-light-color);
}

.post-counter span {
    font-weight: 700;
    color: var(--primary-color);
}

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

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

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

.post-content {
    padding: 20px;
}

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

.post-date {
    font-size: 0.85rem;
    color: var(--text-light-color);
    margin-bottom: 15px;
}

.post-excerpt {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-color);
}

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

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}

.cta h2 {
    color: var(--light-color);
    margin-bottom: 20px;
}

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

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

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

.subscribe-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--accent-color);
}

.subscribe-form .btn:hover {
    background-color: #00a189;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about .footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-about p {
    color: #bbb;
    font-size: 0.9rem;
}

footer h3 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #bbb;
    font-size: 0.9rem;
}

footer ul li a:hover {
    color: var(--light-color);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    color: #bbb;
    font-size: 0.9rem;
}

.footer-contact ul li i {
    margin-right: 10px;
    font-size: 16px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    color: #999;
    font-size: 0.85rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-color);
    padding: 15px;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 15px;
    text-align: center;
    max-width: 800px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-cookie {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-cookie.reject {
    background-color: transparent;
    color: #999;
}

.btn-cookie:hover {
    opacity: 0.9;
}

.cookie-policy-link {
    font-size: 0.8rem;
    color: #999;
    text-decoration: underline;
}

.cookie-policy-link:hover {
    color: var(--light-color);
}

/* About Page Styles */
.about-hero, .contact-hero {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 80px 0;
}

.about-hero h1, .contact-hero h1 {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-mission {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-mission .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-content h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.mission-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.team {
    background-color: var(--gray-color);
}

.team h2, .achievements h2, .values h2 {
    text-align: center;
    margin-bottom: 15px;
}

.team-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light-color);
}

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

.team-member {
    background-color: var(--light-color);
    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: 0 10px 20px rgba(0,0,0,0.1);
}

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

.team-member h3 {
    margin-top: 20px;
    margin-bottom: 5px;
}

.team-member p:nth-child(3) {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member p:nth-child(4) {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-light-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

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

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

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.achievement-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.achievement-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.achievement-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.values {
    background-color: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

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

.value-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-details {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    margin-right: 20px;
    color: var(--primary-color);
}

.contact-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    margin-bottom: 10px;
}

.contact-form-container p {
    margin-bottom: 30px;
    color: var(--text-light-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group:nth-child(5), 
.form-group:nth-child(6) {
    grid-column: span 2;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.contact-form button {
    grid-column: span 2;
}

.map-section {
    padding-top: 0;
}

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

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

.faq-section {
    background-color: var(--gray-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

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

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

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

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Modal window */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

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

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

.modal-body {
    padding: 40px;
    text-align: center;
}

.success-icon {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.modal-body h2 {
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 25px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-about {
        grid-column: span 3;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-about .footer-logo {
        margin: 0 auto 15px;
    }
}

@media (max-width: 991px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-dot {
        left: 24px;
    }
    
    .about-mission .container {
        grid-template-columns: 1fr;
    }
    
    .mission-image {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        padding-right: 0;
    }
    
    .contact-social {
        display: none;
    }
}

@media (max-width: 768px) {
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--light-color);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-icon {
        display: flex;
    }
    
    .mobile-menu-icon.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-icon.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav, .footer-legal, .footer-contact, .footer-social {
        margin-top: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group:nth-child(5), 
    .form-group:nth-child(6),
    .contact-form button {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .subscribe-form .btn {
        border-radius: var(--border-radius);
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cookie {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Icon Fonts */
.icon-location, .icon-phone, .icon-email, .icon-reg {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.icon-location:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234169E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.icon-phone:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234169E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-email:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234169E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

.icon-reg:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234169E1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='9' y1='9' x2='15' y2='15'%3E%3C/line%3E%3Cline x1='15' y1='9' x2='9' y2='15'%3E%3C/line%3E%3C/svg%3E");
}

/* Post pages styles */
.post-header {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.post-header h1 {
    color: var(--light-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post-meta-item {
    display: flex;
    align-items: center;
    opacity: 0.9;
    font-size: 0.9rem;
}

.post-meta-item svg {
    margin-right: 8px;
}

.post-content-main {
    background-color: var(--light-color);
    padding: 50px 0;
}

.post-content-main .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
}

.post-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.post-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.post-body ul, .post-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body img {
    width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
}

.post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 30px;
    margin: 30px 0;
    background-color: var(--gray-color);
    font-style: italic;
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: var(--gray-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-dark-color);
}

.popular-posts-list {
    list-style: none;
}

.popular-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-dark-color);
}

.popular-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts-list a {
    font-weight: 500;
    color: var(--dark-color);
}

.popular-posts-list a:hover {
    color: var(--primary-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light-color);
}

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

.social-share {
    text-align: center;
    margin-top: 50px;
}

.social-share h3 {
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

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

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

.share-buttons svg {
    color: var(--dark-color);
}

.share-buttons a:hover svg {
    color: var(--light-color);
}

.post-navigation {
    padding: 40px 0;
    background-color: var(--gray-color);
}

.post-navigation-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.post-nav-item {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.post-nav-item.prev {
    text-align: left;
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.85rem;
    color: var(--text-light-color);
    margin-bottom: 8px;
    display: block;
}

.post-nav-title {
    font-weight: 500;
}

.related-posts {
    background-color: var(--light-color);
    padding: 60px 0;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .post-content-main .container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        position: static;
        margin-top: 50px;
    }
    
    .post-navigation-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-header h1 {
        font-size: 1.8rem;
    }
}
