.em-volunteer-directory,
.em-volunteer-single {
    background: #fff;
    color: #202020;
}

.em-volunteer-directory .em-volunteer-breadcrumbs,
.em-volunteer-single .em-volunteer-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 0 20px;
    overflow: hidden;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #747474;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.em-volunteer-breadcrumbs a {
    flex: 0 0 auto;
    color: #168487;
    font-weight: 600;
    text-decoration: none;
}

.em-volunteer-breadcrumbs a:hover,
.em-volunteer-breadcrumbs a:focus {
    color: #123f41;
    text-decoration: underline;
}

.em-volunteer-breadcrumbs__separator {
    flex: 0 0 auto;
    color: #c5c5c5;
    font-size: 17px;
    line-height: 1;
}

.em-volunteer-breadcrumbs__current {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: #555;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Directory hero */

.em-volunteer-header {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 360px;
    align-items: center;
    overflow: hidden;
    background-color: #173f40;
    background-image: var(--em-volunteer-hero-image, linear-gradient(135deg, #163e40 0%, #286a68 100%));
    background-position: center;
    background-size: cover;
    color: #fff;
}

.em-volunteer-header.has-fallback {
    background-image:
        radial-gradient(circle at 82% 28%, rgba(255, 255, 255, .16), transparent 28%),
        linear-gradient(135deg, #14393b 0%, #2b706e 100%);
}

.em-volunteer-header__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 25, 27, .86) 0%, rgba(8, 31, 33, .72) 48%, rgba(8, 31, 33, .34) 100%);
}

.em-volunteer-header__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
    padding-top: 64px;
    padding-bottom: 58px;
}

.em-volunteer-header__copy {
    max-width: 820px;
}

.em-volunteer-eyebrow,
.em-volunteer-section-heading__eyebrow {
    margin: 0 0 11px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.em-volunteer-eyebrow {
    color: #a8eeea;
}

.em-volunteer-header h1,
.em-volunteer-single__header h1 {
    margin: 0;
    font-size: clamp(38px, 4.8vw, 58px);
    line-height: 1.06;
    letter-spacing: -.03em;
}

.em-volunteer-header__copy > p:not(.em-volunteer-eyebrow) {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 17px;
    line-height: 1.7;
}

.em-volunteer-submit,
.em-volunteer-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 23px;
    border-radius: 9px;
    background: #183c3e;
    color: #fff !important;
    font-weight: 750;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.em-volunteer-header .em-volunteer-submit {
    border: 1px solid rgba(255, 255, 255, .65);
    background: #fff;
    color: #173d3e !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.em-volunteer-submit:hover,
.em-volunteer-primary-action:hover {
    transform: translateY(-2px);
    background: #102e30;
}

.em-volunteer-header .em-volunteer-submit:hover {
    background: #f2f8f7;
}

.em-volunteer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

.em-volunteer-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    backdrop-filter: blur(5px);
}

.em-volunteer-stats strong {
    color: #fff;
    font-size: 16px;
}

/* Warm filter band */

.em-volunteer-filter-band {
    padding: 30px 0;
    border-bottom: 1px solid #ede7dd;
    background: #f7f3ed;
}

.em-volunteer-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(150px, 1fr));
    gap: 14px;
    padding: 21px;
    border: 1px solid #e4ddd2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(52, 44, 31, .06);
}

.em-volunteer-filter label {
    display: block;
    margin: 0 0 7px;
    color: #444;
    font-size: 12px;
    font-weight: 750;
}

.em-volunteer-filter input,
.em-volunteer-filter select {
    width: 100%;
    height: 47px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #d8d2c9 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.em-volunteer-filter input:focus,
.em-volunteer-filter select:focus {
    border-color: #397a78 !important;
    box-shadow: 0 0 0 3px rgba(24, 60, 62, .09) !important;
}

.em-volunteer-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 3px;
}

.em-volunteer-filter-actions button {
    min-height: 47px;
    padding: 0 23px;
    border: 0;
    border-radius: 8px;
    background: #183c3e;
    color: #fff;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.em-volunteer-filter-actions button:hover {
    transform: translateY(-1px);
    background: #102e30;
}

.em-volunteer-filter-actions a {
    color: #505050;
    text-decoration: underline;
}

/* Directory content */

.em-volunteer-main {
    padding-top: 48px;
    padding-bottom: 84px;
}

