body {
    background: #f4f7fb;
}

.motive-page {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 56px;
}

.motive-detail-card {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
    margin: 0 auto 26px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(28, 111, 172, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
    overflow: hidden;
}

.motive-media {
    min-width: 0;
}

.motive-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #edf4ff;
    border: 1px solid rgba(28, 111, 172, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.motive-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.motive-content {
    min-width: 0;
    padding: 8px 8px 8px 0;
    display: flex;
    flex-direction: column;
}

.motive-content h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    color: #102a43;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.18;
    font-weight: 800;
    border-bottom: 2px solid rgba(28, 111, 172, 0.18);
    position: relative;
}

.motive-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 72px;
    height: 2px;
    background: var(--background-color);
    border-radius: 999px;
}

.motive-description {
    color: #344054;
    font-size: 15.5px;
    line-height: 1.75;
    text-align: left;
}

.motive-description p {
    margin: 0 0 12px;
}

.motive-description ul,
.motive-description ol {
    margin: 10px 0 0;
    padding-left: 20px;
}

.motive-description li {
    margin-bottom: 7px;
}

.motive-description strong,
.motive-description b {
    color: #102a43;
}

@media only screen and (max-width: 768px) {
    .motive-page {
        width: min(520px, calc(100% - 24px));
        padding-bottom: 38px;
    }

    .motive-detail-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px;
        margin-bottom: 18px;
        border-radius: 12px;
    }

    .motive-content {
        padding: 0;
    }

    .motive-content h2 {
        font-size: 21px;
        margin-bottom: 12px;
    }

    .motive-description {
        font-size: 14.5px;
        line-height: 1.68;
    }
}
