/* Travel Passes and Roam Better — shared styles for the EN and FR pages.
   Extracted from the Freeform_Cards_filters*.html inline <style> blocks. */

.travel-roaming-hero {
    background-color: #EEECE5;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .travel-roaming-hero .content-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 64px;
        max-width: 1200px;
        height: 270px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .travel-roaming-hero .text-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-width: 0;
    }

    .travel-roaming-hero .hero-title {
        font-size: 48px;
        font-weight: 700;
        color: #002D72;
        margin: 0;
        line-height: 1.2;
    }

    .travel-roaming-hero .hero-description {
        font-size: 18px;
        line-height: 1.6;
        color: #333333;
        margin: 0;
    }

    .travel-roaming-hero .image-content {
        flex-shrink: 0;
        width: 600px;
        height: 270px;
        overflow: hidden;
    }

    .travel-roaming-hero .hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Travel Passes Section */
.travel-passes-section {
    background-color: #FFFFFF;
    padding: 64px 0;
}

.travel-passes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.travel-passes-header {
    margin-bottom: 32px;
}

.travel-passes-section .section-title {
    font-size: 32px;
    font-weight: 550;
    color: #111111;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.travel-passes-section .section-description {
    font-size: 16px;
    line-height: 1.5;
    color: #555555;
    margin: 0 0 32px 0;
    max-width: 800px;
}

.filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 64px;
    overflow-x: auto;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: -15px;
    scrollbar-width: none;
}

.filter-btn {
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 1000px;
    color: #111111;
    background-color: transparent;
    font-size: 12px;
    font-weight: 550;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    height: var(--breakpoint-sizing-general-x10, 40px);
    padding: 0 var(--breakpoint-spacing-general-x4, 24px);
    justify-content: center;
    align-items: center;
}

    .filter-btn:hover {
        background-color: #F5F5F5;
    }

    .filter-btn.active {
        background-color: #00549A;
        color: #FFFFFF;
        border-color: #00549A;
    }

/* Aeroplan Banner */
.aeroplan-banner {
    background: linear-gradient(210deg, #0070CE 15%, #00549A 51%, #003078 88%);
    border-radius: 16px;
    margin-bottom: 40px;
    overflow: hidden;
}

.aeroplan-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 0 32px 0 0;
}

