/*
Theme Name: Divi Child
Theme URI: https://synthweb.ch
Template: Divi
Author: Synthweb
Author URI: https://synthweb.ch
Description: Child theme for Divi tailored for Kalvin Station
Version: 4.27.2.1732200263
Updated: 2024-11-21 15:44:23
*/

/* ===========================
   1. Global Styles
   =========================== */
/* Universal Scrollbar Styling */

/* WebKit-based Browsers */
::-webkit-scrollbar {
    width: 12px;  /* Width of vertical scrollbar */
    height: 12px; /* Height of horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background: black; /* Scrollbar track color */
}

::-webkit-scrollbar-thumb {
    background-color: white; /* Scrollbar thumb color */
    border-radius: 6px;      /* Rounded corners for the thumb */
    border: 3px solid black; /* Creates a gutter effect around the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e0e0e0; /* Optional: Change thumb color on hover */
}

/* Firefox */
html {
    scrollbar-width: thin;          /* Options: auto, thin, none */
    scrollbar-color: white black;    /* thumb color and track color */
}

/* Responsive Scrollbar Styling */
@media (max-width: 768px) {
    /* Adjust scrollbar size for tablets and smaller devices */
    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 5px;
        border: 2px solid black;
    }

    html {
        scrollbar-width: thin;
        scrollbar-color: white black;
    }
}

@media (max-width: 480px) {
    /* Adjust scrollbar size for mobile devices */
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        border-radius: 4px;
        border: 1px solid black;
    }

    html {
        scrollbar-width: thin;
        scrollbar-color: white black;
    }
}
.et_pb_scroll_top.et-pb-icon {
    background: rgba(116, 116, 116, 0.2);
}

/* ===========================
   2. Grid Container Styles
   =========================== */

/* YouTube and SoundCloud Grid Containers */
.youtube-video-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 1em; /* Space between grid items */
    /*padding: 1em; /* Optional: Padding around the grid */
    max-width: 100%; /* Optional: Max width for larger screens */
    margin: 0 auto; /* Center the grid container */
    overflow: hidden; /* Hide any overflow */
}
.soundcloud-track-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 3 columns on desktop */
    gap: 1em; /* Space between grid items */
    /*padding: 1em; /* Optional: Padding around the grid */
    max-width: 100%; /* Optional: Max width for larger screens */
    margin: 0 auto; /* Center the grid container */
    overflow: hidden; /* Hide any overflow */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .youtube-video-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 15px;
        padding: 15px;
    }

    .soundcloud-track-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 15px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .youtube-video-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 10px;
        padding: 10px;
    }
    .soundcloud-track-grid {
        grid-template-columns: 1fr 1fr; /* 1 column on mobile */
        gap: 10px;
        padding: 10px;
    }
}

/* ===========================
   3. Grid Item Styles
   =========================== */

/* YouTube and SoundCloud Grid Items */
.youtube-video-item,
.soundcloud-track-item {
    display: flex; /* Enable Flexbox */
    flex-direction: column; /* Stack thumbnail and title vertically */
    justify-content: space-between; /* Evenly distribute space */
    /*background-color: #1e1e1e; /* Optional: Background color for grid items */
    /*padding: 10px; /* Inner padding */
    border-radius: 0px; /* Rounded corners */
    overflow: hidden; /* Hide any overflowing child elements */
    height: 100%; /* Ensure all grid items stretch equally */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Optional: Hover effects */
}

.youtube-video-item:hover,
.soundcloud-track-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Shadow on hover */
}

/* ===========================
   4. Thumbnail Container Styles
   =========================== */

/* Thumbnail Containers for YouTube and SoundCloud */
.youtube-video-embed .thumbnail-container,
.soundcloud-track-embed .thumbnail-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0px; /* Rounded corners matching grid items */
    aspect-ratio: 16 / 9; /* Default Aspect Ratio for YouTube */
}

/* Specific Aspect Ratios */
.youtube-video-embed .thumbnail-container {
    aspect-ratio: 16 / 9; /* YouTube: 16:9 */
}

.soundcloud-track-embed .thumbnail-container {
    aspect-ratio: 1 / 1; /* SoundCloud: 1:1 */
}

/* Fallback for Older Browsers */
@supports not (aspect-ratio: 1 / 1) {
    .soundcloud-track-embed .thumbnail-container {
        padding-bottom: 100%; /* 1:1 Aspect Ratio */
    }
}

@supports not (aspect-ratio: 16 / 9) {
    .youtube-video-embed .thumbnail-container {
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    }
}

/* Ensure Images and Iframes Fill the Container */
.thumbnail-container img,
.thumbnail-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Play Button Overlay */
.play-button {
    position: absolute;
    top: 55%;
    left: 50%;
    width: 64px;
    height: 64px;
    z-index: 2;
    transform: translate(-50%, -50%);
    
    /* Make the button circular */
    border-radius: 50%;
    
    /* Add a white border */
    border: 2px solid white;
    
    /* Semi-transparent background to allow blur */
    background: rgba(255, 255, 255, 0);
    
    /* Apply backdrop blur */
    /*backdrop-filter: blur(1px);
    
    /* Center the triangle */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Change cursor to pointer on hover */
    cursor: pointer;
    
    /* Smooth transition for hover effects */
    transition: opacity 0.3s ease, background 0.3s ease;
}

/* Create an empty (outlined) triangle using a pseudo-element */
.play-button::before {
    content: '';
    width: 0;
    height: 0;
    
    /* Create the triangle shape */
    border-left: 16px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    
    /* Optional: Add some spacing */
    margin-left: 4px;
}

/* Hover Effects */
.play-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1); /* Slightly less transparent on hover */
    /* Apply backdrop blur */
    backdrop-filter: blur(1px);
}

/* === Play Button Overlay === */
.play-button {
    position: absolute;
    top: 55%;
    left: 50%;
    width: 64px;
    height: 64px;
    z-index: 2;
    transform: translate(-50%, -50%);
    
    /* Make the button circular */
    border-radius: 50%;
    
    /* Add a white border */
    border: 2px solid white;
    
    /* Semi-transparent background to allow blur */
    background: rgba(255, 255, 255, 0);
    
    /* Apply backdrop blur */
    /*backdrop-filter: blur(1px);
    
    /* Center the triangle */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Change cursor to pointer on hover */
    cursor: pointer;
    
    /* Smooth transition for hover effects */
    transition: opacity 0.3s ease, background 0.3s ease;
}

/* Create an empty (outlined) triangle using a pseudo-element */
.play-button::before {
    content: '';
    width: 0;
    height: 0;
    
    /* Create the triangle shape */
    border-left: 16px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    
    /* Optional: Add some spacing */
    margin-left: 4px;
}

/* Hover Effects */
.play-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1); /* Slightly less transparent on hover */
    /* Apply backdrop blur */
    backdrop-filter: blur(1px);
}

/* === Responsive Play Button for Tablets === */
@media (max-width: 768px) {
    /* Adjust the size of the play button */
    .play-button {
        width: 48px !important; /* Reduced from 64px */
        height: 48px !important; /* Reduced from 64px */
    }
    
    /* Adjust the size of the triangle */
    .play-button::before {
        border-left: 12px solid white !important; /* Reduced from 16px */
        border-top: 8px solid transparent !important; /* Reduced from 12px */
        border-bottom: 8px solid transparent !important; /* Reduced from 12px */
        margin-left: 3px !important; /* Reduced from 4px */
    }
}

/* === Responsive Play Button for Mobile Devices === */
@media (max-width: 480px) {
    /* Further reduce the size of the play button */
    .play-button {
        width: 32px !important; /* Reduced from 48px */
        height: 32px !important; /* Reduced from 48px */
    }
    
    /* Further adjust the size of the triangle */
    .play-button::before {
        border-left: 8px solid white !important; /* Reduced from 12px */
        border-top: 6px solid transparent !important; /* Reduced from 8px */
        border-bottom: 6px solid transparent !important; /* Reduced from 8px */
        margin-left: 2px !important; /* Reduced from 3px */
    }
}
/* Maintain a minimum touch target size */
.play-button {
    min-width: 32px;
    min-height: 32px;
}

/* Fade Overlay Styles (If Applicable) */
.slider-wrapper::after,
.slider-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    width: 10%; /* Percentage-based width */
    height: 100%;
    pointer-events: none;
    /*background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));*/
    z-index: 3;
    border-radius: 0px;
    transition: opacity 0.3s ease;
}

.slider-wrapper::before {
    left: 0;
    /*background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));*/
}

.slider-wrapper::after {
    right: 0;
}

/* Responsive Adjustments for Fade Overlays */
@media (max-width: 768px) {
    .slider-wrapper::after,
    .slider-wrapper::before {
        width: 5%; /* Reduced width on mobile */
    }
}

/* ===========================
   5. Title Styles
   =========================== */

/* YouTube and SoundCloud Titles */
.youtube-video-title,
.soundcloud-track-title,
.media-title {
    margin-top: 10px;
    font-size: 16px;
    text-align: left;
    color: #ffffff;
    padding-left: 10px;
    overflow: visible; /* Allow text to overflow for marquee effect */
    /* Removed text-overflow: ellipsis; */
    white-space: nowrap; /* Prevent text from wrapping */
    flex-shrink: 0; /* Prevent titles from shrinking */
    will-change: transform; /* Optimize for animation */
}

/* === Container for Media Slide === */
.media-slide {
    position: relative; /* Establishes positioning context */
    overflow: hidden;   /* Keeps container boundaries */
    width: 100%;        /* Ensures full width */
    /* Optional: Set a fixed height if necessary */
}

/* === Media Title Styling === */
.media-title,
.youtube-video-title,
.soundcloud-track-title {
    white-space: nowrap;      /* Prevents text from wrapping */
    display: inline-block;    /* Allows transform animations */
    transition: transform 0.3s ease-in-out; /* Smooth transitions */
    font-size: 16px;         /* Adjust as needed */
    color: #fff;              /* Text color */
    font-weight: 400;
}

/* === Keyframes for Scrolling Animation === */
@keyframes scroll-left-right {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(var(--scroll-distance, 50%)); /* Scroll left */
    }
    100% {
        transform: translateX(0); /* Return to original position */
    }
}

@-webkit-keyframes scroll-left-right { /* Safari and older Chrome */
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(var(--scroll-distance, 50%)); /* Scroll left */
    }
    100% {
        transform: translateX(0); /* Return to original position */
    }
}

