/* ==========================================================================
   Base Styles and Centering Wrapper
   ========================================================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Century Gothic", "Gill Sans Light", sans-serif;
    color: #654321;
    overflow-x: hidden; /* Stops horizontal screen shaking */
}

/* Centers the main content area in the browser window */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
}

/* ==========================================================================
   SECTION 1: Grid Menu Layout
   ========================================================================== */
.menu-section {
    display: grid;
    grid-template-columns: repeat(6, auto);
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; 
}

/* Nav Link Styling */
.menu-item {
    text-decoration: none;
    color: #654321;
    font-weight: bold;
    font-size: clamp(0.8rem, 1.3vw, 1.1rem);
    transition: color 0.3s ease;
}

.menu-item:hover {
    color: #c1ca05;
}

/* Home Button Image Replacement Styling */
.home-link {
    display: inline-block;
    width: clamp(14px, 2.1vw, 25px);  
    height: clamp(14px, 2.1vw, 25px); 
    background-image: url('../images/home.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px; 
    overflow: hidden;
}

.home-link:hover {
    background-image: url('../images/homeGo.png');
}

/* Perfect Full-Width Divider Line Fix */
.full-width-divider-container {
    position: relative;
    width: 100%;
    height: 5px;
    margin: 0;
    padding: 0;
}

.full-width-divider-container::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; 
    height: 5px;
    background-color: #654321;
    z-index: 1;
}

/* ==========================================================================
   SECTION 2: Logo and Slideshow Banner Wrapper Setup
   ========================================================================== */
.section-two-wrapper {
    position: relative;
    width: 100%;
}

/* Separate background box container limited to 460px max height */
.background-box-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(38.33vw);
    max-height: 460px;
    z-index: 1;
}

/* Background image layer constrained perfectly inside the box container */
.banner-bg-layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-image: url('../images/wt-wBg-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dedicated structural bottom line element attached straight to the background container */
.background-box-bottom-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 5px;
    background-color: #654321;
}

/* Foreground Content Container */
.banner-inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    height: auto;
    position: relative;
    z-index: 5;
}

/* Band Logo Styling */
.band-logo {
    margin-left: 10px;
    width: 23vw; 
    max-width: 280px; 
    height: auto;
    margin-top: 10px; 
}

/* Slideshow Container */
.slideshow-container {
    justify-self: center; 
    width: 100%;
    max-width: 908px;
    margin-top: 10px; 
    position: relative;
}

/* Slides setup */
.slide {
    display: none;
    width: 100%;
    height: auto;
    max-width: 908px;
    opacity: 0;
    transition: opacity 1s ease-in-out; 
}

.slide.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   Widescreen Desktop Track Layout Definitions (Widescreen Only)
   ========================================================================== */
@media screen and (min-width: 733px) {
    .notice-inner-grid, .video-inner-grid, .booking-inner-grid, .footer-inner-grid {
        display: grid;
        grid-template-columns: auto 1fr; 
        align-items: start;
        width: 100%;
    }

    .notice-alignment-spacer, .video-alignment-spacer, .booking-alignment-spacer, .footer-alignment-spacer {
        width: 23vw;
        max-width: 280px;
        margin-left: 10px;
        flex-shrink: 0;
    }

    .notice-content-block, .video-content-block, .booking-content-block, .footer-content-block {
        width: 100%;
        max-width: 908px; 
        justify-self: center;
    }
}

/* ==========================================================================
   SECTION 3 Clean Core Architecture Styles (Corrected Grid Alignment & Spacing)
   ========================================================================== */
.notice-content-block {
    padding: 40px 0 20px 0;
    box-sizing: border-box;
    width: 100%;
    height: auto !important;
}

.notice-text-content-wrapper {
    width: 100%;
    box-sizing: border-box;
    height: auto !important;
}

.notice-main-title {
    margin: 0 0 30px 0;
    text-align: left;
    width: 100%;
    display: block;
    height: auto !important;
}

/* WIDESCREEN FLEX CONTAINER: Forces row direction explicitly at all desktop and intermediate viewport widths */
.notice-desktop-flex-row {
    display: flex !important;
    flex-direction: row !important; /* Locks row layout globally, preventing mid-size container flips */
    align-items: flex-start !important;
    gap: 35px !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
}

