.faal-ref,
.faal-ref * {
    box-sizing: border-box;
}

.faal-ref {
    --faal-red: #d82532;
    --faal-ink: #22282d;
    --faal-muted: #68737d;
    --faal-line: #e2e6e8;
    --faal-soft: #f5f7f7;
    --faal-blue: #2c6f91;
    --faal-radius: 10px;
    color: var(--faal-ink);
    font-family: inherit;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.faal-ref img {
    display: block;
    height: auto;
    max-width: 100%;
}

.faal-ref__hero {
    background: #f7f8f8;
    border: 1px solid var(--faal-line);
    border-left: 5px solid var(--faal-red);
    margin: 0 0 22px;
    padding: clamp(22px, 4vw, 42px);
}

.faal-ref__eyebrow {
    color: var(--faal-red);
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.faal-ref__hero h2 {
    color: var(--faal-ink);
    font-size: clamp(34px, 6vw, 74px);
    font-weight: 500;
    line-height: .92;
    margin: 0;
}

.faal-ref__hero p {
    color: var(--faal-muted);
    font-size: 17px;
    line-height: 1.6;
    margin: 16px 0 0;
    max-width: 620px;
}

.faal-ref__toolbar {
    border-bottom: 1px solid var(--faal-line);
    margin-bottom: 10px;
    padding-bottom: 18px;
}

.faal-ref__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.faal-ref__filters button,
.faal-ref__filters .faal-ref__catalog {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 1px solid var(--faal-line);
    border-radius: 6px;
    color: var(--faal-ink);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-height: 38px;
    padding: 0 13px;
    text-decoration: none;
}

.faal-ref__filters button:hover {
    border-color: var(--faal-red);
    color: var(--faal-red);
}

.faal-ref__filters .faal-ref__catalog {
    background: var(--faal-red);
    border-color: var(--faal-red);
    color: #fff;
    margin-left: auto;
}

.faal-ref__filters .faal-ref__catalog:hover {
    background: #b91f2b;
    border-color: #b91f2b;
    color: #fff;
}

.faal-ref__filters button.is-active {
    background: var(--faal-ink);
    border-color: var(--faal-ink);
    color: #fff;
}

.faal-ref__sectors {
    display: grid;
    gap: 4px;
}

.faal-sector {
    border-bottom: 1px solid var(--faal-line);
    padding: clamp(28px, 5vw, 54px) 0;
}

.faal-sector[hidden],
.faal-logo-card[hidden],
.faal-names span[hidden] {
    display: none !important;
}

.faal-sector__header {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
    margin-bottom: 18px;
}

.faal-gallery__header {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.faal-sector__header h3,
.faal-gallery__header h3 {
    color: var(--faal-ink);
    font-size: 18px;
    font-weight: 300;
    line-height: .95;
    margin: 0;
}

.faal-gallery__header span {
    color: var(--faal-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.faal-sector__description {
    color: var(--faal-muted);
    font-size: 15px;
    line-height: 1.65;
    min-width: 0;
}

.faal-sector__header > .faal-sector__description:first-child {
    grid-column: 1 / -1;
    max-width: 760px;
}

.faal-sector__description > :first-child {
    margin-top: 0;
}

.faal-sector__description > :last-child {
    margin-bottom: 0;
}

.faal-sector__description a {
    color: var(--faal-red);
    font-weight: 700;
    text-decoration: none;
}

.faal-sector__description a:hover {
    text-decoration: underline;
}

.faal-sector__photos {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    margin-bottom: 18px;
    padding: clamp(8px, 1.4vw, 14px);
    position: relative;
}

.faal-sector__photos::before {
    background:
        linear-gradient(135deg, rgba(216, 37, 50, .055), rgba(44, 111, 145, .045)),
        repeating-linear-gradient(90deg, rgba(34, 40, 45, .045) 0 1px, transparent 1px 34px),
        repeating-linear-gradient(0deg, rgba(34, 40, 45, .035) 0 1px, transparent 1px 34px),
        #f8fafa;
    border: 1px solid rgba(226, 230, 232, .9);
    border-radius: 14px;
    content: "";
    inset: 0;
    opacity: .72;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.faal-sector__photo {
    background: #d9dee0;
    border-radius: var(--faal-radius);
    box-shadow: 0 12px 28px rgba(34, 40, 45, .08);
    cursor: zoom-in;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    transition: box-shadow .22s ease, transform .22s ease;
    z-index: 1;
}

.faal-sector__photo::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(216, 37, 50, .08));
    content: "";
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transition: opacity .22s ease;
    z-index: 2;
}

.faal-sector__photo:hover {
    box-shadow: 0 18px 38px rgba(34, 40, 45, .13);
    transform: translateY(-3px);
}

.faal-sector__photo:hover::after {
    opacity: 1;
}

.faal-sector__photo img {
    aspect-ratio: 16 / 10;
    height: 100%;
    object-fit: cover;
    transition: filter .22s ease, transform .35s ease;
    width: 100%;
}

.faal-sector__photo:hover img {
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.035);
}

.faal-sector__photo.is-featured {
    grid-row: span 2;
}

.faal-sector__photo.is-featured img {
    aspect-ratio: 16 / 10.7;
}

.faal-sector__photos--grid {
    grid-template-columns: repeat(var(--faal-grid-columns, 3), minmax(0, 1fr));
}

.faal-sector__photos--grid .faal-sector__photo,
.faal-sector__photos--grid .faal-sector__photo.is-featured {
    grid-row: auto;
}

.faal-sector__photos--grid .faal-sector__photo img,
.faal-sector__photos--grid .faal-sector__photo.is-featured img {
    aspect-ratio: 4 / 3;
}

.faal-sector__photos--count-1 .faal-sector__photo img,
.faal-sector__photos--count-1 .faal-sector__photo.is-featured img {
    aspect-ratio: 16 / 7;
}

/*
 * Varsayılan sektör mozaiği ilk üç görseldeki mevcut vitrin karakterini
 * korur. Dört ve üzerindeki görseller için adet odaklı bento yerleşimleri
 * kullanılır; böylece featured kartın iki satır kaplaması boş hücre veya
 * tek başına kalan yeni bir satır üretmez.
 */
.faal-sector__photos--mosaic {
    grid-auto-flow: dense;
}

.faal-sector__photos--mosaic-count-4,
.faal-sector__photos--mosaic-count-5,
.faal-sector__photos--mosaic-count-6,
.faal-sector__photos--mosaic-count-many {
    grid-auto-rows: clamp(150px, 16vw, 230px);
}

.faal-sector__photos--mosaic-count-4 .faal-sector__photo,
.faal-sector__photos--mosaic-count-4 .faal-sector__photo.is-featured,
.faal-sector__photos--mosaic-count-5 .faal-sector__photo,
.faal-sector__photos--mosaic-count-5 .faal-sector__photo.is-featured,
.faal-sector__photos--mosaic-count-6 .faal-sector__photo,
.faal-sector__photos--mosaic-count-6 .faal-sector__photo.is-featured,
.faal-sector__photos--mosaic-count-many .faal-sector__photo,
.faal-sector__photos--mosaic-count-many .faal-sector__photo.is-featured {
    grid-column: auto;
    grid-row: auto;
}

.faal-sector__photos--mosaic-count-4 .faal-sector__photo img,
.faal-sector__photos--mosaic-count-5 .faal-sector__photo img,
.faal-sector__photos--mosaic-count-6 .faal-sector__photo img,
.faal-sector__photos--mosaic-count-many .faal-sector__photo img {
    aspect-ratio: auto;
    height: 100%;
}

.faal-sector__photos--mosaic-count-4 {
    grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(150px, 16vw, 230px));
}

.faal-sector__photos--mosaic-count-4 .faal-sector__photo:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.faal-sector__photos--mosaic-count-4 .faal-sector__photo:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1;
}

.faal-sector__photos--mosaic-count-4 .faal-sector__photo:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.faal-sector__photos--mosaic-count-4 .faal-sector__photo:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.faal-sector__photos--mosaic-count-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(150px, 16vw, 230px));
}