/* === Apply the Scrolling Animation Conditionally on hover === */
.media-title.scrolling:hover,
.youtube-video-title.scrolling:hover,
.soundcloud-track-title.scrolling:hover {
    -webkit-animation: scroll-left-right var(--scroll-duration, 10s) linear infinite;
    animation: scroll-left-right var(--scroll-duration, 10s) linear infinite;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .media-title.scrolling,
    .youtube-video-title.scrolling,
    .soundcloud-track-title.scrolling {
        animation-duration: var(--scroll-duration, 8s);
    }
}

@media (max-width: 480px) {
    .media-title.scrolling,
    .youtube-video-title.scrolling,
    .soundcloud-track-title.scrolling {
        animation-duration: var(--scroll-duration, 6s);
    }
}

/* === Pause Animation unless hovered === */
.media-title.scrolling,
.youtube-video-title.scrolling,
.soundcloud-track-title.scrolling {
    animation-play-state: paused;
}

/* === Respect User's Motion Preferences === */
@media (prefers-reduced-motion: reduce) {
    .media-title.scrolling,
    .youtube-video-title.scrolling,
    .soundcloud-track-title.scrolling {
        animation: none;
    }
}

/* Ensure Titles Have Consistent Height */
.youtube-video-title-container,
.soundcloud-track-title-container {
    height: 1.2em; /* Adjust based on font-size and desired height */
    overflow: hidden;
}

.youtube-video-title,
.soundcloud-track-title {
    display: block;
    line-height: 1.2em;
}

/* ===========================
   6. Playback Count Styles (SoundCloud)
   =========================== */

/* Playback Count Overlay */
.soundcloud-track-playback-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 3;
    color: #ffffff;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Hidden Dummy Playback Count for Uniformity */
.youtube-video-playback-count,
.soundcloud-track-playback-count.hidden-dummy {
    display: none;
}

/* ===========================
   7. Slider Wrapper and Slick Slider Styles
   =========================== */

/* Slider Wrapper for Fade Effect */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0; /* Optional: Margin around sliders */
}

/* Slick Slider Slide Gaps */
.slider-wrapper .slick-slide {
    margin: 5px 0.25em; /* 0.25em margin on each side for a total 0.5em gap */
}

.slider-wrapper .slick-track {
    margin: 5px -0.25em; /* Compensate for the slide margins */
}

/* Responsive Adjustments for Slider Gaps */
@media (max-width: 768px) {
    .slider-wrapper .slick-slide {
        margin: 5px 0.1em; /* Reduced margin on mobile */
    }

    .slider-wrapper .slick-track {
        margin: 5px -0.1em; /* Adjusted accordingly */
    }
}



/* ===========================
   8. SoundCloud Player Styles (If Applicable)
   =========================== */

/* SoundCloud Widget Container */
#soundcloud-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0px;
    overflow: hidden;
    z-index: 10000;
    display: none; /* Hidden by default */
}

/* Close Button for SoundCloud Widget */
#soundcloud-close-button {
    background: #10101027;
    color: #000000;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: none;
    font-size: 16px;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10001;
}

/* Responsive Adjustments for SoundCloud Widget */
@media (max-width: 768px) {
    #soundcloud-widget-container {
        width: 90%;
        right: 5%;
        height: 100px; /* Increased height for better control visibility */
    }
}

/* ===========================
   9. Accessibility Enhancements
   =========================== */


/* === Slick Slider Arrows Base Styles (Desktop) === */
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Desktop arrow size */
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1000;

    /* Remove default Slick Slider arrow styles */
    background-image: none;
    padding: 0;
}

/* Positioning Arrows */
.slick-prev.slick-arrow {
    left: 25px; /* Position from left */
}

.slick-next.slick-arrow {
    right: 25px; /* Position from right */
}

/* Remove Existing Pseudo-Elements to Avoid Conflicts */
.slick-prev.slick-arrow::before,
.slick-next.slick-arrow::before,
.slick-prev.slick-arrow::after,
.slick-next.slick-arrow::after {
    content: none;
}

/* Create Arrow Shapes Using Pseudo-Elements */
.slick-prev.slick-arrow::before,
.slick-next.slick-arrow::before {
    content: '';
    position: absolute;
    width: 5px; /* Arrow head size */
    height: 5px;
    border: 2px solid rgba(255, 255, 255, 1);
    border-width: 2px 2px 0 0;
    background-color: transparent;
    transform-origin: center;
}

.slick-prev.slick-arrow::after,
.slick-next.slick-arrow::after {
    content: '';
    position: absolute;
    width: 10px; /* Arrow shaft length */
    height: 2px; /* Arrow shaft thickness */
    background-color: #fff; /* Arrow color */
    top: 50%;
    transform: translateY(-50%);
}

/* Left Arrow (Previous Button) */
.slick-prev.slick-arrow::before {
    transform: translateX(-50%) rotate(-135deg); /* Point left */
    left: 12px;
}

.slick-prev.slick-arrow::after {
    left: 20px; /* Position the shaft */
    transform: translateY(-50%) translateX(-100%) rotate(0deg);
}

/* Right Arrow (Next Button) */
.slick-next.slick-arrow::before {
    transform: translateX(50%) rotate(45deg); /* Point right */
    right: 12px;
}

.slick-next.slick-arrow::after {
    right: 10px; /* Position the shaft */
    transform: translateY(-50%) translateX(0%) rotate(0deg);
}

/* Hover Effects */
.slick-prev.slick-arrow:hover,
.slick-next.slick-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1);
}

/* Active/Focus States */
.slick-prev.slick-arrow:focus,
.slick-next.slick-arrow:focus,
.slick-prev.slick-arrow:active,
.slick-next.slick-arrow:active {
    background-color: rgba(255, 255, 255, 0.3);
    outline: none; /* Remove default focus outline */
}

/* Disabled State */
.slick-prev.slick-arrow.slick-disabled,
.slick-next.slick-arrow.slick-disabled {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgb(255, 255, 255); /* Lighter border */
    cursor: not-allowed;
    opacity: 0.5;
}

/* ARIA Labels for Accessibility */
.slick-prev.slick-arrow,
.slick-next.slick-arrow {
    aria-label: "Slider Navigation";
}

/* Optional: Remove Default Arrow Outline for Accessibility */
.slick-prev.slick-arrow:focus::before,
.slick-next.slick-arrow:focus::before {
    outline: none;
}

.slick-prev:before,
.slick-next:before {
    opacity: 1;
    color: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Responsive Adjustments for Slick Slider Arrows === */

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1024px) {
    .slick-prev.slick-arrow,
    .slick-next.slick-arrow {
        width: 24px; /* Smaller size for tablets */
        height: 24px;
        border: 2px solid rgb(255, 255, 255);
    }

    .slick-prev.slick-arrow::before,
    .slick-next.slick-arrow::before {
        width: 6px; /* Smaller arrow head */
        height: 6px;
    }

    .slick-prev.slick-arrow::after,
    .slick-next.slick-arrow::after {
        width: 8px; /* Shorter shaft */
        height: 2px; /* Thinner shaft */
    }

    /* Reposition arrows to prevent overlapping */
    .slick-next.slick-arrow::after{
        right: 7px;
    }
    .slick-prev.slick-arrow::after{
        left: 15px;
    }
    .slick-prev.slick-arrow::before{
        left: 10px;
    }
    .slick-next.slick-arrow::before{
        right: 10px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .slick-prev.slick-arrow,
    .slick-next.slick-arrow {
        width: 21px; /* Even smaller for mobiles */
        height: 21px;
        border: 2px solid rgb(255, 255, 255);
    }

    .slick-prev.slick-arrow::before,
    .slick-next.slick-arrow::before {
        width: 6px; /* Even smaller arrow head */
        height: 6px;
    }

    .slick-prev.slick-arrow::after,
    .slick-next.slick-arrow::after {
        width: 8px; /* Shorter shaft */
        height: 2px; /* Thinner shaft */
    }

    /* Reposition arrows to prevent overlapping */
    .slick-next.slick-arrow::after{
        right: 5px;
    }
    .slick-prev.slick-arrow::after{
        left: 13px;
    }
    .slick-prev.slick-arrow::before{
        left: 9px;
    }
    .slick-next.slick-arrow::before{
        right:9px;
    }
}
/* === Divi Arrows Base Styles (Desktop) === */
.et-pb-arrow-prev,
.et-pb-arrow-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Desktop arrow size */
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 1000;

    /* Remove default link styles */
    text-decoration: none;
    padding: 0;
    background-image: none;
}

/* Positioning Arrows */
.et-pb-arrow-prev {
    left: 25px; /* Position from left */
}

.et-pb-arrow-next {
    right: 25px; /* Position from right */
}

/* Remove Existing Pseudo-Elements to Avoid Conflicts */
.et-pb-arrow-prev::before,
.et-pb-arrow-next::before,
.et-pb-arrow-prev::after,
.et-pb-arrow-next::after {
    content: none;
}

/* Create Arrow Shapes Using Pseudo-Elements */
.et-pb-arrow-prev::before,
.et-pb-arrow-next::before {
    content: '';
    position: absolute;
    width: 5px; /* Arrow head size */
    height: 5px;
    border: 2px solid rgba(255, 255, 255, 1);
    border-width: 2px 2px 0 0;
    background-color: transparent;
    transform-origin: center;
}

.et-pb-arrow-prev::after,
.et-pb-arrow-next::after {
    content: '';
    position: absolute;
    width: 10px; /* Arrow shaft length */
    height: 3px; /* Arrow shaft thickness */
    background-color: #fff; /* Arrow color */
    top: 50%;
    transform: translateY(-50%);
}

/* Left Arrow (Previous Button) */
.et-pb-arrow-prev::before {
    transform: translateX(-50%) rotate(-135deg); /* Point left */
    left: 12px;
}

.et-pb-arrow-prev::after {
    left: 20px; /* Position the shaft */
    transform: translateY(-50%) translateX(-100%) rotate(0deg);
}

/* Right Arrow (Next Button) */
.et-pb-arrow-next::before {
    transform: translateX(50%) rotate(45deg); /* Point right */
    right: 12px;
}

.et-pb-arrow-next::after {
    right: 10px; /* Position the shaft */
    transform: translateY(-50%) translateX(0%) rotate(0deg);
}

/* Hover Effects */
.et-pb-arrow-prev:hover,
.et-pb-arrow-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1);
}

/* Active/Focus States */
.et-pb-arrow-prev:focus,
.et-pb-arrow-next:focus,
.et-pb-arrow-prev:active,
.et-pb-arrow-next:active {
    background-color: rgba(255, 255, 255, 0.3);
    outline: none; /* Remove default focus outline */
}

/* Disabled State */
.et-pb-arrow-prev.slick-disabled,
.et-pb-arrow-next.slick-disabled {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5); /* Lighter border */
    cursor: not-allowed;
    opacity: 0.5;
}