/* SPEAKER BOX ACCORD: Anchors the graphic tightly on the left axis block */
.notice-speaker-box {
    order: 1 !important; /* Forces the speaker to the first positioning coordinate at all viewports above mobile */
    flex-shrink: 0 !important;
    width: clamp(100px, 12vw, 150px) !important;
    height: auto !important;
}

.speaker-link-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* STACK CONTROLLER: Keeps text tracks sitting right next to the left-anchored speaker box */
.notice-text-columns-stack {
    order: 2 !important; /* Forces text to remain on the second positioning coordinate */
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    padding-right: 35px !important; /* MODIFIED: Stepped inward to 35px for precision right boundary control */
    box-sizing: border-box !important;
    height: auto !important;
}

.notice-subtitle-box {
    margin: 0 0 35px 0 !important; /* MODIFIED: Expanded to 35px for cleaner vertical layout separation */
    width: 100% !important;
    height: auto !important;
}

.notice-sub-title {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem) !important;
    font-weight: bold !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    color: #654321 !important;
}

.notice-details-box {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: auto !important;
}

.notice-details-text {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    text-align: justify !important;
    color: #654321 !important;
}

/* Self-contained grey line that stops at the precise layout container edge bounds */
.section-grey-divider {
    width: 100%;
    max-width: 1200px;      /* Perfect alignment constraint to match your site panels */
    margin: 35px auto;      /* The auto setting centers the block inside wide screens */
    padding: 0 20px;        /* Matches your site content side padding safety gaps */
    box-sizing: border-box; /* Normalizes layout tracking rules */
    height: 1px;            /* Preserves your fine-line rendering rule thickness */
    background-color: #8b8a8a; /* Or your preferred grey theme hex indicator */
}






/* ==========================================================================
   SECTION 4 Core Architecture Styles
   ========================================================================== */
