@font-face {
    font-family: "montserrat-regular";
    src: url("/static/fonts/montserrat/montserrat-regular-webfont.woff2") format("woff2"),
        url("/static/fonts/montserrat/montserrat-regular-webfont.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "montserrat-bold";
    src: url("/static/fonts/montserrat/montserrat-bold-webfont.woff2") format("woff2"),
        url("/static/fonts/montserrat/montserrat-bold-webfont.woff") format("woff");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "librebaskerville-regular";
    src: url("/static/fonts/librebaskerville/librebaskerville-regular-webfont.woff2") format("woff2"),
        url("/static/fonts/librebaskerville/librebaskerville-regular-webfont.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

:root {
    --bg: #f5f5f3;
    --bg-soft: #ffffff;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #151515;
    --muted: #4f4f4f;
    --line: rgba(0, 0, 0, 0.08);
    --brand: #d10003;
    --brand-strong: #ff0308;
    --legacy-services-bg: #19191b;
    --legacy-clients-bg: #e9eaea;
    --legacy-contact-bg: #111111;
    --legacy-sponsors-bg: #efefef;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "librebaskerville-regular", serif;
    background: var(--bg);
    color: var(--text);
}

body.page-admin {
    font-family: "montserrat-regular", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-nav {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line);
}

.site-nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.96);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-logo {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-sub {
    font-family: "montserrat-regular", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.28rem;
    text-transform: uppercase;
    color: var(--muted);
}

.nav-link,
.dropdown-item {
    font-family: "montserrat-regular", sans-serif;
    font-size: 0.95rem;
}

.nav-link {
    color: #151515;
}

.nav-link:hover,
.dropdown-item:hover {
    color: var(--brand-strong);
}

.language-switch {
    border-color: rgba(0, 0, 0, 0.18);
    color: #151515;
}

.dropdown-menu {
    background: #ffffff;
    border: 1px solid var(--line);
}

.hero-section,
.news-header {
    position: relative;
    padding: 9rem 0 4rem;
    overflow: hidden;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6)),
        url("/static/images/hero-bg.jpg") center/cover no-repeat;
    will-change: transform, background-position;
}

.scrolldown {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: rotate(90deg);
    transform-origin: right top 0;
    z-index: 3;
}

.scroll-icon {
    display: inline-block;
    position: relative;
    top: 36px;
    right: 42px;
    font-family: "montserrat-bold", sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: var(--brand-strong) !important;
    background: transparent;
    animation: animate-it 3s ease infinite;
}

.scroll-icon:hover,
.scroll-icon:focus,
.scroll-icon:active {
    color: #151515 !important;
}

.scroll-icon-arrow {
    padding-left: 9px;
    color: var(--brand-strong);
}

@keyframes animate-it {
    0%, 60%, 80%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-5px);
    }

    40% {
        transform: translateX(20px);
    }
}

.section-kicker {
    font-family: "montserrat-regular", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.34rem;
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.48);
    margin-bottom: 1rem;
}

.hero-title,
.news-header h1,
.section-heading h2 {
    font-family: "montserrat-bold", sans-serif;
    font-weight: 700;
}

.hero-title {
    color: #151515;
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.96;
}

.hero-subtitle {
    font-family: "montserrat-bold", sans-serif;
    font-size: 1.9rem;
    max-width: 38rem;
    color: var(--muted);
}

.hero-actions {
    width: 100%;
}

.hero-copy,
.section-copy,
.service-card p,
.team-card,
.contact-panel,
.news-summary,
.news-body-text,
.admin-card p {
    color: var(--muted);
}

.btn-brand {
    font-family: "montserrat-bold", sans-serif;
    background: var(--brand);
    border: 0;
    color: #000000;
    font-weight: 700;
}

.btn-brand:hover {
    color: #000000;
    background: var(--brand-strong);
}

.btn-outline-light {
    border-color: rgba(0, 0, 0, 0.18);
    color: #151515;
}

.btn-outline-light:hover {
    background: #151515;
    border-color: #151515;
    color: #ffffff;
}

