﻿/* ============================================
   UTMOST CUP THEME — BRAND COLORS
   ============================================ */

:root {
    /* Основний фірмовий зелений */
    --uc-green: #13694c;
    --uc-green-rgb: 19, 105, 76;
    /* Темніші відтінки */
    --uc-green-dark: #0f563f;
    --uc-green-darker: #0b3f2e;
    /* Світлий акцент */
    --uc-green-light: #19a06e;
    /* Преміальний золотий (для акцентів, переможців, VIP) */
    --uc-gold: #d4a437;
    --uc-gold-dark: #b88721;
    /* М'який фон */
    --uc-green-soft-bg: rgba(19, 105, 76, .08);
    /* Перевизначення Bootstrap */
    --bs-primary: var(--uc-green);
    --bs-primary-rgb: var(--uc-green-rgb);
    --bs-success: var(--uc-green);
    --bs-success-rgb: var(--uc-green-rgb);
    --bs-link-color: var(--uc-green);
    --bs-link-hover-color: var(--uc-green-dark);
    --bs-link-decoration: none;
    --bs-link-hover-decoration: underline;
    --bs-success: #13694c;
    --bs-success-rgb: 19, 105, 76;
}

body .text-success {
    color: var(--uc-green) !important;
}

dl dd {
    color: var(--uc-green) !important;
}

article img{
    max-width: 100%;
}

article a {
    text-decoration: underline;
    font-weight: 700;
}

/* Базовий колір посилань */
a,
a:link,
a:visited {
    color: var(--uc-green);
    text-decoration-color: var(--uc-green);
}

    /* Наведення */
    a:hover,
    a:focus {
        color: var(--uc-green);
        text-decoration-color: var(--uc-green);
        opacity: 0.85;
    }

    /* Активний стан */
    a:active {
        color: var(--uc-green);
        text-decoration-color: var(--uc-green);
    }

/* Для кнопок-посилань Bootstrap */
.btn-link {
    color: var(--uc-green) !important;
}

    .btn-link:hover,
    .btn-link:focus {
        color: var(--uc-green) !important;
        opacity: 0.85;
    }

@media (max-width: 991.98px) {
    .navbar-expand-lg.navbar-dark .navbar-nav {
        background-color: var(--uc-green) !important;
    }
}

/* Для nav-link */
.nav-link {
    color: var(--uc-green) !important;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px !important;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-success,
.btn-uc-gradient {
    background-color: var(--uc-green) !important;
    border-color: var(--uc-green) !important;
    color: #fff !important;
}

    .btn-success:hover,
    .btn-uc-gradient:hover {
        background-color: var(--uc-green-dark) !important;
        border-color: var(--uc-green-dark) !important;
    }

    .btn-success:active,
    .btn-uc-gradient:active,
    .btn-success:focus,
    .btn-uc-gradient:focus {
        background-color: var(--uc-green-darker) !important;
        border-color: var(--uc-green-darker) !important;
        box-shadow: 0 0 0 0.25rem rgba(19, 105, 76, .35) !important;
    }

/* Outline */
.btn-outline-success {
    color: var(--uc-green) !important;
    border-color: var(--uc-green) !important;
}

    .btn-outline-success:hover {
        background-color: var(--uc-green) !important;
        color: #fff !important;
    }


.link-light {
    color: white !important;
}

    .link-light:hover {
        text-decoration: underline !important;
        color: white !important;
    }

    .link-light::selection {
        color: white !important;
        background: rgba(255,255,255,0.25) !important;
    }

.text-white::selection {
    color: white;
    background: rgba(255,255,255,0.25); /* світлий фон при виділенні */
}

body .nav-tabs .nav-link.active {
    color: var(--uc-green) !important;
    border-bottom-color: var(--uc-green) !important;
}

body .nav-tabs .nav-link:hover {
    color: var(--uc-green) !important;
}


    /* ============================================
   NAVIGATION / TABS / DROPDOWN
   ============================================ */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--uc-green);
    color: #fff;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--uc-green);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--uc-green);
    color: #fff;
}

