/* =========================================================
   TRAVELLOLO - PRIVACY POLICY
   File: assets/css/privacy-policy.css
========================================================= */

.tl-policy-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #10264d;
}

.tl-policy-page *,
.tl-policy-page *::before,
.tl-policy-page *::after {
    box-sizing: border-box;
}

.tl-policy-page img {
    display: block;
    max-width: 100%;
}

.tl-policy-page svg {
    display: block;
}


/* =========================================================
   HERO
========================================================= */

.tl-policy-hero {
    padding: 28px 0 0;
}

.tl-policy-hero-card {
    position: relative;
    min-height: 390px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 18px;

    background: #062b5b;
}

.tl-policy-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.tl-policy-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 24, 57, .96) 0%,
            rgba(4, 40, 82, .84) 38%,
            rgba(4, 40, 82, .40) 65%,
            rgba(4, 40, 82, .08) 100%
        );
}

.tl-policy-hero-content {
    position: relative;
    z-index: 2;

    max-width: 690px;

    padding: 62px;

    color: #ffffff;
}

.tl-policy-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;

    color: #ff8358;

    font-size: 16px;
    line-height: 1;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-policy-kicker::before {
    content: "";

    width: 24px;
    height: 2px;

    border-radius: 10px;

    background: #ff6f3c;
}

.tl-policy-hero-content h1 {
    margin: 0 0 17px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.05;
    font-weight: 800;

    letter-spacing: -2px;
}

.tl-policy-hero-content p {
    max-width: 610px;

    margin: 0;

    color: rgba(255, 255, 255, .86);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   MAIN POLICY AREA
========================================================= */

.tl-policy-main {
    padding: 70px 0;
}

.tl-policy-layout {
    display: grid;

    grid-template-columns:
        minmax(250px, .72fr)
        minmax(0, 2fr);

    align-items: start;

    gap: 34px;
}


/* =========================================================
   SIDEBAR
========================================================= */

.tl-policy-sidebar {
    min-width: 0;
}

.tl-policy-sidebar-box {
    position: sticky;
    top: 95px;

    padding: 25px;

    border: 1px solid #e0e6ed;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(12, 42, 78, .05);
}

body.admin-bar
.tl-policy-sidebar-box {
    top: 127px;
}

.tl-policy-label {
    display: block;

    margin-bottom: 7px;

    color: #f4511e;

    font-size: 16px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.tl-policy-sidebar-box h1 {
    margin: 0 0 9px;

    color: #102b57;

    font-size: 22px;
    line-height: 1.25;
}

.tl-policy-sidebar-box > p {
    margin: 0;

    color: #748196;

    font-size: 16px;
    line-height: 1.65;
}


/* UPDATED */

.tl-policy-updated {
    margin: 18px 0;
    padding: 13px 14px;

    border-radius: 7px;

    background: #f4f8fc;
}

.tl-policy-updated small {
    display: block;

    margin-bottom: 3px;

    color: #8691a1;

    font-size: 16px;
}

.tl-policy-updated strong {
    display: block;

    color: #17345e;

    font-size: 16px;
}


/* NAV */

.tl-policy-nav {
    display: grid;

    gap: 3px;
}

.tl-policy-nav a {
    position: relative;

    min-height: 39px;

    padding: 0 11px;

    display: flex;
    align-items: center;

    border-radius: 5px;

    color: #53647b;

    font-size: 16px;
    font-weight: 600;

    transition:
        background-color .2s ease,
        color .2s ease;
}

.tl-policy-nav a:hover {
    background: #f5f8fc;
    color: #155fa9;
}

.tl-policy-nav a.active {
    background: #edf5ff;
    color: #155fa9;
}

.tl-policy-nav a.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;
    bottom: 9px;

    width: 3px;

    border-radius: 10px;

    background: #216ac0;
}


/* =========================================================
   POLICY CONTENT
========================================================= */

.tl-policy-content {
    min-width: 0;

    display: grid;

    gap: 18px;
}

.tl-policy-section {
    position: relative;

    padding: 30px 32px;

    scroll-margin-top: 110px;

    border: 1px solid #e1e7ee;
    border-radius: 12px;

    background: #ffffff;

    box-shadow:
        0 5px 20px rgba(11, 41, 77, .035);
}

.tl-policy-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 25px;

    margin-bottom: 11px;
    padding: 0 8px;

    border-radius: 4px;

    background: #edf5ff;
    color: #236ac0;

    font-size: 16px;
    font-weight: 800;
}

