/*
Theme Name: Blocksy Child
Template: blocksy
Author: Creative Themes
Description: Blocksy Child theme
Version: 1.0.1753098360
Updated: 2025-07-21 11:46:00

*/

.mnemonika-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mnemonika-post-grid li {
    margin: 0;
    padding: 0;
    background: white;
    overflow: hidden;
    cursor: pointer;
  }

  .mnemonika-post-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .mnemonika-post-grid .lcp_thumbnail {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    border-radius: 0;
  }

  .mnemonika-post-grid .lcp_excerpt {
    color: #0d0d0d;
    font-size: 14px;
  }

  .mnemonika-post-grid h3 {
    margin: 0;
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #0d0d0d;
  }

  .mnemonika-post-grid .lcp_date {
    margin-top: 15px;
    font-size: 10px;
    color: #718096;
    font-weight: 400;
  }

  .lcpax-nextlink-wrapper {
    text-align: center;
    margin: 30px 0;
    clear: both;
    width: 100%;
  }

  .lcpax-nextlink-wrapper .lcp_nextlink {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    background-color: #0d0d0d;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 16px;
    min-width: 150px;
  }

  .lcpax-nextlink-wrapper .lcpax-spinner {
    display: none !important;
  }

  @media (max-width: 1024px) and (min-width: 769px) {
    .mnemonika-post-grid {
      grid-template-columns: 1fr;
      max-width: 640px;
      margin: 0 auto;
    }

    .mnemonika-post-grid .lcp_thumbnail {
        height: 480px;
      }
  }

  /* Mobile styles */
  @media (max-width: 768px) {
    .mnemonika-post-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .mnemonika-post-grid .lcp_thumbnail {
      height: 200px;
    }

    .mnemonika-post-grid h3 {
      font-size: 18px;
      margin-top: 15px;
    }

    .lcpax-nextlink-wrapper .lcp_nextlink {
      padding: 12px 30px;
      font-size: 14px;
      min-width: 120px;
    }
  }

.t-popup-global-header {
    position: fixed; /* Fixed to the viewport */
    top: 0;
    left: 0;
    width: 100%; /* Takes full viewport width */
    height: 50px; /* Or whatever height you prefer for the header */
    background-color: rgba(255, 255, 255, 0.9); /* Your specified background */
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    z-index: 10000; /* Needs to be higher than the main popup content */
    display: flex;
    align-items: center;
    justify-content: space-between; /* To push close button right and title left/center */
    padding: 0 20px; /* Horizontal padding */
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.t-popup-global-header__title-wrapper {
    flex-grow: 1; /* Allows it to take up available space */
    text-align: center; /* Center the title if there's space */
    margin-left: 50px; /* Offset to prevent title from overlapping close button */
    /* You might need to adjust this margin-left based on your close button's width */
}

.t-popup-global-header__title {
    font-size: 14px; /* Adjust font size as needed */
    font-weight: bold; /* Make it stand out */
    color: #000000; /* Your specified color */
    white-space: nowrap; /* Prevent title from wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for long titles */
}

/* Adjust the global close button within the new header */
.t-popup-global-header .t-popup__close {
    position: relative; /* Remove absolute positioning if it was there */
    /* Ensure it has enough click area */
    transform: rotate(180deg);
    margin-right: 20px; /* Space between close button and title */
}

/* Keep the existing icon styles */
.t-popup__close-icon {
    width: 20px;
    height: 20px;
    stroke: #555;
    stroke-width: 2;
}


/* Modal Background (The full screen overlay) */
.t-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: none; /* Hidden by default, set to flex by JS */
    z-index: 9999;
    /* overflow-y: auto; /* This scrollbar would be for the *entire* popup, likely not desired. */
    /* padding-top: 80px; /* This padding applies to the *entire* popup, which means the black overlay. */
    /* Instead, the padding should be on the content or the content should be positioned. */

    /* New: For a typical Tilda-style, the content itself is what you want to center or align */
    /* Or, if the content always takes up 100% width, just remove these flex properties */
    display: flex; /* Always display flex here to enable positioning of its children */
    flex-direction: column; /* Stacks content vertically */
    justify-content: center; /* Center content vertically in the screen if it doesn't take full height */
    align-items: center;   /* Center content horizontally in the screen */
    /* Initial state before JS adds 't-popup_show' */
    visibility: hidden; /* Hidden more gracefully than display: none */
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease-in-out; /* Fade out effect */
}

