/* i3 Solution Landing Pages */

/* Hero */

.corporate-hero:has(.solution-hero-cta) {
    padding: 64px 0 72px;
    background: linear-gradient(120deg, #0b1933, #193477);
}

.corporate-hero:has(.solution-hero-cta) h1 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.25;
    max-width: 1000px;
    margin: 18px 0 24px;
    overflow-wrap: anywhere;
}

.corporate-hero:has(.solution-hero-cta) .corporate-eyebrow {
    color: #72d4f5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.corporate-hero:has(.solution-hero-cta) p {
    max-width: 850px;
    font-size: 17px;
    line-height: 1.8;
    color: #dce7f4;
    margin-bottom: 14px;
}

.corporate-hero:has(.solution-hero-cta) h1 + p {
    color: #72d4f5;
    font-size: 21px;
    font-weight: 600;
}

.solution-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    margin-top: 20px;
    border-radius: 7px;
    background: #219bc7;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease;
}

.solution-hero-cta:hover {
    background: #167da5;
}

/* Sidebar */

.solution-sidebar {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    align-self: start;
}

.solution-sidebar h3 {
    padding: 20px 22px;
    margin: 0;
    background: #193477;
    color: #fff;
    font-size: 17px;
}

.solution-category {
    border-bottom: 1px solid #e2e8f0;
}

.solution-category summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px;
    background: #f5f8fc;
    color: #193477;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.solution-category summary::-webkit-details-marker {
    display: none;
}

.solution-category summary::after {
    content: '+';
    color: #219bc7;
    font-size: 20px;
}

.solution-category[open] summary::after {
    content: '-';
}

.solution-category[open] summary {
    background: #e8f2fa;
}

.solution-sidebar .solution-category a {
    display: block;
    padding: 13px 20px 13px 28px;
    background: #fff;
    font-size: 13px;
    line-height: 1.6;
}

.solution-sidebar .solution-category a:hover,
.solution-sidebar .solution-category a.active {
    background: #e8f4fb;
    color: #193477;
    box-shadow: inset 4px 0 #219bc7;
}

/* Main Content */

.solution-content {
    min-width: 0;
}

.solution-content-section {
    padding-bottom: 32px;
    margin-bottom: 36px;
    border-bottom: 1px solid #e2e8f0;
}

.solution-content .solution-content-section h2 {
    color: #102b55;
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.35;
    margin: 0 0 24px;
}

.solution-content-section h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #219bc7;
    border-radius: 3px;
    margin-top: 14px;
}

.solution-text {
    max-width: 850px;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* FAQ */

.solution-faq {
    display: grid;
    gap: 12px;
}

.solution-faq details {
    border: 1px solid #dce5ef;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.solution-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    color: #193477;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.solution-faq summary::-webkit-details-marker {
    display: none;
}

.solution-faq summary::after {
    content: '+';
    color: #219bc7;
    font-size: 20px;
}

.solution-faq details[open] summary::after {
    content: '-';
}

.solution-faq details[open] summary {
    background: #f2f7fc;
}

.solution-faq .solution-text {
    padding: 18px 20px;
    font-size: 15px;
}

/* Contact CTA */

.solution-contact-cta {
    background: linear-gradient(120deg, #102b55, #193477);
    border-radius: 14px;
    padding: 36px;
    margin-top: 40px;
}

.solution-content .solution-contact-cta h2 {
    color: #fff;
    font-size: 27px;
}

.solution-content .solution-contact-cta p {
    color: #dce7f4;
    font-size: 16px;
}

.solution-contact-cta a {
    display: inline-flex;
    background: #219bc7;
    color: #fff;
    padding: 13px 24px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 768px) {

    .corporate-hero:has(.solution-hero-cta) {
        padding: 36px 0 44px;
    }

    .corporate-hero:has(.solution-hero-cta) h1 {
        font-size: 30px;
    }

    .corporate-hero:has(.solution-hero-cta) p {
        font-size: 15px;
    }

    .corporate-hero:has(.solution-hero-cta) h1 + p {
        font-size: 18px;
    }

    .solution-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .solution-contact-cta {
        padding: 26px 22px;
    }

    .solution-content .solution-contact-cta h2 {
        font-size: 23px;
    }
}

/* Solution Layout Refinement V3 */

.corporate-layout:has(.solution-sidebar) {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 42px;
}

.solution-content .solution-content-section h2 {
    margin-bottom: 20px;
}

.solution-text {
    white-space: normal;
    line-height: 1.75;
    font-size: 16px;
}

.solution-category summary {
    padding: 14px 16px;
}

.solution-sidebar .solution-category a {
    padding: 11px 16px 11px 24px;
}

.solution-content-section {
    padding-bottom: 28px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .corporate-layout:has(.solution-sidebar) {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