.faal-sector__photos--mosaic-count-5 .faal-sector__photo:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.faal-sector__photos--mosaic-count-6,
.faal-sector__photos--mosaic-count-many {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faal-sector__photos--custom {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(248, 250, 250, .58)),
        repeating-linear-gradient(90deg, rgba(34, 40, 45, .035) 0 1px, transparent 1px 38px),
        repeating-linear-gradient(0deg, rgba(34, 40, 45, .026) 0 1px, transparent 1px 38px);
    border: 1px solid rgba(226, 230, 232, .88);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86);
    gap: var(--faal-custom-gap, 16px);
    grid-auto-flow: dense;
    grid-template-columns: repeat(var(--faal-custom-desktop, 4), minmax(0, 1fr));
    overflow: hidden;
    padding: clamp(10px, 1.6vw, 18px);
}

.faal-sector__photos--custom::before {
    display: none;
}

.faal-sector__photos--custom.faal-sector__photos--has-bg {
    --faal-bg-stage-height: clamp(260px, 32vw, 440px);
    --faal-bg-overlap: clamp(118px, 15vw, 215px);
    background:
        var(--faal-custom-bg),
        #fff;
    background-position:
        center clamp(10px, 2vw, 26px),
        center top;
    background-repeat: no-repeat, no-repeat;
    background-size:
        min(96%, 960px) auto,
        auto;
    padding: clamp(12px, 1.8vw, 22px);
}