/* === Responsive Adjustments for Divi Arrows === */

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1024px) {
    .et-pb-arrow-prev,
    .et-pb-arrow-next {
        width: 24px; /* Smaller size for tablets */
        height: 24px;
        border-width: 2px solid rgba(255, 255, 255, 0.7);
    }

    .et-pb-arrow-prev::before,
    .et-pb-arrow-next::before {
        width: 6px; /* Smaller arrow head */
        height: 6px;
    }

    .et-pb-arrow-prev::after,
    .et-pb-arrow-next::after {
        width: 8px; /* Shorter shaft */
        height: 2px; /* Thinner shaft */
    }

    /* Reposition arrows to prevent overlapping */
    .et-pb-arrow-next::after {
        right: 7px;
    }
    .et-pb-arrow-prev::after {
        left: 15px;
    }
    .et-pb-arrow-prev::before {
        left: 10px;
    }
    .et-pb-arrow-next::before {
        right: 10px;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    .et-pb-arrow-prev,
    .et-pb-arrow-next {
        width: 21px; /* Even smaller for mobiles */
        height: 21px;
        border-width: 2px solid rgba(255, 255, 255, 0.7);
    }

    .et-pb-arrow-prev::before,
    .et-pb-arrow-next::before {
        width: 6px; /* Even smaller arrow head */
        height: 6px;
    }

    .et-pb-arrow-prev::after,
    .et-pb-arrow-next::after {
        width: 8px; /* Shorter shaft */
        height: 2px; /* Thinner shaft */
    }

    /* Reposition arrows to prevent overlapping */
    .et-pb-arrow-next::after {
        right: 5px;
    }
    .et-pb-arrow-prev::after {
        left: 13px;
    }
    .et-pb-arrow-prev::before {
        left: 9px;
    }
    .et-pb-arrow-next::before {
        right: 9px;
    }
}


/* Focus States for Keyboard Navigation */
.youtube-video-embed:focus,
.soundcloud-track-embed:focus {
    outline: 2px solid #ffffff;
}

/* ===========================
   10. CSS Variables for Maintainability
   =========================== */

/* Utilize CSS Variables */
.youtube-video-grid,
.soundcloud-track-grid {
    gap: var(--grid-gap-desktop);
    /*padding: var(--padding-desktop);*/
}

@media (max-width: 1024px) {
    .youtube-video-grid,
    .soundcloud-track-grid {
        gap: var(--grid-gap-tablet);
        /*padding: var(--padding-tablet);*/
    }
}

@media (max-width: 768px) {
    .youtube-video-grid,
    .soundcloud-track-grid {
        gap: var(--grid-gap-mobile);
        /*padding: var(--padding-mobile);*/
    }
}

.slider-wrapper::after,
.slider-wrapper::before {
    width: var(--fade-overlay-width-desktop);
}

@media (max-width: 768px) {
    .slider-wrapper::after,
    .slider-wrapper::before {
        width: var(--fade-overlay-width-mobile);
    }
}



/* ===========================
   11. Additional Best Practices
   =========================== */

/* Prevent Grid Items from Exceeding Container Width */
.youtube-video-item,
.soundcloud-track-item {
    max-width: 100%;
    overflow: hidden;
}

/* Ensure Iframes Are Responsive */
.thumbnail-container iframe {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
}

/* Lazy Loading for Images and Iframes (Already Handled in HTML) */

.et_pb_scroll_top{
    bottom: 5em !important;
}

/* File: css/donation-form.css */
.vdc-form-row {
    margin: 0 0 10px auto;
}
/* Basic Reset */
.vdc-donation-form {
    /*max-width: 500px;*/
    margin: 0 auto;
    /*padding: 25px;*/
    background-color: transparent;
    /*border: 1px solid white;*/
    border-radius: 0px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.vdc-form-input{
    margin-top: 0px;
}
.vdc-form-input::placeholder{
    color: white;
}

.vdc-donation-form .vdc-form-group {
    margin-bottom: 0px;
}

.vdc-donation-form .vdc-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
}

.vdc-donation-form .vdc-form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ffffff;
    border-radius: 4px !important;
    font-size: 16px;
    font-weight: 400 !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
    color: white;
    min-height: 54px;
}
.vdc-donation-form input[type=text]{
    color:white;
}
.vdc-donation-form .vdc-form-input:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
    outline: none;
}

.vdc-donation-form .vdc-form-button {
    width: 100%;
    padding: 14px;
    background-color: #000;
    color: #ffffff;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    min-height: 54px;
}

.vdc-donation-form .vdc-form-button:hover {
    background-color: #1b1b1b;
}

.vdc-donation-result {
    max-width: 500px;
    margin: 20px auto 20px auto;
    padding: 15px;
    text-align: center;
    font-size: 16px;
}

.vdc-donation-result p {
    margin: 0;
    padding: 12px;
    border-radius: 0px;
}

.vdc-donation-result p.success {
    background-color: #e6fffa;
    color: #2c7a7b;
    border: 1px solid #b2f5ea;
    padding: 14px;
}

.vdc-donation-result p.error {
    background-color: #ffe6e6;
    color: #c53030;
    border: 1px solid #feb2b2;
    padding: 14px;
}
/* Hide the result container when it's empty */
#vdc-donation-result:empty {
    display: none;
}

/* Optional: Add transition for smooth appearance when content is added */
#vdc-donation-result {
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* When the container is not empty, make it visible */
#vdc-donation-result:not(:empty) {
    display: block;
    opacity: 1;
}

/* Spinner Styles */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-left-color: #3182ce;
    animation: spin 1s ease infinite;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading State */
.vdc-donation-form.loading .vdc-form-button {
    cursor: not-allowed;
    opacity: 0.7;
}

.vdc-donation-form.loading .vdc-form-button:hover {
    background-color: #000;
}

/* Responsive Design */
@media (max-width: 600px) {
    .vdc-donation-form {
        padding: 0px;
    }

    .vdc-donation-form .vdc-form-label {
        font-size: 14px;
    }

    .vdc-donation-form .vdc-form-input {
        font-size: 14px;
        padding: 15px;
    }

    .vdc-donation-form .vdc-form-button {
        font-size: 16px;
        padding: 12px;
    }

    .vdc-donation-result {
        padding: 10px;
        font-size: 14px;
    }
}



/* Titles (like payment title) */
.vdc-calendar-title,
.vdc-payment-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Filters Section */
.vdc-lesson-filters {
    display: flex;
    flex-wrap: wrap;
/*    margin-bottom: 20px;*/
/*    padding: 1em 0;*/
}

.vdc-lesson-filters .vdc-filter {
    margin-right: 10px;
    /*margin-bottom: 10px;*/
    padding: 8px;
    font-size: 16px;
}

.vdc-lesson-filters select {
    border: 1px solid #ffffff;
    border-radius: 4px;
    background-color: #000000;
}

/* Payment Form */
.vdc-payment-form {
    background-color: #1f1f1f;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    color: #fff;
    margin-top: 20px;
}

.vdc-payment-form h2 {
    margin-top: 0;
    color: #fff;
}

.vdc-payment-form .vdc-stripe-payment-form {
    max-width: 400px;
    margin: 0 auto;
    color: white;
}

.vdc-payment-form .vdc-submit-payment {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.vdc-payment-form .vdc-submit-payment:hover {
    background-color: #006799;
}
/* Make the row a flex container with wrap behavior if needed */
#vdc-donation-form .vdc-3-fields {
    display: flex;
    flex-wrap: wrap;      /* Allows wrapping on smaller screens */
    gap: 10px;            /* Space between the items (adjust to taste) */
  }
  
  /* Each field takes about one-third of the row */
  #vdc-donation-form .vdc-third {
    flex: 1 1 calc(33.333% - 1rem);
    box-sizing: border-box; /* ensures proper width calculation with padding */
  }
  
  /* Ensure the inputs inside fill their parent width */
  #vdc-donation-form .vdc-third .vdc-form-input {
    width: 100%;
  }
  
  /* (Optional) On very narrow screens, you might want them to stack */
  @media (max-width: 600px) {
    #vdc-donation-form .vdc-third {
      flex: 1 1 100%;  /* each item goes full width on small screens */
    }
    #vdc-donation-form .vdc-third:last-child {
        padding-bottom: 0px;  /* each item goes full width on small screens */
      }
  }
  
/* General Calendar Styles */
.fc {
    
    font-size: 14px;
}

/* Calendar Container */

/* Ensure the main container also takes full height */
.vdc-calendar-container {
    height: 100%;
    /* Existing styles */
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    background-color: transparent;
    box-sizing: border-box;
}


/* Filters Section */
.vdc-lesson-filters {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #000;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid white;
}

/* Updated Filter Container */
.vdc-filter-container {
    background-color: transparent;
    border: 0px solid white;
    padding: 0px;
    border-radius: 4px;
    width: 100%;
    margin-right: 0;
    box-sizing: border-box;
}

/* Enhanced Filter Titles */
.vdc-filter-container h3 {
    margin-top: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    border-bottom: 0px solid #fff;
    padding-bottom: 5px;
}

/* Improved Label Styling */
.vdc-filter-container label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* Radio button input - invisible */
.vdc-filter-container input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom radio button style */
.vdc-filter-container .radio-custom {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-right: 10px;
}

/* Hover state */
.vdc-filter-container label:hover .radio-custom {
    background-color: #ccc;
}

/* Checked state */
.vdc-filter-container label input:checked ~ .radio-custom {
    background-color: #000;
}

/* Add the inner white circle when checked */
.vdc-filter-container .radio-custom::after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* When radio button is checked, show the white dot */
.vdc-filter-container label input:checked ~ .radio-custom::after {
    display: block;
}

/* Calendar Layout */
.vdc-calendar-layout {
    flex: 1;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .vdc-calendar-container {
        flex-direction: column;
    }

    .vdc-lesson-filters {
        flex: 0 0 auto;
        width: 100%;
    }

    .vdc-calendar-layout {
        width: 100%;
    }
}

.fc {
    max-width: 100%;
    color: white;
}

/* Toolbar */
.fc .fc-toolbar {
    margin-bottom: 20px;
}

.fc .fc-toolbar h2 {
    font-size: 18px; /* Final chosen size */
    font-weight: 500;
    color: #fff;
}

/* Toolbar Buttons */
.fc .fc-toolbar .fc-button {
    background-color: #0073aa;
    border: none;
    color: #fff;
}

.fc .fc-toolbar .fc-button:hover {
    background-color: #005a87;
}

/* Style the button group container */
.fc-button-group .fc-button {
    background-color: #000 !important; /* Black background */
    color: #fff !important; /* White text */
    border: none !important; /* Remove any border */
}

