.bride {
    width: 100%;
    min-height: 100vh;
    text-align: center;
    padding: 10rem 8rem;
    position: relative;
    background-color: var(--cream);
}

.bride h2 {
    font-size: 1.6rem;
    font-family: var(--arabic);
    font-weight: 400;
    color: var(--maroon-700);
}

.bride h3 {
    font-size: var(--fontSize-heading-base);
    font-family: var(--sacramento);
    font-weight: 400;
    margin: 0.6rem 0 1.2rem;
    color: var(--gold-600);
}

.bride > p {
    font-size: 1rem;
    line-height: 1.75rem;
    max-width: 38rem;
    margin: 0 auto;
}

.bride .bride_couple,
.bride .bride_couple ul,
.bride .bride_couple li {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.bride .bride_couple {
    margin-top: 4rem;
}

.bride .bride_couple ul {
    gap: 1.7rem;
}

/* ===== card ===== */
.bride .bride_couple li {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: 34rem;
    padding: 3.4rem 2.4rem 2.6rem;
    border: 1px solid rgba(169, 132, 47, 0.5);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.97), rgba(251, 246, 238, 0.97)),
        var(--paper);
    box-shadow: var(--shadow-md);
}

/* top gold ribbon */
.bride .bride_couple li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gold-gradient);
    z-index: 3;
}

/* faint songket watermark */
.bride .bride_couple li::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--songket) center / 82% auto no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

/* inner hairline frame */
.bride .bride_couple li .bride-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(169, 132, 47, 0.55);
    border-radius: 10px;
    pointer-events: none;
    z-index: 1;
}

/* corner flourishes */
.bride .bride_couple li .bride-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 0 solid var(--gold-600);
    pointer-events: none;
    z-index: 2;
}

.bride .bride_couple li .bride-corner.tl {
    top: 7px;
    left: 7px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-top-left-radius: 7px;
}

.bride .bride_couple li .bride-corner.tr {
    top: 7px;
    right: 7px;
    border-top-width: 2px;
    border-right-width: 2px;
    border-top-right-radius: 7px;
}

.bride .bride_couple li .bride-corner.bl {
    bottom: 7px;
    left: 7px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-bottom-left-radius: 7px;
}

.bride .bride_couple li .bride-corner.br {
    bottom: 7px;
    right: 7px;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-bottom-right-radius: 7px;
}

/* content sits above the decorations */
.bride .bride_couple li .bride-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* crest medallion */
.bride .bride_couple li .bride-crest {
    position: relative;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 38%, #fff6dc, #e6cd86);
    border: 1px solid var(--gold-500);
    box-shadow: 0 2px 6px rgba(138, 109, 36, 0.25),
                inset 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.bride .bride_couple li .bride-crest::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0.7rem;
    height: 0.7rem;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--gold-700), var(--gold-400));
    box-shadow: 0 0 2px rgba(138, 109, 36, 0.6);
}

/* name in Sacramento — kept on one line by bride.js */
.bride .bride_couple li figure {
    width: 100%;
}

.bride .bride_couple li figure figcaption {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: 2.2rem; /* JS shrinks this to fit */
    font-family: var(--sacramento);
    font-weight: 400;
    color: var(--gold-700);
    line-height: 1.25;
}

/* ornamental divider: line — diamond — line */
.bride .bride_couple li .bride-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 70%;
    max-width: 12rem;
    margin: 0.9rem 0 0.5rem;
}

.bride .bride_couple li .bride-rule span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-500));
}

.bride .bride_couple li .bride-rule span:last-child {
    background: linear-gradient(to left, transparent, var(--gold-500));
}

.bride .bride_couple li .bride-rule em {
    flex: none;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    background: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(194, 162, 76, 0.18);
}

.bride .bride_couple li p {
    font-size: 0.92rem;
    line-height: 1.9rem;
    margin-top: 0.4rem;
    color: var(--ink);
}

.bride .bride_couple li p .amp {
    font-family: var(--sacramento);
    font-size: 1.2rem;
    color: var(--gold-700);
    vertical-align: -0.1em;
}

/* & separator */
.bride .bride_couple li.bride-separator {
    overflow: visible;
    padding: 0.1rem 0;
    max-width: none;
    border: none;
    background: none;
    box-shadow: none;
}

.bride .bride_couple li.bride-separator::before,
.bride .bride_couple li.bride-separator::after {
    content: none;
}

.bride .bride_couple li.bride-separator span {
    font-size: 3.4rem;
    font-family: var(--sacramento);
    font-weight: 400;
    color: var(--gold-700);
}

/* floating hearts */
.bride i, .hadist i, .time a + p + i, .galeri > i {
    font-size: 1rem;
    color: var(--gold-500);
    opacity: 0.5;
    position: absolute;
    z-index: 10;
    animation: upAndDown 3s infinite;
}

.bride i:nth-of-type(1) { top: 14rem; right: 8rem; }
.bride i:nth-of-type(2) { left: 8rem; top: 24rem; }
.bride i:nth-of-type(3) { top: 54rem; right: 8rem; }
.bride i:nth-of-type(4) { top: 60rem; left: 8rem; }
.bride i:nth-of-type(5) { right: 8rem; bottom: 6rem; }

/* ===== hadist ===== */
.hadist {
    width: 100%;
    padding: 4rem 8rem;
    text-align: center;
    background-color: var(--ivory);
    position: relative;
}

.hadist h2 {
    font-size: 2rem;
    font-family: var(--sacramento);
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--maroon-700);
}

.hadist p {
    font-size: 1rem;
    line-height: 1.8rem;
    max-width: 40rem;
    margin: 0 auto;
}

.hadist p span {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-700);
}

.hadist i { top: 16rem; left: 8rem; }

.hadist svg {
    position: absolute;
    left: 0;
    right: 0;
    z-index: -10;
}

.hadist svg:nth-of-type(1) { top: -8rem; }
.hadist svg:nth-of-type(2) { bottom: -15rem; }