.nav-item a {
    color: #677788;
    text-decoration-color: #677788 !important;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-item a:hover,
    .nav-item a:focus {
        color: #677788;
        text-decoration-color: #677788 !important;
        opacity: 0.8; /* трохи темніший/виразніший */
    }

.dropdown-toggle::after {
    border-top: none;
}

    /* ============================================
   CARDS & HEADINGS
   ============================================ */
    .card-title, .card-header .card-title, .card-body h1, .card-body h2, .card-body h3, .card-body h4, .card-body h5 {
    color: var(--uc-green);
}

.card {
    border-radius: 0.65rem;
    border: 1px solid rgba(19, 105, 76, .15);
}

.card-header {
    border-bottom-color: rgba(19, 105, 76, .15);
}

body .bg-success {
    background-color: var(--uc-green) !important;
}

/* ============================================
   BADGES / ALERTS
   ============================================ */

.badge.bg-primary,
.badge.text-bg-primary,
.badge.bg-success,
.badge.text-bg-success {
    background-color: var(--uc-green) !important;
}

.alert-success {
    background-color: var(--uc-green-soft-bg);
    color: var(--uc-green-darker);
    border-color: rgba(19, 105, 76, 0.2);
}

/* ============================================
   FORMS
   ============================================ */

.form-check-input:checked {
    background-color: var(--uc-green);
    border-color: var(--uc-green);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(19, 105, 76, .5);
    box-shadow: 0 0 0 0.25rem rgba(19, 105, 76, .25);
}

/* ============================================
   PAGINATION
   ============================================ */

.page-link {
    color: var(--uc-green);
}

    .page-link:hover {
        color: var(--uc-green-dark);
    }

.page-item.active .page-link {
    background-color: var(--uc-green) !important;
    border-color: var(--uc-green) !important;
    color: #fff !important;
}

.datepicker table tr td,
.datepicker table tr th {
    padding: 6px !important;
}

.btn-white {
    color: black !important;
    border: 1px solid transparent;
    transition: all .2s ease-in-out;
}

    .btn-white:hover {
        color: black !important;
        border-color: grey !important;
        background-color: white !important;
        text-decoration: none;
        opacity: 1;
    }

/* ============================================
   TABLES — МАТЧІ, ГРУПИ, РЕЗУЛЬТАТИ
   ============================================ */
.table thead th {
    color: white;
    font-weight: 600;
}

.table-success,
.table-success > th,
.table-success > td {
    background-color: rgba(19, 105, 76, .1);
}

.table-hover tbody tr:hover {
    background-color: var(--uc-green-soft-bg);
}

/* Перемога / Нічия / Поразка */
.uc-win {
    background-color: #e8f6f1 !important;
    color: var(--uc-green-darker);
}

.uc-draw {
    background-color: #fff6d6 !important;
    color: #9d7a00;
}

.uc-loss {
    background-color: #ffe5e5 !important;
    color: #b70000;
}

/* ============================================
   PREMIUM GOLD ELEMENTS (для чемпіонів, топ-матчів)
   ============================================ */

.uc-gold {
    color: var(--uc-gold) !important;
}

.uc-gold-bg {
    background-color: var(--uc-gold) !important;
    color: #fff;
}

.uc-gold-border {
    border-color: var(--uc-gold) !important;
}

/* Градієнтний преміальний фон */
.uc-premium-gradient {
    background: linear-gradient(135deg, var(--uc-gold) 0%, var(--uc-green-dark) 100%);
    color: #fff;
}

/* ============================================
   HERO / SECTION BACKGROUNDS
   ============================================ */

.uc-section-green {
    background: linear-gradient(135deg, var(--uc-green-dark), var(--uc-green));
    color: #fff;
}

.uc-section-soft {
    background: var(--uc-green-soft-bg);
}


/* ============================================================
   UTMOST CUP — PREMIUM GRADIENT BUTTON
   ============================================================ */

.btn-uc-gradient {
    background: linear-gradient(135deg, #13694c 0%, #0b3f2e 100%);
    border: none;
    color: #fff !important;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 0.6rem;
    letter-spacing: 0.5px;
    transition: 0.2s ease-in-out;
    box-shadow: 0 4px 14px rgba(19, 105, 76, .35);
    text-transform: uppercase;
}

    .btn-uc-gradient:hover {
        background: linear-gradient(135deg, #0f563f 0%, #093224 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(19, 105, 76, .45);
    }

    .btn-uc-gradient:active {
        background: linear-gradient(135deg, #093224 0%, #06281c 100%);
        transform: translateY(0);
        box-shadow: 0 2px 10px rgba(19, 105, 76, .25);
    }

    .btn-uc-gradient.uc-gold-border {
        border: 2px solid #d4a437;
    }


.btn-theme-toggle {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, .4);
    background-color: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-light .btn-theme-toggle {
    border-color: rgba(0, 0, 0, .2);
    color: #13694c;
}

.btn-theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}






























/* ============================================================
   UTMOST CUP — мої стилі
   ============================================================ */


.navbar-brand-logo {
    min-width: 9.5rem !important;
}

.hero {
    background-image: url('/images/background-image.jpg');
    background-size: cover;
    background-position: bottom;
    position: relative;
    color: white;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        background-color: rgba(0, 0, 0, 0.30); /* 0.5 = 50% затемнення */
        z-index: 1;
    }

    .hero .content {
        position: relative;
        z-index: 2;
    }




/* ==== Topbar for MAIN PAGE ==== */
.topbar-main {
    position: relative; /* важливо */
    background: transparent !important;
    z-index: 1050;
}

    .topbar-main a:hover {
        opacity: 0.75;
        transition: 0.2s;
    }

/* ===== OTHER PAGES ===== */
.topbar-default {
    background: #fff;
    border-bottom: 1px solid #efefef;
    z-index: 1050;
    position: relative; /* важливо */
}

/* Navbar компенсує висоту topbar */
body:not(.page-main) header.navbar {
    margin-top: 42px; /* висота topbar */
}

.navbar-topbar a:hover {
    opacity: 0.75;
    transition: 0.2s;
}

/* Соціальні іконки */
.navbar-social .social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    font-size: 1.25rem;
    transition: 0.2s ease;
    margin: 0 0.35rem; /* красивий відступ між іконками */
}

    .navbar-social .social-item:hover {
        opacity: 0.75;
    }


/* Карточка турніру Utmost Cup */
.uc-tourney-card {
    border-radius: 0.9rem;
    border: 1px solid rgba(19, 105, 76, 0.12);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    background-color: #ffffff;
}

    /* Ховер-ефект: легкий підйом + тінь + брендова рамка */
    .uc-tourney-card:hover {
        transform: translateY(-6px);
        border-color: var(--uc-green, #13694c);
        box-shadow: 0 12px 30px rgba(19, 105, 76, 0.25);
        background-color: rgba(19, 105, 76, 0.02);
    }

/* Зображення: однакова висота, обрізка по центру */
.uc-tourney-card-img {
    object-fit: cover;
    max-height: 200px;
    width: 100%;
}

/* Заголовок — брендовий колір */
.uc-tourney-card .card-title {
    color: var(--uc-green, #13694c);
    font-size: 1rem;
    font-weight: 600;
}

/* Футер + бейдж року народження */
.uc-tourney-card .card-footer {
    background-color: rgba(19, 105, 76, 0.03);
    border-top: 1px solid rgba(19, 105, 76, 0.12);
}

.uc-tourney-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--uc-green, #13694c), #0b3f2e);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}


/* ===============================
   UTMOST CUP VIDEO CARD
   =============================== */

.uc-video-card {
    display: block;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0.8rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.uc-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75) );
    transition: 0.25s ease;
}

.uc-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(19, 105, 76, 0.25);
}

    .uc-video-card:hover .uc-video-overlay {
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85) );
    }