/* Style the "Today" button separately if needed */
.fc-today-button {
    background-color: #000 !important; /* Black background */
    color: #fff !important; /* White text */
    border: none !important; /* Remove border */
}

/* Ensure hover and active states match */
.fc-button:hover,
.fc-button:active {
    background-color: #000 !important; /* Darker shade on hover */
    color: #fff !important; /* Keep text white */
}

/* Style the icons within the buttons */
.fc-button .fc-icon {
    color: #fff !important; /* White icon color */
}

.fc-dayGridMonth-view .fc-view .fc-daygrid {
    border: none;
}
/* Remove default backgrounds from day cells */
.fc .fc-daygrid-day,
.fc .fc-daygrid-day-frame {
    border: none !important;
    background: none !important;
}

/* Make day numbers appear as pills */
.fc .fc-daygrid-day-number {
    display: inline-block;
    background: none; /* default pill color for days with events */
    color: #fff;
    border-radius: 9999px;
    padding: 2px 10px;
    line-height: 38px;
    font-size: 24px;
    font-weight: 500;
    margin: 1em auto;
    cursor: pointer;
    font-feature-settings: 'tnum';
}

/* Highlight today's date differently */
.fc .fc-day-today .fc-daygrid-day-number {
    background: #4e4e4e; /* black pill for today when no event is set otherwise by JS */
}

/* Adjust spacing for minimal look */
.fc .fc-daygrid-day-frame {
    padding: 5px 0 !important;
    color: white;
}

/* Day names */
.fc .fc-col-header-cell {
    background: none !important;
    border: none !important;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* Additional classes for events if ever displayed */
.fc-event.fc-event-available {
    /*background-color: #28a745 !important; /* Green */
    /*border-color: #28a745 !important;*/
    color: #28a745;
}

.fc-event.fc-event-booked {
    /*background-color: #dc3545 !important; /* Red */
    /*border-color: #dc3545 !important;*/
    color: #dc3545 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fc .fc-toolbar h2 {
        font-size: 24px;
    }
    .fc .fc-daygrid-day-number {
        font-size: 12px;
    }
    .fc .fc-daygrid-event {
        font-size: 12px;
    }
}

/* Remove horizontal scrollbar if any */
body {
    overflow-x: hidden;
}
/* Remove borders from day cells */
.fc .fc-daygrid-day,
.fc .fc-daygrid-day-frame {
    border: none !important;
    box-shadow: none !important;
}

/* Remove borders from the header cells */
.fc .fc-col-header-cell {
    border: none !important;
}

/* Remove any borders around events (if visible) */
.fc-event {
    border: none !important;
    box-shadow: none !important;
}
/* Remove all borders from the calendar's tables, cells, and headers */
.fc table, 
.fc th, 
.fc td,
.fc .fc-daygrid-day-frame,
.fc .fc-daygrid-day-number,
.fc .fc-col-header-cell {
    border: none !important;
    box-shadow: none !important;

}

/* Optional: remove background lines or shadows if any */
.fc .fc-daygrid-day-frame, 
.fc .fc-daygrid-day-bg {
    border: none !important;
    box-shadow: none !important;
}

/* Remove any default border from the header toolbar */
.fc .fc-toolbar,
.fc .fc-toolbar-chunk {
    border: none !important;
    box-shadow: none !important;
}

/* Ensure no outlines or shadows remain */
.fc .fc-view,
.fc .fc-daygrid-month-view,
.fc .fc-daygrid {
    border: none !important;
    box-shadow: none !important;
}

/* Remove border from scrollgrid if visible */
.fc .fc-scrollgrid {
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
}

/* Remove any top/bottom borders that might appear */
.fc .fc-col-header-cell-cushion {
    border: none !important;
}
.fc-daygrid-day-frame .fc-scrollgrid-sync-inner {
    margin: auto;
    padding: auto;
}
/* =========================================
   1. Global Styles
========================================= */

/* Apply box-sizing globally for better control */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Remove default margins and paddings */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, th, td {
    margin: 0;
    padding: 0;
}

/* Set a consistent font-family and base font size */
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #fff; /* Default text color */
    background-color: #121212; /* Dark background for contrast */
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

/* =========================================
   2. Container Styling
========================================= */
/* Styling for Custom Label Icons */
.custom-label-icon {
    width: 16px;           /* Adjust size as needed */
    height: 16px;          /* Maintain aspect ratio */
    margin-right: 5px;     /* Space between icon and text */
    vertical-align: middle;/* Aligns icon vertically with text */
    color: white;
    filter: brightness(0) invert(1); /* Converts black to white */
}
.custom-label-icon-wider {
    width: 24px;           /* Adjust size as needed */
    height: 24px;          /* Maintain aspect ratio */
    margin-right: 5px;     /* Space between icon and text */
    vertical-align: middle;/* Aligns icon vertically with text */
    color: white;
    filter: brightness(0) invert(1); /* Converts black to white */
}
/* Parent Containers for Row Layout */
#vdc-lesson-place-genre,
#location-details {
    display: flex; /* Enable Flexbox */
    flex-wrap: nowrap; /* Prevent wrapping on desktops and tablets */
    gap: 20px; /* Space between columns */
    margin-top: 20px;
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%; /* Full width */
    background: transparent;
    border: 0px solid white;
    color: #fff;
}

/* Individual Sections */
.location-section,
.professor-section {
    flex: 1; /* Equal width */
    padding: 15px;
    border: 2px solid #ffffff; /* Consistent border */
    border-radius: 4px;
    background: transparent;
    box-sizing: border-box;
    min-height: 100%; /* Full height */
    color: #fff;
    margin-bottom: 20px; /* Space below when stacked */
    text-align: left;
}

/* Titles within each section */
.location-title,
.professor-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Paragraph styling for details */
.location-address,
.location-type,
.location-platines,
.location-genre,
.professor-name,
.professor-bio {
    font-size: 1em;
    margin-bottom: 0px;
    color: #ccc;
}

/* Container for Professor's Image and Name */
.professor-info {
    display: flex;              /* Enables Flexbox layout */
    flex-direction: column;     /* Stacks children vertically */
    align-items: flex-start;    /* Aligns items to the left */
    gap: 5px;                  /* Space between image and name */
    margin-bottom: 10px;        /* Space below the professor-info section */
}


/* Styling for the Professor's Image */
.professor-image {
    width: 80px;                /* Adjust size as needed */
    height: 80px;               /* Ensure the image is square */
    border-radius: 0%;         /* Makes the image circular */
    object-fit: cover;          /* Ensures the image covers the container without distortion */
    border: 2px solid #fff;     /* Adds a white border around the image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

/* Styling for the Professor's Name */
.professor-name {
    margin: 0 !important;                  /* Removes default margin */
    font-size: 1.2em;           /* Adjusts the font size */
    color: #fff;                /* Sets the text color to white for contrast */
    font-weight: 700;          /* Makes the name bold */
    display: flex;              /* Enables Flexbox for the icon and text */
    align-items: center;        /* Vertically centers the icon and text */
    gap: 5px;                   /* Space between icon and name */
}

/* Optional: Styling for the Font Awesome Icon */
.professor-name i {
    color: white;             /* Changes the icon color (e.g., gold) */
}

/* Styling for the Professor's Bio */
.professor-bio {
    margin-top: 10px;           /* Space above the bio */
    color: #ddd;                /* Light gray text color */
    line-height: 1.5;           /* Improves readability */
}

/* Styling for the Professor's Socials List */
.professor-socials-list {
    list-style: none;           /* Removes default list styling */
    padding: 0;                 /* Removes default padding */
    display: flex;
    gap: 10px;                  /* Space between social icons */
    margin-top: 0px;           /* Space above the socials list */
    justify-content: left;    /* Centers the social icons */
}

.professor-socials-list li {
    display: flex;
    align-items: center;
}

.social-link {
    color: #fff;                /* White color for social icons */
    font-size: 1.2em;           /* Adjust icon size as needed */
    transition: color 0.3s ease;
}

.social-link:hover {
    color: gray;             /* Changes color on hover */
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .professor-info {
        flex-direction: column;     /* Stacks children vertically on small screens */
        align-items: center;        /* Centers items horizontally */
        gap: 10px;                  /* Space between image and name */
    }
    
    .professor-image {
        width: 60px;                /* Smaller image on mobile */
        height: 60px;               /* Smaller image on mobile */
    }
    
    .professor-name {
        font-size: 1em;             /* Adjust font size on mobile */
    }
    
    .professor-socials-list {
        justify-content: center;    /* Centers social icons on small screens */
    }
}

/* Optional: Styling for the Professor's Section */
.professor-section {
    background-color: #000;     /* Dark background */
    padding: 20px;              /* Adds padding around the content */
    border-radius: 0px;         /* Rounds the corners */
    max-width: 600px;           /* Sets a maximum width */
    margin: 0 auto;             /* Centers the section horizontally */
}

/* Styling for the Professor's Title */
.professor-title {
    text-align: left;         /* Centers the title */
    color: #fff;                /* White text color */
    margin-bottom: 20px;        /* Space below the title */
}


/* =========================================
   3. Modal Styling (SweetAlert2)
========================================= */

/* === 1. Container Styling === */
.swal2-container {
    display: flex !important;
    align-items: flex-start !important;  /* Align to the top with padding */
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.5) !important; /* Semi-transparent backdrop */
    overflow-y: auto !important; /* Enable vertical scrolling if needed */
    z-index: 10000 !important;   /* Keep above nav bar if needed */
    padding-top: 60px;           /* Adjust to your nav bar height */
    padding-bottom: 20px;
}

/* === 2. Modal Popup Styling === */
.swal2-popup {
    background: #000000 !important;  /* Dark background color */
    border: 1px solid white !important;
    border-radius: 4px !important;
    padding: 20px !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3) !important;
    width: 50% !important;            /* Suitable for desktops/tablets */
    color: white !important;
    display: block !important;        /* Changed from grid to block */
    position: relative !important;
    top: 0 !important;
    max-height: calc(100vh - 3em - 40px) !important; 
    overflow-y: auto !important;
}

/* === 3. Close Button Styling === */
.swal2-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5em !important;
    color: white !important;
    cursor: pointer !important;
    transition: color 0.3s ease;
}
.swal2-close:hover {
    color: #ddd !important;
}

/* === 4. Title Styling === */
.swal2-title {
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 0px !important;
    text-align: center !important;
    color: white !important;
}

/* === 5. HTML Container Styling === */
.swal2-html-container {
    padding: 0;
    color: white !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}
.swal2-popup .swal2-select option {
    background-color: #000000 !important; /* Black background */
    color: #ffffff !important;            /* White text for contrast */
}

