html body {
    -webkit-font-smoothing: antialiased;
}

:root {
    font-synthesis: none;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
}

.initiative-desc p, .initiative-overview p, .solutions-resources p, .solutions-resources-block .resource-card-excerpt, .media-webinars p {
    font-weight: 400;
}

.our_work_cpt {
    margin-top: 90px;
    position: relative;
}

.parallax-wrap {
    position: absolute;
    overflow-x: hidden;
    height: 100%;
    width: 100%;
}

.initiative-top {
    padding: 64px 0 6rem 0;
}

.initiative-wrap {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.initiative-desc {
    display: flex;
    gap: 36px;
    flex-direction: column;
}

.initiative-stage {
    border-radius: 4px;
    padding: 10px;
    background: rgba(85, 167, 221, 0.20);
    color: #357BCD;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    line-height: 10px;
    display: inline-block;
}

.initiative-top .post-title {
    color: #3C3C3C;
    font-size: 70px;
    letter-spacing: -2.5px;
    line-height: 80px;
}

.initiative-desc p {
    color: #666;
    font-size: 24px;
    line-height: 36px;
}

.initiative-nav {
    position: sticky;
    top: 4rem;
    margin-right: 84px;
    align-self: flex-start;
    z-index: 1000;
}

.initiative-nav nav {
    width: 352px;
    height: fit-content;
    border-top: 1px solid #F16022;
    padding-top: 50px;
}

.initiative-nav__title {
    font-family: ministry, sans-serif;
    color: #3C3C3C;
    font-size: 32px;
    line-height: 36px;
    font-weight: 500;
    margin-bottom: 32px;
    letter-spacing: -1.5px;
    padding-right: 45px;
}

.initiative-nav ul {
    list-style: none;
    display: flex;
    gap: 48px;
    flex-direction: column;
    position: relative;
}

.initiative-nav a {
    color: #3C3C3C;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}
.initiative-nav a:hover, .initiative-nav a:focus {
    text-decoration: none;
    color: #F16022;
}

.initiative-nav-select {
    display: none;
}

.initiative-nav-link.active {
    color: #F16022;
    text-decoration: none;
}

.mobile-section-nav {
    display: none;
}


.initiative-nav__indicator {
    position: absolute;
    left: -3rem;
    top: 0;
    color: #F16022;
    font-size: 18px;
    line-height: 1.5rem;
    transition: top 0.4s ease;
    pointer-events: none;
}

.post-initiative-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 84px;
    padding-right: 84px;
}

.overview-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: none;
}

.overview-content ul li {
    line-height: 27px;
}

.overview-content.is-visible {
    max-height: 15000px;
    opacity: 1;
    overflow: visible;
}

/* Figma 1440 Overview: 36px above Read More and Read Less, 24px between paragraphs. The intro
   text keeps the paragraph gap, so once expanded it runs into the content like any other
   paragraph; the button makes up the rest of the 36px while collapsed. initiative.js animates
   the button between the two margins from these variables. */
.initiative-overview {
    --overview-text-gap: 24px;
    --overview-button-gap: 36px;
    --overview-read-more-offset: calc(var(--overview-button-gap) - var(--overview-text-gap));
}

.overview-content > :last-child,
.overview-content > :last-child > :last-child {
    margin-bottom: 0;
}

.initiative-overview > .overview-read-more {
    margin-top: var(--overview-read-more-offset);
}

.overview-content.is-visible + .overview-read-more {
    margin-top: var(--overview-button-gap);
}

.post-initiative-center {
    display: flex;
}

.initiative-flex-content h2 {
    color: #3C3C3C;
    font-size: 48px;
    font-style: normal;
    line-height: 52px;
    letter-spacing: -1.92px;
    margin-bottom: 48px;
}

.initiative-overview h2 {
    margin-bottom: 36px;
}

.initiative-overview p {
    margin-bottom: 24px;
}

/* Intro heading -> text: 32px, as in the demo. */
.initiative-overview > h2 {
    margin-bottom: 32px;
}

.initiative-overview > p {
    margin-bottom: var(--overview-text-gap);
}

.overview-read-more,
.browse-all-resources {
    border-radius: 8px;
    background: #F16022;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    padding: 20px 24px;
    transition: none;
}

.overview-read-more.is-loading,
.overview-read-more:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.overview-read-more .btn-loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: -3px;
    animation: tcSpin 0.8s linear infinite;
}

@keyframes tcSpin {
    to {
        transform: rotate(360deg);
    }
}

.overview-read-more:hover,
.browse-all-resources:hover {
    background-color: #d94e14;
}

.browse-all-resources:focus {
    color: #fff;
    text-decoration: none;
}

.overview-read-more.read-less {
    color: #F16022;
    background: #fff;
    box-shadow: inset 0 0 0 1px #F16022;
    border-radius: 8px;
}

/* Secondary hover, as in the demo (.btn-secondary:hover). Not on touch, where the tap that
   opened the content would leave Read Less tinted. */
@media (hover: hover) {
    .overview-read-more.read-less:hover {
        background-color: rgba(217, 78, 20, 0.1);
    }
}

.initiative-flex-content p {
    font-size: 18px;
    color: #666;
}

.initiative-flex-content ul {
    margin-top: -18px;
    font-size: 18px;
    line-height: 27px;
    list-style-type: square;
    color: #666;
    padding-left: 40px;
    margin-bottom: 36px;
}

.initiative-flex-content ul li::marker {
    color: #F16022;
}

.initiative-flex-content ul li {
    margin-bottom: 18px;
}

.initiative-flex-content ul li strong {
    color: #666;
}

.initiative-flex-content ul li a {
    color: #0D4F80;
    font-weight: 600;
    text-decoration: underline;
}

.initiative-flex-content iframe {
    width: 100%;
    height: 470px;
}

.initiative-flex-content {
    display: flex;
    flex-direction: column;
    gap: 96px;
    padding-top: 20px;
}

.initiative-flex-content .tab-panel {
    display: none;
}

.initiative-flex-content .tab-panel.is-active {
    display: block;
}

.initiative-flex-content .tab-button.is-active {
    font-weight: bold;
}

.solutions-resources h2 {
    margin-bottom: 24px;
}

.solutions-resources h3,
.initiative-bottom h3 {
    color: #3C3C3C;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -1.28px;
    margin-bottom: 8px;
}

.solutions-resources-block {
    margin-top: 48px;
}

.solutions-resources-block p {
    margin-bottom: 18px;
}

.solutions-resources-block .link {
    color: #F16022;
    display: flex;
    align-items: center;
    gap: 6px;
}

.solutions-resources-block .link span {
    text-decoration: underline;
    font-size: 18px;
    font-weight: 600;
}

.solutions-resources-block .link svg {
    stroke: none;
}

.solutions-resources-block .tabs-wrapper {
    margin-top: 48px;
}

.solutions-resources-block .carousel-wrapper {
    display: block;
    overflow: visible;
}

.solutions-resources-block .carousel-indicator {
    display: none;
}

.solutions-resources-block .carousel-indicator__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.solutions-resources-block .tabs-nav,
.media-webinars .tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.solutions-resources-block .tab-button,
.media-webinars .tab-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    background: #F7F7F7;
    color: #666;
    font-size: 16px;
    font-style: normal;
    /* Regular for unselected, semibold for the selected tab (.is-active), as in Figma (Tabs / Trigger). */
    font-weight: 400;
    line-height: 24px;
    /* letter-spacing: -0.32px; */
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.solutions-resources-block .tab-button:hover,
.solutions-resources-block .tab-button:focus-visible,
.media-webinars .tab-button:hover,
.media-webinars .tab-button:focus-visible {
    background-color: rgba(0, 0, 0, 0.08);
}

.solutions-resources-block .tab-button.is-active,
.media-webinars .tab-button.is-active {
    background: #357BCD;
    color: #fff;
    font-weight: 600;
}

