/* Preserve Twenty Twenty-Four fonts and colours; adapt its spacing and layout. */
body.patient-help-responsive {
    --wp--style--root--padding-left: clamp(20px, 4vw, 64px);
    --wp--style--root--padding-right: clamp(20px, 4vw, 64px);
}
.patient-help-responsive header.wp-block-template-part > .wp-block-group {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}
.patient-help-responsive header > .wp-block-group > .wp-block-group {
    gap: 16px 28px;
}
.patient-help-responsive header > .wp-block-group > .wp-block-group > .wp-block-group {
    min-width: 0;
}
.patient-help-responsive header .wp-block-site-logo { flex-shrink: 0; }
.patient-help-responsive header .wp-block-site-title { line-height: 1.35; }
.patient-help-responsive header nav.wp-block-navigation,
.patient-help-responsive header nav .wp-block-navigation__container { gap: 12px 18px; }
.patient-help-responsive header .ph-languages,
.patient-help-responsive header .ph-languages > ul {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-shrink: 0;
}
.patient-help-responsive header .lang-item {
    display: block;
    list-style: none !important;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
}
.patient-help-responsive header .lang-item::marker { content: ''; }
.patient-help-responsive header .lang-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 44px;
    border-radius: 4px;
}
.patient-help-responsive header .lang-item img { display: block; }
.patient-help-responsive header .lang-item a:hover { background: #e9e9e9; }
.patient-help-responsive header .lang-item a[aria-current] { box-shadow: inset 0 -2px currentColor; }
.patient-help-responsive header a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* Limit wider content changes to the four pages updated for Anna. */
.patient-help-content main {
    margin-top: 0;
    --wp--style--global--content-size: 1000px;
}
.patient-help-content main > .wp-block-group > .wp-block-spacer:first-child {
    height: clamp(20px, 3vw, 44px) !important;
}
.patient-help-content main > .wp-block-group > .wp-block-spacer:last-child {
    height: clamp(16px, 2vw, 28px) !important;
}
.patient-help-content main .wp-block-post-title {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.18;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.patient-help-content main .entry-content {
    display: flow-root;
    box-sizing: border-box;
    max-width: 1128px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: clamp(20px, 4vw, 64px);
}
.patient-help-content .entry-content > * { max-width: none; }
.patient-help-content .entry-content p,
.patient-help-content .entry-content li { line-height: 1.7; }
.patient-help-content .entry-content > h2 {
    clear: both;
    padding-top: clamp(20px, 3vw, 36px);
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
    line-height: 1.25;
    overflow-wrap: break-word;
    scroll-margin-top: 24px;
}
.patient-help-content .entry-content > .wp-block-image img { max-width: 100%; height: auto; }
.patient-help-content .entry-content a { overflow-wrap: anywhere; }
.patient-help-content .entry-content .wp-block-buttons { gap: 12px; flex-wrap: wrap; }
.patient-help-responsive footer .wp-block-navigation a { overflow-wrap: anywhere; }
@media (min-width: 900px) {
    .patient-help-content .entry-content > .wp-block-image:first-child {
        float: right;
        width: 260px;
        margin: 0 0 24px 36px !important;
    }
    .patient-help-content .entry-content > .wp-block-image:first-child img { width: 260px !important; }
    .patient-help-content .entry-content > ul.wp-block-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 40px;
        padding-left: 22px;
    }
}
@media (max-width: 1100px) {
    .patient-help-responsive header > .wp-block-group > .wp-block-group {
        flex-direction: column;
        align-items: stretch;
    }
    .patient-help-responsive header > .wp-block-group > .wp-block-group > .wp-block-group:last-child {
        justify-content: space-between;
        gap: 12px 20px;
    }
}
@media (max-width: 600px) {
    .patient-help-responsive header .wp-block-site-title { font-size: .95rem; }
    .patient-help-responsive header .wp-block-site-logo img { width: 48px; height: auto; }
    .patient-help-responsive header > .wp-block-group > .wp-block-group > .wp-block-group:last-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .patient-help-responsive header nav.wp-block-navigation {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 14px;
        font-size: .9rem;
    }
    .patient-help-responsive header nav .wp-block-navigation__container {
        flex-wrap: wrap !important;
        gap: 8px 14px;
    }
    .patient-help-content main .wp-block-post-title { font-size: clamp(1.75rem, 7.4vw, 2.2rem); }
    .patient-help-content .entry-content > .wp-block-image:first-child { margin-bottom: 24px; }
    .patient-help-content .entry-content > .wp-block-image:first-child img { width: 220px !important; }
}
