.marriage-detail__article-body {
    min-width: 0;
}

.marriage-detail__article-body--with-member {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.marriage-detail__article-text {
    min-width: 0;word-wrap: break-word;
}

.marriage-detail__member-card {
    width: 100%;
}

.marriage-detail__member-card-title,
.marriage-detail__member-profile-link {
    margin-bottom: 12px;
    padding: 10px 14px;
    border-left: 4px solid #f1557a;
    border-right: 4px solid #f1557a;
    border-radius: 10px;
    background: #fff5f8;
    color: #be3458;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.marriage-detail__member-profile-link {
    display: block;
    margin-top: 12px;
    margin-bottom: 0;
    text-decoration: none;
    transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.marriage-detail__member-profile-link:hover,
.marriage-detail__member-profile-link:focus {
    color: #be3458;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(241, 85, 122, .12);
    transform: translateY(-2px);
}

.marriage-detail__member-card .member__item {
    width: 100%;
    max-width: none;
    margin: 0;
}

.marriage-detail__member-card .home-member-card {
    height: auto;
}

@media (max-width: 991px) {
    .marriage-detail__article-body--with-member {
        grid-template-columns: 1fr;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .blog__content,
    .blog__content * {
        visibility: visible !important;
    }

    .blog__content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 18px;
        background: #fff;
    }
}