.swal2-icon.swal2-success.swal2-icon-show {
    margin: auto;
}

/* === 6. Lesson Price and Details Styling === */
.vdc-calendar-modal-content h3 {
    font-size: 24px !important;
    margin-bottom: 0px !important;
    color: #ffffff !important;
}
.vdc-calendar-modal-content p {
    font-size: 16px !important;
    margin-bottom: 8px !important;
    color: #ccc !important;
}
.vdc-calendar-modal-content hr {
    border: 0;
    height: 1px;
    background: #fff;
    margin: 10px 0 !important;
}

/* === 7. Sections Container Styling === */
.sections-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    align-items: stretch; /* Ensure items stretch to match heights */
}

.sections-container .location-section,
.sections-container .professor-section {
    flex: 1;
}

/* === 8. Info Row Styling === */
.info-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    /*margin-bottom: 10px; /* Space below the info row */
}

.info-row p {
    flex: 1; /* Equal width for both paragraphs */
}

/* === 9. Payment Form Styling === */
.vdc-payment-form {
    background-color: rgba(255, 255, 255, 0.1) !important;
    padding: 15px !important;
    border: 1px solid #fff !important;
    border-radius: 4px !important;
    margin-top: 20px !important;
}
.vdc-payment-form h2 {
    margin-top: 0 !important;
    color: white !important;
    text-align: center !important;
}
.vdc-submit-payment {
    background-color: #0073aa !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    border: none !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease !important;
    width: 100% !important;
}
.vdc-submit-payment:hover {
    background-color: #006799 !important;
}

/* === 10. Platines Eye Icon Styling === */
.platines-eye-icon {
    margin-left: 0px !important;
    cursor: pointer !important;
    color: #fff !important;
    font-size: 1.2em !important;
    transition: color 0.3s ease !important;
}
.platines-eye-icon:hover {
    color: #c9c9c9 !important;
}

/* === 11. Responsive Design === */
@media (max-width: 600px) {
    /* Adjust modal width and padding for smaller screens */
    .swal2-popup {
        width: 95% !important; /* Slightly wider on tablets */
        padding: 15px !important;
    }

    /* Modify sections-container to stack vertically */
    .sections-container {
        flex-direction: column;
        gap: 10px;
    }

    .sections-container .location-section,
    .sections-container .professor-section {
        flex: 1 1 100% !important; /* Full width on smaller screens */
        border: 1px solid #ffffff !important; /* Consistent border */
        margin-bottom: 0px !important; /* Space below when stacked */
    }

    /* Modify info-row to stack vertically */
    .info-row {
        flex-direction: column;
        gap: 10px;
    }

    .info-row p {
        flex: 1 1 100%; /* Full width on smaller screens */
    }

    /* Resize images and icons */
    .professor-image {
        max-width: 60px !important;
        height: 60px !important;
    }

    .social-icon {
        width: 25px !important;
        height: 25px !important;
    }
    .social-link {
        font-size: 0.9em !important;
    }

    /* Adjust payment button */
    .vdc-submit-payment {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    /* Optional: Adjust text sizes for better readability */
    .vdc-calendar-modal-content h3.lesson-price {
        font-size: 1.2em !important;
    }
    .vdc-calendar-modal-content p.lesson-remaining-seats,
    .vdc-calendar-modal-content p.lesson-start-time {
        font-size: 0.9em !important;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */

    /* Modal full width */
    .swal2-popup {
        width: 100% !important; /* Full width on very small screens */
        padding: 10px !important;
    }

    /* Reduce heading sizes */
    .vdc-calendar-modal-content h3.lesson-price {
        font-size: 18px !important;
    }
    .vdc-calendar-modal-content p.lesson-remaining-seats,
    .vdc-calendar-modal-content p.lesson-start-time {
        font-size: 16px !important;
    }

    /* Resize professor image */
    .professor-image {
        max-width: 50px !important;
        height: 50px !important;
    }

    /* Adjust social media icons */
    .social-icon {
        width: 20px !important;
        height: 20px !important;
    }
    .social-link {
        font-size: 0.8em !important;
    }

    /* Adjust payment button */
    .vdc-submit-payment {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* CSS overrides for SweetAlert2 inputs */
.swal2-popup .swal2-input,
.swal2-popup .swal2-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    /*display: block !important;*/
}

@media (max-width: 480px) {
    /* Additional small-screen tweaks if needed */
    .swal2-popup .swal2-input,
    .swal2-popup .swal2-select {
        font-size: 14px !important; 
        /* etc. */
    }
}

/* === Tooltip Styling (Optional) === */
.platines-tooltip {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 5px;
    border-radius: 4px;
}

.platines-tooltip img {
    max-width: 200px;
    height: auto;
    z-index: inherit;
}

.entry-content tr td {
    border-top: 1px solid #eee;
    padding: 0;
}
.entry-content table:not(.variations) {
    border: 1px solid #eee;
    margin: 0;
    text-align: left;
    width: 100%;
}
/* If you find any remaining lines, inspect them and add similar rules 
   for their selectors here, ensuring border and box-shadow are disabled.
*/


/* Optional additional styling for events if they appear:
   Since eventDisplay is 'none', these may not apply, 
   but we keep them as requested by the instructions. */


/*
for css vars only.
these values are automatically known in all stylesheets.
the :root statement itself is only included in the common stylesheet.
this file is not processed by postcss when imported into the postcss-custom-properties plugin,
so only write standard css!

NOTE: for old browsers, will need to restart watcher after changing a variable
*/
/* Define CSS Variables for Flexibility */

:root {
    --grid-gap-desktop: 20px;
    --grid-gap-tablet: 15px;
    --grid-gap-mobile: 10px;
    --padding-desktop: 20px;
    --padding-tablet: 15px;
    --padding-mobile: 10px;
    --fade-overlay-width-desktop: 10%;
    --fade-overlay-width-mobile: 5%;
    --arrow-size: 50px; /* Adjust as needed */
    --arrow-border: 1px solid white;
    --arrow-bg: transparent;
    --arrow-hover-bg: rgba(255, 255, 255, 0.2);
    --arrow-active-bg: rgba(255, 255, 255, 0.3);
    --arrow-disabled-bg: rgba(255, 255, 255, 0.5);
    --arrow-color: white;
    --arrow-shaft-length: 16px;
    --arrow-shaft-thickness: 2px;
    --arrow-head-size: 12px;
    --fc-small-font-size: .85em;
    --fc-page-bg-color: #fff;
    --fc-neutral-bg-color: #b6b6b6;
    --fc-neutral-text-color: #808080;
    --fc-border-color: #ddd;
  
    --fc-button-text-color: #fff;
    --fc-button-bg-color: #2C3E50;
    --fc-button-border-color: #2C3E50;
    --fc-button-hover-bg-color: #1e2b37;
    --fc-button-hover-border-color: #1a252f;
    --fc-button-active-bg-color: #1a252f;
    --fc-button-active-border-color: #151e27;
  
    --fc-event-bg-color: #3788d8;
    --fc-event-border-color: #3788d8;
    --fc-event-text-color: #fff;
    --fc-event-selected-overlay-color: rgba(0, 0, 0, 0.25);
  
    --fc-more-link-bg-color: #d0d0d0;
    --fc-more-link-text-color: inherit;
  
    --fc-event-resizer-thickness: 8px;
    --fc-event-resizer-dot-total-width: 8px;
    --fc-event-resizer-dot-border-width: 1px;
  
    --fc-non-business-color: rgba(215, 215, 215, 0.3);
    --fc-bg-event-color: rgb(143, 223, 130);
    --fc-bg-event-opacity: 0.3;
    --fc-highlight-color: rgba(188, 232, 241, 0.3);
    --fc-today-bg-color: rgba(255, 220, 40, 0.15);
    --fc-now-indicator-color: red;

    --fc-daygrid-event-dot-width: 8px;
    
    --fc-list-event-dot-width: 10px;
    --fc-list-event-hover-bg-color: #424242;
}
/*@media (max-width: 768px) {
    :root {
        --arrow-size: 40px;
        --arrow-shaft-length: 14px;
        --arrow-head-size: 10px;
    }
}

@media (max-width: 480px) {
    :root {
        --arrow-size: 35px;
        --arrow-shaft-length: 12px;
        --arrow-head-size: 8px;
    }
}
*/

.page-title-action{
    display: none !important; 
}

/* Specific Calendar Container Styles */
#vdc-calendar-container {
    margin: 0 auto;
    padding: 0px;
    overflow: hidden;
    /*background-color: #3d3d3d; /* If desired, or remove to keep transparent */
}

/* Scope the FullCalendar styles to the #vdc-frontend-calendar container */
#vdc-frontend-calendar.fc {
    border: 1px solid white;
    font-size: 14px;
    max-width: 100%;
}

/* Toolbar inside the calendar */
#vdc-frontend-calendar .fc .fc-toolbar {
    margin: 20px;
}
#vdc-frontend-calendar .fc .fc-toolbar h2 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* Toolbar Buttons */
#vdc-frontend-calendar .fc .fc-toolbar .fc-button {
    background-color: #000000;
    border: none;
    color: #fff;
}
#vdc-frontend-calendar .fc .fc-toolbar .fc-button:hover {
    background-color: #4d4d4d;
}

/* Day Grid Day Cells */
#vdc-frontend-calendar .fc .fc-daygrid-day,
#vdc-frontend-calendar .fc .fc-daygrid-day-frame {
    border: none !important;
    background: none !important;
}

/* Day Numbers as Pills */
#vdc-frontend-calendar .fc .fc-daygrid-day-number {
    display: inline-block;
    background: none;
    color: #fff;
    border-radius: 9999px;
    padding: 6px;
    font-size: 24px;
    font-weight: bolder !important;
    margin: 1em auto;
}

/* Today with no events - black pill (Applied by JS if no event) */
#vdc-frontend-calendar .fc .fc-day-today .fc-daygrid-day-number {
    background: #3a3a3a;
    color: white !important;
}

/* Minimal spacing */
#vdc-frontend-calendar .fc .fc-daygrid-day-frame {
    padding: 5px 0 !important;
    border: none;
}

/* Day Names (Header) */
#vdc-frontend-calendar .fc .fc-col-header-cell {
    background: none !important;
    border: none !important;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* Just in case events do appear at some point */
#vdc-frontend-calendar .fc .fc-daygrid-event {
    white-space: normal;
    height: auto;
    min-height: 2em;
    background-color: #000000;
    border: none !important;
    color: #fff;
    border-radius: 4px;
    padding: 2px 4px;
}

/* Remove horizontal scrollbar if any */
body {
    overflow-x: hidden;
}
.fc .fc-toolbar.fc-header-toolbar .fc-toolbar-title {
    text-transform: uppercase;
}

