/* =========================================================
   LANGKAH KUDA — REKOMENDASI PERSONAL
   ========================================================= */

.lk-reco-section {
    position: relative;
    margin: clamp(46px, 7vw, 84px) 0;
    padding: clamp(24px, 4vw, 44px);
    overflow: hidden;
    border: 1px solid rgba(28, 42, 62, .12);
    border-radius: 32px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(183, 139, 44, .13),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(250, 248, 242, .98),
            rgba(243, 238, 226, .76)
        );
    box-shadow:
        0 26px 70px rgba(21, 32, 48, .09);
}

.lk-reco-section::before {
    position: absolute;
    top: -80px;
    right: -55px;
    width: 230px;
    height: 230px;
    content: "";
    border: 1px solid rgba(181, 136, 39, .16);
    border-radius: 50%;
    pointer-events: none;
}

.lk-reco-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.lk-reco-header h2 {
    margin: 7px 0 9px;
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1;
}

.lk-reco-header p {
    max-width: 680px;
    margin: 0;
    opacity: .72;
    font-size: 16px;
}

.lk-reco-settings {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid rgba(22, 47, 81, .22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.lk-reco-settings:hover {
    color: #fff;
    border-color: #6f263d;
    background: #6f263d;
}

.lk-reco-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.lk-reco-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(26, 40, 60, .11);
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    box-shadow:
        0 15px 38px rgba(22, 34, 50, .07);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.lk-reco-card:hover {
    transform: translateY(-4px);
    border-color: rgba(181, 136, 39, .42);
    box-shadow:
        0 24px 50px rgba(22, 34, 50, .13);
}

.lk-reco-eksplorasi {
    border-style: dashed;
}

.lk-reco-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #493126,
            #8a4057
        );
}

.lk-reco-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.lk-reco-card:hover .lk-reco-cover img {
    transform: scale(1.035);
}

.lk-reco-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    gap: 7px;
    color: rgba(255, 255, 255, .76);
    text-align: center;
    font-family: "Space Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.lk-reco-placeholder i {
    color: #e2c374;
    font-family: serif;
    font-size: 44px;
    font-style: normal;
    line-height: 1;
}

.lk-reco-premium {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 7px 10px;
    color: #fff;
    border-radius: 999px;
    background: rgba(13, 27, 47, .88);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.lk-reco-body {
    padding: 20px;
}

.lk-reco-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.lk-reco-type {
    padding: 5px 8px;
    color: #6b4a37;
    border-radius: 999px;
    background: rgba(111, 38, 61, .09);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.lk-reco-type-explore {
    color: #7f5a11;
    background: rgba(181, 136, 39, .13);
}

.lk-reco-card h3 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.13;
}

.lk-reco-card h3 a {
    text-decoration: none;
}

.lk-reco-subtitle,
.lk-reco-summary {
    min-height: 48px;
    margin: 12px 0 0;
    opacity: .72;
    line-height: 1.5;
}

.lk-reco-reason {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 11px 12px;
    border-radius: 13px;
    background: rgba(28, 58, 94, .06);
    font-size: 12px;
    line-height: 1.35;
}

.lk-reco-reason > span {
    color: #a77b20;
    font-size: 15px;
}

.lk-reco-reason strong {
    font-weight: 750;
}

.lk-reco-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    opacity: .64;
    font-size: 11px;
    font-weight: 650;
}

.lk-reco-footnote {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 22px 0 0;
    padding-left: 15px;
    border-left: 2px solid rgba(181, 136, 39, .54);
    opacity: .65;
    font-size: 12px;
}

/* Tema gelap */

html[data-theme="malam"] .lk-reco-section {
    border-color: rgba(255, 255, 255, .1);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(205, 163, 65, .13),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(13, 23, 38, .98),
            rgba(20, 32, 50, .94)
        );
}

html[data-theme="malam"] .lk-reco-card {
    border-color: rgba(255, 255, 255, .1);
    background: rgba(22, 33, 51, .96);
}

html[data-theme="malam"] .lk-reco-reason {
    background: rgba(255, 255, 255, .06);
}

html[data-theme="malam"] .lk-reco-settings {
    border-color: rgba(255, 255, 255, .2);
}

/* Tablet */

@media (max-width: 960px) {
    .lk-reco-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 650px) {
    .lk-reco-section {
        margin-inline: -4px;
        padding: 22px 15px;
        border-radius: 24px;
    }

    .lk-reco-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .lk-reco-settings {
        white-space: normal;
    }

    .lk-reco-grid {
        grid-template-columns: 1fr;
    }

    .lk-reco-card {
        border-radius: 19px;
    }

    .lk-reco-subtitle,
    .lk-reco-summary {
        min-height: 0;
    }
}
