/*=========================================================
    POLICIES & DOCUMENTS
=========================================================*/

.policy-page {
    padding: 15px 0 50px;
}


/*=========================================================
    PAGE DESCRIPTION
=========================================================*/

.policy-page .PageDescription {
    max-width: 850px;

    margin: 0 auto 30px;

    color: #64666c;

    font-size: 14px;

    line-height: 1.6;
}


/*=========================================================
    POLICY GRID
=========================================================*/

.policy-list {

    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}


/*=========================================================
    POLICY CARD
=========================================================*/

.policy-card {

    position: relative;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 7px;

    padding: 14px 15px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.05);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/*=========================================================
    LEFT ACCENT
=========================================================*/

.policy-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: var(--primary);;

    transition: width 0.3s ease;
}


.policy-card:hover {

    transform: translateY(-2px);

    border-color: rgba(20, 160, 119, 0.35);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.08);
}


.policy-card:hover::before {

    width: 5px;
}


/*=========================================================
    POLICY INFORMATION
=========================================================*/

.policy-info {

    display: flex;

    align-items: flex-start;

    gap: 12px;
}


/*=========================================================
    POLICY ICON
=========================================================*/

.policy-icon {

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: rgba(20, 160, 119, 0.10);

    color: var(--primary);

    font-size: 19px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.policy-card:hover .policy-icon {

    background: var(--primary);

    color: var(--white);;

    transform: translateY(-1px);
}


/*=========================================================
    POLICY DETAILS
=========================================================*/

.policy-details {

    flex: 1;

    min-width: 0;
}


/*=========================================================
    POLICY TITLE
=========================================================*/

.policy-details h3 {

    margin: 1px 0 4px;

    color: #121212;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.3;

    transition: color 0.3s ease;
}


.policy-card:hover .policy-details h3 {

    color: var(--primary);;
}


/*=========================================================
    DOCUMENT TYPE
=========================================================*/

.policy-type {

    display: block;

    color: #999999;

    font-size: 11px;

    line-height: 1.2;
}


.policy-type i {

    margin-right: 4px;

    color: #df291b;
}


/*=========================================================
    POLICY ACTIONS
    BUTTONS BELOW POLICY NAME
=========================================================*/

.policy-actions {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 10px;
}


/*=========================================================
    COMMON BUTTON
=========================================================*/

.policy-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    height: 30px;

    padding: 0 12px;

    border-radius: 4px;

    font-size: 11px;

    font-weight: 600;

    line-height: 1;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.policy-btn i {

    font-size: 11px;
}


/*=========================================================
    VIEW BUTTON
=========================================================*/

.policy-view {

    background: var(--primary);

    border: 1px solid var(--primary);

    color: #ffffff !important;
}


.policy-view:hover {

    background: #0263a8;

    border-color: var(--primary);

    color: #ffffff !important;

    transform: translateY(-1px);
}


/*=========================================================
    DOWNLOAD BUTTON
=========================================================*/

.policy-download {

    background: #ffffff;

    border: 1px solid var(--primary);

    color: var(--primary) !important;
}


.policy-download:hover {

    background: #0263a8;

    border-color: #0263a8;

    color: #ffffff !important;

    transform: translateY(-1px);
}


/*=========================================================
    TABLET
=========================================================*/

@media (max-width: 767px) {

    .policy-list {

        grid-template-columns: 1fr;

        gap: 12px;
    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media (max-width: 575px) {

    .policy-page {

        padding: 10px 0 35px;
    }


    .policy-page .PageDescription {

        font-size: 13px;

        line-height: 1.6;

        margin-bottom: 20px;
    }


    .policy-card {

        padding: 12px;
    }


    .policy-info {

        gap: 10px;
    }


    .policy-icon {

        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 17px;
    }


    .policy-details h3 {

        font-size: 14px;

        line-height: 1.35;
    }


    .policy-type {

        font-size: 10px;
    }


    .policy-actions {

        margin-top: 8px;

        gap: 5px;
    }


    .policy-btn {

        height: 29px;

        padding: 0 10px;

        font-size: 10px;
    }


    .policy-btn i {

        font-size: 10px;
    }

}