/* 13Bodas adaptations for the Feelings invitation template. */

.template-feelings .static-hero .slide-title h2 {
    text-wrap: balance;
}

.template-feelings .middle-couple-pic-inner img,
.template-feelings .wpo-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-feelings .static-hero .static-hero-img-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 300px;
}

.template-feelings .static-hero .static-hero-img-inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.template-feelings .middle-couple-pic-inner img {
    object-position: center;
}

body.template-feelings-demo {
    padding-top: 0 !important;
}

.template-feelings-demo .demo-watermark {
    display: none !important;
}

.template-feelings-demo .demo-banner {
    top: 22px;
    left: auto;
    right: clamp(18px, 3vw, 42px);
    width: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
}

.template-feelings-demo .demo-banner::after {
    display: none;
}

.template-feelings-demo .demo-banner__inner {
    width: auto;
    min-height: 0;
    gap: 10px;
}

.template-feelings-demo .demo-banner__message {
    flex: 0 0 auto;
    gap: 8px;
    width: auto;
    min-width: 0;
}

.template-feelings-demo .demo-text {
    display: none;
}

.template-feelings-demo .demo-badge {
    min-height: 30px;
    padding: 0 12px;
    border-color: rgba(163, 136, 140, 0.28);
    background: rgba(255, 255, 255, 0.82);
    color: #6a4e52;
    box-shadow: 0 10px 30px rgba(44, 31, 36, 0.1);
}

.template-feelings-demo .demo-actions {
    width: auto;
    pointer-events: auto;
}

.template-feelings-demo .demo-back,
.template-feelings-demo .demo-cta {
    min-height: 42px;
    border-radius: 7px;
    padding: 0 18px;
    font-size: 13px;
}

.template-feelings-demo .demo-cta {
    background: linear-gradient(135deg, #f8d5bd 0%, #d8a0ad 100%);
    box-shadow: 0 16px 38px rgba(163, 136, 140, 0.24);
}

.template-feelings .feelings-top-nav {
    box-shadow: 0 8px 30px rgba(35, 28, 31, 0.06);
}

.template-feelings .feelings-top-nav .navbar-header .logo {
    display: inline-flex;
    align-items: center;
    max-width: none;
    min-width: 86px;
    overflow: visible;
    letter-spacing: 0.04em;
    text-overflow: clip;
}

.template-feelings .feelings-top-nav .row {
    min-height: 100px;
}

.template-feelings-demo .feelings-top-nav .navbar-header .logo {
    max-width: none;
    overflow: visible;
    color: #a3888c;
    text-overflow: clip;
}

@media (min-width: 992px) {
    .template-feelings .feelings-top-nav {
        padding: 0 10px;
    }

    .template-feelings .feelings-top-nav .navigation>.container-fluid {
        max-width: 1420px;
        padding-right: 0;
        padding-left: 0;
    }

    .template-feelings .feelings-top-nav .row>.col-lg-3 {
        flex: 0 0 240px;
        max-width: 240px;
    }

    .template-feelings .feelings-top-nav .row>.col-lg-9 {
        flex: 0 0 calc(100% - 240px);
        max-width: calc(100% - 240px);
        padding-right: 150px;
    }

    .template-feelings .feelings-top-nav #navbar {
        justify-content: center;
    }

    .template-feelings .feelings-top-nav #navbar>ul {
        margin-left: 0;
    }

    .template-feelings .feelings-top-nav #navbar>ul>li>a {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 14px;
    }

    .template-feelings .static-hero {
        height: 1040px;
    }

    .template-feelings .static-hero .static-hero-right {
        top: 46%;
        right: clamp(18px, 4vw, 72px);
        width: 500px;
        height: 640px;
    }

    .template-feelings .static-hero .static-hero-right .static-hero-img {
        width: 100%;
        max-width: none;
        height: 100%;
    }
}

@media (min-width: 1401px) {
    .template-feelings .static-hero {
        height: 1120px;
    }

    .template-feelings .static-hero .static-hero-right {
        width: min(44vw, 640px);
        height: min(62vw, 850px);
    }
}

.template-feelings .feelings-couple .couple-area.feelings-couple-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(128px, 14vw, 188px) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 70px);
    align-items: center;
    height: auto;
    min-height: 420px;
    padding: 70px clamp(28px, 4vw, 64px);
    overflow: visible;
}

.template-feelings .feelings-couple-split>div {
    float: none;
}

.template-feelings .feelings-couple-split .text-grid {
    width: auto;
    max-width: 320px;
    padding: 0;
    text-align: center;
    justify-self: center;
}

.template-feelings .feelings-couple-split .bride,
.template-feelings .feelings-couple-split .groom {
    padding-right: 0;
    padding-left: 0;
}

.template-feelings .feelings-person-photo {
    width: min(100%, 230px);
    aspect-ratio: 1 / 1.18;
    margin: 0 auto 26px;
    padding: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(44, 31, 36, 0.11);
}

.template-feelings .feelings-person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.template-feelings .feelings-couple-split .text-grid h3 {
    color: #002642;
}

.template-feelings .feelings-couple-split .text-grid p {
    max-width: 280px;
    margin-right: auto;
    margin-left: auto;
    color: #6f7480;
}

.template-feelings .feelings-couple-split .feelings-couple-monogram {
    width: clamp(128px, 14vw, 188px);
    height: clamp(128px, 14vw, 188px);
    margin: 0;
    justify-self: center;
}

