/* red-rustic visual identity. */


/* Red Rustic gallery: keep the photo rail clear of the floral frame. */
body.theme-burgundy-portrait.is-paged #gallery.is-active-section {
    z-index: 4 !important;
    background-color: transparent !important;
    background-image: none !important;
}


body.theme-burgundy-portrait.is-paged:has(#gallery.is-active-section) #theme-ornaments .burgundy-ornament.bottom {
    display: block !important;
    bottom: var(--burgundy-nav-height) !important;
    clip-path: none;
}


body.theme-burgundy-portrait.is-paged:has(#gallery.is-active-section) #navbar-menu {
    z-index: 1060 !important;
    isolation: isolate;
}


body.theme-burgundy-portrait.is-paged #gallery .gallery-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 32rem);
    margin: auto;
    border-color: rgba(170, 31, 63, .2) !important;
    background: rgba(255, 248, 250, .96) !important;
    box-shadow: 0 16px 38px rgba(90, 13, 31, .12) !important;
}


body.theme-burgundy-portrait #gallery .gallery-title {
    color: var(--burgundy-ink);
    font-size: clamp(2rem, 7vw, 2.7rem) !important;
    line-height: 1;
}


body.theme-burgundy-portrait #gallery .gallery-stage {
    min-width: 0;
    min-height: 0;
}


body.theme-burgundy-portrait.is-paged #carousel-gallery {
    overflow: hidden;
    border: 1px solid rgba(170, 31, 63, .14);
    border-radius: 1.4rem;
    background: #eadde1;
    box-shadow: 0 10px 24px rgba(73, 12, 28, .11);
}


body.theme-burgundy-portrait.is-paged #gallery .carousel-inner {
    border-radius: 1.35rem !important;
}


body.theme-burgundy-portrait.is-paged #gallery .carousel .gallery-photo {
    height: min(38vh, 370px);
    height: min(38dvh, 370px);
    object-position: center 38%;
}


body.theme-burgundy-portrait #gallery .carousel-control-prev,
body.theme-burgundy-portrait #gallery .carousel-control-next {
    top: 50%;
    bottom: auto;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 .55rem;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(100, 18, 13, .68);
    opacity: .9;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


body.theme-burgundy-portrait #gallery .carousel-control-prev:hover,
body.theme-burgundy-portrait #gallery .carousel-control-next:hover,
body.theme-burgundy-portrait #gallery .carousel-control-prev:focus-visible,
body.theme-burgundy-portrait #gallery .carousel-control-next:focus-visible {
    background: rgba(170, 31, 63, .92);
    opacity: 1;
}


body.theme-burgundy-portrait #gallery .carousel-control-prev-icon,
body.theme-burgundy-portrait #gallery .carousel-control-next-icon {
    width: .9rem;
    height: .9rem;
}


body.theme-burgundy-portrait #gallery .carousel-indicators {
    gap: .3rem;
    margin-bottom: .55rem;
}


body.theme-burgundy-portrait #gallery .carousel-indicators [data-bs-target] {
    width: 1.55rem;
    height: .18rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .34);
}


body.theme-burgundy-portrait.is-paged #gallery .gallery-thumbnails {
    position: relative;
    z-index: 4;
    margin-right: 0;
    margin-left: 0;
    padding: .42rem;
    border: 1px solid rgba(170, 31, 63, .14);
    border-radius: 1rem;
    background: rgba(255, 248, 250, .94);
    box-shadow: 0 8px 22px rgba(73, 12, 28, .12);
}


body.theme-burgundy-portrait.is-paged #gallery .gallery-thumbnails > .col-6 {
    padding-right: .2rem;
    padding-left: .2rem;
}


body.theme-burgundy-portrait.is-paged #gallery .gallery-thumbnails .gallery-photo {
    height: clamp(48px, 13vw, 72px);
    border: 2px solid rgba(170, 31, 63, .1);
    border-radius: .72rem !important;
    object-position: center 38%;
    opacity: .88;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
}


body.theme-burgundy-portrait.is-paged #gallery .gallery-thumbnails .gallery-photo:hover,
body.theme-burgundy-portrait.is-paged #gallery .gallery-thumbnails .gallery-photo:focus-visible {
    border-color: var(--burgundy);
    opacity: 1;
    transform: translateY(-2px);
}


