/* Extracted from PHP template; preserve original cascade position. */
:root {
            --primary-color: #094a7b;
            --primary-light: #e3f2fd;
            --accent-color: #094a7b;
            --text-dark: #1a1a1a;
            --text-muted: #5a6a7f;
            --border-color: #e1e8ed;
            --bg-light: #f8fafc;
            --shadow: 0 2px 8px rgba(0,0,0,0.08);
            --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #ffffff;
        }

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

        /* Article Header */
        .article-header {
            margin-bottom: 48px;
            padding-bottom: 32px;
            border-bottom: 2px solid var(--border-color);
        }

        .article-title {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 32px;
            color: var(--primary-color);
            letter-spacing: -0.02em;
        }

        /* Social share buttons under title */
        .social-share-bar {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 12px 20px;
            background: var(--bg-light);
            border-radius: 50px;
            margin-bottom: 32px;
            border: 1px solid var(--border-color);
        }

        .share-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
            margin-right: 8px;
        }

        .share-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: var(--transition);
            font-size: 16px;
            position: relative;
            overflow: hidden;
        }

        .share-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.1);
            opacity: 0;
            transition: var(--transition);
        }

        .share-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .share-btn:hover::before {
            opacity: 1;
        }

        .share-btn.vk { background: #4a76a8; }
        .share-btn.facebook { background: #1877f2; }
        .share-btn.twitter { background: #000000; font-family: system-ui; }
        .share-btn.linkedin { background: #0a66c2; }
        .share-btn.whatsapp { background: #25d366; }
        .share-btn.telegram { background: #0088cc; }

        /* Meta information */
        .meta-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .meta-block {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 24px;
            transition: var(--transition);
            box-shadow: var(--shadow);
        }

        .meta-block:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }

        .meta-title {
            font-weight: 700;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--primary-color);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .meta-title i {
            font-size: 16px;
            color: var(--accent-color);
        }

        .authors-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .author-tag {
            background: var(--primary-light);
            color: var(--primary-color);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            border: 1px solid rgba(9, 74, 123, 0.1);
        }

        .affiliation-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .affiliation-item {
            color: var(--text-muted);
            font-size: 14px;
            line-height: 1.5;
            padding-left: 12px;
            border-left: 3px solid var(--border-color);
        }

        .doi-link {
            color: var(--primary-color);
            text-decoration: none;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            word-break: break-all;
            background: var(--primary-light);
            padding: 8px 12px;
            border-radius: 6px;
            display: inline-block;
            transition: var(--transition);
            border: 1px dashed var(--primary-color);
        }

        .doi-link:hover {
            background: var(--primary-color);
            color: white;
            border-style: solid;
        }

        /* Main content */
        .content-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 48px;
        }

        @media (min-width: 1024px) {
            .content-layout {
                grid-template-columns: 2fr 350px;
            }
        }

        .main-content {
            background: white;
        }

        .content-section {
            margin-bottom: 48px;
        }

        .content-section:last-child {
            margin-bottom: 0;
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 3px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
        }

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

        .section-title i {
            color: var(--accent-color);
            font-size: 1.25rem;
        }

        /* Abstract */
        .abstract-item {
            margin-bottom: 20px;
            padding: 24px;
            background: var(--bg-light);
            border-radius: 12px;
            border-left: 4px solid var(--primary-color);
            transition: var(--transition);
        }

        .abstract-item:hover {
            box-shadow: var(--shadow);
            transform: translateX(4px);
        }

        .abstract-label {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 12px;
            display: block;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .abstract-text {
            color: var(--text-dark);
            line-height: 1.8;
            font-size: 16px;
            text-align: justify;
        }

        /* Keywords */
        .keywords-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .keyword-tag {
            background: white;
            border: 2px solid var(--border-color);
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 14px;
            color: var(--text-muted);
            font-weight: 500;
            transition: var(--transition);
            cursor: default;
        }

        .keyword-tag:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
            background: var(--primary-light);
            transform: translateY(-2px);
        }

        /* PDF Download */
        .pdf-download {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 28px;
            background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
            border: 2px solid var(--border-color);
            border-radius: 16px;
            text-decoration: none;
            color: var(--text-dark);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .pdf-download::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--accent-color);
            transition: var(--transition);
        }

        .pdf-download:hover {
            border-color: var(--primary-color);
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }

        .pdf-download:hover::before {
            width: 100%;
            opacity: 0.05;
        }

        .pdf-icon {
            width: 64px;
            height: 64px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #0a5a8f 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(9, 74, 123, 0.3);
        }

        .pdf-info h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--primary-color);
        }

        .pdf-info p {
            color: var(--text-muted);
            font-size: 14px;
        }

        /* References list */
        .references-list {
            list-style: none;
            counter-reset: ref-counter;
        }

        .references-list li {
            counter-increment: ref-counter;
            margin-bottom: 20px;
            padding: 20px 20px 20px 60px;
            position: relative;
            line-height: 1.7;
            color: var(--text-dark);
            background: var(--bg-light);
            border-radius: 8px;
            transition: var(--transition);
            border: 1px solid transparent;
        }

        .references-list li:hover {
            background: white;
            border-color: var(--border-color);
            box-shadow: var(--shadow);
        }

        .references-list li::before {
            content: counter(ref-counter);
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-color);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(9, 74, 123, 0.3);
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 24px;
            height: fit-content;
        }

        .sidebar-block {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 24px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .sidebar-block:hover {
            box-shadow: var(--shadow-hover);
        }

        .sidebar-block:last-child {
            margin-bottom: 0;
        }

        .sidebar-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sidebar-title i {
            color: var(--accent-color);
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .info-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .info-item i {
            color: var(--accent-color);
            margin-top: 2px;
            font-size: 18px;
            width: 24px;
            text-align: center;
        }

        .info-label {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            display: block;
            margin-bottom: 4px;
            font-weight: 700;
        }

        .info-value {
            color: var(--text-dark);
            font-size: 15px;
            font-weight: 500;
            line-height: 1.4;
        }

        /* Info blocks */
        .info-block {
            margin-bottom: 24px;
            padding: 24px;
            background: var(--bg-light);
            border-radius: 12px;
            border-left: 4px solid var(--accent-color);
        }

        .info-block:last-child {
            margin-bottom: 0;
        }

        .info-block-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .info-block-title i {
            color: var(--accent-color);
            font-size: 16px;
        }

        .info-block-content {
            color: var(--text-muted);
            line-height: 1.7;
            font-size: 14px;
        }

        .correspondence-note {
            margin-top: 24px;
            padding: 20px;
            background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
            border-radius: 12px;
            border: 1px solid #ffe082;
            font-size: 14px;
            line-height: 1.6;
        }

        .correspondence-note strong {
            color: var(--primary-color);
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
        }

        /* Social share at the bottom (additional) */
        .share-section {
            margin-top: 40px;
            padding: 32px;
            background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
            border-radius: 16px;
            text-align: center;
            border: 2px dashed var(--border-color);
        }

        .share-section-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .share-buttons-row {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .share-btn-large {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 24px;
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .share-btn-large:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        }

        .share-btn-large.vk { background: #4a76a8; }
        .share-btn-large.telegram { background: #0088cc; }
        .share-btn-large.whatsapp { background: #25d366; }

        /* Errors */
        .error-message {
            text-align: center;
            padding: 60px 20px;
            font-size: 18px;
            color: var(--text-muted);
            background: var(--bg-light);
            border-radius: 16px;
            border: 2px dashed var(--border-color);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .article-container {
                padding: 20px 16px;
            }

            .article-title {
                font-size: 1.75rem;
                line-height: 1.3;
            }

            .social-share-bar {
                flex-wrap: wrap;
                justify-content: center;
                border-radius: 16px;
            }

            .meta-section {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .meta-block {
                padding: 20px;
            }

            .pdf-download {
                flex-direction: column;
                text-align: center;
                gap: 16px;
            }

            .references-list li {
                padding-left: 50px;
                font-size: 14px;
            }

            .share-buttons-row {
                flex-direction: column;
                align-items: stretch;
            }

            .share-btn-large {
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .article-title {
                font-size: 1.5rem;
            }

            .section-title {
                font-size: 1.25rem;
            }

            .abstract-text {
                font-size: 15px;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .article-header,
        .content-section,
        .sidebar-block {
            animation: fadeIn 0.6s ease-out forwards;
        }

        .content-section:nth-child(2) { animation-delay: 0.1s; }
        .content-section:nth-child(3) { animation-delay: 0.2s; }
        .content-section:nth-child(4) { animation-delay: 0.3s; }
        .sidebar-block:nth-child(2) { animation-delay: 0.15s; }