.video-content-block {
    padding: 20px 0;
    box-sizing: border-box;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-caption-text {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: bold;
    margin: 20px 0 0 0;
    text-align: left;
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 5 Core Architecture Styles
   ========================================================================== */
.booking-content-block {
    padding: 20px 0;
    box-sizing: border-box;
}

.booking-banner-container {
    width: 100%;
    height: auto;
}

.booking-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.booking-caption-text {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: normal; 
    margin: 20px 0 0 0;
    text-align: left;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 6 Core Architecture Styles
   ========================================================================== */
.footer-content-block {
    padding: 30px 0 50px 0;
    box-sizing: border-box;
}

.footer-split-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-text-segment {
    flex-grow: 1;
}

.footer-branding-text {
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: bold;
    margin: 0;
    text-align: left;
    line-height: 1.3;
}

.footer-socials-segment {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.social-btn {
    display: inline-block;
    width: clamp(35px, 4vw, 45px);
    height: auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.social-btn:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

/* ==========================================================================
   VIDEO SLIDESHOW EXTENSIONS
   ========================================================================== */
.slide-video {
    display: none;
    width: 100%;
    height: auto;
    max-width: 908px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

.slide-video.active {
    display: block;
    opacity: 1;
}

.background-box-container video.banner-bg-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   VIDEO PORTFOLIO GRID LAYOUT
   ========================================================================== */
.video-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px 30px; 
    width: 100%;
    margin-top: 25px;
}

.portfolio-video-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.portfolio-video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; 
    overflow: hidden;
    background-color: #000; 
}

.portfolio-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.portfolio-video-caption {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    font-weight: bold;
    margin: 15px 0 0 0;
    text-align: left;
    line-height: 1.4;
}

/* ==========================================================================
   PHOTO PORTFOLIO GALLERY GRID LAYOUT
   ========================================================================== */
.photo-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Forms a clean side-by-side balanced photo deck */
    gap: 35px 30px; 
    width: 100%;
    margin-top: 25px;
}

.portfolio-photo-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2px; /* Subtle image perimeter polish */
    transition: transform 0.3s ease;
}

/* Elegant micro-zoom effect on hover */
.portfolio-photo-item:hover .gallery-img {
    transform: scale(1.02);
}

.portfolio-photo-caption {
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    font-weight: bold;
    margin: 12px 0 0 0;
    text-align: left;
    line-height: 1.4;
    color: #654321;
}

/* ==========================================================================
   PHOTO GRID INTERACTIVE LIGHTBOX CAROUSEL MODAL
   ========================================================================== */
.portfolio-photo-item img {
    cursor: pointer; /* Indicators informing user image is fully clickable */
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 17, 8, 0.96); /* Elegant dark chocolate overlay match */
    justify-content: center;
    align-items: center;
    user-select: none;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
    height: 80%;
}

.lightbox-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-slide-item {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateX(100px); /* Pre-offsets the incoming item cleanly to the right */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Slide comes into visibility centered */
.lightbox-slide-item.viewing {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Outgoing slide glides smoothly out leftward boundary areas */
.lightbox-slide-item.exiting-left {
    display: block;
    opacity: 0;
    transform: translateX(-100px);
}

.lightbox-close-btn {
    position: absolute;
    top: -50px;
    right: 10px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 52px;
    font-weight: 300;
    padding: 10px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10005;
}

.lightbox-prev { left: -65px; }
.lightbox-next { right: -65px; }

.lightbox-close-btn:hover, .lightbox-nav-btn:hover {
    color: #c1ca05; /* Glow pops into band yellow asset brand parameters */
}

/* ==========================================================================
   DYNAMIC SWIPEABLE LIGHTBOX PROPORTIONAL TRACK MODAL STYLES
   ========================================================================== */
.portfolio-photo-item img {
    cursor: pointer;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 17, 8, 0.96); /* Elegant dark chocolate overlay */
    justify-content: center;
    align-items: center;
    user-select: none;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
    height: 80%;
}

.lightbox-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y; /* Permits vertical swiping, intercepts horizontal tracks for gestures */
}

.lightbox-slide-item {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateX(100px); /* Pre-positions incoming image smoothly off to the right */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Slide comes into visibility centered */
.lightbox-slide-item.viewing {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Outgoing slide glides smoothly out leftward boundary areas */
.lightbox-slide-item.exiting-left {
    display: block;
    opacity: 0;
    transform: translateX(-100px);
}

.lightbox-close-btn {
    position: absolute;
    top: -50px;
    right: 10px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 52px;
    font-weight: 300;
    padding: 10px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10005;
}

.lightbox-prev { left: -65px; }
.lightbox-next { right: -65px; }

.lightbox-close-btn:hover, .lightbox-nav-btn:hover {
    color: #c1ca05; /* Glow pops into band yellow asset brand parameters */
}

/* ==========================================================================
   DYNAMIC SERVER FOLDER TOUCH LIGHTBOX CAROUSEL MODAL
   ========================================================================== */
.portfolio-photo-item img {
    cursor: pointer;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 17, 8, 0.96); /* Dark chocolate background overlay match */
    justify-content: center;
    align-items: center;
    user-select: none;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
    height: 80%;
}

.lightbox-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-y; /* Intercepts horizontal swipe gesture streams */
}

.lightbox-slide-item {
    display: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: translateX(100px); /* Pre-offsets the incoming item cleanly to the right */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

/* Slide comes into visibility centered */
.lightbox-slide-item.viewing {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Outgoing slide glides smoothly out leftward boundary areas */
.lightbox-slide-item.exiting-left {
    display: block;
    opacity: 0;
    transform: translateX(-100px);
}

.lightbox-close-btn {
    position: absolute;
    top: -50px;
    right: 10px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.65);
    font-size: 52px;
    font-weight: 300;
    padding: 10px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10005;
}

.lightbox-prev { left: -65px; }
.lightbox-next { right: -65px; }

.lightbox-close-btn:hover, .lightbox-nav-btn:hover {
    color: #c1ca05; /* Highlights with band secondary pop yellow color */
}

/* ==========================================================================
   GIG TIMELINE SCHEDULE CALENDAR STYLES
   ========================================================================== */
.calendar-schedule-container {
    width: 100%;
    margin-top: 25px;
    border-collapse: collapse;
    text-align: left;
}

.calendar-row {
    border-bottom: 2px solid rgba(101, 67, 33, 0.15); 
    transition: background-color 0.2s ease;
}

.calendar-row:hover {
    background-color: rgba(193, 202, 5, 0.05); 
}

.calendar-cell {
    padding: 20px 15px;
    vertical-align: middle;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.4;
}

.cell-date {
    font-weight: bold;
    color: #c1ca05; 
    width: 18%;
}

.cell-venue {
    font-weight: bold;
    width: 32%;
}

.cell-details {
    color: #555555;
    width: 35%;
}

.cell-action {
    width: 15%;
    text-align: right;
    padding-right: 5px;
}

.calendar-add-btn {
    display: inline-block;
    background-color: #654321;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.calendar-add-btn:hover {
    background-color: #c1ca05;
    transform: translateY(-1px);
}

/* Disables the admin hover editing controls overlay window from showing up on the calendar layout page */
div[class*="elfsight-app"] > a[href*="elfsight.com"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   INTERACTIVE CLIENT INQUIRY FORM FORMATTING
   ========================================================================== */
.booking-form-container {
    width: 100%;
    margin-top: 25px;
    box-sizing: border-box;
}

.form-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 25px;
    width: 100%;
}

.form-group-block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group-block.full-width {
    grid-column: 1 / span 2;
}

.booking-field-label {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #654321;
}

.booking-field-input, .booking-field-select, .booking-field-textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 1rem;
    color: #654321;
    background-color: rgba(101, 67, 33, 0.03);
    border: 2px solid rgba(101, 67, 33, 0.15);
    border-radius: 3px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.booking-field-input:focus, .booking-field-select:focus, .booking-field-textarea:focus {
    outline: none;
    border-color: #c1ca05;
    background-color: #ffffff;
}

.booking-field-textarea {
    resize: vertical;
    min-height: 140px;
}

.booking-submit-btn {
    display: inline-block;
    background-color: #654321;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 14px 35px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.booking-submit-btn:hover {
    background-color: #c1ca05;
    transform: translateY(-1px);
}

/* ==========================================================================
   PLANNERS DIRECTORY MODULE SECTION DISPLAY STYLES
   ========================================================================== */
.planners-banner-box {
    width: 100%;
    background-color: #bed61c; /* Your custom explicit chartreuse yellow backdrop skin match */
    padding: 45px 50px 55px 50px;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 25px;
}

.planners-main-title {
    width: 100%;
    margin-bottom: 35px;
    display: block;
}

.planners-title-img {
    width: 33.3%;
    max-width: 300px;
    min-width: 180px;
    height: auto;
    display: block;
}

.planners-directory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Generates 2 balanced column tracks side-by-side */
    gap: 0 45px;
    width: 100%;
}

.planners-column {
    display: flex;
    flex-direction: column;
}

.planner-entry-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    color: #372411; /* Explicit dark brown text color track */
    font-family: inherit;
}

