/*
 * Doplnkové štýly témy — predtým inline v wp_head (includes/actions.php).
 * Načítava sa na frontende po screen.css aj v editore (GeneralSetup), aby bloky v adminovi vyzerali 1:1.
 */
a.inner {
    text-decoration: none;
}

.content-wrap.blog {
    padding: 0 20vw;
}

.price-info-box .price-info-list li {
    display: inline-block;
    width: 100%;
}

.content-wrap.blog .wp-block-list {
    padding-left: 20px;
    margin: 0;
}

.content-wrap.blog .page-title {
    margin-top: 30px;
    margin-bottom: 30px;
}

.price bdi {
    /*//do not split*/
    white-space: nowrap;
}

a:where(:not(.wp-element-button)) {
    text-decoration: none;

}

.logo-box {
    max-width: 180px;
}

.breadcrumbs-list {
    margin: 0 auto;
    padding: 0;
    justify-content: flex-start;
}

.trip-hero-section .breadcrumbs-list,
.order-hero-section .breadcrumbs-list,
.article-hero-section .breadcrumbs-list {
    padding: 0 4vw;
}

.trip-hero-section img,
.article-hero-section img {
    max-height: 75vh;
}

#sb_instagram .sbi_photo {
    opacity: 1 !important;
}

#sb_instagram .sbi_photo img {
    border-radius: 20px;
    opacity: 1 !important;
}

.order-hero-section:after,
.trip-hero-section:after,
.article-hero-section:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.51) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.38) 100%);
    border-radius: 20px;

}

.info-value-item.status-1,
.trip-box .info-value-item.status-1 .icon {
    color: green;
}


.info-value-item.status-2,
.trip-box .info-value-item.status-2 .icon {
    color: orange;
}

.info-value-item.status-3,
.trip-box .info-value-item.status-3 .icon {
    color: red;
}

.info-value-item.status-4,
.trip-box .info-value-item.status-4 .icon {
    color: grey;
}

.trip-sidebar.loading,
.order-sidebar.loading {
    pointer-events: none;
    opacity: 1;

}

.trip-sidebar.loading svg,
.order-sidebar.loading svg {
    display: block !important;
    width: 100%;
    height: 50px;
    top: 50%;
    right: 0;
    left: 0;
    z-index: 1;
    position: absolute;
    animation: fly 5s ease-in-out infinite, float .5s ease-in-out infinite;
}

.trip-sidebar.loading::after,
.order-sidebar.loading::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 116%;
    left: 0;
    right: 0;
    border-radius: 20px;
    top: 0;
    opacity: 1;
    backdrop-filter: blur(2px);
}

.faq-box .question button{
    color: black;
}

@keyframes fly {
    0% {
        transform: translateX(-100px) translateY(0) rotate(45deg);
    }

    40% {
        transform: translateX(100px) translateY(-5px) rotate(45deg);
    }
    50% {
        transform: translateX(100px) translateY(-5px) rotate(-135deg);
    }
    90% {
        transform: translateX(-100px) translateY(0) rotate(-135deg);
    }
    100% {
        transform: translateX(-100px) translateY(0) rotate(135deg);
    }
}

@keyframes float {
    0%, 100% {
        filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.3));
    }
}


@media (max-width: 1840px) {
    .trip-hero-section .trip-info-boxes-container {
        left: 2vw;
    }
}

@media (max-width: 1440px) {
    .archive-filter-form .radio-field {
        padding: 15px 20px;
    }

}

@media (max-width: 1290px) {
    .trip-hero-section:after,
    .order-hero-section:after,
    .article-hero-section:after {
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.12) 100%)
    }


}

@media (max-width: 991px) {
    .order-hero-section:after,
    .trip-hero-section:after,
    .article-hero-section:after {
        background: none;
    }

    .order-hero-section .background.fit-image,
    .article-hero-section .background.fit-image,
    .trip-hero-section .background.fit-image {
        filter: brightness(0.7);
    }

    .post-type-archive-product .woocommerce-products-header__title {
        font-size: 1.5rem;
    }

}

@media (max-width: 600px) {
    .archive-filter-form .radio-field {
        padding: 10px 10px;
    }
}

.trip-hero-section .content-wrap .trip-info-boxes-container,
.trip-hero-section .content-wrap > .text,
.article-hero-section .content-wrap > .text {
    z-index: 9;
}


.hero-background-slider .text {
    z-index: 1;
}

.page-header #main-menu .menu-item {
    padding: 9px 18px;
    color: black;
}

