/* Map editor theme → luxury Bugis (wy-*) typography & accents */

.nk-template-essential-bugis .wy-cover-tagline,
.nk-template-essential-bugis .wy-cover-dear {
    font-family: var(--nk-font-ui, "Noto Sans Buginese", sans-serif) !important;
}

.nk-template-essential-bugis .wy-cover-couple,
.nk-template-essential-bugis .wy-opening-hero-couple,
.nk-template-essential-bugis .wy-signature-couple,
.nk-template-essential-bugis .wy-couple-ampersand,
.nk-template-essential-bugis .nk-lux-desk-poster__names {
    font-family: var(--nk-font-script, "Great Vibes", cursive) !important;
}

.nk-template-essential-bugis .wy-cover-dear,
.nk-template-essential-bugis .wy-opening-hero-subtitle,
.nk-template-essential-bugis .wy-opening-hero-date,
.nk-template-essential-bugis .nk-lux-desk-poster__eyebrow,
.nk-template-essential-bugis .nk-lux-desk-poster__date,
.nk-template-essential-bugis .wy-profile-child-order,
.nk-template-essential-bugis .wy-event-date,
.nk-template-essential-bugis .wy-countdown-value,
.nk-template-essential-bugis .wy-opening-countdown-value,
.nk-template-essential-bugis .wy-timeline-date {
    font-family: var(--nk-font-ui, "Noto Sans Buginese", sans-serif) !important;
}

.nk-template-essential-bugis .wy-cover-guest,
.nk-template-essential-bugis .wy-section-head .wy-section-title,
.nk-template-essential-bugis .wy-section-title,
.nk-template-essential-bugis .wy-profile-name,
.nk-template-essential-bugis .wy-event-name,
.nk-template-essential-bugis .wy-timeline-title {
    font-family: var(--nk-font-heading, "Playfair Display", serif) !important;
}

.nk-template-essential-bugis .wy-cover-apology,
.nk-template-essential-bugis .wy-opening-text,
.nk-template-essential-bugis .wy-opening-salut,
.nk-template-essential-bugis .wy-profile-parents,
.nk-template-essential-bugis .wy-event-address,
.nk-template-essential-bugis .wy-closing-quote,
.nk-template-essential-bugis .wy-form-label,
.nk-template-essential-bugis .wy-form-input,
.nk-template-essential-bugis .wy-form-select,
.nk-template-essential-bugis .wy-form-textarea {
    font-family: var(--nk-font-body, "Poppins", sans-serif) !important;
}