/* Recreate the lower floral artwork inside this page so its text can sit above it. */
body.theme-burgundy-portrait.is-paged #theme-ornaments[data-active-page="wedding-date"] .burgundy-ornament.bottom {
    visibility: hidden;
}


body.theme-burgundy-portrait.is-paged #wedding-date::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: var(--burgundy-nav-height);
    left: 0;
    z-index: 0;
    height: min(43.704vw, 262px);
    pointer-events: none;
    background: url('../../img/red-rustic-bottom.png') no-repeat center bottom / 100% 100%;
}


body.theme-burgundy-portrait.is-paged #wedding-date > .container {
    position: relative;
    z-index: 1;
    scroll-padding-bottom: clamp(5.5rem, 15dvh, 8rem);
}


body.theme-burgundy-portrait.is-paged #wedding-date .wedding-event-list {
    position: relative;
    z-index: 2;
    padding: .1rem .15rem clamp(5.5rem, 15dvh, 8rem);
}


body.theme-burgundy-portrait.is-paged #wedding-date .wedding-event-card {
    width: min(100%, 32rem);
    margin: .75rem auto;
    padding-right: clamp(.55rem, 2.5vw, 1rem);
    padding-left: clamp(.55rem, 2.5vw, 1rem);
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}


body.theme-burgundy-portrait.is-paged #wedding-date .wedding-event-card .btn-outline-auto {
    background-color: rgba(255, 248, 250, .98);
}


@media (max-height: 720px) {
    body.theme-burgundy-portrait.is-paged #wedding-date > .container {
        scroll-padding-bottom: 4.5rem;
    }

    body.theme-burgundy-portrait.is-paged #wedding-date .wedding-event-list {
        padding-bottom: 4.5rem;
    }

    body.theme-burgundy-portrait.is-paged #wedding-date .wedding-event-card {
        margin: .5rem auto;
    }
}


@media (orientation: landscape) and (max-height: 500px) {
    body.theme-burgundy-portrait.is-paged #wedding-date > .container,
    body.theme-burgundy-portrait.is-paged #wedding-date .wedding-event-list {
        scroll-padding-bottom: .75rem;
        padding-bottom: .75rem;
    }
}


/* 15. Red Rustic
   Portrait invitation layout with the supplied red-rustic floral artwork.
   The legacy selector remains an internal styling hook for compatibility. */
.theme-burgundy-portrait {
    --bs-light: #fff1f5;
    --bs-white: #fff8fa;
    --bs-dark: #4a171e;
    --bs-gray-100: #f4dce3;
    --bs-body-bg: #31080f;
    --burgundy: #aa1f3f;
    --burgundy-deep: #64120d;
    --burgundy-ink: #4a171e;
    --burgundy-paper: #fff1f5;
    --burgundy-nav-height: 88px;
    color: var(--burgundy-ink);
    background: #31080f;
    font-family: "Cormorant Garamond", Georgia, serif;
}


.theme-burgundy-portrait h1,
.theme-burgundy-portrait h2,
.theme-burgundy-portrait h3,
.theme-burgundy-portrait h4,
.theme-burgundy-portrait h5,
.theme-burgundy-portrait h6 {
    font-family: "Marcellus", "Cormorant Garamond", serif;
}


.theme-burgundy-portrait .font-esthetic {
    font-family: "Great Vibes", cursive;
}


body.theme-burgundy-portrait .burgundy-ornament-canvas {
    position: absolute;
    inset: 0 auto 0 50%;
    z-index: 0;
    width: min(100%, 600px);
    height: 100%;
    overflow: hidden;
    transform: translateX(-50%);
}


body.theme-burgundy-portrait .burgundy-cover-ornament-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}


body.theme-burgundy-portrait:not(.is-open) #theme-ornaments .burgundy-ornament-canvas {
    display: none;
}


body.theme-burgundy-portrait .burgundy-ornament {
    position: absolute;
    display: block;
    max-width: none;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    filter: drop-shadow(0 8px 10px rgba(45, 5, 13, .16));
}


body.theme-burgundy-portrait .burgundy-ornament.top-left,
body.theme-burgundy-portrait .burgundy-ornament.top-right {
    top: 0;
    width: calc(50% - clamp(1.25rem, 4vw, 2rem));
}


body.theme-burgundy-portrait .burgundy-ornament.top-left {
    left: 0;
    transform: scaleX(-1);
    transform-origin: center;
}


body.theme-burgundy-portrait .burgundy-ornament.top-right {
    right: 0;
}