.aeroplan-logo {
    flex-shrink: 0;
    width: 153px;
    height: 153px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aeroplan-logo-inner {
    width: 98px;
    height: 98px;
    border-radius: 12px;
    background-color: #FFFFFF;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

    .aeroplan-logo-inner img {
        padding-left: 24px;
        padding-top: 24px;
    }

.aeroplan-info {
    display: contents;
}

.aeroplan-text {
    flex: 1 1 auto;
    min-width: 0;
}

    .aeroplan-text p {
        color: #FFFFFF;
        font-family: 'satoshi-variable', Arial, Helvetica, sans-serif;
        font-size: 22px;
        font-weight: 550;
        line-height: 1.4;
        margin: 0;
    }

    .aeroplan-text strong {
        font-weight: 550;
    }

    .aeroplan-text sup {
        font-size: 0.65em;
        vertical-align: super;
    }

.aeroplan-link {
    flex-shrink: 0;
}

    .aeroplan-link a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 28px;
        border: 0;
        border-radius: 1000px;
        background-color: #FFFFFF;
        color: #003078;
        font-family: 'satoshi-variable', Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .aeroplan-link a:hover,
        .aeroplan-link a:focus {
            background-color: #F5F5F5;
            color: #003078;
            text-decoration: none;
        }

/* Travel Cards Grid */
.travel-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.travel-card {
    background-color: #F9F8F6;
    border: 1px solid #EEECE5;
    border-radius: 16px;
    padding: 48px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s ease;
}

    .travel-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .travel-card.hidden {
        display: none;
    }

.card-tag {
    position: absolute;
    top: -1px;
    right: 19px;
    background-color: #003078;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 550;
    padding: 4px 12px;
    min-height: 32px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 22px;
    font-weight: 550;
    color: #111111;
    margin: 0 0 8px 0;
    line-height: 30.8px;
}

.card-link {
    font-family: 'satoshi-variable', Arial, Helvetica, sans-serif;
    text-decoration: underline;
    color: #0064BB;
    line-height: 19.6px;
    font-size: 16px;
    font-weight: 450;
    width: fit-content;
    display: inline-block;
    margin-bottom: 32px;
    transition: text-decoration 0.2s ease;
}

    .card-link:hover {
        text-decoration: none;
    }

.card-note {
    font-size: 14px;
    color: #555555;
    margin-left: 8px;
    white-space: nowrap;
}

.card-price {
    color: #111111;
    margin: 0 0 15px 0;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
}

.price-currency {
    font-size: 18px;
    vertical-align: super;
    margin-right: 1px;
}

.price-number {
    font-size: 18px;
    font-weight: 550;
}

.price-period {
    font-size: 18px;
    font-weight: 550;
    color: #111111;
    margin-left: 1px;
    line-height: 1;
}

.card-price-note {
    font-size: 14px;
    color: #555555;
    margin: -10px 0 15px 0;
    line-height: 19.6px;
}

.aeroplan-points {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px 0;
    padding: 12px 10px;
    background-color: #EEECE5;
    border-radius: 4px;
}

.aeroplan-icon {
    height: 23px;
    width: 24px;
}

.aeroplan-points span {
    font-size: 14px;
    font-weight: 450;
    line-height: 19.6px;
    color: #006BC5;
}

.card-button {
    align-self: flex-start;
    padding: 10px 20px;
    background-color: transparent;
    color: #00549A;
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 550;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .card-button:hover {
        background-color: #00549A;
        color: #FFFFFF;
    }

@media (max-width: 1279px) {
    .travel-roaming-hero .content-wrapper {
        gap: 40px;
    }

    .travel-roaming-hero .image-content {
        width: 500px;
    }

    .travel-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1023px) {
    .travel-roaming-hero .content-wrapper {
        gap: 32px;
        height: auto;
        padding: 40px 20px;
    }

    .travel-roaming-hero .hero-title {
        font-size: 36px;
    }

    .travel-roaming-hero .hero-description {
        font-size: 16px;
    }

    .travel-roaming-hero .image-content {
        width: 400px;
        height: 216px;
    }

    .travel-passes-section {
        padding: 40px 0;
    }

        .travel-passes-section .section-title {
            font-size: 28px;
        }

    .aeroplan-content {
        flex-wrap: wrap;
        gap: 16px;
        padding: 0 20px 0 0;
    }

    .aeroplan-logo {
        width: 120px;
        height: 120px;
    }

    .aeroplan-logo-inner {
        width: 80px;
        height: 80px;
    }

    .aeroplan-link {
        margin-left: auto;
    }
}

.stripe-container {
    padding: 0 30px 30px 30px;
}

    .stripe-container .stripe__title h2 {
        text-align: center;
        margin-bottom: 20px;
    }

@media (min-width: 768px) {
    .stripe-container {
        padding: 0 30px 0 0;
    }

        .stripe-container .stripe__title h2 {
            text-align: left;
            margin-right: 50px;
            margin-bottom: 0px;
        }
}

@media (max-width: 1199px) {
    .travel-passes-container {
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .travel-roaming-hero .content-wrapper {
        flex-direction: column;
        gap: 24px;
        padding: 30px 15px;
        text-align: center;
    }

    .travel-roaming-hero .hero-title {
        font-size: 32px;
    }

    .travel-roaming-hero .hero-description {
        font-size: 16px;
    }

    .travel-roaming-hero .image-content {
        width: 100%;
        max-width: 400px;
        height: 216px;
    }

    .travel-passes-section {
        padding: 32px 0;
    }

    .travel-passes-section .section-title {
        font-size: 24px;
    }

    .travel-passes-section .section-description {
        font-size: 14px;
    }

    .aeroplan-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 0 24px 32px 24px;
    }

    .aeroplan-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .aeroplan-text p {
        text-align: center;
    }

    .aeroplan-link {
        margin-left: 0;
    }

        .aeroplan-link a {
            width: auto;
            min-height: 56px;
            padding: 16px 32px;
        }

    .travel-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Destination Modal - right side sheet (Bootstrap 4.1.3) */
.travel-passes-section .modal {
    padding-right: 0 !important;
}

.travel-passes-section .modal-backdrop {
    background-color: rgba(17, 17, 17, 0.4);
}

.destination-modal-dialog {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    margin: 0;
    width: 720px;
    max-width: 90vw;
    height: 100%;
    max-height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    pointer-events: auto;
}

.modal.fade .destination-modal-dialog {
    transform: translateX(100%);
}

.modal.show .destination-modal-dialog,
.modal.in .destination-modal-dialog {
    transform: translateX(0);
}

.destination-modal-dialog .modal-content,
.destination-modal-sheet {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0;
    border-radius: 0;
    background-color: #FFFFFF;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.modal .modal-dialog .modal-content .modal-header.destination-modal-header,
.destination-modal-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 24px 64px !important;
    border-bottom: 0 !important;
    background: linear-gradient(180deg, #FFFFFF 50%, rgba(255, 255, 255, 0) 100%) !important;
    backdrop-filter: blur(5px);
}

    /* Override Bootstrap modal close styles (do not use .close class) */
    .modal .modal-dialog .modal-content .modal-header.destination-modal-header button.destination-modal-close,
    .modal-dialog .modal-content .modal-header button.destination-modal-close,
    button.destination-modal-close {
        position: relative !important;
        float: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(17, 17, 17, 0.16) !important;
        border-radius: 1000px !important;
        background-color: #FFFFFF !important;
        background-image: none !important;
        color: #111111 !important;
        font-size: 28px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        opacity: 1 !important;
        text-shadow: none !important;
        box-shadow: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease;
    }

        .modal .modal-dialog .modal-content .modal-header.destination-modal-header button.destination-modal-close:hover,
        .modal .modal-dialog .modal-content .modal-header.destination-modal-header button.destination-modal-close:focus,
        .modal-dialog .modal-content .modal-header button.destination-modal-close:hover,
        .modal-dialog .modal-content .modal-header button.destination-modal-close:focus,
        button.destination-modal-close:hover,
        button.destination-modal-close:focus {
            background-color: #F5F5F5 !important;
            color: #111111 !important;
            opacity: 1 !important;
            outline: none !important;
            box-shadow: none !important;
            text-decoration: none !important;
            border: 1px solid rgba(17, 17, 17, 0.16) !important;
        }

        .modal .modal-dialog .modal-content .modal-header.destination-modal-header button.destination-modal-close span,
        button.destination-modal-close span {
            display: block !important;
            position: static !important;
            width: auto !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            font-size: 28px !important;
            font-weight: 400 !important;
            line-height: 1 !important;
            color: inherit !important;
        }

.destination-modal-content,
.destination-modal-dialog .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0 64px 48px 64px;
}

.destination-modal-title {
    font-family: 'satoshi-variable', Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: 550;
    color: #111111;
    line-height: 1.2;
    margin: 0 0 48px 0;
}

.destination-letter-section {
    margin-bottom: 30px;
}

.destination-letter-heading {
    font-family: 'satoshi-variable', Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 550;
    color: #003078;
    line-height: 1.4;
    margin: 0 0 4px 0;
}

.destination-list {
    list-style: disc;
    padding-left: 27px;
    margin: 0;
}

    .destination-list li {
        font-family: 'satoshi-variable', Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: 450;
        color: #555555;
        line-height: 1.4;
        margin-bottom: 8px;
    }

        .destination-list li:last-child {
            margin-bottom: 0;
        }

@media (max-width: 767px) {
    .destination-modal-dialog {
        width: 100%;
        max-width: 100%;
    }

    .destination-modal-header {
        padding: 20px 24px;
    }

    .destination-modal-content,
    .destination-modal-dialog .modal-body {
        padding: 0 24px 40px 24px;
    }

    .destination-modal-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
}

@media (max-width: 999px) {
    .filter-buttons {
        margin-bottom: 0;
    }
}

@media (max-width: 639px) {
    .filter-buttons {
        margin-top: -10px;
        margin-bottom: -15px;
    }
}

/* Travel Pass reusable modal */
.travel-pass-modal:before {
    display: initial !important;
}

/* FAQ accordion icon styling (matches prsshpwls_5g_FreeForm_8) */
.faq__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .faq__icon svg {
        width: 40px;
        height: 40px;
        display: block;
    }

    .faq__icon .icon-collapse {
        display: none;
    }

.collapse-trigger:not(.collapsed) .faq__icon .icon-collapse {
    display: block;
}

.collapse-trigger:not(.collapsed) .faq__icon .icon-expand {
    display: none;
}

.collapse-trigger {
    cursor: pointer;
}

.accordion-wrap.border-lightGray-bottom {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.accordion-inner {
    padding-top: 20px;
    padding-bottom: 5px;
}

.accordion-body {
    transition: max-height .28s ease;
}
