/**
 * Policy & Procedure Page
 * V2 Theme - Fortune Academy
 */

/* ============================
   Page Section
   ============================ */
.single-page-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

/* ============================
   Sidebar Navigation
   ============================ */
.policy-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.policy-sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #173C97;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #173C97;
}

.policy-nav {
    display: flex;
    flex-direction: column;
}

.policy-nav-link {
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    border-radius: 0 6px 6px 0;
}

.policy-nav-link:hover {
    color: #173C97;
    background: #f8f9fc;
    border-left-color: #ff6f00;
}

.policy-nav-link.active {
    color: #173C97;
    background: #f8f9fc;
    border-left-color: #173C97;
    font-weight: 600;
}

/* ============================
   Main Content
   ============================ */
.page-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.policy-updated {
    background: #f8f9fc;
    border-left: 4px solid #173C97;
    padding: 15px 20px;
    margin-bottom: 35px;
    font-size: 14px;
    color: #555;
    border-radius: 0 6px 6px 0;
}

.policy-updated i {
    color: #173C97;
    margin-right: 8px;
}

.policy-updated strong {
    color: #173C97;
}

/* ============================
   Policy Sections
   ============================ */
.policy-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

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

.policy-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #173C97;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.policy-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 25px 0 15px;
}

.policy-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0 20px;
    padding-left: 25px;
}

.policy-section ul li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

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

/* ============================
   Contact Box
   ============================ */
.contact-box {
    background: #f8f9fc;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.contact-box strong {
    font-size: 18px;
    color: #173C97;
    display: block;
    margin-bottom: 10px;
}

.contact-box a {
    color: #173C97;
    text-decoration: none;
    font-weight: 500;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* ============================
   Breadcrumb
   ============================ */
.breadcrumb-content {
    margin-top: 15px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.breadcrumb li {
    font-size: 14px;
    color: #fff;
}

.breadcrumb li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb li + li::before {
    content: '/';
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb li.active {
    opacity: 0.8;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 991px) {
    .single-page-section {
        padding: 50px 0 60px;
    }

    .policy-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .page-content {
        padding: 30px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .single-page-section {
        padding: 40px 0 50px;
    }

    .policy-sidebar {
        padding: 25px;
    }

    .policy-sidebar h3 {
        font-size: 16px;
    }

    .policy-nav-link {
        font-size: 13px;
        padding: 10px 12px;
    }

    .page-content {
        padding: 25px 20px;
    }

    .policy-updated {
        padding: 12px 15px;
        font-size: 13px;
    }

    .policy-section {
        margin-bottom: 40px;
    }

    .policy-section h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .policy-section h3 {
        font-size: 17px;
        margin: 20px 0 12px;
    }

    .policy-section p,
    .policy-section ul li {
        font-size: 14px;
    }

    .contact-box {
        padding: 20px;
        font-size: 14px;
    }

    .contact-box strong {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .policy-sidebar {
        padding: 20px;
    }

    .page-content {
        padding: 20px 15px;
    }

    .policy-section h2 {
        font-size: 20px;
    }

    .policy-section h3 {
        font-size: 16px;
    }
}

/* ============================
   Print Styles
   ============================ */
@media print {
    .policy-sidebar,
    .breadcrumb-content,
    .inner-banner-wrap {
        display: none;
    }

    .page-content {
        box-shadow: none;
        padding: 0;
    }

    .policy-section {
        page-break-inside: avoid;
    }

    .policy-section h2 {
        page-break-after: avoid;
    }
}
