/* =========================================================
   GOVERNMENT SOLUTIONS PAGE ADDITIONS
   Add at the END of your pkb stylesheet.
   Also needs pkb-additions.css (.pkb-process)
   Page-specific classes use the "government-solution-" prefix;
   the rest are the shared pkb- classes from the main stylesheet.
========================================================= */


/* =====================================
   HERO VARIANT: IMAGE + ANGLED BOTTOM EDGE WITH GREEN STRIPE
===================================== */

.government-solution-hero {
    position: relative;
    background: #ffffff;
}

/* green stripe behind the angled edge */
.government-solution-hero-stripe {
    position: absolute;
    inset: 0;
    background: #80e387;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 70px));
}

.government-solution-hero-main {
    position: relative;
    z-index: 1;
    padding: 120px 0 190px;
    background: #071a43;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 calc(100% - 92px));
}

.government-solution-hero-bg { position: absolute; inset: 0; z-index: 0; }

.government-solution-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.government-solution-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,26,67,.94) 0%, rgba(7,26,67,.78) 55%, rgba(7,26,67,.4) 100%);
}

.government-solution-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

.government-solution-hero-content { max-width: 740px; }

.pkb-page .government-solution-hero .pkb-eyebrow {
    color: #80e387 !important;
    font-size: 14px;
    line-height: 1;
    padding-left: 18px;
    border-left: 4px solid #80e387;
    margin-bottom: 22px;
}

.pkb-page .government-solution-hero h1 {
    color: #ffffff !important;
    font-size: 50px;
    line-height: 1.15;
    margin: 0 0 25px;
}

.pkb-page .government-solution-hero p {
    color: rgba(255,255,255,.86) !important;
    font-size: 18px;
    line-height: 1.85;
    margin: 0 0 35px;
}

.government-solution-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.pkb-btn.government-solution-btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
}
.pkb-btn.government-solution-btn-outline:hover { background: #ffffff; color: #071a43 !important; }

@media (max-width: 991px) {
    .government-solution-hero-main { padding: 90px 0 150px; }
    .pkb-page .government-solution-hero h1 { font-size: 38px; }
}

@media (max-width: 600px) {
    .government-solution-hero-stripe { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 36px)); }
    .government-solution-hero-main {
        padding: 65px 0 105px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 0 calc(100% - 48px));
    }
    .government-solution-hero-container { padding: 0 20px; }
    .pkb-page .government-solution-hero h1 { font-size: 30px; }
    .pkb-page .government-solution-hero p { font-size: 16px; }
    .government-solution-buttons .pkb-btn { width: 100%; }
}


/* =====================================
   5-CARD GRID (3 on top, 2 wider below)
===================================== */

.government-solution-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.government-solution-grid > .pkb-card { grid-column: span 2; }
.government-solution-grid > .pkb-card:nth-child(n+4) { grid-column: span 3; }

@media (max-width: 991px) {
    .government-solution-grid { grid-template-columns: repeat(2, 1fr); }
    .government-solution-grid > .pkb-card,
    .government-solution-grid > .pkb-card:nth-child(n+4) { grid-column: auto; }
    .government-solution-grid > .pkb-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .government-solution-grid { grid-template-columns: 1fr; }
}

.government-solution-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #80e387;
    border-radius: 50%;
    margin-bottom: 22px;
}

.government-solution-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #071a43;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =====================================
   WHY INTRO TEXT
===================================== */

.pkb-why-intro .government-solution-why-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    margin: 0 0 30px;
}


/* =====================================
   OUTCOME FLOW (Challenge → ... → Impact)
===================================== */

.government-solution-flow {
    list-style: none;
    margin: 50px auto 0;
    padding: 0;
    max-width: 1040px;
    display: flex;
    align-items: stretch;
}

.government-solution-flow li {
    position: relative;
    flex: 1;
    padding: 22px 12px;
    text-align: center;
    background: #f5faf4;
    border: 1px solid #d8e3d9;
    border-left-width: 0;
    font-size: 18px;
    font-weight: 700;
    color: #071a43;
}

.government-solution-flow li:first-child { border-left-width: 1px; border-radius: 12px 0 0 12px; }
.government-solution-flow li:last-child { border-radius: 0 12px 12px 0; background: #80e387; border-color: #80e387; }

.government-solution-flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #80e387;
    border-radius: 50%;
    font-size: 15px;
}

.government-solution-center-btn { display: flex; justify-content: center; margin-top: 40px; }

@media (max-width: 767px) {
    .government-solution-flow { flex-direction: column; gap: 22px; margin-top: 40px; }
    .government-solution-flow li,
    .government-solution-flow li:first-child,
    .government-solution-flow li:last-child {
        border-width: 1px;
        border-radius: 12px;
        padding: 16px 12px;
    }
    .government-solution-flow li:not(:last-child)::after {
        content: "↓";
        right: auto;
        left: 50%;
        top: auto;
        bottom: -26px;
        transform: translateX(-50%);
    }
}


/* =====================================
   CHECK LIST INSIDE CARDS
===================================== */

.government-solution-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.government-solution-list li {
    position: relative;
    padding-left: 34px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.government-solution-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #80e387;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}


/* =====================================
   QUESTION CARDS (number + question only)
===================================== */

.government-solution-q h3 { margin: 0; }

@media (min-width: 601px) {
    .government-solution-q.pkb-card-num { display: flex; align-items: center; min-height: 118px; }
}


/* =====================================
   FAQ WITH SEVERAL PARAGRAPHS PER ANSWER
===================================== */

.government-solution-faq .pkb-faq-panel p:not(:last-child) { padding-bottom: 14px; }


/* =====================================
   FINAL CTA EXTRAS
===================================== */

.government-solution-path {
    display: block;
    margin: 0 0 35px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #80e387;
}

.government-solution-final-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

@media (max-width: 600px) {
    .government-solution-path { font-size: 17px; }
    .government-solution-final-buttons .pkb-btn { width: 100%; }
}