/*
    Created on : 23.06.2022, 00:56:00
    Author     : Alekhnovich Oleg (https://webplatinum.net)
*/

/* CUSTOMIZE THE MAIN CAROUSEL
-------------------------------------------------- */

body {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", Arial, Helvetica, sans-serif;
}

h3 { font-size: 1.7rem }

#mainCarousel .carousel {
    margin-bottom: 4rem;
}

#mainCarousel .carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

#mainCarousel .carousel-item {
    height: 32rem;
}

#mainCarousel .carousel-bg-filter {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: black;
    background: rgba(0, 0, 0, 0.5);
}

/* CAROUSEL FOR ADDITIONAL PRODUCT IMAGES
-------------------------------------------------- */
.additional-carousel-indicator {
    opacity: .5;
    transition: all 0.3s ease;
}

.additional-carousel-indicator:hover {
    opacity: 1;
    transition: all 0.3s ease;
}

.additional-carousel-indicator.active {
    opacity: 1;
    transition: all 0.3s ease;
}

/* CUSTOMIZE THE JUMBOTRON
-------------------------------------------------- */
.jumbotron-bg-filter {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #e9ecef;
    background: rgba(0, 0, 0, 0.4);
}

/* MAIN CONTENT
-------------------------------------------------- */
a {
    color: #b3864d;
}

a:hover {
    color: #003b77;
}

.text-darkblue {
    color: #003b77;
}

.text-orange {
    color: #e64c16;
}

.bg-darkblue {
    background-color: #003b77;
}

.bg-orange {
    background-color: #e64c16;
}

.error404 {
    font-size: 5rem;
}

@media (min-width: 390px) {
    .error404 {
        font-size: 7rem;
    }
}

@media (min-width: 576px) {
    .error404 {
        font-size: 10rem;
    }
}

@media (min-width: 768px) {
    .error404 {
        font-size: 14rem;
    }
}

@media (min-width: 1200px) {
    .error404 {
        font-size: 14rem;
    }
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #003b77;
}

.aspect-ratio-1x1 {
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
}

.aspect-ratio-4x3 {
    aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
}

.aspect-ratio-16x9 {
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
}

/* PAGINATION
-------------------------------------------------- */
.pagination {
    --bs-pagination-color: #333;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #003b77;
    --bs-pagination-active-border-color: #003b77;
}

/* USER ACCOUNT
-------------------------------------------------- */
@media (min-width: 768px) {
    .sidebar .offcanvas-lg {
        position: sticky;
        top: 48px;
    }

    .navbar-search {
        display: block;
    }
}

.sidebar .nav-link {
    font-size: .875rem;
}

.sidebar .nav-link.active {
    font-weight: 500;
    color: #e64c16 !important;
}

.sidebar-heading {
    font-size: .75rem;
}

/* 3th LEVEL SUBMENU (BOOTSTRAP 5.x)
-------------------------------------------------- */
.dropdown-submenu,
.dropdown-item {
    position: relative;
}

.dropdown-submenu>a.dropdown-toggle::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 3px;
    top: 0;
    bottom: 0;
    align-self: center;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.dropdown-submenu>.dropdown-menu-end {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 0.1rem;
}

.dropdown-submenu>a.dropdown-toggle.dropdown-toggle-start::after {
    transform: rotate(90deg);
    right: unset;
    left: 0;
}

/* BUTTON UP
-------------------------------------------------- */
#btn-back-to-top {
    position: fixed;
    bottom: 7px;
    right: 7px;
    display: none;
}

/* CSS3 EFFECTS
-------------------------------------------------- */
.fade-effect {
    -webkit-transition: all 0.3s ease;
    ;
    -moz-transition: all 0.3s ease;
    ;
    -o-transition: all 0.3s ease;
    ;
    transition: all 0.3s ease;
    opacity: 1;
}