.solutions-resources-block .tab-panel-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.solutions-resources-block .resources-card,
.media-webinars .resources-card {
    border-radius: 12px;
    background: #F7F7F7;
    padding: 24px 24px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    transition: background 0.4s ease, border-color 0.4s ease;
    border: 1px solid transparent;
    min-height: 520px;
}
.solutions-resources-block .resources-card h4 a {
    color: #3c3c3c;
    transition: color 0.4s ease;
}
.solutions-resources-block .resources-card h4 a:hover {
    color: #f16022;
    text-decoration: none;
}
.solutions-resources-block .resources-card:hover {
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #f16022;
}
.solutions-resources-block .resources-card:hover h4 {
    color: #f16022;
    transition: color 0.4s ease;
}

.solutions-resources-block .resources-card .post-thumbnail {
    width: 100%;
    aspect-ratio: 3.5 / 2;
    border-radius: 6px;
    overflow: hidden;
}

.solutions-resources-block .resources-card .post-thumbnail i {
    font-weight: 400;
    font-size: 64px;
    color: #fff;
}

.solutions-resources-block .resources-card .post-thumbnail.no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #55A7DD;
}

.solutions-resources-block .resources-card .post-thumbnail.no-image svg {
    fill: transparent;
}

.solutions-resources-block .resource-type {
    border-radius: 4px;
    border: 1px solid #999;
    padding: 6px 10px;
    color: #666;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    display: inline-block;
}

.solutions-resources-block h4 {
    font-family: acumin-pro, sans-serif;
    color: #3c3c3c;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: normal;
}

.solutions-resources-block .resource-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 20px;
}

.solutions-resources-block .resource-card-excerpt a {
    text-decoration: underline;
    color: #0D4F80;
}

.solutions-resources-block .file-size-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.solutions-resources-block .file-link a {
    display: inline-flex;
    text-decoration: none;
}

.solutions-resources-block .file-type-icon,
.resources-list .file-type-icon,
.resources-table .file-type-icon {
    position: relative;
    z-index: 0;
    color: #F16022;
    transition: color 0.4s ease;
}

.solutions-resources-block .file-type-icon::after,
.resources-list .file-type-icon::after,
.resources-table .file-type-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #F16022;
    border-radius: 12px;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.25);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    opacity: 0;
}

.solutions-resources-block .file-type-icon i,
.resources-list .file-type-icon i {
    font-size: 24px;
}

.solutions-resources-block .resources-card:hover .file-type-icon,
.resources-list .resources-card:hover .file-type-icon,
.resources-table .resources-table__row:hover .file-type-icon {
    color: #fff;
}

.solutions-resources-block .resources-card:hover .file-type-icon::after,
.resources-list .resources-card:hover .file-type-icon::after,
.resources-table .resources-table__row:hover .file-type-icon::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 1;
}

.solutions-resources-block .file-size,
.resources-list .file-size {
    color: #666;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    text-transform: uppercase;
}

.solutions-resources-block .file-size-wrapper svg,
.resources-list .file-size-wrapper svg {
    stroke: none;
}

.media-webinars h2 {
    margin-bottom: 24px;
}

.initiative-overview,
.solutions-resources h2,
.solutions-resources h3,
.solutions-resources p,
.media-webinars h2,
.media-webinars p {
    max-width: 618px;
}

.initiative-flex-content .media-webinars-link {
    display: block;
}

.initiative-flex-content .media-webinar-block {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    border: 1px solid #999;
    margin-top: -1px;
    position: relative;
    transition: border-color 0.3s ease;
}

.initiative-flex-content .media-webinars-link:first-child .media-webinar-block {
    margin-top: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Longhands, so a single row (first and last child) keeps all four corners rounded. */
.initiative-flex-content .media-webinars-link:last-child .media-webinar-block {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.initiative-flex-content .media-webinars-link:hover .media-webinar-block,
.initiative-flex-content .media-webinars-link:focus-visible .media-webinar-block {
    cursor: pointer;
    border-color: #BF3F75;
    z-index: 1;
}

.initiative-flex-content .media-webinar-image {
    display: flex;
    border-radius: 6px;
    background: #F7F7F7;
    justify-content: center;
    align-items: center;
    min-width: 80px;
    height: 80px;
}

.initiative-flex-content .media-webinar-image .event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #BF3F75;
}

.initiative-flex-content .media-webinar-image .event-date .event-day {
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
}

.initiative-flex-content .media-webinar-image .event-date .event-month {
    font-size: 12px;
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.96px;
    text-transform: uppercase;
}

.initiative-flex-content .load-more-btn-wrap {
    margin-top: 48px;
}

.initiative-flex-content .media-webinar-image svg,
.initiative-flex-content .media-webinar-image svg path {
    fill: #BF3F75;
    stroke: #BF3F75;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.initiative-flex-content .media-webinar-image i {
    font-size: 48px;
    line-height: 1;
    color: #BF3F75;
}

.initiative-flex-content .media-webinar-details-wrap {
    display: flex;
    gap: 24px;
    align-items: center;
}

.initiative-flex-content .media-webinar-details-wrap svg {
    fill: none;
    stroke: #BF3F75;
}

.initiative-flex-content .media-webinar-title {
    transition: color 0.4s ease;
}

.initiative-flex-content .media-webinars-link:hover .media-webinar-title,
.initiative-flex-content .media-webinars-link:focus-visible .media-webinar-title {
    color: #BF3F75;
}

.initiative-flex-content .media-webinars-link,
.implementation-experiences-link {
    color: #3C3C3C;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.initiative-flex-content .media-webinars-link:hover,
.implementation-experiences-link:hover {
    color: #3C3C3C;
    text-decoration: none;
}

.initiative-flex-content .media-webinars-link:focus,
.initiative-flex-content .media-webinars-link:focus-visible,
.initiative-flex-content .media-webinars-link:focus .media-webinar-title,
.initiative-flex-content .media-webinars-link:focus-visible .media-webinar-title,
.initiative-flex-content .media-webinars-link:focus .media-webinar-icon,
.initiative-flex-content .media-webinars-link:focus-visible .media-webinar-icon {
    text-decoration: none;
}

.initiative-flex-content .media-webinar-details {
    color: #666;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.media-webinar-icon svg,
.media-webinar-icon svg path {
    fill: currentColor !important;
    stroke: currentColor !important;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.media-webinar-icon {
    position: relative;
    z-index: 0;
    color: #BF3F75;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.4s ease;
}

.media-webinar-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #BF3F75;
    border-radius: 12px;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.25);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    opacity: 0;
}

.initiative-flex-content .media-webinars-link:hover .media-webinar-icon,
.initiative-flex-content .media-webinars-link:focus-visible .media-webinar-icon {
    color: #fff;
}

.initiative-flex-content .media-webinars-link:hover .media-webinar-icon::after,
.initiative-flex-content .media-webinars-link:focus-visible .media-webinar-icon::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 1;
}

.initiative-flex-content .media-webinars .tabs-wrapper {
    margin-top: 48px;
}

/* Show more / Show less: the first 6 cards of a tab (render_tabs_media()). */
.media-webinars .tab-panel.is-collapsed .media-webinars-link:nth-child(n+7) {
    display: none;
}

.initiative-flex-content .media-webinars .tab-panel.is-collapsed .media-webinars-link:nth-child(6) .media-webinar-block {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.implementation-experiences {
    max-width: 836px;
}

.implementation-experiences-slider {
    width: calc(170% - 250px);
    max-width: 100vw;
}

.implementation-experiences-slider .swiper-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
}

.implementation-experiences-slider .swiper-slide {
    min-width: 0;
    max-width: 836px;
    padding-right: 24px;
}

.implementation-experiences-slider .swiper-button-next,
.implementation-experiences-slider .swiper-button-prev {
    position: static;
    border-radius: 8px;
    background: #F16022;
    margin-top: 0;
    color: #F7F7F7;
    font-size: 24px;
    width: 64px;
    height: 64px;
}

.implementation-experiences-slider .swiper-button-prev:after, 
.implementation-experiences-slider .swiper-button-next:after {
    content: '';
}

/* Same hover as the primary orange buttons (.overview-read-more:hover). */
@media (hover: hover) {
    .implementation-experiences-slider .swiper-button-next:not(.swiper-button-disabled):hover,
    .implementation-experiences-slider .swiper-button-prev:not(.swiper-button-disabled):hover {
        background-color: #d94e14;
    }
}

.implementation-experiences-slider .swiper-button-prev i {
    transform: rotate(180deg);
}

.implementation-experiences-slider .swiper-btn-wrap {
    display: flex;
    gap: 8px;
    margin-top: 36px;
}


.implementation-experiences-image img {
    width: 336px;
    height: 336px;
    object-fit: cover;
    border-radius: 6px;
    overflow: hidden;
}

.implementation-experiences-list {
    display: flex;
    gap: 18px;
    flex-direction: column;
}

.implementation-experiences-link h4 {
    font-family: acumin-pro, sans-serif;
    color: #3C3C3C;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    margin-top: 12px;
    transition: color 0.4s ease;
}

.implementation-experiences-block {
    display: flex;
    width: 100%;
    padding: 32px;
    align-items: stretch;
    gap: 32px;
    border-radius: 12px;
    background: #F7F7F7;
    border: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.implementation-experiences-info-wrap {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.implementation-experiences-link:hover .implementation-experiences-block,
.implementation-experiences-link:focus-visible .implementation-experiences-block {
    cursor: pointer;
    border-color: #F16022;
    background: #fff;
}

.implementation-experiences-link:hover h4,
.implementation-experiences-link:focus-visible h4 {
    color: #F16022;
}

.implementation-experiences-excerpt {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-top: 16px;
}

.implementation-experiences-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 13px;
}

.implementation-experiences-bottom .implementation-experiences-read-time {
    color: #666;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
}

.implementation-experiences-icon {
    position: relative;
    z-index: 0;
    color: #F16022;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.4s ease;
}

.implementation-experiences-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: #F16022;
    border-radius: 12px;
    transform: translate(-50%, -50%) rotate(45deg) scale(0.25);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    opacity: 0;
}

.implementation-experiences-icon svg,
.implementation-experiences-icon svg path {
    fill: currentColor !important;
    stroke: currentColor !important;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.implementation-experiences-link:hover .implementation-experiences-icon,
.implementation-experiences-link:focus-visible .implementation-experiences-icon {
    color: #fff;
}

.implementation-experiences-link:hover .implementation-experiences-icon::after,
.implementation-experiences-link:focus-visible .implementation-experiences-icon::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
    opacity: 1;
}

.initiative-bottom {
    padding: 72px 0;
    border-top: 1px solid #F16022;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    z-index: 3;
    position: relative;
}

.initiative-bottom svg {
    stroke: none;
}

.initiative-bottom p {
    color: #666;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    margin-bottom: 36px;
}

/* Footer type and gaps from the demo (.connect): heading 24/32 bold, 28px from the intro to
   the form, 20px from "Follow us" to the icons, 12px between the icons. */
.initiative-bottom h3 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}