body.theme-burgundy-portrait .burgundy-ornament.bottom {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: bottom .35s ease;
}


body.theme-burgundy-portrait.is-paged .burgundy-ornament.bottom {
    bottom: var(--burgundy-nav-height);
}


body.theme-burgundy-portrait #theme-ornaments {
    display: block !important;
}


body.theme-burgundy-portrait.is-paged #theme-ornaments {
    z-index: 3;
}


body.theme-burgundy-portrait #theme-ornaments.ornaments-enter .burgundy-ornament.top-left {
    animation: burgundyTopLeftIn .9s cubic-bezier(.22, 1, .36, 1) both;
}


body.theme-burgundy-portrait #theme-ornaments.ornaments-enter .burgundy-ornament.top-right {
    animation: burgundyTopRightIn .9s cubic-bezier(.22, 1, .36, 1) both;
}


body.theme-burgundy-portrait #theme-ornaments.ornaments-enter .burgundy-ornament.bottom {
    animation: burgundyBottomIn .95s cubic-bezier(.22, 1, .36, 1) both;
}


body.theme-burgundy-portrait .sticky-top.vh-100.d-none.d-sm-block {
    display: none !important;
}


body.theme-burgundy-portrait #root > .col-sm-7,
body.theme-burgundy-portrait #root > .col-md-6,
body.theme-burgundy-portrait #root > .col-lg-5,
body.theme-burgundy-portrait #root > .col-xl-4,
body.theme-burgundy-portrait #root > .col-xxl-3 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}


body.theme-burgundy-portrait main {
    width: min(100%, 600px);
    max-width: 600px;
    margin: 0 auto;
    background: var(--burgundy-paper);
    box-shadow: 0 0 56px rgba(0, 0, 0, .35);
}


body.theme-burgundy-portrait #welcome {
    padding: 0;
    color: #fff;
    background: #21070b !important;
}


body.theme-burgundy-portrait #welcome > .d-flex {
    position: relative;
    width: min(100%, 600px);
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    padding: 0;
    overflow: hidden !important;
    background: #14070a;
    box-shadow: 0 0 60px rgba(0, 0, 0, .48);
}


body.theme-burgundy-portrait #welcome .d-flex.flex-column {
    position: relative;
    z-index: 0;
    width: 100% !important;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem max(2rem, env(safe-area-inset-bottom)) !important;
    align-items: center;
    justify-content: flex-start;
}


.theme-burgundy-portrait .burgundy-cover-photo,
.theme-burgundy-portrait .burgundy-cover-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


.theme-burgundy-portrait .burgundy-cover-photo {
    z-index: -3;
    object-fit: cover;
    object-position: center;
}


.theme-burgundy-portrait .burgundy-cover-shade {
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(24, 3, 8, .2) 0%, transparent 30%, transparent 55%, rgba(12, 1, 4, .66) 100%),
        linear-gradient(90deg, rgba(34, 3, 10, .15), transparent 38%, rgba(34, 3, 10, .12));
}


.theme-burgundy-portrait .burgundy-cover-title {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: clamp(3.25rem, min(13dvh, 9vw), 7.5rem);
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}


.theme-burgundy-portrait .burgundy-cover-title p {
    margin: 0 0 .15rem;
    font-family: "Marcellus", serif;
    font-size: clamp(1rem, 3.5vw, 1.35rem);
    letter-spacing: .02em;
}


.theme-burgundy-portrait .burgundy-cover-title h1 {
    margin: 0;
    font-size: clamp(2.35rem, min(12.5vw, 10.5dvh), 5.4rem);
    font-weight: 400;
    line-height: .92;
    text-wrap: balance;
}


.theme-burgundy-portrait .burgundy-cover-title h1 span {
    display: inline-block;
    padding: 0 .08em;
}


.theme-burgundy-portrait .burgundy-guest-card {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: min(80%, 22rem);
    margin-top: auto;
    padding: 1.2rem 1.35rem 1.35rem;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background-color: rgba(11, 5, 11, .28);
    background-image:
        linear-gradient(145deg, rgba(22, 15, 24, .56) 0%, rgba(14, 7, 15, .34) 58%, rgba(255, 255, 255, .11) 100%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: .55rem .55rem 1.3rem .8rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .32),
        inset 0 -1px 0 rgba(255, 255, 255, .13),
        0 14px 30px rgba(0, 0, 0, .3);
    backdrop-filter: blur(18px) saturate(145%) contrast(105%);
    -webkit-backdrop-filter: blur(18px) saturate(145%) contrast(105%);
}