.fade-effect:hover {
    -webkit-transition: all 0.3s ease;
    ;
    -moz-transition: all 0.3s ease;
    ;
    -o-transition: all 0.3s ease;
    ;
    transition: all 0.3s ease;
    opacity: 0.7;
}

/* MEDIA (BOOTSTRAP BREAKPOINTS)
-------------------------------------------------- */
/*
@media (min-width: 390px) {

}
@media (min-width: 576px) {

}
@media (min-width: 768px) {

}
@media (min-width: 992px) {

}
@media (min-width: 1200px) {

}
@media (min-width: 1400px) {

}
*/
/****************************** https://uja.com.ua/ ************************************************/

.bt_bb_headline_superheadline {
    color: #384e5c;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    font-size: 1.25rem;
    /* margin-bottom: 1.45em;*/
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1em;
    text-transform: uppercase;
}

.bt_bb_headline_superheadline:before {
    content: "";
    display: inline-block;
    width: 2.65em;
    border-top: 1px solid #384e5c;
    flex-shrink: 0;
}


.bt_bb_headline_superheadwhite {
    color: #ffffff;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    letter-spacing: 2px;
    font-size: 1.25rem;
    /* margin-bottom: 1.45em;*/
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1em;
    text-transform: uppercase;
}

.bt_bb_headline_superheadwhite:before {
    content: "";
    display: inline-block;
    width: 2.65em;
    border-top: 1px solid #ffffff;
    flex-shrink: 0;
}

.bt_bb_headline {
    display: block;
    color: inherit;
    color: #b3864d;
}

.btn-primary {
    --bs-btn-hover-bg: #b3864d !important;
    background-color: #2b2c2e;
    /*  min-height: 3.3125rem;*/
    --bs-btn-border-color: #462a06;
    --bs-btn-hover-border-color: #b3864d;
    --bs-btn-active-color: #97703c;
    --bs-btn-active-bg: #97703c;
}
/*
.btn-info {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #b3864d;
    --bs-btn-border-color: #b3864d;
    --bs-btn-hover-color: #d9d9d9;
    --bs-btn-hover-bg: #384e5c;
    --bs-btn-hover-border-color: #9a7646;
    --bs-btn-focus-shadow-rgb: 11, 172, 204;
    --bs-btn-active-color: white;
    --bs-btn-active-bg: #b3864d;
    --bs-btn-active-border-color: #b3864d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #525252;
    --bs-btn-disabled-border-color: #525252;
}
    */

    .btn-info {
        --bs-btn-color: #ffffff;
        --bs-btn-bg: #99713e;
        --bs-btn-border-color: #99713e;
        --bs-btn-hover-color: #d9d9d9;
        --bs-btn-hover-bg: #384e5c;
        --bs-btn-hover-border-color: #9a7646;
        --bs-btn-focus-shadow-rgb: 11, 172, 204;
        --bs-btn-active-color: white;
        --bs-btn-active-bg: #b3864d;
        --bs-btn-active-border-color: #b3864d;
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #000;
        --bs-btn-disabled-bg: #525252;
        --bs-btn-disabled-border-color: #525252;
    }

.btn-secondary:hover {
    box-shadow: 0 0 0 4em #384e5c inset;
    color: #ffffff;
}

.bt_bb_button_text {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    letter-spacing: 0px;
    /*  font-size: .875rem;*/
    font-weight: 400;
}

.bt_bb_headline_subheadline,
.bt_bb_headline_subheadline ul li {
    font-size: 1.25rem;
    line-height: 1.6;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    letter-spacing: 0px;
    font-weight: 300;
}

.image-block {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    border-radius: 20px;
}

.image-block-pict-1 {
    background-image: url(../images/pages/work-1.webp);
}

.image-block-pict-2 {
    background-image: url(../images/pages/work-2.webp);
}

.image-block-pict-3 {
    background-image: url(../images/pages/work-3.webp);
}

.image-block-pict-4 {
    background-image: url(../images/pages/education-1-1.webp);
}

