@media only screen and (max-width: 996px) {
    .nav-holder .social-links a svg {
        width: 32px !important;
        height: 32px !important;
    }
}
@media only screen and (max-width: 996px) {
    .nav-holder .hamburger {
        padding: 0 !important;
        min-width: unset !important;
        min-height: unset !important;
        box-sizing: border-box !important;
        z-index: 2000; /* Ensure it's on top */
    }
    /* Reverting forced black/size to restore original function/color */
    .nav-holder .social-links a svg {
        width: 18px !important;
        height: 18px !important;
    }
    .nav-holder .social-links a {
        display: inline-flex;
    }
    .nav-holder .social-links a.hide-mobile {
        display: none !important;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@keyframes slideUnderline {
    from { text-underline-offset: 0; }
    to { text-underline-offset: 5px; }
}

/* Make explicit layout classes stack on small screens */
@media only screen and (max-width: 768px) {
    .layout-text-left, .layout-img-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    .layout-text-left .text, .layout-img-left .text, .layout-text-left .text2, .layout-img-left .text2,
    .layout-text-left .image, .layout-img-left .image, .layout-text-left .image2, .layout-img-left .image2 {
        flex: none;
        width: 100%;
    }
    .layout-text-left .text, .layout-img-left .text, .layout-text-left .text2, .layout-img-left .text2 {
        text-align: center;
        padding: 20px;
    }
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.body{
    margin-left: 0;
    margin-right: 0;
    margin-top: 0px;
}

/* Responsive margins for smaller screens */
@media only screen and (max-width: 768px) {
    .body {
        margin-left: 20px;
        margin-right: 20px;
    }
    .inline {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
        gap: 20px;
    }
    .up-text {
        font-size: 12px;
        line-height: 1.4;
    }
    .se {
        display: none;
    }
    .combo {
        display: grid !important;
        grid-template-columns: 1fr !important;

        max-height: none;
        gap: 10px;
        overflow: visible;
    }
    .combo2 {
        display: grid !important;
        grid-template-columns: 1fr !important;

        max-height: none;
        gap: 10px;
    }
    .combo .text {
        order: 1;
    }
    .combo .image {
        order: 2;
    }
    .red-demarcation {
        margin: 0; /* no gap between sections and the red line */
    }
    .combo2 .text2 {
        order: 1;
    }
    .combo2 .image2 {
        order: 2;
    }
    .text, .text2 {
        padding: 20px;

        justify-content: flex-start;
    }
    .red2, .red3 {
        margin-top: 0;
        padding: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .body {
        margin-left: 10px;
        margin-right: 10px;
    }
    .bg-image {
        height: 50vh;
        min-height: 400px;
    }
    .inline {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 10px;
    }
    .up-text {
        font-size: 11px;
        line-height: 1.3;
    }
    .se {
        display: none;
    }
    .combo, .combo2 {
        gap: 15px;

        max-height: none;
        grid-template-columns: 1fr;
    }
    .combo .text {
        order: 1;
        padding: 20px;
    }
    .combo .image {
        order: 2;
    }
    .combo2 .image2 {
        order: 1;
    }
    .combo2 .text2 {
        order: 2;
        padding: 20px;
    }
    .text, .text2 {
        padding: 20px;
        max-height: none;
    }
    .text h2 {
        font-size: 28px;
    }
    .text2 h2 {
        font-size: 22px;
    }
    img, .image, .image2 {
        max-height: none;
    }
}

.bg-image{
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    background-image: url("/images/IMG_0106.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
}

/* Scroll Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.scroll-fade-up {
  opacity: 1;
}

.scroll-fade {
  opacity: 1;
}

.scroll-animate .scroll-fade-up {
  animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.scroll-animate .scroll-fade {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Responsive background image height for small screens */
@media only screen and (max-width: 768px) {
    .bg-image {
        height: 60vh;
        min-height: 500px;
    }
    .Owner {
        font-size: 18px;
        z-index: 102;
    }
    .work {
        font-size: 13px;
        margin-top: -5px;
    }
    .social-links a svg {
        width: 12px;
        height: 12px;
    }
}
.nav-holder{
    display: flex;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-left: 50px;
    margin-right: 50px;
    top: 0;
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.3s ease;
}

@media only screen and (max-width: 996px) {
    .nav-holder {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-wrap: wrap;
    }
    .middle-links .dropdown-menu,
    .middle-links3 .dropdown-menu {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        z-index: 1000;
        display: none;
    }
    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }
    .middle-links .dropdown-menu.show,
    .middle-links3 .dropdown-menu.show {
        display: block;
    }
    /* Small tweak: dropdown caret and toggles inherit color */
    body:not(.home) .nav-holder .dropdown-toggle { color: #000 !important; }
    /* Hover state: make nav links and social icons red on non-home pages */
    body:not(.home) .nav-holder a:hover,
    body:not(.home) .nav-holder .dropdown-toggle:hover,
    body:not(.home) .middle-links a:hover,
    body:not(.home) .middle-links .dropdown-item:hover,
    body:not(.home) .middle-links3 a:hover,
    body:not(.home) .red4 a:hover {
        color: #9f0f12 !important;
        text-decoration-color: #9f0f12 !important;
    }
}



/* Keep header background transparent; only change text color on non-home pages */
body:not(.home) .nav-holder {
    background-color: transparent !important;
}

/* Make header text and icons black on non-home pages */
body:not(.home) .nav-holder a,
body:not(.home) .nav-holder .Owner,
body:not(.home) .nav-holder .work,
body:not(.home) .nav-holder .middle-links a,
body:not(.home) .nav-holder .middle-links .dropdown-item {
    color: #000 !important;
}

/* Social icon fills */
body:not(.home) .nav-holder .social-links svg,
body:not(.home) .nav-holder .social-links svg path {
    fill: #000 !important;
}

/* Small tweak: dropdown caret and toggles inherit color */
body:not(.home) .nav-holder .dropdown-toggle { color: #000 !important; }

/* Hover state: make nav links and social icons red on non-home pages */
body:not(.home) .nav-holder a:hover,
body:not(.home) .nav-holder .dropdown-toggle:hover,
body:not(.home) .middle-links a:hover,
body:not(.home) .middle-links .dropdown-item:hover,
body:not(.home) .middle-links3 a:hover,
body:not(.home) .red4 a:hover {
    color: #9f0f12 !important;
    text-decoration-color: #9f0f12 !important;
}

body:not(.home) .nav-holder .social-links a:hover svg,
body:not(.home) .nav-holder .social-links a:hover svg path,
body:not(.home) .red4 .social-links.footer-social a:hover svg path {
    fill: #9f0f12 !important;
}
.nav-holder a{
    text-decoration: none;
    color: #fff;
    font-family: 'Playfair Display', serif;
}.nav-holder a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    animation: slideUnderline 0.3s ease-out;
}        .b-head {
            display: block;
      }
        .books {
            display: block;
            color: #fff;

      }
    
.Owner{
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 400;
}
.work{
    font-size: 15px;
    font-weight: 100;
    font-style: italic;
    color: #fff;
    margin: 0 0 15px 0;
    text-align: left;
}
.Owner a:hover{
    color: rgb(200, 7, 7);
}
.middle-links{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    margin-right: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
}
.middle-links a:hover{
    text-decoration: underline;
    color: rgb(200, 7, 7);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    animation: slideUnderline 0.3s ease-out;
}

@media (min-width: 997px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0px;
        border-radius: 0;
        margin-right: 20px;
    }
}

.dropdown-menu a{
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}
.dropdown-menu a:hover{
    color: rgb(200, 7, 7);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    animation: slideUnderline 0.3s ease-out;
}
.dropdown-item {
    color: #000; 
    text-decoration: none;
    display: block;
    font-family: 'Playfair Display', serif;
    padding: 10px;
    width: 20px;
    gap: -40px;
    margin-right: 30px;
}

.dropdown-item:hover {
    color: rgb(200, 7, 7);
    text-decoration: underline;
    background: none;
}
.social-links {
    display: flex;
    align-items: center;
}
.social-links a{
    margin-left: 15px;
    margin-right: 15px;
}
.social-links a svg{
    color: #fff;
    width: 24px;
    height: 24px;
    fill: #fff;
}
.social-links a:hover svg path{
    fill: #000000;
}
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 20px;
}
.footer-social a {
    margin: 0 10px;
}
.footer-social a svg {
    fill: #fff;
}
.footer-social a:hover svg path {
    fill: #000000;
}
.inline{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    padding: 50px;
    padding-right: 20px;
}
.up-text{
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 30px;
}
.se{
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    align-items: flex-start;
    height: fit-content;
    margin-top: 40px;
    position: relative;
    top: 40px;
    float: right;
}
.but{
    background: linear-gradient(to bottom, rgb(200, 7, 7), #808080);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}
.but:hover{
    background: linear-gradient(to bottom, #808080, rgb(200, 7, 7));
}
.red{
    background-color: rgb(200, 7, 7);
    color: #e7e6e6;
    padding: 35px;
    margin-top: 0px;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-size: 15px;
}
.combo{
    columns: 2;
    column-gap: 40px;
}
img, .image{
    width: 100%;
    height: auto;
}
.text{
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 100px;
    display: inline-block;
    margin-top: 0;
}
.text h2{
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    font-weight: 100;
    margin-top: 0;
}
.text hr{
    width: 100px;
    height: 2px;
    display: inline-block;
    border: 2px solid rgb(200, 7, 7);
    margin-top: 10px;
    margin-bottom: 10px;
}
.text p{
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 100;
    margin-top: 20px;
}
.text button{
    background: linear-gradient(to bottom, rgb(200, 7, 7), #808080);
    color: #fff;
    border: 1px solid rgb(31, 31, 31);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.text button:hover{
    background: linear-gradient(to bottom, #808080, rgb(200, 7, 7));
    color: #fff;
    text-decoration: underline;
}
.red2{
    background-color: rgb(200, 7, 7);
    color: #e7e6e6;
    padding: 35px;
    margin-top: -50px;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-size: 15px;
}
.combo2{
    columns: 2;
    column-gap: 40px;
}
img, .image{
    width: 100%;
    height: auto;
}
.text2{
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 100px;
    display: inline-block;
    margin-top: 0;
}
.text2 h2{
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    font-weight: 100;
    margin-top: 0;
}
.text2 hr{
    width: 100px;
    height: 2px;
    display: inline-block;
    border: 2px solid rgb(200, 7, 7);
}
.text2 p{
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 50;
    margin-top: 20px;
}
.text2 button{
    background: linear-gradient(to bottom, rgb(200, 7, 7), #808080);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.text2 button:hover{
    background: linear-gradient(to bottom, #808080, rgb(200, 7, 7));
    color: #fff;
    text-decoration: underline;
}

.combo2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.image2{
    width: 100%;
    height: 350px;
    overflow: hidden;
}
.image2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.text2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}
.text2 h2{
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    font-weight: 100;
    margin-top: 0;
}
.text2 hr{
    width: 100px;
    height: 2px;
    display: inline-block;
    border: 2px solid rgb(200, 7, 7);
}
.text2 p{
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 50;
    margin-top: 20px;
}
.text2 button{
    background: linear-gradient(to bottom, rgb(200, 7, 7), #808080);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.text2 button:hover{
    background: linear-gradient(to bottom, #808080, rgb(200, 7, 7));
    color: #fff;
    text-decoration: underline;
}
.red3{
    background-color: rgb(200, 7, 7);
    color: #e7e6e6;
    padding: 35px;
    margin-top: 0;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-size: 15px;
}
.red4{
    background-color: rgb(200, 7, 7);
    color: #e7e6e6;
    padding: 35px;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    font-size: 15px;
    /* Force full viewport width regardless of parent container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box; /* Ensure padding is included in width */
}

/* Remove the previous media query compensations as the 100vw width handles it globally */
@media only screen and (max-width: 768px) {
    .red4 {
        /* Reset any specific mobile adjustments if needed, but 100vw usually works fine */
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .red4 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.middle-links3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.middle-links3 a {
    color: #fff;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
}

.middle-links3 a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.middle-links3 .dropdown-item {
    color: #000;
}
.red h3{
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 100;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.red p{
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 100;
    margin-top: 10px;
    background: #fff;
}

/* FAQ / accordion styling */
.red4 h3{
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 100;
    text-align: center;
    margin-bottom: 16px;
}
.red4 .accordion-button{
    background: rgba(0,0,0,0.15);
    color: #fff;
}
.red4 .accordion-button:not(.collapsed){
    background: rgb(200, 7, 7);
    color: #fff;
}
.red4 .accordion-body{
    color: #000;
    background: transparent;
}
.red4 .accordion-body p{
    background: #fff;
}
.searchbar{
    margin-top: 20px;
    margin-bottom: 20px;
}
.searchbar form{
    display: flex;
    justify-content: center;
    align-items: center;
}
.searchbar input[type="text"]{
    width: 600px;
    padding: 1px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}
.searchbar button{
    padding: 1px 1px;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 5px 5px 0;
    background-color: rgb(200, 7, 7);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.searchbar button:hover{
    background-color: rgb(150, 5, 5);
}

/* Center the "Designed by" credit in the footer across pages */
.red4 .designer {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 14px;
    color: #f0eaea;
    font-size: 14px;
}
.red4 .designer a { color: #fff; text-decoration: underline; }
.red4 .designer a:hover { color: #ffe5e5; }

/* Terms and Privacy Policy Page Styling */
.terms-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    font-family: 'Playfair Display', serif;
    line-height: 1.8;
}
.terms-content h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgb(200, 7, 7);
}
.terms-content .last-updated {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}
.terms-content h2 {
    font-size: 28px;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}
.terms-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #444;
}
.terms-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}
.terms-content li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}
.terms-content a {
    color: rgb(200, 7, 7);
    text-decoration: underline;
}
.terms-content a:hover {
    color: rgb(150, 5, 5);
}

.middle-links2 {
    display: flex;
    justify-content: center;
    width: 100%;
}
.middle-links2 a{
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 50px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 100;
    color: #e7e5e5;
    text-decoration: none;
    transition: color 0.3s ease;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.middle-links2 a:hover{
    text-decoration: underline;
    color: rgb(255, 255, 255);
    font-family: 'Playfair Display', serif;
}
.copyright{
    text-align: center;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    font-weight: 100;
    color: #c6c5c5;
    margin-top: 40px;
    margin-bottom: 10px;
}
.location{
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #c6c5c5;
    margin-top: 10px;
    text-align: center;
}
.policies {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #c6c5c5;
    margin-top: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.policies a{
    color: #c6c5c5;
    text-decoration: none;
}
.policies a:hover{
    color: rgb(255, 255, 255);
    text-decoration: underline;
}
.social-links2 a svg{
    color: #fff;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.social-links2 a:hover svg path{
    fill: #e0dfdf;
    text-decoration: underline;
}

/* --- HAMBURGER STYLING --- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 36px;
    height: 4px;
    background-color: #fff !important;
    margin: 7px 0;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Make hamburger bars black on non-home pages (overrides white default) */
body:not(.home) .hamburger span {
    background-color: #000 !important;
}

@media only screen and (max-width: 996px) {
    body {
        display: block;
        width: 100%;
    }
    .hamburger {
        display: block;
        z-index: 101;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .middle-links {
        display: none !important;
        position: relative;
        width: 100%; /* Ensure full width of container */
        
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        z-index: 1000;
    }
    .middle-links.active {
        display: flex !important;
    }
    
    /* prevent scrolling when mobile menu open */
    body.menu-open { overflow: hidden; }

    .middle-links .dropdown-menu,
    .middle-links3 .dropdown-menu {
        position: static;
        float: none;
        transform: none;
        border: none;
        background: transparent;
        box-shadow: none;
        margin: 5px 0 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .middle-links .dropdown-menu.show,
    .middle-links3 .dropdown-menu.show {
        display: block;
    }
    
    .hamburger {
        display: block;
        z-index: 2000;
        position: relative;
        width: 40px; 
        height: 40px;
        padding: 0; /* reset padding */
    }
    .middle-links3 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .middle-links a {
        color: #000;
        margin: 15px 0;
    }
    
    .se {
        position: relative;
        margin-top: 50px;
        right: auto;
        align-items: center;
    }
    .middle-links2 a {
        margin-left: 0;
        display: block;
    }
    .body {
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 0;
        padding: 0;
        width: calc(100% - 20px);
    }
    .text, .text2 {
        padding: 0 20px;
        display: block;
        margin-top: 0;
    }
    .combo, .combo2 {
        columns: 1;
        display: flex;
        flex-direction: column;
        max-height: none;
        overflow: visible;
        gap: 10px;
    }
    .combo .text, .combo2 .text2 {
        order: 1;
        margin-bottom: 0;
    }
    .combo .image, .combo2 .image2 {
        order: 2;
        display: block;
        width: 100%;
        height: auto;
        margin-top: 0;
    }
    .combo img, .combo2 img {
        margin-top: 0;
        margin-bottom: 10px;
        display: block;
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
    .red2, .red3 {
        margin-top: 0;
        padding: 20px;
    }
    .terms-content {
        padding: 20px;
        margin: 20px auto;
    }
    .terms-content h1 {
        font-size: 32px;
    }
    .terms-content h2 {
        font-size: 22px;
    }
    .footer-social {
        flex-wrap: wrap;
    }
    .social-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .social-links a {
        margin-left: 3px;
        margin-right: 3px;
    }
    .social-links svg {
        display: inline-flex;
        width: 16px;
        height: 16px;
        fill: #fff;
    }
    .social-links2 {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    .social-links2 a {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media only screen and (max-width: 480px) {
    .body {
        margin-left: 8px;
        margin-right: 8px;
    }
    .bg-image {
        height: 50vh;
        min-height: 300px;
    }
    .nav-holder {
        margin-left: 15px;
        margin-right: 15px;
        padding-bottom: 10px;
    }
    .Owner {
        font-size: 14px;
    }
    .work {
        font-size: 11px;
    }
    .inline {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
    .se {
        transform: translateY(0);
        padding: 15px;
    }
    .combo, .combo2 {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: none;
        overflow: visible;
    }
    .combo .text, .combo2 .text2 {
        order: 1;
        margin-bottom: 0;
        padding: 20px 15px;
    }
    .combo .image, .combo2 .image2 {
        order: 2;
        display: block;
        width: 100%;
        margin-top: 0;
    }
    .combo img, .combo2 img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
        margin-top: 0;
    }
    .text, .text2 {
        padding: 0 15px;
        margin-bottom: 0;
    }
    .text h2 {
        font-size: 22px;
    }
    .text2 h2 {
        font-size: 20px;
    }
    .text p, .text2 p {
        font-size: 14px;
    }
    .middle-links2 {
        flex-direction: column;
        gap: 10px;
    }
    .middle-links2 a {
        margin: 5px 0;
        font-size: 14px;
    }
    .middle-links3 {
        flex-direction: column;
        gap: 10px;
    }
    .middle-links3 a {
        font-size: 14px;
    }
    .copyright {
        font-size: 14px;
    }
    .location {
        font-size: 14px;
    }
    .policies {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
    }
    .searchbar input[type="text"] {
        width: 200px;
        font-size: 14px;
    }
    .footer-social a svg {
        width: 20px;
        height: 20px;
    }
}

/* iPad / Tablet Portrait */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .nav-holder {
        margin-left: 20px;
        margin-right: 20px;
    }
    .inline {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 20px;
    }
    .se {
        transform: translateY(20px);
    }
    .combo, .combo2 {
        display: flex;
        flex-direction: column;
        max-height: none;
        overflow: visible;
        gap: 0;
    }
    .combo .text, .combo2 .text2 {
        order: 1;
        padding: 25px 20px;
    }
    .combo .image, .combo2 .image2 {
        order: 2;
    }
    .combo img, .combo2 img {
        max-height: 350px;
        object-fit: cover;
    }
    .text h2 {
        font-size: 28px;
    }
    .text2 h2 {
        font-size: 24px;
    }
    .searchbar input[type="text"] {
        width: 350px;
    }
}

/* iPad Landscape / Small Laptops */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .nav-holder {
        margin-left: 30px;
        margin-right: 30px;
    }
    .inline {
        padding: 35px;
    }
    .combo, .combo2 {
        gap: 25px;
    }
    .text, .text2 {
        padding: 30px;
    }
    .text h2 {
        font-size: 36px;
    }
    .text2 h2 {
        font-size: 28px;
    }
}

/* Very Large Screens (1400px+) */
@media only screen and (min-width: 1400px) {
    .body {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
    .bg-image {
        height: 85vh;
    }
    .nav-holder {
        margin-left: 80px;
        margin-right: 80px;
    }
    .inline {
        padding: 60px 20px 60px 80px;
        gap: 60px;
    }
    .se {
        margin-top: 40px;
        top: 40px;
    }
    .combo, .combo2 {
        gap: 60px;
        max-height: 500px;
    }
    .text, .text2 {
        padding: 50px;
    }
    .text h2 {
        font-size: 52px;
    }
    .text2 h2 {
        font-size: 40px;
    }
    .text p, .text2 p {
        font-size: 18px;
    }
    .searchbar input[type="text"] {
        width: 700px;
    }
}

/* Ultra Wide Screens (1800px+) */
@media only screen and (min-width: 1800px) {
    .body {
        max-width: 1600px;
    }
    .bg-image {
        height: 90vh;
    }
    .text h2 {
        font-size: 60px;
    }
    .text2 h2 {
        font-size: 48px;
    }
    .combo, .combo2 {
        max-height: 600px;
    }
}

/* Alternate image left, right, left for combo sections on large screens */
@media only screen and (min-width: 769px) {
  .combo.left, .combo.restack.left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .combo2.right, .combo2.restack.right {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
  }
}

/* Mobile: stack vertically */
@media only screen and (max-width: 768px) {
  .combo.left, .combo2.right, .combo.restack.left, .combo2.restack.right {
    flex-direction: column !important;
    gap: 20px;
  }
}

.red-demarcation {
  width: 100vw;
  height: 60px;
  background: rgb(200, 7, 7);
  margin: 0;
  border: none;
  display: block;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Explicit layout classes to enforce alternating sections on desktop */
@media only screen and (min-width: 769px) {
    .layout-text-left {
        display: flex;
        flex-direction: row; /* text left, image right */
        align-items: center;
        gap: 40px;
    }
    .layout-img-left {
        display: flex;
        flex-direction: row-reverse; /* image left, text right */
        align-items: center;
        gap: 40px;
    }
    .layout-text-left .text, .layout-img-left .text, .layout-img-left .text2, .layout-text-left .text2 {
        flex: 1 1 50%;
    }
    .layout-text-left .image, .layout-img-left .image, .layout-text-left .image2, .layout-img-left .image2 {
        flex: 1 1 50%;
    }
}

    /* Global button gradient: grey top -> red bottom; hover reverses colors */
    button, input[type="submit"], input[type="button"], .text button, .text2 button, .but, .submit-btn, .btn {
        background-image: linear-gradient(180deg,#d8d8d8 0%, rgb(200,7,7) 100%);
        color: #fff;
        border: 1px solid rgba(0,0,0,0.08);
        transition: background-image 220ms ease, transform 120ms ease;
    }
    button:hover, input[type="submit"]:hover, input[type="button"]:hover, .text button:hover, .text2 button:hover, .but:hover, .submit-btn:hover, .btn:hover {
        background-image: linear-gradient(180deg, rgb(200,7,7) 0%, #d8d8d8 100%);
        color: #fff;
    }
    /* keep button padding/appearance consistent */
    button, input[type="submit"], input[type="button"], .submit-btn {
        padding: 10px 18px;
        border-radius: 6px;
        cursor: pointer;
    }


    /* Force square image edges site-wide (override previous border-radius rules) */
    img, .image img, .image2 img, .combo img, .combo2 img, .image, .image2 {
        border-radius: 0 !important;
    }

/* --- Site-wide red adjustments and temporary BiVo ad styles --- */
:root{
    --primary-red: rgb(160,6,6);
    --primary-red-dark: rgb(120,4,4);
    --primary-red-hex: #9f0f12;
}

/* Ensure legacy classes and components use a slightly darker red */
.red, .red2, .red3, .red4, .red-demarcation { background-color: var(--primary-red) !important; }
.text hr, .text2 hr { border-color: var(--primary-red) !important; }
.text button, .text2 button, .searchbar button, .but, .submit-btn { background: linear-gradient(to bottom, rgb(200, 7, 7), #808080) !important; }
.text button:hover, .text2 button:hover, .searchbar button:hover, .but:hover, .submit-btn:hover { background: linear-gradient(to bottom, #808080, rgb(200, 7, 7)) !important; }
.Owner a:hover, .middle-links a:hover, .dropdown-menu a:hover, .nav-holder a:hover { color: var(--primary-red) !important; }
.red4 .accordion-button:not(.collapsed){ background: var(--primary-red) !important; }
.terms-content h1, .terms-content a { color: var(--primary-red) !important; }

/* Small homepage ad/banner for the BiVo audition (temporary) */
.home-ad { display:flex; justify-content:center; margin:18px 0; }
.home-ad .ad-banner { display:block; width:min(920px,94%); border-radius:8px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,0.12); background:#fff; border-left:6px solid var(--primary-red); }
.home-ad .ad-banner img{ display:block; width:100%; height:auto; }
.home-ad .ad-banner .ad-copy{ padding:14px 18px; font-family:'Playfair Display', serif; font-size:18px; color:#222; }
@media only screen and (max-width:768px){ .home-ad .ad-banner .ad-copy{ font-size:14px; } }

/* Minor: darken inline red demarcation fallback */
.red-demarcation { background: var(--primary-red) !important; }

/* Styles for Resonance Page */
.resonance-main {
    padding: 40px 16px;
    max-width: 1100px;
    margin: auto;
}

.res-header {
    background: #0b2f2a;
    color: #fff;
    padding: 48px 18px;
    border-radius: 6px;
}

.res-header-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 18px;
    align-items: center;
}

.res-header-image {
    width: 180px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.res-header-title {
    margin: 0 0 6px 0;
}

.res-header-subtitle {
    opacity: 0.9;
    margin-bottom: 8px;
}

.res-header-date {
    font-size: 0.95em;
}

.res-header-button {
    margin-top: 12px;
}

.resonance-button {
    padding: 10px 16px;
    background: #b38a2b;
    border: none;
    color: #fff;
    border-radius: 4px;
}

.res-content {
    max-width: 1100px;
    margin: 18px auto;
    padding: 8px;
}

.res-details {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.res-details-main {
    flex: 2;
}

.res-details-title {
    margin-top: 18px;
}

.res-aside {
    flex: 1;
}

.res-aside-box {
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 6px;
}

.res-aside-title {
    margin-top: 0;
}

.res-aside-list {
    line-height: 1.8;
}

.res-aside-image {
    margin-top: 16px;
    text-align: center;
}

.res-aside-image img {
    width: 100%;
    border-radius: 6px;
}

.res-footer {
    margin-top: 26px;
}

.res-back-home {
    margin-top: 34px;
}