.theme-burgundy-portrait .burgundy-guest-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, .46), transparent) top / 100% 1px no-repeat,
        linear-gradient(120deg, rgba(255, 255, 255, .13), transparent 34%, transparent 68%, rgba(255, 255, 255, .075));
}


.theme-burgundy-portrait .burgundy-guest-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: 9%;
    bottom: 0;
    left: 9%;
    width: auto;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
}


.theme-burgundy-portrait .burgundy-guest-card small,
.theme-burgundy-portrait .burgundy-guest-card span,
.theme-burgundy-portrait .burgundy-guest-card strong {
    position: relative;
    z-index: 1;
    display: block;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .58);
}


@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .theme-burgundy-portrait .burgundy-guest-card {
        background-color: rgba(10, 5, 10, .78);
        background-image: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(12, 6, 12, .68));
    }
}


.theme-burgundy-portrait .burgundy-guest-card small {
    font-size: clamp(.9rem, 3.3vw, 1.1rem);
}


.theme-burgundy-portrait .burgundy-guest-card span {
    margin-top: .2rem;
    font-size: clamp(1rem, 3.8vw, 1.25rem);
}


.theme-burgundy-portrait .burgundy-guest-card strong {
    margin-top: .45rem;
    font-family: "Marcellus", serif;
    font-size: clamp(1.15rem, 4.5vw, 1.5rem);
}


.theme-burgundy-portrait .burgundy-open-button {
    position: relative;
    z-index: 1;
    margin-top: clamp(1.2rem, 3.2dvh, 2rem);
    margin-bottom: clamp(2.5rem, 7dvh, 5rem);
    padding: .65rem 1.25rem;
    color: #fff;
    background: var(--burgundy);
    border: 1px solid rgba(255, 255, 255, .12);
    font-family: "Marcellus", serif;
    font-size: clamp(.95rem, 3.5vw, 1.15rem);
}


.theme-burgundy-portrait .burgundy-open-button:hover,
.theme-burgundy-portrait .burgundy-open-button:focus-visible {
    color: #fff;
    background: #86162f;
}


body.theme-burgundy-portrait.is-paged #root {
    background: #31080f !important;
}


body.theme-burgundy-portrait.is-paged main > section {
    padding-bottom: var(--burgundy-nav-height) !important;
    color: var(--burgundy-ink);
    background-color: var(--burgundy-paper) !important;
}


body.theme-burgundy-portrait.is-paged #home,
body.theme-burgundy-portrait.is-paged #salam {
    padding: 0 0 var(--burgundy-nav-height) !important;
}


.theme-burgundy-portrait #home {
    isolation: isolate;
    color: #fff;
    background: #16070a !important;
}


.theme-burgundy-portrait .burgundy-opening-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}


.theme-burgundy-portrait .burgundy-opening-layer {
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: calc(100dvh - var(--burgundy-nav-height));
    padding: clamp(3rem, 9dvh, 5.75rem) 1.5rem calc(min(43.7vw, 262px) + .75rem);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    text-align: center;
    background: linear-gradient(180deg, rgba(25, 2, 7, .18), transparent 36%, rgba(13, 2, 5, .74)) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}


.theme-burgundy-portrait .burgundy-opening-kicker {
    margin: 0 0 .3rem;
    font-family: "Marcellus", serif;
    font-size: clamp(.92rem, 3.1vw, 1.12rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}


.theme-burgundy-portrait .burgundy-opening-name {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 .18em;
    font-size: clamp(2.2rem, min(12vw, 10dvh), 5rem);
    line-height: .92;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}


.theme-burgundy-portrait .burgundy-opening-name span {
    font-size: .82em;
}


.theme-burgundy-portrait .burgundy-opening-date {
    margin: auto 0 0;
    font-family: "Marcellus", serif;
    font-size: clamp(.9rem, 3.4vw, 1.1rem);
    letter-spacing: .05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .65);
}


.theme-burgundy-portrait .burgundy-opening-hint {
    display: grid;
    width: 2rem;
    height: 2rem;
    margin-top: .8rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 50%;
    font-size: .72rem;
}


.theme-burgundy-portrait .burgundy-salam-page {
    isolation: isolate;
    justify-content: flex-end;
    color: #fff;
    background: #777 !important;
}