.image-block-pict-5 {
    background-image: url(../images/pages/manda-2.webp);
}

.image-block-pict-6 {
    background-image: url(../images/pages/pict-2-iaap.webp);
}

.image-block-pict-7 {
    background-image: url(../images/pages/tree-of-life-structure-symbols-diagram.webp);
}

.image-block-pict-8 {
    background-image: url(../images/pages/vienna.webp);
}




.blurred-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 220px;
    /* Высота заблуренной части */
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.calendar-circle {
    position: absolute;
    left: 40px;
    /* Отступ слева */
    top: 0;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background-color: #b3864d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.blurred-text {
    /*  text-align: center;
padding: 0 100px;*/
    /* Чтобы текст не наезжал на круг */
    color: #333;
    /* Цвет текста для контраста */
    font-weight: 500;
}


/**************************************/
.team-bg {

    background-color: rgb(244, 244, 244);
}

.team-picture {
    background-color: rgb(244, 244, 244);
    background-image: url(../images/pages/our-team-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 40vw;
}

.mill-picture {
    background-color: rgb(244, 244, 244);
    background-image: url(../images/pages/old-mill.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}

.boat-picture {
    background-color: rgb(244, 244, 244);
    background-image: url(../images/pages/boat.webp);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100%;
}

.fire-picture {
    background-color: rgb(244, 244, 244);
    background-image: url(../images/pages/jung-mandala-fire.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}

.zmey-picture {
    background-color: rgb(244, 244, 244);
    background-image: url(../images/pages/zmey.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100%;
}


.testimon-picture {
    background-color: rgb(244, 244, 244);
    background-image: url(../images/pages/testimon.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 40vw;
}




.hanging-block,
.hanging-right {

    backdrop-filter: blur(6px);
    /*  background-color: rgba(255, 255, 255, 0.7);*/
    padding: 20px;

}

.general-topics h3 {
    font-family: 'Roboto';
    font-weight: 300;
}

.general-topics p {
    opacity: .7;
}

/*p {
    opacity: .7;
}*/

.service-primary-color {
    color: #b3864d;
}

.jung-bg-color {
    background-color: #b3864d;
}

.get-in-touch {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.4)),
        url(../images/pages/background_04.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 20vw;
}

.get-in-touch-filter {
    margin: 50px;
    padding: 50px;
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.63);

}

@media (max-width: 991px) {
    .get-in-touch-filter {

        margin: 20px;

    }
}

.footer-heading {
    color: #906e44;
    font-size: .8125rem;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    letter-spacing: 2px;

}

.footer-text {
    font-size: 1em;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    opacity: 0.7;
    color: #1f2022;
    text-decoration: none;

}

.general-topics-bg {
    /*  position: relative;*/
    background-image: url(../images/pages/background_05.webp);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}

.background-mill {
    background-image: url(../images/pages/background-mill-01.webp);
    background-position: left;
    background-repeat: no-repeat;
}


.bt_bb_testimonial_quote_icon span:before {
    content: "\e901" !important;
}

.quote-rotated {
    transform: rotate(180deg);
    display: inline-block;
    /* важливо! */
}

@media (max-width: 991px) {

    .team-picture,
    .testimon-picture {

        min-height: 80vw;
    }

    .boat-picture,
    .testimon-picture {

        min-height: 80vw;
    }
}

/* Отключаем стандартные маркеры */
.custom-list ul {
    list-style-type: none;
    padding-left: 20px;
}

/* Стили для пунктов всех списков */
.custom-list ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 8px;
}

/* Маркер для первого уровня (круг + галочка) */
.custom-list ul>li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><g transform="translate(0 1024) scale(0.1 -0.1)"><path fill="%234dabf7" d="M4860 9084 c-300 -21 -720 -99 -985 -184 -118 -38 -365 -145 -630 -275 -321 -157 -580 -346 -899 -656 -289 -281 -513 -564 -636 -804 -25 -49 -74 -142 -108 -205 -131 -245 -254 -568 -321 -840 -52 -212 -105 -578 -116 -795 -3 -66 -8 -158 -11 -205 -5 -81 9 -253 41 -530 41 -336 128 -672 255 -976 84 -201 133 -296 263 -514 146 -245 147 -246 257 -385 52 -66 114 -145 137 -175 115 -151 403 -430 573 -556 179 -132 235 -172 390 -274 168 -111 218 -138 432 -234 151 -67 208 -87 458 -160 305 -89 425 -114 702 -147 217 -26 661 -31 863 -10 694 73 1252 277 1829 668 76 51 176 123 223 160 95 74 351 312 484 449 105 109 339 419 416 551 137 236 243 429 267 486 115 280 162 418 207 597 103 419 133 667 134 1095 0 310 -3 349 -51 640 -30 179 -38 212 -116 468 -76 252 -133 395 -264 671 -120 252 -193 368 -381 601 -133 165 -414 466 -531 569 -103 90 -435 336 -553 409 -115 72 -458 238 -643 311 -63 25 -119 46 -124 46 -4 0 -63 18 -129 40 -195 64 -375 101 -688 141 -154 19 -598 33 -745 23z m719 -669 c502 -70 969 -246 1386 -523 243 -162 369 -264 570 -466 367 -368 583 -730 764 -1276 176 -536 206 -1134 84 -1714 -51 -247 -247 -784 -346 -951 -267 -449 -592 -814 -958 -1076 -315 -225 -758 -434 -1101 -518 -315 -78 -592 -107 -927 -98 -419 11 -790 86 -1161 232 -418 165 -749 378 -1064 685 -225 219 -387 419 -539 668 -163 267 -231 414 -326 704 -250 767 -225 1609 70 2312 169 402 403 762 682 1045 137 139 198 192 381 329 269 203 473 319 761 431 304 119 674 208 975 235 121 10 630 -2 749 -19z"/></g></svg>');

    background-size: contain;
}

.custom-list ul>li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><g transform="translate(0 1024) scale(0.1 -0.1)"><path fill="black" d="M6663 6719 c-59 -23 -115 -76 -284 -274 -97 -115 -626 -721 -1019 -1171 -457 -522 -752 -854 -759 -854 -4 0 -20 15 -36 33 -15 17 -80 86 -144 152 -64 66 -305 319 -535 562 -299 316 -430 448 -460 462 -235 114 -491 -44 -474 -293 7 -105 40 -159 195 -319 430 -443 1002 -1041 1138 -1189 146 -159 200 -191 323 -191 61 1 83 6 136 32 68 33 55 20 579 606 270 301 821 926 1033 1171 100 115 297 342 438 504 142 162 266 312 277 332 46 89 46 207 -1 299 -29 55 -114 126 -173 144 -71 21 -170 18 -234 -6z"/></g></svg>');

    background-size: contain;
}