/* If you want to ensure no global styles override calendar text color: */
#vdc-frontend-calendar .fc {
    border: none;
    color: #fff; /* Ensures the text inside the calendar is white */
}
.fc .fc-scroller-liquid-absolute {
    inset: 0px;
    position: absolute;
    overflow: hidden !important;
}
/* Base styles already applied, now let's target small screens */
@media (max-width: 768px) {
    /* Reduce day cell padding for a tighter layout */
    .fc .fc-daygrid-day-frame {
        padding: 2px 0 !important; 
    }

    /* Make day numbers smaller and still pill-shaped if needed */
    .fc .fc-daygrid-day-number {
        font-size: 12px !important;
        padding: 3px !important;
    }

    /* Adjust toolbar title size */
    .fc .fc-toolbar h2.fc-toolbar-title {
        font-size: 16px !important;
    }

    /* If you find the header navigation too large, consider smaller buttons */
    .fc .fc-toolbar .fc-button {
        font-size: 12px !important;
        padding: 2px 5px !important;
    }

    /* Optionally hide day names to save space */
    .fc .fc-col-header-cell {
        font-size: 12px !important;
        /* or display none if you prefer to hide them entirely:
        display: none !important; */
    }

    /* Hide empty right chunk if it's not used */
    .fc .fc-toolbar-chunk:nth-child(3) {
        display: none !important;
    }

    /* Reduce overall cell height */
    .fc-daygrid-day {
        min-height: 40px !important;
        height: auto !important;
    }
}

/* You can also create an even smaller breakpoint for mobile phones */
@media (max-width: 480px) {
    .fc .fc-toolbar h2.fc-toolbar-title {
        font-size: 14px !important;
    }
    .fc .fc-daygrid-day-number {
        font-size: 10px !important;
        padding: 2px !important;
    }
    .fc .fc-col-header-cell-cushion {
        font-size: 10px !important;
    }
}
/* Base improvements for mobile screens */
@media (max-width: 768px) {
    /* Increase overall font size inside the calendar for mobile */
    #vdc-frontend-calendar .fc {
        font-size: 16px !important; /* Larger base text */
    }

    /* Make the toolbar title larger and more readable */
    #vdc-frontend-calendar .fc .fc-toolbar h2.fc-toolbar-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    /* Increase button size and spacing */
    #vdc-frontend-calendar .fc .fc-toolbar .fc-button {
        font-size: 14px !important;
        padding: 6px 10px !important;
        min-height: 32px;
    }

    /* Increase day number font size and padding to be more touch-friendly */
    #vdc-frontend-calendar .fc .fc-daygrid-day-number {
        font-size: 14px !important;
        padding: 8px !important; /* Larger tap area */
        line-height: 1.2;
    }

    /* Slightly increase day cell minimum heights for better readability */
    #vdc-frontend-calendar .fc .fc-daygrid-day-frame {
        padding: 8px 0 !important; 
        min-height: 50px !important; 
    }

    /* Adjust day names (header) for better spacing */
    #vdc-frontend-calendar .fc .fc-col-header-cell {
        font-size: 14px !important;
        padding: 8px 0 !important;
    }

    /* If the toolbar has unused space, we can hide the empty chunk */
    #vdc-frontend-calendar .fc .fc-toolbar-chunk:nth-child(3) {
        display: none !important;
    }

    /* Make the right-side info column stack below the calendar in mobile */
    .vdc-calendar-layout {
        display: block !important; /* Stacks the columns vertically */
    }

    .vdc-lesson-info-column {
        width: auto !important;
        margin-top: 20px !important;
        font-size: 16px !important; /* Slightly bigger text for readability */
        line-height: 1.4;
    }
}

/* Even smaller screens (like <= 480px) can get further adjustments */
@media (max-width: 480px) {
    /* Increase base font again if needed */
    #vdc-frontend-calendar .fc {
        font-size: 17px !important;
    }

    #vdc-frontend-calendar .fc .fc-toolbar h2.fc-toolbar-title {
        font-size: 16px !important;
    }

    #vdc-frontend-calendar .fc .fc-daygrid-day-number {
        font-size: 13px !important;
        padding: 6px !important;
    }

    #vdc-frontend-calendar .fc .fc-daygrid-day-frame {
        min-height: 45px !important; 
    }

    /* Reduce padding around the calendar container to maximize space */
    #vdc-calendar-container {
        padding: 10px !important;
    }
}
/* On mobile, stack everything vertically and let the calendar take full width */
@media (max-width: 768px) {
    /* The main layout: stack filters, calendar, and lesson info vertically */
    .vdc-calendar-layout {
        display: block !important;
    }

    /* Ensure the calendar itself is full width and nicely spaced */
    #vdc-frontend-calendar {
        width: 100% !important;
        margin: 0 auto;
        padding: 10px !important;
        background-color: #0e0e0e;
        border-radius: 4px;
    }

    /* Move the lesson info column below the calendar and full width */
    .vdc-lesson-info-column {
        width: 100% !important;
        margin-top: 20px !important;
        padding: 10px !important;
        font-size: 16px !important;
        line-height: 1.4;
        border-radius: 4px;
    }

    /* Adjust the filters to also stack nicely and fill width */
    .vdc-lesson-filters {
        display: block !important;
        margin-bottom: 15px !important;
    }
    .vdc-filter-container {
        width: 100% !important;
        margin: 10px 0 !important;
    }

    /* Increase the size of text in the calendar toolbar for better readability */
    .fc .fc-toolbar h2.fc-toolbar-title {
        font-size: 24px !important;
        line-height: 1.3;
    }
    .fc .fc-toolbar .fc-button {
        font-size: 14px !important;
        padding: 6px 10px !important;
        min-height: 32px;
    }

    /* Adjust day numbers for better tap targets and visibility */
    .fc .fc-daygrid-day-number {
        font-size: 14px !important;
        padding: 8px !important;
        line-height: 1.2;
    }
    .fc .fc-daygrid-day-frame {
        padding: 8px 0 !important;
        min-height: 50px !important;
    }

    /* Adjust day names (header) spacing */
    .fc .fc-col-header-cell {
        font-size: 14px !important;
        padding: 8px 0 !important;
    }
    

    /* For list view: Make events appear larger and more readable */
    .fc-list {
        font-size: 16px !important; /* Increase overall list font size */
    }
    .fc .fc-list-day-text {
        font-size: 16px !important; /* Day headers in list view bigger */
        font-weight: bold;
        padding: 8px 0 !important;
    }
    .fc .fc-list-day-side-text {
        font-size: 14px !important; /* The day numbers on the side */
    }
    .fc .fc-list-event-title, 
    .fc .fc-list-event-time {
        font-size: 14px !important;
        line-height: 1.4;
        padding: 6px 0 !important;
    }

    /* Give list events more padding and a clearer layout */
    .fc .fc-list-event {
        padding: 10px !important;
        border-radius: 0px;
        background: #222 !important;
        margin-bottom: 10px !important;
    }

    /* Hide the empty chunk in toolbar if any */
    .fc .fc-toolbar-chunk:nth-child(3) {
        display: none !important;
    }
}
/* Hide the column headers (days of the week) in the calendar */
.fc .fc-col-header {
    display: none !important;
    background-color: transparent;
}
/* Hide the entire header section of the FullCalendar grid */
.fc .fc-scrollgrid-section-header {
    display: none !important;
}

/* Ensure no white background is visible */
.fc .fc-scrollgrid-section {
    background: none !important;
}
.fc .fc-scrollgrid-section > td {
    background: none !important;
}
/* Remove padding and margins for day cells */
.fc-daygrid-day-frame {
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure day numbers fit properly within their cells */
.fc-daygrid-day-number {
    /*padding: 2px !important; /* Slight padding for readability */
    /*font-size: 0.9em; /* Adjust font size if needed */
    text-align: center;
}

/* Make cells equally distribute across the available width */
.fc-daygrid-day {
    width: calc(100% / 7) !important; /* Ensure 7 equal columns */
    min-width: 0 !important; /* Prevent unwanted minimum widths */
}

/* Ensure the table spans the entire available width */
.fc-daygrid-body {
    width: 100% !important;
}

/* Remove any unwanted white spaces or gaps */
.fc-scrollgrid-sync-inner {
    padding: 0 !important;
    margin: 0 !important;
}

/* Adjust the bottom event spacing inside cells */
.fc-daygrid-day-events {
    margin-top: 0 !important;
}
.fc-daygrid-day-events{
    display: none;
}

/* Even smaller screens (like <= 480px) for finer tweaks */
@media (max-width: 480px) {
    #vdc-frontend-calendar .fc {
        font-size: 17px !important;
    }
    .fc .fc-toolbar h2.fc-toolbar-title {
        font-size: 16px !important;
    }
    .fc .fc-daygrid-day-number {
        font-size: 13px !important;
        padding: 6px !important;
    }
    .fc .fc-daygrid-day-frame {
        min-height: 45px !important;
    }

    /* Reduce outer container padding on very small screens */
    #vdc-calendar-container {
        padding: 0px !important;
    }
}
.vdc-calendar-layout {
    display: flex;
    gap: 20px;
}

/* Calendar takes full width by default if desired */
.vdc-frontend-calendar {
    flex: 1;
}

.vdc-lesson-info-column {
    width: 300px;
    background: transparent;
    border: 1px solid white;
    padding: 20px;
    border-radius: 4px;
    color: #fff;
}

/* On tablets and mobiles (max-width:768px), switch to single column */
@media (max-width: 768px) {
    .vdc-calendar-layout {
        display: block;
    }
    .vdc-lesson-info-column {
        width: auto;
        margin-top: 20px;
    }
}
#vdc-frontend-calendar {
    width: 100%;
    padding: 1em;
    margin: 0 auto;
    background-color: transparent; /* Optional: Background for better contrast */
    border-radius: 4px;
}

@media (max-width: 768px) {
    #vdc-frontend-calendar {
        height: 100% !important;
        /*padding: 10px; /* Add padding for smaller screens */
    }
}
/* Ensure the calendar takes the full width and height of its container */
#vdc-frontend-calendar {
    width: 100%;
    max-height: none; /* Allow it to expand fully */
    overflow: visible; /* Prevent clipping of content */
}

.fc {
    height: auto !important; /* Let the calendar adjust its height dynamically */
}

.fc-scroller,
.fc-scroller-liquid-absolute {
    height: auto !important; /* Adjust the scroller height */
    max-height: none !important; /* Allow full height expansion */
    overflow-y: visible !important; /* Ensure no hidden overflow */
}