/* Show Modal */
.t-popup.t-popup_show { /* Corrected class name from 'show' to 't-popup_show' based on your JS */
    display: flex; /* Changed from original 'show' class to match your JS */
    visibility: visible;
    opacity: 1;
    transition-delay: 0s; /* No delay on fade in */
}

.t-popup__iframe {
    height: 100%;
}

/* Modal Content (The white box that holds your header, body, etc.) */
.t-popup__content {
    background-color: white;
    width: 100%;
    height: calc(100% - 95px);
    overflow-y: auto; /* Content inside the white box will scroll */
    display: flex;
    flex-direction: column;
    padding: 0; /* Remove padding here, move it to body */
    box-sizing: border-box;
    position: relative; /* Essential for absolutely positioning children inside it */
}

/* Modal Header (The header bar at the top of the content box) */
.t-popup__header {
    min-height: 60px; /* Use min-height, let content dictate actual height if needed */
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px; /* Adjust padding for visual balance */
    /* position: fixed; /* PROBLEM: This makes the header fixed to the viewport, not the modal content */
    /* The header should be *sticky* or *part of the content flow* within the modal. */
    position: sticky; /* Makes it sticky to the top of its parent (.t-popup__content) */
    top: 0; /* Sticks to the top of the scrollable area */
    width: 100%; /* Takes full width of its parent */
    z-index: 10000;
    box-sizing: border-box; /* Include padding in width calculation */
    border-top-left-radius: 8px; /* Match content border-radius */
    border-top-right-radius: 8px;
}

.t-popup__back-btn {
    font-size: 20px; /* Slightly smaller for better balance */
    color: #007bff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px; /* Add padding for easier clicking */
}

/* Popup Body (Where your dynamically loaded content goes) */
.t-popup__body {
    flex-grow: 1; /* Allows it to take up available space */
    overflow-y: auto; /* This scrollbar would be for the *body* content, but the parent (.t-popup__content) also has overflow-y: auto */
    overflow-y: visible; /* Or remove entirely if parent scrolls */
}

/* Close button positioning relative to the .t-popup__content */
.t-popup__close-wrapper {
    position: absolute; /* Position it relative to .t-popup__content */
    top: 15px; /* Adjust as needed for better alignment */
    right: 15px; /* Adjust as needed */
    z-index: 10001; /* Ensure it's above the header */
}

.t-popup__close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex; /* To center the SVG icon if needed */
    align-items: center;
    justify-content: center;
}

.t-popup__close-icon {
    width: 30px; /* Slightly smaller icon, adjust as desired */
    height: 30px;
    height: 24px;
    stroke: #555; /* A darker grey for better visibility */
    stroke-width: 2;
}

/* Optional: Improve hover state for buttons */
.t-popup__back-btn:hover,
.t-popup__close:hover {
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}

/* Media Queries for smaller screens if content is too wide */
@media (max-width: 768px) {
    .t-popup__content {
        width: 95%; /* Wider on small screens */
        max-width: none; /* No max-width */
        max-height: calc(100% - 40px); /* Less top/bottom padding for popup */
        margin: 20px auto; /* Center with margin */
    }

    .t-popup__header {
        padding: 10px;
    }

    .t-popup__back-btn {
        font-size: 18px;
    }

    .t-popup__body {
        padding: 15px;
    }
}


.uagb-mobile-dropdown {
    position: relative;
    margin-bottom: 20px;
}

.uagb-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.uagb-dropdown-trigger:hover {
    border-color: #999;
}

.uagb-mobile-dropdown.open .uagb-dropdown-trigger {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.uagb-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: #666;
}

.uagb-mobile-dropdown.open .uagb-dropdown-arrow {
    transform: rotate(180deg);
}

.uagb-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uagb-mobile-dropdown.open .uagb-dropdown-menu {
    max-height: 300px;
}

