/* ============================================
   Policy Page Styles
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-gray, #f1f5f9);
    padding: 1rem 0;
    margin-top: 80px;
}

.breadcrumb__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #475569);
}

.breadcrumb__nav a {
    color: var(--primary-color, #2563eb);
    transition: color 0.2s ease;
}

.breadcrumb__nav a:hover {
    color: var(--primary-dark, #1e40af);
}

.breadcrumb__separator {
    color: var(--gray-400, #94a3b8);
}

.breadcrumb__current {
    color: var(--text-primary, #0f172a);
    font-weight: 500;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color, #2563eb) 0%, var(--primary-dark, #1e40af) 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
}

.page-header__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header__subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.heritage-text {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.85;
    display: block;
    margin-top: 0.5rem;
}

.page-header__description {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* Policies Content */
.policies-content {
    background: white;
    padding: var(--spacing-xl, 6rem) 0;
}

/* Policies Grid */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Policy Card */
.policy-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem;
    background: white;
    border: 2px solid var(--gray-200, #e2e8f0);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.policy-card:hover {
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

.policy-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color, #2563eb) 0%, var(--primary-dark, #1e40af) 100%);
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.policy-card:hover .policy-card__icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.policy-card__content {
    flex: 1;
    min-width: 0;
}

.policy-card__content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.policy-card__meta {
    font-size: 0.875rem;
    color: var(--text-secondary, #475569);
    display: block;
}

.policy-card__arrow {
    width: 32px;
    height: 32px;
    background: var(--bg-gray, #f1f5f9);
    color: var(--text-secondary, #475569);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.policy-card:hover .policy-card__arrow {
    background: var(--primary-color, #2563eb);
    color: white;
    transform: translateX(4px);
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .page-header__title {
        font-size: 2.5rem;
    }

    .policies-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        margin-top: 70px;
    }

    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-header__title {
        font-size: 2rem;
    }

    .page-header__subtitle {
        font-size: 1.125rem;
    }

    .page-header__description {
        font-size: 1rem;
    }

    .policies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .policy-card {
        padding: 1.5rem;
    }

    .policy-card__icon {
        width: 48px;
        height: 48px;
    }

    .policy-card__content h3 {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .page-header__title {
        font-size: 1.75rem;
    }

    .policy-card {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .policy-card__arrow {
        display: none;
    }

    .policy-card__content h3 {
        font-size: 0.9375rem;
    }
}

/* Print Styles */
@media print {
    .breadcrumb,
    .nav,
    .footer,
    .policy-card__arrow {
        display: none;
    }

    .page-header {
        background: none;
        color: black;
        padding: 1rem 0;
    }

    .policy-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
        margin-bottom: 0.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.policy-card:nth-child(1) { animation-delay: 0.05s; }
.policy-card:nth-child(2) { animation-delay: 0.1s; }
.policy-card:nth-child(3) { animation-delay: 0.15s; }
.policy-card:nth-child(4) { animation-delay: 0.2s; }
.policy-card:nth-child(5) { animation-delay: 0.25s; }
.policy-card:nth-child(6) { animation-delay: 0.3s; }
.policy-card:nth-child(7) { animation-delay: 0.35s; }
.policy-card:nth-child(8) { animation-delay: 0.4s; }
