html {
    overflow-x : hidden;
}

body { 
    margin: 0; 
    padding: 0; 
    overflow-x: hidden; 
    font-size: 100%; 
    font-family: 'Montserrat', sans-serif;
} 

header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1em; 
    background-color: #355070; 
    background-image: none; 
    color: white; 
    height : auto; 
    margin : 0; 
    width : 100%; 
} 

.menu-toggle { 
    display: block; 
    position : relative; 
    background-color: #fff; 
    border: none; 
    color: #355070; 
    font-weight: 600; 
    padding: 0.5em 1em; 
    font-size: 1em; 
    border-radius: 0.5em; 
    cursor: pointer; 
} 
    
nav { 
    width: 100%; 
    display: block; 
    margin : 0; 
    padding : 0;
} 

nav ul { 
    display: block; 
    list-style: none; 
    margin: 0 0 0 4%; 
    padding: 0; 
    background-color: #355070; 
    text-align: center; max-height: 0; 
    /* Collapsed by default */ 
    overflow: hidden; 
    /* Hide content when collapsed */ 
    transition: max-height 0.4s ease-in-out; 
} 

.nav-item { 
    list-style: none; 
    display: inline-block; 
    padding: 0; 
    position: relative; 
    border-bottom: 1px solid #6d597a; 
    width: 100%; 
    margin: 0;
} 

nav ul li { 
    border-bottom: 1px solid #6d597a; 
    display: inline-block; 
    width: 100%; 
    padding: 0; 
    margin: 0;
} 

nav ul li a { 
    display: block; 
    padding: 1em; 
    color: white; 
    text-decoration: none;
} 

nav ul li a:hover { 
    background-color: #6d597a; 
    color : #fff;
} 

.banner, .banner-narrow { 
    text-align: center;
    background-color: #6d597a;
    min-height: 60vh;
    height: 60vh;
    max-height: none;
} 