.uagb-dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.uagb-dropdown-item:last-child {
    border-bottom: none;
}

.uagb-dropdown-item:hover {
    background-color: #f8f9fa;
}

.uagb-dropdown-item.active {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

/* Hide original tabs on mobile when dropdown is active */
.custom-advanced-tabs.mobile-dropdown-active .uagb-tabs__panel {
    display: none !important;
}

/* Specific styling for custom advanced tabs */
.custom-advanced-tabs .uagb-mobile-dropdown {
    margin-bottom: 20px;
}

.custom-advanced-tabs .uagb-dropdown-trigger {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-weight: 500;
}

.custom-advanced-tabs .uagb-dropdown-trigger:hover {
    border-color: #007cba;
}

@media (min-width: 768px) {
    .custom-advanced-tabs .uagb-mobile-dropdown {
        display: none !important;
    }
}



.question-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 60px 30px 40px 30px;
    text-align: center;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.circle-number {
    width: 70px;
    height: 70px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    background: white;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.question-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .question-block-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 10px;
    }

    .question-card {
        padding: 50px 20px 30px 20px;
        min-height: 220px;
    } 

    .circle-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: -20px;
    }

    .scroll-spy-nav {
        display: none !important;
    }
}

.scroll-spy-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.nav-dot {
    position: relative;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #dbdbdb;
}

.nav-dot.active {
    background: #dbdbdb;
    border: 2px solid #dbdbdb;
}

/* .nav-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 124, 186, 0.4);
} */

.nav-dot.active:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 124, 186, 0.6);
}

/* Tooltip */
.nav-tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: #292929;
    color: white;
    padding: 0 18px;
    font-size: 14px;
    line-height: 2.5;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #292929;
  }

.nav-dot:hover .nav-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}


.custom-post-date {
    font-size: 10px;
    color: rgba(0,0,0,.5);
}

 .post-slider .swiper-content {
    padding: 0;
}
/*
.post-slider .wp-block-uagb-container {
    min-height: auto !important;
    height: auto !important;
    padding: 0;
}


.post-slider .swiper-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}


.post-slider .swiper-wrapper,
.post-slider .swiper-slide {
    height: auto !important;
}


.post-slider .swiper-slide .swiper-content {
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

.post-slider .swiper-slide .swiper-content .wp-block-uagb-container  {
    height: 500px;;
} */

.floating-container {
    position: relative;
}

.floating-text {
    position: absolute;
    left: -3%;
    bottom: 3%;

    /* transform: translateY(-50%); */
}

@media(max-width: 1240px) {
    .floating-container {
        display: flex;
    }

    .floating-image {
        padding-left: 0 !important;
    }

    .floating-text {
        position: static;
        line-height: normal !important;
        max-width: 100% !important;
        width: 100%;
    }
}


.outer-wrapper {
    max-width: 1140px !important;
}

.content-area {
    display: block !important;
    width: 760px !important;
    margin: 0 auto !important;
    background-color: inherit;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
}

.content-area::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

.pull-quote {
    float: right !important;
    width: 460px !important;
    margin-right: -120px !important;
    padding-left: 30px !important;
    box-sizing: border-box !important;
    display: block !important;
    flex-shrink: 0 !important;
    display: block !important; /* This forces it to be a block-level element, allowing float */
    flex-grow: 0 !important;   /* Resets potential flex-grow */
    flex-shrink: 0 !important;  /* Resets potential flex-shrink */
    flex-basis: auto !important; /* Resets potential flex-basis */
    align-self: auto !important; /* Resets potential align-self */
    order: 0 !important;       /* Resets potential order */
}

.pull-quote .gspb_text {
    margin-bottom: 24px !important;
}

.pull-text {
    display: block !important; /* Forces it to be a block-level element, allowing wrap */
    flex-grow: 1 !important;    /* Allows it to grow and fill remaining space */
    flex-shrink: 1 !important;   /* Allows it to shrink and wrap */
    flex-basis: auto !important;  /* Resets potential flex-basis */
    align-self: auto !important;  /* Resets potential align-self */
    order: 0 !important;        /* Resets potential order */

    margin: 0 !important; /* Resets any default margins from UAGB */
    padding: 0 !important; /* Resets any default padding from UAGB */
}

