.fuel-case-library {
    --fuel-red: #d71920;
    --fuel-red-dark: #a80e14;
    --fuel-ink: #18191b;
    --fuel-charcoal: #25272a;
    --fuel-muted: #5d6267;
    --fuel-line: #dfe1e2;
    --fuel-soft: #f3f3f1;
    --fuel-white: #ffffff;
    color: var(--fuel-ink);
    background: var(--fuel-white);
    font: 400 16px/1.6 Inter, Arial, sans-serif;
    overflow-wrap: break-word;
}

.fuel-case-library *,
.fuel-case-library *::before,
.fuel-case-library *::after { box-sizing: border-box; }
.fuel-case-library a { color: inherit; text-underline-offset: 4px; }
.fuel-case-library img { display: block; max-width: 100%; }
.fuel-case-library h1,
.fuel-case-library h2,
.fuel-case-library h3,
.fuel-case-library p { margin-top: 0; }
.fuel-case-library h1,
.fuel-case-library h2,
.fuel-case-library h3 { color: var(--fuel-ink); }
.fuel-case-library :where(a, button, input, select):focus-visible {
    outline: 3px solid #145fc4;
    outline-offset: 4px;
}
.fuel-library-wrap {
    width: min(1320px, calc(100% - 64px));
    margin-inline: auto;
}
.fuel-library-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #7f0c12;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}
.fuel-library-eyebrow::before {
    width: 8px;
    height: 8px;
    background: var(--fuel-red);
    content: "";
    flex: 0 0 auto;
}
.fuel-library-eyebrow--dark { color: var(--fuel-charcoal); }