.page-header #main-menu .menu-item:hover a {
    text-decoration: underline;
    text-underline-offset: 10px;
}

.page-header #main-menu .menu-item.current_page_item {
    background: #ef7c70;
    border-radius: 500px;
    color: white;
}

.page-header #main-menu .menu-item.current_page_item a {
    color: white;
}

ul.wp-block-list {
    list-style-type: disc;
}

body:has(.hero-section) .page-header #main-menu .menu-item a,
body:has(.order-hero-section) .page-header #main-menu .menu-item a,
body:has(.article-hero-section) .page-header #main-menu .menu-item a,
body:has(.trip-hero-section) .page-header #main-menu .menu-item a {
    color: white;
}

body:has(.hero-section) .page-header #main-menu .menu-item.current_page_item,
body:has(.order-hero-section) .page-header #main-menu .menu-item.current_page_item,
body:has(.article-hero-section) .page-header #main-menu .menu-item.current_page_item,
body:has(.trip-hero-section) .page-header #main-menu .menu-item.current_page_item {
    background: white;
    padding: 9px 18px;
    border-radius: 500px;
    color: black;
}

body:has(.hero-section) .page-header #main-menu .menu-item.current_page_item a,
body:has(.order-hero-section) .page-header #main-menu .menu-item.current_page_item a,
body:has(.article-hero-section) .page-header #main-menu .menu-item.current_page_item a,
body:has(.trip-hero-section) .page-header #main-menu .menu-item.current_page_item a {
    color: black;
}

body:has(.hero-section) .page-header, body:has(.order-hero-section) .page-header, body:has(.article-hero-section) .page-header, body:has(.trip-hero-section) .page-header {
    backdrop-filter: blur(7px);
    background: rgba(255, 255, 255, 0.1);
}

.header-main-nav .pages-list {
    align-content: center;
    align-items: center;
    margin-bottom: 0 !important;
}

.wp-block-quote {
    position: relative;
    padding: 50px;
    font-size: 22px;
}

.wp-block-quote .cite {
    font-style: normal;
}

.wp-block-quote:after,
.wp-block-quote:before {
    content: "";
    position: absolute;
    width: 72px;
    height: 49px;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}

.wp-block-quote::after {
    bottom: -10px;
    right: 50px;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='49' viewBox='0 0 72 49' fill='none'><g clip-path='url(%23clip0)'><path d='M0.530397 31.2236C0.489072 31.9707 0.487813 32.709 0.532895 33.4346C0.737014 36.7315 1.88034 39.9084 3.83889 42.5239C6.56383 46.1634 10.7126 48.4958 15.1657 48.8877C24.0142 49.6664 31.8259 42.9069 32.6136 33.7899C33.4 24.6728 26.8657 16.6517 18.0159 15.873C17.9908 15.8704 17.967 15.8692 17.942 15.8667C19.9732 9.37901 22.9398 4.32112 25.1826 1.01662C25.1388 1.05328 23.9416 1.43 23.6674 1.52734C22.8809 1.80925 22.102 2.11517 21.3331 2.44385C19.1892 3.36289 17.0478 4.36157 15.1632 5.76099C8.58375 10.6482 4.00294 16.7452 1.78893 24.4326C1.15653 26.6271 0.655622 28.933 0.529142 31.2211L0.530397 31.2236Z' fill='%239DC6C4'/><path d='M39.3527 31.1541C39.3113 31.9012 39.3101 32.6395 39.3552 33.3651C39.5593 36.662 40.7026 39.8388 42.6612 42.4544C45.3861 46.0939 49.5349 48.4263 53.9879 48.8181C62.8365 49.5956 70.6482 42.8374 71.4358 33.7203C72.2223 24.6032 65.6879 16.5822 56.8381 15.8034C56.8131 15.8009 56.7893 15.7997 56.7642 15.7971C58.7954 9.30948 61.7621 4.2516 64.0049 0.947093C63.961 0.983753 62.7639 1.36047 62.4896 1.45781C61.7032 1.73971 60.9243 2.04564 60.1554 2.37432C58.0115 3.29336 55.8701 4.29205 53.9854 5.69147C47.406 10.5787 42.8252 16.6757 40.6112 24.363C39.9788 26.5576 39.4779 28.8634 39.3514 31.1516L39.3527 31.1541Z' fill='%239DC6C4'/></g><defs><clipPath id='clip0'><rect width='71' height='48' fill='white' transform='translate(71.5 48.9484) rotate(-180)'/></clipPath></defs></svg>");
}