.theme-burgundy-portrait .burgundy-salam-photo,
.theme-burgundy-portrait .burgundy-salam-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


.theme-burgundy-portrait .burgundy-salam-photo {
    z-index: -2;
    max-height: none;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1) contrast(.92) brightness(.88);
}


.theme-burgundy-portrait .burgundy-salam-shade {
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08) 18%, rgba(0, 0, 0, .2) 44%, rgba(0, 0, 0, .9) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 72%);
}


.theme-burgundy-portrait .burgundy-salam-copy {
    z-index: 1;
    margin-top: auto;
    padding: 2rem clamp(1.4rem, 7vw, 2.8rem) clamp(7.5rem, 19dvh, 10.5rem);
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .88);
}


.theme-burgundy-portrait .burgundy-page-kicker {
    margin: 0 0 .65rem;
    font-family: "Marcellus", serif;
    font-size: clamp(1rem, 3.6vw, 1.25rem);
    color: #fff !important;
}


.theme-burgundy-portrait .burgundy-display-name {
    margin: 0;
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 12.5vw, 5.4rem);
    font-weight: 600;
    line-height: .8;
}


.theme-burgundy-portrait .burgundy-display-name span {
    display: block;
    margin-top: .16em;
}


.theme-burgundy-portrait .burgundy-salam-date {
    margin: .85rem 0 0;
    font-family: "Marcellus", serif;
    font-size: clamp(.9rem, 3.5vw, 1.15rem);
    color: #fff !important;
}


.theme-burgundy-portrait .burgundy-salam-note {
    max-width: 29rem;
    margin: 1.2rem 0 0;
    font-size: clamp(.95rem, 3.8vw, 1.2rem) !important;
    line-height: 1.45;
    color: #fff !important;
}


.theme-burgundy-portrait .burgundy-paper-page {
    isolation: isolate;
    background-color: var(--burgundy-paper) !important;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(170, 31, 63, .045), transparent 24%),
        radial-gradient(circle at 86% 72%, rgba(100, 18, 13, .04), transparent 28%) !important;
}


.theme-burgundy-portrait .burgundy-quotes-content {
    display: flex;
    width: 100%;
    min-height: calc(100dvh - var(--burgundy-nav-height));
    padding-top: clamp(2.2rem, 5dvh, 4rem);
    padding-bottom: clamp(1.2rem, 3dvh, 2.2rem);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.theme-burgundy-portrait .burgundy-arch-frame {
    position: relative;
    width: min(74%, 22rem);
    padding: .68rem;
    border: 3px solid var(--burgundy);
    border-radius: 48% 48% 0 0 / 28% 28% 0 0;
    background: rgba(255, 255, 255, .3);
}


.theme-burgundy-portrait .burgundy-arch-frame::before {
    content: "";
    position: absolute;
    inset: -.6rem;
    z-index: -1;
    border: 2px solid rgba(170, 31, 63, .78);
    border-radius: 48% 48% 0 0 / 28% 28% 0 0;
}


.theme-burgundy-portrait .burgundy-arch-frame img {
    display: block;
    width: 100%;
    height: clamp(15rem, 43dvh, 26rem);
    object-fit: cover;
    object-position: center;
    border-radius: 48% 48% .12rem .12rem / 28% 28% .12rem .12rem;
    filter: grayscale(1) contrast(.94);
}


.theme-burgundy-portrait .burgundy-quote {
    width: min(100%, 31rem);
    margin: clamp(2rem, 5dvh, 3.5rem) auto 0;
    color: var(--burgundy-ink);
}


.theme-burgundy-portrait .burgundy-quote p {
    margin: 0;
    font-size: clamp(.95rem, 3.7vw, 1.2rem) !important;
    line-height: 1.45;
    color: var(--burgundy-ink) !important;
    font-weight: 500;
}


.theme-burgundy-portrait .burgundy-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: clamp(.8rem, 3vw, 1rem);
    font-weight: 600;
    color: var(--burgundy-ink);
}


.theme-burgundy-portrait .burgundy-profile-page .container {
    display: flex;
    width: 100%;
    min-height: calc(100dvh - var(--burgundy-nav-height));
    padding-top: clamp(2.8rem, 8dvh, 6rem);
    padding-bottom: clamp(1.3rem, 4dvh, 3rem);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.theme-burgundy-portrait .burgundy-profile-photo {
    position: relative;
    width: min(55%, 18rem);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 2.4rem 2.4rem 0 0;
    background: #ead9de;
    box-shadow: 0 12px 32px rgba(77, 15, 30, .12);
}


.theme-burgundy-portrait .burgundy-profile-photo::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 32%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, var(--burgundy-paper));
}