.initiative-bottom .left-block p {
    margin-bottom: 28px;
}

.initiative-bottom .right-block p {
    margin-bottom: 20px;
}

.initiative-bottom .social-links {
    display: flex;
    gap: 12px;
}

.initiative-bottom .social-links li {
    margin-right: 0;
}

/* As in Figma: "Connect With Us" heads the block, and the two columns below it start on one
   line, so "Follow us..." sits level with "Stay informed..." (heading 32px + 8px gap). */
@media (min-width: 1025px) {
    .initiative-bottom .right-block {
        margin-top: 40px;
    }
}

.initiative-bottom input {
    border-radius: 4px;
    border: 1px solid #999;
    color: #3C3C3C;
    width: 100%;
    max-width: 429px;
    padding: 19px 24px 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    box-sizing: border-box;
}

.initiative-bottom .form-block form {
    display: flex;
    width: 100%;
    gap: 16px;
}

.initiative-bottom .form-block {
    position: relative;
}

.initiative-bottom .left-block {
    width: 618px;
}

.initiative-bottom button {
    border-radius: 4px;
    background: #F16022;
    padding: 15px 36px;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    border: none;
    height: 64px;
    transition: background 0.15s;
}

.initiative-bottom button:hover, .initiative-bottom button:focus {
    background: rgb(217, 78, 20);
}

.initiative-bottom .connect__subscribe-btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.initiative-bottom .connect__subscribe-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.initiative-bottom .connect__subscribe-btn__spinner {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: subscribe-btn-spin 0.65s linear infinite;
}

.initiative-bottom .connect__subscribe-btn--loading .connect__subscribe-btn__label {
    visibility: hidden;
}

.initiative-bottom .connect__subscribe-btn--loading .connect__subscribe-btn__spinner {
    display: block;
}

.initiative-bottom .connect__email-input--shake {
    animation: subscribe-input-shake 0.5s ease-out;
}

.initiative-bottom .form-block {
    position: relative;
}

.initiative-bottom .connect__success {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
    height: 65px;
    overflow: hidden;
    opacity: 1;
}

.initiative-bottom .connect__success[hidden] {
    display: flex;
    height: 0;
    opacity: 0;
}

.initiative-bottom .connect__success-heading,
.initiative-bottom .connect__success-body {
    margin: 0;
}