.news-spotlight,
.media-card,
.service-card,
.gallery-card,
.news-card,
.team-card,
.contact-panel,
.archive-sidebar,
.admin-panel,
.admin-card,
.news-article {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
}

.hero-carousel-indicators {
    gap: 0.9rem;
    margin-left: 0;
    margin-right: 0;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0;
    background-color: #959595;
    border: 0;
    opacity: 1;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-carousel .carousel-indicators [data-bs-target].active {
    background-color: #000000;
    transform: scale(1.12);
}

.hero-carousel .carousel-item {
    min-height: 100%;
}

.hero-carousel .news-spotlight,
.hero-carousel .news-spotlight-media {
    border-radius: 0;
}

.news-spotlight-media {
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
}

.news-spotlight img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.news-spotlight-title {
    margin: 0.85rem 0 0.35rem;
    font-family: "montserrat-bold", sans-serif;
    font-size: 1.25rem;
    line-height: 1.35;
}

.news-spotlight-text {
    line-height: 1.7;
}

.news-spotlight-copy,
.news-card-body,
.gallery-card-copy,
.news-article-body {
    padding: 1.4rem;
}

.content-section {
    padding: 5.5rem 0;
    background: #ffffff;
}

.section-dark {
    background: #ffffff;
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.section-copy,
.lead.section-copy {
    font-size: 1.1rem;
}

.section-copy,
.lead.section-copy,
.hero-copy,
.news-card p,
.service-card p,
.news-summary,
.news-body-text {
    line-height: 1.8;
}

.latest-news-section .section-kicker {
    font-size: 0.55rem;
    letter-spacing: 0.24rem;
    margin-bottom: 0.7rem;
}

.latest-news-section .section-heading {
    margin-bottom: 1.75rem;
}

.latest-news-section .section-heading h2 {
    font-size: clamp(1.68rem, 2.8vw, 2.38rem);
}

.logo-hero {
    max-width: 220px;
    display: block;
    margin: 0 auto;
}

.service-card,
.gallery-card,
.news-card,
.team-card,
.contact-panel,
.admin-card,
.admin-panel {
    padding: 1.5rem;
}

.service-card h3,
.gallery-card h3,
.news-card h3,
.news-article h2,
.archive-sidebar h2,
.archive-year h3,
.admin-card h3,
.admin-panel h2,
.contact-entry h3 {
    font-family: "montserrat-bold", sans-serif;
}

.service-card {
    min-height: 15.625rem;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.clients-carousel {
    --clients-visible-count: 2;
    --clients-gap: 1rem;
    overflow: hidden;
}

.clients-carousel-viewport {
    overflow: hidden;
}

.clients-carousel-track {
    display: flex;
    gap: var(--clients-gap);
    transition: transform 0.6s ease;
    will-change: transform;
}

.clients-carousel-item {
    flex: 0 0 calc(
        (100% - (var(--clients-visible-count) - 1) * var(--clients-gap)) / var(--clients-visible-count)
    );
    min-width: 0;
}

.clients-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.clients-carousel-indicators button {
    width: 0.75rem;
    height: 0.75rem;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(0, 0, 0, 0.32);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.clients-carousel-indicators button.active {
    background: #000000;
    transform: scale(1.08);
}

.client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    min-height: 110px;
    padding: 1rem;
    width: 100%;
}

.client-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(0);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.client-card:hover img {
    filter: grayscale(1);
    transform: scale(1.04);
}

.news-card img {
    height: 250px;
    width: auto;
    max-width: 100%;
    display: block;
    border-radius: 1rem;
}

.latest-news-section .news-card {
    max-width: 70%;
    margin: 0 auto;
    padding: 1.05rem;
}

.latest-news-section .news-card img {
    height: 175px;
}

.latest-news-section .news-card-body {
    padding: 0.98rem;
}

.latest-news-section .news-date {
    font-size: 0.6rem;
    letter-spacing: 0.1rem;
}

.latest-news-section .news-card h3 {
    font-size: 1rem;
}

.latest-news-section .news-card p:not(.news-date) {
    font-size: 0.7rem;
}

.news-article-image {
    height: 250px;
    width: auto;
    max-width: 100%;
    display: block;
    margin-top: 25px;
    margin-left: 25px;
    border-radius: 1rem;
}

.gallery-card-copy span,
.news-date {
    color: var(--brand);
    font-family: "montserrat-regular", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
}

.archive-video,
.map-frame {
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #ffffff;
}

.archive-image-card {
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #ffffff;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.archive-image {
    max-height: 260px;
    width: 100%;
    object-fit: contain;
}

.archive-media-local {
    width: 100%;
    height: 100%;
    background: #000000;
}

.archive-media-title {
    margin: 0.9rem 0 0;
    font-family: "montserrat-regular", sans-serif;
    color: var(--muted);
}

.team-card {
    min-height: 100%;
}

.team-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 1.5rem;
    padding: 2rem;
}

.team-line {
    margin: 0;
    font-family: "montserrat-regular", sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    color: #8c8c8c;
}

.team-line + .team-line {
    margin-top: 1rem;
}

.contact-entry + .contact-entry {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

#about,
#gallery {
    background: #ffffff;
}

#gallery {
    padding-top: 0;
}

#clients {
    background: var(--legacy-clients-bg);
}