.theme-burgundy-portrait .burgundy-profile-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}


.theme-burgundy-portrait .burgundy-profile-name {
    margin: clamp(1.5rem, 4dvh, 2.6rem) 0 .45rem;
    color: var(--burgundy);
    font-size: clamp(2.3rem, 9vw, 3.5rem) !important;
    font-weight: 400;
    line-height: 1;
}


.theme-burgundy-portrait .burgundy-profile-parent {
    width: min(100%, 29rem);
    margin: .4rem auto .9rem;
    font-size: clamp(.95rem, 3.7vw, 1.18rem) !important;
    line-height: 1.42;
}


.theme-burgundy-portrait .burgundy-profile-label {
    display: inline-flex;
    margin-top: .6rem;
    padding: .55rem 1.25rem;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--burgundy);
    border-radius: 999px;
    font-family: "Marcellus", serif;
    font-size: clamp(.82rem, 3vw, 1rem);
}


body.theme-burgundy-portrait #navbar-menu {
    min-height: var(--burgundy-nav-height);
    padding: 0 .3rem !important;
    background: var(--burgundy-deep);
    border: 0 !important;
    border-radius: 1rem 1rem 0 0 !important;
    box-shadow: 0 -8px 26px rgba(44, 4, 10, .16);
}


body.theme-burgundy-portrait #navbar-menu .navbar-nav {
    min-height: var(--burgundy-nav-height);
}


body.theme-burgundy-portrait #navbar-menu .nav-link {
    min-height: calc(var(--burgundy-nav-height) - .75rem);
    margin: .38rem 0;
    padding: .65rem .1rem .48rem;
    gap: .36rem;
    color: rgba(255, 255, 255, .84);
    border-radius: 1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: .86rem;
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}


body.theme-burgundy-portrait #navbar-menu .nav-link:hover,
body.theme-burgundy-portrait #navbar-menu .nav-link:focus-visible,
body.theme-burgundy-portrait #navbar-menu .nav-link.active {
    color: #fff;
    background: var(--burgundy);
    transform: translateY(-.12rem);
}


body.theme-burgundy-portrait #navbar-menu .nav-link::before {
    display: none;
}


body.theme-burgundy-portrait #navbar-menu .nav-link i {
    font-size: 1rem;
}


body.theme-burgundy-portrait #navbar-menu .nav-link span {
    font-size: clamp(.62rem, 2.7vw, .82rem) !important;
}


body.theme-burgundy-portrait .audio-float {
    right: max(.7rem, calc((100vw - 600px) / 2 + .7rem));
    bottom: calc(var(--burgundy-nav-height) + .85rem + env(safe-area-inset-bottom));
    z-index: 1035;
}


body.theme-burgundy-portrait .audio-float .btn {
    display: grid;
    width: 3rem;
    height: 3rem;
    padding: 0;
    place-items: center;
    color: #fff;
    background: rgba(170, 31, 63, .78) !important;
    border-color: rgba(255, 255, 255, .25) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


body.theme-burgundy-portrait .audio-float .btn:hover,
body.theme-burgundy-portrait .audio-float .btn:focus-visible {
    color: #fff;
    background: rgba(123, 18, 45, .94) !important;
}


body.theme-burgundy-portrait .bg-theme-auto,
body.theme-burgundy-portrait main .border.rounded-5.shadow,
body.theme-burgundy-portrait main .border.rounded-pill.shadow {
    border-color: rgba(170, 31, 63, .14) !important;
    background-color: rgba(255, 255, 255, .58) !important;
    box-shadow: 0 12px 28px rgba(90, 13, 31, .08) !important;
}


body.theme-burgundy-portrait .btn-primary {
    --bs-btn-bg: var(--burgundy);
    --bs-btn-border-color: var(--burgundy);
    --bs-btn-hover-bg: #81162f;
    --bs-btn-hover-border-color: #81162f;
}


body.is-paged main > section > :not(#theme-ornaments):not(.burgundy-opening-photo):not(.burgundy-salam-photo):not(.burgundy-salam-shade):not(.bg-cover-home) {
    position: relative;
    z-index: 2 !important;
}
