@import "./root.css";
@import "./app-subnav.css";
.dfe-manual-viewed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dfe-manual-viewed-list__item {
    margin-bottom: 0;
    padding-bottom: 2rem;
}

.dfe-manual-viewed-list--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.dfe-manual-viewed-list--inline .dfe-manual-viewed-list__item {
    display: block;
    width: 275px;
}

.dfe-manual-action-link {
    display: table
}

.dfe-manual-action-link::before {
    content: "";
    display: table-cell;
    width: 60px;
    height: 45px;
    background: url("/public/images/action-link-arrow--light.svg");
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: 45px auto
}

@media(max-width: 40.0525em) {
    .dfe-manual-action-link {
        max-width: 410px
    }
}

.dfe-manual-action-link__contents-wrapper {
    display: table-cell;
    vertical-align: middle
}

.dfe-manual-action-link__link-wrapper {
    display: table-cell;
    vertical-align: middle;
    font-family: "GDS Transport", arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 700;
    font-size: 1.1875rem;
    line-height: 1.3
}

@media print {
    .dfe-manual-action-link__link-wrapper {
        font-family: sans-serif
    }
}

@media print {
    .dfe-manual-action-link__link-wrapper {
        font-size: 14pt;
        line-height: 1.3
    }
}

.dfe-manual-action-link__link {
    color: inherit
}

.dfe-manual-action-link__link:focus {
    text-decoration: none;
    color: #0b0c0c
}

.dfe-manual-action-link__nowrap-text {
    white-space: nowrap
}

.dfe-manual-action-link--with-subtext {
    max-width: none
}

.dfe-manual-action-link--with-subtext .dfe-manual-action-link__link-wrapper,
.dfe-manual-action-link--with-subtext .dfe-manual-action-link__subtext-wrapper {
    display: block
}

@media(min-width: 40.0625em) {
    .dfe-manual-action-link--with-subtext .dfe-manual-action-link__link-wrapper,
    .dfe-manual-action-link--with-subtext .dfe-manual-action-link__subtext-wrapper {
        display: table-cell;
        vertical-align: middle
    }
}

.dfe-manual-action-link--mobile-subtext .dfe-manual-action-link__subtext-wrapper {
    display: block
}

.dfe-manual-action-link--mobile-subtext .dfe-manual-action-link__subtext {
    padding: 0
}

.dfe-manual-action-link--mobile-subtext .dfe-manual-action-link__subtext::before {
    display: none
}

.dfe-manual-action-link__subtext {
    display: block;
    color: inherit;
    font-family: "GDS Transport", arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    font-size: 1.1875rem;
    line-height: 1.3157894737
}

@media print {
    .dfe-manual-action-link__subtext {
        font-family: sans-serif
    }
}

@media print {
    .dfe-manual-action-link__subtext {
        font-size: 14pt;
        line-height: 1.15
    }
}

@media(min-width: 40.0625em) {
    .dfe-manual-action-link__subtext {
        position: relative;
        padding-left: 20px
    }
    .dfe-manual-action-link__subtext::before {
        content: "";
        position: absolute;
        top: 10%;
        left: 10px;
        width: 10px;
        height: 80%;
        border-left: solid 1px #0b0c0c
    }
}

.dfe-manual-action-link--simple::before {
    width: 30px;
    height: 30px;
    background: url(/public/images/action-link-arrow--simple.svg);
    background-repeat: no-repeat;
    background-size: 25px auto;
    background-position: 0 2px
}

.dfe-manual-action-link--simple-light::before {
    width: 30px;
    height: 30px;
    background: url(/public/images/action-link-arrow--simple-light.svg);
    background-repeat: no-repeat;
    background-size: 25px auto;
    background-position: 0 2px
}

.dfe-manual-action-link--dark-large-icon::before {
    background: url(/public/images/action-link-arrow--dark.svg);
    height: 34px;
    width: 40px;
    background-repeat: no-repeat;
    background-size: 32px auto;
    background-position: 0 2px
}

@media(max-width: 40.0525em) {
    .dfe-manual-action-link--dark-large-icon {
        margin-bottom: 10px
    }
}

.dfe-manual-action-link--light-icon::before {
    width: 36px;
    height: 28px;
    background: url(/public/images/action-link-arrow--light.svg);
    background-repeat: no-repeat;
    background-size: 28px auto;
    background-position: 0 0
}

@media(min-width: 40.0625em) {
    .dfe-manual-action-link--light-icon::before {
        width: 45px;
        height: 35px;
        background-size: 35px auto
    }
}

