/* All selectors are scoped. Typography families remain controlled by the theme. */
.mds-fb {
    --mds-fb-columns: 3;
    --mds-fb-photo-height: 216px;
    --mds-fb-min-height: 402px;
    --mds-fb-gap: 16px;
    --mds-fb-radius: 12px;
    --mds-fb-section-padding: 32px;
    --mds-fb-section-background: #faf7f5;
    --mds-fb-heading-color: #006639;
    --mds-fb-eyebrow-color: #58675f;
    container: mds-flipbox / inline-size;
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
    padding: var(--mds-fb-section-padding);
    background: var(--mds-fb-section-background);
    text-align: left;
    isolation: isolate;
}
.mds-fb, .mds-fb *, .mds-fb *::before, .mds-fb *::after { box-sizing: border-box; }
.mds-fb [hidden] { display: none !important; }
.mds-fb .mds-fb__heading { text-align: center; margin: 0 0 26px; padding: 0; }
.mds-fb .mds-fb__eyebrow {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.5;
    color: #02833e;
}
.mds-fb .mds-fb__section-title { margin: 0; padding: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.15; color: var(--mds-fb-heading-color); overflow-wrap: anywhere; }
.mds-fb .mds-fb__grid { display: grid; grid-template-columns: repeat(var(--mds-fb-columns), minmax(0, 1fr)); gap: var(--mds-fb-gap); min-width: 0; }
.mds-fb .mds-fb__card { min-width: 0; margin: 0; display: grid; perspective: 1400px; }
.mds-fb .mds-fb__turn { min-width: 0; width: 100%; position: relative; }
.mds-fb .mds-fb__face { display: flex; flex-direction: column; min-width: 0; position: relative; border: 1px solid rgb(57 33 20 / 5%); border-radius: var(--mds-fb-radius); box-shadow: 0 4px 18px rgb(57 33 20 / 7%); background: var(--mds-fb-front-background); }
.mds-fb .mds-fb__photo { height: var(--mds-fb-photo-height); flex: 0 0 var(--mds-fb-photo-height); overflow: hidden; position: relative; border-radius: max(0px, calc(var(--mds-fb-radius) - 1px)) max(0px, calc(var(--mds-fb-radius) - 1px)) 0 0; background: var(--mds-fb-back-background); }
.mds-fb .mds-fb__photo .mds-fb__image { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; object-position: var(--mds-fb-photo-position, center); }
.mds-fb .mds-fb__photo-placeholder { display: grid; place-items: center; height: 100%; color: var(--mds-fb-accent); }
.mds-fb .mds-fb__photo-placeholder svg { width: 52px; height: 52px; opacity: .45; }
.mds-fb .mds-fb__front-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px 20px 16px; border-top: 4px solid var(--mds-fb-stripe-color); }
.mds-fb .mds-fb__title { margin: 0; padding: 0; font-size: 31px; line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; color: var(--mds-fb-front-title-color); overflow-wrap: anywhere; }
.mds-fb .mds-fb__title > span { display: block; }
.mds-fb .mds-fb__open, .mds-fb .mds-fb__close {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    color: var(--mds-fb-action-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
}
.mds-fb .mds-fb__open { justify-content: space-between; text-align: left; padding: 0; margin: auto 0 0; width: 100%; }
.mds-fb .mds-fb__open::after { content: ""; position: absolute; inset: 0; border-radius: var(--mds-fb-radius); }
.mds-fb .mds-fb__arrow { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--mds-fb-back-background); }
.mds-fb .mds-fb__arrow svg { display: block; width: 18px; height: 18px; }
.mds-fb .mds-fb__open:hover > span:first-child, .mds-fb .mds-fb__close:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.mds-fb .mds-fb__back { padding: 14px 20px 18px; background: var(--mds-fb-back-background); border-top: 4px solid var(--mds-fb-stripe-color); }
.mds-fb .mds-fb__back .mds-fb__title { color: var(--mds-fb-back-title-color); }
.mds-fb .mds-fb__back-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 12px; margin: 0 0 8px; }
.mds-fb .mds-fb__back-icon { color: var(--mds-fb-icon-color); display: flex; align-items: center; width: 30px; height: 30px; flex: 0 0 30px; }
.mds-fb .mds-fb__back-icon svg { width: 30px; height: 30px; display: block; }
.mds-fb .mds-fb__back-icon .mds-fb__icon-image { display: block; width: 30px; height: 30px; max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; }
.mds-fb .mds-fb__close { justify-content: center; min-width: 64px; padding: 6px 0 6px 8px; margin: 0; }
.mds-fb .mds-fb__close svg { width: 14px; height: 14px; flex: 0 0 14px; }
.mds-fb .mds-fb__description { font-size: 15px; line-height: 1.55; color: var(--mds-fb-text-color); margin: 12px 0 16px; overflow-wrap: anywhere; }
.mds-fb .mds-fb__description p { font-size: inherit; line-height: inherit; color: inherit; margin: 0 0 .75em; padding: 0; }
.mds-fb .mds-fb__description p:last-child { margin-bottom: 0; }
.mds-fb .mds-fb__learn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    margin: auto 0 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 5px;
    box-shadow: none;
    background: var(--mds-fb-button-background);
    color: var(--mds-fb-button-text-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
    overflow-wrap: anywhere;
}
.mds-fb .mds-fb__learn:hover, .mds-fb .mds-fb__learn:focus { color: var(--mds-fb-button-text-color); background: var(--mds-fb-button-background); text-decoration: underline; text-underline-offset: 3px; }
.mds-fb .mds-fb__learn > svg { width: 18px; height: 18px; flex: 0 0 18px; }
.mds-fb .mds-fb__open:focus-visible, .mds-fb .mds-fb__close:focus-visible, .mds-fb .mds-fb__learn:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mds-fb .mds-fb__learn:focus-visible { outline-color: var(--mds-fb-action-color); }
.mds-fb .mds-fb__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Progressive enhancement: without JS, the description and link stay visible. */
.mds-fb:not(.mds-fb--ready) .mds-fb__front { border-radius: var(--mds-fb-radius) var(--mds-fb-radius) 0 0; }
.mds-fb:not(.mds-fb--ready) .mds-fb__back { border-radius: 0 0 var(--mds-fb-radius) var(--mds-fb-radius); border-top: 0; }
.mds-fb:not(.mds-fb--ready) .mds-fb__back-title { display: none; }
.mds-fb.mds-fb--ready .mds-fb__turn { display: grid; transform-style: preserve-3d; transition: transform 620ms cubic-bezier(.2, .7, .15, 1); }
.mds-fb.mds-fb--ready .mds-fb__face { grid-area: 1 / 1; min-height: var(--mds-fb-min-height); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mds-fb.mds-fb--ready .mds-fb__front { transform: rotateY(0deg); }
.mds-fb.mds-fb--ready .mds-fb__back { transform: rotateY(180deg); }
.mds-fb.mds-fb--ready .mds-fb__card--flipped .mds-fb__turn { transform: rotateY(180deg); }
.mds-fb.mds-fb--ready .mds-fb__face[aria-hidden="true"] { pointer-events: none; }

@media (min-width: 1000px) {
    .mds-fb .mds-fb__front-copy, .mds-fb .mds-fb__back { padding-left: 24px; padding-right: 24px; }
    .mds-fb .mds-fb__title { font-size: 35px; }
    .mds-fb .mds-fb__description { font-size: 16px; }
}
@media (max-width: 650px) {
    .mds-fb { padding: min(var(--mds-fb-section-padding), 20px); }
    .mds-fb .mds-fb__grid { grid-template-columns: minmax(0, 1fr); max-width: 410px; margin: 0 auto; }
}
@container mds-flipbox (max-width: 600px) {
    .mds-fb .mds-fb__grid { grid-template-columns: minmax(0, 1fr); max-width: 410px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .mds-fb.mds-fb--ready .mds-fb__turn { transition: none; }
}
@media print {
    .mds-fb .mds-fb__grid { display: block; }
    .mds-fb .mds-fb__card { break-inside: avoid; margin-bottom: 20px; }
    .mds-fb.mds-fb--ready .mds-fb__turn { display: block; transform: none; }
    .mds-fb.mds-fb--ready .mds-fb__face { min-height: 0; transform: none; box-shadow: none; }
    .mds-fb .mds-fb__open, .mds-fb .mds-fb__close, .mds-fb .mds-fb__back-title { display: none; }
}

.mds-fb__section-title {
    margin-bottom: 38px!important;
}
.mds-fb.mds-fb--ready .mds-fb__front {
    cursor: pointer;
}