.em-volunteer-featured {
    margin-bottom: 58px;
    padding: 30px;
    border: 1px solid #dfeae8;
    border-radius: 17px;
    background: linear-gradient(135deg, #f2f8f7 0%, #fbfdfd 100%);
}

.em-volunteer-section-heading,
.em-volunteer-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.em-volunteer-section-heading {
    margin-bottom: 23px;
}

.em-volunteer-section-heading__eyebrow {
    color: #277b78;
}

.em-volunteer-section-heading h2,
.em-volunteer-results-heading h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.2;
}

.em-volunteer-results-heading {
    margin: 0 0 24px;
}

.em-volunteer-results-heading p {
    margin: 7px 0 0;
    color: #777;
}

.em-volunteer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 25px;
}

.em-volunteer-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .07);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.em-volunteer-card:hover {
    transform: translateY(-6px);
    border-color: #c7d9d7;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .13);
}

.em-volunteer-card--featured {
    border-color: #bdd6d3;
    box-shadow: 0 10px 28px rgba(24, 60, 62, .11);
}

.em-volunteer-card__image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf2f1;
}

.em-volunteer-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.em-volunteer-card:hover .em-volunteer-card__image img {
    transform: scale(1.055);
}

.em-volunteer-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, .65), transparent 26%),
        linear-gradient(135deg, #dce9e7, #f2f6f5);
}

.em-volunteer-card__featured-label {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(24, 60, 62, .92);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.em-volunteer-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 19px 20px 22px;
}

.em-volunteer-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.em-volunteer-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.2;
}

.em-volunteer-badge--type {
    background: #e9f4f3;
    color: #246764;
}

.em-volunteer-badge--type-marine-conservation {
    background: #e6f3fa;
    color: #176488;
}

.em-volunteer-badge--type-wildlife-and-animal-welfare {
    background: #e9f4e9;
    color: #3e713a;
}

.em-volunteer-badge--type-environment-and-restoration {
    background: #e2f4ef;
    color: #237563;
}

.em-volunteer-badge--type-community-development {
    background: #fff0df;
    color: #985a17;
}

.em-volunteer-badge--type-education-and-mentoring {
    background: #f1eafb;
    color: #7045a2;
}

.em-volunteer-badge--type-health-and-wellbeing {
    background: #fde9ee;
    color: #9a3e58;
}

.em-volunteer-badge--type-culture-and-heritage {
    background: #f7eddc;
    color: #7e5a20;
}

.em-volunteer-badge--fee-free {
    background: #e5f5e8;
    color: #2e733c;
}

.em-volunteer-badge--fee-fee_required {
    background: #fff1db;
    color: #8a5913;
}

.em-volunteer-badge--fee-donation {
    background: #f1e9fb;
    color: #71429e;
}

.em-volunteer-badge--fee-varies {
    background: #efefef;
    color: #565656;
}

.em-volunteer-badge--commitment {
    background: #e9eff8;
    color: #3d5e88;
}

.em-volunteer-badge--commitment-ongoing {
    background: #e7eefb;
    color: #315f9e;
}

.em-volunteer-card h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.34;
}

.em-volunteer-card h3 a {
    color: #202020;
    text-decoration: none;
}

.em-volunteer-card h3 a:hover {
    color: #183c3e;
}

.em-volunteer-card__org,
.em-volunteer-card__location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 10px 0 0;
    font-size: 13.5px;
    line-height: 1.45;
}

.em-volunteer-card__org {
    color: #3d4544;
    font-weight: 700;
}

.em-volunteer-card__location {
    margin-top: 6px;
    color: #6a6a6a;
}

.em-volunteer-card__org svg,
.em-volunteer-card__location svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    fill: currentColor;
}

.em-volunteer-card__excerpt {
    margin: 14px 0 17px;
    color: #5f5f5f;
    font-size: 14px;
    line-height: 1.65;
}

.em-volunteer-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #183c3e;
    font-weight: 800;
    text-decoration: none;
}

.em-volunteer-card__link span {
    transition: transform .2s ease;
}

.em-volunteer-card__link:hover span {
    transform: translateX(3px);
}

.em-volunteer-pagination {
    margin-top: 50px;
}

.em-volunteer-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
}

.em-volunteer-pagination li {
    list-style: none;
}

.em-volunteer-pagination a,
.em-volunteer-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 7px;
    color: #222;
    text-decoration: none;
}

.em-volunteer-pagination .current,
.em-volunteer-pagination a:hover {
    border-color: #183c3e;
    background: #183c3e;
    color: #fff;
}