.fuel-library-hero {
    overflow: hidden;
    border-bottom: 1px solid var(--fuel-line);
    background:
        radial-gradient(circle at 88% 12%, rgba(215,25,32,.10), transparent 25%),
        linear-gradient(135deg, #fff 20%, #f3f3f1 100%);
}
.fuel-library-breadcrumbs {
    display: flex;
    gap: 9px;
    padding-top: 22px;
    color: var(--fuel-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.fuel-library-breadcrumbs a { text-decoration: none; }
.fuel-library-breadcrumbs a:hover { text-decoration: underline; }
.fuel-library-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(480px, 1.16fr);
    gap: clamp(40px, 6vw, 92px);
    align-items: center;
    padding: clamp(42px, 6vw, 74px) 0 48px;
}
.fuel-library-hero__copy h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-family: Anton, Impact, "Arial Narrow", sans-serif;
    font-size: clamp(52px, 5.35vw, 78px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .98;
    text-transform: uppercase;
}
.fuel-library-hero__copy h1 em {
    color: var(--fuel-red);
    font-style: normal;
}
.fuel-library-lede {
    max-width: 610px;
    margin-bottom: 28px;
    color: var(--fuel-muted);
    font-size: 17px;
    line-height: 1.68;
}
.fuel-library-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
}
.fuel-library-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 13px 20px;
    border: 1px solid var(--fuel-red-dark);
    background: var(--fuel-red);
    box-shadow: 0 8px 20px rgba(168,14,20,.15);
    color: var(--fuel-white) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
    text-decoration: none;
    text-transform: uppercase;
}
.fuel-library-button:hover { background: var(--fuel-red-dark); }
.fuel-library-text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.fuel-library-feature {
    overflow: hidden;
    margin: 0;
    border: 1px solid #d6d8d9;
    background: var(--fuel-white);
    box-shadow: 18px 22px 0 #dededb, 0 28px 50px rgba(24,25,27,.12);
}
.fuel-library-feature > img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--fuel-soft);
}
.fuel-library-feature__body {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(220px, 1.28fr);
    gap: 30px;
    padding: 28px 30px 30px;
    border-top: 5px solid var(--fuel-red);
}
.fuel-library-feature__eyebrow {
    margin-bottom: 8px;
    color: var(--fuel-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}
.fuel-library-feature__number {
    margin-bottom: 5px;
    color: var(--fuel-red);
    font-size: clamp(40px, 4.2vw, 62px);
    font-weight: 850;
    letter-spacing: -.06em;
    line-height: 1;
    white-space: nowrap;
}
.fuel-library-feature__number span { font-size: .5em; vertical-align: .12em; }
.fuel-library-feature h2 {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 780;
    letter-spacing: -.015em;
    line-height: 1.35;
}
.fuel-library-feature__detail {
    align-self: end;
    padding-left: 24px;
    border-left: 1px solid var(--fuel-line);
}
.fuel-library-feature__detail p {
    margin-bottom: 11px;
    color: var(--fuel-muted);
    font-size: 12px;
}
.fuel-library-feature__detail a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--fuel-line);
    padding-top: 12px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
}
.fuel-library-feature__detail a:hover { color: var(--fuel-red-dark); }
.fuel-library-hero__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #d6d8d9;
}
.fuel-library-hero__rail > div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 16px 24px;
}
.fuel-library-hero__rail > div:first-child { padding-left: 0; }
.fuel-library-hero__rail > div + div { border-left: 1px solid #d6d8d9; }
.fuel-library-hero__rail > div > span {
    color: var(--fuel-red);
    font-size: 11px;
    font-weight: 850;
}
.fuel-library-hero__rail p { margin: 0; }
.fuel-library-hero__rail strong,
.fuel-library-hero__rail small { display: block; }
.fuel-library-hero__rail strong { font-size: 13px; line-height: 1.35; }
.fuel-library-hero__rail small { color: var(--fuel-muted); font-size: 11px; line-height: 1.45; }

.fuel-library-browser {
    padding: clamp(68px, 8vw, 112px) 0 clamp(80px, 9vw, 128px);
    background: var(--fuel-white);
    scroll-margin-top: 30px;
}
.fuel-library-browser__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 36px;
}
.fuel-library-browser__intro h2 {
    max-width: 800px;
    margin-bottom: 0;
    font-family: Anton, Impact, "Arial Narrow", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    text-transform: uppercase;
}
.fuel-library-browser__intro > p {
    max-width: 480px;
    margin-bottom: 4px;
    color: var(--fuel-muted);
    font-size: 15px;
}
.fuel-library-filter {
    padding: 26px;
    border: 1px solid #3a3c3f;
    background: var(--fuel-charcoal);
    color: var(--fuel-white);
}
.fuel-library-search label,
.fuel-library-field label {
    display: block;
    margin-bottom: 7px;
    color: #d7d9da;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}
.fuel-library-search__control { position: relative; }
.fuel-library-search__control svg {
    position: absolute;
    top: 50%;
    left: 16px;
    translate: 0 -50%;
    color: #676c70;
    pointer-events: none;
}
.fuel-library-search input,
.fuel-library-field select {
    width: 100%;
    min-height: 52px;
    border: 1px solid #cfd2d3;
    border-radius: 0;
    background: var(--fuel-white);
    color: var(--fuel-ink);
    font: inherit;
}
.fuel-library-search input { padding: 12px 16px 12px 48px; }
.fuel-library-field select { padding: 12px 38px 12px 14px; }
.fuel-library-selects {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.fuel-library-filter__actions {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-top: 18px;
}
.fuel-library-filter__actions button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 26px;
    padding: 12px 19px;
    border: 1px solid var(--fuel-red);
    border-radius: 0;
    background: var(--fuel-red);
    color: var(--fuel-white);
    cursor: pointer;
    font: 800 12px/1.4 Inter, Arial, sans-serif;
    text-transform: uppercase;
}
.fuel-library-filter__actions button:hover { background: var(--fuel-red-dark); }
.fuel-library-filter__actions a {
    color: var(--fuel-white);
    font-size: 12px;
    font-weight: 750;
}
.fuel-library-active {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--fuel-line);
}
.fuel-library-active > span {
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.fuel-library-active ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fuel-library-active a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #cfd2d3;
    background: var(--fuel-soft);
    font-size: 11px;
    text-decoration: none;
}
.fuel-library-active a:hover { border-color: var(--fuel-red); }
.fuel-library-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0 18px;
    border-bottom: 1px solid var(--fuel-ink);
}
.fuel-library-results-head p,
.fuel-library-results-head span {
    margin: 0;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.fuel-library-results-head span { color: var(--fuel-muted); font-size: 10px; }
.fuel-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 28px;
}
.fuel-library-card {
    min-width: 0;
    border: 1px solid var(--fuel-line);
    background: var(--fuel-white);
    transition: translate .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.fuel-library-card:hover {
    translate: 0 -4px;
    border-color: #babec0;
    box-shadow: 0 18px 38px rgba(24,25,27,.10);
}
.fuel-library-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #202225;
}
.fuel-library-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .35s ease;
}
.fuel-library-card:hover .fuel-library-card__media img { scale: 1.025; }
.fuel-library-card__open {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--fuel-red);
    color: var(--fuel-white);
    font-size: 18px;
}
.fuel-library-card__fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-content: center;
    background:
        linear-gradient(145deg, transparent 0 62%, rgba(215,25,32,.25) 62% 64%, transparent 64%),
        radial-gradient(circle at 74% 35%, rgba(215,25,32,.7), transparent 12%),
        #202225;
    color: var(--fuel-white);
    text-align: center;
}
.fuel-library-card__fallback > span {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.04em;
}
.fuel-library-card__fallback small {
    color: #d5d7d8;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .2em;
}
.fuel-library-card__body { padding: 25px 24px 24px; }
.fuel-library-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 25px;
    margin-bottom: 16px;
}
.fuel-library-card__meta span {
    padding: 4px 8px;
    border: 1px solid #d8dadb;
    color: #4f5458;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}
.fuel-library-card h3 {
    margin-bottom: 13px;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 780;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.fuel-library-card h3 a { text-decoration: none; }
.fuel-library-card h3 a:hover { color: var(--fuel-red-dark); }
.fuel-library-card__summary {
    min-height: 72px;
    margin-bottom: 18px;
    color: var(--fuel-muted);
    font-size: 13px;
    line-height: 1.6;
}
.fuel-library-card__facts {
    margin: 0 0 19px;
    border-top: 1px solid var(--fuel-line);
}
.fuel-library-card__facts div {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--fuel-line);
}
.fuel-library-card__facts dt,
.fuel-library-card__facts dd { margin: 0; font-size: 11px; line-height: 1.45; }
.fuel-library-card__facts dt { color: var(--fuel-muted); }
.fuel-library-card__facts dd { font-weight: 750; }
.fuel-library-card__link {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--fuel-red-dark) !important;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}
.fuel-library-pagination { margin-top: 48px; }
.fuel-library-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fuel-library-pagination a,
.fuel-library-pagination span.page-numbers {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 8px 12px;
    border: 1px solid #cfd2d3;
    background: var(--fuel-white);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.fuel-library-pagination .current {
    border-color: var(--fuel-charcoal) !important;
    background: var(--fuel-charcoal) !important;
    color: var(--fuel-white);
}
.fuel-library-pagination a:hover { border-color: var(--fuel-red); color: var(--fuel-red-dark); }
.fuel-library-empty {
    margin-top: 28px;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid var(--fuel-line);
    background: var(--fuel-soft);
}
.fuel-library-empty h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; }
.fuel-library-empty p:not(.fuel-library-eyebrow) { color: var(--fuel-muted); }
.fuel-library-empty a { font-weight: 800; }

