/* =============================================
   NEW PAGES CSS — Kodiak Aviation
   Do NOT edit existing stylesheets.
   All new-page styles go here.
   ============================================= */

/* ——— Utility additions ——— */
.mt_24 { margin-top: 24px; }

/* =============================================
   OUR CUSTOMERS PAGE
   ============================================= */

/* Hero — two-column split */
.customers_hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
.customers_hero_left {
    flex: 0 0 50%;
    max-width: 50%;
}
.customers_hero_right {
    flex: 0 0 calc(50% - 40px);
    max-width: calc(50% - 40px);
    padding-top: 8px;
}
.customers_hero_right h4 {
    margin-bottom: 24px;
}
.customers_hero_image {
    margin-top: 0;
}
.customers_hero_image img {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    aspect-ratio: 1249 / 479;
    object-fit: cover;
}

/* Customer cards grid */
.customers_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 40px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 30px 43.6px 0 rgba(155, 152, 204, 0.20);
    gap: 80px;
    justify-content: center;
}
.customer_card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: calc(33.33% - 53.33px);
    flex: 0 0 auto;
    position: relative;
}
.customer_card:last-child::after{
    display: none !important;
}
/* Vertical dividers between cards */
.customer_card:not(:nth-child(3n))::after {
    content: '';
    position: absolute;
    left: calc(100% + 40px);
    top: 0;
    height: 100%;
    background: #DCE4FF;
    border-right: 1px dashed #DCE4FF;
}

.customer_card ._image {
    width: 100%;
    max-width: 336px;
    margin-bottom: 24px;
}
.customer_card ._image img {
    aspect-ratio: 336 / 320;
    border-radius: 16px;
}
.customer_card_content {
    margin-bottom: 24px;
    max-width: 336px;
}
.customer_card_content.page_content h2 {
    max-width: 280px;
    margin: 0  auto;
}

/* CTA button inside card */
.customer_card .stlybtn {
    margin-top: auto;
}

/* CTA section adjustments for Our Customers */
._customers_cta {
    position: relative;
    overflow: hidden;
}
._customers_cta .ready-content {
    position: relative;
    z-index: 1;
}
.site_content.h4_sub h4,
.site_content.h4_sub {
    color: #524F84;
    font-size: 16px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: 0;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    margin-bottom: 16px;
}

/* ——— Responsive — Our Customers ——— */
@media (max-width: 1199px) {
    .customers_hero {
        gap: 32px;
    }
    .customer_card {
        padding: 32px 24px;
    }
}

@media (max-width: 991px) {
    .customers_hero {
        flex-direction: column;
        gap: 24px;
    }
    .customers_hero_left,
    .customers_hero_right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .customers_grid{
        gap: 60px;
    }
    .customers_grid {
        max-width: calc(50% - 30px);
    }
    /* Adjust dividers for 2-col layout */
    .customer_card:not(:nth-child(3n))::after {
        display: none;
    }
    .customer_card:not(:nth-child(2n))::after {
        content: '';
        position: absolute;
        left: calc(100% + 30px);
        top: 0;
        height: 100%;
        background: #DCE4FF;
        border-right: 1px dashed #DCE4FF;
    }
}