.planner-venue-title {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: bold;
    color: #F5F276; /* Custom pop subtitle accent highlight text color skin */
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.planner-tagline-text {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-style: italic;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.planner-hyperlink {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: #372411;
    text-decoration: none;
    margin: 0 0 16px 0;
    font-weight: 500;
    align-self: flex-start;
}

.planner-hyperlink:hover {
    text-decoration: underline;
}

.planner-contact-details {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    margin: 0 0 14px 0;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.planner-contact-details:last-of-type {
    margin-bottom: 0;
}

.planner-contact-details strong {
    font-weight: bold;
}

.planner-email-text {
    font-size: clamp(0.8rem, 1.1vw, 0.9rem);
    display: inline-block;
    word-break: break-all; /* Prevents text overflow breaks across column edges on small viewports */
}

/* Custom Contained Planners Bottom Divider styling */
hr.planners-inner-divider {
    border: 0;
    height: 2px;
    background-color: rgba(55, 36, 17, 0.15); /* Soft, subtle dark brown divider overlay tracking rule */
    width: 100%;
    margin: 45px 0 0 0;
    display: block;
}

/* Custom page-width grey line matching the biography split lines precisely */
.planners-global-divider {
    width: 100%;
    height: 1px;
    background-color: #dcdcdc; /* Perfect template line grey match */
    margin: 55px 0 35px 0;
    display: block;
}

/* ==========================================================================
   WT-VIDEOS PAGE ONLY: BALANCED WHITE PICTURE FRAME & CENTERING OVERRIDES
   ========================================================================== */
/* The .video-page-body prefix guarantees this code ONLY runs inside wt-videos.html */
.video-page-body .section-two-wrapper .slideshow-container {
    background-color: #ffffff !important; /* Crisp white outer border padding layer */
    padding: 10px !important; /* Creates an identical 10px frame thickness all around */
    box-sizing: border-box !important;
    border-radius: 2px !important;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.35), 
                0px 2px 8px rgba(0, 0, 0, 0.2) !important;
    
    /* Shrink-wraps tightly around your video dimensions for perfect visual balance */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
    
    width: auto !important;
    max-width: 908px !important;
    height: auto !important;
    margin: 10px auto 0 auto !important;
}

/* Forces all non-active slideshow video layers to clear their layout dimensions instantly */
.video-page-body .slideshow-container video,
.video-page-body .slideshow-container .slide-video {
    display: none !important; 
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important; /* Absolute horizontal layout center line mapping */
    object-fit: contain !important;
    background-color: #1a1108 !important;
}

/* Snaps the single active streaming performance clip into clear grid focus */
.video-page-body .slideshow-container video.active,
.video-page-body .slideshow-container .slide-video.active {
    display: block !important;
}


/* ==========================================================================
   SECTION: YouTube Channel Promotion Setup (Inserted above Section 6)
   ========================================================================== */
.youtube-promo-container {
    position: relative;
    width: 100%;
}

.youtube-promo-inner-grid {
    max-width: 1200px; /* Perfect match to .page-container / .banner-inner-container */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.youtube-promo-alignment-spacer {
    display: none; /* Collapsed baseline for mobile mobile views */
}

.youtube-promo-content-block {
    width: 100%;
    padding: 20px 0 40px 0;
    box-sizing: border-box;
    text-align: center; /* Center-aligned for mobile viewport comfort */
}

.youtube-promo-text {
    font-family: "Century Gothic", "Gill Sans Light", sans-serif;
    color: #c1ca05; /* Your requested yellow pop identifier color */
    font-size: clamp(1.2rem, 2.2vw, 1.6rem); /* Inherits your fluid font scaling sizing rule */
    font-weight: bold;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.youtube-promo-link {
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
}

.youtube-promo-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Micro-zoom interactions following your social-btn styling logic */
.youtube-promo-image:hover {
    transform: scale(1.04);
    opacity: 0.95;
}

/* Widescreen Desktop Track Layout Definitions matching template grids */
@media screen and (min-width: 733px) {
    .youtube-promo-inner-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        width: 100%;
    }
    
    .youtube-promo-alignment-spacer {
        display: block;
        width: 23vw;
        max-width: 280px;
        margin-left: 10px;
        flex-shrink: 0;
    }
    
    .youtube-promo-content-block {
        max-width: 908px;
        justify-self: center;
        text-align: left; /* Snaps text inline with your left-aligned notice stacks */
    }
    
    .youtube-promo-image {
        margin: 0; /* Left align to track flush with textual columns on desktop layouts */
    }
}

/* ==========================================================================
   SECTION: New Video Showcase Grid & Dividers Setup
   ========================================================================== */

/* Universal Section Divider styling matching clean minimalist framework */
.section-divider {
    border: 0;
    height: 1px;
    background: #333333; /* Dark muted grey rule - swap hex color if needed */
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    opacity: 0.4;
}

.video-showcase-viewport-block {
    position: relative;
    width: 100%;
}

.video-showcase-inner-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.video-showcase-alignment-spacer {
    display: none; /* Collapsed on mobile frames */
}

.video-showcase-content-block {
    width: 100%;
    padding: 20px 0 50px 0;
    box-sizing: border-box;
}

/* Two-column framework grid setup */
.video-grid-container {
    display: grid;
    grid-template-columns: 1fr; /* Stacked layout by default for crisp mobile flow */
    gap: 30px;
    width: 100%;
}

.video-item-wrapper {
    width: 100%;
    background-color: transparent;
}

/* Perfect 16:9 widescreen fluid container math targeting embedded frames */
.video-responsive-iframe-holder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio preservation rule */
    height: 0;
    overflow: hidden;
    border-radius: 4px; /* Optional soft round cornering */
}

.video-responsive-iframe-holder iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Desktop Alignments matching core architecture tracking */
@media screen and (min-width: 733px) {
    .video-showcase-inner-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        width: 100%;
    }
    
    .video-showcase-alignment-spacer {
        display: block;
        width: 23vw;
        max-width: 280px;
        margin-left: 10px;
        flex-shrink: 0;
    }
    
    .video-showcase-content-block {
        max-width: 908px;
        justify-self: center;
    }
    
    .video-grid-container {
        grid-template-columns: 1fr 1fr; /* Snaps safely into dual-column desktop tracking */
    }
}