.banner-content { 
    margin-top: 0;
    min-height: 100%;
    height: 100%;
    padding: 0 5%;
    background-color: rgba(255,255,255,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} 

.banner-narrow .banner-content {
    margin-top: 0;
    min-height: 100%;
    height: 100%;
}

.banner-title {
    font-size: 2.2em; 
} 

.banner-copy { 
    font-size: 1.3em;
} 

.banner-title,
.banner-copy {
    margin: 0;
    position: static;
    top: auto;
}

.banner-copy .note { 
    font-size: 96%;
} 

.banner-copy br { 
    display : none;
} 

#home-banner, #faq-banner { 
    background: url("media/wyreside-hall-wedding-pianist-portrait.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#bio-banner { 
    background: url("media/session-accordionist-craig-smith.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#west-tower-banner { 
    background: url("media/west-tower-wedding-pianist-portrait.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#west-tower-banner .banner-content {
    background-color: rgba(255,255,255,0.4); 
}

#bio-banner .banner-content { 
    background: none; 
    background-color: rgba(255,255,255,0.6); 
    min-height: 90vh; 
    padding : 0 5%;
} 

#media-banner { 
    background: url("media/wild-boar-wedding-pianist.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#samlesbury-hall-banner { 
    background: url("media/samlesbury-hall-wedding-pianist.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#packages-banner { 
    background: url("media/eaves-hall-wedding-pianist-portrait.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#venues-banner { 
        background: url("media/mitton-hall-wedding-pianist.jpg") no-repeat;
        background-position: center; background-size: cover;
} 

#contact-banner { 
    background: url("media/wyresdale-park-wedding-pianist.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#songs-banner { 
    background: url("media/hidden-river-barn-wedding-piano.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#ribble-valley-banner {
    background: url("media/eaves-hall-pianist.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#eaves-hall-banner {
    background: url("media/eaves-hall-wedding-pianist-portrait.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#mitton-hall-banner {
    background: url("media/mitton-hall-wedding-piano-portrait.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#sparth-house-banner {
    background: url("media/sparth-house-piano.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

#broadoaks-mt-banner { 
    background: url("media/broadoaks-piano.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
} 

#meols-hall-banner { 
    background: url("media/meols-hall-wedding-pianist-portrait.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
}

#knowsley-hall-banner { 
    background: url("media/knowsley-banner-ai-portrait.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
}

#stirk-house-banner { 
    background: url("media/stirk-house-banner-portrait.jpg") no-repeat; 
    background-position: center; 
    background-size: cover;
}

#larkspur-lodge-banner {
    background: url("media/larkspur-lodge-wedding-pianist-portrait.jpg") no-repeat;
    background-position: center;
    background-size: cover;
}

.banner-content { 
    background: none; 
    background-color: rgba(255,255,255,0.4); 
    min-height: 100%;
    height: 100%;
    padding: 0 5%;
} 

main { 
    padding: 1em 1em 0 1em;
} 

.portrait-right { 
    float: none; 
    display: block; 
    margin: 1em auto; 
    width: 100%; 
    height: auto;
} 

h2 { 
    font-size: 1.5em; 
    text-align: center;
} 

.availability-button { 
    font-size: medium; 
    font-size: 65%; 
    font-weight: 600;
} 

.testimonial, .testimonial-small, .recommended { 
    position: static; 
    width: 90%; 
    margin: 1em 5%; 
    background: #355070; 
    border-radius: 2em; 
    font-size: 130%; 
    font-family: "Lora", serif; 
    font-weight: 600; 
    padding: 0.5em 1em; 
    left: -3em; 
    color: #fff; 
    text-align: center;
} 

.para-bullets li { 
    margin-top : 1em;
} 

.video-container { 
    display : block; 
    width : 100%; 
    max-width : 100%; 
    margin : 1em 0; 
    min-height : 34.5em; 
    max-height : 34.5em; 
    overflow-x : hidden; 
    border-bottom : 1px solid #dbdbdb;
}

.video-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 2em;
    border: 4px solid #355070;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    transform: scale(1.01);
}

.instagram-media { 
    background: #fff; 
    border-radius: 0.5em; 
    margin: 1em; 
    max-width: 540px; 
    min-width: 326px; 
    padding: 0; 
    width: 99.375%; 
    width:-webkit-calc(100% - 2px); 
    width:calc(100% - 2px);
} 

.instagram-media { 
    width: 100% !important; 
    min-width: auto !important;
}

.form-container { 
    width: 100%; 
    overflow: hidden; 
    padding : 1em 4% 0 4%;
} 

input, textarea, #form_button { 
    min-width: unset; 
    min-width : 100%;
} 

input[type="date"] { 
    min-width: unset; 
    min-width: 92%; 
    max-width: 100%;
} 

.pb-left, .pb-right { 
    width: 100%;
} 

.pp-left, .pp-right { 
    display: none;
} 

footer { 
    text-align: center; 
    padding-bottom: 0; 
    font-size: 0.8em;
} 

.mob-hide { 
    display: none;
} 

.mobile-only { 
    display: inline;
} 

.songlist { 
    box-sizing : border-box; 
    width : 99%; 
    margin: 0 0.5% 1em 0.5%; 
    padding : 0.5em 5%; 
    border: 4px solid #355070; 
    border-radius: 1em; 
    text-align: center; 
    display: block;
} 

.songlist ul, .songlist h3 { 
    margin: 0;
} 

.songlist li { 
    list-style: none; 
    margin-left: -40px;
} 

.index-bullets { 
    display: inline;
} 

.gallery-tile, .venueshub .gallery-tile, .gallery-4-tile { 
    flex: 0 0 calc((100% - 2%) / 2);
} 

.gallery-tile h4, .venue-3-tile h4, .venue-4-tile h4 {
    font-size : 100%;
}

.venue-list { 
    grid-template-columns: repeat(2, 1fr);
} 

#venue-banner { 
    display: none;
} 

input[type="radio"] { 
    display: inline-block !important; 
    width: auto !important; 
    margin: 0 6px 0 0; 
    vertical-align: middle; 
    min-width: 0 !important;
} 

input[type="checkbox"] { 
    display: inline-block !important; 
    width: auto !important; 
    margin: 0 6px 0 0; 
    vertical-align: middle; 
    min-width: 0 !important;
} 

.form-group br { 
    display : block;
} 

#booking_form p { 
    white-space: normal;
} 

.mobile-extra {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.packages-block.package-expanded .mobile-extra {
    max-height: 1000px; /* large enough for content */
    opacity: 1;
    margin-top: 1em;
}

.read-more-button sub {
    display: inline-block;
    transition: transform 0.3s ease;
}

.packages-block.package-expanded .read-more-button sub {
    transform: rotate(180deg);
}

.read-more-button { 
    color: #fff; 
    background: #d9bd73; 
    padding: 0.2em 0.4em; 
    border-radius: 0.6em; 
    margin : 1em 0 0 0; 
    cursor: pointer; 
    display : inline;
} 

.socialmedia { 
    margin-left : 1%;
} 

.socialmedia ul { 
    max-height: none; 
    overflow: visible; 
    display : flex; 
    margin: 0; 
    background-color: #fff; 
    justify-content: center; 
    align-items: center;
    padding : 0;
} 

.socialmedia li { 
    background : transparent;
} 

.socialmedia ul li { 
    border : none;
} 

/* Landscape YouTube embeds only */ 
.video-wrapper.yt-landscape {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-wrapper.yt-landscape iframe {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: calc(100% + 4px);
    border: 0;
    display: block;
}

.yt-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
    
#base-panel ul { 
    display : none;
} 

.venue-3-tile, .venue-4-tile {
    flex: 0 0 100%;
    max-width: 100%;
}
    
#home-banner {
    min-height: 60vh;
    height: 60vh;
    max-height: 60vh;
}

#home-banner .banner-content {
    min-height: 100%;
    height: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.4);
}

#home-banner .banner-title, #home-banner .banner-copy {
    position: static;
    top: auto;
    margin: 0;
}

.venue-carousel {
    display: block;
}

.carousel-window {
    margin: 0 auto;
}

.carousel-slide img {
    display: block;
    height: auto;
    width: 100%;
}

.carousel-button {
    display: none;
}

.shorts-embed {
    width: min(100%, 360px);
    aspect-ratio: 9 / 16;
    margin: 2rem auto;
    border: 4px solid #355070;
    border-radius: 1em;
    overflow: hidden;
    background: #000;
}

.shorts-pair {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers the videos */
    gap: 1.5rem;
}

.shorts-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    transform: scale(1.02) translateY(-8px);
    transform-origin: center top;
}

/* Ensures nothing overflows */ 
* { 
    box-sizing: border-box;
}