.faal-sector__photos--custom.faal-sector__photos--has-bg::before {
    background: none;
    border: 0;
    border-radius: 0;
    content: "";
    display: block;
    grid-column: 1 / -1;
    height: var(--faal-bg-stage-height);
    inset: auto;
    margin-bottom: calc(var(--faal-bg-overlap) * -1);
    opacity: 1;
    pointer-events: none;
    position: relative;
    z-index: 0;
}

.faal-sector__photos--custom .faal-sector__photo,
.faal-sector__photos--custom .faal-sector__photo.is-featured {
    background: #fff;
    border: 1px solid rgba(226, 230, 232, .82);
    border-radius: var(--faal-custom-radius, 8px);
    box-shadow: 0 14px 34px rgba(34, 40, 45, .09);
    grid-row: auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.faal-sector__photos--custom.faal-sector__photos--has-bg .faal-sector__photo,
.faal-sector__photos--custom.faal-sector__photos--has-bg .faal-sector__photo.is-featured {
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 42px rgba(34, 40, 45, .1);
    z-index: 1;
}

.faal-sector__photos--custom .faal-sector__photo::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(34, 40, 45, .18)),
        linear-gradient(135deg, rgba(216, 37, 50, .22), rgba(44, 111, 145, .08));
    opacity: 0;
}

.faal-sector__photos--custom .faal-sector__photo:hover {
    border-color: rgba(216, 37, 50, .34);
    box-shadow: 0 22px 46px rgba(34, 40, 45, .16);
    transform: translateY(-4px);
}

.faal-sector__photos--custom .faal-sector__photo:hover::after {
    opacity: 1;
}

.faal-sector__photos--custom .faal-sector__photo img,
.faal-sector__photos--custom .faal-sector__photo.is-featured img {
    aspect-ratio: var(--faal-custom-ratio, 16 / 10);
    height: 100%;
    object-fit: cover;
}

