<!-- Стилі та скрипти з шаблону -->
<style>
/* Basic styles */
.article-container {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    color: #333;
    max-width: 100%;
    margin: 30px auto;
    padding: 30px 40px;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

/* Headings */
.article-container h1 {
    font-size: 2.2em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.article-container h2 {
    font-size: 1.7em;
    color: #34495e;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
}

.article-container h3 {
    font-size: 1.4em;
    color: #2980b9;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Text Elements */
.article-container p,
.article-container ul,
.article-container ol {
    font-size: 1.05em;
    color: #444;
    margin-bottom: 18px;
}

.article-container ul,
.article-container ol {
    padding-left: 25px;
}

.article-container ul li::marker {
    color: #3498db;
}

.article-container ol {
    list-style-type: decimal;
}

.article-container li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.article-container strong {
    font-weight: 600;
    color: #2c3e50;
}

/* Code styling */
.article-container code {
    background-color: #ecf0f1;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
    color: #555;
    border: 1px solid #e0e0e0;
}

.article-container abbr {
    text-decoration: none;
    border-bottom: 1px dotted #7f8c8d;
    cursor: help;
}

/* Tables */
.article-container .table-container {
    overflow-x: auto;
    margin-bottom: 25px;
}

.article-container .responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-container th,
.article-container td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}

.article-container th {
    background-color: #f2f5f7;
    font-weight: 600;
    color: #34495e;
}

.article-container tbody tr:nth-child(odd) {
    background-color: #fdfdfd;
}

.article-container tbody tr:hover {
    background-color: #f1f1f1;
}

/* Mobile Table Styles */
.article-container .mobile-table {
    display: none;
}

/* Blocks */
.article-container .conclusion-box {
    padding: 25px;
    background-color: #eafaf1;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-container .conclusion-box h2 {
    color: #27ae60;
    margin-top: 0;
    border-bottom: none;
}

.article-container .faq-box {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fdfdfd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.article-container .faq-box h2 {
    color: #34495e;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.6em;
    border-bottom: none;
}

.article-container .faq-box ul {
    list-style: none;
    padding-left: 0;
}

.article-container .faq-box li {
    margin-bottom: 20px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
    padding-left: 0;
}

.article-container .faq-box li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-container .faq-box h3 {
    color: #2980b9;
    margin-bottom: 10px;
    font-size: 1.2em;
    cursor: pointer;
}

.article-container .faq-box p {
    color: #555;
    margin-top: 5px;
    padding-left: 15px;
}

/* Banner Style */
.article-container .ups-banner {
    margin: 30px 0;
}

.article-container .banner-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    background-color: #eaf2f8;
    border: 1px solid #d4e6f1;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.article-container .banner-link:hover {
    background-color: #e4eff8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-container .banner-text-container {
    text-align: left;
}

.article-container .banner-text {
    font-size: 1.3em;
    font-weight: 600;
    color: #2e86de;
    display: block;
    margin-bottom: 5px;
}

.article-container .banner-subtext {
    font-size: 1.0em;
    color: #4a6a84;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Highlighting styles */
.article-container mark {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    color: inherit;
    font-weight: normal;
}

.article-container mark.warning {
    background-color: #ffe1e1;
    padding: 1px 3px;
    border-radius: 3px;
    color: #a30000;
    font-weight: 500;
}

/* Tip paragraph style */
.article-container .tip {
    font-style: italic;
    color: #5a6d7a;
    background-color: #f8f9fa;
    padding: 12px 18px;
    border-left: 4px solid #76d7c4;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 0.95em;
}

.article-container .tip strong {
    color: #4a6a84;
}

/* Table of Contents */
.article-container .table-of-contents {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-size: 0.95em;
}

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

.article-container .toc-toggle-icon {
    display: none;
    font-size: 1.1em;
    color: #007bff;
    transition: transform 0.3s ease;
}

.article-container .toc-list {
    margin-top: 10px;
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
}

.article-container .toc-list ul {
    margin-top: 8px;
    margin-left: 15px;
    padding-left: 0;
    list-style: none;
}

.article-container .toc-list ul li a {
    color: #555;
    font-size: 0.95em;
}

.article-container .table-of-contents h3 {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 0;
    color: #4a6a84;
    border-bottom: none;
}

.article-container .table-of-contents a {
    color: #007bff;
    text-decoration: none;
    display: block;
    padding: 4px 0;
}

.article-container .table-of-contents a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Breadcrumbs style */
.article-container .breadcrumb-nav {
    font-size: 0.9em;
    margin-bottom: 25px;
}

.article-container .breadcrumb-nav a {
    color: #007bff;
    text-decoration: none;
}

.article-container .breadcrumb-nav a:hover {
    text-decoration: underline;
}

.article-container .breadcrumb-nav span {
    color: #6c757d;
}

/* Author Info Box */
.article-container .author-info {
    display: flex;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 5px solid #3498db;
}

.article-container .author-avatar {
    margin-right: 20px;
}

.article-container .author-avatar img {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.article-container .author-bio h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    color: #2c3e50;
}

.article-container .author-bio h3 a {
    text-decoration: none;
    color: inherit;
}

.article-container .author-bio p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

.article-container .author-bio p:first-of-type {
    color: #7f8c8d;
    margin-bottom: 5px;
}

/* Figure and Figcaption */
.article-container figure {
    max-width: 700px;
    margin: 25px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.article-container figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

.article-container figcaption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

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

    .article-container h1 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .article-container h2 {
        font-size: 1.5em;
        margin-top: 30px;
    }

    .article-container h3 {
        font-size: 1.25em;
    }

    .article-container p,
    .article-container ul,
    .article-container ol {
        font-size: 1em;
    }

    .article-container .ups-banner .banner-link {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .article-container .ups-banner img {
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 120px;
    }

    .article-container .banner-text-container {
        text-align: center;
    }

    .article-container .banner-text {
        font-size: 1.2em;
    }

    .article-container .banner-subtext {
        font-size: 0.95em;
    }

    .article-container .author-info {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .article-container .author-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .article-container .author-avatar img {
        width: 70px;
        height: 70px;
    }

    .article-container .author-bio p {
        font-size: 0.85em;
    }

    .article-container .toc-toggle-icon {
        display: block;
    }

    .article-container .toc-header {
        padding-bottom: 10px;
    }

    .article-container .toc-list.collapsed {
        max-height: 0;
        opacity: 0;
        margin-top: 0;
        pointer-events: none;
    }

    .article-container .table-container {
        display: none;
    }

    .article-container .mobile-table {
        display: block;
    }

    .article-container .mobile-category {
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 6px;
        margin: 1rem 0;
        padding: 15px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    }

    .article-container .category-title {
        color: #34495e;
        font-size: 1.15em;
        font-weight: 600;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #f0f0f0;
    }

    .article-container .param {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #f9f9f9;
        font-size: 0.95em;
    }

    .article-container .param:last-child {
        border-bottom: none;
    }

    .article-container .param-name {
        color: #546e7a;
        font-weight: 500;
        margin-right: 10px;
    }

    .article-container .param-value {
        color: #333;
        font-weight: 500;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .article-container h1 {
        font-size: 1.6em;
    }

    .article-container h2 {
        font-size: 1.3em;
    }

    .article-container h3 {
        font-size: 1.15em;
    }

    .article-container .breadcrumb-nav {
        font-size: 0.8em;
    }
}