.template-feelings .feelings-couple-split .feelings-couple-monogram-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    border: 12px solid #fff;
    border-radius: 50%;
    background: #fbf8f8;
    box-shadow: 0 16px 44px rgba(44, 31, 36, 0.1);
    color: #a3888c;
    font-family: "Gilda Display", serif;
    font-size: clamp(38px, 4.6vw, 68px);
    line-height: 1;
}

.template-feelings .feelings-couple-split .feelings-couple-monogram-inner i {
    color: #d1c4c6;
    font-family: "Jost", sans-serif;
    font-size: 0.42em;
    font-style: normal;
}

.template-feelings .feelings-events-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: #fbf7f7;
}

.template-feelings .feelings-events-section.has-event-bg {
    background-image:
        linear-gradient(90deg, rgba(31, 23, 28, 0.82), rgba(58, 42, 47, 0.58)),
        var(--feelings-event-bg);
    background-position: center;
    background-size: cover;
}

.template-feelings .feelings-events-section.has-event-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.2), transparent 28%);
    pointer-events: none;
}

.template-feelings .feelings-events-section .container {
    position: relative;
    z-index: 1;
}

.template-feelings .feelings-events-section.has-event-bg .wpo-section-title h2,
.template-feelings .feelings-events-section.has-event-bg .wpo-section-title p {
    color: #fff;
}

.template-feelings .feelings-events-section .wpo-event-wrap .row,
.template-feelings .feelings-location-section .wpo-event-wrap .row,
.template-feelings .feelings-party-section .row,
.template-feelings .feelings-faq-grid {
    row-gap: 30px;
    justify-content: center;
}

.template-feelings .feelings-events-section .wpo-event-item,
.template-feelings .feelings-location-section .wpo-event-item {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(163, 136, 140, 0.18);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 55px rgba(44, 31, 36, 0.12);
}

.template-feelings .feelings-events-section .wpo-event-img,
.template-feelings .feelings-location-section .wpo-event-img {
    height: 230px;
    margin: 0;
}

.template-feelings .feelings-events-section .wpo-event-text,
.template-feelings .feelings-location-section .wpo-event-text {
    padding: 34px 30px;
}

.template-feelings .feelings-events-section .wpo-event-item--text-only .wpo-event-text {
    min-height: 230px;
}

.template-feelings .feelings-events-section .wpo-event-text h2,
.template-feelings .feelings-location-section .wpo-event-text h2,
.template-feelings .feelings-party-card .wpo-story-content-inner h2,
.template-feelings .feelings-faqs .faq-card h3 {
    color: #6a4e52;
}

.template-feelings .feelings-events-section .wpo-event-text ul,
.template-feelings .feelings-location-section .wpo-event-text ul {
    margin: 18px 0 0;
}

.template-feelings .feelings-events-section .wpo-event-text li,
.template-feelings .feelings-location-section .wpo-event-text li {
    color: #5f6472;
}

.template-feelings .feelings-location-section {
    background: #fff;
}

.template-feelings .feelings-location-card a {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: #a3888c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.template-feelings .feelings-party-card {
    height: 100%;
    border: 1px solid rgba(163, 136, 140, 0.14);
    background: #fff;
    box-shadow: 0 18px 45px rgba(44, 31, 36, 0.08);
}

.template-feelings .feelings-party-card .wpo-story-content {
    padding: 34px;
}

.template-feelings .feelings-party-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.template-feelings .feelings-party-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(163, 136, 140, 0.16);
    color: #2f2438;
}

.template-feelings .feelings-party-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.template-feelings .feelings-party-list li span {
    display: block;
    margin-top: 3px;
    color: #7e7479;
    font-size: 14px;
}

.template-feelings .feelings-faqs {
    background: #fbf7f7;
}

.template-feelings .feelings-faqs .faq-card {
    border-color: rgba(163, 136, 140, 0.16);
    border-radius: 2px;
    box-shadow: 0 18px 45px rgba(44, 31, 36, 0.08);
}

@media (max-width: 991px) {
    body.template-feelings-demo {
        padding-top: 0 !important;
    }

    .template-feelings-demo .demo-banner {
        top: 12px;
        right: 12px;
    }

    .template-feelings-demo .demo-badge {
        display: none;
    }

    .template-feelings-demo .demo-actions {
        display: block;
    }

    .template-feelings-demo .demo-cta {
        min-height: 38px;
        padding: 0 14px;
    }

    .template-feelings .feelings-events-section {
        padding: 80px 0;
    }

    .template-feelings .feelings-events-section .wpo-event-img,
    .template-feelings .feelings-location-section .wpo-event-img {
        height: 210px;
    }

    .template-feelings .feelings-couple .couple-area.feelings-couple-split {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 58px 24px;
    }

    .template-feelings .feelings-couple-split .feelings-couple-monogram {
        order: 2;
        width: 132px;
        height: 132px;
        margin: -4px auto;
    }

    .template-feelings .feelings-couple-split .bride {
        order: 1;
    }

    .template-feelings .feelings-couple-split .groom {
        order: 3;
    }

    .template-feelings .feelings-person-photo {
        width: min(74vw, 250px);
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .template-feelings .feelings-events-section .wpo-event-text,
    .template-feelings .feelings-location-section .wpo-event-text,
    .template-feelings .feelings-party-card .wpo-story-content {
        padding: 26px 22px;
    }
}