.faal-sector__photos--custom.faal-sector__photos--ratio-original .faal-sector__photo img,
.faal-sector__photos--custom.faal-sector__photos--ratio-original .faal-sector__photo.is-featured img {
    aspect-ratio: auto;
    background: #fff;
    display: block;
    flex: 0 1 100%;
    height: 100%;
    inline-size: 100%;
    max-height: 100%;
    max-inline-size: 100%;
    max-width: 100%;
    min-width: 0;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.faal-sector__photos--custom.faal-sector__photos--ratio-original {
    align-items: center;
    grid-auto-rows: auto;
}

.faal-sector__photos--custom.faal-sector__photos--ratio-original .faal-sector__photo,
.faal-sector__photos--custom.faal-sector__photos--ratio-original .faal-sector__photo.is-featured {
    align-self: center;
    aspect-ratio: 1 / 1;
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: clamp(124px, 11vw, 210px);
    overflow: hidden;
    padding: clamp(8px, 1vw, 14px);
}

.faal-sector__photos--custom.faal-sector__photos--has-bg.faal-sector__photos--ratio-original .faal-sector__photo,
.faal-sector__photos--custom.faal-sector__photos--has-bg.faal-sector__photos--ratio-original .faal-sector__photo.is-featured {
    padding: clamp(14px, 1.4vw, 22px);
}

.faal-sector__photos--featured .faal-sector__photo.is-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.faal-sector__photos--featured .faal-sector__photo.is-featured img {
    min-height: 100%;
}

.faal-sector__photos--custom.faal-sector__photos--ratio-original.faal-sector__photos--featured .faal-sector__photo.is-featured {
    grid-column: span 1;
    grid-row: span 1;
}

.faal-sector__photos--custom.faal-sector__photos--ratio-original.faal-sector__photos--featured .faal-sector__photo.is-featured img {
    min-height: 0;
}

.faal-sector__photos--full {
    gap: 18px;
    margin-bottom: 18px;
    padding: 0;
}

.faal-sector__photos--full::before {
    display: none;
}

.faal-sector__photos--full .faal-sector__photo,
.faal-sector__photos--full .faal-sector__photo.is-featured {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    line-height: 0;
    grid-row: auto;
    overflow: visible;
    text-align: center;
    transform: none;
}

.faal-sector__photos--full .faal-sector__photo::after {
    display: none;
}

.faal-sector__photos--full .faal-sector__photo img,
.faal-sector__photos--full .faal-sector__photo.is-featured img {
    aspect-ratio: auto;
    display: inline-block;
    height: auto;
    max-height: clamp(360px, 62vw, 680px);
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

.faal-sector__photos--full .faal-sector__photo:hover {
    box-shadow: none;
    transform: none;
}

.faal-sector__photos--full .faal-sector__photo:hover img {
    filter: saturate(1.04) contrast(1.03);
    transform: none;
}

.faal-logo-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
}

.faal-logo-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--faal-line);
    border-radius: 6px;
    display: flex;
    height: 84px;
    justify-content: center;
    margin: 0;
    padding: 13px;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.faal-logo-card:hover {
    border-color: rgba(216, 37, 50, .42);
    box-shadow: 0 10px 22px rgba(34, 40, 45, .08);
    transform: translateY(-2px);
}

.faal-logo-card img {
    max-height: 56px;
    object-fit: contain;
    width: auto;
}