.em-volunteer-empty {
    padding: 42px;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    background: #fafafa;
    text-align: center;
}

.em-volunteer-empty h2 {
    margin-top: 0;
}

/* Safety panel */

.em-volunteer-safety {
    display: grid;
    grid-template-columns: auto minmax(0, 1.45fr) minmax(260px, .85fr);
    align-items: center;
    gap: 22px;
    margin-top: 62px;
    padding: 29px 31px;
    border: 1px solid #cfe4df;
    border-radius: 14px;
    background: #edf7f4;
}

.em-volunteer-safety__icon {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d6ede7;
    color: #276c63;
}

.em-volunteer-safety__icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.em-volunteer-safety h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.em-volunteer-safety p {
    margin: 0;
    color: #4f5d5a;
    line-height: 1.7;
}

.em-volunteer-safety__disclaimer {
    padding-left: 22px;
    border-left: 1px solid #bfd9d3;
    font-size: 13.5px;
}

/* Single opportunity */

.em-volunteer-single__header {
    padding: 34px 0 36px;
    border-bottom: 1px solid #e7e7e7;
}

.em-volunteer-single__intro {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 15px;
    color: #626262;
}

.em-volunteer-single__intro span + span::before {
    content: '•';
    margin-right: 18px;
    color: #aaa;
}

.em-volunteer-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr);
    gap: 46px;
    padding-top: 42px;
    padding-bottom: 80px;
}

.em-volunteer-single__image {
    margin-bottom: 26px;
    overflow: hidden;
    border-radius: 12px;
}

.em-volunteer-single__image img {
    display: block;
    width: 100%;
    height: auto;
}

.em-volunteer-single__summary {
    margin: 0 0 24px;
    color: #454545;
    font-size: 20px;
    line-height: 1.65;
}

.em-volunteer-single__body {
    font-size: 16px;
    line-height: 1.8;
}

.em-volunteer-single__body h2 {
    margin-top: 34px;
    font-size: 27px;
}

