/* =========================================================
   PREVENT TODAY, PROTECT TOMORROW
   ========================================================= */

.prevent-problems-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(13, 110, 253, 0.035), transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(13, 110, 253, 0.025), transparent 25%),
        #ffffff;
}


/* =========================================================
   DECORATIVE DOTS
   ========================================================= */

.prevent-problems-section::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 14px;
    width: 90px;
    height: 90px;
    opacity: 0.25;
    pointer-events: none;
    background-image:
        radial-gradient(circle,
            #7eaef8 2px,
            transparent 2.5px);
    background-size: 18px 18px;
}


/* =========================================================
   HEADING
   ========================================================= */

.prevent-problems-head {
    position: relative;
    z-index: 2;
    max-width: 970px;
}

.prevent-problems-kicker {
    color: #ff4e0b;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
}

.prevent-kicker-line {
    position: relative;
    width: 33px;
    height: 2px;
    flex-shrink: 0;
    background: #ff4e0b;
}

.prevent-kicker-line::before,
.prevent-kicker-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ff4e0b;
    transform: translateY(-50%);
}

.prevent-kicker-line::before {
    left: 0;
}

.prevent-kicker-line::after {
    right: 0;
}

.prevent-problems-head h2 {
    margin: 0;
    color: #071333;
    font-size: 44px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.prevent-problems-head h2 span {
    color: #ff5a00;
}


/* Dynamic formatted description */

.prevent-head-description {
    max-width: 900px;
    margin: 0 auto;
}

.prevent-head-description p {
    margin: 0;
    color: #485574;
    font-size: 17px;
    line-height: 1.55;
}


/* =========================================================
   COLUMN HEADS
   ========================================================= */

.prevent-problems-columns-head {
    position: relative;
    z-index: 2;
    margin-top: 28px;
}

.prevent-column-head {
    position: relative;
    min-height: 68px;
    padding: 5px 35px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.prevent-column-head-icon {
    width: 54px;
    min-width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 27px;
}

.prevent-column-head h3 {
    margin: 0 0 3px;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.prevent-column-description,
.prevent-column-description p {
    margin: 0;
    color: #071333;
    font-size: 13px;
    line-height: 1.3;
}


/* Risk */

.prevent-column-risk .prevent-column-head-icon,
.prevent-column-risk h3 {
    color: #dd2915;
}


/* Prevention */

.prevent-column-prevention .prevent-column-head-icon,
.prevent-column-prevention h3 {
    color: #075be8;
}


/* Outcome */

.prevent-column-outcome .prevent-column-head-icon,
.prevent-column-outcome h3 {
    color: #168735;
}


/* Connector */

.prevent-column-line {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 165px;
    height: 1px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #cad3df;
    transform: translateY(-50%);
}

.prevent-column-line i {
    position: relative;
    margin-right: -2px;
    color: #071333;
    font-size: 12px;
}

.prevent-column-prevention .prevent-column-line i {
    color: #168735;
}


/* =========================================================
   COMPARISON ROWS
   ========================================================= */

.prevent-comparison-row {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    overflow: hidden;
    border: 1px solid #e2e7ed;
    border-radius: 11px;
    background:
        linear-gradient(90deg,
            rgba(255, 244, 240, 0.75) 0%,
            rgba(255, 255, 255, 0.9) 34%,
            rgba(245, 248, 255, 0.9) 65%,
            rgba(243, 251, 245, 0.8) 100%);
    box-shadow: 0 7px 20px rgba(26, 52, 88, 0.025);
}

.prevent-comparison-cell {
    position: relative;
    min-height: 86px;
    height: 100%;
    padding: 14px 25px;
}

.prevent-cell-content {
    width: 100%;
    min-width: 0;
    height: 100%;
}

.prevent-cell-content>div {
    min-width: 0;
}


/* =========================================================
   CELL ICONS
   ========================================================= */

.prevent-cell-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    font-size: 25px;
}

.prevent-cell-icon i {
    line-height: 1;
}

.prevent-risk-cell .prevent-cell-icon {
    color: #df2c15;
    background: linear-gradient(145deg, #ffe6e0, #fff0ed);
}

.prevent-prevention-cell .prevent-cell-icon {
    color: #075be8;
    background: linear-gradient(145deg, #eaf1ff, #f2f6ff);
}

.prevent-outcome-cell .prevent-cell-icon {
    color: #168b38;
    background: linear-gradient(145deg, #e8f6e9, #f1fbf2);
}


/* =========================================================
   CELL TEXT
   ========================================================= */

.prevent-comparison-cell h3 {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

.prevent-cell-description,
.prevent-cell-description p {
    max-width: 290px;
    margin: 0;
    color: #071333;
    font-size: 11px;
    line-height: 1.5;
}

.prevent-risk-cell h3 {
    color: #de2f16;
}

.prevent-prevention-cell h3 {
    color: #0752ca;
}

.prevent-outcome-cell h3 {
    color: #177e30;
}


/* =========================================================
   ROW ARROWS
   ========================================================= */

.prevent-row-arrow {
    position: absolute;
    top: 50%;
    right: -4px;
    z-index: 5;
    width: 38px;
    color: #071333;
    font-size: 21px;
    transform: translateY(-50%);
}

.prevent-row-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 25px;
    border-top: 1px dashed currentColor;
    transform: translateY(-50%);
}

.prevent-row-arrow i {
    position: relative;
    z-index: 2;
    float: right;
    font-size: 13px;
}

.prevent-row-arrow-risk {
    color: #ff5c49;
}

.prevent-row-arrow-prevention {
    color: #2aa44a;
}


/* =========================================================
   BOTTOM DARK PANEL
   ========================================================= */

.prevent-bottom-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    color: #ffffff;
    background:
        radial-gradient(circle at 75% 40%,
            rgba(26, 100, 255, 0.14),
            transparent 30%),
        linear-gradient(135deg,
            #021838 0%,
            #07316a 48%,
            #031b3e 100%);
    box-shadow: 0 14px 34px rgba(3, 27, 67, 0.18);
}

.prevent-bottom-panel>.row {
    min-height: 210px;
}


/* =========================================================
   LEFT BOTTOM PANEL
   ========================================================= */

.prevent-bottom-main {
    width: 100%;
    min-width: 0;
    min-height: 210px;
    height: 100%;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    border-right: 1px solid rgba(173, 196, 228, 0.18);
}


/* =========================================================
   IMPORTANT FIX:
   DYNAMIC CTA IMAGE
   ========================================================= */

.prevent-bottom-main-image {
    width: 115px;
    min-width: 115px;
    max-width: 115px;
    height: 125px;
    flex: 0 0 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.prevent-bottom-main-image img {
    width: 100% !important;
    max-width: 115px !important;
    height: 100% !important;
    max-height: 125px !important;
    display: block;
    object-fit: contain;
    object-position: center;
}


/* Prevent Drupal media wrappers from expanding image */

.prevent-bottom-main-image>div,
.prevent-bottom-main-image .field,
.prevent-bottom-main-image .field__item,
.prevent-bottom-main-image picture {
    width: 100%;
    max-width: 115px;
    height: 100%;
    display: block;
}


/* =========================================================
   FALLBACK GENERATED SHIELD
   ========================================================= */

.prevent-drupal-shield {
    position: relative;
    width: 115px;
    min-width: 115px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prevent-shield-outer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1575e8;
    font-size: 105px;
    filter:
        drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 11px rgba(22, 116, 243, 0.35));
}

.prevent-shield-drupal {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 43px;
    transform: translateY(6px);
}


/* =========================================================
   BOTTOM MAIN TEXT
   ========================================================= */

.prevent-bottom-main-content {
    min-width: 0;
    flex: 1;
}

.prevent-bottom-main-content h2,
.prevent-bottom-main-content h3,
.prevent-bottom-main-content h4 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 900;
}

.prevent-bottom-main-content p {
    margin: 0;
    color: #d9e6f7 !important;
    font-size: 11px;
    line-height: 1.55;
}


/* =========================================================
   STATS
   ========================================================= */

.prevent-stats {
    width: 100%;
    min-width: 0;
    min-height: 210px;
    height: 100%;
    padding: 25px 20px;
    border-right: 1px solid rgba(173, 196, 228, 0.18);
}

.prevent-stats-label {
    display: block;
    margin-bottom: 18px;
    color: #aebbd0;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.prevent-stats .row {
    align-items: stretch;
}

.prevent-stat-item {
    width: 100%;
    min-width: 0;
    min-height: 125px;
    height: 100%;
    padding: 5px 15px;
    border-right: 1px solid rgba(170, 193, 225, 0.15);
}

.prevent-stats .col-md-4:last-child .prevent-stat-item {
    border-right: 0;
}

.prevent-stat-item .d-flex {
    min-width: 0;
}

.prevent-stat-icon {
    width: 35px;
    min-width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid;
    border-radius: 50%;
    font-size: 16px;
}

.prevent-stat-icon i {
    line-height: 1;
}

.stat-orange {
    color: #ff5500;
}

.stat-blue {
    color: #218cff;
}

.stat-green {
    color: #24bb58;
}

.prevent-stat-item strong {
    display: block;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
}

.prevent-stat-description,
.prevent-stat-description p {
    margin: 0;
    color: #dce6f5 !important;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   RIGHT CTA
   ========================================================= */

.prevent-bottom-cta {
    width: 100%;
    min-width: 0;
    min-height: 210px;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
}

.prevent-bottom-cta>div {
    width: 100%;
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 10px;
}

.prevent-bottom-cta-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 30px;
}

.prevent-bottom-cta-icon i {
    line-height: 1;
}

.prevent-bottom-cta>div>div:last-child {
    min-width: 0;
    flex: 1;
}

.prevent-bottom-cta h3 {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
    overflow-wrap: break-word;
}

.prevent-bottom-cta a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ff5a00;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
}

.prevent-bottom-cta a:hover {
    color: #ff7a13;
}


/* =========================================================
   1400px
   ========================================================= */

@media (max-width: 1399.98px) {

    .prevent-problems-kicker {
        font-size: 14px;
    }

    .prevent-problems-head h2 {
        font-size: 32px;
    }

    .prevent-head-description p {
        font-size: 15px;
    }

    .prevent-column-head {
        padding-right: 25px;
        padding-left: 25px;
    }

    .prevent-column-head h3 {
        font-size: 15px;
    }

    .prevent-column-line {
        width: 120px;
    }

    .prevent-comparison-cell {
        padding-right: 19px;
        padding-left: 19px;
    }

    .prevent-cell-icon {
        width: 50px;
        min-width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .prevent-comparison-cell h3 {
        font-size: 12px;
    }

    .prevent-cell-description,
    .prevent-cell-description p {
        font-size: 10px;
    }

    .prevent-bottom-main {
        padding-right: 18px;
        padding-left: 18px;
        gap: 15px;
    }

    .prevent-bottom-main-image,
    .prevent-drupal-shield {
        width: 95px;
        min-width: 95px;
        max-width: 95px;
        flex-basis: 95px;
    }

    .prevent-bottom-main-image img {
        max-width: 95px !important;
    }

    .prevent-bottom-main-content h2,
    .prevent-bottom-main-content h3,
    .prevent-bottom-main-content h4 {
        font-size: 16px;
    }

    .prevent-stat-item {
        padding-right: 10px;
        padding-left: 10px;
    }

    .prevent-stat-item strong {
        font-size: 24px;
    }

    .prevent-stat-description,
    .prevent-stat-description p {
        font-size: 9px;
    }

    .prevent-bottom-cta {
        padding: 17px 14px;
    }

    .prevent-bottom-cta>div {
        padding: 18px 14px;
    }

    .prevent-bottom-cta h3 {
        font-size: 12px;
    }
}


/* =========================================================
   1200px
   ========================================================= */

@media (max-width: 1199.98px) {

    .prevent-column-line {
        width: 80px;
    }


    /* Bottom becomes vertically stacked */

    .prevent-bottom-panel>.row {
        min-height: 0;
    }

    .prevent-bottom-main,
    .prevent-stats,
    .prevent-bottom-cta {
        min-height: 0;
    }

    .prevent-bottom-main,
    .prevent-stats {
        border-right: 0;
        border-bottom: 1px solid rgba(173, 196, 228, 0.18);
    }

    .prevent-bottom-main {
        justify-content: center;
        padding: 28px;
    }

    .prevent-bottom-main-image,
    .prevent-drupal-shield {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
        flex-basis: 120px;
    }

    .prevent-bottom-main-image img {
        max-width: 120px !important;
    }

    .prevent-stats {
        padding: 28px;
    }

    .prevent-stats-label {
        text-align: center;
    }

    .prevent-stat-item .d-flex {
        justify-content: center;
    }

    .prevent-stat-description,
    .prevent-stat-description p {
        text-align: center;
    }

    .prevent-bottom-cta {
        justify-content: center;
        padding: 25px;
    }

    .prevent-bottom-cta>div {
        max-width: 500px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .prevent-problems-columns-head {
        display: none;
    }

    .prevent-comparison-row {
        margin-bottom: 15px;
    }

    .prevent-comparison-cell {
        min-height: 100px;
        border-bottom: 1px solid #e7ebf1;
    }

    .prevent-comparison-row .col-lg-4:last-child .prevent-comparison-cell {
        border-bottom: 0;
    }


    /* Mobile labels */

    .prevent-risk-cell::before,
    .prevent-prevention-cell::before,
    .prevent-outcome-cell::before {
        display: block;
        margin-bottom: 8px;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 900;
        text-transform: uppercase;
    }

    .prevent-risk-cell::before {
        content: "The Risk";
        color: #dc2f16;
    }

    .prevent-prevention-cell::before {
        content: "Our Prevention";
        color: #075be8;
    }

    .prevent-outcome-cell::before {
        content: "The Outcome";
        color: #168535;
    }

    .prevent-row-arrow {
        top: auto;
        right: 50%;
        bottom: -14px;
        transform: translateX(50%) rotate(90deg);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .prevent-problems-kicker {
        gap: 9px !important;
        font-size: 12px;
    }

    .prevent-kicker-line {
        width: 25px;
    }

    .prevent-problems-head h2 {
        font-size: 22px;
    }

    .prevent-head-description p {
        font-size: 16px;
    }

    .prevent-comparison-cell {
        padding: 17px;
    }

    .prevent-cell-content {
        align-items: flex-start !important;
    }

    .prevent-cell-icon {
        width: 52px;
        min-width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .prevent-comparison-cell h3 {
        font-size: 15px;
    }

    .prevent-cell-description,
    .prevent-cell-description p {
        max-width: none;
        font-size: 13px;
    }


    /* Bottom */

    .prevent-bottom-main {
        flex-direction: column;
        padding: 25px 20px;
        text-align: center;
    }

    .prevent-bottom-main-image,
    .prevent-drupal-shield {
        width: 105px;
        min-width: 105px;
        max-width: 105px;
        height: 105px;
        flex-basis: 105px;
    }

    .prevent-bottom-main-image img {
        max-width: 105px !important;
        max-height: 105px !important;
    }

    .prevent-bottom-main-content h2,
    .prevent-bottom-main-content h3,
    .prevent-bottom-main-content h4 {
        font-size: 18px;
    }

    .prevent-bottom-main-content p {
        font-size: 13px;
    }

    .prevent-stats {
        padding: 25px 18px;
    }

    .prevent-stat-item {
        min-height: 115px;
        padding: 18px 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(170, 193, 225, 0.15);
    }

    .prevent-stats .col-md-4:last-child .prevent-stat-item {
        border-bottom: 0;
    }

    .prevent-stat-item strong {
        font-size: 28px;
    }

    .prevent-stat-description,
    .prevent-stat-description p {
        font-size: 11px;
    }

    .prevent-bottom-cta {
        padding: 22px 18px;
    }

    .prevent-bottom-cta>div {
        max-width: 100%;
    }

    .prevent-bottom-cta h3 {
        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .prevent-problems-kicker .prevent-kicker-line:last-child {
        display: none;
    }

    .prevent-cell-content {
        gap: 12px !important;
    }

    .prevent-cell-icon {
        width: 46px;
        min-width: 46px;
        height: 46px;
        border-radius: 9px;
        font-size: 20px;
    }

    .prevent-bottom-main {
        padding: 22px 15px;
    }

    .prevent-bottom-main-image,
    .prevent-drupal-shield {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
        height: 90px;
        flex-basis: 90px;
    }

    .prevent-bottom-main-image img {
        max-width: 90px !important;
        max-height: 90px !important;
    }

    .prevent-bottom-cta {
        padding: 18px 12px;
    }

    .prevent-bottom-cta>div {
        padding: 18px 15px;
    }

    .prevent-bottom-cta-icon {
        width: 34px;
        min-width: 34px;
        font-size: 26px;
    }
}