.wp-block-quote::before {
    top: -30px;
    left: 50px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='49' viewBox='0 0 72 49' fill='none'><g clip-path='url(%23clip0)'><path d='M0.530397 31.2236C0.489072 31.9707 0.487813 32.709 0.532895 33.4346C0.737014 36.7315 1.88034 39.9084 3.83889 42.5239C6.56383 46.1634 10.7126 48.4958 15.1657 48.8877C24.0142 49.6664 31.8259 42.9069 32.6136 33.7899C33.4 24.6728 26.8657 16.6517 18.0159 15.873C17.9908 15.8704 17.967 15.8692 17.942 15.8667C19.9732 9.37901 22.9398 4.32112 25.1826 1.01662C25.1388 1.05328 23.9416 1.43 23.6674 1.52734C22.8809 1.80925 22.102 2.11517 21.3331 2.44385C19.1892 3.36289 17.0478 4.36157 15.1632 5.76099C8.58375 10.6482 4.00294 16.7452 1.78893 24.4326C1.15653 26.6271 0.655622 28.933 0.529142 31.2211L0.530397 31.2236Z' fill='%239DC6C4'/><path d='M39.3527 31.1541C39.3113 31.9012 39.3101 32.6395 39.3552 33.3651C39.5593 36.662 40.7026 39.8388 42.6612 42.4544C45.3861 46.0939 49.5349 48.4263 53.9879 48.8181C62.8365 49.5956 70.6482 42.8374 71.4358 33.7203C72.2223 24.6032 65.6879 16.5822 56.8381 15.8034C56.8131 15.8009 56.7893 15.7997 56.7642 15.7971C58.7954 9.30948 61.7621 4.2516 64.0049 0.947093C63.961 0.983753 62.7639 1.36047 62.4896 1.45781C61.7032 1.73971 60.9243 2.04564 60.1554 2.37432C58.0115 3.29336 55.8701 4.29205 53.9854 5.69147C47.406 10.5787 42.8252 16.6757 40.6112 24.363C39.9788 26.5576 39.4779 28.8634 39.3514 31.1516L39.3527 31.1541Z' fill='%239DC6C4'/></g><defs><clipPath id='clip0'><rect width='71' height='48' fill='white' transform='translate(71.5 48.9484) rotate(-180)'/></clipPath></defs></svg>");
}

.trip-box .fit-image img {
    transition: transform 0.3s ease-in-out;
}

.trip-box:hover .fit-image img {
    transform: scale(1.1);
}

.trip-box:hover .price span {
    transition: opacity 0.3s ease-in-out;
}

.trip-box:hover .price span {
    opacity: 1;
}

.trip-box:hover .button {
    background: #ef7c70;
    color: #ffffff;
}

.trip-box .trip-title {
    font-size: 16px;
    height: 2lh;
}

.trip-box .inner .description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.available-count {
    font-size: 12px;
    color: #ef7c70;
    font-weight: 500;
}

.available-count.none {
    font-size: 12px;
    color: #847F7E;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1290px ) {
    .page-header #main-menu .menu-item {
        padding: 9px 9px;
    }
}

@media (max-width: 991px) {
    .header-main-nav {
        width: 93%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .content-wrap.blog {
        padding: 0 30px;
    }

    .wp-block-quote {
        font-size: 16px;
        padding: 30px;
    }

    .footer-legal {
        display: flex;
        justify-content: space-between;
        flex-direction: column-reverse;
    }
}

/* Core blok Súbor (wp:file) — karta s ikonou dokumentu a tlačidlom na stiahnutie. */
.wp-block-file {
    --file-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E");
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-block: 24px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e3d7d3;
    border-radius: 16px;
}

.wp-block-file::before {
    content: "";
    flex: none;
    width: 40px;
    height: 40px;
    background-color: #32605e;
    mask: var(--file-icon) no-repeat center / contain;
    forced-color-adjust: none;
}

.wp-block-file:not(.wp-element-button) {
    font-size: inherit;
}

.wp-block-file > a:not(.wp-block-file__button) {
    flex: 1 1 12rem;
    font-weight: 600;
    color: #232323;
}

.wp-block-file .wp-block-file__button {
    margin: 0;
    padding: 15px 30px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    border-radius: 500px;
    background: #f0ad9b;
    color: #000;
    transition: .3s background, .3s color;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus-visible {
    background: #ef7c70;
    color: #fff;
    opacity: 1;
}

.wp-block-file .wp-block-file__embed {
    flex-basis: 100%;
    border-radius: 8px;
}