.em-volunteer-single__practical {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.em-volunteer-single__practical section {
    padding: 22px;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
}

.em-volunteer-single__practical h2 {
    margin: 0 0 9px;
    font-size: 20px;
}

.em-volunteer-single__practical p {
    margin: 0;
    line-height: 1.7;
}

.em-volunteer-single__sidebar {
    position: sticky;
    top: 24px;
    align-self: start;
}

.em-volunteer-factbox,
.em-volunteer-disclaimer {
    padding: 24px;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    background: #fff;
}

.em-volunteer-factbox h2,
.em-volunteer-disclaimer h2 {
    margin: 0 0 18px;
    font-size: 22px;
}

.em-volunteer-factbox dl {
    margin: 0;
}

.em-volunteer-factbox dl > div {
    padding: 13px 0;
    border-top: 1px solid #ececec;
}

.em-volunteer-factbox dl > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.em-volunteer-factbox dt {
    margin-bottom: 4px;
    color: #777;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.em-volunteer-factbox dd {
    margin: 0;
    line-height: 1.55;
}

.em-volunteer-primary-action {
    width: 100%;
    margin-top: 18px;
}

.em-volunteer-contact-line {
    margin: 16px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.em-volunteer-secondary-link {
    display: inline-block;
    margin-top: 12px;
    color: #183c3e;
    font-weight: 750;
}

.em-volunteer-disclaimer {
    margin-top: 18px;
    background: #f4f6f5;
}

.em-volunteer-disclaimer p {
    margin: 0 0 11px;
    color: #555;
    font-size: 14px;
    line-height: 1.65;
}

.em-volunteer-disclaimer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    .em-volunteer-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .em-volunteer-filter--search {
        grid-column: span 2;
    }

    .em-volunteer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .em-volunteer-header {
        min-height: 390px;
    }

    .em-volunteer-header__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .em-volunteer-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .em-volunteer-filter--search {
        grid-column: 1 / -1;
    }

    .em-volunteer-single__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .em-volunteer-single__sidebar {
        position: static;
    }

    .em-volunteer-safety {
        grid-template-columns: auto 1fr;
    }

    .em-volunteer-safety__disclaimer {
        grid-column: 1 / -1;
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid #bfd9d3;
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .em-volunteer-directory .em-volunteer-breadcrumbs,
    .em-volunteer-single .em-volunteer-breadcrumbs {
        gap: 7px;
        padding: 14px 0 16px;
        font-size: 13px;
    }

    .em-volunteer-breadcrumbs__separator {
        font-size: 15px;
    }

    .em-volunteer-header {
        min-height: 0;
    }

    .em-volunteer-header__overlay {
        background: rgba(7, 30, 32, .77);
    }

    .em-volunteer-header__inner {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .em-volunteer-header h1 {
        font-size: 36px;
    }

    .em-volunteer-stats {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .em-volunteer-stats span {
        justify-content: center;
    }

    .em-volunteer-filter-band {
        padding: 22px 0;
    }

    .em-volunteer-main {
        padding-top: 34px;
    }

    .em-volunteer-filters {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .em-volunteer-filter--search {
        grid-column: auto;
    }

    .em-volunteer-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .em-volunteer-filter-actions button {
        width: 100%;
    }

    .em-volunteer-grid {
        grid-template-columns: 1fr;
    }

    .em-volunteer-featured {
        margin-right: -8px;
        margin-left: -8px;
        padding: 22px 16px;
    }

    .em-volunteer-results-heading {
        margin-top: 32px;
    }

    .em-volunteer-safety {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .em-volunteer-safety__disclaimer {
        grid-column: auto;
    }

    .em-volunteer-single__practical {
        grid-template-columns: 1fr;
    }

    .em-volunteer-single__intro {
        display: block;
    }

    .em-volunteer-single__intro span {
        display: block;
        margin-top: 5px;
    }

    .em-volunteer-single__intro span + span::before {
        content: none;
    }
}

/* Public organisation contact card */

.em-volunteer-contact-card,
.em-volunteer-contact-pending {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #cfe2de;
    border-radius: 12px;
    background: #f3faf8;
}

.em-volunteer-contact-card__heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.em-volunteer-contact-card__icon {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d9eee9;
    color: #286b63;
}

.em-volunteer-contact-card__icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.em-volunteer-contact-card h2,
.em-volunteer-contact-pending h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.em-volunteer-contact-card__heading p {
    margin: 5px 0 0;
    color: #53625f;
    font-size: 14px;
    line-height: 1.5;
}

.em-volunteer-contact-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid #dceae7;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.em-volunteer-contact-person span {
    color: #74817f;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.em-volunteer-contact-person strong {
    color: #273330;
    font-size: 14px;
}

.em-volunteer-contact-card .em-volunteer-primary-action {
    width: 100%;
    margin: 0;
    text-align: center;
}

.em-volunteer-contact-list {
    display: grid;
    gap: 8px;
    margin-top: 13px;
}

.em-volunteer-contact-list a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 11px 13px;
    border: 1px solid #d8e7e3;
    border-radius: 8px;
    background: #fff;
    color: #183c3e;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.em-volunteer-contact-list a:hover,
.em-volunteer-contact-list a:focus {
    transform: translateY(-1px);
    border-color: #91bbb3;
    box-shadow: 0 5px 14px rgba(23, 62, 61, .08);
    text-decoration: none;
}

.em-volunteer-contact-list small {
    overflow-wrap: anywhere;
    color: #66716f;
    font-size: 12px;
    font-weight: 500;
}

.em-volunteer-contact-verified {
    margin: 15px 0 0;
    padding-top: 13px;
    border-top: 1px solid #d8e7e3;
    color: #64726f;
    font-size: 12px;
    line-height: 1.55;
}

.em-volunteer-contact-pending {
    border-color: #e3dfcf;
    background: #fbf8ef;
}

.em-volunteer-contact-pending p {
    margin: 9px 0 0;
    color: #696354;
    font-size: 14px;
    line-height: 1.65;
}

/* 1.3.1: Prevent floated article images from colliding with practical details */
.em-volunteer-single__body {
    display: flow-root;
    min-width: 0;
}

.em-volunteer-single__body::after {
    content: "";
    display: table;
    clear: both;
}

.em-volunteer-single__practical {
    clear: both;
    width: 100%;
}

.em-volunteer-single__practical section {
    min-width: 0;
}

.em-volunteer-single__practical h2,
.em-volunteer-single__practical p {
    overflow-wrap: break-word;
    word-break: normal;
}

.em-volunteer-single__body img,
.em-volunteer-single__body figure {
    max-width: 100%;
}

@media (max-width: 700px) {
    .em-volunteer-single__body .alignleft,
    .em-volunteer-single__body .alignright,
    .em-volunteer-single__body figure.alignleft,
    .em-volunteer-single__body figure.alignright {
        float: none !important;
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
    }
}


/* 1.4.0: clean single-opportunity content and practical information */
.em-volunteer-single__body .alignleft,
.em-volunteer-single__body .alignright,
.em-volunteer-single__body figure.alignleft,
.em-volunteer-single__body figure.alignright {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 28px auto !important;
}

.em-volunteer-single__body .alignleft img,
.em-volunteer-single__body .alignright img,
.em-volunteer-single__body figure.alignleft img,
.em-volunteer-single__body figure.alignright img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.em-volunteer-single__body figcaption {
    margin-top: 8px;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.em-volunteer-practical-section {
    padding-bottom: 84px;
}

.em-volunteer-practical-panel {
    padding: 32px;
    border: 1px solid #e5ded2;
    border-radius: 16px;
    background: #f7f3ed;
}

.em-volunteer-practical-heading {
    max-width: 680px;
    margin-bottom: 22px;
}

.em-volunteer-practical-heading h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.em-volunteer-practical-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.em-volunteer-practical-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    min-width: 0;
    padding: 23px;
    border: 1px solid #e2ddd5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(64, 51, 34, .05);
}

.em-volunteer-practical-card__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e0efeb;
    color: #276b63;
}

.em-volunteer-practical-card__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.em-volunteer-practical-card h3 {
    margin: 1px 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.em-volunteer-practical-card p {
    margin: 0;
    color: #525252;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 800px) {
    .em-volunteer-practical-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .em-volunteer-practical-panel {
        padding: 23px 17px;
    }

    .em-volunteer-practical-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* 1.5.0: refined single-opportunity layout */
.em-volunteer-single {
    background: #fff;
}

.em-volunteer-featured-wrap {
    padding-top: 6px;
}

.em-volunteer-featured {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(320px, 42vw, 500px);
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #e9eeec;
    box-shadow: 0 18px 50px rgba(18, 43, 42, .12);
}

.em-volunteer-featured::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -22px;
    background-image: var(--em-volunteer-featured-bg, none);
    background-position: center;
    background-size: cover;
    filter: blur(20px);
    opacity: 0;
    transform: scale(1.08);
}

.em-volunteer-featured.is-contained::before {
    opacity: .22;
}

.em-volunteer-featured__image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.em-volunteer-featured.is-contained .em-volunteer-featured__image {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.em-volunteer-single__headline {
    padding: 38px 0 34px;
    border-bottom: 1px solid #e9eceb;
}

.em-volunteer-single__headline-inner {
    max-width: 920px;
}

.em-volunteer-single__headline .em-volunteer-eyebrow {
    color: #277b78;
}

.em-volunteer-single__headline h1 {
    max-width: 900px;
    margin: 0;
    color: #171b1a;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.em-volunteer-single__headline .em-volunteer-single__intro {
    margin-top: 17px;
}

.em-volunteer-single__headline .em-volunteer-single__summary {
    max-width: 820px;
    margin: 23px 0 0;
    color: #454d4b;
    font-size: 19px;
    line-height: 1.72;
}

.em-volunteer-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(310px, .72fr);
    gap: 58px;
    padding-top: 50px;
    padding-bottom: 92px;
}

.em-volunteer-single__content {
    min-width: 0;
}

.em-volunteer-single__body {
    display: flow-root;
    min-width: 0;
    color: #262b2a;
    font-size: 16.5px;
    line-height: 1.85;
}

.em-volunteer-single__body > :first-child {
    margin-top: 0;
}

.em-volunteer-single__body h2 {
    margin: 42px 0 15px;
    color: #171b1a;
    font-size: 30px;
    line-height: 1.22;
    letter-spacing: -.02em;
}

.em-volunteer-single__body h3 {
    margin: 32px 0 12px;
    color: #1b201f;
    font-size: 23px;
    line-height: 1.3;
}

.em-volunteer-single__body p,
.em-volunteer-single__body ul,
.em-volunteer-single__body ol {
    margin-bottom: 21px;
}

.em-volunteer-single__body ul,
.em-volunteer-single__body ol {
    padding-left: 1.35em;
}

.em-volunteer-single__body li + li {
    margin-top: 8px;
}

.em-volunteer-single__body figure,
.em-volunteer-single__body .wp-block-image,
.em-volunteer-single__body img.alignleft,
.em-volunteer-single__body img.alignright,
.em-volunteer-single__body figure.alignleft,
.em-volunteer-single__body figure.alignright {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 32px auto !important;
}

.em-volunteer-single__body figure img,
.em-volunteer-single__body .wp-block-image img,
.em-volunteer-single__body img.alignleft,
.em-volunteer-single__body img.alignright {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 520px;
    height: auto !important;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
}

.em-volunteer-single__body .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 !important;
}

.em-volunteer-single__body .wp-block-gallery figure,
.em-volunteer-single__body .wp-block-gallery .wp-block-image {
    width: 100% !important;
    margin: 0 !important;
}

.em-volunteer-single__body .wp-block-gallery img {
    width: 100% !important;
    height: 100% !important;
    max-height: 380px;
    object-fit: cover;
}

.em-volunteer-single__body figcaption {
    margin-top: 9px;
    color: #747b79;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.em-volunteer-single__sidebar {
    position: sticky;
    top: 28px;
    align-self: start;
}

.em-volunteer-factbox,
.em-volunteer-contact-card,
.em-volunteer-contact-pending,
.em-volunteer-disclaimer {
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(20, 43, 42, .06);
}

.em-volunteer-factbox {
    padding: 27px;
    border: 1px solid #dfe5e3;
}

.em-volunteer-factbox h2,
.em-volunteer-disclaimer h2,
.em-volunteer-contact-card h2,
.em-volunteer-contact-pending h2 {
    font-size: 23px;
    line-height: 1.25;
}

.em-volunteer-factbox dl > div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 0;
}

.em-volunteer-factbox dt {
    margin: 2px 0 0;
}

.em-volunteer-factbox dd {
    color: #242a28;
    font-weight: 600;
}

.em-volunteer-contact-card,
.em-volunteer-contact-pending {
    margin-top: 20px;
    padding: 25px;
}

.em-volunteer-disclaimer {
    margin-top: 20px;
    padding: 25px;
    border-color: #dde5e2;
    background: #f3f7f5;
}

.em-volunteer-practical {
    margin-top: 52px;
    padding-top: 35px;
    border-top: 1px solid #e5e9e7;
}

.em-volunteer-practical__heading {
    max-width: 660px;
    margin-bottom: 21px;
}

.em-volunteer-practical__heading h2 {
    margin: 0;
    color: #171b1a;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.em-volunteer-practical__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.em-volunteer-practical__card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    padding: 22px;
    border: 1px solid #dfE6e3;
    border-radius: 13px;
    background: #f8faf9;
}

.em-volunteer-practical__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dceee9;
    color: #286b63;
}

.em-volunteer-practical__icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.em-volunteer-practical__card h3 {
    margin: 1px 0 7px;
    color: #1c2220;
    font-size: 18px;
    line-height: 1.35;
}

.em-volunteer-practical__card p {
    margin: 0;
    color: #505957;
    font-size: 14.5px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .em-volunteer-featured {
        height: clamp(280px, 56vw, 440px);
        border-radius: 14px;
    }

    .em-volunteer-single__layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .em-volunteer-single__sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .em-volunteer-single__sidebar > * {
        margin-top: 0;
    }

    .em-volunteer-disclaimer {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .em-volunteer-featured-wrap {
        padding-right: 0;
        padding-left: 0;
    }

    .em-volunteer-featured {
        height: 300px;
        border-radius: 0;
        box-shadow: none;
    }

    .em-volunteer-single__headline {
        padding-top: 30px;
    }

    .em-volunteer-single__headline h1 {
        font-size: 37px;
    }

    .em-volunteer-single__headline .em-volunteer-single__summary {
        font-size: 17px;
    }

    .em-volunteer-single__layout {
        padding-top: 36px;
        padding-bottom: 66px;
    }

    .em-volunteer-single__body {
        font-size: 16px;
    }

    .em-volunteer-single__body h2 {
        font-size: 26px;
    }

    .em-volunteer-single__body .wp-block-gallery {
        grid-template-columns: 1fr;
    }

    .em-volunteer-single__sidebar,
    .em-volunteer-practical__grid {
        grid-template-columns: 1fr;
    }

    .em-volunteer-disclaimer {
        grid-column: auto;
    }

    .em-volunteer-factbox dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .em-volunteer-practical__card {
        grid-template-columns: 1fr;
    }
}


/* 1.5.1: full-bleed single opportunity hero with per-listing focal point */
.em-volunteer-featured {
    height: clamp(360px, 43vw, 520px);
    background: #dfe7e4;
}

.em-volunteer-featured::before {
    display: none !important;
}

.em-volunteer-featured__image,
.em-volunteer-featured.is-contained .em-volunteer-featured__image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: var(--em-volunteer-featured-position, center 55%) !important;
}

@media (max-width: 900px) {
    .em-volunteer-featured {
        height: clamp(320px, 58vw, 460px);
    }
}

@media (max-width: 640px) {
    .em-volunteer-featured {
        height: 340px;
    }
}


/* 1.5.2: force every single-opportunity featured image to cover the hero.
   This intentionally overrides older contained/blurred hero rules and theme CSS. */
body.single-coast_volunteer .em-volunteer-featured-wrap {
    padding-top: 6px;
}

body.single-coast_volunteer figure.em-volunteer-featured,
body.single-coast_volunteer figure.em-volunteer-featured.is-contained,
body.single-coast_volunteer figure.em-volunteer-featured.em-volunteer-featured--cover {
    position: relative !important;
    isolation: isolate;
    display: block !important;
    width: 100% !important;
    height: clamp(360px, 43vw, 520px) !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 18px;
    background: #dfe7e4 !important;
}

body.single-coast_volunteer figure.em-volunteer-featured::before,
body.single-coast_volunteer figure.em-volunteer-featured::after {
    display: none !important;
    content: none !important;
    background-image: none !important;
    filter: none !important;
}

body.single-coast_volunteer figure.em-volunteer-featured > img,
body.single-coast_volunteer figure.em-volunteer-featured > img.em-volunteer-featured__image,
body.single-coast_volunteer figure.em-volunteer-featured.is-contained > img.em-volunteer-featured__image,
body.single-coast_volunteer figure.em-volunteer-featured.em-volunteer-featured--cover > img.em-volunteer-featured__image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    object-fit: cover !important;
    object-position: var(--em-volunteer-featured-position, center 55%) !important;
}

@media (max-width: 900px) {
    body.single-coast_volunteer figure.em-volunteer-featured,
    body.single-coast_volunteer figure.em-volunteer-featured.is-contained,
    body.single-coast_volunteer figure.em-volunteer-featured.em-volunteer-featured--cover {
        height: clamp(320px, 58vw, 460px) !important;
    }
}

@media (max-width: 640px) {
    body.single-coast_volunteer figure.em-volunteer-featured,
    body.single-coast_volunteer figure.em-volunteer-featured.is-contained,
    body.single-coast_volunteer figure.em-volunteer-featured.em-volunteer-featured--cover {
        height: 340px !important;
        border-radius: 0;
    }
}


/* 1.5.3: true edge-to-edge featured image inside the hero frame.
   Remove all theme/legacy padding, decorative background, shadow and rounded corners. */
body.single-coast_volunteer .em-volunteer-featured-wrap {
    padding-top: 6px;
}

body.single-coast_volunteer figure.em-volunteer-featured,
body.single-coast_volunteer figure.em-volunteer-featured.is-contained,
body.single-coast_volunteer figure.em-volunteer-featured.em-volunteer-featured--cover {
    box-sizing: border-box !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0 !important;
}

body.single-coast_volunteer figure.em-volunteer-featured > img,
body.single-coast_volunteer figure.em-volunteer-featured > img.em-volunteer-featured__image,
body.single-coast_volunteer figure.em-volunteer-featured.is-contained > img.em-volunteer-featured__image,
body.single-coast_volunteer figure.em-volunteer-featured.em-volunteer-featured--cover > img.em-volunteer-featured__image {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
}

/* Public opportunity submission form */

.em-volunteer-submission-page {
    background: #fff;
    color: #202020;
}

.em-volunteer-submission-page .em-volunteer-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 0 20px;
    overflow: hidden;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #747474;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.em-submission-header {
    padding: 58px 0 54px;
    border-top: 1px solid #ece9e4;
    border-bottom: 1px solid #e5ddd1;
    background: #f7f3ed;
}