.faal-logo-card figcaption {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.faal-gallery,
.faal-names {
    border-bottom: 1px solid var(--faal-line);
    padding: clamp(30px, 5vw, 58px) 0;
}

.faal-gallery__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.faal-gallery__grid--fixed {
    grid-template-columns: repeat(var(--faal-grid-columns, 3), minmax(0, 1fr));
}

.faal-gallery__item {
    background: #d9dee0;
    border: 1px solid var(--faal-line);
    border-radius: var(--faal-radius);
    cursor: zoom-in;
    margin: 0;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.faal-gallery__item:hover {
    border-color: rgba(216, 37, 50, .34);
    box-shadow: 0 14px 28px rgba(34, 40, 45, .1);
    transform: translateY(-2px);
}

.faal-gallery__item img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
    width: 100%;
}

.faal-gallery__item:hover img {
    transform: scale(1.025);
}

[data-faal-gallery-hover="off"] .faal-gallery__item {
    transition: none;
}

[data-faal-gallery-hover="off"] .faal-gallery__item:hover {
    border-color: var(--faal-line);
    box-shadow: none;
    transform: none;
}

[data-faal-gallery-hover="off"] .faal-gallery__item:hover img {
    transform: none;
}

[data-faal-gallery-hover="off"] .faal-sector__photo {
    transition: none;
}

[data-faal-gallery-hover="off"] .faal-sector__photo:hover {
    box-shadow: 0 12px 28px rgba(34, 40, 45, .08);
    transform: none;
}

[data-faal-gallery-hover="off"] .faal-sector__photo:hover::after {
    opacity: 0;
}

[data-faal-gallery-hover="off"] .faal-sector__photo:hover img {
    filter: none;
    transform: none;
}

[data-faal-gallery-hover="off"].faal-sector__photos--full .faal-sector__photo:hover {
    box-shadow: none;
}

[data-faal-gallery-hover="off"].faal-sector__photos--custom .faal-sector__photo:hover {
    border-color: rgba(226, 230, 232, .82);
    box-shadow: 0 14px 34px rgba(34, 40, 45, .09);
}

.faal-gallery__grid--fixed .faal-gallery__item img {
    aspect-ratio: 4 / 3;
}

.faal-gallery__grid--count-1 .faal-gallery__item img {
    aspect-ratio: 16 / 7;
}

[data-faal-gallery-lightbox="off"] .faal-sector__photo,
[data-faal-gallery-lightbox="off"] .faal-gallery__item {
    cursor: default;
}

.faal-lightbox,
.faal-lightbox * {
    box-sizing: border-box;
}

.faal-lightbox {
    align-items: center;
    background: rgba(17, 22, 25, .84);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: clamp(12px, 3vw, 34px);
    pointer-events: none;
    position: fixed;
    touch-action: none;
    transition: opacity .18s ease;
    z-index: 999999;
}

.faal-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.faal-lightbox__panel {
    display: grid;
    gap: 10px;
    grid-template-rows: minmax(0, 1fr) auto;
    height: min(760px, calc(100vh - 68px));
    height: min(760px, calc(100dvh - 68px));
    max-height: none;
    max-width: none;
    position: relative;
    width: min(1180px, calc(100vw - 48px));
}

.faal-lightbox__stage {
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .36);
    cursor: zoom-in;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
    touch-action: none;
    width: 100%;
}

.faal-lightbox__stage.is-zoomed {
    cursor: grab;
}

.faal-lightbox__stage.is-dragging {
    cursor: grabbing;
}

.faal-lightbox__image {
    background: transparent;
    display: block;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    transform: translate3d(var(--faal-lightbox-x, 0), var(--faal-lightbox-y, 0), 0) scale(var(--faal-lightbox-scale, 1));
    transform-origin: center center;
    transition: transform .16s ease;
    user-select: none;
    width: 100%;
    will-change: transform;
}

.faal-lightbox__stage.is-dragging .faal-lightbox__image {
    transition: none;
}

.faal-lightbox__caption {
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 10px;
    opacity: .82;
    text-align: center;
}

.faal-lightbox__caption[hidden] {
    display: none;
}