.initiative-bottom .connect__success-heading {
    color: #3C3C3C;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.initiative-bottom .connect__success-body {
    color: #666;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.initiative-bottom .connect__error {
    color: #c0392b;
    font-size: 14px;
    line-height: 20px;
    min-height: 20px;
    margin: 12px 0 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.initiative-bottom .connect__error.is-visible {
    opacity: 1;
}

@keyframes subscribe-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes subscribe-input-shake {
    0% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    30% { transform: translateX(7px); }
    45% { transform: translateX(-6px); }
    60% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    90% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

.initiative-top {
    position: relative;
}

.initiative-stages,
.initiative-desc {
    will-change: opacity, transform;
}

.post-title {
    will-change: font-size, transform;
    transition: none;
}

.post-initiative-center {
    position: relative;
    z-index: 2;
    padding-bottom: 108px;
}

.post-initiative-center.bg-transparent {
    background: transparent;
}

.initiative-top.scroll-active .initiative-title h1 {
    letter-spacing: normal;
}

.parallax-shapes {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.parallax-shape {
    position: absolute;
    transform: rotate(-45deg);
    will-change: transform;
}

.parallax-shape--large {
    width: clamp(384px, 37vw, 480px);
    height: clamp(384px, 37vw, 480px);
    border-radius: 15%;
    background-color: #357BCD;
    top: clamp(160px, 12vw, 256px);
    right: clamp(-336px, -10vw, -224px);
}

.single-our_work_cpt .site-header {
    background: #fff;
}

.parallax-shape--small {
    position: static;
    width: 264px;
    height: 264px;
    border-radius: 23%;
    background-color: #F39521;
    margin-left: -180px;
    margin-top: 192px;
    flex-shrink: 0;
    align-self: flex-start;
}

.social-links li {
    margin-right: 24px;
}

.social-links li svg path {
    transition: fill 0.15s;
}

.social-links li a:hover svg path {
    fill: rgb(68, 68, 68);
}

footer#colophon {
    z-index: 3;
}

/* HubSpot Form Customization */
/* Matches the design of the example subscribe form in initiative-bottom section */

.initiative-bottom .hbspt-form {
    width: 100%;
}

.initiative-bottom .hbspt-form .hs-form {
    display: flex;
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 65px;
}

.initiative-bottom .hbspt-form .hs-form-field {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 429px;
    margin-bottom: 0 !important;
}

.initiative-bottom .hbspt-form .hs-form-field label {
    display: none;
}

.initiative-bottom .hbspt-form .hs-input {
    border-radius: 4px;
    border: 1px solid #999;
    color: #3C3C3C;
    width: 100%;
    max-width: 429px;
    padding: 19px 24px 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    box-sizing: border-box;
    font-family: inherit;
    display: block;
}

.initiative-bottom .hbspt-form .hs-input:focus {
    outline: none;
    border-color: #F16022;
}

.initiative-bottom .hbspt-form .hs-input.invalid,
.initiative-bottom .hbspt-form .hs-input.error {
    border-color: #c0392b;
}

.initiative-bottom .hbspt-form .hs-submit {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
}

.initiative-bottom .hbspt-form .hs-submit .hs-field-desc {
    display: none !important;
}

.initiative-bottom .hbspt-form .hs-submit .actions {
    margin: 0;
}

.initiative-bottom .hbspt-form .hs-button {
    border-radius: 4px;
    background: #F16022;
    padding: 15px 36px;
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    border: none;
    height: 64px;
    transition: background 0.15s;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.initiative-bottom .hbspt-form .hs-button {
    position: relative;
}

.initiative-bottom .hbspt-form .hs-button.hs-button--loading {
    color: transparent;
    pointer-events: none;
}

.initiative-bottom .hbspt-form .hs-button.hs-button--loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: subscribe-btn-spin 0.65s linear infinite;
}

.initiative-bottom .hbspt-form .hs-button:hover,
.initiative-bottom .hbspt-form .hs-button:focus {
    background: rgb(217, 78, 20);
}

.initiative-bottom .hbspt-form .hs-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.initiative-bottom .hbspt-form .hs-form-field {
    position: relative;
}

.initiative-bottom .hbspt-form .hs-form-field .hs-error-msgs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    margin: 0;
}

.initiative-bottom .hbspt-form .hs-form-field .hs-error-msgs + .hs-error-msgs {
    bottom: -52px;
}

.initiative-bottom .hbspt-form .hs-form-field .hs-error-msgs + .hs-error-msgs + .hs-error-msgs {
    bottom: -78px;
}

.initiative-bottom .hbspt-form .hs-form-field .hs-error-msgs + .hs-error-msgs + .hs-error-msgs + .hs-error-msgs {
    bottom: -104px;
}

.initiative-bottom .hbspt-form .hs-error-msgs {
    color: #c0392b;
    font-size: 14px;
    line-height: 20px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.initiative-bottom .hbspt-form .hs-error-msgs li {
    margin: 0;
    padding: 0;
}

.initiative-bottom .hbspt-form .hs-error-msgs li + li {
    margin-top: 20px;
}

.initiative-bottom .hbspt-form .hs-error-msgs label {
    display: inline;
    font-weight: 400;
}

.initiative-bottom .hbspt-form .hs-error-msgs label + label {
    margin-top: 20px;
    display: inline-block;
}

.initiative-bottom .hbspt-form .hs-error-rollup {
    width: 100%;
    flex-basis: 100%;
    order: 10;
}

.initiative-bottom .hbspt-form .hs-error-rollup .hs-error-msgs {
    margin-top: 0;
}

.initiative-bottom .hbspt-form .hs_error_rollup {
    width: 100%;
    flex-basis: 100%;
    order: 10;
}

.initiative-bottom .hbspt-form .hs_error_rollup .hs-error-msgs {
    margin-top: 0;
}

.initiative-bottom .hbspt-form .hs-form-required {
    color: #c0392b;
}

.initiative-bottom .hbspt-form .input {
    margin: 0;
    max-width: 429px;
}

.initiative-bottom .hbspt-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    max-width: none !important;
}

.initiative-bottom .hbspt-form .hs-richtext {
    margin: 0;
}

.initiative-bottom .hbspt-form .hs-main-font-element {
    font-family: inherit;
}


/* No separate H2 in the design: a Heading 2 in the content uses the H3 style, not the section title style. */
.overview-content h2,
.overview-content h3 {
    margin-bottom: 24px;
    font-size: 32px;
    color: #3C3C3C;
    line-height: 36px;
    letter-spacing: -1.28px;
    font-weight: 500;
}
.overview-content h4 {
    color: #3C3C3C;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    /* -4%, the same tracking as the H3 above (32px / -1.28px) and the demo's Ministry headings. */
    letter-spacing: -0.96px;
    margin-bottom: 20px;
}

.overview-content h5 {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #3C3C3C;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: normal;
}

.overview-video,
.overview-table,
.overview-image {
    width: 836px;
}

.overview-video video {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

/* Same radius as .overview-image img. */
.overview-video iframe,
.overview-video video {
    border-radius: 14px;
}

.overview-list {
    width: 100%;
    border-radius: 14px;
    background: #f5f5f5;
    padding: 24px 24px 36px;
}

.overview-list h5 {
    margin-bottom: 14px;
}

.initiative-flex-content .overview-list ul {
    margin-top: 0;
    list-style: none;
    padding-left: 13px;
    margin-bottom: 0;
}

.initiative-flex-content .overview-list ul li {
    display: flex;
    gap: 4px;
    padding: 6px 0;
    margin-bottom: 10px;
}

.initiative-flex-content .overview-list ul li:last-child {
    margin-bottom: 0;
}

.initiative-flex-content .overview-list ul li .icon-dots {
    width: 8px;
    height: 8px;
    transform: rotate(-45deg);
    border-radius: 2px;
    background: #F16022;
    display: inline-block;
    margin-right: 13px;
    min-width: 8px;
    margin-top: 10px;
}

.initiative-flex-content .overview-list ul li svg path {
    fill: none;
}

.initiative-flex-content .overview-list ul li svg {
    margin-right: 13px;
    margin-top: 5px;
    min-width: 18px;
}

.initiative-flex-content .overview-list ul li p {
    margin-bottom: 0;
    font-size: 16px;
}

.overview-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #F16022 #E5E5E5;
}

.overview-table::-webkit-scrollbar {
    height: 6px;
}

.overview-table::-webkit-scrollbar-track {
    background: #E5E5E5;
    border-radius: 3px;
}

.overview-table::-webkit-scrollbar-thumb {
    background: #F16022;
    border-radius: 3px;
}

.overview-table table {
    width: 100%;
    min-width: max-content;
}

.overview-table table th {
    color: #3C3C3C;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    padding: 10px 8px;
    white-space: nowrap;
}

.overview-table table td {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding: 8px;
    white-space: nowrap;
}

.overview-table table th:last-child,
.overview-table table td:last-child {
    text-align: right;
}

.overview-table table tr {
    border-bottom: 1px solid #D8D8D8;
}

.overview-table table tbody tr:nth-child(even) {
    background-color: #F7F7F7;
}

.overview-table__text {
    margin-top: 16px;
}

.overview-table__text p {
    font-size: 14px;
    line-height: 20px;
}

.overview-quote {
    border-left: 4px solid #F16022;
    padding-left: 24px;
}

.overview-quote blockquote {
    color: #666;
    font-size: 24px;
    line-height: 36px;
} 

.overview-quote .overview-quote__caption {
    color: #666;
    font-size: 14px;
    line-height: 20px;
    margin-top: 20px;
}

/* Figma "3:2 Image" at every breakpoint: crop any upload to 3:2. */
.overview-image img {
    display: block;
    border-radius: 14px;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.overview-image__caption {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
    color: #666;
}

/* Spacing */
.spacing-none {
    margin-bottom: 0;
}

.spacing-12 {
    margin-bottom: 48px;
}

.spacing-9 {
    margin-bottom: 36px;
}

.spacing-8 {
    margin-bottom: 32px;
}

.spacing-6 {
    margin-bottom: 24px;
}

/* Resources Card */
.resources-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.resources-card {
    border-radius: 14px;
    background: #F7F7F7;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

.resources-list .resource-type-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Category tags: Figma TRA_Component-Library, "Category Tag" (25581:23659) */
.resource-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 13px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    white-space: nowrap;
}

.resource-type i {
    width: 12px;
    font-size: 12px;
    line-height: 12px;
    text-align: center;
}

.resource-type.asset_library {
    color: #BF3F75;
    background: #FAF0F4;
}

.resource-type.digital_tool {
    color: #8F6400;
    background: #FFF3D6;
}

.resource-type.framework {
    color: #0D4F80;
    background: #DDEDF8;
}

.resource-type.guide {
    color: #225922;
    background: #E2F4E2;
}

.resource-type.initiative {
    color: #363530;
    background: #ECECEA;
}

.resource-type.new-badge {
    color: #C0420C;
    background: #FEEFE9;
}

.resource-type.publication {
    color: #1C6973;
    background: #EFFAFB;
}

.resource-type.template {
    color: #472C1B;
    background: #F4E8E1;
}

.resource-type.training {
    color: #00249C;
    background: #E0E7FF;
}

.resource-type.collaborative_resource {
    color: #0B6E4F;
    background: #DDF4EA;
}

.resource-type.infographic {
    color: #363530;
    background: #ECECEA;
}

/* "Release Summary" was renamed to "Summary"; the old class stays until every environment has the new name. */
.resource-type.summary,
.resource-type.release_summary {
    color: #615E19;
    background: #F7F6DE;
}

.resource-type.survey_result {
    color: #3A0CA3;
    background: #F1ECFE;
}

.resource-type.toolkit {
    color: #8A0CA3;
    background: #F8E8FB;
}

.resource-type.white_paper {
    color: #001242;
    background: #EBF0FF;
}

.resource-type.workshop_finding {
    color: #720E07;
    background: #FEEDEC;
}

.resources-list .resources-card h6 {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: -0.18px;
    color: #3C3C3C;
    text-transform: none;
}

/* Anchored to the bottom, so extra card height never pushes the title away from the tags. */
.resources-list .file-size-wrapper {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
}

.resources-list .file-size-wrapper .file-size {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.browse-all-resources {
    display: inline-block;
    margin-top: 28px;
    border-radius: 8px;
    padding: 16px 24px;
}

.browse-all-resources:hover {
    text-decoration: none;
    color: #fff;
}

@media (max-width: 1024px) {
    .initiative-bottom .hbspt-form .hs-input {
        border-radius: 8px;
    }

    .initiative-bottom .hbspt-form .hs-button {
        max-width: 150px;
        border-radius: 8px;
        padding: 12px 24px;
    }
}

@media (max-width: 640px) {
    .initiative-bottom .hbspt-form .hs-form {
        flex-direction: column;
    }

    .initiative-bottom .hbspt-form .hs-form-field {
        max-width: 100%;
    }

    .initiative-bottom .hbspt-form .hs-input {
        max-width: 100%;
    }

    .initiative-bottom .hbspt-form .hs-button {
        width: 100%;
        height: 54px;
    }
    .initiative-bottom .hbspt-form .hs-form-field .hs-error-msgs {
        bottom: -100px;
    }
}

.hs_error_rollup {
    display: none !important;
}

/* Footnote styles */
.initiative-flex-content p.footnote {
    font-weight: 400;
    font-style: Italic;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0%;
    color: #666;
}
.initiative-flex-content sup {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0%;
}

body.our_work_cpt-template-default {
    overflow-x: hidden;
}

/* Collection */
.collection-block {
    margin: 48px 0 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(60, 60, 60, 0.20);
}

.collection-block.no-resources {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.collection-heading {
    color: #666;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 28px;
}

.collection-card {
    border-radius: 14px;
    height: 200px;
    border: 1px solid #999;
    padding: 24px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: inherit;
    background: #fff;
    /* The illustration grows on hover; keep it inside the rounded corners. */
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.collection-card:hover,
.collection-card:focus {
    text-decoration: none;
    color: inherit;
}

/* Hover (Figma Collection Card, Property 1=Hover): gray background, orange border and title,
   bigger illustration. Keyboard focus gets the same look. */
.collection-card:hover,
.collection-card:focus-visible {
    background: #F7F7F7;
    border-color: #F16022;
}

.collection-card .collection-title h6 {
    transition: color 0.3s ease;
}

.collection-card:hover .collection-title h6,
.collection-card:focus-visible .collection-title h6 {
    color: #F16022;
}

/* The svg has a 14px transparent shadow margin on the right; without this the artwork
   sits 14px left of Figma (right edge 20px from the card edge). */
.collection-card .collection-illustration {
    margin-right: -14px;
}

/* 142px wide artwork grows to 189px and stays on the bottom edge; its right edge moves
   from 20px to 1px off the card edge (the 24px also covers the svg shadow margin). */
.collection-card .collection-illustration svg {
    display: block;
    transform-origin: right bottom;
    transition: transform 0.3s ease;
}

.collection-card:hover .collection-illustration svg,
.collection-card:focus-visible .collection-illustration svg {
    transform: translateX(24px) scale(1.33);
}

@media (prefers-reduced-motion: reduce) {
    .collection-card,
    .collection-card .collection-title h6,
    .collection-card .collection-illustration svg {
        transition: none;
    }
}

.collection-card svg {
    stroke: none;
    fill: none;
}

.collection-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.collection-card__top .collection-head {
    letter-spacing: 0.48px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #666;
}

.collection-card__top .collection-title h6 {
    text-transform: none;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.18px;
    line-height: 1.5;
}

.collection-card__bottom .collection-card__resources {
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

.collection-slider {
    overflow: hidden;
}

.collection-slider .swiper-slide {
    width: 300px;
    height: auto;
}

/* Swiper's spaceBetween (24px) before it initializes, so the cards do not shift when it does. */
.collection-slider:not(.swiper-initialized) .swiper-slide {
    margin-right: 24px;
}

.collection-slider .collection-card {
    box-sizing: border-box;
}

.collection-slider-wrap {
    position: relative;
}

.collection-slider-wrap .swiper-button-next,
.collection-slider-wrap .swiper-button-prev {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid #999;
    color: #3C3C3C;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 65px;
    margin-top: 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.collection-slider-wrap .swiper-button-next:after,
.collection-slider-wrap .swiper-button-prev:after {
    content: '';
}

.collection-slider-wrap .swiper-button-prev {
    left: -32px;
    right: auto;
}

.collection-slider-wrap .swiper-button-next {
    right: -32px;
    left: auto;
}

.collection-slider-wrap .swiper-button-disabled {
    display: none;
}

/* One segment per page: bullets stretched into a 4px bar. */
.collection-slider-wrap .collection-slider__pagination {
    --swiper-pagination-bullet-horizontal-gap: 0;
    --swiper-pagination-bullet-height: 4px;
    --swiper-pagination-bullet-border-radius: 0;
    --swiper-pagination-bullet-inactive-opacity: 0;
    --swiper-pagination-bullet-inactive-color: #F16022;
    --swiper-pagination-color: #F16022;
    position: static;
    display: flex;
    width: 100%;
    height: 4px;
    margin-top: 24px;
    background: rgba(153, 153, 153, 0.25);
    transform: none;
}

.collection-slider-wrap .collection-slider__pagination.swiper-pagination-lock {
    display: none;
}

.collection-slider__pagination .swiper-pagination-bullet {
    flex: 1 0 0;
    width: auto;
}

/* Initiative page (Figma 1265:4299): a 2-column grid, one card per row below 768px. */
.collection-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.collection-list .collection-card {
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .collection-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Figma trims the Back text to its cap height, so its 24px/64px gaps
   translate into a smaller margin around the 24px line box here.
   The site header is 86px tall, not Figma's 90px, so the offset is from the page top. */
.resources-list-page .resources-list-page__header {
    margin-top: 108px;
}

.resources-list-page .back-link {
    color: #F16022;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    margin-bottom: 57px;
    display: block;
    /* Only the link itself is hoverable, not the empty row next to it. */
    width: fit-content;
    transition: color 0.3s ease;
}

/* Tertiary button hover from the component library: orange/300 to orange/400. */
.resources-list-page .back-link:hover,
.resources-list-page .back-link:focus-visible {
    color: #AF4111;
    text-decoration: none;
}

.resources-list-page .initiative-title {
    color: #F16022;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 20px;
}

.resources-list-page .post-title {
    color: #3C3C3C;
    font-size: 48px;
    font-weight: 500;
    line-height: 52px;
    letter-spacing: -1.92px;
    margin-bottom: 48px;
}

.resources-list-page .resources-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    margin-bottom: 96px;
}

/* Resources toolbar */
.resources-list-page .resources-toolbar {
    margin-top: 64px;
}

/* No collections: the toolbar sits 48px under the heading (Figma 1310:9877). */
.resources-list-page .resources-list-page__header + .resources-toolbar {
    margin-top: 48px;
}

.resources-list-page .resources-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.resources-toolbar__filters,
.resources-toolbar__options {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.resources-toolbar__options {
    gap: 16px;
}

/* The Sort menu opens to the left: the dropdown sits at the right edge of the page. */
.resources-toolbar__options .checkbox-dropdown__menu {
    right: 0;
    left: auto;
    width: 200px;
}

/* Search: 618px next to Category, shrinks when the row gets narrow. */
.resources-list-page .resources-toolbar__filters {
    flex: 1 1 auto;
    gap: 16px;
    min-width: 0;
}

.resources-list-page .resources-toolbar__options {
    flex-shrink: 0;
}

.resources-search {
    display: flex;
    flex: 0 1 618px;
    align-items: center;
    gap: 12px;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #999;
    border-radius: 8px;
    background: #fff;
    color: #3C3C3C;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.resources-search:focus-within {
    border-color: #3C3C3C;
}

.resources-search:has(.resources-search__input:focus-visible) {
    outline: 2px solid #357BCD;
    outline-offset: 2px;
}

.resources-search__icon {
    display: flex;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* The theme fills every svg with currentColor; this icon is stroke only. */
.resources-search__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
}

.resources-search__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: none;
    background: none;
    box-shadow: none;
    color: #3C3C3C;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    appearance: none;
}

.resources-search__input::placeholder {
    color: #666;
    opacity: 1;
}

.resources-search__input::-webkit-search-decoration,
.resources-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

/* Clears the field; replaces the browser's own cancel button hidden above. */
.resources-search__clear {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #666;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.resources-search__clear[hidden] {
    display: none;
}

.resources-search__clear:hover {
    color: #3C3C3C;
}

.resources-search__clear:focus-visible {
    outline: 2px solid #357BCD;
    outline-offset: 0;
}

/* Mobile: search on its own row on top, Category and Sort below it. */
@media (max-width: 767px) {
    .resources-list-page .resources-toolbar {
        flex-wrap: wrap;
        gap: 24px 12px;
    }

    .resources-list-page .resources-toolbar__filters {
        display: contents;
    }

    .resources-search {
        flex: 0 0 100%;
        order: -1;
    }
}

/* View switch: Card / List */
.resources-view-switch {
    display: flex;
    height: 48px;
}

.resources-view-switch__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #999;
    background: #fff;
    color: #666;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.resources-view-switch__button:first-child {
    border-right: 0;
    border-radius: 6px 0 0 6px;
}

.resources-view-switch__button:last-child {
    border-radius: 0 6px 6px 0;
}

.resources-view-switch__button:hover {
    color: #0D4F80;
}

.resources-view-switch__button[aria-pressed="true"] {
    background: #DDEDF8;
    color: #0D4F80;
}

.resources-view-switch__button:focus-visible {
    position: relative;
    outline: 2px solid #357BCD;
    outline-offset: 2px;
}

/* Filter dropdown */
.checkbox-dropdown {
    position: relative;
}

.checkbox-dropdown__control {
    display: flex;
    align-items: stretch;
    height: 48px;
    border: 1px solid #999;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkbox-dropdown.is-open .checkbox-dropdown__control {
    border-color: #3C3C3C;
}

.checkbox-dropdown__toggle,
.checkbox-dropdown__clear {
    display: flex;
    align-items: center;
    margin: 0;
    border: 0;
    background: none;
    color: #3C3C3C;
    font: inherit;
    cursor: pointer;
}

.checkbox-dropdown__toggle {
    gap: 8px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    white-space: nowrap;
}

.checkbox-dropdown__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #999;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.checkbox-dropdown.is-open .checkbox-dropdown__chevron {
    transform: rotate(180deg);
}

.checkbox-dropdown__clear {
    justify-content: flex-end;
    width: 30px;
    padding: 0;
    border-left: 1px solid rgba(85, 167, 221, 0.5);
    font-size: 12px;
}

.checkbox-dropdown__clear[hidden] {
    display: none;
}

.checkbox-dropdown__toggle:focus-visible,
.checkbox-dropdown__clear:focus-visible {
    outline: none;
}

.checkbox-dropdown__control:has(:focus-visible) {
    outline: 2px solid #357BCD;
    outline-offset: 2px;
}

/* Single-select (Sort): the selected option is marked with a check on the right. */
.checkbox-dropdown__mark {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    color: #F16022;
    font-size: 12px;
    visibility: hidden;
}

.checkbox-dropdown__input:checked ~ .checkbox-dropdown__mark {
    visibility: visible;
}

.checkbox-dropdown--single .checkbox-dropdown__item:has(.checkbox-dropdown__input:focus-visible) {
    outline: 2px solid #357BCD;
    outline-offset: -2px;
}

/* Active: "Toolkit + 1 | x" */
.checkbox-dropdown.is-active .checkbox-dropdown__control {
    padding-right: 16px;
    border-color: #0D4F80;
    background: #DDEDF8;
}

.checkbox-dropdown.is-active .checkbox-dropdown__toggle,
.checkbox-dropdown.is-active .checkbox-dropdown__clear {
    color: #0D4F80;
}

.checkbox-dropdown.is-active .checkbox-dropdown__chevron {
    display: none;
}

.checkbox-dropdown__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 20;
    width: 261px;
    max-height: 528px;
    padding: 4px;
    overflow-y: auto;
    border: 1px solid rgba(60, 60, 60, 0.2);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.checkbox-dropdown__menu[hidden] {
    display: none;
}

.checkbox-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    color: #3C3C3C;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
    box-sizing: border-box;
}

.checkbox-dropdown__item:hover {
    background: #F7F7F7;
}

.checkbox-dropdown__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.checkbox-dropdown__checkbox {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
    color: transparent;
    font-size: 10px;
    box-sizing: border-box;
}

.checkbox-dropdown__input:checked + .checkbox-dropdown__checkbox {
    border-color: #F16022;
    background: #F16022;
    color: #fff;
}

.checkbox-dropdown__input:focus-visible + .checkbox-dropdown__checkbox {
    outline: 2px solid #357BCD;
    outline-offset: 2px;
}

.checkbox-dropdown__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* List view. Both views are in `.resources-results`; `.is-view-list` on the page picks one. */
.resources-list-page .resources-table {
    display: none;
    width: 100%;
    margin: 64px 0 96px;
    border: 1px solid rgba(60, 60, 60, 0.2);
    border-radius: 18px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    overflow: hidden;
    background: #F5F5F5;
}

.resources-list-page.is-view-list .resources-list {
    display: none;
}

.resources-list-page.is-view-list .resources-table {
    display: table;
}

.resources-table th,
.resources-table td {
    padding: 24px;
    border: 0;
    border-bottom: 1px solid rgba(60, 60, 60, 0.2);
    background: none;
    text-align: left;
    vertical-align: middle;
}

.resources-table tbody tr:last-child td {
    border-bottom: 0;
}

.resources-table th {
    color: #3C3C3C;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.resources-table .resources-table__category {
    width: 272px;
}

.resources-table .resources-table__date {
    width: 180px;
}

.resources-table .resources-table__size,
.resources-table .resources-table__link {
    width: 100px;
}

.resources-table__title {
    display: block;
    overflow: hidden;
    color: #3C3C3C;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: -0.18px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.resources-table .resource-type-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resources-table td.resources-table__date,
.resources-table td.resources-table__size {
    color: #666;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
}

.resources-table td.resources-table__link {
    color: #F16022;
    font-size: 18px;
    line-height: 18px;
    text-align: right;
}

/* Same arrow-to-diamond hover as the grid cards. */
.resources-table .file-type-icon {
    display: inline-flex;
}

/* Nothing matches the filters: message with Clear All, then Latest Resources. */
.resources-list-page .resources-no-results {
    display: flex;
    flex-direction: column;
    gap: 96px;
    padding: 96px 0;
}

.resources-no-results__message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 652px;
}

.resources-list-page .resources-no-results__title {
    margin: 0;
    color: #3C3C3C;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.resources-list-page .resources-no-results__text {
    margin: 10px 0 0;
    color: #3C3C3C;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.resources-no-results__clear {
    display: inline-flex;
    align-items: center;
    height: 48px;
    margin: 36px 0 0;
    padding: 0 20px;
    border: 1px solid #F16022;
    border-radius: 8px;
    background: #fff;
    color: #F16022;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.resources-no-results__clear:hover {
    background: #FEEFE9;
}

.resources-no-results__clear:focus-visible {
    outline: 2px solid #357BCD;
    outline-offset: 2px;
}

.resources-list-page .resources-latest__title {
    margin: 0 0 24px;
    color: #3C3C3C;
    font-family: ministry, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -1.28px;
    text-transform: none;
}

/* Cards in both views: list view has no table for Latest Resources. */
.resources-list-page .resources-latest__list,
.resources-list-page.is-view-list .resources-latest__list {
    display: grid;
    margin: 0;
}

@media (max-width: 767px) {
    .resources-list-page .resources-no-results__title {
        letter-spacing: -0.24px;
    }

    .resources-list-page .resources-no-results__text {
        margin-top: 4px;
        color: #666;
        font-size: 16px;
        line-height: 24px;
    }

    .resources-no-results__clear {
        margin-top: 24px;
    }

    .resources-list-page .resources-latest__title {
        font-family: acumin-pro, sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 28px;
        letter-spacing: -0.24px;
    }

    .resources-list-page .resources-latest__list {
        gap: 16px;
    }
}

/* Results are being replaced by the filter request. The fade and the spinner
   start after 150ms, so fast responses don't flash. */
.resources-list-page .resources-results {
    position: relative;
}

.resources-list-page .resources-results > * {
    transition: opacity 0.2s ease;
}

.resources-list-page .resources-results.is-loading {
    pointer-events: none;
}

.resources-list-page .resources-results.is-loading > * {
    opacity: 0.4;
    transition-delay: 0.15s;
}

/* Centered on short results, kept near the top of long ones (stays in view under the toolbar). */
.resources-list-page .resources-results.is-loading::after {
    content: '';
    position: absolute;
    top: min(50%, 160px);
    left: 50%;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(241, 96, 34, 0.25);
    border-top-color: #F16022;
    border-radius: 50%;
    opacity: 0;
    animation: tcSpin 0.8s linear infinite, tcResourcesLoaderIn 0.2s ease 0.15s forwards;
}

@keyframes tcResourcesLoaderIn {
    to {
        opacity: 1;
    }
}

/* Collection page (single-collections_cpt.php). Reuses the resources list page: Back link,
   toolbar (search and view switch only), cards and the list view table. */
.collection-page .collection-page__header {
    position: relative;
    /* Same as .resources-list-page__header, so Back does not move between Browse and a collection. */
    margin-top: 108px;
}

.collection-page .collection-page__heading {
    max-width: calc(100% - 380px);
}

.collection-page .collection-page__label {
    margin: 0 0 24px;
    color: #666;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.collection-page .collection-page__title {
    margin: 0;
    color: #3C3C3C;
    font-family: ministry, sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 52px;
    letter-spacing: -1.92px;
}

.collection-page .collection-page__excerpt {
    margin: 16px 0 0;
    color: #666;
    font-size: 24px;
    line-height: 36px;
}

/* The collection card illustration (get_icon_cpt()) at the Figma size: 276px wide artwork.
   The svg is wider than the artwork because of its drop shadows, hence 324px. */
.collection-page .collection-page__illustration {
    position: absolute;
    top: 32px;
    right: 55px;
    width: 324px;
}

.collection-page .collection-page__illustration svg {
    display: block;
    width: 100%;
    height: auto;
    fill: none;
    stroke: none;
    /* The artwork touches the bottom of its viewBox, so the drop shadow is drawn outside it. */
    overflow: visible;
}

.collection-page .resources-list,
.collection-page .resources-table {
    margin-top: 32px;
}

.collection-page .collection-page__read-more {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: #357BCD;
    font: inherit;
    font-weight: 400;
    text-decoration: underline;
    font-size: 18px;
    cursor: pointer;
    margin-top: 8px;
}

.collection-page .collection-page__read-more:hover,
.collection-page .collection-page__read-more:focus-visible {
    color: #0D4F80;
}

.collection-modal {
    width: 740px;
    max-width: calc(100% - 48px);
    max-height: calc(100% - 96px);
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #666;
    font-family: acumin-pro, sans-serif;
    font-weight: 400;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overscroll-behavior: contain;
}

.collection-modal[open] {
    display: flex;
    animation: collection-modal-in 200ms ease-out;
}

.collection-modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.collection-modal[open]::backdrop {
    animation: collection-modal-fade-in 200ms ease-out;
}

.collection-modal.is-closing {
    animation: collection-modal-out 150ms ease-in forwards;
}

.collection-modal.is-closing::backdrop {
    animation: collection-modal-fade-out 150ms ease-in forwards;
}

@media (prefers-reduced-motion: reduce) {
    .collection-modal[open] {
        animation-name: collection-modal-fade-in;
    }

    .collection-modal.is-closing {
        animation-name: collection-modal-fade-out;
    }
}

@keyframes collection-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes collection-modal-out {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes collection-modal-fade-in {
    from {
        opacity: 0;
    }
}

@keyframes collection-modal-fade-out {
    to {
        opacity: 0;
    }
}

.collection-modal__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
    background: #fff;
}

.collection-modal__header {
    position: relative;
    flex-shrink: 0;
    padding: 52px 32px 36px;
    background: #357BCD;
    color: #fff;
    margin-bottom: 12px;
}

.collection-modal__close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 20px;
    height: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.9;
}

.collection-modal__close:hover,
.collection-modal__close:focus-visible {
    opacity: 1;
}

.collection-modal .collection-modal__label {
    margin: 0 0 12px;
    color: #F7F7F7;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
}

.collection-modal .collection-modal__title {
    margin: 0;
    color: #fff;
    font-family: ministry, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-transform: none;
}

.collection-modal .collection-modal__excerpt {
    margin: 16px 0 0;
    color: #F7F7F7;
    font-size: 18px;
    line-height: 27px;
}

.collection-modal__content {
    flex: 1;
    min-height: 0;
    padding: 24px 32px;
    overflow-y: auto;
}

.initiative-flex-content.collection-modal__content {
    gap: 24px;
}

/* The content scrolls, so its blocks keep their height; a scrolling block (the table)
   would otherwise be squeezed to fit. */
.collection-modal__content > * {
    flex-shrink: 0;
}

.collection-modal__content h5,
.collection-modal__content h6 {
    margin: 0 0 16px;
    color: #3C3C3C;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: 0;
    text-transform: none;
}

.collection-modal__content .overview-list h5,
.collection-modal__content .overview-list h6 {
    font-size: 18px;
    line-height: 26px;
}

.initiative-flex-content.collection-modal__content p {
    font-size: 16px;
    line-height: 24px;
}

.collection-modal__content p + p {
    margin-top: 16px;
}

.collection-modal__content .overview-table,
.collection-modal__content .overview-image,
.collection-modal__content .overview-video {
    width: 100%;
}

.collection-modal__footer {
    display: flex;
    flex-shrink: 0;
    justify-content: flex-end;
    padding: 12px 24px 24px;
}

.collection-modal__footer .overview-read-more {
    padding: 15px 20px;
}

.collection-modal__content > :first-child {
    margin-top: 0;
}

.collection-modal__content > :last-child,
.collection-modal__content > :last-child > :last-child {
    margin-bottom: 0;
}

.collection-page .collection-page__empty {
    margin: 64px 0 96px;
    color: #666;
    font-size: 18px;
}

/* Resource preview drawer (inc/initiatives-template/resource-drawer.php) */
.resources-card,
.resources-table__row {
    position: relative;
}

.resources-card__opener,
.resources-table__opener {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: none;
    cursor: pointer;
}

.resources-card__opener:focus-visible,
.resources-table__opener:focus-visible {
    outline: 2px solid #F16022;
    outline-offset: 2px;
}

.has-resource-drawer {
    overflow: hidden;
}

.resource-drawer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    font-family: acumin-pro, sans-serif;
    font-weight: 400;
}

/* Headings default to the display font and paragraphs to light; the drawer uses Acumin Pro
   Regular throughout. */
.resource-drawer h2,
.resource-drawer h3 {
    font-family: inherit;
}

.resource-drawer p {
    font-family: inherit;
    font-weight: inherit;
}

.resource-drawer[hidden] {
    display: none;
}

.resource-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(60, 60, 60, 0.9);
}

/* Covers the screen but lets clicks through to the overlay, which closes the drawer. */
.resource-drawer__dialog {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.resource-drawer__sheet {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 484px;
    max-width: 100%;
    border-left: 1px solid rgba(60, 60, 60, 0.2);
    background: #fff;
    pointer-events: auto;
}

/* Pinned over the scrolling body. On scroll it collapses into the title bar. */
.resource-drawer__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding: 32px 32px 16px;
    border-bottom: 1px solid transparent;
    background: #fff;
}

.resource-drawer .resource-drawer__header-title {
    display: none;
    align-self: stretch;
    margin: 0;
    color: #3C3C3C;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
}

.resource-drawer__dialog.is-scrolled .resource-drawer__header {
    padding-bottom: 32px;
    border-bottom-color: rgba(60, 60, 60, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.resource-drawer .resource-drawer__dialog.is-scrolled .resource-drawer__header-title {
    display: block;
}

.resource-drawer__close {
    width: 20px;
    height: 16px;
    padding: 0;
    border: 0;
    background: none;
    color: #666;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
}

.resource-drawer__close--preview {
    display: none;
}

.resource-drawer__body {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 64px 32px 32px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.resource-drawer__intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resource-drawer .resource-type-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resource-drawer__title {
    margin: 0;
    color: #3C3C3C;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0;
    text-transform: none;
}

.resource-drawer__description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: #666;
    font-size: 18px;
    line-height: 28px;
}

.resource-drawer__description-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.resource-drawer__description-content p,
.resource-drawer__description-content ul,
.resource-drawer__description-content ol {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.resource-drawer__description-content ul,
.resource-drawer__description-content ol {
    padding-left: 24px;
}

.resource-drawer__description-content ul {
    list-style: disc;
}

.resource-drawer__description-content ol {
    list-style: decimal;
}

.resource-drawer__description-content li {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

/* Blue text links in the drawer (links in the description and Read More) share the
   component library's inline link: blue/400, Medium, underline that thickens on hover. */
.resource-drawer__description-content a,
.resource-drawer__read-more {
    color: #0D4F80;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 0.05em;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
    transition: text-decoration-thickness 0.15s ease;
}

.resource-drawer__description-content a:hover,
.resource-drawer__description-content a:focus-visible,
.resource-drawer__read-more:hover,
.resource-drawer__read-more:focus-visible {
    color: #0D4F80;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
}

.resource-drawer__description-content strong,
.resource-drawer__description-content b {
    font-weight: 700;
}

.resource-drawer__description-content em,
.resource-drawer__description-content i {
    font-style: italic;
}

.resource-drawer__description.is-collapsed .resource-drawer__description-content > :not(:first-child) {
    display: none;
}

.resource-drawer__read-more {
    padding: 0;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
}

.resource-drawer__details,
.resource-drawer__section {
    padding-top: 36px;
    border-top: 1px solid rgba(60, 60, 60, 0.2);
}

.resource-drawer__details,
.resource-drawer__files {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.resource-drawer__details li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3C3C3C;
    font-size: 18px;
    line-height: 24px;
}

.resource-drawer__details i {
    width: 24px;
    flex-shrink: 0;
    font-size: 18px;
    text-align: center;
}

.resource-drawer__section {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.resource-drawer__section-title {
    margin: 0;
    color: #F16022;
    font-size: 16px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.64px;
    text-transform: uppercase;
}

/* Icons stay on the first line when a title wraps: top-aligned, with the text's line height. */
.resource-drawer__files a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #3C3C3C;
    font-size: 18px;
    line-height: 24px;
    text-decoration: none;
}

.resource-drawer__files a > i {
    line-height: 24px;
}

.resource-drawer__files a > i:first-child {
    width: 20px;
    flex-shrink: 0;
    font-size: 18px;
    text-align: center;
}

.resource-drawer__files a > span {
    flex: 1;
}

.resource-drawer__files a:hover > span {
    text-decoration: underline;
}

.resource-drawer__file-action {
    width: 24px;
    color: #F16022;
    font-size: 18px;
    text-align: center;
}

/* Pinned to the bottom. The border shows once the body scrolls under it. */
.resource-drawer__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding: 32px;
    border-top: 1px solid transparent;
    background: #fff;
}

.resource-drawer__dialog.is-overflowing .resource-drawer__footer {
    border-top-color: rgba(60, 60, 60, 0.2);
}

.resource-drawer__download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #F16022;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    text-decoration: underline;
}

.resource-drawer__download:hover {
    color: #C0420C;
}

.resource-drawer__open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 64px;
    padding: 16px 24px;
    border-radius: 8px;
    background: #F16022;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    text-decoration: none;
}

.resource-drawer__open:hover,
.resource-drawer__open:focus {
    background: #C0420C;
    color: #fff;
    text-decoration: none;
}

.resource-drawer__download i,
.resource-drawer__open i {
    width: auto;
    font-size: 18px;
}

/* Document preview, left of the sheet. The top padding keeps the preview centred. */
.resource-drawer__preview {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 484px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 38px;
    padding: 102px 74px 0;
}

/* Filled by tc_resource_drawer_preview (the TC-151 document viewer), which brings its own controls. */
.resource-drawer__preview-content {
    width: min(808px, 100%);
    pointer-events: auto;
}

/* Document viewer of the tc-document-preview plugin (TC-151), restyled to the drawer design:
   the page on a white card, under it "prev, Slide 1 of 13, next". The plugin's CSS loads after
   this file, hence the longer selectors. */
.resource-drawer__preview .tc-docprev {
    --tc-docprev-bg: transparent;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: none;
    color: #F7F7F7;
}

.resource-drawer__preview .tc-docprev__area {
    display: grid;
    grid-template-columns: 1fr 64px auto 64px 1fr;
    /* The button row keeps its height without buttons (one page), so the card doesn't move. */
    grid-template-rows: auto 64px;
    align-items: center;
    row-gap: 38px;
    height: auto;
    min-height: 0;
    overflow: visible;
    background: none;
}

/* The card: page, loading state and "being prepared" note all sit in it. */
.resource-drawer__preview .tc-docprev .tc-docprev__swiper,
.resource-drawer__preview .tc-docprev__loading,
.resource-drawer__preview .tc-docprev__message {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    aspect-ratio: 808 / 449;
    border: 1px solid rgba(60, 60, 60, 0.2);
    border-radius: 13px;
    background: #fff;
}

.resource-drawer__preview .tc-docprev__loading,
.resource-drawer__preview .tc-docprev__message {
    z-index: 2;
    color: #3C3C3C;
    font-size: 16px;
    line-height: 24px;
}

.resource-drawer__preview .tc-docprev__spinner {
    border-top-color: #E65F25;
}

/* Portrait pages letterbox on the white card instead of being cropped. */
.resource-drawer__preview .tc-docprev__slide {
    padding: 0;
}

.resource-drawer__preview .tc-docprev__page {
    box-shadow: none;
}

.resource-drawer__preview .tc-docprev__nav {
    position: static;
    grid-row: 2;
    width: 64px;
    height: 64px;
    border: 1px solid #F7F7F7;
    background: none;
    box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #fff;
    transform: none;
}

.resource-drawer__preview .tc-docprev__nav--prev {
    grid-column: 2;
}

.resource-drawer__preview .tc-docprev__nav--next {
    grid-column: 4;
}

.resource-drawer__preview .tc-docprev__nav:hover,
.resource-drawer__preview .tc-docprev__nav:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

.resource-drawer__preview .tc-docprev__nav:disabled {
    background: none;
    opacity: 0.4;
    cursor: default;
}

/* The theme's SVG rules would fill the plugin's line chevrons. */
.resource-drawer__preview .tc-docprev__nav svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.resource-drawer__preview .tc-docprev__nav svg * {
    fill: none;
}

/* "1 / 13" becomes "Slide 1 of 13" (pages for documents other than presentations). */
.resource-drawer__preview .tc-docprev__indicator {
    position: static;
    grid-column: 3;
    grid-row: 2;
    margin: 0 56px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #F7F7F7;
    font-size: 0;
    font-weight: 400;
    white-space: nowrap;
    transform: none;
}

.resource-drawer__preview .tc-docprev__indicator span {
    font-size: 18px;
    line-height: 28px;
}

.resource-drawer__preview .tc-docprev__current::before {
    content: "Page\00a0";
}

.resource-drawer__preview .tc-docprev--pptx .tc-docprev__current::before {
    content: "Slide\00a0";
}

.resource-drawer__preview .tc-docprev__total::before {
    content: "\00a0of\00a0";
}

@media (max-width: 1024px) {
    .resource-drawer__preview {
        padding-left: 24px;
        padding-right: 24px;
    }
}