.em-submission-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr);
    align-items: end;
    gap: 56px;
}

.em-submission-header__eyebrow {
    margin: 0 0 12px;
    color: #177a79;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.em-submission-header h1 {
    margin: 0;
    color: #202020;
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.em-submission-header__inner > div > p:last-child {
    max-width: 760px;
    margin: 18px 0 0;
    color: #5c5a56;
    font-size: 17px;
    line-height: 1.75;
}

.em-submission-header__note {
    padding: 23px 24px;
    border-left: 4px solid #2d7976;
    background: #fff;
    box-shadow: 0 8px 24px rgba(62, 49, 31, .06);
}

.em-submission-header__note strong {
    display: block;
    margin-bottom: 8px;
    color: #183c3e;
    font-size: 16px;
}

.em-submission-header__note p {
    margin: 0;
    color: #64615c;
    font-size: 14px;
    line-height: 1.65;
}

.em-submission-main {
    max-width: 980px;
    padding-top: 48px;
    padding-bottom: 86px;
}

.em-volunteer-submission-form {
    margin: 0;
}

.em-submission-section {
    margin: 0 0 28px;
    padding: 30px;
    border: 1px solid #e5e1da;
    background: #fff;
    box-shadow: 0 10px 30px rgba(42, 35, 25, .045);
}

.em-submission-section__heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ece8e2;
}

