/* ==========================================================================
   AstroZiva Puja - Simple, Clean Devotee Policies Design
   Replaces complex SaaS layout with an elegant, warm, readable policy reader
   ========================================================================== */

/* Main Page Container */
.az-policies-page {
    background-color: #fbf9f5;
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: #1e293b;
    margin: 0;
    padding: 0;
}

.az-policies-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 20px 80px 20px;
}

/* Centered Title */
.az-simple-policy-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 3.2rem;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    margin: 0 0 36px 0;
    letter-spacing: -0.8px;
    line-height: 1.15;
}

.az-simple-policy-title span {
    color: #ea580c;
}

/* Horizontal Filter Pills Bar */
.az-simple-policy-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1060px;
    margin: 0 auto 40px auto;
    padding: 0 10px;
}

.az-policy-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.az-policy-pill:hover {
    border-color: #fed7aa;
    color: #ea580c;
    background: #fffaf5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12);
}

.az-policy-pill.active {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.38) !important;
    transform: translateY(-2px);
}

/* Main White Policy Card */
.az-simple-policy-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 58px;
    box-shadow: 0 6px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid #f1f5f9;
    box-sizing: border-box;
}

/* Tab Panes */
.az-policy-pane {
    display: none;
    animation: fadeInPolicy 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.az-policy-pane.active {
    display: block;
}

@keyframes fadeInPolicy {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inside Card Content Styling */
.az-policy-updated {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.az-policy-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 16px 0;
    font-weight: 450;
}

.az-policy-content p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 16px 0;
}

.az-policy-content h2,
.az-policy-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 32px 0 12px 0;
    letter-spacing: -0.3px;
}

.az-policy-content h3:first-of-type {
    margin-top: 24px;
}

.az-policy-content ul {
    margin: 0 0 20px 0;
    padding-left: 22px;
    color: #475569;
}

.az-policy-content ul li {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 9px;
    color: #475569;
}

.az-policy-content ul li strong {
    color: #0f172a;
}

.az-policy-content .policy-callout {
    background: #fffaf5;
    border-left: 4px solid #ea580c;
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: #9a3412;
}

.az-policy-content a {
    color: #ea580c;
    text-decoration: underline;
    font-weight: 600;
}
.az-policy-content a:hover {
    color: #c2410c;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .az-simple-policy-card {
        padding: 38px 32px;
        border-radius: 20px;
    }
    .az-simple-policy-title {
        font-size: 2.6rem;
        margin-bottom: 28px;
    }
    .az-policies-wrapper {
        padding-top: 36px;
    }
}

@media (max-width: 600px) {
    .az-simple-policy-card {
        padding: 28px 20px;
        border-radius: 18px;
    }
    .az-simple-policy-title {
        font-size: 2.1rem;
        margin-bottom: 22px;
    }
    .az-simple-policy-pills {
        gap: 8px;
        margin-bottom: 28px;
    }
    .az-policy-pill {
        padding: 8px 16px;
        font-size: 0.86rem;
    }
    .az-policy-updated {
        font-size: 0.96rem;
        margin-bottom: 18px;
    }
    .az-policy-lead,
    .az-policy-content p,
    .az-policy-content ul li {
        font-size: 0.92rem;
        line-height: 1.7;
    }
    .az-policy-content h2,
    .az-policy-content h3 {
        font-size: 1.12rem;
        margin: 24px 0 10px 0;
    }
}
