        :root {
            --primary: #2c7873;
            --primary-dark: #235e5a;
            --secondary: #6fb98f;
            --accent: #7cb342; /* более мягкий зелёный */
            --light: #f8f9fa;
            --dark: #343a40;
            --gray: #6c757d;
            --border-radius: 8px;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark);
            background-color: #f5f7fa;
        }

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

        /* Header */
        header {
            background: linear-gradient(135deg, #1a5f5a 0%, var(--primary) 50%, var(--primary-dark) 100%);
            color: white;
            padding: 1.2rem 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            border-bottom: 3px solid #438400;
            position: relative;
        }

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

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

        .logo-icon {
            font-size: 2.8rem;
            color: var(--accent);
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
            transition: var(--transition);
            position: relative;
        }

        .logo-icon::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(124, 179, 66, 0.2) 0%, transparent 70%);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(0.8); opacity: 0.5; }
            50% { transform: scale(1.2); opacity: 0.8; }
        }

        .logo-icon:hover {
            transform: scale(1.1);
        }

        .logo-text {
            position: relative;
        }

        .logo-text::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 80%;
            background: linear-gradient(180deg, transparent 0%, var(--accent) 50%, transparent 100%);
            opacity: 0.6;
        }

        .logo-text h1 {
            font-size: 1.5rem;
            margin-bottom: 6px;
            white-space: nowrap;
            font-weight: 600;
            letter-spacing: 1px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            font-style: italic;
            position: relative;
        }

        .logo-text h1::after {
            content: '✦';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--accent);
            font-size: 0.8rem;
            opacity: 0.8;
        }

        .logo-text p {
            font-size: 0.95rem;
            opacity: 0.95;
            font-weight: 300;
            letter-spacing: 2px;
            color: #e0f2f1;
            text-transform: uppercase;
            font-size: 0.75rem;
            position: relative;
            padding-left: 12px;
        }

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

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 10px 18px;
            border-radius: 25px;
            position: relative;
            overflow: hidden;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        nav a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
            border-radius: 25px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        nav a::after {
            content: '◆';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%) scale(0);
            font-size: 0.5rem;
            color: var(--accent);
            transition: transform 0.3s ease;
        }

        nav a:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        nav a:hover::before {
            opacity: 1;
        }

        nav a:hover::after {
            transform: translateX(-50%) scale(1);
        }

        nav a.active {
            background: linear-gradient(135deg, rgba(124, 179, 66, 0.25), rgba(124, 179, 66, 0.15));
            border: 1px solid rgba(124, 179, 66, 0.5);
            font-weight: 600;
        }

        nav a.active::after {
            transform: translateX(-50%) scale(1);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .mobile-menu-toggle span {
            width: 100%;
            height: 3px;
            background-color: white;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

        /* Mobile Menu Overlay */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-menu-overlay.active {
            display: block;
            opacity: 1;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgba(26, 95, 90, 0.92) 0%, rgba(44, 120, 115, 0.88) 50%, rgba(35, 94, 90, 0.92) 100%),
                        url('images/hero-bg.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 5rem 0 4.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(ellipse at center, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
            pointer-events: none;
            animation: shimmer 8s ease-in-out infinite;
        }

        @keyframes shimmer {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.6; }
        }

        .hero-content {
            position: relative;
            z-index: 1;
            animation: fadeInUp 1s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h2 {
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            font-weight: 300;
            letter-spacing: 2px;
            line-height: 1.3;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .hero p {
            font-size: 1.25rem;
            max-width: 650px;
            margin: 0 auto;
            font-weight: 300;
            line-height: 1.8;
            letter-spacing: 0.8px;
            opacity: 0.95;
        }

        .btn {
            display: inline-block;
            background-color: var(--accent);
            color: white;
            padding: 12px 25px;
            border-radius: var(--border-radius);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: #3ad935; /* #e88a2a; */
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }

        /* Main Content */
        .main-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            padding: 3rem 0;
        }

        /* Posts */
        .posts {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

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

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

        .post-image {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .post-content {
            padding: 25px;
        }

        .post-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: var(--gray);
        }

        .post-meta i {
            margin-right: 5px;
        }

        .post-category {
            background-color: var(--secondary);
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        .post-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary-dark);
        }

        .post-excerpt {
            margin-bottom: 20px;
            color: var(--dark);
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .sidebar-widget {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 25px;
        }

        .widget-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
            color: var(--primary-dark);
        }

        .widget-list {
            list-style: none;
        }

        .widget-list li {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #eee;
        }

        .widget-list a {
            color: var(--dark);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 10px;
        }

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

        .widget-list i {
            color: var(--secondary);
        }

        .about-widget {
            text-align: center;
        }

        .doctor-photo-container {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 20px;
            border: 5px solid var(--secondary);
            overflow: hidden;
            cursor: pointer;
        }
        
        .doctor-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .doctor-photo:hover {
            transform: scale(1.05);
        }

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

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

        .social-links a:hover {
            background-color: var(--accent);
            transform: translateY(-3px);
        }

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

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

        footer a:hover {
            color: var(--accent);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 60px;
            margin-bottom: 2rem;
            align-items: start;
        }

        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--secondary);
            white-space: nowrap;
        }

        .footer-section p {
            margin-bottom: 10px;
            color: #ddd;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }

        .footer-column h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }

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

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 1024px) {
            /* Show mobile menu toggle earlier */
            .mobile-menu-toggle {
                display: flex;
            }

            nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                max-width: 300px;
                height: 100vh;
                background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
                padding: 80px 20px 20px;
                transition: right 0.3s ease;
                box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
                z-index: 1000;
                overflow-y: auto;
            }

            nav.active {
                right: 0;
            }

            nav ul {
                flex-direction: column;
                gap: 5px;
            }

            nav a {
                padding: 15px 20px;
                border-radius: 10px;
                font-size: 1.1rem;
                width: 100%;
            }

            nav a::after {
                display: none;
            }
        }

        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr 1fr;
                gap: 25px;
            }
        }

        @media (max-width: 768px) {
            /* Header */
            .header-content {
                flex-direction: row;
                gap: 15px;
            }

            /* Logo */
            .logo {
                gap: 10px;
            }

            .logo-icon {
                font-size: 1.8rem;
            }

            .logo-text h1 {
                font-size: 1rem;
                letter-spacing: 0.5px;
            }

            .logo-text p {
                font-size: 0.7rem;
                letter-spacing: 1px;
            }

            .logo-text::before {
                display: none;
            }

            /* Hero */
            .hero {
                padding: 3rem 0 2.5rem;
            }

            .hero h2 {
                font-size: 1.8rem;
                letter-spacing: 1px;
            }

            .hero p {
                font-size: 1.05rem;
            }

            /* Main Content */
            .main-content {
                grid-template-columns: 1fr;
                padding: 2rem 0;
                gap: 20px;
            }

            .posts {
                order: 1;
            }

            .sidebar {
                order: 2;
            }

            /* Post Cards */
            .post-card {
                margin: 0;
            }

            .post-image {
                height: 150px;
            }

            .post-content {
                padding: 20px;
            }

            .post-title {
                font-size: 1.3rem;
            }

            /* Footer */
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 480px) {
            .logo-text h1 {
                font-size: 0.9rem;
            }

            .hero h2 {
                font-size: 1.5rem;
            }

            .hero p {
                font-size: 1rem;
            }

            nav {
                width: 85%;
            }
        }

        /* Author Photo Styles - Missing from extraction */
        .widget-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
            color: var(--primary-dark);
        }

        .doctor-photo-container {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 20px;
            border: 5px solid var(--secondary);
            overflow: hidden;
            cursor: pointer;
        }

        .doctor-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .doctor-photo:hover {
            transform: scale(1.05);
        }

        .author-photo {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin: 0 auto 20px;
            border: 5px solid var(--secondary);
            overflow: hidden;
            cursor: pointer;
            object-fit: cover;
            transition: var(--transition);
        }

        .author-photo:hover {
            transform: scale(1.05);
        }

        /* Sidebar Social Links */
        .sidebar .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .sidebar .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            transition: var(--transition);
            text-decoration: none;
        }

        .sidebar .social-links a:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        /* SPA Specific Styles */

        /* Loading */
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            font-size: 1.2rem;
            color: var(--gray);
        }

        .loading i {
            margin-right: 10px;
            font-size: 1.5rem;
        }

        /* Full Post View */
        .post-full {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .back-button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-size: 1rem;
            margin: 20px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
        }

        .back-button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .post-header {
            padding: 2rem;
            border-bottom: 1px solid #eee;
            background: rgba(255, 255, 255, 0.95);
        }

        .post-header h1 {
            color: var(--dark);
            margin-bottom: 1rem;
            font-size: 2rem;
        }

        .post-content-full {
            padding: 2rem;
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .post-content-full img {
            max-width: 100%;
            height: auto;
            margin: 1rem 0;
            border-radius: var(--border-radius);
        }

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

        /* About page h1 styling */
        .post-content-full h1 {
            font-size: 1.3rem;
            color: var(--primary-dark);
            margin-bottom: 1.5rem;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin: 2rem 0;
            flex-wrap: wrap;
        }

        .pagination-btn {
            background: white;
            border: 2px solid var(--primary);
            color: var(--primary);
            padding: 8px 16px;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-size: 1rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .pagination-btn:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

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

        /* Read More Link */
        .read-more {
            color: var(--primary);
            text-decoration: underline;
            padding: 0;
            border: none;
            background: none;
            cursor: pointer;
            font-size: 0.95rem;
            transition: var(--transition);
            margin-top: 0.5rem;
            display: inline-block;
        }

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

        /* Active navigation states */
        nav a.active,
        .category-list a.active {
            background: rgba(255, 255, 255, 0.2) !important;
            color: white !important;
        }

        /* Error state */
        .error {
            background: #ff6b6b;
            color: white;
            padding: 2rem;
            border-radius: var(--border-radius);
            text-align: center;
            margin: 2rem 0;
        }

        /* Transition animations */
        .posts > * {
            animation: fadeInUp 0.5s ease forwards;
        }

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

        /* Category improvements */
        .category-list {
            list-style: none;
        }

        .category-list li {
            margin-bottom: 0.5rem;
        }

        .category-list a {
            display: block;
            padding: 8px 12px;
            border-radius: var(--border-radius);
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }

        .category-list a:hover {
            background: var(--primary);
            color: white;
        }

        .category-list a.active {
            background: var(--primary) !important;
            color: white !important;
        }

        /* Post meta styling from original template */
        .post-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: var(--gray);
            flex-wrap: wrap;
        }

        .post-meta i {
            margin-right: 5px;
        }

        .post-meta .category {
            background-color: var(--secondary);
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            text-decoration: none;
            display: inline-block;
        }

        .post-meta .category:hover {
            background-color: var(--primary);
            text-decoration: none;
        }

        /* Better image handling */
        .post-image {
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 200px;
        }

        /* Category link in posts */
        .category-link {
            background: var(--secondary);
            color: white !important;
            text-decoration: none;
            padding: 4px 12px;
            border-radius: var(--border-radius);
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .category-link:hover {
            background: var(--primary);
            transform: translateY(-2px);
        }

        /* External images in posts */
        .post-content-full img {
            max-width: 100%;
            height: auto;
            margin: 1rem 0;
            border-radius: var(--border-radius);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .post-content-full img[align="left"] {
            float: left;
            margin: 0 1rem 1rem 0;
        }

        .post-content-full img[align="right"] {
            float: right;
            margin: 0 0 1rem 1rem;
        }