@media (max-width: 767px) {
    .customers_grid {
        grid-template-columns: 1fr;
    }
    .customer_card::after {
        display: none !important;
    }
    .customer_card:nth-child(n+3) {
        border-top: none;
    }
    .customer_card:nth-child(n+2) {
        border-top: 1px solid #DCE4FF;
    }
    .customer_card {
        padding: 32px 0;
    }
    .customer_card ._image {
        max-width: 100%;
    }
    .customer_card_content {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    ._customers_cta .wth-815 {
        max-width: 100%;
    }
}


/* =============================================
   CUSTOMER TYPE PAGES (shared template)
   ============================================= */

/* Hero — split layout */
.ct_hero {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.ct_hero_left {
    flex: 0 0 60%;
    max-width: 60%;
}
.ct_hero_right {
    flex: 0 0 calc(40% - 40px);
    max-width: calc(40% - 40px);
}
.ct_hero_location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.ct_hero_location img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.ct_hero_location span {
    color: #524F84;
    font-size: 16px;
    font-weight: 600;
}
.ct_hero_slider img {
    border-radius: 16px;
    max-width: 100%;
}

/* Full-width image+text block */
.ct_full_width_block {
    text-align: center;
}
.ct_full_width_block ._image {
    margin-bottom: 24px;
}
.ct_full_content {
    margin-top: 24px;
}

/* Cross-linking cards */
.ct_cross_links_wrapper {
    background: #FFF;
    border-radius: 16px;
    box-shadow: 0 30px 43.6px 0 rgba(155, 152, 204, 0.20);
    padding: 40px;
}
.ct_cross_cards {
    display: flex;
    gap: 40px;
    justify-content: center;
}
.ct_cross_card {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.ct_cross_card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    height: 100%;
    border-right: 1px dashed #DCE4FF;
}
.ct_cross_card ._image {
    margin-bottom: 24px;
    max-width: 544px;
}
.ct_cross_card_body {
    margin-bottom: 24px;
}
.ct_cross_card_body h3 {
    margin-bottom: 0;
}
.ct_cross_card .stlybtn {
    margin-top: auto;
}
.ct_cross_bottom {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px dashed #DCE4FF;
}
.ct_cross_bottom .stlybtn {
    margin-top: 24px;
}

/* Quick Reference heading */
.ct_qr_heading {
    color: #302C7C;
    font-family: "LASOPE 1954";
    font-size: 32px;
    font-weight: 400;
    line-height: 38px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* FAQ Section */
.ct_faqs_grid {
    display: flex;
    gap: 80px;
}
.ct_faqs_title {
    flex: 0 0 380px;
    max-width: 380px;
}
.ct_faqs_list {
    flex: 1;
}
.ct_faq_item {
    border-bottom: 1px solid #DCE4FF;
    padding: 24px 0;
}
.ct_faq_item:first-child {
    padding-top: 0;
}
.ct_faq_question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    gap: 16px;
}
.ct_faq_question h4 {
    color: #302C7C;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0;
    text-transform: none;
    margin: 0;
    font-family: "Poppins", sans-serif;
}
.ct_faq_question i {
    color: #8A38F5;
    font-size: 14px;
    margin-top: 8px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.ct_faq_item.active .ct_faq_question i {
    transform: rotate(180deg);
}
.ct_faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.ct_faq_item.active .ct_faq_answer {
    max-height: 500px;
    padding-top: 16px;
}

/* Quote section */
.ct_quote_wrapper {
    background: #302C7C;
    border-radius: 16px;
    padding: 80px 120px;
}
.ct_quote_wrapper blockquote {
    color: #FFF;
    font-size: 16px;
    font-style: italic;
    line-height: 32px;
    margin: 0 0 24px;
    font-weight: 400;
}
.ct_quote_wrapper cite {
    color: #9B98CC;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ——— Responsive — Customer Type ——— */
@media (max-width: 1199px) {
    .ct_faqs_grid {
        gap: 48px;
    }
    .ct_faqs_title {
        flex: 0 0 300px;
        max-width: 300px;
    }
    .ct_quote_wrapper {
        padding: 60px 80px;
    }
}

@media (max-width: 991px) {
    .ct_hero {
        flex-direction: column;
        gap: 24px;
    }
    .ct_hero_left,
    .ct_hero_right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ct_cross_cards {
        flex-direction: column;
        gap: 32px;
    }
    .ct_cross_card:not(:last-child)::after {
        display: none;
    }
    .ct_faqs_grid {
        flex-direction: column;
        gap: 32px;
    }
    .ct_faqs_title {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .ct_quote_wrapper {
        padding: 48px 40px;
    }
}

@media (max-width: 767px) {
    .ct_cross_links_wrapper {
        padding: 24px;
    }
    .ct_quote_wrapper {
        padding: 32px 24px;
    }
}


/* =============================================
   AUTHOR PAGE
   ============================================= */

/* Hero — photo + bio */
.author_hero {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.author_photo {
    flex: 0 0 480px;
    max-width: 480px;
}
.author_photo img {
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 480 / 683;
    object-fit: cover;
}
.author_bio {
    flex: 1;
}
.author_bio h4 {
    margin-bottom: 8px;
}
.author_bio h1 {
    color: #302C7C;
    font-family: "LASOPE 1954";
    font-size: 64px;
    font-weight: 400;
    line-height: 76px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Articles grid */
.author_articles_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.author_article_card {
    display: flex;
    flex-direction: column;
}
.author_article_card ._image {
    margin-bottom: 16px;
}
.author_article_card .site_content {
    margin-bottom: 16px;
}
.author_article_card .site_content h4 {
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
    line-height: 28px;
    color: #302C7C;
}
.author_article_card .stlybtn.sm {
    font-size: 12px;
}
.author_article_card .stlybtn {
    margin-top: auto;
    align-self: flex-start;
}

/* ——— Responsive — Author Page ——— */
@media (max-width: 1199px) {
    .author_bio h1 {
        font-size: 52px;
        line-height: 62px;
    }
    .author_photo {
        flex: 0 0 380px;
        max-width: 380px;
    }
}

@media (max-width: 991px) {
    .author_hero {
        flex-direction: column;
        gap: 32px;
    }
    .author_photo {
        flex: 0 0 auto;
        max-width: 400px;
    }
    .author_articles_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .author_bio h1 {
        font-size: 44px;
        line-height: 54px;
    }
    .author_articles_grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
