/* Twelfth Section - Reception (same design as tenth) */
.wedding-mele-twelfth-section {
    width: 100%;
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background-color: #f6f6ff;
}

/* Background Image - Full Width */
.wedding-mele-twelfth-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.wedding-mele-twelfth-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}

.wedding-mele-twelfth-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.wedding-mele-twelfth-header {
    text-align: center;
    margin-bottom: 50px;
}

.wedding-mele-twelfth-subtitle {
    font-family: 'Britania Vintage', 'Volkhov', serif;
    font-size: 30px;
    font-weight: normal;
    font-style: italic;
    color: #2F4F75;
    margin: 0;
    letter-spacing: 2px;
}

.wedding-mele-twelfth-between {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0;
}

.wedding-mele-twelfth-between-img {
    width: auto;
    height: 26px;
    max-width: 260px;
    object-fit: contain;
}

.wedding-mele-twelfth-title {
    font-family: 'Volkhov', serif;
    font-size: 45px;
    font-weight: 700;
    color: #2F4F75;
    margin: 0;
    letter-spacing: 1px;
}

/* Main layout */
.wedding-mele-twelfth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.wedding-mele-twelfth-left {
    flex: 0 0 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.wedding-mele-twelfth-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wedding-mele-twelfth-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
    overflow: visible;
    border: 0;
    outline: 0;
}

/* Board / clip on image + date text (top-left, like shared design) */
.wedding-mele-twelfth-board-on-image {
    position: absolute;
    top: -10px;
   right: -3%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.wedding-mele-twelfth-dynamic-board {
    width: auto;
    min-width: 100px;
    max-width: 140px;
    height: auto;
    min-height: 80px;
    object-fit: contain;
    display: block !important;
    margin: 0 0 2px 0;
    padding: 0;
    vertical-align: top;
}

.wedding-mele-twelfth-board-date-text {
    position: absolute;
    top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-family: 'Volkhov', serif;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transform: rotate(5deg);
}

.wedding-mele-twelfth-board-line1 {
    display: block;
}

.wedding-mele-twelfth-board-day {
    font-size: 36px;
    font-weight: 700;
}

.wedding-mele-twelfth-board-month {
    font-family: 'Britaniya', 'Britania Vintage', 'Volkhov', serif !important;
    font-size: 30px;
}

.wedding-mele-twelfth-board-year {
    font-size: 34px;
    font-weight: 400;
}

.wedding-mele-twelfth-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
    border: 0;
    outline: 0;
}

/* Details */
.wedding-mele-twelfth-details {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 0;
    outline: 0;
}

.wedding-mele-twelfth-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.wedding-mele-twelfth-detail-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    margin-top: 2px;
    object-fit: contain;
    display: block;
}

.wedding-mele-twelfth-detail-text {
    font-family: 'Nunito', serif;
    font-size: 22px;
    font-weight:600;
    color: #2F4F75;
    line-height: 1.7;
}
.wedding-mele-twelfth-detail-text span{
    font-size: 20px;
    font-weight:400;
}
.wedding-mele-twelfth-detail-subtext {
    display: block;
    margin-top: 4px;
    font-size: 16px !important;
    opacity: 0.9;
    font-weight: 300 !important;
}

/* Responsive */
@media (max-width: 992px) {
    .wedding-mele-twelfth-section {
        padding: 70px 0;
    }

    .wedding-mele-twelfth-main {
        flex-direction: column;
        gap: 26px;
    }

    /* Mobile: image first, details below */
    .wedding-mele-twelfth-right {
        width: 100%;
        flex: 1;
        order: 1;
    }

    .wedding-mele-twelfth-left {
        width: 100%;
        order: 2;
        align-items: center;
        flex: 1;
    }

    .wedding-mele-twelfth-details {
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .wedding-mele-twelfth-subtitle {
        font-size: 22px;
    }

    .wedding-mele-twelfth-title {
        font-size: 38px;
    }

    .wedding-mele-twelfth-between-img {
        height: 24px;
    }
     .wedding-mele-twelfth-detail-text,
     .wedding-mele-twelfth-detail-text span {
        font-size: 14px!important;
    }
    .wedding-mele-twelfth-detail-icon {
    width: 28px;
    height: 28px;}


    .wedding-mele-twelfth-board-day {
    font-size: 21px;
}

.wedding-mele-twelfth-board-month {
    font-size: 25px;
}

.wedding-mele-twelfth-board-year {
    font-size: 20px;
}
}

@media (max-width: 576px) {
    .wedding-mele-twelfth-section {
        padding: 60px 0;
    }

    .wedding-mele-twelfth-content {
        padding: 0 15px;
    }

    .wedding-mele-twelfth-detail-text {
        font-size: 15px;
    }

    .wedding-mele-twelfth-detail-subtext {
        font-size: 12px;
    }
}

/* Mobile: board / clip and date text on image */
@media only screen and (max-width: 767px) {
    .wedding-mele-twelfth-board-date-text {
        top: 56px;
    }

    .wedding-mele-twelfth-dynamic-board {
        width: auto;
        min-width: 86px;
        max-width: 107px;
    }
}