@media (max-width: 1024px) {
    .pull-quote {
        float: none !important; /* Removes the float, making it stack */
        width: 100% !important; /* Makes the quote full width */
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important; /* Resets any horizontal margins */
        text-align: left !important; /* Adjusts text alignment for the stacked block */

        gap: 20px !important;
    }

    .content-area {
        width: 100% !important; /* Allows the main content area to take full width */
    }

    .pull-quote .gspb_text:last-child {
        text-align: left !important; /* Adjusts author alignment when stacked */
    }
}


.carousel-container {
    background-color: #171717;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 50px;
}

.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 0 2rem;
    position: relative;
}

.carousel-track {
    height: 570px;
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.slide {
    flex: 0 0 320px;
    height: 100%;
    opacity: 0.4;
    transform: scale(0.8);
    transition: all ease-in-out 0.3s;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide.mid {
    opacity: 0.7;
    transform: scale(0.9);
}


.card {
    flex: 1;
    width: 320px;
    height: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
}

  .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card-content {
    position: relative;
    flex-direction: column;
    display: flex;
    align-items: flex-start;
    z-index: 1;
    color: white;
    padding: 35px 26px 22px;
  }

  .card-content h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;

  }

  .card-content p.subtitle {
    color: white;
    font-size: 18px;
  }

  .card-content p.desc {
    color: #e5e7eb;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .button-wrapper {
    padding-top: 22px;
  }

  .listen-button {
    background: black;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;

    height: 45px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .nav-btn {
    width: 50px;
    height: 50px;
    font-size: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.70);
    color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 6;

    display: flex;                /* Add this */
    align-items: center;          /* Vertical centering */
    justify-content: center;      /* Horizontal centering */
    line-height: 1;               /* Prevent baseline offset */
    padding: 0;                   /* Remove any padding interference */
  }

  .nav-btn svg {
    width: 20px; /* adjust as needed */
    height: 20px;
    display: block;
  }


  .prev { left: 1rem; }
  .prev svg {
    transform: rotate(180deg);
  }
  .next { right: 1rem; }


  .indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
  }


