/*html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: Roboto;
}*/

/* #region AdminIndex styles*/
/*.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-top: 20px;
}

    .admin-table th, .admin-table td {
        border: 2px solid #343a40;
        padding: 18px 16px;
        vertical-align: middle;
    }

    .admin-table tr:nth-child(even) {
        background: aliceblue;
    }

    .admin-table th:nth-child(2) {
        width: 14%;
    }

    .admin-table tbody tr:hover {
        background-color: beige;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }

    .admin-table th {
        background: #f5f7fa;
        font-weight: 600;
        font-size: 1.05em;
        border-bottom: 2px solid #d1d5db;
    }

    .admin-table a {
        text-decoration: none;
    }

    .admin-table .action-buttons {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }*/
/*#endregion*/

/* #region Article styles*/

/* Back to Top button styles */
/*#toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0d6efd;
    color: white;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 50px;
    height: 50px;
    line-height: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.3s, background-color 0.3s;
}

    #toTopBtn:hover {
        background-color: #0b5ed7;
    }*/

/* Current image (main article image) - floated with text wrapping */
/*#current_img {
    max-width: 300px;
    height: auto;
    float: left;
    margin: 0 20px 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}*/

/* Article body images without current_img id - centered with max width */
/*.news_c div[itemprop="articleBody"] picture img:not(#current_img) {
    max-width: 620px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    clear: both;*/ /* Prevents overlap with floated images */
/*}*/

/* Article body videos - centered */
/*.news_c div[itemprop="articleBody"] iframe,
.news_c div[itemprop="articleBody"] video {
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    clear: both;*/ /* Prevents overlap with floated images */
/*}*/

/* Article body responsive for mobile */
/*@media (max-width: 768px) {
    #current_img {
        max-width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }

    .news_c div[itemprop="articleBody"] picture img:not(#current_img) {
        max-width: 100%;
    }
}*/

/*#endregion*/

/*#region Index styles*/
/*.news-list-container {
    max-width: 960px;
    margin: 0 auto;
}

.news-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
}

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }

.news-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-title a {
    transition: color 0.2s;
}

    .card-title a:hover {
        color: #0d6efd !important;*/ /* Bootstrap primary color */
    /*}*/

/* Адаптивність для мобільних пристроїв */
/*@media (max-width: 767px) {
    .news-card-img {
        height: 200px;*/ /* Трохи менша висота зображення на мобільних */
        /*border-bottom-left-radius: 0;
        border-top-right-radius: var(--bs-card-inner-border-radius);
    }
}*/
/*#endregion*/
/* Global Defaults */
html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: 'Segoe UI', Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Focus States for Accessibility */
.btn:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* =========================================
   ARTICLE BODY CONTENT (Dynamic HTML) 
   ========================================= */
.article-body-content {
    line-height: 1.8;
    color: #212529;
}

    /* Make all images inside the article responsive */
    .article-body-content img {
        max-width: 100%;
        height: auto !important;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        display: block;
    }

        /* Handle floating image from TinyMCE if user selects float */
        .article-body-content img[style*="float: left"],
        .article-body-content img.alignleft {
            float: left;
            margin-right: 1.5rem;
            margin-bottom: 1rem;
        }

        .article-body-content img[style*="float: right"],
        .article-body-content img.alignright {
            float: right;
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }

    /* Handle Iframes (Videos) */
    .article-body-content iframe,
    .article-body-content video,
    .article-body-content .embed-content iframe {
        max-width: 100%;
        border-radius: 8px;
        margin: 1.5rem auto;
        display: block;
        /* Basic aspect ratio fix if width/height attributes are missing */
        aspect-ratio: 16 / 9;
    }

    /* Typography spacing inside articles */
    .article-body-content p {
        margin-bottom: 1.25rem;
    }

    .article-body-content h2, .article-body-content h3 {
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .article-body-content ul, .article-body-content ol {
        margin-bottom: 1.5rem;
        padding-left: 2rem;
    }

    .article-body-content blockquote {
        border-left: 4px solid #0d6efd;
        padding-left: 1rem;
        font-style: italic;
        color: #6c757d;
        margin: 1.5rem 0;
    }