/* Категорія відео (Highlights, Goals, Full Match) */
.uc-video-category {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 999px;
}

/* PLAY badge */
.uc-video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(19, 105, 76, 0.9);
    padding: 0.3rem 0.65rem;
    font-size: 1.1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.uc-video-card:hover .uc-video-badge {
    background: #19a06e;
    color: white !important;
}

/* Текст внизу */
.uc-video-content {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    padding: 0 10px;
    z-index: 4;
}

.uc-video-description {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 4px;
}

.uc-video-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}


/* ================================
   UTMOST CUP – PLAYGROUND CARD
   ================================ */

.uc-playground-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* вища, пропорційна картка */
    border-radius: 1rem;
    overflow: hidden;
}

/* Основне посилання-картка */
.uc-playground-main {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Фото */
.uc-playground-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* Затемнення */
.uc-playground-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6) );
    transition: background 0.3s ease;
}

/* Контент (текст) */
.uc-playground-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.2rem 1.15rem;
    z-index: 2;
}

.uc-playground-title {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.uc-playground-address {
    margin: 0.15rem 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #f5f5f5;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.uc-playground-desc {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: #e8e8e8;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

/* Hover-ефект */
.uc-playground-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(19, 105, 76, 0.25);
}

    .uc-playground-main:hover .uc-playground-image {
        transform: scale(1.06);
    }

    .uc-playground-main:hover .uc-playground-overlay {
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75) );
    }

