/* ── POLICY & LEGAL MODALS (shared across site) ─────────────────────────── */
.policy-modal .modal-content {
    background: #0d1a1e;
    border: 1px solid rgba(162, 93, 52, .3);
    border-radius: 0;
    color: var(--cream);
}

.policy-modal .modal-header {
    background: linear-gradient(135deg, #091012, #12201e);
    border-bottom: 1px solid rgba(162, 93, 52, .25);
    padding: 28px 32px 24px;
    align-items: flex-start;
}

.policy-modal .modal-eyebrow {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--copper);
    font-weight: 600;
    margin-bottom: 6px;
}

[dir="rtl"] .policy-modal .modal-eyebrow {
    letter-spacing: 0;
    font-size: .8rem;
}

.policy-modal .modal-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.65rem;
    color: var(--cream);
    margin: 0;
    line-height: 1.2;
}

[dir="rtl"] .policy-modal .modal-title {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
}

.btn-modal-close {
    background: transparent;
    border: 1px solid rgba(162, 93, 52, .3);
    color: var(--sand);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: all .25s;
    font-size: .85rem;
}

[dir="rtl"] .btn-modal-close {
    margin-left: 0;
    margin-right: auto;
}

.btn-modal-close:hover {
    background: var(--copper);
    color: var(--cream);
    border-color: var(--copper);
}

.policy-modal .modal-body {
    padding: 32px;
    background: #0d1a1e;
    max-height: 62vh;
    overflow-y: auto;
}

.policy-modal .modal-body::-webkit-scrollbar {
    width: 5px;
}

.policy-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(162, 93, 52, .07);
}

.policy-modal .modal-body::-webkit-scrollbar-thumb {
    background: rgba(162, 93, 52, .45);
    border-radius: 3px;
}

.policy-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--copper);
}

.policy-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(162, 93, 52, .12);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h5 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.05rem;
    color: var(--copper);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

[dir="rtl"] .policy-section h5 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
}

.policy-section p {
    font-size: .88rem;
    color: var(--sand);
    line-height: 1.78;
    margin-bottom: 10px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section ul {
    padding-left: 18px;
    margin-bottom: 12px;
}

[dir="rtl"] .policy-section ul {
    padding-left: 0;
    padding-right: 18px;
}

.policy-section ul li {
    font-size: .88rem;
    color: var(--sand);
    line-height: 1.78;
    margin-bottom: 4px;
}

.policy-section ul li::marker {
    color: var(--copper);
}

.policy-section strong {
    color: var(--cream);
    font-weight: 600;
}

.policy-licence-meta {
    margin-bottom: 12px !important;
}

.policy-licence-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--copper);
    background: rgba(162, 93, 52, .12);
    border: 1px solid rgba(162, 93, 52, .35);
    padding: 5px 12px;
}

[dir="rtl"] .policy-licence-badge {
    letter-spacing: 0;
    font-size: .76rem;
    text-transform: none;
}

.policy-contact a {
    color: var(--copper);
    text-decoration: none;
    transition: color .2s;
}

.policy-contact a:hover {
    color: var(--sand);
}

.policy-contact .bi {
    color: var(--copper);
    font-size: .85rem;
}

.policy-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-modal .modal-footer {
    background: #091012;
    border-top: 1px solid rgba(162, 93, 52, .2);
    padding: 18px 32px;
    justify-content: flex-end;
}

.policy-modal .btn-copper {
    background: linear-gradient(135deg, var(--copper), var(--brown));
    color: var(--cream) !important;
    border: none;
    border-radius: 0;
    padding: 14px 36px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: all .3s;
}

[dir="rtl"] .policy-modal .btn-copper {
    letter-spacing: 0;
}

.policy-modal .btn-copper:hover {
    background: linear-gradient(135deg, var(--sand), var(--copper));
    color: var(--dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(162, 93, 52, .35);
}

.policy-modal.fade .modal-dialog {
    transition: transform .3s ease, opacity .3s ease;
    transform: translateY(-20px);
}

.policy-modal.show .modal-dialog {
    transform: translateY(0);
}

.policy-modal .modal-backdrop {
    background: #000;
}