.dfe-manual-action-link--dark-icon {
    max-width: none
}

@media(max-width: 40.0525em) {
    .dfe-manual-action-link--dark-icon {
        margin-bottom: 10px
    }
}

.dfe-manual-action-link--dark-icon::before {
    height: 30px;
    width: 35px;
    background: url(/public/images/action-link-arrow--dark.svg);
    background-repeat: no-repeat;
    background-size: 25px auto;
    background-position: 0 2px
}

.dfe-manual-action-link--inverse {
    color: #fff
}

.dfe-manual-action-link--inverse .dfe-manual-action-link__subtext::before {
    border-color: #fff
}

@media print {
    .dfe-manual-action-link * {
        color: #000 !important
    }
    .dfe-manual-action-link::before {
        display: none
    }
}

.dfe-manual--section {
    background-color: var(--white);
}

.dfe-manual--section--standard {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.dfe-manual-feature-panel {
    background-color: var(--modern-bg-blue);
    padding: 2rem;
    border-radius: var(--modern-card-radius-small);
    box-shadow: 0 0 0 1px var(--modern-border-grey);
}

.dfe-manual-feature-panel h2 {
    margin-bottom: 1rem;
}

.dfe-manual-feature-panel .material-symbols-outlined {
    display: inline-flex;
    vertical-align: middle;
    font-size: 2rem;
}

.dfe-manual-cta-link {
    padding: 0.5rem 1rem;
    background-color: var(--modern-blue);
    color: #fff;
    text-decoration: none;
    border-radius: var(--modern-card-radius-small);
    font-size: 1rem;
    font-weight: 700;
}

.dfe-manual-cta-link:hover {
    background-color: var(--modern-blue-dark);
}

.dfe-manual-cta-link:focus {
    border-color: var(--modern-yellow);
    color: var(--modern-black);
    background-color: var(--modern-yellow);
    box-shadow: 0 2px 0 var(--modern-black);
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL'0, 'wght'400, 'GRAD'0, 'opsz'48;
    font-size: 2rem;
    font-weight: 400;
}


/* HOW MANY PEOPLE */

.how-many-modern {
    background: linear-gradient(120deg, #f4f8fb 60%, #e6f0fa 100%);
    padding: 3.5rem 0 3rem 0;
    border-radius: var(--modern-card-radius-small);
    box-shadow: 0 4px 32px rgba(37, 99, 235, 0.06);
}

.how-many-form-card {
    background: #fff;
    border-radius: var(--modern-card-radius-small);
    box-shadow: 0 2px 16px rgba(29, 112, 184, 0.08);
    padding: 2rem 2rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: box-shadow 0.2s;
}

.how-many-form-card:focus-within {
    box-shadow: 0 4px 32px rgba(29, 112, 184, 0.18);
}

.how-many-form-card .govuk-label {
    font-size: 1.15rem;
    font-weight: 600;
}

.how-many-form-card .govuk-input {
    height: 3.2rem;
    font-size: 1.15rem;
    border: 2px solid #b1b4b6;
    border-radius: var(--modern-card-radius-small);
    padding: 0 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.how-many-form-card .govuk-input:focus {
    border-color: var(--modern-blue, #1d70b8);
    box-shadow: 0 0 0 3px #b3d6f7;
    outline: none;
}

.how-many-btn {
    font-size: 1.15rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--modern-card-radius-small);
    background: var(--modern-blue, #1d70b8);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(29, 112, 184, 0.10);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.how-many-btn:hover,
.how-many-btn:focus {
    background: var(--modern-blue-dark, #175a93);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(29, 112, 184, 0.18);
}

@media (max-width: 800px) {
    .how-many-modern .govuk-grid-row {
        flex-direction: column;
    }
    .how-many-form-card {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
    }
}

.how-many-modern-section {
    background: linear-gradient(120deg, #f4f8fb 60%, #e6f0fa 100%);
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.how-many-modern-container {
    display: flex;
    gap: 3rem;
    max-width: 1100px;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.how-many-modern-left {
    flex: 1 1 350px;
    min-width: 300px;
}

.how-many-modern-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #1d70b8;
    line-height: 1.2;
}

.how-many-modern-lead {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 0;
    line-height: 1.6;
}

.how-many-modern-right {
    flex: 1 1 350px;
    min-width: 320px;
    display: flex;
    justify-content: center;
}

.how-many-modern-card {
    background: #fff;
    box-shadow: 0 8px 32px rgba(29, 112, 184, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 320px;
    max-width: 400px;
    width: 100%;
}

.how-many-modern-card .govuk-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d70b8;
    margin-bottom: 0.5rem;
}

.how-many-modern-card .govuk-input {
    font-size: 1.15rem;
    padding: 0.9rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #b1b4b6;
    margin-bottom: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.how-many-modern-card .govuk-input:focus {
    border-color: #1d70b8;
    box-shadow: 0 0 0 3px #b3d6f7;
    outline: none;
}

.how-many-modern-card .govuk-button {
    font-size: 1.15rem;
    padding: 0.9rem 2.2rem;
    border-radius: 0.5rem;
    background: #1d70b8;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(29, 112, 184, 0.10);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    border: none;
}

.how-many-modern-card .govuk-button:hover,
.how-many-modern-card .govuk-button:focus {
    background: #175a93;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(29, 112, 184, 0.18);
}

@media (max-width: 900px) {
    .how-many-modern-container {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .how-many-modern-right {
        justify-content: flex-start;
    }
}

:root {
    --primary: #1d70b8;
    --primary-dark: #175a93;
    --accent: #fff670;
    --bg-light: #f4f8fb;
    --card-radius: 1.25rem;
    --card-shadow: 0 8px 32px rgba(29, 112, 184, 0.10);
    --section-spacing: 5rem;
}

body {
    background: #fff;
}

.stem-hero {
    background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
    color: #fff;
    padding: var(--section-spacing) 0 3rem 0;
    text-align: left;
    position: relative;
}

.stem-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stem-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.stem-hero-title .accent {
    color: var(--accent);
    font-weight: 900;
}

.stem-hero-lead {
    font-size: 1.5rem;
    max-width: 700px;
    color: #fffde0;
}

.stem-metrics {
    background: #fff;
    padding: 3rem 0 2.5rem 0;
    border-bottom: 1px solid #e6e6e6;
}

.stem-metrics-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stem-metric {
    text-align: center;
    min-width: 180px;
}

.stem-metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stem-metric-label {
    font-size: 1.1rem;
    color: #444;
}

.stem-features {
    background: var(--accent);
    padding: var(--section-spacing) 0;
}

.stem-features-inner {
    display: flex;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.stem-feature-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 300px;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.stem-feature-link {
    color: #fff;
    background: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s;
}

.stem-feature-link:hover {
    background: var(--primary-dark);
}

.stem-training {
    background: #fff;
    padding: var(--section-spacing) 0;
}

.stem-training-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stem-training-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2.5rem;
    text-align: left;
}

.stem-training-cards {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stem-training-card {
    background: var(--bg-light);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.stem-training-link {
    color: #fff;
    background: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s;
}

.stem-training-link:hover {
    background: var(--primary-dark);
}

.stem-quote {
    background: var(--accent);
    padding: var(--section-spacing) 0 3rem 0;
    text-align: center;
}

.stem-quote-inner {
    max-width: 800px;
    margin: 0 auto;
}

.stem-quote blockquote {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.stem-quote-attribution {
    font-size: 1.1rem;
    color: #888;
}

.stem-cta {
    background: var(--primary);
    color: #fff;
    padding: 4rem 0 4rem 0;
    text-align: center;
}

.stem-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.stem-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.stem-cta-btn {
    color: #1d70b8;
    background: #ffe066;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}

.stem-cta-btn:hover {
    background: #fff;
    color: var(--primary-dark);
}

@media (max-width: 900px) {
    .stem-hero-title {
        font-size: 2.2rem;
    }
    .stem-hero-lead {
        font-size: 1.1rem;
    }
    .stem-metrics-row,
    .stem-features-inner,
    .stem-training-cards {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bold-hero {
    background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
    color: #fff;
    padding: 5rem 0 4rem 0;
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.5rem;
    max-width: 700px;
    color: #e6f0fa;
}

.bold-section {
    background: #fff;
    padding: 4rem 0;
}

.bold-section.alt-bg {
    background: var(--accent);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    color: var(--primary);
}

.popular-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.popular-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.1s;
    flex: 1 1 250px;
    min-width: 220px;
}

.popular-card:hover {
    box-shadow: 0 12px 40px rgba(29, 112, 184, 0.18);
    transform: translateY(-4px) scale(1.03);
    background: var(--accent);
}

.feature-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2rem 2rem 1.5rem 2rem;
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-link {
    color: #fff;
    background: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: background 0.2s;
}

.feature-link:hover {
    background: var(--primary-dark);
}

@media (max-width: 900px) {
    .popular-links,
    .feature-cards {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-lead {
        font-size: 1.1rem;
    }
}

.stem-hero-left {
    background: linear-gradient(90deg, #1d70b8 60%, #f4f8fb 100%);
    color: #fff;
    padding: 5rem 0 3rem 0;
}

.stem-hero-left-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stem-hero-left-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-align: left;
}

.stem-hero-left-lead {
    font-size: 1.4rem;
    max-width: 700px;
    color: #e6f0fa;
    text-align: left;
}

.stem-metrics-left {
    background: #fff;
    padding: 3rem 0 2.5rem 0;
    border-bottom: 1px solid #e6e6e6;
}

.stem-metrics-row-left {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.stem-metric-left {
    min-width: 180px;
    text-align: left;
}

.stem-metric-number-left {
    font-size: 2.3rem;
    font-weight: 900;
    color: #1d70b8;
    margin-bottom: 0.5rem;
}

.stem-metric-label-left {
    font-size: 1.1rem;
    color: #444;
}

.stem-features-left {
    background: #f4f8fb;
    padding: 5rem 0;
}

.stem-features-inner-left {
    display: flex;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 2rem;
}

.stem-feature-card-left {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(29, 112, 184, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 300px;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.stem-feature-link-left {
    color: #fff;
    background: #1d70b8;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s;
}

.stem-feature-link-left:hover {
    background: #175a93;
}

.stem-training-left {
    background: #fff;
    padding: 5rem 0;
}

.stem-training-inner-left {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stem-training-title-left {
    font-size: 2rem;
    font-weight: 800;
    color: #1d70b8;
    text-align: left;
    margin-bottom: 2.5rem;
}

.stem-training-cards-left {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.stem-training-card-left {
    background: #f4f8fb;
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px rgba(29, 112, 184, 0.10);
    padding: 2rem 2rem 1.5rem 2rem;
    flex: 1 1 300px;
    min-width: 240px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.stem-training-link-left {
    color: #fff;
    background: #1d70b8;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s;
}

.stem-training-link-left:hover {
    background: #175a93;
}

.stem-quote-left {
    background: #fff4e0;
    padding: 5rem 0 3rem 0;
    text-align: left;
}

.stem-quote-inner-left {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stem-quote-left blockquote {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.stem-quote-attribution-left {
    font-size: 1.1rem;
    color: #888;
}

.stem-cta-left {
    background: #1d70b8;
    color: #fff;
    padding: 4rem 0 4rem 0;
    text-align: left;
}

.stem-cta-inner-left {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stem-cta-left h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.stem-cta-btn-left {
    color: #1d70b8;
    background: #ffe066;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}

.stem-cta-btn-left:hover {
    background: #fff;
    color: #175a93;
}

@media (max-width: 900px) {
    .stem-hero-left-title,
    .stem-hero-left-lead,
    .stem-training-title-left {
        text-align: left;
    }
    .stem-metrics-row-left,
    .stem-features-inner-left,
    .stem-training-cards-left {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
}

.dfe-manual-section {
    padding: 3rem 0;
}

.dfe-manual-section.dfe-manual-section--header {
    padding: 1rem 0 3rem 0;
}

.dfe-manual-section.dfe-manual-section--header h1 {
    margin-bottom: 1rem;
}

.dfe-manual-section.dfe-manual-section--header.dfe-manual-section--header--with-breadcrumbs {
    padding: 0rem 0 3rem 0;
}

.dfe-manual-section.dfe-manual-section--header.dfe-manual-section--with-meta {
    padding-bottom: 0;
}

.dfe-manual-section-header--white {
    background-color: var(--modern-white);
}

.dfe-manual-section-header--bordered-bottom {
    border-bottom: 1px solid var(--modern-border-grey);
}

.dfe-manual-section-header--bordered--top {
    border-top: 1px solid var(--modern-border-grey);
}

.dfe-manual-section.dfe-manual-section--no-padding-top {
    padding-top: 0;
}

.dfe-manual-section .dfe-card .dfe-card-container p {
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .dfe-manual-section {
        padding-top: 1rem;
    }
    .dfe-manual-section.dfe-manual-section--header {
        padding: 1rem 0 1rem 0;
    }
}


/* Mobile nav toggle styles */

.dfe-vertical-nav__toggle {
    font-size: 1rem;
    border: none;
    border-radius: 0.25rem;
    background: var(--primary, #1d70b8);
    color: #fff;
    min-height: 44px;
    padding: 0.5rem 1.25rem 0.5rem 1.25rem;
    margin-bottom: 0;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.4em;
    box-shadow: none;
    transition: background 0.18s, color 0.18s;
    width: 100%;
}

.dfe-vertical-nav__toggle:hover,
.dfe-vertical-nav__toggle:focus {
    background: var(--primary-dark, #175a93);
    color: #fff;
    box-shadow: none;
    outline: none;
}

.dfe-vertical-nav__mobile-container--expanded .dfe-vertical-nav__toggle {
    border-radius: 0.25rem 0.25rem 0 0;
}

@media (max-width: 800px) {
    .dfe-vertical-nav__mobile-container--expanded .dfe-vertical-nav__section {
        border: none;
        border-radius: 0 0 0.25rem 0.25rem;
        margin-top: 0;
        padding-top: 0.5rem;
        background: #fff;
        box-shadow: none;
        transition: padding 0.22s cubic-bezier(.4, 0, .2, 1), background 0.22s cubic-bezier(.4, 0, .2, 1);
    }
}

.dfe-vertical-nav__mobile-container,
.dfe-vertical-nav__mobile-container--expanded {
    background: transparent;
    border: none;
    box-shadow: none;
    margin-bottom: 1.25rem;
    transition: none;
}

.dfe-vertical-nav__toggle .material-symbols-outlined {
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 0.4em;
    font-variation-settings: 'FILL'0, 'wght'400, 'GRAD'0, 'opsz'48;
}

@media (min-width: 801px) {
    #vertical-nav-list {
        display: block !important;
    }
}

.dfe-vertical-nav__chevron {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    border-bottom: 0;
    transition: transform 0.22s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    top: 0.1em;
}

.dfe-vertical-nav__chevron--up {
    transform: rotate(180deg);
}

.dfe-manual-section--meta {
    background-color: var(--modern-blue-light);
    padding: 1rem 0;
}

.dfe-manual-section--meta p {
    margin-bottom: 0;
}

.dfe-manual--cta-panel--modern {
    background: var(--primary, #1d70b8);
    color: #fff;
    border-radius: 0;
    padding: 2rem 2rem 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: none;
    text-align: left;
}

.dfe-manual--cta-panel--modern .govuk-heading-m {
    color: #fff;
    margin-top: 0;
}

.dfe-manual--cta-panel--modern .govuk-body {
    color: #fff;
}

.dfe-manual--cta-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.dfe-manual--cta-btn,
.dfe-manual--cta-btn-secondary {
    border-radius: 0;
    font-weight: 700;
    margin-top: 0;
}

.dfe-manual--cta-btn {
    background: #fff;
    color: var(--primary, #1d70b8) !important;
    border: none;
    box-shadow: none;
    transition: background 0.18s, color 0.18s;
}

.dfe-manual--cta-btn:hover,
.dfe-manual--cta-btn:focus {
    background: #e6f0fa;
    color: var(--primary-dark, #175a93) !important;
}

.dfe-manual--cta-btn-secondary {
    background: #fff;
    color: var(--primary, #1d70b8) !important;
    border: 2px solid #fff;
    box-shadow: none;
    transition: background 0.18s, color 0.18s;
}

.dfe-manual--cta-btn-secondary:hover,
.dfe-manual--cta-btn-secondary:focus {
    background: #e6f0fa;
    color: var(--primary-dark, #175a93) !important;
    border-color: #e6f0fa;
}

.dfe-manual--cta-panel--split {
    display: flex;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    margin: 2rem 0;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    min-height: 120px;
}

.dfe-manual--cta-panel__icon {
    background: var(--primary, #1d70b8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    min-width: 100px;
}

.dfe-manual--cta-panel__icon img,
.dfe-manual--cta-panel__icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.dfe-manual--cta-panel__content {
    flex: 1;
    padding: 2rem 2rem 1.5rem 2rem;
    color: #1d70b8;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dfe-manual--cta-panel__content .govuk-heading-m {
    color: var(--primary, #1d70b8);
    margin-top: 0;
}

.dfe-manual--cta-panel__content .govuk-body {
    color: #222;
}

.dfe-manual--cta-btn-group {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

@media (max-width: 700px) {
    .dfe-manual--cta-panel--split {
        flex-direction: column;
        min-height: 0;
    }
    .dfe-manual--cta-panel__icon {
        justify-content: flex-start;
        padding: 1.5rem 1.5rem 0.5rem 1.5rem;
        min-width: 0;
    }
    .dfe-manual--cta-panel__content {
        padding: 1.5rem;
    }
}

.dfe-manual--cta-panel--canvas {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 6px rgba(29, 112, 184, 0.04);
    min-height: 120px;
}

.dfe-manual--cta-panel__main {
    flex: 1;
    z-index: 1;
    min-width: 0;
}

.dfe-manual--cta-badge {
    display: inline-block;
    background: #e6f0fa;
    color: #1d70b8;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.2em 0.9em;
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    box-shadow: none;
    letter-spacing: 0.01em;
}

.dfe-manual--cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #1d70b8;
    line-height: 1.2;
}

.dfe-manual--cta-lead {
    font-size: 1.05rem;
    color: #222;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.dfe-manual--cta-desc {
    color: #444;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    line-height: 1.5;
}

.dfe-manual--cta-btn-group {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.dfe-manual--cta-panel__svg {
    position: relative;
    min-width: 120px;
    width: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.dfe-manual--cta-svg-icon {
    width: 48px;
    height: 48px;
    z-index: 2;
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    background: #fff;
    border-radius: 50%;
    padding: 0.3rem;
    box-shadow: 0 1px 4px rgba(29, 112, 184, 0.06);
}

.dfe-manual--cta-bg-svg {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.13;
    width: 120px;
    height: 120px;
}

@media (max-width: 900px) {
    .dfe-manual--cta-panel--canvas {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 0.7rem;
    }
    .dfe-manual--cta-panel__svg {
        min-width: 0;
        width: 100%;
        justify-content: center;
        margin-top: 1.2rem;
    }
    .dfe-manual--cta-svg-icon {
        right: 0.7rem;
        bottom: 0.7rem;
    }
    .dfe-manual--cta-bg-svg {
        width: 90px;
        height: 90px;
    }
}

.dfe-manual--cta-panel--canvas-demo {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 16px rgba(29, 112, 184, 0.06);
    min-height: 180px;
}

.dfe-manual--cta-panel__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
}

.dfe-manual--cta-panel__col {
    flex: 1;
    min-width: 0;
}

.dfe-manual--cta-badge {
    display: inline-block;
    background: #e6f0fa;
    color: #1d70b8;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.2em 0.9em;
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
}

.dfe-manual--cta-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #1d70b8;
    line-height: 1.2;
}

.dfe-manual--cta-lead {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.dfe-manual--cta-btn {
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.7rem 2rem;
    margin: 0;
}

.dfe-manual--cta-bg-svg-demo {
    position: absolute;
    right: -38px;
    bottom: -40px;
    z-index: 0;
    rotate: 180deg;
    opacity: 0.18;
    pointer-events: none;
}

@media (max-width: 900px) {
    .dfe-manual--cta-panel--canvas-demo {
        padding: 1.5rem 0.7rem;
        border-radius: 1rem;
        min-height: 0;
    }
    .dfe-manual--cta-panel__row {
        flex-direction: column;
        align-items: flex-start;
    }
    .dfe-manual--cta-bg-svg-demo {
        width: 120px;
        height: 120px;
        right: -20px;
        bottom: -20px;
    }
}

.dfe-manual--cta-panel--obvious {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #1d70b8;
    color: #fff;
    border-radius: 0;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    overflow: hidden;
    border: none;
    min-height: 180px;
}

.dfe-manual--cta-panel--obvious::before {
    content: none;
}

.dfe-manual--cta-panel__main {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.dfe-manual--cta-badge {
    display: inline-block;
    background: #fff670;
    color: #1d70b8;
    font-weight: 700;
    border-radius: 0;
    padding: 0.3em 1em;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.dfe-manual--cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.dfe-manual--cta-lead {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.dfe-manual--cta-btn {
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 0;
    padding: 1rem 2.5rem;
    background: #ffe066;
    color: #1d70b8 !important;
    border: none;
    box-shadow: none;
    transition: background 0.18s, color 0.18s;
}

.dfe-manual--cta-btn:hover,
.dfe-manual--cta-btn:focus {
    background: #fff;
    color: #003078 !important;
    text-decoration: underline;
}

.dfe-manual--cta-bg-svg-obvious {
    position: absolute;
    right: -38px;
    bottom: -40px;
    z-index: 0;
    opacity: 0.18;
    pointer-events: none;
}

@media (max-width: 900px) {
    .dfe-manual--cta-panel--obvious {
        padding: 1.5rem 0.7rem;
        min-height: 0;
    }
    .dfe-manual--cta-panel__main {
        max-width: 100%;
    }
    .dfe-manual--cta-bg-svg-obvious {
        width: 120px;
        height: 120px;
        right: -20px;
        bottom: -20px;
    }
}

.dfe-manual--cta-btn-white {
    background: #fff !important;
    color: #1d70b8 !important;
    border: none;
    border-radius: 0 !important;
    font-weight: 700;
    box-shadow: none;
    transition: background 0.18s, color 0.18s;
}

.dfe-manual--cta-btn-white:hover,
.dfe-manual--cta-btn-white:focus {
    background: #e6f0fa !important;
    color: #003078 !important;
    text-decoration: underline;
}

.dfe-manual--cta-btn-white:focus {
    background: #e6f0fa !important;
    color: #003078 !important;
    text-decoration: underline;
    outline: 4px solid #fd0;
    outline-offset: 2px;
    box-shadow: none;
}


/* Compact table */


/* all cells to be 1rem */

.govuk-table--compact .govuk-table__header,
.govuk-table--compact .govuk-table__cell {
    font-size: 1rem
}

.govuk-table--compact .govuk-table__header,
.govuk-table--compact .govuk-table__cell {
    padding: 0.5rem 0.75rem;
}


/* Modern Calculator and Stats Styling */

.dfe-manual-calculator {
    margin-bottom: 0;
}

.dfe-manual-calculator__header {
    margin-bottom: 24px;
}

.dfe-manual-calculator__header h3 {
    color: #0b0c0c;
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
}

.dfe-manual-calculator__header p {
    color: #0b0c0c;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0;
}

.dfe-manual-calculator__form {
    margin-bottom: 24px;
}

.dfe-manual-calculator__input-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.dfe-manual-calculator__input {
    flex: 1;
    min-width: 200px;
    font-size: 18px;
    padding: 8px 12px;
    border: 2px solid #0b0c0c;
    border-radius: 0;
    transition: border-color 0.2s ease;
    height: 44px;
    box-sizing: border-box;
}

.dfe-manual-calculator__input:focus {
    border-color: #0b0c0c;
    box-shadow: 0 0 0 3px #ffdd00;
    outline: none;
}

.dfe-manual-calculator__input::placeholder {
    color: #6b7280;
}

.dfe-manual-calculator__button {
    background-color: #00703c;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    height: 44px;
    min-width: 120px;
    box-sizing: border-box;
}

.dfe-manual-calculator__button:hover {
    background-color: #005a30;
}

.dfe-manual-calculator__button:focus {
    outline: 3px solid #ffdd00;
    outline-offset: 0;
}

.dfe-manual-calculator__example {
    background: #f8f8f8;
    border-left: 4px solid #00703c;
    padding: 16px 20px;
    border-radius: 0;
    margin-top: 16px;
}

.dfe-manual-calculator__example p {
    margin: 0;
    color: #0b0c0c;
    font-style: normal;
    font-size: 16px;
}


/* Modern Stats Section */

.dfe-manual-stats--modern .dfe-manual-stats__item {
    background: #ffffff;
    border-radius: 0;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #b1b4b6;
    transition: box-shadow 0.2s ease;
}

.dfe-manual-stats--modern .dfe-manual-stats__item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dfe-manual-stats--modern .dfe-manual-stats__item--highlight {
    background: #f8f8f8;
    color: #0b0c0c;
    border: 2px solid #00703c;
}

.dfe-manual-stats--modern .dfe-manual-stats__item--highlight .dfe-manual-stats__number {
    color: #00703c;
}

.dfe-manual-stats--modern .dfe-manual-stats__item--highlight .dfe-manual-stats__label {
    color: #0b0c0c;
}

.dfe-manual-stats--modern .dfe-manual-stats__item--highlight .dfe-manual-stats__source {
    color: #6b7280;
}

.dfe-manual-stats__item {
    text-align: left;
}

.dfe-manual-stats__item:last-child {
    margin-bottom: 0;
}

.dfe-manual-stats__number {
    font-size: 2rem;
    font-weight: 700;
    color: #00703c;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.dfe-manual-stats__label {
    font-size: 16px;
    color: #0b0c0c;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 400;
}

.dfe-manual-stats__source {
    font-size: 14px;
    color: #6b7280;
    font-style: normal;
}


/* Enhanced Calculator Card */

.dfe-manual-card--calculator {
    background: white;
    border: 1px solid #d8dde0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.dfe-manual-card--calculator:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dfe-manual-card--calculator .dfe-manual-card__content {
    padding: 24px;
}

.dfe-manual-card--impact {
    border-left: none;
}


/* Responsive adjustments */

@media (max-width: 48.0525em) {
    .dfe-manual-calculator__input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .dfe-manual-calculator__input {
        min-width: auto;
    }
    .dfe-manual-calculator__button {
        min-width: auto;
        width: 100%;
    }
}


/* Content Cards */

.dfe-manual-card {
    background: white;
    border: 1px solid #d8dde0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    height: 100%;
}

.dfe-manual-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dfe-manual-card--feature {
    padding: 0;
}

.dfe-manual-card--feature:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dfe-manual-card--highlight {
    background: #f8f8f8;
    border: 2px solid #00703c;
}

.dfe-manual-card__content {
    padding: 1.5rem;
}

.dfe-manual-card__content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #0b0c0c;
    font-weight: 600;
}

.dfe-manual-card__content p {
    color: #505a5f;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.dfe-manual-card__content ul {
    margin-bottom: 0;
}

.dfe-manual-card__content a {
    color: #1d70b8;
    text-decoration: none;
    font-weight: 600;
}

.dfe-manual-card__content a:hover {
    text-decoration: underline;
}

.dfe-manual-card--calculator {
    background: white;
    border: 1px solid #d8dde0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.dfe-manual-card--impact {
    border-left: none;
}


/* Sticky Element */

.sticky {
    position: sticky;
    top: 20px;
    z-index: 10;
}

@media (max-width: 767px) {
    .sticky {
        position: relative;
    }
}

.screenshot {
    width: 100%;
    padding: 15px;
    border: 1px solid #d8dde0;
    border-radius: 2px;
}

code {
    background-color: #f8f8f8;
    padding: 2px 4px;
    border-radius: 2px;
    color: #cc0000;
}

.dfe-panel-do,
.dfe-panel-dont {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dfe-panel-do img,
.dfe-panel-dont img {
    max-width: 100%;
    height: auto;
}

.dfe-panel-do {
    background-color: rgba(74, 195, 128, 0.2);
    padding: 20px;
    border-top: 8px solid rgba(0, 130, 59, 1);
}

.dfe-panel-dont {
    background-color: rgba(207, 93, 104, 0.2);
    padding: 20px;
    border-top: 8px solid rgba(177, 14, 30, 1);
}

.dfe-chevron-card__list {
    list-style: none;
    margin: 0 -15px;
    padding: 0
}

.dfe-chevron-card {
    border-top: 1px solid #b1b4b6;
    margin: 0 15px;
    padding: 5px 0 20px 0
}

.dfe-chevron-card:first-child {
    border-top: none;
    padding-top: 0
}

.dfe-chevron-card:first-child .chevron-card__wrapper {
    padding-top: 0
}

.dfe-chevron-card__wrapper {
    padding: 19px 0 4px;
    position: relative
}

@media (max-width: 40.0525em) {
    .dfe-chevron-card__wrapper .govuk-heading-s,
    .dfe-chevron-card__wrapper .dfe-chevron-card__description {
        font-size: 19px;
    }
}

.dfe-chevron-card__description {
    margin: 0 30px 0 0
}

.dfe-chevron-card__link::after {
    bottom: 0;
    content: "";
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0
}

.dfe-chevron-card__link::before {
    border-right: 4px solid #347ca9;
    border-top: 4px solid #347ca9;
    content: "";
    display: block;
    height: 12px;
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: 5px;
    -webkit-transform: translateY(0) rotate(45deg) scale(1);
    -ms-transform: translateY(0) rotate(45deg) scale(1);
    transform: translateY(0) rotate(45deg) scale(1);
    width: 12px
}

.dfe-chevron-card__link:hover::before {
    border-color: #003078
}

.dfe-chevron-card__link:focus::before {
    border-color: #0b0c0c
}

.grid-5-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin: 60px 0
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.grid-item img {
    max-width: 100%;
    display: block;
    margin-bottom: 10px
}

.grid-item p {
    margin-top: 0;
    text-align: center
}

@media (max-width: 1200px) {
    .grid-5-container {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media (max-width: 900px) {
    .grid-5-container {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 600px) {
    .grid-5-container {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 400px) {
    .grid-5-container {
        grid-template-columns: 1fr
    }
}