/* Google Maps button */
.uc-playground-mapbtn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    padding: 0.45rem 0.55rem;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, transform 0.25s ease;
}

    .uc-playground-mapbtn:hover {
        background: var(--uc-green, #13694c);
        transform: scale(1.12);
    }



/* ================================
   UTMOST CUP – HOTEL CARD
   ================================ */

.uc-hotel-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* високі, преміальні картки */
    border-radius: 1rem;
    overflow: hidden;
}

/* Основне посилання */
.uc-hotel-main {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Зображення */
.uc-hotel-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* Затемнення */
.uc-hotel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.65) );
    transition: background 0.3s ease;
}

/* Текст всередині картки */
.uc-hotel-content {
    position: absolute;
    bottom: 0;
    padding: 1.2rem 1.25rem;
    z-index: 2;
}

.uc-hotel-title {
    margin: 0 0 0.2rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.4px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
}

.uc-hotel-address {
    margin: 0.3rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f0f0f0;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.uc-hotel-desc {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #e4e4e4;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.55);
}

/* Hover */
.uc-hotel-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(19, 105, 76, 0.25);
}

    .uc-hotel-main:hover .uc-hotel-image {
        transform: scale(1.06);
    }

    .uc-hotel-main:hover .uc-hotel-overlay {
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.8) );
    }

/* Google Maps кнопка */
.uc-hotel-mapbtn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    padding: 0.45rem 0.55rem;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, transform 0.25s ease;
}

    .uc-hotel-mapbtn:hover {
        background: var(--uc-green, #13694c);
        transform: scale(1.12);
    }





/* ================================
   UTMOST CUP – TEAM PORTRAIT CARD
   ================================ */

/* Фото — пропорційний портрет */
.uc-team-photo {
    width: 100%;
    aspect-ratio: 3 / 4; /* портретне співвідношення */
    object-fit: cover;
    display: block;
}




/* Карта фото */
.uc-photo-cover-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .uc-photo-cover-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(19, 105, 76, 0.25);
    }

/* Фото на фоні */
.uc-photo-cover-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Легке загальне затемнення, щоби фото не “горіло” */
.uc-photo-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}

/* Іконка перегляду */
.uc-photo-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    padding: 0.45rem 0.55rem;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #fff;
    backdrop-filter: blur(4px);
    opacity: 0.9;
}