.fuel-library-close {
    padding: clamp(64px, 8vw, 108px) 0;
    background: var(--fuel-charcoal);
    color: var(--fuel-white);
}
.fuel-library-close .fuel-library-eyebrow { color: #f1b8bb; }
.fuel-library-close__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
    gap: 72px;
    align-items: end;
}
.fuel-library-close h2 {
    max-width: 800px;
    margin-bottom: 0;
    color: var(--fuel-white);
    font-family: Anton, Impact, "Arial Narrow", sans-serif;
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: .98;
    text-transform: uppercase;
}
.fuel-library-close__grid > div:last-child > p { color: #d0d2d3; }
.fuel-library-button--light {
    border-color: var(--fuel-white);
    background: var(--fuel-white);
    box-shadow: none;
    color: var(--fuel-ink) !important;
}
.fuel-library-button--light:hover { border-color: #e6e6e4; background: #e6e6e4; }

@media (max-width: 1080px) {
    .fuel-library-hero__grid { grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: 34px; }
    .fuel-library-hero__copy h1 { font-size: clamp(45px, 5.3vw, 61px); }
    .fuel-library-feature__body { grid-template-columns: 1fr; gap: 18px; }
    .fuel-library-feature__detail { padding: 17px 0 0; border-top: 1px solid var(--fuel-line); border-left: 0; }
    .fuel-library-selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fuel-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .fuel-library-wrap { width: min(100% - 36px, 620px); }
    .fuel-library-hero__grid,
    .fuel-library-browser__intro,
    .fuel-library-close__grid { grid-template-columns: 1fr; }
    .fuel-library-hero__grid { gap: 38px; padding: 38px 0 34px; }
    .fuel-library-hero__copy h1 { font-size: clamp(42px, 12vw, 62px); }
    .fuel-library-feature { box-shadow: 9px 11px 0 #dededb; }
    .fuel-library-feature__body { padding: 23px 21px 24px; }
    .fuel-library-hero__rail { grid-template-columns: 1fr; padding: 8px 0 14px; }
    .fuel-library-hero__rail > div,
    .fuel-library-hero__rail > div:first-child { min-height: auto; padding: 14px 0; }
    .fuel-library-hero__rail > div + div { border-top: 1px solid #d6d8d9; border-left: 0; }
    .fuel-library-browser__intro { gap: 18px; }
    .fuel-library-selects { grid-template-columns: 1fr 1fr; }
    .fuel-library-grid { grid-template-columns: 1fr; }
    .fuel-library-card__summary { min-height: 0; }
    .fuel-library-close__grid { gap: 28px; }
}

@media (max-width: 480px) {
    .fuel-library-wrap { width: calc(100% - 28px); }
    .fuel-library-hero__actions,
    .fuel-library-filter__actions { align-items: stretch; flex-direction: column; }
    .fuel-library-button { width: 100%; }
    .fuel-library-selects { grid-template-columns: 1fr; }
    .fuel-library-filter { padding: 20px 16px; }
    .fuel-library-results-head { align-items: flex-start; flex-direction: column; gap: 5px; }
    .fuel-library-card__body { padding: 22px 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .fuel-case-library *,
    .fuel-case-library *::before,
    .fuel-case-library *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (forced-colors: active) {
    .fuel-library-button,
    .fuel-library-card,
    .fuel-library-filter { border: 1px solid ButtonText; }
}