#services {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66)),
        linear-gradient(90deg, rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.7)),
        url("/static/images/services-bg.jpg") center/cover no-repeat;
    background-color: var(--legacy-services-bg);
    background-attachment: fixed;
    will-change: background-position;
}

#team {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url("/static/images/team-bg.jpg") center/cover no-repeat;
    background-attachment: fixed;
    will-change: background-position;
}

#contact {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url("/static/images/contact-bg.jpg") center/cover no-repeat;
    background-color: var(--legacy-contact-bg);
    background-attachment: fixed;
    will-change: background-position;
}

#services .section-kicker,
#contact .section-kicker {
    color: rgba(255, 255, 255, 0.56);
}

#services .section-heading h2,
#contact .section-heading h2 {
    color: #ffffff;
}

.section-sponsors {
    background: var(--legacy-sponsors-bg);
}

.sponsor-strip {
    gap: 1rem;
}

.sponsor-group + .sponsor-group {
    margin-top: 2rem;
}

.sponsor-group-title {
    margin: 0 0 1rem;
    font-family: "montserrat-regular", sans-serif;
    font-size: 1.3rem;
    line-height: 1.5;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #888888;
}

.sponsor-card {
    flex: 1 1 160px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border-radius: 1.2rem;
    background: #ffffff;
    border: 1px solid var(--line);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.portfolio-bricks {
    column-count: 2;
    column-gap: 1.2rem;
    margin-top: -1.2rem;
}

.portfolio-intro {
    background: #111111;
    padding: 5.5rem 0 4rem;
    margin-bottom: 3.5rem;
}

.portfolio-intro .section-kicker {
    color: rgba(255, 255, 255, 0.56);
}

.portfolio-intro .section-heading h2 {
    color: #ffffff;
}

.portfolio-content {
    padding-bottom: 5.5rem;
}

.portfolio-brick {
    break-inside: avoid;
    padding-top: 1.2rem;
}

.portfolio-item {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.1rem;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    display: block;
    text-align: left;
}

.portfolio-overlay {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000000;
    cursor: zoom-in;
}

.portfolio-overlay img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.portfolio-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1;
}

.portfolio-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3rem;
    height: 3rem;
    margin: -1.5rem 0 0 -1.5rem;
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.3s ease-in-out;
    z-index: 3;
}

.portfolio-item-text {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2.8rem 0 0 2.2rem;
    margin-right: 5.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
    z-index: 3;
}

.portfolio-item-tag {
    display: block;
    font-family: "montserrat-regular", sans-serif;
    font-size: 1.1rem;
    line-height: 1.5rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
}

.portfolio-item-title {
    display: block;
    font-family: "montserrat-bold", sans-serif;
    font-size: 2.2rem;
    line-height: 1.36;
    color: #ffffff;
}