/* ================================
   GLASSMORPHISM LABEL
   ================================ */

.uc-photo-glass {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    padding: 0.8rem 0.9rem;
    /* Скляний ефект */
    background: rgba(0, 0, 0, 0.45);
    border-radius: 0.9rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* Назва альбому */
.uc-photo-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
}

/* Опис (можеш прибрати, якщо не потрібен) */
.uc-photo-desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #f3f3f3;
    opacity: 0.95;
}

.logo-wrapper {
    padding-top: 15px;
    width: 150px; /* або 120px — як тобі більше підходить */
    height: 150px; /* квадрат */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* зберігає пропорції логотипу */
    }



/* Загальний блок регламенту */
.regulations {
    margin: 2rem auto;
}

    /* Картки акардіона */
    .regulations .accordion-item {
        border: 1px solid #e5e7eb;
        border-radius: .75rem;
        overflow: hidden;
        margin-bottom: .75rem;
        background-color: #ffffff;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
    }

    /* Заголовок акардіона */
    .regulations .accordion-button {
        font-size: 0.98rem;
        font-weight: 600;
        padding: 0.75rem 1rem;
        background-color: #f9fafb;
        color: #111827;
        border: none;
        box-shadow: none;
        border-left: 4px solid transparent;
    }

        /* Стан "розкрито" */
        .regulations .accordion-button:not(.collapsed) {
            background-color: rgba(19, 105, 76, 0.08); /* легкий зелений відтінок */
            color: var(--uc-green);
            border-left-color: var(--uc-green);
            box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
        }

        /* При фокусі не робимо синю рамку */
        .regulations .accordion-button:focus {
            box-shadow: none;
        }

        /* Стрілочка справа – трохи менша */
        .regulations .accordion-button::after {
            transform-origin: center;
            width: .9rem;
            height: .9rem;
        }

    /* Тіло акардіона */
    .regulations .accordion-body {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0.75rem 1rem 1rem;
        background-color: #ffffff;
    }

        /* Внутрішні заголовки (1.1, 6.1 тощо) */
        .regulations .accordion-body h3.h6 {
            font-size: 0.95rem;
            text-transform: none;
            letter-spacing: 0;
            margin-bottom: .35rem;
            color: #111827;
        }

        /* Типографіка списків */
        .regulations .accordion-body p {
            margin-bottom: 0.5rem;
        }

        .regulations .accordion-body ul,
        .regulations .accordion-body ol {
            margin-bottom: 0.5rem;
            padding-left: 1.2rem;
        }

            .regulations .accordion-body ul ul,
            .regulations .accordion-body ol ul {
                margin-top: 0.25rem;
            }

        /* Трохи менші маркери */
        .regulations .accordion-body li {
            margin-bottom: 0.25rem;
        }

        /* Горизонтальні лінії всередині */
        .regulations .accordion-body hr {
            opacity: 0.5;
        }

        /* Виділення важливого тексту */
        .regulations .accordion-body strong {
            color: #111827;
        }

/* Адаптація для мобіли */
@media (max-width: 576px) {
    .regulations {
        margin: 1.5rem 0;
        padding: 0 .5rem;
    }

        .regulations .accordion-button {
            font-size: 0.9rem;
            padding: 0.65rem 0.85rem;
        }

        .regulations .accordion-body {
            font-size: 0.9rem;
            padding: 0.65rem 0.85rem 0.9rem;
        }
}



/* Загальний стиль блоків */
.gift-card {
    position: relative;
    border-radius: 0.5rem;
}

/* Десктоп: картинка повинна займати всю висоту */
@media (min-width: 768px) {
    .gift-card-img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Мобільний: картинка зверху, 100% ширини */
@media (max-width: 767.98px) {
    .gift-card-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.navbar-dark .navbar-toggler {
    background-color: rgb(128 128 128 / 50%) !important;
}

.viber-icon {
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .viber-icon {
        width: 22px;
        height: 22px;
    }
}