.fc-dayGridMonth-view .fc-scrollgrid {
    height: auto !important; /* Ensure the scrollgrid adjusts dynamically */
}

/* Fix for mobile devices */
@media (max-width: 768px) {
    .fc-scroller {
        overflow-y: visible !important; /* Ensure no scrollbars are cutting off content */
    }

    #vdc-frontend-calendar .fc-view-harness {
        height: auto !important; /* Dynamically adjust height */
        overflow: visible !important;
    }

    .fc .fc-daygrid-body {
        height: auto !important;
    }
}
.location-platines-container {
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 10px;
}

.platines-eye-icon {
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
}

.platines-tooltip {
    position: absolute;
    background: #000;
    border: 1px solid white;
    border-radius: 4px;
    padding: 10px;
    z-index: 10002;
}

.platines-tooltip img {
    display: block;
    max-width: 100%;
    height: auto;
}
.youtube-embed-container {
    display: flex; /* Use flexbox for centering */
    justify-content: center; /* Horizontally center the iframe */
    align-items: center; /* Vertically align the iframe, if applicable */
    margin: 20px auto; /* Add margin to create space around the container */
    max-width: 100%; /* Ensure it doesn't exceed the container width */
    padding: 10px; /* Optional: Add some padding for spacing */
    background: #000; /* Optional: Add a background color to highlight the embed */
    border-radius: 0px; /* Optional: Rounded corners */
}

.youtube-embed-container iframe {
    width: 80%; /* Set iframe to take 80% of the container's width */
    height: auto; /* Maintain the aspect ratio */
    max-width: 100%; /* Ensure the iframe doesn't exceed the container width */
    aspect-ratio: 16 / 9; /* Maintain the 16:9 aspect ratio */
    border: none; /* Remove iframe border */
}




/* === Responsive Breakpoints === */
/*@media (max-width: 1024px) and (min-width: 769px) {
    .fancy-title {
        font-size: var(--font-size-tablet);
    }
}
@media (max-width: 768px) {
    .fancy-title {
        font-size: var(--font-size-mobile);
    }
}

/* === Custom Mobile Menu Styles === */

.custom-mobile-menu {
    position: relative;
    z-index: 1000; /* Ensure the menu appears above other elements */
    
    /* Flexbox Properties */
    display: flex;
    justify-content: flex-end; /* Aligns child elements to the right */
    align-items: center; /* Vertically centers the hamburger icon */
    
    /* Prevent Overflow */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevents child elements from causing overflow */
    
    /* Optional: Add padding for spacing */
    /*padding: 10px 20px;*/
}

/* Hamburger Icon Styles */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    
    /* Prevent stretching */
    /*flex-shrink: 0;
    
    /* Ensure no unintended margins or padding */
    margin: 0;
}

.hamburger:focus {
    outline: none; /* Remove default focus outline */
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #fff; /* Change to desired color */
    border-radius: 0px;
    transition: all 0.3s ease;
    
    /* Adjust z-index to a reasonable value or remove */
    z-index: 3; /* Lowered from 9999 */
}

/* Transform Hamburger to Cross When Active */
.hamburger.active .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Box Styles */
.mobile-menu-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0; /* Hidden by default */
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
    overflow: hidden;
    transition: height 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2; /* Ensure it's below the hamburger */
}

.mobile-menu-box.open {
    height: 100%; /* Full height when open */
}

/* Navigation Menu Styles */
.mobile-nav {
    width: 100%;
    text-align: center;
    line-height: 1.5em;
}

.mobile-menu-list {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin: 20px 0;
    list-style: none; /* Ensure no bullet points */
}

.mobile-menu-link {
    color: #fff; /* Link color */
    text-decoration: none;
    font-size: 1.5rem; /* Adjust as needed */
    transition: color 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    color: #ddd; /* Hover and focus color */
}
/* Mobile Devices */
@media (max-width: 768px) {

  /* Additional list style resets */
  .custom-mobile-menu .mobile-menu-box ul.mobile-menu-list,
  .custom-mobile-menu .mobile-menu-box ul.mobile-menu-list li {
      list-style-type: none;
      list-style: none !important;
      padding: 0 !important;
      margin: 0 !important;
  }
}
.et_pb_section {
    padding: 0 !important;
}

/* === Optional: Prevent Body from Overflowing Horizontally === */
body {
    overflow-x: hidden;
}
.et_pb_slide_description {
    margin-left: 0em !important;
    margin-right: 0em !important;
}

/* === 1. Container Styling === */
.swal2-container {
    display: flex !important;
    align-items: flex-start !important;  /* Align to the top with padding */
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.5) !important; /* Semi-transparent backdrop */
    overflow-y: auto !important; /* Enable vertical scrolling if needed */
    z-index: 10002 !important;   /* Keep above nav bar if needed */
    padding-top: 60px;           /* Adjust to your nav bar height */
    padding-bottom: 20px;
}

/* === 2. Modal Popup Styling === */
.swal2-popup {
    background: #000000 !important;  /* Dark background color */
    border: 1px solid white !important;
    border-radius: 4px !important;
    padding: 20px !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3) !important;
    width: 50% !important;      /* A good default for desktops/tablets */
    /*max-width: 500px !important;/* Don’t exceed 500px on larger screens */
    color: white !important;
    display: grid !important;
    position: relative !important;
    top: 0 !important;
    max-height: calc(100vh - 3em - 40px) !important; 
    overflow-y: auto !important;
}

/* === 3. Close Button Styling === */
.swal2-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5em !important;
    color: white !important;
    cursor: pointer !important;
    transition: color 0.3s ease;
}
.swal2-close:hover {
    color: #ddd !important;
}

/* === 4. Title Styling === */
.swal2-title {
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 0px !important;
    text-align: center !important;
    color: white !important;
}

/* === 5. HTML Container Styling === */
.swal2-html-container {
    padding: 0;
    color: white !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}
.swal2-popup .swal2-select option {
    background-color: #000000 !important; /* Black background */
    color: #ffffff !important;            /* White text for contrast */
}

/* === 6. Lesson Price and Details Styling === */
.vdc-calendar-modal-content h3 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
}
.vdc-calendar-modal-content p {
    font-size: 16px !important;
    margin-bottom: 8px !important;
    color: #fff !important;
}
.vdc-calendar-modal-content hr {
    border: 0;
    height: 1px;
    background: #fff;
    margin: 10px 0 !important;
}



/* === 8. Payment Form Styling === */
.vdc-payment-form {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border: 1px solid #fff;
    border-radius: 4px;
    margin-top: 20px !important;
}
.vdc-payment-form h2 {
    margin-top: 0;
    color: white !important;
    text-align: center !important;
}
.vdc-submit-payment {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    width: 100%;
}
.vdc-submit-payment:hover {
    background-color: #006799;
}

/* === 9. Platines Eye Icon Styling === */
.platines-eye-icon {
    margin-left: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}
.platines-eye-icon:hover {
    color: #c9c9c9;
}

/* === 10. Responsive Design === */
@media (max-width: 768px) {
    .swal2-popup {
        width: 95% !important; /* Slightly wider on tablets */
        padding: 15px !important;
    }
    .vdc-calendar-modal-content h3 {
        font-size: 20px !important; /* Decrease h3 a bit more */
    }
    .vdc-calendar-modal-content p {
        font-size: 14px !important;
    }
    .professor-image {
        max-width: 80px !important;
        height: 80px !important;
    }
    .social-icon {
        width: 30px;
        height: 30px;
    }
    .social-link {
        font-size: 1em;
    }
    .vdc-submit-payment {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .swal2-popup {
        width: 100% !important; /* Full width on very small screens */
        padding: 10px !important;
    }
    .vdc-calendar-modal-content h3 {
        font-size: 16px !important;
    }
    .vdc-calendar-modal-content p {
        font-size: 12px !important;
    }
    .professor-image {
        max-width: 60px !important;
        height: 60px !important;
    }
    .social-icon {
        width: 25px;
        height: 25px;
    }
    .social-link {
        font-size: 0.9em;
    }
    .vdc-submit-payment {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}
/* CSS overrides for SweetAlert2 inputs */
.swal2-popup .swal2-input,
.swal2-popup .swal2-select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 5px auto !important;
  /*display: block !important;*/
}

@media (max-width: 480px) {
  /* Additional small-screen tweaks if needed */
  .swal2-popup .swal2-input,
  .swal2-popup .swal2-select {
    font-size: 16px !important; 
    /* etc. */
  }
}
/* Style the select dropdown */
#vdc_payment_method, #modal-payment-method-select {
    -webkit-appearance: none;  /* Remove default browser styles */
    -moz-appearance: none;     /* Remove Firefox default styles */
    appearance: none;          /* Remove default styles for modern browsers */
    margin-bottom: 10px;
    padding: 10px 40px 10px 15px; /* Adjust padding to accommodate the custom arrow */
    background-color: #000;    /* Set desired background color */
    color: #fff;               /* Set text color */
    font-family: 'Inter', sans-serif; /* Default font for text */
    width: 100%;               /* Ensure the width is full */
    border: 1px solid #ccc;    /* Optional: add border */
    border-radius: 4px;        /* Optional: add border radius */
    cursor: pointer;           /* Change cursor to pointer */
    font-size: 16px;

    /* Add the custom downward-pointing arrow */
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTAgNiI+ICA8cG9seWdvbiBwb2ludHM9IjAsMCA1LDYgMTAsMCIgZmlsbD0iI2ZmZmZmZiIvPiA8L3N2Zz4=');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 6px; /* Adjust size as needed */
    min-height: 54px;
}

/* Optional: Change arrow color on hover */
#vdc_payment_method:hover, #modal-payment-method-select:hover {
    background-color: #000; /* Change background color on hover */    
}

/* Style the option text */
#vdc_payment_method option, #modal-payment-method-select option {
    padding-right: 20px; /* Ensure option text is aligned properly */
    background-color: #000; /* Match the select background */
    color: #fff; /* Match the select text color */
}

/* Style for the map tooltip container */
.map-tooltip-container {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    z-index: 10002;
}

/* Optional: Style adjustments for the SweetAlert2 modal */
.vdc-calendar-modal-content {
    font-family: 'Inter', sans-serif;
}

.vdc-calendar-modal-content .map-section {
    margin-top: 10px;
}




/* === Prevent Horizontal Overflow === */
body {
    overflow-x: hidden;
}

/* === Additional Calendar Styling === */
.fc .fc-daygrid-day-number {
    text-align: center;
}

.fc .fc-scrollgrid-section-header {
    display: none !important;
}

.fc .fc-scrollgrid-section {
    background: none !important;
}

.fc .fc-col-header-cell-cushion {
    border: none !important;
}