.em-submission-section__heading > span {
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #183c3e;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.em-submission-section__heading h2 {
    margin: 0;
    color: #202020;
    font-size: 25px;
    line-height: 1.2;
}

.em-submission-section__heading p {
    margin: 6px 0 0;
    color: #6c6964;
    font-size: 14px;
    line-height: 1.55;
}

.em-submission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 22px;
}

.em-submission-field--full {
    grid-column: 1 / -1;
}

.em-submission-field label {
    display: block;
    margin: 0 0 7px;
    color: #2f2e2c;
    font-size: 13px;
    font-weight: 750;
}

.em-submission-field label span {
    color: #a44035;
}

.em-submission-field input:not([type="file"]),
.em-submission-field select,
.em-submission-field textarea {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #d6d1c8 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #252525 !important;
    box-shadow: none !important;
    font-size: 15px !important;
}

.em-submission-field input:not([type="file"]),
.em-submission-field select {
    height: 48px !important;
    padding: 0 13px !important;
}

.em-submission-field textarea {
    min-height: 110px;
    padding: 12px 13px !important;
    line-height: 1.6;
    resize: vertical;
}

.em-submission-field input:focus,
.em-submission-field select:focus,
.em-submission-field textarea:focus {
    border-color: #397a78 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(24, 60, 62, .09) !important;
}

