﻿/* Scoped presentation for Programming/Cold-Fusion pages. */
.coldfusion-page {
    background: #f3f6fa;
    color: #142235;
    font-family: 'Poppins', Arial, sans-serif;
}

.coldfusion-page * {
    box-sizing: border-box;
}

.cf-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.cf-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5, 13, 27, .94), rgba(15, 42, 62, .76)),
        url('/images/hero.jpg') center/cover no-repeat;
}

.cf-hero--article {
    min-height: 340px;
}

.cf-hero .cf-wrap {
    padding: 76px 0;
}

.cf-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #f3b33d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cf-hero h1,
.cf-panel h2,
.cf-section h2,
.cf-band h2,
.cf-cta h2,
.cf-article h2 {
    margin: 0;
    color: #071d36;
    font-weight: 800;
    line-height: 1.12;
}

.cf-hero h1 {
    max-width: 930px;
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .34);
}

.cf-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .42);
}

.cf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #b51f31;
    border: 1px solid #b51f31;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(181, 31, 49, .24);
}

.cf-button:hover {
    background: #941927;
    border-color: #941927;
    color: #fff !important;
    text-decoration: none;
}

.cf-button--alt {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .38);
    box-shadow: none;
}

.cf-main {
    padding: 72px 0;
}

.cf-intro,
.cf-band {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 24px;
    align-items: start;
}

.cf-panel,
.cf-section,
.cf-band,
.cf-related,
.cf-cta,
.cf-article {
    background: #fff;
    border: 1px solid #d6e0ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.cf-panel,
.cf-section,
.cf-related,
.cf-cta,
.cf-article {
    padding: 36px;
}

.cf-section,
.cf-band,
.cf-related,
.cf-cta {
    margin-top: 28px;
}

.cf-band {
    padding: 40px;
    background: linear-gradient(135deg, #102033, #24384d);
    color: #fff;
}

.cf-band h2,
.cf-band p,
.cf-cta h2,
.cf-cta p {
    color: #fff !important;
}

.cf-band p {
    color: rgba(255, 255, 255, .84) !important;
}

.cf-rule {
    display: block;
    width: 76px;
    height: 4px;
    margin-bottom: 26px;
    background: #b51f31;
    border-radius: 999px;
}

.cf-panel p,
.cf-section p,
.cf-related p,
.cf-article p,
.cf-panel li,
.cf-section li,
.cf-article li {
    color: #3e4c5d;
    font-size: 17px;
    line-height: 1.72;
}

.cf-panel p,
.cf-section p,
.cf-article p {
    margin: 18px 0 0;
}

.cf-panel h3,
.cf-card h3,
.cf-step h3,
.cf-article h3 {
    margin: 0 0 14px;
    color: #102033;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.cf-grid,
.cf-steps,
.cf-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.cf-card,
.cf-step,
.cf-faq {
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #dce6f1;
    border-left: 4px solid #b51f31;
    border-radius: 8px;
}

.cf-step span {
    display: inline-flex;
    margin-bottom: 16px;
    color: #b51f31;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.cf-proof {
    display: grid;
    gap: 12px;
}

.cf-proof div {
    padding: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
}

.cf-proof strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 20px;
}

.cf-proof span {
    color: rgba(255, 255, 255, .78);
    line-height: 1.5;
}

.cf-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-link-grid a,
.cf-article-nav a,
.cf-article-nav span {
    color: #145b8e;
    font-weight: 800;
    text-decoration: none;
}

.cf-link-grid a {
    display: block;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dce6f1;
    border-radius: 8px;
}

.cf-link-grid a:hover,
.cf-article-nav a:hover {
    color: #b51f31;
    text-decoration: none;
}

.cf-cta {
    background: #111827;
    color: #fff;
}

.cf-faq-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.cf-article-nav-wrap {
    padding: 26px 0 0;
}

.cf-article-nav-wrap--bottom {
    padding: 0 0 42px;
}

.cf-article-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cf-article-nav a,
.cf-article-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #dce6f1;
    border-radius: 6px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.cf-article-nav__all {
    background: #b51f31 !important;
    border-color: #b51f31 !important;
    color: #fff !important;
}

.coldfusion-page > section:not(.cf-hero):not(.cf-article-nav-wrap) {
    width: min(1120px, calc(100% - 40px));
    margin: 28px auto 72px;
    padding: 36px;
    background: #fff !important;
    border: 1px solid #d6e0ec;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}

.coldfusion-page .Content {
    max-width: 920px;
    margin: 0 auto;
    text-align: left;
}

.coldfusion-page .Content img {
    max-width: 190px;
    height: auto;
    margin: 0 0 18px 24px;
}

.coldfusion-page .Content h1,
.coldfusion-page .Content h2 {
    color: #071d36;
    font-weight: 800;
    line-height: 1.18;
}

.coldfusion-page .Content h1 {
    margin-top: 0;
    font-size: 34px;
}

.coldfusion-page .Content h2 {
    font-size: 24px;
}

.coldfusion-page .Content h3,
.coldfusion-page .Content h4 {
    color: #102033;
    font-weight: 800;
}

.coldfusion-page .Content p,
.coldfusion-page .Content li {
    color: #3e4c5d;
    font-size: 17px;
    line-height: 1.72;
}

.coldfusion-page .Content a {
    color: #145b8e;
    font-weight: 800;
}

.coldfusion-page .Content blockquote {
    margin: 14px 0 22px;
    padding: 18px 22px;
    background: #f8fafc;
    border-left: 4px solid #b51f31;
}

@media (max-width: 980px) {
    .cf-intro,
    .cf-band,
    .cf-grid,
    .cf-steps,
    .cf-link-grid,
    .cf-article-nav {
        grid-template-columns: 1fr;
    }

    .cf-wrap,
    .coldfusion-page > section:not(.cf-hero):not(.cf-article-nav-wrap) {
        width: min(100% - 28px, 1120px);
    }
}

@media (max-width: 640px) {
    .cf-hero {
        min-height: auto;
    }

    .cf-hero .cf-wrap,
    .cf-main {
        padding: 44px 0;
    }

    .cf-panel,
    .cf-section,
    .cf-band,
    .cf-related,
    .cf-cta,
    .cf-article,
    .coldfusion-page > section:not(.cf-hero):not(.cf-article-nav-wrap) {
        padding: 24px;
    }

    .cf-hero h1 {
        font-size: 38px;
    }

    .cf-hero p {
        font-size: 18px;
    }

    .coldfusion-page .Content img {
        float: none !important;
        display: block;
        margin: 0 auto 18px;
    }
}


