.policy-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(250, 206, 77, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 120, 71, 0.18), transparent 34%),
        linear-gradient(180deg, #120d09 0%, #20140f 36%, #f6efe3 36%, #f6efe3 100%);
    color: #20130c;
}

.policy-hero {
    position: relative;
    padding: 28px 0 84px;
    color: #fff7ea;
    background:
        linear-gradient(135deg, rgba(16, 10, 8, 0.92), rgba(50, 29, 18, 0.86)),
        url("../img/banner/banner1-slide4.jpg") center/cover no-repeat;
    overflow: hidden;
}

.policy-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(246, 239, 227, 0), #f6efe3 88%);
}

.policy-nav {
    position: relative;
    z-index: 1;
}

.policy-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(22, 14, 11, 0.46);
    backdrop-filter: blur(14px);
}

.policy-brand img {
    width: 168px;
    max-width: 100%;
    height: auto;
}

.policy-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.policy-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 247, 234, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: #fff7ea;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.policy-nav-link:hover,
.policy-nav-link:focus-visible {
    color: #fff7ea;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 247, 234, 0.28);
}

.policy-nav-link.is-primary {
    color: #1f130b;
    background: linear-gradient(135deg, #ffe0a6, #f9b14f);
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(249, 177, 79, 0.28);
}

.policy-nav-link.is-primary:hover,
.policy-nav-link.is-primary:focus-visible {
    color: #1f130b;
    background: linear-gradient(135deg, #ffe8bc, #ffbf60);
}

.policy-hero-body {
    position: relative;
    z-index: 1;
    padding-top: 74px;
}

.policy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.policy-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffd36b;
    box-shadow: 0 0 18px rgba(255, 211, 107, 0.75);
}

.policy-title {
    margin: 0;
    color: #fff7ea;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.policy-lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgba(255, 247, 234, 0.78);
    font-size: 1.02rem;
    line-height: 1.82;
}

.policy-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.policy-main {
    position: relative;
    z-index: 1;
    margin-top: -26px;
    padding-bottom: 84px;
}

.policy-card {
    padding: 34px 32px;
    border: 1px solid rgba(69, 38, 17, 0.1);
    border-radius: 28px;
    background: rgba(255, 252, 246, 0.96);
    box-shadow: 0 28px 70px rgba(43, 26, 16, 0.12);
}

.policy-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.policy-card-title {
    margin: 0;
    color: #23150e;
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    line-height: 1.1;
}

.policy-card-note {
    max-width: 520px;
    margin: 10px 0 0;
    color: #75553d;
    line-height: 1.72;
}

.policy-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #1f130b;
    color: #fff0db;
    font-size: 0.9rem;
    font-weight: 600;
}

.policy-status {
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(121, 87, 53, 0.18);
    border-radius: 18px;
    background: rgba(245, 237, 225, 0.85);
    color: #6d4e34;
    line-height: 1.6;
}

.policy-status.is-error {
    border-color: rgba(165, 60, 36, 0.18);
    background: rgba(255, 234, 228, 0.9);
    color: #8c3b2a;
}

.policy-content[hidden] {
    display: none !important;
}

.policy-content {
    color: #291a11;
    font-size: 1rem;
    line-height: 1.88;
    word-break: break-word;
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    color: #1d110c;
    line-height: 1.28;
}

.policy-content h1:first-child,
.policy-content h2:first-child,
.policy-content h3:first-child,
.policy-content h4:first-child,
.policy-content h5:first-child,
.policy-content h6:first-child {
    margin-top: 0;
}

.policy-content p,
.policy-content ul,
.policy-content ol,
.policy-content blockquote {
    margin-bottom: 1rem;
}

.policy-content ul,
.policy-content ol {
    padding-left: 1.3rem;
}

.policy-content a {
    color: #b4551d;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.policy-card-note code,
.policy-content code {
    padding: 0.12rem 0.4rem;
    border-radius: 0.45rem;
    background: rgba(31, 19, 11, 0.06);
    color: #7f3d15;
    font-size: 0.94em;
}

.policy-content strong,
.policy-content b {
    color: #1d110c;
}

.policy-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.policy-content th,
.policy-content td {
    padding: 12px;
    border: 1px solid rgba(69, 38, 17, 0.12);
    vertical-align: top;
}

.policy-content img {
    max-width: 100%;
    height: auto;
}

.policy-footer {
    padding: 28px 0 46px;
    color: #fef6ea;
    background:
        linear-gradient(180deg, rgba(24, 15, 11, 0), rgba(24, 15, 11, 0.94) 26%),
        url("../img/footer/footer-bg.png") center/cover no-repeat;
}

.policy-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.policy-footer-brand img {
    width: 148px;
    max-width: 100%;
    height: auto;
}

.policy-footer-text {
    color: rgba(255, 246, 234, 0.68);
    line-height: 1.7;
}

.policy-footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 991.98px) {
    .policy-hero {
        padding-bottom: 74px;
    }

    .policy-hero-body {
        padding-top: 56px;
    }

    .policy-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    .policy-card-head,
    .policy-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .policy-footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .policy-nav-inner {
        padding: 16px;
    }

    .policy-brand img {
        width: 142px;
    }

    .policy-nav-links,
    .policy-hero-actions {
        width: 100%;
    }

    .policy-nav-link {
        flex: 1 1 auto;
    }

    .policy-main {
        padding-bottom: 62px;
    }

    .policy-footer {
        padding-bottom: 34px;
    }
}