.custom-list ul ul>li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 0;
    height: 0;
    border-left: 10px solid #a5d8ff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/**************************************/

.checklist {
    list-style: none;
    padding: 0;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

.checklist li {
    padding: 8px 0 8px 30px;
    position: relative;
    margin-bottom: 5px;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 25px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #b3864d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.checklist a {
    text-decoration: none;
    color: #000000;
    /* черный */
}

.board h4,
h5 {
    font-family: 'Roboto';
    font-weight: 300;
}

.jung-border {
    border-left: 3px solid #b3864d;
    padding-left: 10px;
}

.bg-analitik {
    color: white;
    background-color: #384e5c;
    /*  width: 140px;*/
}

.bg-analitik:hover {
    color: #000000;
    background-color: #b3864d;
}

.bg-supervizor {
    color: white;
    background-color: #384e5c;
    /*  width: 140px;*/
}

.bg-supervizor:hover {
    color: #000000;
    background-color: #b3864d;
}

.jung-head {
    font-family: 'Roboto';
    font-weight: 300;
}

/******************* NEWS CARD PREVIEW ***********************/
.news-card {
    height: 100%;
    transition: transform 0.2s;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Контейнер для изображения с фиксированным соотношением сторон */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    /* Соотношение 3:2 (высота составляет 2/3 от ширины) */
    overflow: hidden;
    background-color: #f8f9fa;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Важно: обрезает изображение под размер контейнера */
    object-position: center;
}

.card-subtitle {
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: #384e5c;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;

}

.card-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/*************************** VIDEO CARDS MAIN ***********************/
.video-card {
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Контейнер для видео с соотношением 16:9 */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background-color: #000;
    cursor: pointer;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Превью и плей кнопка (пока видео не загружено) */
.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    transition: all 0.3s;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background-color: #ff0000;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

/* Информация о видео */
.card-body {
    padding: 1rem;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 0.85rem;
}

.video-meta i {
    font-size: 0.9rem;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.channel-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.channel-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #212529;
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #6c757d;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    letter-spacing: 0.5px;
}

/*************** TITLES ********************/
.sub-section {
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 3px solid #b3864d;
}

strong {
    color: #1a3e4c;
}

.annotation,
.keywords {
    background-color: #f8f9fa;
    padding: 1.2rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.author-note {
    font-size: 0.9rem;
    color: #6c757d;
    border-bottom: 1px dashed #ced4da;
    padding-bottom: 0.5rem;
}

blockquote {
    font-size: 1rem;
    background: #f9f9f9;
    border-left: 10px solid #d4af37;
    margin: 1.5rem 0;
    padding: 1.2rem 1.5rem;
    quotes: "\201C" "\201D" "\2018" "\2019";
    font-style: italic;
    color: #2c3e50;
}


/* Стилі для цитат */
.blockquote-custom {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    color: #886435;
    padding: 1.5rem 2.5rem;
    margin: 2rem 0;
    background: #f4f6f9;
    border-left: 5px solid #b3864d border-radius: 0 12px 12px 0;
    font-style: italic;
}



.blockquote-author {
    display: block;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    margin-top: 1rem;
    color: #4a5b6e;
}

/* Стилі для снів (текст) */
.dream-text {
    font-family: 'Lora', serif;
    background-color: #f0f3f7;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    border: 1px solid #e0e6ed;
    font-style: italic;
    color: #1e2b3a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4e5458;
    --bs-btn-hover-border-color: #4e5458;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
}

/**************** LITERATURE TITLES ************************/

.literature {
    font-size: 20px;
    color: #000000;
}

.literature a {
    color: #000000;
    /* text-decoration: none;*/
    font-weight: 300;
}

.literature a:hover {
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 400;
}

/*

.analitics {

  color: #000000;
}
*/
.analitics {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
}

.analitics:hover {
    color: #b3864d;
    text-decoration: none;
    /*font-weight: 400;*/
}

/****************** СТАТТІ ***********/
.lead-block {
    font-size: 1rem;
    background: #fef8e7;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    margin: 1.2rem 0;
    border: 1px solid #f0e2c5;
}

.keyword-chip {
    background: #e9e3da;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a3b2c;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem 0;
}

.keyword-chip {
    background: #e9e3da;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a3b2c;
}

.quote-feldman {
    font-style: normal;
    background: #f2eee9;
    padding: 1rem 1.8rem;
    border-radius: 24px;
    margin: 1.5rem 0;
    border: 1px solid #e2d5ca;
    color: #2f3e2e;
}

.protocol-box {
    background-color: #fefaf5;
    border-left: 4px solid #b38b6d;
    padding: 1.2rem 1.5rem;
    margin: 1.6rem 0;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.protocol-box strong {
    color: #9b5e3c;
}

.biblio-item {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.section-title {
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
    margin-top: 1.8rem;
    margin-bottom: 0.75rem;
    color: #4a5b3c;
    border-bottom: 2px solid #e2d9cf;
    padding-bottom: 0.3rem;
}

.badge-author {
    background-color: #e7e0d4;
    color: #5d3a1e;
    font-family: monospace;
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.myth-list {
    list-style-type: none;
    padding-left: 0;
}

.myth-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.myth-list li:before {
    content: "✧";
    position: absolute;
    left: 0;
    color: #b38b6d;
}

.epigraph {
    text-align: center;
    font-style: italic;
    color: #6b5a48;
    margin: 1.5rem 0;
    padding: 0.8rem;
    border-top: 1px solid #e9e2d8;
    border-bottom: 1px solid #e9e2d8;
}

.footnote {
    font-size: 0.8rem;
    color: #5e5b55;
    margin-top: 0.3rem;
    border-left: 2px solid #e0d6cb;
    padding-left: 1rem;
}

.footnotes-section {
    margin-top: 2rem;
    background-color: #faf8f4;
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.author-note {
    background: #f2efe9;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.bibliography {
    background-color: #faf8f4;
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    margin-top: 2rem;
    font-size: 0.85rem;
}

.biblio-item {
    margin-bottom: 0.4rem;
}

.diary-entry {
    font-style: italic;
    background: #fef5e8;
    padding: 0.8rem 1.2rem;

    margin: 1rem 0;
    color: #5b4a38;
    border-left: 3px solid #c2a575;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.7rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

.vignette {
    background: #f9f4ea;
    padding: 1.2rem 1.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    border: 1px solid #e7dfd2;
}

.quote-box {
    background-color: #fefaf5;
    border-left: 4px solid #b38b6d;
    padding: 1.2rem 1.5rem;
    margin: 1.6rem 0;
    font-size: 0.95rem;
}

.dedication {
    font-style: italic;
    color: #6b5a48;
    text-align: center;
    margin: 1.5rem 0;
    padding: 0.8rem;
    border-top: 1px solid #e9e2d8;
    border-bottom: 1px solid #e9e2d8;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.7rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}

/*************** trainingprocesses **********/
table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
    font-size: 0.95rem;
}

th,
td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: top;
}

th {
    background-color: #b3864d;
    font-weight: 600;
}

.highlight-block {
    background-color: #f8f8f8;
    border-left: 4px solid #b3864d;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.badge-section {
    background-color: #e9ecef;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary);
}

.text-accent {
    color: #b3864d;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0;
}

.section-divider i {
    font-size: 1.5rem;
    color: #d4af37;
    margin: 0 1rem;
}

.section-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.appendix {
    background-color: #b3864d14;
    border: 1px solid #f1c40f;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.appendix h3 {
    color: #b8860b;
}

.fa-ul {
    --fa-li-width: 2em;
}

.list-icon {
    color: #b3864d;
}

/*************   EQUAL *****************/
.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-row .col-lg-9,
.equal-height-row .col-lg-3 {
    display: flex;
    flex-direction: column;
}

.equal-height-row .col-lg-3 img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .equal-height-row .col-lg-3 {
        margin-top: 1rem;
    }
}

/************ CARDS MAIN PAGE ***********************************/

.card-hover-wrapper:hover .card-top {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.card-hover-wrapper:hover .card-title {
    transform: scale(1.04);
}

.card-hover-wrapper:hover .card-image {
    transform: scale(1.1);
}

.card-description {
    margin: 0px;

}

.card-hover-wrapper:hover .card-description {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #f8f9fa !important;
}

.card-top:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

.card-top:hover .card-title {
    transform: scale(1.06) !important;
}

.card-top:hover .card-image {
    transform: scale(1.15) !important;
}

.card-description:hover {
    transform: scale(1.04) translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    background-color: #e9ecef !important;
}

.card-top,
.card-description,
.card-title,
.card-image {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover-wrapper {
    display: block;
    cursor: pointer;
}

/***************************************/
.page-with-divider h2 {
    border-top: 1px solid #b3864d;
    margin-top: 20px;
}

/*************** videos ****************************/
header {
    text-align: center;
    margin-bottom: 50px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background: var(--card);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info {
    order: 2;
    margin-top: 15px;
}

.info h2 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.05rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    order: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 10px 20px;
    background: var(--card);
    border: 2px solid #6c757d;
    border-radius: 25px;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination button:hover {
    background: #8b5d00;
    color: white;
}

.pagination button.active {
    background: #6c757d;
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#loading {
    text-align: center;
    font-size: 1.5rem;
    margin: 50px 0;
}

#no-videos {
    text-align: center;
    font-size: 1.2rem;
    color: #8b5d00;
    margin: 50px 0;
    display: none;
}

@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

.book-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
    gap: 8px;
}

.book-line:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
}

.book-author {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #1a1a1a;
    min-width: 180px;

}

.book-title {
    font-weight: 400;
    color: #3d3d3d;
    flex: 1;
}

@media (max-width: 576px) {
    .book-line {
        flex-direction: column;
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
    }

    .book-author {
        min-width: auto;
        margin-bottom: 0.2rem;
    }

    .book-title {
        margin-left: 0;
        padding-left: 0;
    }
}

.group-wrapper .display-5 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding-left: 1rem;
    color: #2c3e50;
}

.group-wrapper {
    padding: 0.5rem 0;
}

.bg-light .book-author {
    color: #7e5b2d;
}

.book-index {
    flex-shrink: 0;
    width: 2.2em;
    text-align: right;
    white-space: nowrap;
}

.book-text {
    flex: 1;
    word-break: break-word;
}

.group-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.book-group {
    transition: all 0.2s ease;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}
.badge-date {
    background-color: #c7a25220;
    font-weight: normal;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    display: inline-block;
}

    .lead-author {
        font-size: 1rem;
        color: #4a4a4a;
        border-bottom: 1px solid #e2e2e2;
        padding-bottom: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .abstract-box {
        background-color: #f9f7f3;
        border-left: 6px solid #b08b6f;
        padding: 1.25rem 1.5rem;
        margin: 1.8rem 0;

        font-size: 0.98rem;
    }

    .keywords {
        font-size: 0.9rem;
        color: #5a4a3a;
        background: #f0ede8;
        display: inline-block;
        padding: 0.3rem 1rem;
        border-radius: 30px;
        margin-top: 0.5rem;
    }

    .correspondence-card {
        background: #fefaf5;
        border-radius: 20px;
        padding: 1.2rem 1.5rem;
        margin: 1.5rem 0;
        border: 1px solid #ece3da;
        font-family: 'Courier New', 'Lucida Sans Typewriter', monospace;
        font-size: 0.95rem;
    }

    .letter {
        margin-bottom: 1rem;
        white-space: pre-line;
    }

    .letter strong {
        font-family: monospace;
        font-weight: 600;
        color: #5c3e2e;
    }

    img.figure-img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
        margin: 0.8rem 0;
        background: #faf9f7;
    }

    .fig-caption {
        font-size: 0.8rem;
        color: #5e5b57;
        text-align: center;
        margin-bottom: 1.2rem;
        font-style: italic;
    }

    .blockquote-note {
        font-size: 0.95rem;
        background: #fef7e0;
        padding: 0.8rem 1.2rem;
        border-radius: 14px;
        margin: 1rem 0;
        border-left: 4px solid #cb9e72;
    }

    @media (max-width: 768px) {
        .paper-container {
            padding: 1.2rem;
        }

        .correspondence-card {
            padding: 0.8rem 1rem;
        }
    }

    .section-title {
        font-size: 1.5rem;
        margin-top: 1.8rem;
        margin-bottom: 1rem;
        font-weight: 500;
        border-left: 4px solid #b08b6f;
        padding-left: 0.9rem;
    }

    .ref-list {
        font-size: 0.85rem;
        line-height: 1.4;
        list-style: none;
        padding-left: 0;
    }

    .ref-list li {
        margin-bottom: 0.3rem;
    }

    .card-video .video-placeholder {
        aspect-ratio: 16 / 9;
        background: #000;
    }
    .card-video .video-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    @font-face {
        font-family: 'Playfair Display';
        src: url('../fonts/PlayfairDisplay-Black.woff2') format('woff2');
        font-weight: 900;
        font-style: normal;
        font-display: swap;
    }
    
    @font-face {
        font-family: 'Playfair Display';
        src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }
    
    @font-face {
        font-family: 'Playfair Display';
        src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
        font-weight: bold;
        font-style: normal;
        font-display: swap;
    }
    
    @font-face {
        font-family: 'Playfair Display';
        src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2');
        font-weight: normal;
        font-style: italic;
        font-display: swap;
    }
    
    @font-face {
        font-family: 'Playfair Display';
        src: url('../fonts/PlayfairDisplay-BlackItalic.woff2') format('woff2');
        font-weight: 900;
        font-style: italic;
        font-display: swap;
    }
    
    @font-face {
        font-family: 'Playfair Display';
        src: url('../fonts/PlayfairDisplay-BoldItalic.woff2') format('woff2');
        font-weight: bold;
        font-style: italic;
        font-display: swap;
    }
    /**********************NEW COURSE******************************/
    .lead-sub {
        font-size: 1.2rem;
        font-weight: 400;
        color: #5f4c43;
        border-bottom: 1px solid #e4d5c8;
        display: inline-block;
        padding-bottom: 0.3rem;
    }
    .quote-text {
        font-size: 1.65rem;
        font-style: italic;
        font-weight: 500;
        color: #7a5a4a;
        line-height: 1.4;
    }
    .card-hover {
        transition: all 0.25s ease-in-out;
        border: none;
        background: #ffffffdd;
        backdrop-filter: blur(0px);
        border-radius: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.02), 0 2px 6px rgba(0,0,0,0.05);
    }
    .card-hover:hover {
        transform: translateY(-5px);
        background: white;
        box-shadow: 0 20px 30px -12px rgba(90, 60, 40, 0.12);
        border: 1px solid #f0e2d6;
    }
    .bg-warm {
        background-color: #fef5ed;
    }
    .btn-outline-earth {
        border: 1.5px solid #b48c6c;
        color: #5e3e32;
        border-radius: 40px;
        padding: 0.5rem 1.8rem;
        font-weight: 500;
        transition: 0.2s;
    }
    .btn-outline-earth:hover {
        background-color: #b48c6c;
        color: white;
    }
    .icon-circle {
        background-color: #f0e3d9;
        width: 58px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 60px;
        color: #6b4c38;
        font-size: 1.8rem;
    }
    .list-bullet-custom {
        list-style: none;
        padding-left: 0;
    }
    .list-bullet-custom li {
        padding-left: 1.5rem;
        position: relative;
        margin-bottom: 0.6rem;
    }
    .list-bullet-custom li:before {
        content: "✦";
        color: #b48c6c;
        position: absolute;
        left: 0;
        font-weight: normal;
    }
    .program-grid {
        background: white;
        border-radius: 28px;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    }
    .appendix-title {
        font-size: 1.1rem;
        letter-spacing: 2px;
        font-weight: 600;
        color: #ae8a70;
    }
    hr.divider-light {
        background-color: #e9d9cf;
        height: 1px;
        opacity: 0.6;
    }
    @media (max-width: 768px) {
        h1 { font-size: 2.4rem; }
        h2 { font-size: 1.9rem; }
        .quote-text { font-size: 1.3rem; }
    }
    .badge-iaap {
        background-color: #e7dbd0;
        color: #553c30;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: 50px;
    }