.logo-text {
    line-height: normal;
    top: -10px;
    display: inline;
    position: relative;
    left: 10px;
    color: #fff;
    padding-right: 20px;
}
input[type="radio"] {
    accent-color:  var(--color-1);
}
.savethedate {
    letter-spacing: 0.45em; 
    color: var(--color-1) !important;
    margin-bottom: 0.8em;
}
.dark-location {
    background-color: white;
    border-radius: 2em;
    display: inline-flex;
    padding: 0px 1.5em 0 1em;
    justify-content: center;
}
.location-marker {
    margin: 0 auto;
    font-size: .6em;
    letter-spacing: .15em;
    display: block;
    font-weight: bold;
}
.location-marker a {
    color: var(--color-1-darkest);
    transition: all 0.3s ease-in-out;
}
.location-marker::before {
    content: ""; /* Required for pseudo-elements to render */
    display: inline-flex;
    width: 25px;
    height: 25px;
    background-image: url('https://danielandjoan.us/images/location.gif');
    background-size: contain; /* Ensures the GIF fits the area */
    background-repeat: no-repeat;
    margin-right: 10px;
    top: 8px;
    position: relative;
}
.rsvp-wrapper {
    max-width: 80em;
    margin: 30px auto;
    text-align: inherit;
    padding: 3em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

#success-section {
    animation: fadeIn 0.8s ease-in-out;
}

.success-icon {
    font-size: 50px;
    color: #a48d73; /* Your theme color */
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.timer-block {
    text-align: center;
}

.timer-num {
    display: block;
    font-size: 6rem;
    font-weight: bold;
    color: var(--color-text-light);
    line-height: 1;
}

.timer-label {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-1);
}

#guest-info-section {
    /* Ensures the transition is clean */
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Hide the section by default if the script takes a second to load */
#guest-info-section {
    display: block; 
}
#guest-info-section {
    margin-bottom: 20px;
}
#additional-names-group {
    margin-top: 15px;
    border-left: 3px solid #a48d73; /* Optional: a nice visual cue for nested info */
    padding-left: 15px;
}

.s-intro__content-title .curve-font {
    font-size: 2em;
}

/* Ensure it stacks nicely on mobile */
@media screen and (max-width: 1400px) {
    .s-intro__content-bg {
        display: block;
        background-image: url(../images/dn-jc.jpg);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: cover;
        width: 60vw;
        clip-path: circle(30%);
        height: 100vh;
        position: absolute;
        top: 0;
        bottom: auto;
        right: -7em;
    } 
}

@media screen and (max-width: 1100px) {
    .s-about .lg-6,
    .s-folio .lg-6{
        width: 50%;
    }
    .s-footer .lg-6{
        width: 100%;
    }

    .s-about__bg {
        width: calc(65% - 15vw);
    }
    .s-intro__content-bg {
        display: block;
        background-image: url(../images/dn-jc.jpg);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: cover;
        width: 100vw;
        clip-path: circle(30%);
        height: 70vh;
        position: absolute;
        top: 0;
        bottom: auto;
        right: 14em;
    }
    .s-intro__bg {
        width: calc(68% - 15vw);
    }
}

@media screen and (max-width: 1100px) and (orientation: landscape) {  
    .s-intro__content-bg {
        width: 80vw;
        clip-path: circle(30%);
        height: 90vh;
        top: 0;
        bottom: auto;
        right: -8em;
    }
    .s-intro__bg {
        width: calc(48% - 2vw);
    }
    .s-about__bg {
        width: calc(94% - 35vw);
        background-size: contain;
    }
}

@media screen and (max-width: 1000px) and (orientation: landscape) {
    .s-intro__content-title br {
        display: block;
    }
    .s-intro__content-bg {
        width: 70vw;
        clip-path: circle(20%);
        height: 130vh;
        position: absolute;
        top: -1em;
        bottom: auto;
        right: 23em;
    }
    .s-intro__bg {
        width: calc(48% - 2vw);
    }
    .s-about__bg {
        width: calc(94% - 35vw);
    }
}

@media screen and (max-width: 950px) and (orientation: portrait) {
    .s-intro__content-title br {
        display: block;
    }
    .s-intro__bg {
        width: calc(68% - 8vw);
    }
    .s-about__bg {
        width: calc(65% - 10vw);
    }
}

@media screen and (max-width: 800px) {
    .s-intro__content-title::before {
        left: 45%;
    }
    .s-intro__content-title {
        padding-right: 0;
    }
    .s-intro__content {
        height: 72%;
    }
    .s-intro__content-inner {
        text-align: center;
    }
    .s-intro__content-btn {
        margin: auto;
    }

    .s-about .lg-6, .s-folio .lg-6 {
        width: 100%;
    }

    .s-about .section-header .title,
    .s-folio .section-header .title,
    .s-footer .section-header .title{
        font-size: 2.5rem;
    }

    .timer {
        margin-top: 2em;
    }

    .wedding-details p {
        margin-bottom: 10px;
    }

    .savethedate {
        margin-top: 2em;
    }

    .s-intro__content-title br {
        display: block;
    }

    .s-intro__scroll-down {
        right: -3em;
    }

    .s-about__bg {
        background-size: contain;
        height: 24em;
        width: 60vw;
        position: absolute;
        right: auto;
        bottom: -7em;
        left: -9em;
    }
    .s-intro__content-bg {
        display             : block;
        background-image    : url(../images/dn-jc.jpg);
        background-repeat   : no-repeat;
        background-position : bottom;
        background-size     : cover;
        width               : 100vw;
        height: 120vh;
        position            : absolute;
        /* top                 : var(--content-padding-top);
        right               : var(--gutter);
        bottom              : var(--content-padding-bottom);
        left                : auto; */
        top: 0;
        bottom: auto;
        left: 0;
        clip-path: none;
    }

    .s-intro__bg{
        display: block;
        background-image: url(../images/motif-mb-1.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        height: 25em;
        width: 100vw;
        position: absolute;
        right: 0;
        left: 0;
        top: auto;
        bottom: 0;
    }
    .s-intro__content-bg::before {
        opacity: .25;
    }

    .s-intro__content-bg::before {
        background: linear-gradient(180deg, #003d98 5%, rgba(0, 0, 0, 0) 100%); /* linear-gradient(90deg, black 20%, rgba(0, 0, 0, 0) 100%);*/
    }

    .s-intro__content-title .curve-font {
        font-size: 1.5em;
    }

}

@media screen and (max-width: 600px) {
    .timer-display {
        gap: 1em;
    }
    .timer-num {
        font-size: 4rem;
    }
    .timer-label {
        font-size: 0.8rem;
    }
    .rsvp-wrapper {
        max-width: 95em;
        margin: 10px auto;
        text-align: inherit;
        padding: 1.2em;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .s-about__bg {
        background-size: contain;
        height: 16em;
        width: 60vw;
        position: absolute;
        right: auto;
        bottom: -7em;
        left: -4em;
    }
}
@media screen and (max-width: 400px)  {
    .s-footer .section-header__secondary {
        padding-left: 0;
    }
}



