/* ========================= */
/* HERO */
/* ========================= */
.policy-hero {
    position: relative;
    height: 300px;
    background: url("/public/assets/images/kebijakan/bgpolicy.png") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* CENTER TEXT */
    color: #fff;
}

.policy-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.policy-hero .hero-text {
    position: relative;
    z-index: 2;
}

.policy-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.policy-hero p {
    color: #ddd;
}

/* ========================= */
/* LAYOUT */
/* ========================= */
.policy-section {
    padding: 60px 0;
}

.policy-layout {
    display: flex;
    gap: 40px;
}

/* ========================= */
/* SIDEBAR */
/* ========================= */
.policy-sidebar {
    width: 250px;
    border-right: 1px solid #eee;
}

.policy-sidebar ul {
    list-style: none;
}

.policy-sidebar li {
    padding: 12px 10px;
    cursor: pointer;
    color: #555;
    border-left: 3px solid transparent;
    transition: 0.3s;
}

.policy-sidebar li:hover {
    color: #9b1c1c;
}

.policy-sidebar li.active {
    color: #9b1c1c;
    border-left: 3px solid #9b1c1c;
    font-weight: 600;
}

/* ========================= */
/* CONTENT */
/* ========================= */
.policy-content {
    flex: 1;
}

.policy-content h2 {
    color: #13294b;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.policy-content img {
    margin-top: 20px;
    width: 100%;
    border-radius: 10px;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width: 768px) {

    .policy-layout {
        flex-direction: column;
    }

    .policy-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .policy-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .policy-sidebar li {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 8px 12px;
    }

    .policy-sidebar li.active {
        background: #9b1c1c;
        color: #fff;
    }
}