.seo-breadcrumbs {
    display: none;
}

.page-inner.has-home-header .announcement {
    position: relative;
    overflow: hidden;
    margin: 10px 0;
    padding: 14px 0;
    background: linear-gradient(135deg, #dc2626, #c21807);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 72px;
    opacity: 1;
}

.page-inner.has-home-header .announcement.dismissed {
    max-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.page-inner.has-home-header .announcement::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 70%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-15deg);
    animation: annShimmer 3.5s ease-in-out infinite;
}

.page-inner.has-home-header .ann-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-inner.has-home-header .ann-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.4s ease;
}

.page-inner.has-home-header .ann-text strong {
    font-weight: 800;
}

.page-inner.has-home-header .ann-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.4s ease;
}

.page-inner.has-home-header .ann-btn:hover {
    color: #b91c1c;
    text-decoration: none;
}

.page-inner.has-home-header .ann-close {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-inner.has-home-header .ann-close:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    transform: translateY(-50%) rotate(90deg);
}

.gallery-reference-page {
    --gallery-primary: #dc2626;
    --gallery-primary-dark: #b91c1c;
    --gallery-primary-soft: rgba(220, 38, 38, 0.16);
    --gallery-ink: #0f172a;
    --gallery-copy: #475569;
    --gallery-line: #e2e8f0;
    --gallery-surface: #ffffff;
    --gallery-bg: #f5f6f8;
    background: var(--gallery-bg);
    color: var(--gallery-ink);
}

.gallery-ref__hero {
    position: relative;
    overflow: hidden;
    margin-top: 10px;
    background:
        radial-gradient(circle at top right, rgba(220, 38, 38, 0.18), transparent 28%),
        linear-gradient(160deg, #0a0e1a 0%, #111827 32%, #1a1f35 64%, #0f1525 100%);
}

.gallery-ref__hero::before,
.gallery-ref__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gallery-ref__hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.35;
}

.gallery-ref__hero::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18) 0%, rgba(15, 23, 42, 0.42) 100%);
}

.gallery-ref__hero-inner,
.gallery-ref__layout,
.gallery-ref__cta-inner {
    max-width: none;
    margin: 0 auto;
    padding-left: 100px;
    padding-right: 100px;
}

.gallery-ref__hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 58px;
    padding-bottom: 68px;
    text-align: center;
}

.gallery-ref__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid rgba(220, 38, 38, 0.42);
    background: rgba(220, 38, 38, 0.15);
    color: #fca5a5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-ref__headline {
    margin: 18px 0 14px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.45rem, 5vw, 4.1rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.gallery-ref__headline span {
    background: linear-gradient(135deg, #fca5a5, #f87171, #fca5a5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-ref__subhead {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
}

.gallery-ref__layout {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 76px;
}

.gallery-ref__sidebar {
    align-self: start;
}

.gallery-ref__sidebar-card {
    position: sticky;
    top: 120px;
    border: 1px solid var(--gallery-line);
    border-radius: 22px;
    background: var(--gallery-surface);
    padding: 22px 20px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.06);
}

.gallery-ref__sidebar-label {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 800;
    color: var(--gallery-ink);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-ref__filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-ref__filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 1px solid var(--gallery-line);
    border-radius: 16px;
    background: #ffffff;
    color: #334155;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gallery-ref__filter small {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.gallery-ref__filter:hover {
    transform: translateX(4px);
    border-color: rgba(220, 38, 38, 0.22);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.07);
}

.gallery-ref__filter.is-active {
    background: linear-gradient(135deg, var(--gallery-primary), #ef4444);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(220, 38, 38, 0.26);
}

.gallery-ref__filter.is-active small {
    color: rgba(255, 255, 255, 0.74);
}

.gallery-ref__content {
    min-width: 0;
}

.gallery-ref__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-ref__card {
    min-width: 0;
}

.gallery-ref__card-button {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 22px;
    background: var(--gallery-surface);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-ref__card-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 48px rgba(15, 23, 42, 0.12);
}

.gallery-ref__media {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

.gallery-ref__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(2, 6, 23, 0.9) 100%);
}

.gallery-ref__pane {
    position: relative;
    overflow: hidden;
}