.nk-template-essential-bugis .wy-btn-primary,
.nk-template-essential-bugis .wy-cover-open-btn,
.nk-template-essential-bugis .wy-form-btn,
.nk-template-essential-bugis .wy-form-btn-submit {
    background: var(--wy-gold-gradient, linear-gradient(180deg, var(--nk-color-primary-color, #D6A85D) 0%, var(--nk-color-secondary-color, #DAA92E) 100%)) !important;
    color: var(--nk-color-button-text-color, #000) !important;
}

.nk-template-essential-bugis .wy-btn-secondary:hover {
    background: var(--nk-color-primary-color, #D6A85D) !important;
    color: var(--nk-color-button-text-color, #000) !important;
}

.nk-template-essential-bugis.wy-page {
    color: var(--nk-color-text-color, #fff) !important;
}

.nk-template-essential-bugis .wy-container {
    background: var(--nk-color-card-background, var(--nk-color-bg-color, #1a1814)) !important;
    border-left-color: var(--nk-color-primary-color, #D6A85D) !important;
    border-right-color: var(--nk-color-primary-color, #D6A85D) !important;
}

.nk-template-essential-bugis .wy-divider-gunungan::before,
.nk-template-essential-bugis .wy-divider-gunungan::after {
    background: linear-gradient(90deg, transparent, var(--nk-color-primary-color, #d6a85d), transparent) !important;
    box-shadow:
        0 0 6px color-mix(in srgb, var(--nk-color-primary-color, #d6a85d) 70%, transparent),
        0 0 14px color-mix(in srgb, var(--nk-color-secondary-color, #f2d59b) 45%, transparent) !important;
}

.nk-template-essential-bugis .wy-theme-mask-icon {
    filter: var(--wy-icon-glow) !important;
}

.nk-template-essential-bugis .wy-divider-gunungan-img.wy-theme-mask-icon,
.nk-template-essential-bugis .wy-profile-wayang-overlay.wy-theme-mask-icon {
    filter: var(--wy-icon-glow-strong) !important;
}

.nk-template-essential-bugis .wy-section-title,
.nk-template-essential-bugis .wy-cover-monogram {
    color: var(--nk-color-secondary-color, #F2D59B) !important;
}

.nk-template-essential-bugis .wy-section-subtitle,
.nk-template-essential-bugis .wy-cover-dear,
.nk-template-essential-bugis .wy-nav-item--active {
    color: var(--nk-color-primary-color, #D6A85D) !important;
}

.nk-template-essential-bugis .wy-opening-photo-wrap {
    margin: 1.25rem auto 1.5rem;
    max-width: min(280px, 88%);
}

.nk-template-essential-bugis .wy-opening-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--nk-color-primary-color, #D6A85D);
    object-fit: cover;
}

/* Bugis deep-maroon surface: Lontara + Sulappa Eppa + textile coral overlay */
.nk-template-essential-bugis.wy-page {
    --wy-bugis-maroon: var(--nk-color-bg-color, #210907);
    --wy-bugis-maroon-deep: #120302;
    --wy-bugis-gold: var(--nk-color-primary-color, #D6A85D);
    --wy-bugis-gold-soft: var(--nk-color-secondary-color, #F2D59B);
    background:
        radial-gradient(circle at top, rgba(214, 168, 93, 0.16), transparent 32rem),
        linear-gradient(180deg, #3a0d09 0%, var(--wy-bugis-maroon) 36%, var(--wy-bugis-maroon-deep) 100%) !important;
}

.nk-template-essential-bugis.wy-page::before {
    opacity: 0.16 !important;
    background-image:
        linear-gradient(rgba(33, 9, 7, 0.58), rgba(33, 9, 7, 0.78)),
        url("assets/bugis-sarung.png"),
        url("assets/bugis-oranmen.png") !important;
    background-repeat: repeat, repeat, repeat !important;
    background-size: 320px auto, 260px auto, 132px 132px !important;
    background-position: center, center, top center !important;
    mix-blend-mode: screen;
}

.nk-template-essential-bugis .wy-container,
.nk-template-essential-bugis .wy-slide-container,
.nk-template-essential-bugis .wy-cover {
    background:
        radial-gradient(circle at top, rgba(214, 168, 93, 0.12), transparent 24rem),
        linear-gradient(180deg, rgba(58, 13, 9, 0.96), rgba(33, 9, 7, 0.98)) !important;
}

.nk-template-essential-bugis .wy-container::before,
.nk-template-essential-bugis .wy-cover::before,
.nk-template-essential-bugis .nk-invitation-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.14;
    background-image:
        url("assets/bugis-sarung.png"),
        url("assets/bugis-oranmen.png");
    background-repeat: repeat;
    background-size: 220px auto, 118px 118px;
    background-position: center;
    mix-blend-mode: screen;
}

.nk-template-essential-bugis .wy-scroll-container,
.nk-template-essential-bugis .wy-cover-wrapper,
.nk-template-essential-bugis .wy-section,
.nk-template-essential-bugis .wy-nav {
    position: relative;
    z-index: 1;
}

.nk-template-essential-bugis .wy-cover-wrapper {
    background:
        linear-gradient(180deg, rgba(33, 9, 7, 0.92), rgba(18, 3, 2, 0.96)),
        url("assets/bugis-oranmen.png") !important;
    background-size: auto, 112px 112px !important;
    border-color: var(--wy-bugis-gold) !important;
    box-shadow:
        0 0 0 1px rgba(242, 213, 155, 0.22),
        0 16px 42px rgba(0, 0, 0, 0.72),
        inset 0 0 28px rgba(214, 168, 93, 0.1) !important;
    overflow: hidden;
}

.nk-template-essential-bugis .wy-bugis-lontara-mark {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--wy-bugis-gold-soft);
    font-family: "Noto Sans Buginese", var(--nk-font-ui, sans-serif);
    font-size: 18px;
    letter-spacing: 0.14em;
    opacity: 0.72;
    text-shadow: 0 0 14px rgba(214, 168, 93, 0.55);
}

.nk-template-essential-bugis .wy-bugis-couple-emblem {
    position: absolute;
    inset: 28px 25px 18px;
    width: calc(100% - 50px);
    height: calc(100% - 46px);
    object-fit: contain;
    opacity: 0.28;
    filter:
        saturate(1.2)
        sepia(0.18)
        drop-shadow(0 6px 18px rgba(0, 0, 0, 0.62));
    mix-blend-mode: luminosity;
    pointer-events: none;
}

.nk-template-essential-bugis .wy-cover-monogram {
    z-index: 2;
    color: var(--wy-bugis-gold-soft) !important;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.82),
        0 0 18px rgba(214, 168, 93, 0.45);
}

.nk-template-essential-bugis .wy-cover-wayang.wy-theme-mask-icon--wayang,
.nk-template-essential-bugis .wy-side-wayang.wy-theme-mask-icon--wayang {
    background: linear-gradient(180deg, var(--wy-bugis-gold-soft) 0%, var(--wy-bugis-gold) 52%, #8a1f16 100%) !important;
}

.nk-template-essential-bugis .wy-cover-wayang--left {
    transform: rotate(-10deg) scaleX(-1);
}

.nk-template-essential-bugis .wy-cover-wayang--right {
    transform: rotate(10deg);
}

.nk-template-essential-bugis .wy-divider-gunungan-img.wy-theme-mask-icon {
    width: 118px !important;
    height: 64px !important;
}

.nk-template-essential-bugis .wy-divider-gunungan-img--cover {
    width: 94px !important;
    height: 52px !important;
}

.nk-template-essential-bugis .wy-divider-gunungan-img--cover-sm {
    width: 74px !important;
    height: 42px !important;
}

.nk-template-essential-bugis .wy-ornament-header,
.nk-template-essential-bugis .wy-ornament-footer {
    height: 34px !important;
    opacity: 0.9;
    filter: sepia(0.35) saturate(1.6) hue-rotate(330deg) brightness(0.95);
}

/* Polished Bugis ornament sheet crops */
.nk-template-essential-bugis .wy-cover-wrapper::before {
    content: "";
    position: absolute;
    inset: 12px 8px;
    z-index: 0;
    pointer-events: none;
    background: url("assets/bugis-oranmen.png") center / contain no-repeat;
    opacity: 0.34;
    filter: saturate(1.25) contrast(1.08) sepia(0.18) drop-shadow(0 0 18px rgba(214, 168, 93, 0.22));
    mix-blend-mode: screen;
}
.nk-template-essential-bugis .wy-bugis-cover-frame {
    position: absolute;
    inset: 8px 6px;
    width: calc(100% - 12px);
    height: calc(100% - 16px);
    object-fit: contain;
    opacity: 0.18;
    filter: saturate(1.35) contrast(1.12) sepia(0.22);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}
.nk-template-essential-bugis .wy-bugis-couple-emblem {
    inset: 30px 34px 28px !important;
    width: calc(100% - 68px) !important;
    height: calc(100% - 58px) !important;
    opacity: 0.42 !important;
    filter: saturate(1.25) sepia(0.12) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.62)) !important;
    mix-blend-mode: screen !important;
    z-index: 1;
}
.nk-template-essential-bugis img.wy-bugis-songkok {
    width: 120px !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 0.74 !important;
    filter: saturate(1.2) contrast(1.08) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 14px rgba(214, 168, 93, 0.24)) !important;
    mix-blend-mode: screen;
    z-index: 1;
}
.nk-template-essential-bugis .wy-cover-wayang--left {
    left: -8px !important;
    bottom: 7%;
    transform: rotate(-12deg) scaleX(-1) !important;
}
.nk-template-essential-bugis .wy-cover-wayang--right {
    right: -8px !important;
    bottom: 7%;
    transform: rotate(12deg) !important;
}
.nk-template-essential-bugis img.wy-bugis-side-icon {
    width: 96px !important;
    height: auto !important;
    opacity: 0.22 !important;
    object-fit: contain !important;
    filter: saturate(1.25) sepia(0.18) drop-shadow(0 0 18px rgba(214, 168, 93, 0.28)) !important;
    mix-blend-mode: screen;
}
.nk-template-essential-bugis .wy-ornament-header,
.nk-template-essential-bugis .wy-ornament-footer {
    height: 42px !important;
    opacity: 0.9;
    filter: sepia(0.35) saturate(1.6) hue-rotate(330deg) brightness(0.95);
}
.nk-template-essential-bugis .wy-ornament-header {
    background-image: url("assets/bugis-oranmen.png") !important;
    background-size: 260px auto !important;
    background-repeat: repeat-x !important;
}
.nk-template-essential-bugis .wy-ornament-footer {
    background-image: url("assets/bugis-oranmen.png") !important;
    background-size: 260px auto !important;
    background-repeat: repeat-x !important;
}
.nk-template-essential-bugis .wy-section::before {
    content: "";
    display: block;
    width: min(260px, 72%);
    height: 34px;
    margin: 0 auto 8px;
    background: url("assets/bugis-oranmen.png") center / contain no-repeat;
    opacity: 0.42;
    pointer-events: none;
    filter: sepia(0.25) saturate(1.4);
}

/* Final Bugis artwork mapping from supplied assets:
   image 1 = mobile cover, image 2 = desktop poster, image 3 = each section surface. */
.nk-template-essential-bugis .wy-cover {
    padding: 0 !important;
    background: #210907 !important;
}

.nk-template-essential-bugis .wy-cover-bg-image {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    filter: none !important;
    background-size: cover !important;
    background-position: center center !important;
    z-index: 0 !important;
}

.nk-template-essential-bugis .wy-cover-ornament,
.nk-template-essential-bugis .wy-cover .wy-bugis-songkok,
.nk-template-essential-bugis .wy-cover .wy-bugis-cover-frame,
.nk-template-essential-bugis .wy-cover .wy-bugis-lontara-mark,
.nk-template-essential-bugis .wy-cover .wy-divider-gunungan {
    display: none !important;
}

.nk-template-essential-bugis .wy-cover-wrapper {
    width: min(78vw, 350px) !important;
    max-width: 350px !important;
    min-height: 52vh;
    margin: 4vh auto 0 !important;
    padding: 3.2rem 1.7rem 1.5rem !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(255, 248, 230, 0.1), rgba(255, 248, 230, 0.02)) !important;
    box-shadow: none !important;
    justify-content: center;
}

.nk-template-essential-bugis .wy-cover-wrapper::before {
    display: none !important;
}

.nk-template-essential-bugis .wy-cover-circle-logo {
    width: 135px !important;
    height: 135px !important;
    margin-bottom: 0.8rem !important;
}

.nk-template-essential-bugis .wy-cover-circle-logo svg circle {
    stroke: rgba(115, 58, 21, 0.55) !important;
}

.nk-template-essential-bugis .wy-cover-circle-logo text {
    fill: #6c3518 !important;
    text-shadow: none !important;
}

.nk-template-essential-bugis .wy-cover .wy-bugis-couple-emblem {
    opacity: 0.18 !important;
    mix-blend-mode: multiply !important;
    filter: sepia(0.2) saturate(1.2) !important;
}

.nk-template-essential-bugis .wy-cover-monogram {
    color: #3b120c !important;
    text-shadow: 0 1px 0 rgba(255, 248, 230, 0.7), 0 0 16px rgba(214, 168, 93, 0.28) !important;
}

.nk-template-essential-bugis .wy-cover-tagline,
.nk-template-essential-bugis .wy-cover-dear,
.nk-template-essential-bugis .wy-cover-apology {
    color: #5c2b14 !important;
    text-shadow: 0 1px 0 rgba(255, 249, 232, 0.75) !important;
}

.nk-template-essential-bugis .wy-cover-couple {
    color: #4a130e !important;
    font-size: clamp(42px, 12vw, 62px) !important;
    text-shadow: 0 1px 0 rgba(255, 249, 232, 0.8), 0 7px 18px rgba(60, 17, 9, 0.12) !important;
}

.nk-template-essential-bugis .wy-cover-guest {
    color: #210907 !important;
    text-shadow: 0 1px 0 rgba(255, 249, 232, 0.85) !important;
}

.nk-template-essential-bugis .wy-cover-open-btn {
    background: linear-gradient(180deg, #f2d59b 0%, #d6a85d 55%, #9b6a2b 100%) !important;
    color: #210907 !important;
    border-color: rgba(74, 19, 14, 0.35) !important;
    box-shadow: 0 8px 20px rgba(74, 19, 14, 0.22) !important;
}

.nk-template-essential-bugis .nk-lux-desk-poster__media {
    background-size: cover !important;
    background-position: center center !important;
    filter: none !important;
}

.nk-template-essential-bugis .nk-lux-desk-poster__overlay {
    background:
        linear-gradient(90deg, rgba(33, 9, 7, 0.18), rgba(33, 9, 7, 0.02) 42%, rgba(33, 9, 7, 0.28)) !important;
}

.nk-template-essential-bugis .nk-lux-desk-poster__caption {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.2rem;
    border-radius: 28px;
    background: rgba(255, 247, 226, 0.62);
    color: #210907;
    box-shadow: 0 18px 55px rgba(33, 9, 7, 0.18);
}

.nk-template-essential-bugis .nk-lux-desk-poster__eyebrow,
.nk-template-essential-bugis .nk-lux-desk-poster__names,
.nk-template-essential-bugis .nk-lux-desk-poster__date,
.nk-template-essential-bugis .nk-lux-desk-poster__time {
    color: #210907 !important;
    text-shadow: 0 1px 0 rgba(255, 249, 232, 0.8) !important;
}

.nk-template-essential-bugis .wy-section {
    width: calc(100% - 28px) !important;
    margin: 18px auto !important;
    padding: 74px 22px 56px !important;
    border: 1px solid rgba(214, 168, 93, 0.52);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 248, 230, 0.72) !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.22),
        inset 0 0 34px rgba(214, 168, 93, 0.13);
}

.nk-template-essential-bugis .wy-section::before {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(300px, 72%);
    opacity: 0.58;
}

.nk-template-essential-bugis .wy-section > * {
    position: relative;
    z-index: 1;
}

.nk-template-essential-bugis .wy-section-title,
.nk-template-essential-bugis .wy-section-subtitle,
.nk-template-essential-bugis .wy-profile-name,
.nk-template-essential-bugis .wy-event-name,
.nk-template-essential-bugis .wy-timeline-title {
    color: #4a130e !important;
    text-shadow: 0 1px 0 rgba(255, 249, 232, 0.72) !important;
}

.nk-template-essential-bugis .wy-opening-text,
.nk-template-essential-bugis .wy-opening-salut,
.nk-template-essential-bugis .wy-profile-parents,
.nk-template-essential-bugis .wy-event-address,
.nk-template-essential-bugis .wy-closing-quote,
.nk-template-essential-bugis .wy-timeline-desc,
.nk-template-essential-bugis .wy-livestream-text {
    color: #3a2118 !important;
}

.nk-template-essential-bugis .wy-double-border,
.nk-template-essential-bugis .wy-event-card,
.nk-template-essential-bugis .wy-quote-box,
.nk-template-essential-bugis .wy-gift-card,
.nk-template-essential-bugis .wy-form-input,
.nk-template-essential-bugis .wy-form-select,
.nk-template-essential-bugis .wy-form-textarea {
    background: rgba(33, 9, 7, 0.82) !important;
}

/* Final vector ornaments and single static 9:16 section background. */
.nk-template-essential-bugis .wy-container {
    background:
        linear-gradient(180deg, rgba(255, 248, 230, 0.08), rgba(33, 9, 7, 0.1)),
        url("assets/bugis-section-bg.png") center top / cover fixed no-repeat !important;
}

.nk-template-essential-bugis .wy-container::before,
.nk-template-essential-bugis .nk-invitation-panel::before {
    display: none !important;
}

.nk-template-essential-bugis .wy-ornament-header,
.nk-template-essential-bugis .wy-ornament-footer {
    display: none !important;
}

.nk-template-essential-bugis .wy-scroll-container {
    background: transparent !important;
}

.nk-template-essential-bugis .wy-section {
    background: rgba(255, 248, 230, 0.72) !important;
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
}

.nk-template-essential-bugis .wy-section::before {
    background: url("assets/bugis-oranmen.png") center top / contain no-repeat !important;
    width: min(118px, 32%) !important;
    height: 70px !important;
    top: 8px !important;
    opacity: 0.52 !important;
}

.nk-template-essential-bugis .wy-divider-gunungan-img {
    width: var(--wy-divider-size, 102px) !important;
    height: auto !important;
    max-height: 86px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 5px 10px rgba(33, 9, 7, 0.22)) drop-shadow(0 0 12px rgba(214, 168, 93, 0.22)) !important;
}

.nk-template-essential-bugis .wy-divider-gunungan-img--mini {
    width: var(--wy-divider-size, 56px) !important;
    max-height: 54px !important;
}

.nk-template-essential-bugis .wy-profile-wayang-overlay.wy-bugis-profile-ornament {
    width: 74px !important;
    height: auto !important;
    max-height: 96px !important;
    object-fit: contain !important;
    opacity: 0.92 !important;
    filter: drop-shadow(0 7px 12px rgba(33, 9, 7, 0.28)) !important;
}

.nk-template-essential-bugis .wy-profile-wayang-overlay.wy-bugis-profile-ornament--groom {
    bottom: -30px !important;
    width: 92px !important;
    max-height: 58px !important;
}

.nk-template-essential-bugis .wy-profile-wayang-overlay.wy-bugis-profile-ornament--bride {
    bottom: -44px !important;
    width: 112px !important;
    max-height: 116px !important;
}

.nk-template-essential-bugis img.wy-bugis-side-icon {
    width: 118px !important;
    max-height: 260px !important;
    opacity: 0.28 !important;
}

.nk-template-essential-bugis .wy-side-wayang-left.wy-bugis-side-icon {
    transform: rotate(-12deg);
}

.nk-template-essential-bugis .wy-side-wayang-right.wy-bugis-side-icon {
    transform: rotate(8deg);
}

.nk-template-essential-bugis .wy-bugis-couple-emblem {
    object-fit: contain !important;
}

@supports (-webkit-touch-callout: none) {
    .nk-template-essential-bugis .wy-container {
        background-attachment: scroll !important;
        background-position: center top !important;
    }
}

/* Readability on the light Bugis paper background. */
.nk-template-essential-bugis .wy-section {
    color: #24110c !important;
}

.nk-template-essential-bugis .wy-section p,
.nk-template-essential-bugis .wy-section li,
.nk-template-essential-bugis .wy-section span,
.nk-template-essential-bugis .wy-section label,
.nk-template-essential-bugis .wy-section small {
    color: #2f1a12 !important;
}

.nk-template-essential-bugis .wy-section strong,
.nk-template-essential-bugis .wy-section b,
.nk-template-essential-bugis .wy-profile-child-order,
.nk-template-essential-bugis .wy-event-date,
.nk-template-essential-bugis .wy-timeline-date,
.nk-template-essential-bugis .wy-countdown-value,
.nk-template-essential-bugis .wy-opening-countdown-value,
.nk-template-essential-bugis .wy-account-number,
.nk-template-essential-bugis .wy-account-holder {
    color: #651a12 !important;
}

.nk-template-essential-bugis .wy-section-title,
.nk-template-essential-bugis .wy-section-head .wy-section-title,
.nk-template-essential-bugis .wy-profile-name,
.nk-template-essential-bugis .wy-event-name,
.nk-template-essential-bugis .wy-timeline-title,
.nk-template-essential-bugis .wy-qr-title {
    color: #3f100b !important;
    text-shadow: 0 1px 0 rgba(255, 252, 238, 0.9) !important;
}

.nk-template-essential-bugis .wy-section-subtitle,
.nk-template-essential-bugis .wy-couple-ampersand,
.nk-template-essential-bugis .wy-signature-couple {
    color: #8b4b18 !important;
    text-shadow: 0 1px 0 rgba(255, 252, 238, 0.9) !important;
}

.nk-template-essential-bugis .wy-double-border,
.nk-template-essential-bugis .wy-event-card,
.nk-template-essential-bugis .wy-quote-box,
.nk-template-essential-bugis .wy-gift-card,
.nk-template-essential-bugis .wy-wish-card,
.nk-template-essential-bugis .wy-wish-bubble,
.nk-template-essential-bugis .wy-countdown-item,
.nk-template-essential-bugis .wy-opening-countdown-item {
    background: rgba(255, 250, 236, 0.76) !important;
    border-color: rgba(139, 75, 24, 0.42) !important;
    color: #24110c !important;
    box-shadow: 0 8px 24px rgba(62, 16, 11, 0.13) !important;
}

.nk-template-essential-bugis .wy-form-input,
.nk-template-essential-bugis .wy-form-select,
.nk-template-essential-bugis .wy-form-textarea {
    background: rgba(255, 252, 242, 0.9) !important;
    color: #24110c !important;
    border-color: rgba(139, 75, 24, 0.42) !important;
}

.nk-template-essential-bugis .wy-form-input::placeholder,
.nk-template-essential-bugis .wy-form-textarea::placeholder {
    color: rgba(47, 26, 18, 0.58) !important;
}

.nk-template-essential-bugis .wy-btn-secondary,
.nk-template-essential-bugis .wy-profile-instagram,
.nk-template-essential-bugis .wy-btn-copy {
    color: #651a12 !important;
    border-color: rgba(101, 26, 18, 0.45) !important;
}

.nk-template-essential-bugis .wy-btn-primary,
.nk-template-essential-bugis .wy-form-btn-submit,
.nk-template-essential-bugis .wy-cover-open-btn {
    color: #210907 !important;
}

/* Opening panel: keep the Bugis maroon card, but make all copy readable. */
.nk-template-essential-bugis #opening .wy-panel--quote,
.nk-template-essential-bugis #opening .wy-double-border {
    background:
        linear-gradient(180deg, rgba(61, 23, 17, 0.92), rgba(36, 13, 10, 0.94)) !important;
    border-color: rgba(214, 168, 93, 0.72) !important;
    color: #f8ecd3 !important;
    box-shadow:
        0 14px 34px rgba(33, 9, 7, 0.28),
        inset 0 0 28px rgba(214, 168, 93, 0.08) !important;
}

.nk-template-essential-bugis #opening .wy-opening-basmalah,
.nk-template-essential-bugis #opening .wy-opening-salut,
.nk-template-essential-bugis #opening .wy-opening-text,
.nk-template-essential-bugis #opening .wy-panel--quote p,
.nk-template-essential-bugis #opening .wy-panel--quote span {
    color: #f3dfb8 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42) !important;
}

.nk-template-essential-bugis #opening .wy-opening-basmalah {
    color: #f2d59b !important;
}

.nk-template-essential-bugis #opening .wy-opening-photo-wrap {
    background: rgba(255, 248, 230, 0.88) !important;
    border-color: rgba(214, 168, 93, 0.84) !important;
}

.nk-template-essential-bugis #opening .wy-quote-box {
    background: rgba(255, 250, 236, 0.9) !important;
    border-color: rgba(214, 168, 93, 0.68) !important;
}

.nk-template-essential-bugis #opening .wy-quote-source {
    color: #3f100b !important;
    text-shadow: none !important;
}

/* Daftar ucapan tamu (RSVP / guestbook) */
.nk-template-essential-bugis .wy-wishes-list-wrapper {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 75, 24, 0.22);
}

.nk-template-essential-bugis .wy-wishes-list__title {
    font-family: var(--nk-font-body, Poppins, sans-serif) !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(101, 26, 18, 0.62) !important;
    margin: 0 0 0.65rem;
    text-align: center;
    font-weight: 600;
}

.nk-template-essential-bugis .wy-wishes-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 2px;
}

.nk-template-essential-bugis .wy-wish-bubble {
    padding: 0.55rem 0.7rem 0.62rem !important;
    border-radius: 8px !important;
    border: 1px solid rgba(139, 75, 24, 0.28) !important;
    border-left: 3px solid var(--wy-primary, #d6a85d) !important;
    box-shadow: 0 4px 14px rgba(62, 16, 11, 0.08) !important;
}

.nk-template-essential-bugis .wy-wish-bubble__meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    margin-bottom: 0.35rem;
}

.nk-template-essential-bugis .wy-wish-bubble__label {
    font-family: var(--nk-font-body, Poppins, sans-serif) !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(101, 26, 18, 0.55) !important;
    font-weight: 600;
    line-height: 1.2;
}

.nk-template-essential-bugis .wy-wish-bubble__sender {
    font-family: var(--nk-font-heading, Playfair Display, serif) !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    color: #4a130e !important;
    line-height: 1.25;
    text-shadow: none !important;
}

.nk-template-essential-bugis .wy-wish-bubble__divider {
    height: 1px;
    margin: 0 0 0.4rem;
    background: linear-gradient(90deg, rgba(214, 168, 93, 0.65) 0%, rgba(214, 168, 93, 0.12) 72%, transparent 100%);
}

.nk-template-essential-bugis .wy-wish-bubble__message {
    font-family: var(--nk-font-body, Poppins, sans-serif) !important;
    font-size: 0.7rem !important;
    line-height: 1.5 !important;
    color: rgba(36, 17, 12, 0.78) !important;
    margin: 0 !important;
    white-space: pre-wrap;
    word-break: break-word;
}

.nk-template-essential-bugis .wy-wish-empty {
    text-align: center;
    font-size: 0.72rem !important;
    color: rgba(101, 26, 18, 0.55) !important;
    padding: 0.75rem 0.5rem;
    margin: 0;
    line-height: 1.45;
}