.portfolio-item:hover .portfolio-overlay::before,
.portfolio-item:focus-visible .portfolio-overlay::before {
    opacity: 1;
    visibility: visible;
}

.portfolio-item:hover .portfolio-overlay img,
.portfolio-item:focus-visible .portfolio-overlay img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-item-text,
.portfolio-item:hover .portfolio-zoom,
.portfolio-item:focus-visible .portfolio-item-text,
.portfolio-item:focus-visible .portfolio-zoom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.gallery-modal .modal-content {
    background: rgba(0, 0, 0, 0.94);
    border: 0;
    border-radius: 0;
}

.gallery-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    z-index: 10;
    filter: invert(1) grayscale(1);
}

.gallery-carousel {
    height: calc(100vh - 10rem);
}

.gallery-slide-shell {
    height: calc(100vh - 13rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 8rem 1rem;
}

.gallery-slide-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 20% 1.4rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
    text-align: center;
}

.gallery-caption-tag {
    display: block;
    font-family: "montserrat-regular", sans-serif;
    font-size: 1.1rem;
    line-height: 1.5rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.gallery-caption-title {
    margin: 0.4rem 0 0;
    font-family: "montserrat-regular", sans-serif;
    font-size: 1.8rem;
    line-height: 1.33;
    color: #ffffff;
}

.gallery-modal .carousel-control-prev,
.gallery-modal .carousel-control-next {
    width: 8%;
}

.news-layout {
    padding-top: 2rem;
}

.news-article + .news-article {
    margin-top: 2rem;
}

.news-body-text {
    line-height: 1.8;
}

.news-body-text > :first-child {
    margin-top: 0;
}

.news-body-text > :last-child {
    margin-bottom: 0;
}

.news-body-text p,
.news-body-text ul,
.news-body-text ol,
.news-body-text blockquote {
    margin-bottom: 1rem;
}

.news-body-text ul,
.news-body-text ol {
    padding-left: 1.5rem;
}

.news-body-text blockquote {
    padding-left: 1rem;
    border-left: 3px solid rgba(209, 0, 3, 0.35);
    color: var(--muted);
}

.news-body-text h1,
.news-body-text h2,
.news-body-text h3,
.news-body-text h4 {
    margin: 1.6rem 0 0.8rem;
}

.archive-sidebar {
    padding: 1.5rem;
    position: sticky;
    top: 6rem;
}

.archive-link {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0.85rem;
    padding: 0.8rem 1rem;
    color: var(--muted);
}

.archive-link.active,
.archive-link:hover {
    background: rgba(209, 0, 3, 0.16);
    color: var(--text);
}

.archive-year + .archive-year {
    margin-top: 1.5rem;
}

.admin-layout {
    padding-top: 2rem;
}

.admin-panel {
    max-width: 460px;
}

.admin-dashboard-stack {
    display: grid;
    gap: 1.5rem;
}

.admin-tabs-nav {
    padding: 1rem;
}

.admin-tabs-row {
    display: flex;
    flex-wrap: wrap;
}

.admin-tabs-nav .nav-link {
    flex: 1 1 220px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    font-family: "montserrat-bold", sans-serif;
}

.admin-tabs-nav .nav-link:hover,
.admin-tabs-nav .nav-link:focus {
    color: var(--brand);
    border-color: rgba(209, 0, 3, 0.24);
}

.admin-tabs-nav .nav-link.active {
    background: #111111;
    color: #ffffff;
    border-color: #111111;
}

.admin-tab-content .tab-pane {
    outline: 0;
}

.admin-news-list {
    display: grid;
    gap: 1rem;
}

.admin-news-item {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
}

.admin-news-item-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.admin-news-preview {
    display: block;
    width: 50%;
    max-width: 220px;
    height: auto;
    margin: 0 0 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-news-thumb {
    width: 120px;
    height: 80px;
}

.admin-filter-panel {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(17, 17, 17, 0.03);
}

.admin-table-shell {
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.admin-table-scroll {
    overflow-y: auto;
}

.admin-news-table-shell {
    max-height: calc(3.5rem + (8 * 5.5rem));
}

.admin-slides-table-shell {
    max-height: calc(3.5rem + (4 * 6.5rem));
}

.admin-clients-table-shell {
    max-height: calc(3.5rem + (8 * 5.25rem));
}

.admin-network-table-shell {
    max-height: calc(3.5rem + (8 * 5.25rem));
}

.admin-gallery-table-shell {
    max-height: calc(3.5rem + (6 * 5.5rem));
}

.admin-archive-table-shell {
    max-height: calc(3.5rem + (6 * 5.5rem));
}

.admin-table-scroll thead,
.admin-table-scroll thead tr {
    background: #f2f2f0;
}

.admin-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f2f2f0 !important;
    background-color: #f2f2f0 !important;
    box-shadow: inset 0 0 0 999px #f2f2f0;
}

.admin-slide-locale-stack {
    display: grid;
    gap: 1rem;
}

.admin-slide-locale-card {
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.admin-slide-locale-label {
    font-family: "montserrat-bold", sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.admin-slide-cell-stack {
    display: grid;
    gap: 0.55rem;
}

.admin-slide-cell-line {
    display: grid;
    gap: 0.15rem;
}

.admin-slide-cell-lang {
    font-family: "montserrat-bold", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.admin-slide-cell-value {
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: var(--line);
    margin-bottom: 0;
}

.admin-table thead th {
    background: rgba(17, 17, 17, 0.06);
    font-family: "montserrat-bold", sans-serif;
    font-size: 0.95rem;
}

.admin-table tbody tr {
    cursor: pointer;
}

.admin-table tbody tr.is-selected td {
    background: rgba(209, 0, 3, 0.08);
}

.admin-table tbody tr:hover td {
    background: rgba(17, 17, 17, 0.04);
}

.admin-table tbody tr.is-selected:hover td {
    background: rgba(209, 0, 3, 0.08);
}

.news-editor .ql-toolbar.ql-snow,
.news-editor .ql-container.ql-snow {
    border-color: rgba(0, 0, 0, 0.16);
}

.news-editor .ql-toolbar.ql-snow {
    border-radius: 0.9rem 0.9rem 0 0;
    background: #ffffff;
}

.news-editor {
    display: block;
    margin-bottom: 1.25rem;
}

.news-editor .ql-container.ql-snow {
    border-radius: 0 0 0.9rem 0.9rem;
    background: #ffffff;
    min-height: 220px;
    font-family: "montserrat-regular", sans-serif;
}

.news-editor .ql-editor {
    min-height: 220px;
    font-size: 1rem;
    line-height: 1.7;
}

.news-editor .ql-editor.ql-blank::before {
    color: rgba(0, 0, 0, 0.34);
    font-style: normal;
}

.news-form-editor-block {
    margin-bottom: 1rem;
}

.news-form-actions {
    clear: both;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

.admin-gallery-thumb {
    width: 84px;
    height: 64px;
    object-fit: contain;
    background: #ffffff;
    padding: 0.35rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.65rem;
}

.admin-slide-thumb {
    width: 120px;
    background: #111111;
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-archive-thumb {
    width: 120px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111111;
}

.admin-archive-preview {
    max-width: 180px;
    padding: 0.55rem 0.7rem;
    border-radius: 0.65rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: monospace;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.admin-gallery-path {
    display: inline-block;
    max-width: 28rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.form-control,
.form-select,
.form-control:focus {
    background: #ffffff;
    color: var(--text);
    border-color: rgba(0, 0, 0, 0.16);
    box-shadow: none;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.34);
}

.btn,
.form-label,
.archive-link,
.team-card,
.contact-panel,
.navbar-nav,
.badge,
.site-footer,
.admin-news-item,
.news-card-body {
    font-family: "montserrat-regular", sans-serif;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2.5rem;
    color: var(--muted);
    background: #ffffff;
}

.cookie-settings-link {
    font-family: "montserrat-regular", sans-serif;
    color: var(--brand);
    text-decoration: none;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
    color: var(--brand-strong);
}

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1rem;
    z-index: 1080;
    pointer-events: none;
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent-panel,
.cookie-modal {
    background: rgba(17, 17, 17, 0.96);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.4rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.cookie-consent-panel {
    display: grid;
    gap: 1.5rem;
    padding: 1.35rem 1.5rem;
}

.cookie-consent-title,
.cookie-modal h2,
.cookie-setting-row h3,
.cookie-embed-placeholder-title {
    font-family: "montserrat-bold", sans-serif;
}

.cookie-consent-copy,
.cookie-setting-row p,
.cookie-embed-placeholder p {
    color: rgba(255, 255, 255, 0.74);
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-consent .btn-outline-light,
.cookie-modal .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.cookie-consent .btn-outline-light:hover,
.cookie-consent .btn-outline-light:focus,
.cookie-modal .btn-outline-light:hover,
.cookie-modal .btn-outline-light:focus {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}

.cookie-modal .modal-header,
.cookie-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.12);
}

.cookie-modal .btn-close {
    filter: invert(1) grayscale(1);
}

.cookie-settings-intro {
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 1.5rem;
}

.cookie-setting-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-setting-row h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.cookie-setting-row p {
    margin: 0;
}

.cookie-setting-row .form-check {
    min-width: 9.5rem;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.6rem;
    margin: 0;
}

.cookie-setting-row .form-check-input {
    margin: 0;
    width: 2.6rem;
    height: 1.45rem;
}

.cookie-setting-row .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.cookie-setting-row .form-check-label {
    color: #ffffff;
}

.cookie-embed-shell,
.cookie-embed-placeholder,
.cookie-embed-shell iframe {
    width: 100%;
    height: 100%;
}

.cookie-embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
        url("/static/images/contact-bg.jpg") center/cover no-repeat;
    color: #ffffff;
}

.cookie-embed-placeholder-title {
    margin: 0;
    font-size: 1.2rem;
}

.cookie-embed-placeholder p {
    margin: 0;
    max-width: 28rem;
}

.cookie-embed-shell iframe {
    border: 0;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-sequence .reveal-on-scroll:nth-child(2) {
    transition-delay: 0.08s;
}

.reveal-sequence .reveal-on-scroll:nth-child(3) {
    transition-delay: 0.14s;
}

.reveal-sequence .reveal-on-scroll:nth-child(4) {
    transition-delay: 0.2s;
}

.parallax-section {
    position: relative;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 7.5rem;
    }

    .archive-sidebar {
        position: static;
    }

    #services,
    #team,
    #contact {
        background-attachment: scroll;
    }

    .gallery-slide-shell {
        padding: 4.5rem 5rem 1rem;
    }

    .gallery-caption {
        padding-left: 15%;
        padding-right: 15%;
    }

    .scroll-icon {
        font-size: 1.2rem;
        top: 24px;
        right: 10px;
    }

    .cookie-setting-row {
        flex-direction: column;
        align-items: start;
    }

    .cookie-setting-row .form-check {
        justify-content: start;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 4rem;
    }

    .news-spotlight img {
        max-height: 100%;
    }

    .news-spotlight-media {
        height: 260px;
    }

    .portfolio-bricks {
        column-count: 1;
    }

    .portfolio-item-text {
        padding: 2rem 0 0 1.6rem;
        margin-right: 4rem;
    }

    .portfolio-item-title {
        font-size: 2rem;
        line-height: 1.5;
    }

    .gallery-slide-shell {
        height: calc(100vh - 10rem);
        padding: 4.5rem 1.5rem 1rem;
    }

    .gallery-caption {
        padding: 1rem 1.5rem 1.4rem;
    }

    .scrolldown {
        display: none;
    }

    .cookie-consent {
        bottom: 0.5rem;
    }

    .cookie-consent-panel {
        padding: 1.1rem;
    }

    .cookie-consent-actions .btn {
        width: 100%;
    }
}