.faal-lightbox__counter {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 7px 10px;
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.faal-lightbox__controls {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 5;
}

.faal-lightbox__close,
.faal-lightbox__zoom {
    align-items: center;
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
    color: var(--faal-ink, #22282d);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.faal-lightbox__close {
    padding: 0 14px;
}

.faal-lightbox__zoom {
    width: 38px;
}

.faal-lightbox__zoom-icon {
    background:
        linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 8px no-repeat;
    border: 2px solid currentColor;
    border-radius: 999px;
    display: block;
    height: 16px;
    position: relative;
    width: 16px;
}

.faal-lightbox__zoom-icon::after {
    background: currentColor;
    border-radius: 999px;
    bottom: -5px;
    content: "";
    height: 2px;
    position: absolute;
    right: -7px;
    transform: rotate(45deg);
    transform-origin: center;
    width: 8px;
}

.faal-lightbox__zoom.is-active .faal-lightbox__zoom-icon {
    background: linear-gradient(currentColor, currentColor) center / 8px 2px no-repeat;
}

.faal-lightbox__nav {
    align-items: center;
    appearance: none;
    background: rgba(255, 255, 255, .94);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
    color: var(--faal-ink, #22282d);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 36px;
    height: 48px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .18s ease, color .18s ease, transform .18s ease;
    width: 48px;
    z-index: 4;
}

.faal-lightbox__nav--prev {
    left: 16px;
}

.faal-lightbox__nav--next {
    right: 16px;
}

.faal-lightbox__nav:hover,
.faal-lightbox__nav:focus-visible {
    background: var(--faal-red, #d82532);
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

.faal-lightbox__nav[hidden],
.faal-lightbox__counter[hidden] {
    display: none;
}

.faal-lightbox__close:hover,
.faal-lightbox__close:focus-visible,
.faal-lightbox__zoom:hover,
.faal-lightbox__zoom:focus-visible,
.faal-lightbox__zoom.is-active {
    background: var(--faal-red, #d82532);
    color: #fff;
}

body.faal-lightbox-open {
    overflow: hidden;
}

.faal-names__grid {
    column-gap: 18px;
    columns: 4 190px;
}

.faal-names__grid span {
    border-bottom: 1px solid #edf0f1;
    break-inside: avoid;
    color: var(--faal-ink);
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    padding: 8px 0;
}

.faal-ref__empty {
    background: var(--faal-soft);
    border: 1px solid var(--faal-line);
    color: var(--faal-muted);
    margin: 18px 0;
    padding: 18px;
}

.faal-ref--embed {
    max-width: none;
}

@media (max-width: 820px) {
    .faal-sector__photos {
        grid-template-columns: 1fr;
    }

    .faal-sector__photos--mosaic-count-4,
    .faal-sector__photos--mosaic-count-5,
    .faal-sector__photos--mosaic-count-6,
    .faal-sector__photos--mosaic-count-many {
        grid-auto-rows: clamp(145px, 28vw, 220px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .faal-sector__photos--mosaic-count-4 .faal-sector__photo,
    .faal-sector__photos--mosaic-count-4 .faal-sector__photo.is-featured,
    .faal-sector__photos--mosaic-count-5 .faal-sector__photo,
    .faal-sector__photos--mosaic-count-5 .faal-sector__photo.is-featured,
    .faal-sector__photos--mosaic-count-6 .faal-sector__photo,
    .faal-sector__photos--mosaic-count-6 .faal-sector__photo.is-featured,
    .faal-sector__photos--mosaic-count-many .faal-sector__photo,
    .faal-sector__photos--mosaic-count-many .faal-sector__photo.is-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .faal-sector__photos--mosaic-count-4 .faal-sector__photo:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .faal-sector__photos--mosaic-count-5 .faal-sector__photo:first-child {
        grid-column: 1 / -1;
    }

    .faal-sector__header {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .faal-sector__photos--grid,
    .faal-gallery__grid--fixed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faal-sector__photos--custom {
        grid-template-columns: repeat(var(--faal-custom-tablet, 2), minmax(0, 1fr));
    }

    .faal-sector__photos--custom.faal-sector__photos--has-bg {
        --faal-bg-stage-height: clamp(220px, 42vw, 340px);
        --faal-bg-overlap: clamp(88px, 18vw, 150px);
        background-size:
            min(100%, 760px) auto,
            auto;
    }

    .faal-sector__photos--count-1,
    .faal-gallery__grid--count-1 {
        grid-template-columns: 1fr;
    }

    .faal-sector__photo.is-featured,
    .faal-sector__photos--featured .faal-sector__photo.is-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .faal-lightbox {
        padding: 12px;
    }

    .faal-lightbox__panel {
        height: calc(100vh - 24px);
        height: calc(100dvh - 24px);
        width: calc(100vw - 24px);
    }

    .faal-lightbox__controls {
        right: 10px;
        top: 10px;
    }
}

@media (max-width: 520px) {
    .faal-ref__hero {
        padding: 22px;
    }

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

    .faal-logo-card {
        height: 76px;
        padding: 10px;
    }

    .faal-sector__photos--grid,
    .faal-gallery__grid--fixed {
        grid-template-columns: 1fr;
    }

    .faal-sector__photos--mosaic-count-4,
    .faal-sector__photos--mosaic-count-5,
    .faal-sector__photos--mosaic-count-6,
    .faal-sector__photos--mosaic-count-many {
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
    }

    .faal-sector__photos--mosaic-count-5 .faal-sector__photo:first-child {
        grid-column: auto;
    }

    .faal-sector__photos--mosaic-count-4 .faal-sector__photo img,
    .faal-sector__photos--mosaic-count-5 .faal-sector__photo img,
    .faal-sector__photos--mosaic-count-6 .faal-sector__photo img,
    .faal-sector__photos--mosaic-count-many .faal-sector__photo img {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .faal-sector__photos--custom {
        gap: min(var(--faal-custom-gap, 16px), 16px);
        grid-template-columns: repeat(var(--faal-custom-mobile, 1), minmax(0, 1fr));
        padding: 10px;
    }

    .faal-sector__photos--custom.faal-sector__photos--has-bg {
        --faal-bg-stage-height: clamp(178px, 58vw, 270px);
        --faal-bg-overlap: clamp(58px, 18vw, 96px);
        background-position:
            center 12px,
            center top;
        background-size:
            min(112%, 520px) auto,
            auto;
        padding: 10px;
    }

    .faal-sector__photos--count-1 .faal-sector__photo img,
    .faal-gallery__grid--count-1 .faal-gallery__item img {
        aspect-ratio: 4 / 3;
    }

    .faal-sector__photos--full .faal-sector__photo img,
    .faal-sector__photos--full .faal-sector__photo.is-featured img {
        aspect-ratio: auto;
        max-height: 520px;
    }

    .faal-lightbox {
        padding: 8px;
    }

    .faal-lightbox__panel {
        gap: 8px;
        height: calc(100vh - 16px);
        height: calc(100dvh - 16px);
        width: calc(100vw - 16px);
    }

    .faal-lightbox__stage {
        border-radius: 10px;
    }

    .faal-lightbox__controls {
        right: 8px;
        top: 8px;
    }

    .faal-lightbox__close,
    .faal-lightbox__zoom {
        height: 36px;
    }

    .faal-lightbox__close {
        font-size: 12px;
        padding: 0 12px;
    }

    .faal-lightbox__zoom {
        width: 36px;
    }

    .faal-lightbox__nav {
        height: 40px;
        width: 40px;
    }

    .faal-lightbox__nav--prev {
        left: 8px;
    }

    .faal-lightbox__nav--next {
        right: 8px;
    }
}
/* Off-screen reference sections stay cheap until they approach the viewport. */
.faal-sector,
.faal-gallery,
.faal-names {
    content-visibility: auto;
    contain-intrinsic-size: 1px 520px;
}

.faal-deferred {
    min-height: 220px;
    content-visibility: auto;
    contain-intrinsic-size: 1px 220px;
}

.faal-deferred[hidden] {
    display: none !important;
}

.faal-deferred__placeholder {
    align-items: center;
    background: linear-gradient(100deg, #f3f4f5 20%, #fafafa 38%, #f3f4f5 56%);
    background-size: 200% 100%;
    border: 1px solid rgba(21, 31, 44, .06);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
    animation: faalDeferredPulse 1.6s linear infinite;
}

.faal-deferred__placeholder span {
    background: #e4e7ea;
    border-radius: 999px;
    height: 8px;
    width: min(180px, 45%);
}

@keyframes faalDeferredPulse {
    from { background-position: 180% 0; }
    to { background-position: -20% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .faal-deferred__placeholder {
        animation: none;
    }
}