/* === Custom SweetAlert2 Popup Class for Additional Styling (Optional) === */
.vdc-swal-popup {
    /* Ensure the modal respects the top padding */
    margin-top: 0 !important;
}

/* 8. Payment Form Styling */
.vdc-payment-form {
    background-color: rgba(255, 255, 255, 0.1); /* Slight overlay */
    padding: 15px;
    border: 1px solid #fff;
    border-radius: 4px;
    margin-top: 20px !important;
}

.vdc-payment-form h2 {
    margin-top: 0;
    color: white !important;
    text-align: center !important;
}

.vdc-submit-payment {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.vdc-submit-payment:hover {
    background-color: #006799;
}

/* 9. Platines Eye Icon Styling */
.platines-eye-icon {
    margin-left: 10px;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.platines-eye-icon:hover {
    color: #fff;
}

/* 10. Responsive Design */
@media (max-width: 768px) {
    .swal2-popup {
        width: 95% !important;
        padding: 15px !important;
    }

    .vdc-calendar-modal-content h3 {
        font-size: 24px !important;
    }

    .vdc-calendar-modal-content p {
        font-size: 14px !important;
    }

    .professor-image {
        max-width: 80px !important;
        height: 80px !important;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .social-link {
        font-size: 1em;
    }

    .vdc-submit-payment {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .swal2-popup {
        width: 100% !important;
        padding: 10px !important;
    }

    .vdc-calendar-modal-content h3 {
        font-size: 18px !important;
    }

    .vdc-calendar-modal-content p {
        font-size: 16px !important;
    }

    .professor-image {
        max-width: 60px !important;
        height: 60px !important;
    }

    .social-icon {
        width: 25px;
        height: 25px;
    }

    .social-link {
        font-size: 0.9em;
    }

    .vdc-submit-payment {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
}

/* === Prevent Horizontal Overflow === */
body {
    overflow-x: hidden;
}

/* === Additional Calendar Styling === */
.fc .fc-daygrid-day-number {
    text-align: center;
}

.fc .fc-scrollgrid-section-header {
    display: none !important;
}

.fc .fc-scrollgrid-section {
    background: none !important;
}

.fc .fc-col-header-cell-cushion {
    border: none !important;
}

/* === Custom SweetAlert2 Popup Class for Additional Styling (Optional) === */
.vdc-swal-popup {
    /* Ensure the modal respects the top padding */
    margin-top: 3em !important;
}
/* Smooth transition for icon opacity */
.bg-video-toggle-button{
    background-color: #000;
}
.bg-video-toggle-button i {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #000;
    color: white;
  }
  
  .bg-video-toggle-button i:not(.hidden) {
    opacity: 1;
  }
  
  .bg-video-toggle-button i.hidden {
    display: none;
  }

.swal2-confirm {
    background-color: #000;
    color: white;
    border: 1px solid white;
    font-size: 14px;
    font-weight: 600;
}
/* === 1. Parent Containers for Row Layout === */
.sections-container {
    display: flex;               /* Enable Flexbox */
    flex-direction: row;         /* Arrange children in a row */
    gap: 10px;                   /* Space between columns */
    margin-top: 0px;
    padding: 0;
    box-sizing: border-box;
    width: 100%;                 /* Full width */
    background: transparent;
    border: 0px solid white;
    color: #fff;
    align-items: stretch;        /* Ensure children stretch to equal heights */
}

/* === 2. Individual Sections === */
.sections-container .location-section,
.sections-container .professor-section {
    flex: 1;                     /* Equal width */
    padding: 15px;
    border: 1px solid #ffffff;   /* Consistent border */
    border-radius: 4px;
    background: transparent;
    box-sizing: border-box;
    /* min-height: 100%; */    /* Removed to allow Flexbox to manage height */
    color: #fff;
    margin-bottom: 0px;         /* Space below when stacked */
    text-align: left;
    display: flex;               /* Enable Flexbox within sections */
    flex-direction: column;      /* Stack internal content vertically */
}

/* === 3. Titles within Each Section === */
.location-title,
.professor-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: left;            /* Ensure titles are left-aligned */
}

/* === 4. Paragraph Styling for Details === */
.location-address,
.location-type,
.location-platines,
.location-genre,

.professor-bio {
    font-size: 1em;
    margin-bottom: 8px;
    color: #ccc;
}

/* === 5. Container for Professor's Image and Name === */


/* === 6. Styling for the Professor's Image === */
.professor-image {
    width: 80px;                 /* Adjust size as needed */
    height: 80px;                /* Ensure the image is square */
    border-radius: 0%;          /* Makes the image circular */
    object-fit: cover;           /* Ensures the image covers the container without distortion */
    border: 2px solid #fff;      /* Adds a white border around the image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

/* === 11. Styling for Custom Label Icons === */
.custom-label-icon {
    width: 16px;                   /* Adjust size as needed */
    height: 16px;                  /* Maintain aspect ratio */
    margin-right: 5px;             /* Space between icon and text */
    vertical-align: middle;        /* Aligns icon vertically with text */
    filter: brightness(0) invert(1); /* Converts black to white */
}
/* === Payment Fields Container === */
.payment-fields-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; /* Introduce a 20px gap between the containers */
    margin-top: 10px; /* Space above the container */
    margin-bottom: 5px;
    align-items: stretch; /* Ensure children stretch to the same height */
}

/* === Email Input Container === */
.email-input-container {
    flex: 1 1 calc(50% - 5px); /* Adjusted to account for the gap */
    max-width: calc(50% - 5px); /* Adjusted to account for the gap */
    display: flex; /* Enable flex layout for inner elements */
    align-items: center; /* Center items vertically */
    border: 1px solid #fff; /* Match border style */
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in size */
    background-color: #000; /* Match background color */
    padding: 0 8px; /* Consistent horizontal padding */
}

/* === Email Input Styling === */
#modal-customer-email-field {
    width: 100%; /* Fill the container's width */
    background-color: transparent; /* Inherit background from container */
    margin: 0 !important; /* Remove default margins */
    height: 100%; /* Fill the container's height */
    color: #fff; /* Text color */
    padding: 8px; /* Consistent padding */
    font-size: 16px; /* Maintain consistent font size */
    border: none; /* Remove default border */
    outline: none; /* Remove default outline */
    box-sizing: border-box; /* Include padding in size */
}

/* === Number Input Container === */
.number-input-container {
    flex: 1 1 calc(50% - 5px); /* Adjusted to account for the gap */
    max-width: calc(50% - 5px); /* Adjusted to account for the gap */
    display: flex; /* Enable flex layout for inner elements */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    border: 1px solid #fff; /* Match border style */
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in size */
    background-color: #000; /* Match background color */
    padding: 0 8px; /* Consistent horizontal padding */
}

/* === Number Input Styling === */
.number-input-container input[type="number"] {
    width: 100%;
    padding: 8px 35px; /* Padding to accommodate buttons */
    font-size: 16px;
    text-align: center;
    border: none; /* Remove default border */
    border-radius: 4px;
    appearance: none; /* Remove default number input arrows */
    -moz-appearance: textfield; /* Firefox */
    outline: none; /* Remove default outline */
    box-sizing: border-box; /* Include padding in size */
    background-color: transparent; /* Inherit background from container */
    color: #fff; /* Text color */
    transition: border-color 0.3s; /* Smooth transition for border color */
}

/* === Hide Number Input Arrows in WebKit Browsers === */
.number-input-container input[type="number"]::-webkit-inner-spin-button,
.number-input-container input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* === Hide Number Input Arrows in Firefox === */
.number-input-container input[type="number"] {
    -moz-appearance: textfield;
}

/* === Decrement and Increment Buttons === */
.number-input-container .decrement-btn,
.number-input-container .increment-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-input-container .decrement-btn:hover,
.number-input-container .increment-btn:hover {
    color: gray; /* Change color on hover for better visibility */
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
    .payment-fields-container {
        flex-direction: column;
        gap: 0px; /* Remove gap when stacked vertically */
    }

    .email-input-container,
    .number-input-container {
        flex: 1 1 100%;
        max-width: 100%; /* Ensure full width for stacked layout */
        margin: 5px 0 !important;
    }

    .email-input-container {
        margin: 0 0 5px 0 !important;
    }

    .number-input-container {
        margin-top: 10px;
    }
}

/* === Hide Number Input Arrows in WebKit Browsers (Chrome, Safari, Edge, Opera) === */
.number-input-container .swal2-input::-webkit-inner-spin-button,
.number-input-container .swal2-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* === Hide Number Input Arrows in Firefox === */
.number-input-container .swal2-input {
    -moz-appearance: textfield;
}

/* === Optional: Remove Arrow Styles in Internet Explorer 10+ === */
.number-input-container .swal2-input::-ms-clear,
.number-input-container .swal2-input::-ms-re-spin {
    display: none;
    width: 0;
    height: 0;
}



@media (max-width: 600px) {
    /* Stack the sections vertically */
    .sections-container {
        flex-direction: column;    /* Change from row to column */
        gap: 10px;                 /* Reduce gap for mobile */
        padding: 0;           /* Adjust padding for mobile */
    }
    
    /* Ensure each section takes full width */
    .sections-container .location-section,
    .sections-container .professor-section {
        max-width: 100%;            /* Remove max-width constraints */
        margin: 0;             /* Center sections if necessary */
    }
    
    /* Existing styles for professor-info and other elements */
    .professor-info {
        flex-direction: column;    /* Stacks children vertically on small screens */
        align-items: flex-start;   /* Aligns items to the left on small screens */
        gap: 10px;                 /* Space between image and name */
        margin-bottom: 15px;       /* Adjust margin if needed */
    }
    
    .professor-image {
        width: 60px;               /* Smaller image on mobile */
        height: 60px;              /* Smaller image on mobile */
    }
    
    .professor-name {
        font-size: 1em;            /* Adjust font size on mobile */
    }
    
    .professor-socials-list {
        justify-content: left;   /* Centers social icons on small screens */
    }
}


/* === 13. Styling for the Professor's Section === */
.professor-section {
    background-color: #000;        /* Dark background */
    padding: 20px;                 /* Adds padding around the content */
    border-radius: 4px;            /* Rounds the corners */
    max-width: 600px;              /* Sets a maximum width */
    margin: 0 auto;                /* Centers the section horizontally */
    display: flex;                  /* Enable Flexbox within the section */
    flex-direction: column;         /* Stack content vertically */
}
p.et_pb_contact_field:last-child {
    padding: 0 0 0 0%;
}
.et_contact_bottom_container {
    margin: 0;
}
.modal-card-element {
    border: 1px solid white;
}
#vdc_card-element {
    font-weight: 400 !important;
}