.indicator {
    width: 3rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: #4b5563;
    transition: background 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.indicator.completed {
    background: white;
}

.indicator.active {
    background: #4b5563;
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: white;
    border-radius: 9999px;
    transition: width 0.1s linear;
    width: var(--progress, 0%);
}

@media (max-width: 1024px) {
    .nav-btn {
        display: none;
    }
}

.testimonials-container {
    position: relative !important;
}

.testimonial-avatar {
    position: absolute;
    bottom: -75px; /* Half of image height (150px / 2) */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.art-carousel-wrapper {
    width: 100%;
    position: relative;
}

.art-carousel {
    position: relative;
    overflow: hidden;
}

.art-carousel-track {
    display: flex;
    height: 100%;
    align-items: center;
    /* justify-content: center; */
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.art-slide {
    width: 860px;
    height: 550px;
    flex-shrink: 0;
    box-sizing: content-box !important;
    /* text-align: center;
    box-sizing: content-box !important;
    background-position: 50% !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; */
}

.art-slide.side {
    /* filter: grayscale(70%) brightness(0.7); */
    opacity: 0.3;
}

.art-nav-btn {
    display: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.art-nav-btn:hover {
    background: white;
}

.art-nav-btn.prev {
    left: calc(50% - 450px);
}

.art-nav-btn.next {
    right: calc(50% - 450px);
}

.art-nav-btn.prev svg {
    transform: rotate(180deg);
}

.art-nav-btn svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.art-bullets {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.art-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 2px solid transparent;
}

.art-bullet:hover {
    background: rgba(0, 0, 0, 0.5);
}

.art-bullet.active {
    background: #333;
    border-color: #333;
}


/* .culture-image-container {

}

.culture-image {

}
 */


 .culture-image-container > .uagb-container-inner-blocks-wrap > .wp-block-uagb-container {
    overflow: hidden;
}


.culture-image-container .uagb-container-inner-blocks-wrap {
    transition: transform ease-in-out .45s, opacity ease-in-out .45s, box-shadow 0.3s ease ;
}


.culture-image:hover {
    transition: transform ease-in-out .45s, opacity ease-in-out .45s, box-shadow 0.3s ease ;
    transform: scale(1.05);
    /* box-sizing: content-box; */
}


@media (max-width: 1024px) {
    .culture-image-container .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 767px) { /* Adjust this value for your specific mobile breakpoint */
    .culture-image-container .uagb-container-inner-blocks-wrap {
      /* 1-column grid on mobile for all items */
      grid-template-columns: repeat(1, 1fr);
    }

    /* Ensure the first item (and all others) only takes 1 column on mobile */
    .culture-image-container .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:first-child {
      grid-column: span 1; /* Override the tablet span for mobile */
    }
  }

  .book-popup {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

[id^="book-"] {
    cursor: pointer;
}

.book-popup.active {
    display: flex;
    opacity: 1;
}

.book-popup__container {
    position: relative;
    max-width: 960px;
    width: 100%;
    min-height: 600px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.book-popup__close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.book-popup__close:hover {
    background: white;
    transform: scale(1.1);
}

.book-popup__close svg {
    width: 20px;
    height: 20px;
}

.book-popup__content {
    width: 100%;
    min-height: 600px;
    background: white;
}

.book-popup__iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Book Responsive styles */
@media (max-width: 768px) {
    .book-popup {
        padding: 10px;
    }

    .book-popup__container {
        max-width: 100%;
        min-height: 500px;
    }

    .book-popup__content {
        min-height: 500px;
    }

    .book-popup__iframe {
        height: 500px;
    }

    .book-popup__close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .book-popup__close svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .book-popup__container {
        min-height: 400px;
    }

    .book-popup__content {
        min-height: 400px;
    }

    .book-popup__iframe {
        height: 400px;
    }
}




.hamburger-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.hamburger-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


.hamburger-btn {
    width: 50px;
    height: 50px;
    background: #0f2617;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.hamburger-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.hamburger-btn span {
    width: 22px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    max-width: 300px;
    width: 350px;
    height: 100%;
    background: #0f2617;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;

    padding: 48px 40px 38px;

    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar.active {
    right: 0;
}

.sidebar-title {
    font-size: 26px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.sidebar-navbar-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
}

.sidebar-navbar-container .language-switcher {
    margin: 0;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100000;
    display: none;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
    opacity: 1;
}

.nav-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-menu li a {
    color: white; /* White text for main menu items */
    font-size: 14px;
    font-weight: 600;
    transition: text-decoration 0.3s ease; /* Optional transition */
}

.nav-menu .current-menu-item a,
.nav-menu .current_page_item a,
.nav-menu .menu-item:hover a {
    text-decoration: underline;
}

.nav-menu .sub-menu {
    background-color: white; /* White background for submenu on desktop */
    list-style: none;
    opacity: 0;
    position: absolute; /* Initially positioned outside the flow */
    left: 0;
    top: 100%;
    margin-top: 8px;
    visibility: hidden; /* Hidden by default */
    transition: opacity 0.3s ease; /* Smooth transition */
    height: 256px;
    width: 200px;
    overflow-y: scroll;
}

.nav-menu li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible; /* Show the submenu */
    position: absolute;
    left: 0;
    top: 100%;
}

.nav-menu li.menu-item-has-children:after {
    content: '';
    position: absolute;
    top: 100%; /* Position below the text */
    left: 15%;
    width: 0;
    height: 0;
    border-bottom: solid 8px #FFF; /* Smaller arrow - reduced from 15px to 8px */
    border-left: solid 8px transparent; /* Smaller arrow - reduced from 15px to 8px */
    border-right: solid 8px transparent; /* Smaller arrow - reduced from 15px to 8px */
    transform: translateX(-50%); /* Center the arrow horizontally */
    z-index: 1;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.nav-menu li.menu-item-has-children:hover:after {
    opacity: 1;
    visibility: visible; /* Show the arrow on hover */
}

.nav-menu li.menu-item-has-children {
    position: relative;
}

.nav-menu .sub-menu li a {
    color: black;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    padding: 0;
}

.nav-menu.sub-menu {
	padding: 18px 20px 20px 20px;
}

.nav-menu.sub-menu li {
	margin-bottom: 12px;
}

.nav-menu.sub-menu li:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .nav-menu li.menu-item-has-children {
        position: relative !important; /* Maintain proper context */
        flex-direction: column;
    }

    .nav-menu li.menu-item-has-children:after {
        display: none !important; /* Hide arrow on mobile/tablet */
    }

    .nav-menu .sub-menu {
        position: relative !important;
        top: auto;
        left: auto;
        opacity: 1;
        visibility: visible;
        height: auto;
        width: auto;
        overflow-y: visible;
        background-color: transparent;
        display: none;
        gap: 15px;
        box-shadow: none !important;
    }

    .nav-menu .sub-menu::after {
        display: none !important;
    }

    .nav-menu .sub-menu.open {
        display: block;
        flex-direction: column;
    }

    .nav-menu li.menu-item-has-children:hover .sub-menu {
        /* Disable hover behavior on mobile/tablet */
        position: relative !important;
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .sub-menu li a {
        color: white; /* White text for mobile submenu to match main menu */
        font-size: 14px; /* Same font size as main menu */
        font-weight: 600; /* Same font weight as main menu */
    }
}


.cookie-consent {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #f9f9f9;
	border-top: 1px solid #ddd;
	padding: 40px 20px 30px;
	z-index: 99999;
	display: none;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-consent__wrapper {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.cookie-consent__close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.cookie-consent__text {
	margin-bottom: 15px;
	font-size: 14px;
	color: #333;
	line-height: 1.6;
}

.cookie-consent__text a {
	color: #f23005;
	text-decoration: underline;
}

.cookie-consent__btn-wrapper {
	display: flex;
	justify-content: center;
}

.cookie-consent__btn {
	background: #000;
	color: #fff;
	padding: 10px 25px;
	border-radius: 30px;
	text-transform: uppercase;
	font-weight: bold;
	cursor: pointer !important;
	border: none;
}

.museum__header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    background-color: transparent;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.museum__header.museum__scrolled {
    background: rgba(0, 0, 0, 0.5);
}

.museum__header-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 30px;
}

.museum__header-right {
    display: flex;
    justify-content: flex-end;
}


body.admin-bar .museum__header {
    top: 32px;
}

.museum__menu {
    display: flex;
    justify-content: center;
}

.museum__header-center ul {
    list-style: none !important;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.museum__header-center .museum-menu li::marker {
    display: none !important;
}

.museum__menu  a {
    color: #fff;
    text-decoration: none ;
    font-weight: 600;
}

.museum__menu li {
    position: relative;
}


.museum__menu li ul.sub-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 8px) !important;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 18px 20px 20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    width: 200px;
    /* opacity: 0;
    position: absolute;
    left: 0;
    top: 100%;*/
     margin-top: 8px;
}

.museum__menu li:hover > ul.sub-menu {
    display: block;
}

.museum__menu li ul.sub-menu a {
    color: black;
}

.museum__menu li ul.sub-menu:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    width: 0;
    height: 0;
    z-index: 1;
    border-bottom: solid 15px #fff;
    border-left: solid 15px transparent;
    border-right: solid 15px transparent;
}

.museum__nav-menu li ul.sub-menu li {
    margin-bottom: 12px;
    list-style: none;
}

.museum__menu li ul.sub-menu li:last-child {
    margin-bottom: 0;
}

.museum__menu li ul.sub-menu li a .ct-menu-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    padding: 0;
    color: #000;
}

.museum__menu .menu-item-has-children > a {
    position: relative; /* This is the key change */
    padding-right: 30px; /* Add padding to make space for the arrow */
    /* Ensure other styles for the link are here if needed, e.g., color, text-decoration */
}

.museum__menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block; /* Can be block or inline-block, but absolute positioning overrides flow */
    width: 24px;
    height: 24px;
    /* margin-left: 0.5rem; <--- This might not be needed with absolute positioning */
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiIHZpZXdCb3g9IjAgMCAxNSAxNSI+PHBhdGggZD0iTTIuMSwzLjJsNS40LDUuNCA1LjQtNS40TDE1LDQuM2wtNy41LDcuNUwwLDQuM0wyLjEsMy4yeiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px 8px;
    vertical-align: middle; /* Less relevant with absolute positioning */
    transition: transform 0.3s ease;

    /* Absolute positioning relative to the parent <a> */
    position: absolute;
    top: 50%;
    right: 5px; /* Adjust this value to control distance from the right edge of the link */
    transform: translateY(-50%); /* Vertically center the arrow */
}

.museum__menu .menu-item-has-children:hover > a::after,
.museum__menu .menu-item-has-children.focus > a::after { /* Add a class for when the menu is open */
    transform: translateY(-50%) rotate(180deg);
}


.museum__lang-switcher {
    margin-left: 30px;
    display: flex;
    gap: 20px;
}

.museum__language-switcher a {
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    transition: none !important;
}

.museum__lang-switcher a:hover,
.museum__lang-switcher a:focus,
.museum__lang-switcher a:visited,
.museum__lang-switcher a:active {
    text-decoration: none !important;
    color: #ffffff !important;
    background: none !important;
    transform: none !important;
    opacity: 1 !important;
    outline: none !important;
}

.museum-hamburger {
    display: none;
}

.memory__header-logo {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.memory__header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 999;
    background-color: transparent;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.memory__language-switcher {
    display: flex;
    gap: 10px;
}

.memory__language-switcher a {
    text-decoration: none !important;
    color: #000 !important;
    font-size: 14px;
    font-weight: 600;
    transition: none !important;
}

@media (max-width: 1024px) {
    .museum-hamburger {
        display: block;
    }

    .museum__header {
        display: none;
    }

    .memory__header {
        display: none;
    }
}


.carousel-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden; /* Keeps dots in bounds */
    position: relative;

    display: flex !important;
    justify-content: center !important;
}


.wowitem {
    width: 860px !important;
    height: 550px;
    margin-left: 50px;
    margin-right: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* instead of cover */

    border-image-repeat: stretch;
    box-sizing: content-box;
}

.owl-carousel .owl-item {
    opacity: 0.4;
    /* transform: scale(0.95); */
    transition: all 0.3s ease;
}
.owl-carousel .owl-item.center {
    opacity: 1;
    z-index: 2;
}

.owl-item-1 {
    background-image: url('/wp-content/uploads/2025/07/coverukr_1.png');
}

.owl-item-2 {
    background-image: url('/wp-content/uploads/2025/07/2021-10-11_52623_.jpg');
}

.owl-item-3 {
    background-image: url('/wp-content/uploads/2025/07/IMG_3801.jpg')
}

.owl-item-4 {
    background-image: url('/wp-content/uploads/2025/07/IMG_3800.jpg')
}

.owl-item-5 {
    background-image: url('/wp-content/uploads/2025/07/IMG_3802.png')
}

.owl-item-6{
    background-image: url('/wp-content/uploads/2025/07/IMG_3799.jpg');
}

.owl-dots {
    position: relative;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    z-index: 10;
}

.owl-dot {
    width: 8px;
    height: 8px;
    background: #c7c7c7 !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
}

.owl-dot.active {
    background: #333 !important;
}

.owl-carousel .owl-item {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.owl-carousel .owl-item.center {
    opacity: 1;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    position: absolute;
    pointer-events: all;
    background-color: #e8e8e8 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav button.owl-prev {
left: calc(50% - 860px / 2 - 50px - 20px); /* image width / 2 + margin + 20px offset */
}

.owl-nav button.owl-next {
right: calc(50% - 860px / 2 - 50px - 20px);
}

.owl-nav button.owl-prev svg,
.owl-nav button.owl-next svg {
width: 9px;
}


.award-date {
    display: inline-block !important;
    width:  auto !important;
}


.cover-arrow {
	height: 18px;
	width: 38px;
	position: absolute!important;
  bottom: 60px !important;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  fill: white;
  opacity: 0.8;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.cover-arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}


@media(max-width: 760px) {
    .cover-arrow {
       height: 13px;
       bottom: 20px !important;
    }
}
