/**
 * North Star - Policy Page Template Styles
 */

/* 1. Policy Hero Header Section */
.policy-hero-section {
    background: linear-gradient(135deg, #001226 0%, #001F3F 50%, #002B5B 100%);
    padding: 225px 24px 120px 24px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.policy-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.6;
}

.policy-hero-container {
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: left;
}

.policy-badge-wrap {
    margin-bottom: 16px;
   display:none;
}

.policy-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-family: 'Metropolis', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #A0C4FF;
}

.policy-title {
color: var(--Text-Color-White, #FFF);
text-align: center;
text-box: trim-both cap alphabetic;
font-family: var(--Display-Family, Metropolis);
font-size: var(--Display-D1, 80px);
font-style: normal;
font-weight: 400;
line-height: var(--Display-Line-height, 80px); /* 100% */
letter-spacing: var(--Letter-spacing-0, 0);
text-align:center;
     margin-bottom: 32px; 
}

.policy-meta-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
  justify-content: center;
}

.policy-updated-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Metropolis', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
}

.policy-updated-date svg {
    color: #38BDF8;
   display:none;
}

.policy-header-desc {
    max-width: 860px;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
}

.policy-header-desc p {
    font-family: 'Metropolis', sans-serif;
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* 2. Policy Main Content Section */
.policy-content-section {
    background-color: #FFFFFF;
    padding: 120px 24px;
    box-sizing: border-box;
}

.policy-container {
    max-width:100%;
    margin: 0 auto;
}

.policy-layout-grid {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.policy-body-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Metropolis', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #2D3748;
     display: flex;
    flex-direction: column;
    gap: 80px; 
}

/* 3. Dynamic Content Typography */
.policy-body-content h1,
.policy-body-content h2,
.policy-body-content h3,
.policy-body-content h4,
.policy-body-content h5,
.policy-body-content h6 {
    font-family: 'Metropolis', sans-serif;
    color: #001F3F;
    font-weight: 700;
    line-height: 1.35;
    scroll-margin-top: 120px;
}

.policy-body-content h2 {
    margin:0px 0 0px 0;
    position: relative;
    color: var(--Fill-color-Dark-blue, #00224D);
    text-box: trim-both cap alphabetic;
    font-family: var(--Heading-Family, Metropolis);
    font-size: var(--Heading-H2, 36px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--Heading-Line-height-2, 40px); /* 111.111% */
    letter-spacing: var(--Heading-Letter-spacing, 0);  
}

.policy-body-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #002B5B;
    display:none;
}

.policy-body-content h3 {
    font-size: 23px;
    margin: 36px 0 16px 0;
}

.policy-body-content h4 {
    font-size: 19px;
    margin: 28px 0 14px 0;
}

.policy-body-content p {
color: var(--Text-Color-Black, #1D1D1D);
font-family: var(--Display-Family, Metropolis);
font-size: var(--Body-B2, 24px);
font-style: normal;
font-weight: 400;
line-height: var(--Body-Line-height-2, 32px); /* 133.333% */
letter-spacing: var(--Body-Letter-spacing, 0);
}

.policy-body-content strong {
    color: #1D1D1D;
    font-weight: 600;
}

.policy-body-content a {
    color: #1D1D1D;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.textbox {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.policy-body-content a:hover {
    color: #1D1D1D;
}

/* Lists */
.policy-body-content ul,
.policy-body-content ol {
    margin: 0 0 28px 0;
    padding-left: 28px;
}

.policy-body-content li {
    margin-bottom: 12px;
    color: #334155;
}

.policy-body-content ul li::marker {
    color: #0284C7;
}

/* Callout / Disclaimer Box */
.policy-body-content blockquote,
.policy-callout {
    background-color: #F8FAFC;
    border-left: 4px solid #002B5B;
    border-radius: 0 8px 8px 0;
    padding: 24px 28px;
    margin: 32px 0;
    color: #1E293B;
}

.policy-body-content blockquote p,
.policy-callout p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

/* Tables */
.policy-body-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 36px 0;
    font-size: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.policy-body-content th {
    background-color: #001F3F;
    color: #FFFFFF;
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
}

.policy-body-content td {
    padding: 14px 18px;
    border-bottom: 1px solid #E2E8F0;
    color: #334155;
}

.policy-body-content tr:nth-child(even) {
    background-color: #F8FAFC;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .policy-hero-section {
        padding: 100px 20px 48px 20px;
    }

    .policy-title {
        font-size: 32px;
        line-height: 40px;
    }

    .policy-header-desc p {
        font-size: 16px;
    }

    .policy-content-section {
        padding: 48px 20px 80px 20px;
    }

    .policy-body-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .policy-body-content h2 {
        font-size: 24px;
        margin: 36px 0 16px 0;
    }

    .policy-body-content h3 {
        font-size: 20px;
    }
}
