/* =========================================================
   Shared base for the four solution page redesigns (staging) — prefix sv-
   digital-command-centre-v2, eligible-politician-v2, war-room-v2, train-to-hire-v2.
   Each page adds its own sections in its own file (dc-, ep-, wr-, th-).
   Builds on css/home-test2.css for tokens, buttons, header and footer.
   ========================================================= */

.sv-sec { position: relative; padding: 110px 0; }
.sv-sec--alt { background: var(--k1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sv-sec--tight { padding: 80px 0; }

.sv-head { max-width: 880px; margin: 0 auto 56px; text-align: center; }
.sv-head--left { margin: 0 0 40px; text-align: left; }

.sv-h1 {
    margin: 0 0 22px;
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    line-height: .92;
    text-transform: uppercase;
}
.sv-h1 em, .sv-h2 em { font-style: normal; color: var(--y); }
.sv-h1 em.sv-block, .sv-h2 em.sv-block { display: block; }

.sv-h2 {
    margin: 0 0 20px;
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    line-height: .95;
    text-transform: uppercase;
}
.sv-h2 small { display: block; margin-bottom: 8px; font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--y); }

.sv-h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--w); }
.sv-lead { margin: 0 0 28px; max-width: 640px; color: var(--w2); font-size: 1.08rem; line-height: 1.75; }
.sv-head .sv-lead { margin-left: auto; margin-right: auto; }
.sv-muted { margin: 0 0 16px; color: var(--w2); line-height: 1.75; }
.sv-sub { margin: 0 0 14px; font-size: 1.15rem; font-weight: 600; color: var(--w); }

.sv-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sv-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sv-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

.sv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.sv-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.sv .pl-btn { cursor: pointer; }
.sv .pl-btn i { font-size: 1.1em; }

.sv-card {
    position: relative;
    padding: 30px 28px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--k2);
    transition: border-color .25s ease, transform .25s ease;
}
.sv-card:hover { border-color: rgba(255, 198, 0, .4); transform: translateY(-3px); }
.sv-card h4 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; color: var(--w); }
.sv-card p { margin: 0; color: var(--w2); font-size: 14.5px; line-height: 1.7; }

/* round icon in brand yellow */
.sv-ico {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--y);
    color: var(--k);
    font-size: 24px;
}

/* the site's outline icons are dark on transparent, so they sit on a white tile */
.sv-tile {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(255, 198, 0, .22);
}
.sv-tile img { width: 44px; height: 44px; object-fit: contain; }

/* tick list */
.sv-ticks { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 12px; }
.sv-ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--w2); line-height: 1.6; }
.sv-ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; flex: 0 0 24px; display: grid; place-items: center; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--y); color: var(--k); font-size: 15px; }
.sv-ticks strong { color: var(--w); }

/* cream card for photos with dark lettering on a transparent background */
.sv-cream {
    padding: 28px 28px 0;
    border-radius: 18px;
    border-bottom: 6px solid var(--y);
    background: radial-gradient(ellipse 80% 70% at 50% 100%, #fff3c4, transparent 70%), #fbf8ef;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
}
.sv-cream img { width: 100%; }

/* closing yellow band */
.sv-band { padding: 100px 0; background: var(--y); color: var(--k); }
.sv-band .sv-h2 { color: var(--k); }
.sv-band .sv-h2 em { color: #b4110f; }
.sv-band p { color: #2a2100; }
.sv-btn-dark { background: var(--k); color: var(--y); box-shadow: 0 6px 0 #000; }
.sv-btn-dark:hover { color: #fff; transform: translateY(-2px); }
.sv-btn-outline { border: 2px solid var(--k); color: var(--k); }
.sv-btn-outline:hover { background: var(--k); color: var(--y); }

@media (max-width: 1100px) {
    .sv-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .sv-grid2 { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .sv-grid3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
    .sv-sec { padding: 80px 0; }
    .sv-band { padding: 80px 0; }
    .sv-grid4 { grid-template-columns: minmax(0, 1fr); }
    .sv-card { padding: 26px 22px; }
}