.gallery-ref__pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-ref__card-button:hover .gallery-ref__pane img {
    transform: scale(1.06);
}

.gallery-ref__pane-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.74);
    padding: 6px 10px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-ref__pane-label.is-after {
    left: auto;
    right: 14px;
    background: rgba(220, 38, 38, 0.8);
}

.gallery-ref__overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    padding: 0 18px 16px;
    text-align: left;
}

.gallery-ref__overlay h3 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.gallery-ref__overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.55;
}

.gallery-ref__empty {
    margin-top: 22px;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    padding: 28px 24px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.gallery-ref__cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #13233f 100%);
}

.gallery-ref__cta-inner {
    padding-top: 62px;
    padding-bottom: 66px;
    text-align: center;
}

.gallery-ref__cta-inner h2 {
    margin: 0 0 12px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.gallery-ref__cta-inner p {
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.8;
}

.gallery-ref__cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.gallery-ref__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    border-radius: 999px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.gallery-ref__cta-btn:hover {
    transform: translateY(-2px);
}

.gallery-ref__cta-btn.is-primary {
    background: linear-gradient(135deg, var(--gallery-primary), #ef4444);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(220, 38, 38, 0.24);
}

.gallery-ref__cta-btn.is-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: #ffffff;
    color: var(--gallery-primary);
}

.gallery-ref__lightbox[hidden] {
    display: none;
}

.gallery-ref__lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.gallery-ref__lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.86);
    backdrop-filter: blur(6px);
}

.gallery-ref__lightbox-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    width: min(1120px, calc(100vw - 32px));
    margin: 48px auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: #0f172a;
    padding: 72px 28px 28px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

.gallery-ref__lightbox-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gallery-ref__lightbox-pane {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
}

.gallery-ref__lightbox-pane span {
    display: inline-flex;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gallery-ref__lightbox-pane img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 18px;
    background: #111827;
}

.gallery-ref__lightbox-caption {
    text-align: center;
}

.gallery-ref__lightbox-caption h3 {
    margin: 0 0 6px;
    font-family: "Outfit", sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
}

.gallery-ref__lightbox-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.gallery-ref__lightbox-close,
.gallery-ref__lightbox-nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-ref__lightbox-close:hover,
.gallery-ref__lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.04);
}

.gallery-ref__lightbox-close {
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    font-size: 24px;
}

.gallery-ref__lightbox-nav {
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    font-size: 26px;
}

.gallery-ref__lightbox-nav.is-prev {
    left: 18px;
}

.gallery-ref__lightbox-nav.is-next {
    right: 18px;
}

.gallery-ref__lightbox-nav[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1200px) {
    .gallery-ref__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .gallery-ref__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-ref__sidebar-card {
        position: static;
    }

    .gallery-ref__filters {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .gallery-ref__filter {
        width: auto;
    }

    .gallery-ref__lightbox-dialog {
        padding-top: 78px;
    }

    .gallery-ref__lightbox-nav {
        top: auto;
        bottom: 18px;
        margin-top: 0;
    }

    .gallery-ref__lightbox-nav.is-prev {
        left: calc(50% - 62px);
    }

    .gallery-ref__lightbox-nav.is-next {
        right: calc(50% - 62px);
    }
}

@media (max-width: 768px) {
    .gallery-ref__hero-inner,
    .gallery-ref__layout,
    .gallery-ref__cta-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gallery-ref__hero-inner {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .gallery-ref__layout {
        gap: 22px;
        padding-top: 26px;
        padding-bottom: 52px;
    }

    .gallery-ref__grid,
    .gallery-ref__lightbox-stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-ref__sidebar-card,
    .gallery-ref__card-button,
    .gallery-ref__lightbox-dialog {
        border-radius: 20px;
    }

    .gallery-ref__lightbox-dialog {
        width: min(100vw - 16px, 1120px);
        margin: 16px auto;
        padding: 68px 16px 88px;
    }

    .page-inner.has-home-header .announcement {
        padding-right: 12px;
        padding-left: 12px;
    }

    .page-inner.has-home-header .ann-inner {
        padding-top: 0;
        padding-bottom: 0;
        flex-direction: column;
        padding-right: 26px;
        gap: 10px;
    }
}