.em-submission-field input[type="file"] {
    display: block;
    width: 100%;
    padding: 13px;
    border: 1px dashed #bbb4aa;
    background: #faf8f5;
    color: #4e4b46;
}

.em-submission-field small {
    display: block;
    margin-top: 7px;
    color: #78736c;
    font-size: 12px;
    line-height: 1.5;
}

.em-submission-consent {
    margin: 0 0 24px;
    padding: 22px 24px;
    border: 1px solid #cfe1de;
    background: #eef7f5;
}

.em-submission-consent label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    color: #263f3e;
    font-weight: 700;
    line-height: 1.55;
}

.em-submission-consent input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.em-submission-consent p {
    margin: 10px 0 0 27px;
    color: #66716f;
    font-size: 13px;
    line-height: 1.55;
}

.em-submission-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 0 !important;
    border-radius: 7px !important;
    background: #183c3e !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none !important;
    transition: transform .2s ease, background .2s ease;
}

.em-submission-button:hover,
.em-submission-button:focus {
    transform: translateY(-2px);
    background: #102e30 !important;
}

.em-submission-error {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-left: 4px solid #a94639;
    background: #fff3f1;
    color: #753229;
    line-height: 1.55;
}

.em-submission-success {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    border: 1px solid #c9dfdb;
    background: #eff8f6;
}

.em-submission-success__icon {
    display: inline-flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #287572;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.em-submission-success h2 {
    margin: 0 0 8px;
    font-size: 27px;
}

.em-submission-success p {
    margin: 0 0 12px;
    color: #536461;
    line-height: 1.65;
}

.em-submission-success a {
    color: #176f70;
    font-weight: 750;
}

.em-volunteer-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .em-submission-header {
        padding: 38px 0 36px;
    }

    .em-submission-header__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .em-submission-header h1 {
        font-size: 38px;
    }

    .em-submission-main {
        padding-top: 30px;
        padding-bottom: 58px;
    }

    .em-submission-section {
        padding: 22px 18px;
    }

    .em-submission-grid {
        grid-template-columns: 1fr;
    }

    .em-submission-field--full {
        grid-column: auto;
    }

    .em-submission-button {
        width: 100%;
    }
}