.tl-policy-section h2 {
    margin: 0 0 13px;

    color: #102c59;

    font-size: 25px;
    line-height: 1.25;
    font-weight: 600;
}

.tl-policy-section h3 {
    margin: 23px 0 10px;

    color: #1a3a66;

    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.tl-policy-section p {
    margin: 0 0 14px;

    color: #66758a;

    font-size: 16px;
    line-height: 1.8;
}

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


/* LISTS */

.tl-policy-section ul {
    margin: 12px 0 18px;
    padding: 0;

    display: grid;

    gap: 9px;

    list-style: none;
}

.tl-policy-section li {
    position: relative;

    padding-left: 24px;

    color: #5f6f84;

    font-size: 16px;
    line-height: 1.65;
}

.tl-policy-section li::before {
    content: "";

    position: absolute;

    left: 3px;
    top: .7em;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #2b72c7;

    box-shadow:
        0 0 0 4px #edf5ff;
}


/* =========================================================
   PRIVACY NOTE
========================================================= */

.tl-policy-note {
    margin-top: 20px;
    padding: 17px 18px;

    border: 1px solid #cce7d7;
    border-left: 4px solid #1c9d59;
    border-radius: 7px;

    background: #f2fbf6;
}

.tl-policy-note strong {
    display: block;

    margin-bottom: 5px;

    color: #197947;

    font-size: 16px;
}

.tl-policy-note p {
    margin: 0;

    color: #577263;

    font-size: 16px;
}


/* =========================================================
   COOKIE CARDS
========================================================= */

.tl-policy-info-grid {
    margin: 20px 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 12px;
}

.tl-policy-info-card {
    min-width: 0;

    padding: 18px;

    border: 1px solid #e1e7ee;
    border-radius: 8px;

    background: #f9fbfd;
}

.tl-policy-info-card > span {
    display: inline-flex;

    margin-bottom: 10px;
    padding: 4px 7px;

    border-radius: 4px;

    background: #eaf3ff;
    color: #2367b9;

    font-size: 16px;
    font-weight: 600;

    text-transform: uppercase;
}

.tl-policy-info-card:nth-child(2) > span {
    background: #fff2e9;
    color: #e65a25;
}

.tl-policy-info-card:nth-child(3) > span {
    background: #eef9f2;
    color: #198d4e;
}

.tl-policy-info-card strong {
    display: block;

    margin-bottom: 7px;

    color: #183761;

    font-size: 16px;
}

.tl-policy-info-card p {
    margin: 0;

    color: #748196;

    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   WARNING BOX
========================================================= */

.tl-policy-warning {
    margin-top: 20px;
    padding: 17px;

    display: grid;

    grid-template-columns:
        37px
        minmax(0,1fr);

    align-items: start;

    gap: 12px;

    border: 1px solid #f0d7bb;
    border-radius: 8px;

    background: #fff9f2;
}

.tl-policy-warning-icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff0df;
    color: #ea7b20;
}

.tl-policy-warning-icon svg {
    width: 19px;
    height: 19px;
}

.tl-policy-warning strong {
    display: block;

    margin-bottom: 4px;

    color: #96500e;

    font-size: 16px;
}

.tl-policy-warning p {
    margin: 0;

    color: #776857;

    font-size: 16px;
}


/* =========================================================
   CONTACT BLOCK
========================================================= */

.tl-policy-contact {
    margin-top: 20px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 12px;
}

.tl-policy-contact > div {
    padding: 16px;

    border: 1px solid #e1e7ee;
    border-radius: 8px;

    background: #f8fbff;
}

.tl-policy-contact small {
    display: block;

    margin-bottom: 5px;

    color: #7e8a9a;

    font-size: 16px;
}

.tl-policy-contact a {
    color: #1761ad;

    font-size: 16px;
    font-weight: 700;

    word-break: break-word;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.tl-policy-cta-section {
    padding: 0 0 70px;
}

.tl-policy-cta {
    min-height: 185px;

    padding: 34px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    border-radius: 14px;

    background:
        linear-gradient(
            115deg,
            #073a79 0%,
            #0b5c9e 100%
        );

    color: #ffffff;
}

.tl-policy-cta > div {
    max-width: 700px;
}

.tl-policy-cta > div > span {
    display: block;

    margin-bottom: 7px;

    color: #ff8b62;

    font-size: 16px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.tl-policy-cta h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 29px;
    line-height: 1.2;
}

.tl-policy-cta p {
    margin: 0;

    color: rgba(255,255,255,.76);

    font-size: 16px;
    line-height: 1.65;
}

.tl-policy-cta-btn {
    min-width: 145px;
    min-height: 44px;

    padding: 0 18px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 6px;

    background: #f4511e;
    color: #ffffff !important;

    font-size: 16px;
    font-weight: 600;

    box-shadow:
        0 7px 18px rgba(244,81,30,.24);

    transition:
        background-color .2s ease,
        transform .2s ease;
}

.tl-policy-cta-btn:hover {
    background: #dc4013;

    transform: translateY(-1px);
}

.tl-policy-cta-btn svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .tl-policy-layout {
        grid-template-columns:
            minmax(220px, .7fr)
            minmax(0, 1.7fr);

        gap: 24px;
    }

    .tl-policy-hero-content {
        padding: 50px;
    }

    .tl-policy-info-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE - SMALL TABLET
========================================================= */

@media (max-width: 800px) {

    .tl-policy-layout {
        grid-template-columns: 1fr;
    }

    .tl-policy-sidebar-box {
        position: static;
    }

    .tl-policy-nav {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .tl-policy-section {
        scroll-margin-top: 85px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .tl-policy-hero {
        padding-top: 12px;
    }

    .tl-policy-hero-card {
        min-height: 430px;

        align-items: flex-end;

        border-radius: 12px;
    }

    .tl-policy-hero-image {
        object-position: 62% center;
    }

    .tl-policy-hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(3,24,57,.97) 0%,
                rgba(3,24,57,.84) 52%,
                rgba(3,24,57,.25) 100%
            );
    }

    .tl-policy-hero-content {
        padding: 30px 23px;
    }

    .tl-policy-hero-content h1 {
        font-size: 37px;
        letter-spacing: -1.3px;
    }

    .tl-policy-hero-content p {
        font-size: 16px;
    }


    /* MAIN */

    .tl-policy-main {
        padding: 45px 0;
    }

    .tl-policy-sidebar-box {
        padding: 20px;
    }

    .tl-policy-nav {
        grid-template-columns: 1fr;
    }


    /* SECTION */

    .tl-policy-content {
        gap: 14px;
    }

    .tl-policy-section {
        padding: 23px 20px;

        border-radius: 9px;
    }

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

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

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

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


    /* CONTACT */

    .tl-policy-contact {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .tl-policy-cta-section {
        padding-bottom: 50px;
    }

    .tl-policy-cta {
        padding: 28px 22px;

        flex-direction: column;
        align-items: flex-start;
    }

    .tl-policy-cta h2 {
        font-size: 25px;
    }

    .tl-policy-cta-btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .tl-policy-hero-content h1 {
        font-size: 33px;
    }

    .tl-policy-section {
        padding: 21px 17px;
    }

}