/* drrifan.id Hero Banner */
.drh-hero,
.drh-hero * {
    box-sizing: border-box;
}

.drh-hero {
    --drh-navy: #071b33;
    --drh-blue: #0d4c7e;
    --drh-sky: #8bd4ff;
    --drh-gold: #ffd45b;
    --drh-white: #ffffff;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(320px, .87fr);
    width: min(1180px, calc(100% - 32px));
    min-height: 500px;
    margin: 18px auto 38px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 16%, rgba(72, 173, 235, .22), transparent 35%),
        linear-gradient(132deg, #06172b 0%, #0a3157 54%, #0d4d7d 100%);
    box-shadow: 0 28px 70px rgba(7, 27, 51, .20);
    color: var(--drh-white);
    isolation: isolate;
    clear: both;
}

/*
 * Auto-insert disembunyikan sampai JavaScript menemukan navigasi utama.
 * Ini mencegah banner sempat muncul di atas menu ketika wp_body_open()
 * dipanggil sebelum struktur header selesai dirender oleh tema.
 */
.drh-hero.drh-auto:not(.drh-mounted) {
    position: absolute !important;
    left: -99999px !important;
    top: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Posisi final: tepat di bawah menu/header utama. */
.drh-hero.drh-mounted--below-menu {
    margin-top: 18px;
    scroll-margin-top: 24px;
}


.drh-hero__glow {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}

.drh-hero__glow--one {
    width: 280px;
    height: 280px;
    right: 22%;
    top: -170px;
    background: rgba(255, 212, 91, .14);
}

.drh-hero__glow--two {
    width: 350px;
    height: 350px;
    left: -210px;
    bottom: -240px;
    background: rgba(80, 184, 247, .18);
}

.drh-hero__content {
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 58px 30px 58px 62px;
}

.drh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #dff3ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .09em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.drh-hero__eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--drh-gold);
    box-shadow: 0 0 0 5px rgba(255, 212, 91, .14);
}

.drh-hero__title {
    max-width: 760px;
    margin: 0 0 12px !important;
    color: #fff !important;
    font-family: inherit;
    font-size: clamp(36px, 5vw, 61px) !important;
    font-weight: 800 !important;
    line-height: 1.03 !important;
    letter-spacing: -.035em;
}

.drh-hero__subtitle {
    margin: 0 0 21px !important;
    color: #a9defd !important;
    font-size: clamp(16px, 1.7vw, 20px) !important;
    font-weight: 650;
    line-height: 1.45;
}

.drh-hero__description {
    max-width: 690px;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.78;
}

.drh-hero__description p {
    margin: 0 !important;
    color: inherit !important;
}

.drh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 29px;
}

.drh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 19px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.drh-btn:hover,
.drh-btn:focus-visible {
    transform: translateY(-2px);
}

.drh-btn--primary {
    background: var(--drh-gold);
    color: #092039 !important;
    box-shadow: 0 14px 30px rgba(255, 212, 91, .16);
}

.drh-btn--primary:hover,
.drh-btn--primary:focus-visible {
    background: #ffe184;
    box-shadow: 0 18px 36px rgba(255, 212, 91, .23);
}

.drh-btn--secondary {
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    color: #fff !important;
    backdrop-filter: blur(8px);
}

.drh-btn--secondary:hover,
.drh-btn--secondary:focus-visible {
    background: rgba(255, 255, 255, .14);
}

.drh-hero__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 23px;
    color: rgba(255, 255, 255, .72) !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none !important;
}

.drh-hero__linkedin:hover,
.drh-hero__linkedin:focus-visible {
    color: #fff !important;
}

.drh-hero__visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 35px 34px 0 0;
}

.drh-hero__visual::before {
    content: "";
    position: absolute;
    right: 5%;
    top: 8%;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 212, 91, .95), rgba(255, 212, 91, .30));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
    opacity: .96;
}

.drh-hero__visual::after {
    content: "";
    position: absolute;
    right: 3%;
    bottom: 0;
    width: 92%;
    height: 72%;
    border-radius: 140px 140px 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 1px solid rgba(255,255,255,.09);
    border-bottom: 0;
}

.drh-hero__photo-frame {
    position: relative;
    z-index: 2;
    width: min(390px, 100%);
    aspect-ratio: .83;
    overflow: hidden;
    border-radius: 180px 180px 22px 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,.23);
}

.drh-hero__photo-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 50% 28%;
    transform: scale(1.04);
}

.drh-hero__badge {
    position: absolute;
    z-index: 4;
    right: 17px;
    bottom: 33px;
    display: grid;
    gap: 2px;
    min-width: 185px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 14px;
    background: rgba(5, 28, 52, .78);
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.drh-hero__badge strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.drh-hero__badge span {
    color: #b9e4ff;
    font-size: 11px;
    line-height: 1.35;
}

.drh-hero a:focus-visible {
    outline: 3px solid rgba(255, 212, 91, .75);
    outline-offset: 3px;
}

@media (max-width: 920px) {
    .drh-hero {
        grid-template-columns: 1fr;
        width: min(760px, calc(100% - 24px));
    }

    .drh-hero__content {
        padding: 44px 34px 16px;
        text-align: center;
    }

    .drh-hero__eyebrow,
    .drh-hero__linkedin {
        margin-left: auto;
        margin-right: auto;
    }

    .drh-hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .drh-hero__actions {
        justify-content: center;
    }

    .drh-hero__visual {
        min-height: 410px;
        padding: 24px 32px 0;
    }

    .drh-hero__visual::before {
        right: 50%;
        transform: translateX(50%);
        width: min(440px, 76%);
    }

    .drh-hero__visual::after {
        right: 50%;
        transform: translateX(50%);
        width: min(500px, 88%);
    }

    .drh-hero__photo-frame {
        width: min(335px, 72vw);
    }

    .drh-hero__badge {
        right: max(22px, calc(50% - 245px));
    }
}

@media (max-width: 560px) {
    .drh-hero {
        width: calc(100% - 18px);
        margin-top: 14px;
        margin-bottom: 28px;
        border-radius: 20px;
    }

    .drh-hero__content {
        padding: 34px 21px 8px;
    }

    .drh-hero__eyebrow {
        font-size: 10px;
        line-height: 1.2;
    }

    .drh-hero__title {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    .drh-hero__description {
        font-size: 14px;
        line-height: 1.68;
    }

    .drh-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .drh-btn {
        width: 100%;
    }

    .drh-hero__visual {
        min-height: 335px;
        padding: 20px 20px 0;
    }

    .drh-hero__photo-frame {
        width: min(275px, 76vw);
        border-radius: 140px 140px 18px 18px;
    }

    .drh-hero__badge {
        right: 12px;
        bottom: 18px;
        min-width: 154px;
        padding: 10px 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .drh-btn { transition: none; }
}
