:root {
    --burgundy: #861f3d;
    --burgundy-dark: #641a2d;
    --mahogany: #432019;
    --walnut: #76523a;
    --copper: #b67542;
    --gold: #d2a14a;
    --jade: #2f7666;
    --sage: #647d68;
    --ink: #24201f;
    --muted: #706965;
    --line: #e5ddd4;
    --paper: #f7f7f5;
    --soft: #f3eee8;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(67, 32, 25, 0.14);
    --shadow-sm: 0 16px 36px rgba(67, 32, 25, 0.1);
    --site-header-height: 138px;
    --anchor-clearance: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--site-header-height) + var(--anchor-clearance));
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

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

img {
    display: block;
    max-width: 100%;
}

.container-xl {
    width: min(100% - 2rem, 1320px);
    margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand strong,
.btn {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-inline: calc(var(--bs-gutter-x) * -0.5);
    row-gap: var(--bs-gutter-y);
}

.row > * {
    width: 100%;
    max-width: 100%;
    padding-inline: calc(var(--bs-gutter-x) * 0.5);
}

.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.g-5 {
    --bs-gutter-x: 3rem;
    --bs-gutter-y: 3rem;
}

.d-flex {
    display: flex;
}

.d-inline {
    display: inline;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: end;
}

.justify-content-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.w-100 {
    width: 100%;
}

.text-end {
    text-align: right;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar > .container-xl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
}

.collapse:not(.show) {
    display: none;
}

.navbar-toggler {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(117, 27, 50, 0.16);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.72);
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--mahogany);
}

.navbar-toggler-icon {
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    top: 6px;
}

.dropdown-menu {
    display: none;
    margin: 0;
    padding: 0.55rem;
    list-style: none;
}

.dropdown-menu.show,
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-indicators,
.carousel-control-prev,
.carousel-control-next {
    display: none;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--line);
}

.align-middle td,
.align-middle th {
    vertical-align: middle;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 780;
}

.form-control,
.form-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(117, 27, 50, 0.14);
    border-radius: 7px;
    padding: 0.68rem 0.78rem;
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

textarea.form-control {
    min-height: auto;
}

.form-control-lg {
    min-height: 52px;
    font-size: 1.05rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
}

.form-switch .form-check-input {
    width: 2.4rem;
    border-radius: 999px;
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    color: #315e45;
    background: rgba(100, 125, 104, 0.16);
}

.alert-danger {
    color: #8f3434;
    background: rgba(143, 52, 52, 0.12);
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        align-items: center;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .ms-lg-2 {
        margin-left: 0.5rem;
    }

    .ms-auto {
        margin-left: auto;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.666667%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.666667%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.333333%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }
}

@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .col-xl-8 {
        flex: 0 0 auto;
        width: 66.666667%;
    }
}

:focus-visible {
    outline: 3px solid rgba(213, 164, 79, 0.82);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 2000;
    transform: translateY(-140%);
    color: var(--mahogany);
    background: var(--gold);
    border-radius: 7px;
    padding: 0.7rem 0.9rem;
    font-weight: 850;
    box-shadow: var(--shadow-sm);
}

.skip-link:focus {
    transform: translateY(0);
}

.top-strip {
    background: var(--mahogany);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.86rem;
    padding: 0.55rem 0;
}

.top-strip a {
    color: rgba(255, 255, 255, 0.92);
}

.top-strip i {
    color: var(--gold);
    margin-right: 0.34rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(251, 248, 244, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 30px rgba(67, 32, 25, 0.08);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(251, 248, 244, 0.98);
    box-shadow: 0 16px 42px rgba(67, 32, 25, 0.12);
}

.main-nav {
    min-height: 104px;
    padding: 0.5rem 0;
}

.navbar-brand,
.footer-brand,
.admin-brand,
.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
    color: var(--ink);
}

.navbar-brand {
    min-width: 0;
    max-width: 470px;
}

.brand-logo {
    position: relative;
    width: 150px;
    height: 98px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: visible;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-logo img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo picture {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-brand .brand-logo,
.admin-brand .brand-logo {
    background: transparent;
    border: 0;
}

.footer-brand .brand-logo {
    width: 156px;
    height: 104px;
}

.admin-brand .brand-logo {
    width: 130px;
    height: 86px;
}

.login-brand .brand-logo {
    background: transparent;
}

.navbar-brand strong,
.footer-brand strong,
.admin-brand strong,
.login-brand strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.1;
}

.navbar-brand span:last-child,
.footer-brand span:last-child,
.admin-brand span:last-child,
.login-brand span:last-child {
    min-width: 0;
}

.navbar-brand small,
.footer-brand small,
.admin-brand small,
.login-brand small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.12rem;
}

.navbar-brand strong,
.navbar-brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 650;
    padding: 0.75rem 0.82rem;
    border-radius: 7px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--burgundy);
    background: rgba(117, 27, 50, 0.08);
}

.navbar-nav .nav-link:focus-visible,
.dropdown-item:focus-visible {
    outline-offset: 2px;
}

.navbar-toggler {
    border-color: rgba(117, 27, 50, 0.2);
    border-radius: 7px;
}

.rich-dropdown {
    border: 1px solid rgba(117, 27, 50, 0.1);
    border-radius: 8px;
    padding: 0.6rem;
    min-width: 250px;
    box-shadow: var(--shadow-sm);
}

.rich-dropdown .dropdown-item {
    border-radius: 7px;
    padding: 0.72rem 0.78rem;
    font-weight: 600;
}

.rich-dropdown .dropdown-item i {
    color: var(--burgundy);
    margin-right: 0.55rem;
}

.btn {
    border-radius: 7px;
    font-weight: 700;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
}

.btn-primary-nav,
.btn-brand {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.btn-primary-nav:hover,
.btn-brand:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: var(--white);
}

.btn-outline-brand {
    color: var(--burgundy);
    border: 1px solid rgba(117, 27, 50, 0.28);
    background: var(--white);
}

.btn-outline-brand:hover {
    color: var(--white);
    border-color: var(--burgundy);
    background: var(--burgundy);
}

.hero-wrap {
    position: relative;
    background: var(--mahogany);
    padding-bottom: 58px;
}

.hero-slide {
    position: relative;
    min-height: 660px;
    background-position: center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(33, 19, 16, 0.86) 0%, rgba(67, 32, 25, 0.62) 48%, rgba(117, 27, 50, 0.22) 100%),
            linear-gradient(0deg, rgba(33, 19, 16, 0.78), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 660px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 1180px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.4rem;
    color: var(--gold);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0.85rem;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.eyebrow.dark {
    color: var(--burgundy);
}

.hero-content h1 {
    max-width: 780px;
    font-size: 3.7rem;
    line-height: 1.02;
    font-weight: 850;
    margin: 0;
}

.hero-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.16rem;
    line-height: 1.65;
    margin: 1.25rem 0 0;
}

.carousel-item.active .hero-content > .eyebrow,
.carousel-item.active .hero-content > h1,
.carousel-item.active .hero-content > p,
.carousel-item.active .hero-content > .hero-actions,
.carousel-item.active .hero-content > .hero-proof-row {
    animation: dropSequence 620ms cubic-bezier(0.18, 0.84, 0.34, 1) both;
}

.carousel-item.active .hero-content > h1 {
    animation-delay: 110ms;
}

.carousel-item.active .hero-content > p {
    animation-delay: 210ms;
}

.carousel-item.active .hero-content > .hero-actions {
    animation-delay: 320ms;
}

.carousel-item.active .hero-content > .hero-proof-row {
    animation-delay: 430ms;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 760px;
    margin-top: 1.35rem;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-height: 42px;
    padding: 0.52rem 0.76rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-proof-row strong {
    color: var(--gold);
    font-weight: 900;
}

.btn-hero {
    color: var(--mahogany);
    background: var(--gold);
    border-color: var(--gold);
    padding-inline: 1.15rem;
}

.btn-hero:hover {
    color: var(--mahogany);
    background: #e4bd6c;
    border-color: #e4bd6c;
}

.btn-hero-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.08);
    padding-inline: 1.15rem;
}

.btn-hero-outline:hover {
    color: var(--mahogany);
    border-color: var(--white);
    background: var(--white);
}

.carousel-control-prev,
.carousel-control-next {
    width: 7%;
}

.quick-panel {
    position: absolute;
    left: 50%;
    bottom: -48px;
    transform: translateX(-50%);
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: var(--shadow);
}

.quick-panel a {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.62rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-weight: 750;
    text-align: center;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.quick-panel a:hover {
    color: var(--white);
    background: var(--burgundy);
    transform: translateY(-2px);
}

.quick-panel i {
    font-size: 1.8rem;
    color: var(--burgundy);
}

.quick-panel a:hover i {
    color: var(--gold);
}

.section-pad {
    padding: 92px 0;
}

.service-band {
    padding-top: 118px;
    background: var(--paper);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    max-width: 720px;
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 820;
    color: var(--ink);
}

.section-heading a {
    color: var(--burgundy);
    font-weight: 800;
    white-space: nowrap;
}

.service-tile {
    height: 100%;
    min-height: 245px;
    padding: 1.45rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 14px 32px rgba(67, 32, 25, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.service-tile:focus-within,
.news-card:focus-within,
.gallery-tile:focus-visible,
.document-list a:focus-visible,
.heritage-card:focus-within,
.artifact-node:focus-visible {
    box-shadow: 0 0 0 3px rgba(213, 164, 79, 0.35), var(--shadow-sm);
}

.service-tile i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--burgundy), var(--walnut) 62%, var(--jade));
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.service-tile h3 {
    font-size: 1.18rem;
    margin: 0 0 0.65rem;
    font-weight: 800;
}

.service-tile p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.news-card {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 18px 48px rgba(67, 32, 25, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.news-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--walnut), var(--burgundy));
}

.news-image img,
.gallery-tile img,
.gallery-photo img,
.artifact-preview-image img,
.admin-list-row img,
.table-title img,
.admin-gallery-card img,
.admin-gallery-strip img,
.side-news img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image img,
.editorial-news-media img,
.article-hero > img,
.side-news img,
.image-preview img {
    object-position: center 24%;
}

.news-image img,
.gallery-tile img,
.gallery-photo img {
    transition: transform 260ms ease;
}

.news-card:hover .news-image img,
.gallery-tile:hover img,
.gallery-photo:hover img {
    transform: scale(1.045);
}

.news-image .news-category {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: var(--white);
    background: rgba(117, 27, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.36rem 0.72rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.news-image .image-fallback-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--walnut), var(--burgundy));
    border-radius: 0;
    padding: 0;
    font-size: 2.1rem;
}

.news-body {
    padding: 1.3rem;
}

.news-body time {
    display: block;
    color: var(--sage);
    font-size: 0.86rem;
    font-weight: 750;
    margin-bottom: 0.55rem;
}

.news-body h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 830;
    margin: 0 0 0.72rem;
}

.news-body h3 a:hover,
.text-link:hover {
    color: var(--burgundy);
}

.news-body p {
    color: var(--muted);
    line-height: 1.62;
    margin: 0;
}

.news-card-tall .news-body p {
    margin-bottom: 1rem;
}

.text-link {
    color: var(--burgundy);
    font-weight: 800;
}

.mayor-band {
    padding: 96px 0;
    color: var(--white);
    background:
            linear-gradient(135deg, rgba(67, 32, 25, 0.96), rgba(117, 27, 50, 0.92)),
            linear-gradient(90deg, var(--mahogany), var(--burgundy));
}

.mayor-band h2 {
    max-width: 720px;
    font-size: 2.5rem;
    line-height: 1.14;
    font-weight: 840;
    margin: 0 0 1rem;
}

.mayor-band p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    font-size: 1.06rem;
}

.mayor-portrait {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.mayor-portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.mayor-photo-card {
    position: relative;
    background: var(--mahogany);
}

.mayor-photo-card > img {
    object-position: center top;
}

.mayor-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(33, 19, 16, 0.82), transparent 44%);
    pointer-events: none;
}

.mayor-photo-caption {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
    display: grid;
    gap: 0.18rem;
}

.mayor-photo-caption span {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.mayor-photo-caption strong {
    color: var(--white);
    font-size: 1.55rem;
    line-height: 1.1;
}

.mayor-placeholder,
.mayor-page-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    min-height: 420px;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    background:
            radial-gradient(circle at 28% 18%, rgba(213, 164, 79, 0.34), transparent 28%),
            linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
            linear-gradient(135deg, var(--mahogany), var(--burgundy));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.mayor-placeholder::after,
.mayor-page-placeholder::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    pointer-events: none;
}

.mayor-placeholder-mark {
    width: 154px;
    height: 96px;
    display: grid;
    place-items: center;
    padding: 0.7rem;
    border-radius: 8px;
    background: rgba(33, 19, 16, 0.3);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.mayor-placeholder-mark img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

.mayor-placeholder > i,
.mayor-page-placeholder > i {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    color: var(--mahogany);
    background: var(--gold);
    border-radius: 999px;
    font-size: 2.1rem;
}

.mayor-placeholder strong {
    display: block;
    max-width: 260px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.mayor-placeholder span {
    max-width: 280px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

.mayor-profile-intro {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1.6rem;
    border: 1px solid rgba(117, 27, 50, 0.1);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(117, 27, 50, 0.07), rgba(213, 164, 79, 0.1));
}

.mayor-page-photo {
    overflow: hidden;
    border-radius: 8px;
    background: var(--mahogany);
    box-shadow: 0 14px 34px rgba(67, 32, 25, 0.14);
}

.mayor-page-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.mayor-page-placeholder {
    min-height: 230px;
    padding: 1rem;
    color: var(--white);
}

.mayor-page-placeholder .mayor-placeholder-mark {
    width: 112px;
    height: 70px;
}

.mayor-profile-intro h3 {
    margin: 0.55rem 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 850;
}

.mayor-profile-intro p {
    margin: 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 8px;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.15);
}

.stats-row div {
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
}

.stats-row strong {
    display: block;
    color: var(--gold);
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stats-row span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 650;
}

.btn-light-action {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn-light-action:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--mahogany);
}

.mayor-landing-hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 92px;
    color: var(--white);
    background:
            linear-gradient(90deg, rgba(33, 19, 16, 0.92), rgba(117, 27, 50, 0.72)),
            url("/images/hattusa/hattusa-panorama-5556190d7dc40871f6763013128eca3e.webp") center / cover;
}

.mayor-landing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(0deg, var(--paper), transparent);
    pointer-events: none;
}

.mayor-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 4rem;
    align-items: end;
}

.mayor-hero-copy h1 {
    max-width: 820px;
    margin: 0.8rem 0 1rem;
    font-size: 5.1rem;
    line-height: 0.95;
    font-weight: 900;
}

.mayor-hero-copy p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.16rem;
    line-height: 1.72;
}

.mayor-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.mayor-hero-portrait {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
    background: var(--mahogany);
}

.mayor-hero-portrait img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
}

.mayor-hero-portrait figcaption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.95rem;
    border-radius: 8px;
    color: var(--white);
    background: rgba(33, 19, 16, 0.72);
    backdrop-filter: blur(10px);
}

.mayor-hero-portrait span,
.announcement-card span {
    display: block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.mayor-hero-portrait strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.12rem;
    line-height: 1.24;
}

.mayor-story-band,
.mayor-vision-band {
    background: var(--paper);
}

.mayor-story-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
    gap: 1rem;
}

.mayor-story-aside {
    padding: 1.35rem;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--mahogany), var(--burgundy));
    box-shadow: var(--shadow-sm);
}

.mayor-story-aside h2,
.mayor-story-content h2 {
    margin: 0.55rem 0 1rem;
    font-size: 1.7rem;
    font-weight: 850;
}

.mayor-story-aside p {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.66;
    margin: 0;
}

.mayor-story-content {
    padding: 1.55rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 16px 42px rgba(67, 32, 25, 0.07);
}

.multiline-text {
    white-space: pre-line;
}

.mayor-signature-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.mayor-signature-line span {
    color: var(--burgundy);
    font-weight: 900;
    font-size: 1.2rem;
}

.mayor-signature-line small {
    color: var(--muted);
    font-weight: 750;
}

.mayor-message-band {
    padding: 88px 0;
    color: var(--white);
    background:
            linear-gradient(135deg, rgba(117, 27, 50, 0.96), rgba(67, 32, 25, 0.92)),
            linear-gradient(90deg, var(--burgundy), var(--mahogany));
}

.mayor-message-copy {
    max-width: 900px;
}

.mayor-message-copy h2 {
    margin: 0.8rem 0 1rem;
    font-size: 3.35rem;
    line-height: 1.08;
    font-weight: 880;
}

.mayor-message-copy p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.72;
}

.vision-grid,
.mayor-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.vision-grid article,
.announcement-card {
    min-height: 220px;
    padding: 1.25rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 14px 34px rgba(67, 32, 25, 0.07);
}

.vision-grid i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--burgundy), var(--walnut) 72%, var(--jade));
    border-radius: 8px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.vision-grid h3,
.announcement-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 850;
}

.vision-grid p,
.announcement-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.announcement-card h3 {
    margin-top: 0.6rem;
}

.announcement-card a:hover {
    color: var(--burgundy);
}

.mayor-gallery-band,
.mayor-announcements-band {
    background: var(--soft);
}

.mayor-gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 1rem;
}

.mayor-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--walnut);
    box-shadow: 0 16px 42px rgba(67, 32, 25, 0.1);
}

.mayor-gallery-item:first-child {
    grid-row: span 2;
}

.mayor-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(33, 19, 16, 0.76), transparent 55%);
}

.mayor-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.mayor-gallery-item:hover img {
    transform: scale(1.05);
}

.mayor-gallery-item span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    color: var(--white);
    font-weight: 850;
}

.mayor-news-band {
    background: var(--paper);
}

.mayor-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-preview {
    background: var(--soft);
}

@keyframes dropSequence {
    0% {
        opacity: 0;
        transform: translateY(-34px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(0.18, 0.84, 0.34, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.text-cascade > * {
    opacity: 0;
}

.text-cascade:not([data-reveal]) > *,
.text-cascade[data-reveal].is-visible > * {
    animation: dropSequence 680ms cubic-bezier(0.18, 0.84, 0.34, 1) both;
}

.text-cascade > *:nth-child(2) {
    animation-delay: 90ms;
}

.text-cascade > *:nth-child(3) {
    animation-delay: 180ms;
}

.text-cascade > *:nth-child(4) {
    animation-delay: 270ms;
}

.heritage-band {
    position: relative;
    background:
            linear-gradient(180deg, rgba(251, 248, 244, 0.9), rgba(243, 235, 227, 0.98)),
            var(--soft);
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.875fr;
    grid-template-rows: repeat(2, minmax(250px, 1fr));
    gap: 1rem;
}

.heritage-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--mahogany);
    box-shadow: 0 18px 48px rgba(67, 32, 25, 0.12);
}

.heritage-card.main-feature {
    grid-row: span 2;
}

.heritage-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform 260ms ease;
}

.heritage-card:hover img {
    transform: scale(1.04);
}

.heritage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(0deg, rgba(33, 19, 16, 0.86), rgba(33, 19, 16, 0.04) 68%),
            linear-gradient(90deg, rgba(117, 27, 50, 0.2), transparent);
}

.heritage-card div {
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2;
    color: var(--white);
}

.heritage-card span {
    display: inline-flex;
    color: var(--mahogany);
    background: var(--gold);
    border-radius: 999px;
    padding: 0.28rem 0.66rem;
    font-size: 0.78rem;
    font-weight: 850;
    margin-bottom: 0.7rem;
}

.heritage-card h3 {
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 850;
    margin: 0 0 0.45rem;
}

.heritage-card.main-feature h3 {
    max-width: 640px;
    font-size: 2rem;
}

.heritage-card p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    grid-auto-rows: 230px;
    gap: 1rem;
}

.gallery-tile {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--walnut);
    box-shadow: 0 18px 48px rgba(67, 32, 25, 0.12);
}

.gallery-tile:first-child {
    grid-row: span 2;
}

.gallery-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(33, 19, 16, 0.76), transparent 55%);
}

.gallery-tile span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    color: var(--white);
    font-weight: 820;
    font-size: 1.08rem;
}

.visit-hero {
    min-height: 430px;
    display: flex;
    align-items: end;
    padding: 116px 0 72px;
}

.guide-band {
    background: var(--paper);
}

.guide-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.guide-summary {
    padding: 1.4rem;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--mahogany), var(--burgundy));
    box-shadow: var(--shadow-sm);
}

.guide-summary h2 {
    margin: 0.55rem 0 1rem;
    font-size: 1.65rem;
    line-height: 1.16;
    font-weight: 850;
}

.guide-summary ol {
    display: grid;
    gap: 0.72rem;
    margin: 0;
    padding-left: 1.25rem;
}

.guide-summary li {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.5;
    font-weight: 650;
}

.guide-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.guide-cards article {
    min-height: 220px;
    padding: 1.25rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 14px 32px rgba(67, 32, 25, 0.07);
}

.guide-cards i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--burgundy), var(--walnut) 70%, var(--jade));
    border-radius: 8px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.guide-cards h3 {
    margin: 0 0 0.55rem;
    font-size: 1.18rem;
    font-weight: 850;
}

.guide-cards p {
    margin: 0;
    color: var(--muted);
    line-height: 1.62;
}

.guide-tips-band,
.document-archive-band {
    background: var(--soft);
}

.guide-info-grid {
    grid-template-columns: repeat(4, 1fr);
}

.guide-route-band {
    background: var(--white);
}

.route-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 1rem;
    align-items: stretch;
}

.route-map-board {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(117, 27, 50, 0.1);
    background:
            linear-gradient(90deg, rgba(117, 27, 50, 0.04) 1px, transparent 1px),
            linear-gradient(0deg, rgba(117, 27, 50, 0.04) 1px, transparent 1px),
            radial-gradient(circle at 22% 24%, rgba(213, 164, 79, 0.28), transparent 25%),
            radial-gradient(circle at 76% 68%, rgba(31, 111, 91, 0.16), transparent 28%),
            linear-gradient(135deg, #fffdf9, #f0e5da);
    background-size: 36px 36px, 36px 36px, auto, auto, auto;
    box-shadow: 0 16px 42px rgba(67, 32, 25, 0.08);
}

.route-map-board::before {
    content: "Hattuşa Rotası";
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 3;
    color: var(--mahogany);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(117, 27, 50, 0.09);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 850;
}

.route-path {
    position: absolute;
    z-index: 1;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--jade));
    box-shadow: 0 0 24px rgba(213, 164, 79, 0.28);
    transform-origin: left center;
    animation: routeGlow 3.4s ease-in-out infinite;
}

.route-path-one {
    left: 18%;
    top: 45%;
    width: 52%;
    transform: rotate(-14deg);
}

.route-path-two {
    left: 42%;
    top: 58%;
    width: 38%;
    transform: rotate(18deg);
    animation-delay: 900ms;
}

.map-pin {
    position: absolute;
    z-index: 2;
    width: min(180px, 42%);
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border-radius: 8px;
    color: var(--mahogany);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(117, 27, 50, 0.13);
    box-shadow: 0 16px 34px rgba(67, 32, 25, 0.12);
}

.map-pin i {
    color: var(--burgundy);
    font-size: 1.35rem;
}

.map-pin strong {
    line-height: 1.18;
    font-weight: 880;
}

.map-pin small {
    color: var(--muted);
    font-weight: 750;
}

.pin-town {
    left: 10%;
    top: 30%;
}

.pin-temple {
    left: 38%;
    top: 22%;
}

.pin-lion {
    right: 11%;
    top: 43%;
}

.pin-yazilikaya {
    left: 47%;
    bottom: 12%;
}

.route-time-list {
    display: grid;
    gap: 0.8rem;
}

.route-time-list article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0.9rem;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--paper);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 12px 28px rgba(67, 32, 25, 0.06);
}

.route-time-list i {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--burgundy), var(--walnut));
    border-radius: 8px;
    font-size: 1.25rem;
}

.route-time-list span {
    color: var(--muted);
    font-weight: 760;
}

.route-time-list strong {
    color: var(--mahogany);
    font-size: 1.18rem;
    line-height: 1.1;
}

.document-archive {
    display: grid;
    gap: 0.9rem;
}

.document-filter,
.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 12px 28px rgba(67, 32, 25, 0.06);
}

.document-filter label,
.admin-filter-bar label {
    display: grid;
    gap: 0.35rem;
    min-width: 160px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 820;
}

.document-filter .btn,
.admin-filter-bar .btn {
    min-height: 42px;
}

.public-document-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 14px 34px rgba(67, 32, 25, 0.07);
}

.document-copy,
.document-date {
    min-width: 0;
}

.document-date {
    display: grid;
    place-items: center;
    min-height: 112px;
    padding: 0.9rem;
    text-align: center;
    border-radius: 8px;
    color: var(--mahogany);
    background: rgba(213, 164, 79, 0.2);
}

.document-date strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 900;
}

.document-date span {
    color: var(--walnut);
    font-size: 0.82rem;
    font-weight: 800;
}

.document-copy h3 {
    margin: 0.5rem 0 0.45rem;
    font-size: 1.22rem;
    line-height: 1.25;
    font-weight: 850;
}

.document-copy p {
    margin: 0 0 0.45rem;
    color: var(--muted);
    line-height: 1.58;
}

.document-copy h3,
.document-copy p,
.document-copy small {
    overflow-wrap: anywhere;
}

.document-copy small {
    color: var(--sage);
    font-weight: 800;
}

.document-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.65rem 0.85rem;
    color: var(--walnut);
    background: var(--soft);
    border-radius: 7px;
    font-weight: 800;
    min-width: 0;
    white-space: normal;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
}

.empty-state i {
    color: var(--burgundy);
    font-size: 2.6rem;
}

.empty-state h2 {
    margin: 0.7rem 0 0.4rem;
    font-size: 1.35rem;
    font-weight: 850;
}

.empty-state p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.6;
}

.documents-band {
    background: var(--paper);
}

.documents-band h2 {
    font-size: 2.15rem;
    line-height: 1.18;
    font-weight: 830;
}

.documents-band p {
    color: var(--muted);
    line-height: 1.75;
}

.document-list {
    display: grid;
    gap: 0.8rem;
}

.document-list a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 12px 28px rgba(67, 32, 25, 0.06);
    font-weight: 760;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.document-list a:hover {
    transform: translateX(4px);
    border-color: rgba(117, 27, 50, 0.2);
    box-shadow: var(--shadow-sm);
}

.document-list i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--burgundy);
    background: rgba(117, 27, 50, 0.08);
    border-radius: 8px;
}

.document-list span {
    color: var(--sage);
    font-weight: 800;
}

.page-hero {
    color: var(--white);
    background:
            linear-gradient(135deg, rgba(67, 32, 25, 0.96), rgba(117, 27, 50, 0.88)),
            url("/images/hattusa/hattusa-panorama-5556190d7dc40871f6763013128eca3e.webp") center/cover;
}

.compact-hero {
    padding: 96px 0;
}

.page-hero h1 {
    font-size: 3.1rem;
    line-height: 1.1;
    font-weight: 850;
    margin: 0 0 0.85rem;
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.article-hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: end;
    color: var(--white);
}

.article-hero > img,
.article-hero-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.article-hero > img {
    object-fit: cover;
}

.article-hero-fallback {
    background:
        linear-gradient(135deg, rgba(67, 32, 25, 0.2), rgba(117, 27, 50, 0.28)),
        url("/images/hattusa/lion-gate-c560d19b082c545254ad89727b02a27a.webp") center 35% / cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(33, 19, 16, 0.92), rgba(33, 19, 16, 0.18));
}

.article-hero .container-xl {
    position: relative;
    z-index: 2;
    padding-bottom: 4rem;
}

.article-hero h1 {
    max-width: 900px;
    font-size: 3.15rem;
    line-height: 1.08;
    font-weight: 850;
    margin: 0 0 0.9rem;
}

.article-hero time {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.article-content {
    border-radius: 8px;
    background: var(--white);
    padding: 2.2rem;
    box-shadow: 0 16px 48px rgba(67, 32, 25, 0.08);
}

.article-content .lead {
    color: var(--burgundy);
    font-size: 1.28rem;
    line-height: 1.7;
    font-weight: 650;
}

.article-content p {
    color: #3f3936;
    line-height: 1.9;
    font-size: 1.06rem;
    max-width: 72ch;
    margin: 0 0 1.18rem;
    overflow-wrap: break-word;
    text-wrap: pretty;
    white-space: normal;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.side-panel,
.content-panel,
.form-panel {
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 18px 48px rgba(67, 32, 25, 0.08);
}

.side-panel {
    padding: 1.4rem;
}

.side-panel h2 {
    font-size: 1.15rem;
    font-weight: 830;
    margin: 0 0 1rem;
}

.side-news {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0.9rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
}

.side-news:first-of-type {
    border-top: 0;
}

.side-news img,
.side-news-fallback {
    aspect-ratio: 1 / 0.78;
    border-radius: 7px;
    background: var(--soft);
}

.side-news-fallback {
    display: grid;
    place-items: center;
    color: var(--burgundy);
    font-size: 1.25rem;
}

.side-news small {
    color: var(--sage);
    display: block;
    font-weight: 750;
    margin-bottom: 0.2rem;
}

.side-news strong {
    display: block;
    line-height: 1.35;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.6rem;
}

.gallery-filter button {
    border: 1px solid rgba(117, 27, 50, 0.18);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: var(--white);
    color: var(--ink);
    font-weight: 750;
}

.gallery-filter button.active,
.gallery-filter button:hover {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.gallery-masonry {
    columns: 3 300px;
    column-gap: 1rem;
}

.gallery-photo {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 1rem;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 48px rgba(67, 32, 25, 0.09);
}

.gallery-photo img {
    aspect-ratio: 4 / 3;
    background: var(--soft);
}

.gallery-photo figcaption {
    padding: 1rem;
}

.gallery-photo small {
    display: block;
    color: var(--sage);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.gallery-photo strong {
    display: block;
    font-size: 1.06rem;
    margin-bottom: 0.35rem;
}

.gallery-photo span {
    color: var(--muted);
    line-height: 1.55;
}

.content-panel {
    padding: 2rem;
}

.content-panel h2 {
    font-size: 1.9rem;
    font-weight: 830;
    margin-bottom: 1rem;
}

.content-panel p {
    color: var(--muted);
    line-height: 1.78;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.info-grid div {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--soft);
    font-weight: 750;
}

.info-grid i {
    color: var(--burgundy);
    font-size: 1.25rem;
}

.side-link {
    display: block;
    padding: 0.78rem 0;
    border-top: 1px solid var(--line);
    font-weight: 740;
}

.side-link:hover {
    color: var(--burgundy);
}

.contact-section {
    background: var(--soft);
}

.contact-stack {
    display: grid;
    gap: 0.9rem;
}

.contact-stack div {
    display: flex;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 12px 28px rgba(67, 32, 25, 0.07);
}

.contact-stack i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--white);
    background: var(--burgundy);
    border-radius: 8px;
}

.contact-stack strong {
    display: block;
    margin-bottom: 0.2rem;
}

.form-panel,
.wide-form {
    padding: 1.5rem;
}

.form-label {
    color: var(--ink);
    font-weight: 740;
}

.form-control,
.form-select {
    min-height: 44px;
    border-color: rgba(117, 27, 50, 0.17);
    border-radius: 7px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 0.2rem rgba(117, 27, 50, 0.12);
}

.form-control::placeholder,
.form-select::placeholder {
    color: #9b928b;
}

.site-footer {
    color: rgba(255, 255, 255, 0.86);
    background: var(--mahogany);
}

.footer-main {
    padding: 64px 0;
}

.footer-brand {
    color: var(--white);
}

.footer-brand small {
    color: rgba(255, 255, 255, 0.68);
}

.footer-text {
    margin-top: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.site-footer h6 {
    color: var(--gold);
    font-weight: 820;
    margin-bottom: 1rem;
}

.site-footer a:not(.footer-brand) {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 0.58rem;
}

.site-footer a:hover {
    color: var(--gold);
}

.social-row {
    display: flex;
    gap: 0.6rem;
}

.social-row a {
    width: 38px;
    height: 38px;
    display: grid !important;
    place-items: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-contact {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.footer-contact i {
    color: var(--gold);
}

.image-credit {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
}

.footer-bottom {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.62);
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.9rem;
}

.login-body {
    min-height: 100vh;
    background:
            linear-gradient(135deg, rgba(67, 32, 25, 0.94), rgba(117, 27, 50, 0.86)),
            url("/images/hattusa/lion-gate-c560d19b082c545254ad89727b02a27a.webp") center/cover;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 480px) 1fr;
    align-items: stretch;
}

.login-panel {
    background: rgba(251, 248, 244, 0.98);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-panel h1 {
    font-size: 2rem;
    font-weight: 850;
    margin: 2rem 0 0.6rem;
}

.login-panel p {
    color: var(--muted);
    line-height: 1.65;
}

.login-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--burgundy);
    font-weight: 800;
    margin-top: 1.3rem;
}

.login-art {
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 4rem;
}

.login-art span {
    color: var(--gold);
    font-weight: 820;
}

.login-art h2 {
    max-width: 700px;
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 850;
    margin: 0.8rem 0 0;
}

.admin-body {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 286px 1fr;
    background: #f6f1eb;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.35rem;
    color: var(--white);
    background:
            linear-gradient(180deg, rgba(67, 32, 25, 0.98), rgba(117, 27, 50, 0.96)),
            var(--mahogany);
}

.admin-brand {
    color: var(--white);
}

.admin-brand small {
    color: rgba(255, 255, 255, 0.64);
}

.admin-menu {
    display: grid;
    gap: 0.45rem;
}

.admin-menu a,
.admin-logout button {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-weight: 750;
    text-align: left;
}

.admin-menu a:hover,
.admin-menu a.active,
.admin-logout button:hover {
    color: var(--mahogany);
    background: var(--gold);
}

.admin-menu a.active {
    box-shadow: inset 4px 0 0 var(--white);
}

.admin-logout {
    margin-top: auto;
}

.admin-main {
    min-width: 0;
    padding: 1.6rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.admin-topbar span,
.admin-section-head span {
    color: var(--sage);
    font-size: 0.82rem;
    font-weight: 820;
    text-transform: uppercase;
    letter-spacing: 0;
}

.admin-topbar h1 {
    font-size: 2rem;
    font-weight: 850;
    margin: 0.2rem 0 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.admin-quick-actions a {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 12px 28px rgba(67, 32, 25, 0.06);
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-quick-actions a:hover {
    transform: translateY(-3px);
    border-color: rgba(117, 27, 50, 0.18);
    box-shadow: var(--shadow-sm);
}

.admin-quick-actions i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--white);
    background: linear-gradient(135deg, var(--burgundy), var(--walnut));
    border-radius: 8px;
    font-size: 1.15rem;
}

.metric-card,
.admin-section,
.form-block {
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(117, 27, 50, 0.08);
    box-shadow: 0 16px 42px rgba(67, 32, 25, 0.07);
}

.metric-card {
    padding: 1.25rem;
    display: grid;
    gap: 0.45rem;
    min-height: 168px;
}

.metric-card i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: var(--burgundy);
    font-size: 1.25rem;
}

.metric-card span {
    color: var(--muted);
    font-weight: 750;
}

.metric-card strong {
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
}

.metric-card a {
    color: var(--burgundy);
    font-weight: 800;
}

.metric-card.accent i {
    color: var(--mahogany);
    background: var(--gold);
}

.admin-section {
    padding: 1.25rem;
    margin-bottom: 1.2rem;
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-section-head h2 {
    font-size: 1.35rem;
    font-weight: 850;
    margin: 0.18rem 0 0;
}

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

.admin-list-row {
    display: grid;
    grid-template-columns: 86px 1fr 32px;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem;
    border-radius: 8px;
    background: var(--soft);
    transition: background 180ms ease, transform 180ms ease;
}

.admin-list-row:hover {
    background: #eee2d7;
    transform: translateX(3px);
}

.admin-list-row img {
    aspect-ratio: 1.2 / 0.8;
    border-radius: 7px;
}

.admin-list-row strong {
    display: block;
}

.admin-list-row small {
    color: var(--muted);
}

.admin-gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.admin-gallery-strip img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.admin-table {
    margin: 0;
}

.admin-table thead th {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0;
    border-bottom-color: var(--line);
}

.table-title {
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 0.85rem;
    min-width: 330px;
}

.table-title img {
    aspect-ratio: 1.25 / 0.82;
    border-radius: 7px;
    background: var(--soft);
}

.document-table-title {
    grid-template-columns: 54px 1fr;
}

.document-table-title > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--burgundy);
    background: rgba(117, 27, 50, 0.08);
    border-radius: 7px;
    font-size: 1.4rem;
}

.page-table-title {
    grid-template-columns: 54px 1fr;
}

.page-table-title > i {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--burgundy);
    background: rgba(117, 27, 50, 0.08);
    border-radius: 7px;
    font-size: 1.25rem;
}

.admin-slug-link {
    color: var(--burgundy);
    font-weight: 800;
}

.table-title strong,
.table-title small {
    display: block;
}

.table-title small {
    max-width: 520px;
    color: var(--muted);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 820;
    background: var(--soft);
    color: var(--muted);
    margin: 0.1rem;
}

.status-pill.live {
    color: #315e45;
    background: rgba(100, 125, 104, 0.16);
}

.status-pill.muted {
    color: #8b5b55;
    background: rgba(139, 91, 85, 0.14);
}

.status-pill.featured {
    color: var(--mahogany);
    background: rgba(213, 164, 79, 0.22);
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    border: 1px solid rgba(117, 27, 50, 0.13);
    color: var(--burgundy);
    background: var(--white);
}

.icon-btn:hover {
    color: var(--white);
    background: var(--burgundy);
}

.icon-btn.danger {
    color: #a94242;
}

.icon-btn.danger:hover {
    color: var(--white);
    background: #a94242;
    border-color: #a94242;
}

.admin-form .form-block {
    padding: 1.25rem;
}

.form-guidance {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    margin-bottom: 1.15rem;
    border-radius: 8px;
    color: #5a463a;
    background: rgba(213, 164, 79, 0.16);
    border: 1px solid rgba(213, 164, 79, 0.28);
    font-weight: 650;
    line-height: 1.55;
}

.form-guidance i {
    color: var(--burgundy);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.field-hint {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
    margin-top: 0.42rem;
}

.sticky-form-block {
    position: sticky;
    top: 1.25rem;
}

.content-editor {
    min-height: 340px;
}

.field-error {
    color: #a94242;
    font-size: 0.86rem;
    margin-top: 0.35rem;
    font-weight: 700;
}

.image-preview {
    min-height: 180px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    color: var(--muted);
    background: var(--soft);
    border: 1px dashed rgba(117, 27, 50, 0.24);
    font-weight: 760;
}

.image-preview.large {
    min-height: 300px;
}

.image-preview img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.admin-form-actions {
    display: flex;
    justify-content: end;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.admin-gallery-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.admin-gallery-card {
    position: relative;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 0.85rem;
    border-radius: 8px;
    background: var(--soft);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-gallery-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.admin-gallery-card img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: var(--line);
}

.admin-gallery-card small {
    color: var(--sage);
    font-weight: 820;
}

.admin-gallery-card h3 {
    font-size: 1.1rem;
    font-weight: 830;
    margin: 0.25rem 0 0.4rem;
}

.admin-gallery-card p {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.gallery-card-actions {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: flex;
    gap: 0.35rem;
}

.image-fallback {
    background: linear-gradient(135deg, var(--walnut), var(--burgundy));
}

.image-fallback::before {
    content: "Görsel";
    color: rgba(255, 255, 255, 0.75);
    font-weight: 800;
}

@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3.05rem;
    }

    .quick-panel {
        grid-template-columns: repeat(3, 1fr);
        position: static;
        transform: none;
        margin-top: -36px;
    }

    .hero-wrap {
        padding-bottom: 0;
    }

    .admin-gallery-list {
        grid-template-columns: 1fr;
    }

    .admin-grid,
    .admin-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 991px) {
    :root {
        --site-header-height: 88px;
        --anchor-clearance: 16px;
    }

    .top-strip {
        display: none;
    }

    .main-nav {
        min-height: auto;
    }

    .navbar-collapse {
        padding-top: 1rem;
    }

    .navbar-brand {
        max-width: min(72vw, 340px);
    }

    .hero-slide,
    .hero-content {
        min-height: 560px;
    }

    .hero-content h1,
    .article-hero h1,
    .page-hero h1,
    .login-art h2 {
        font-size: 2.45rem;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2,
    .documents-band h2,
    .mayor-band h2 {
        font-size: 1.9rem;
    }

    .section-heading a {
        display: inline-flex;
        margin-top: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-tile:first-child {
        grid-row: span 1;
    }

    .heritage-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .heritage-card.main-feature {
        grid-row: auto;
    }

    .guide-layout,
    .mayor-hero-grid,
    .mayor-story-layout,
    .route-layout {
        grid-template-columns: 1fr;
    }

    .mayor-landing-hero {
        padding: 76px 0 72px;
    }

    .mayor-hero-grid {
        gap: 2rem;
    }

    .mayor-hero-portrait {
        max-width: 430px;
    }

    .guide-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .mayor-news-grid {
        grid-template-columns: 1fr;
    }

    .public-document-card {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .public-document-card .btn,
    .document-pending {
        grid-column: 2;
        justify-self: start;
    }

    .mayor-band .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .mayor-band .row > * {
        padding-left: 0;
        padding-right: 0;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-art {
        display: none;
    }

    .admin-body {
        display: block;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .brand-logo {
        width: 104px;
        height: 72px;
    }

    .brand-logo img {
        width: 100%;
        height: 100%;
    }

    .navbar-brand {
        gap: 0.55rem;
        max-width: calc(100% - 58px);
    }

    .navbar-brand strong {
        font-size: 0.96rem;
    }

    .navbar-brand small {
        font-size: 0.72rem;
    }

    .hero-slide,
    .hero-content {
        min-height: 510px;
    }

    .hero-content h1,
    .article-hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .hero-content p,
    .page-hero p {
        font-size: 1rem;
    }

    .quick-panel {
        grid-template-columns: 1fr;
        margin-top: 0;
        border-radius: 0;
    }

    .quick-panel a {
        min-height: 82px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-proof-row span {
        width: 100%;
        justify-content: space-between;
    }

    .section-pad {
        padding: 64px 0;
    }

    .service-band {
        padding-top: 64px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .guide-cards,
    .guide-info-grid,
    .vision-grid,
    .mayor-gallery-grid,
    .route-time-list,
    .public-document-card {
        grid-template-columns: 1fr;
    }

    .mayor-landing-hero {
        padding: 58px 0 56px;
    }

    .mayor-hero-copy h1,
    .mayor-message-copy h2 {
        font-size: 2.15rem;
        line-height: 1.08;
    }

    .mayor-hero-actions,
    .document-filter,
    .admin-filter-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .document-filter label,
    .admin-filter-bar label,
    .document-filter .btn,
    .admin-filter-bar .btn {
        width: 100%;
    }

    .mayor-gallery-item:first-child {
        grid-row: span 1;
    }

    .route-map-board {
        display: grid;
        gap: 0.75rem;
        min-height: auto;
        padding: 4rem 1rem 1rem;
    }

    .route-path {
        display: none;
    }

    .map-pin {
        position: relative;
        inset: auto !important;
        width: 100%;
    }

    .public-document-card {
        align-items: stretch;
    }

    .document-date {
        min-height: auto;
        grid-template-columns: auto 1fr;
        justify-items: start;
        gap: 0.65rem;
        text-align: left;
    }

    .public-document-card .btn,
    .document-pending {
        grid-column: auto;
        width: 100%;
    }

    .heritage-card,
    .heritage-card img {
        min-height: 320px;
    }

    .heritage-card.main-feature h3 {
        font-size: 1.5rem;
    }

    .mayor-placeholder,
    .mayor-page-placeholder {
        min-height: 320px;
    }

    .mayor-profile-intro {
        grid-template-columns: 1fr;
    }

    .stats-row,
    .info-grid,
    .admin-gallery-strip {
        grid-template-columns: 1fr;
    }

    .document-list a {
        grid-template-columns: 42px 1fr;
    }

    .document-list span {
        grid-column: 2;
    }

    .compact-hero {
        padding: 70px 0;
    }

    .article-hero {
        min-height: 440px;
    }

    .article-content,
    .content-panel,
    .form-panel,
    .wide-form {
        padding: 1.2rem;
    }

    .side-news {
        grid-template-columns: 78px 1fr;
    }

    .login-panel {
        padding: 1.5rem;
    }

    .admin-main {
        padding: 1rem;
    }

    .admin-topbar,
    .admin-section-head,
    .admin-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-menu {
        grid-template-columns: 1fr;
    }

    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-list-row,
    .table-title,
    .admin-gallery-card {
        grid-template-columns: 1fr;
    }

    .admin-list-row img,
    .table-title img,
    .admin-gallery-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .gallery-card-actions {
        position: static;
        margin-top: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .route-line,
    .route-path,
    .artifact-node.active::after {
        animation: none;
    }

    [data-reveal],
    [data-reveal].is-visible,
    .text-cascade > * {
        opacity: 1;
        transform: none;
    }

    .artifact-node,
    .artifact-preview-image img,
    .text-cascade > *,
    .carousel-item.active .hero-content > .eyebrow,
    .carousel-item.active .hero-content > h1,
    .carousel-item.active .hero-content > p,
    .carousel-item.active .hero-content > .hero-actions,
    .carousel-item.active .hero-content > .hero-proof-row {
        animation: none;
        transition: none;
    }
}

/* 2026 Hittite experience design */
.civic-hero {
    position: relative;
    min-height: 540px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #1d1817;
}

.civic-hero-image,
.civic-hero-shade,
.civic-hero-stone {
    position: absolute;
    inset: 0;
}

.civic-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
}

.civic-hero-shade {
    background: linear-gradient(90deg, rgba(24, 17, 16, 0.94) 0%, rgba(38, 23, 22, 0.79) 48%, rgba(55, 20, 31, 0.3) 100%);
}

.civic-hero-shade::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(0deg, rgba(16, 13, 13, 0.86), transparent);
}

.civic-hero-stone {
    left: auto;
    width: 27%;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
    background: linear-gradient(90deg, transparent, rgba(210, 161, 74, 0.08));
    clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%, 18% 50%);
}

.civic-hero-content {
    position: relative;
    z-index: 2;
    padding-block: 3.5rem 4rem;
}

.civic-hero-content h1 {
    max-width: 830px;
    margin: 0;
    font-size: 4.35rem;
    line-height: 0.98;
    font-weight: 800;
}

.civic-hero-content > p {
    max-width: 660px;
    margin: 1.45rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.18rem;
    line-height: 1.7;
}

.civic-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 2.8rem;
}

.civic-hero-facts span {
    min-width: 190px;
    padding: 0.15rem 1.5rem 0.15rem 0;
    margin-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.civic-hero-facts span:last-child {
    border-right: 0;
}

.civic-hero-facts strong {
    display: block;
    color: var(--white);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.15rem;
}

.hero-scroll-cue {
    position: absolute;
    z-index: 3;
    right: max(1rem, calc((100vw - 1320px) / 2));
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.hero-scroll-cue i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
}

.civic-command-band {
    padding: 4.8rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.civic-command-band > .container-xl {
    display: grid;
    grid-template-columns: 0.72fr 2fr;
    gap: 4rem;
    align-items: end;
}

.command-intro h2 {
    margin: 0;
    font-size: 2.35rem;
    line-height: 1.08;
}

.command-intro p {
    margin: 1rem 0 0;
    color: var(--muted);
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.command-grid > a {
    min-height: 112px;
    display: grid;
    grid-template-columns: 48px 1fr 24px;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem 1.35rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.command-grid > a:hover {
    color: var(--white);
    background: var(--burgundy-dark);
    transform: translateY(-2px);
}

.command-grid > a > i:first-child {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--burgundy);
    background: var(--soft);
    border-radius: 7px;
    font-size: 1.25rem;
}

.command-grid > a:hover > i:first-child {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.command-grid span,
.command-grid strong,
.command-grid small {
    display: block;
}

.command-grid strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1rem;
}

.command-grid small {
    margin-top: 0.22rem;
    color: var(--muted);
}

.command-grid > a:hover small {
    color: rgba(255, 255, 255, 0.7);
}

.civic-news-band {
    background: var(--paper);
}

.editorial-news-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: 1.25rem;
}

.editorial-news {
    min-width: 0;
    border-top: 3px solid var(--ink);
}

.editorial-news-media {
    position: relative;
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    background: var(--soft);
}

.editorial-news-featured .editorial-news-media {
    aspect-ratio: 16 / 9;
}

.editorial-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.editorial-news:hover img {
    transform: scale(1.035);
}

.image-fallback-label {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--burgundy);
    font-size: 2rem;
}

.editorial-news-copy {
    padding-top: 1rem;
}

.editorial-news-copy > div {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.editorial-news-copy > div span {
    color: var(--burgundy);
    font-weight: 700;
}

.editorial-news-copy h3 {
    margin: 0.75rem 0 0;
    font-size: 1.28rem;
    line-height: 1.2;
}

.editorial-news-featured .editorial-news-copy h3 {
    font-size: 1.85rem;
}

.editorial-news-copy p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.heritage-gateway {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: #1d1817;
}

.heritage-gateway-media,
.heritage-gateway-shade {
    position: absolute;
    inset: 0;
}

.heritage-gateway-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

.heritage-gateway-shade {
    background: linear-gradient(90deg, rgba(20, 16, 15, 0.98), rgba(37, 24, 21, 0.84) 58%, rgba(100, 26, 45, 0.3));
}

.heritage-gateway-layout {
    position: relative;
    z-index: 2;
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
    padding-block: 6.5rem 8.5rem;
}

.heritage-gateway-copy h2 {
    max-width: 670px;
    margin: 0;
    font-size: 3.75rem;
    line-height: 1;
}

.heritage-gateway-copy p {
    max-width: 580px;
    margin: 1.4rem 0 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.08rem;
    line-height: 1.7;
}

.heritage-door-list {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.heritage-door-list a {
    min-height: 84px;
    display: grid;
    grid-template-columns: 52px 1fr 28px;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    color: rgba(255, 255, 255, 0.9);
    transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.heritage-door-list a:hover {
    padding-inline: 1rem;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.heritage-door-list a span {
    color: var(--gold);
    font-size: 0.78rem;
}

.heritage-door-list a strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.12rem;
}

.hittite-symbol-ribbon {
    position: absolute;
    z-index: 3;
    inset: auto 0 0;
    display: flex;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(20, 16, 15, 0.9);
}

.hittite-symbol-ribbon > div {
    flex: 0 0 auto;
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.05rem 1rem;
    color: rgba(255, 255, 255, 0.52);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    animation: heritageMarquee 28s linear infinite;
}

.hittite-symbol-ribbon b {
    color: var(--gold);
}

.hittite-symbol-ribbon:hover > div,
.hittite-symbol-ribbon:focus-within > div {
    animation-play-state: paused;
}

.mayor-home-band {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--burgundy-dark);
}

.mayor-home-band::before {
    content: "BOĞAZKALE";
    position: absolute;
    right: -1rem;
    bottom: -1.3rem;
    color: rgba(255, 255, 255, 0.045);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
}

.mayor-home-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3rem, 5vw, 6.5rem);
    align-items: center;
    padding-top: 5.5rem;
}

.mayor-home-portrait {
    position: relative;
    align-self: end;
    width: min(100%, 520px);
    height: clamp(520px, 38vw, 620px);
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(210, 161, 74, 0.24), rgba(100, 26, 45, 0.22)),
        #2b171d;
    box-shadow: 0 28px 54px rgba(26, 11, 16, 0.34);
}

.mayor-home-portrait::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

.mayor-home-portrait::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        radial-gradient(circle at 22% 15%, rgba(210, 161, 74, 0.18), transparent 30%),
        linear-gradient(180deg, transparent 48%, rgba(25, 17, 18, 0.78) 100%);
    pointer-events: none;
}

.mayor-home-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
    filter: saturate(1.02) contrast(1.02);
}

.mayor-home-portrait figcaption {
    position: absolute;
    z-index: 4;
    left: 1.6rem;
    right: 1.6rem;
    bottom: 1.45rem;
    padding: 0.95rem 1rem;
    background: rgba(25, 17, 18, 0.82);
    border-radius: 6px;
    backdrop-filter: blur(8px);
}

.mayor-home-portrait figcaption span,
.mayor-home-portrait figcaption strong {
    display: block;
}

.mayor-home-portrait figcaption span {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 850;
}

.mayor-home-portrait figcaption strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.42rem;
    line-height: 1.1;
}

.mayor-home-copy {
    padding-block: 5.5rem;
}

.mayor-home-copy h2 {
    max-width: 670px;
    margin: 0;
    font-size: 3.25rem;
    line-height: 1.04;
}

.mayor-home-copy > p {
    max-width: 650px;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
    line-height: 1.72;
}

.mayor-home-principles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.mayor-home-principles span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.88);
}

.mayor-home-principles i {
    color: var(--gold);
}

.announcement-strip,
.mayor-news-section {
    background: var(--white);
}

.announcement-line-list {
    border-top: 1px solid var(--ink);
}

.announcement-line-list > a {
    min-height: 74px;
    display: grid;
    grid-template-columns: 130px 1fr 32px;
    gap: 1.25rem;
    align-items: center;
    border-bottom: 1px solid var(--line);
    transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.announcement-line-list > a:hover {
    padding-inline: 1rem;
    color: var(--burgundy);
    background: var(--soft);
}

.announcement-line-list time {
    color: var(--muted);
    font-size: 0.85rem;
}

.announcement-line-list strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.05rem;
}

.civic-documents {
    background: var(--soft);
}

.civic-documents-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 5rem;
    align-items: center;
}

.civic-documents-layout h2 {
    margin: 0;
    font-size: 2.65rem;
    line-height: 1.05;
}

.civic-documents-layout p {
    color: var(--muted);
    line-height: 1.65;
}

.footer-contact-column h6 {
    white-space: nowrap;
}

@keyframes heritageMarquee {
    to { transform: translateX(-100%); }
}

.heritage-experience-page {
    background: var(--paper);
}

.hittite-portal-hero {
    position: relative;
    min-height: 530px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #171313;
}

.hittite-portal-hero > img,
.hittite-portal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hittite-portal-hero > img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.025);
}

.hittite-portal-overlay {
    z-index: 1;
    background: linear-gradient(90deg, rgba(18, 14, 14, 0.92), rgba(35, 20, 20, 0.68) 55%, rgba(32, 23, 21, 0.32));
}

.portal-door {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    width: 51%;
    pointer-events: none;
    background-color: #2c2725;
    background-image:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 38%),
        url('/images/hattusa/hattusa-panorama-5556190d7dc40871f6763013128eca3e.webp');
    background-size: cover;
    filter: saturate(0.45) brightness(0.48);
    transition: transform 1100ms cubic-bezier(0.22, 0.78, 0.25, 1);
}

.portal-door::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(210, 161, 74, 0.24);
}

.portal-door span {
    position: absolute;
    top: 50%;
    width: 72px;
    height: 72px;
    border: 2px solid rgba(210, 161, 74, 0.7);
    transform: translateY(-50%) rotate(45deg);
}

.portal-door-left {
    left: 0;
    transform-origin: left center;
    clip-path: polygon(0 0, 100% 0, 91% 50%, 100% 100%, 0 100%);
}

.portal-door-left span {
    right: 8%;
}

.portal-door-right {
    right: 0;
    transform-origin: right center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 9% 50%);
}

.portal-door-right span {
    left: 8%;
}

.hittite-portal-hero.is-open .portal-door-left {
    transform: translateX(-91%);
}

.hittite-portal-hero.is-open .portal-door-right {
    transform: translateX(91%);
}

.hittite-portal-content {
    position: relative;
    z-index: 4;
    padding-block: 4rem;
}

.hittite-portal-content h1 {
    max-width: 830px;
    margin: 0;
    font-size: 4.8rem;
    line-height: 0.96;
    font-weight: 800;
}

.hittite-portal-content p {
    max-width: 670px;
    margin: 1.45rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.18rem;
    line-height: 1.7;
}

.portal-coordinate {
    position: absolute;
    z-index: 6;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

.portal-coordinate i {
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.light-ribbon {
    position: relative;
    inset: auto;
    color: var(--ink);
    background: var(--white);
    border-block: 1px solid var(--line);
}

.light-ribbon > div {
    color: var(--muted);
}

.heritage-intro {
    background: var(--white);
}

.heritage-intro-layout,
.unesco-value-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 6rem;
    align-items: start;
}

.heritage-intro-heading h2,
.unesco-value-layout h2 {
    margin: 0;
    font-size: 3.2rem;
    line-height: 1.02;
}

.heritage-intro-copy > p,
.unesco-value-copy p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.8;
}

.heritage-fact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 2.6rem 0 0;
    border-top: 1px solid var(--line);
}

.heritage-fact-row > div {
    padding: 1.4rem 1rem 0 0;
}

.heritage-fact-row dt {
    color: var(--burgundy);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.heritage-fact-row dd {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.heritage-route-section {
    padding: 7rem 0;
    color: var(--white);
    background: #1d1817;
}

.light-heading h2,
.light-heading a {
    color: var(--white);
}

.heritage-atlas {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2rem;
    align-items: stretch;
}

.atlas-visual {
    position: relative;
    min-height: 590px;
    overflow: hidden;
}

.atlas-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12, 10, 10, 0.86), transparent 50%);
}

.atlas-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 180ms ease, transform 700ms ease;
}

.atlas-visual.is-switching img {
    opacity: 0.45;
    transform: scale(1.025);
}

.atlas-index {
    position: absolute;
    z-index: 2;
    top: 1.25rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.42);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 5rem;
    font-weight: 800;
}

.atlas-caption {
    position: absolute;
    z-index: 2;
    left: 2rem;
    bottom: 2rem;
}

.atlas-caption span,
.atlas-caption strong {
    display: block;
}

.atlas-caption span {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.atlas-caption strong {
    margin-top: 0.3rem;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 2.25rem;
}

.atlas-list {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.atlas-list > a {
    min-height: 118px;
    display: grid;
    grid-template-columns: 44px 1fr 28px;
    gap: 1rem;
    align-items: center;
    padding-inline: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.72);
    transition: color 180ms ease, background 180ms ease;
}

.atlas-list > a:hover,
.atlas-list > a.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
}

.atlas-list > a > span {
    color: var(--gold);
    font-size: 0.78rem;
}

.atlas-list strong,
.atlas-list small {
    display: block;
}

.atlas-list strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.15rem;
}

.atlas-list small {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.5);
}

.heritage-story-grid {
    background: var(--paper);
}

.story-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink);
}

.story-columns article {
    position: relative;
    min-height: 330px;
    padding: 2rem;
    border-right: 1px solid var(--line);
}

.story-columns article:last-child {
    border-right: 0;
}

.story-columns article > span {
    color: var(--muted);
    font-size: 0.78rem;
}

.story-columns article > i {
    position: absolute;
    right: 2rem;
    top: 1.7rem;
    color: var(--burgundy);
    font-size: 1.6rem;
}

.story-columns h3 {
    margin: 7rem 0 0;
    font-size: 1.5rem;
}

.story-columns p {
    color: var(--muted);
    line-height: 1.65;
}

.heritage-visit-cta {
    position: relative;
    min-height: 580px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #171313;
}

.heritage-visit-cta > img,
.heritage-visit-cta > div:first-of-type {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.heritage-visit-cta > img {
    object-fit: cover;
}

.heritage-visit-cta > div:first-of-type {
    background: linear-gradient(90deg, rgba(20, 15, 14, 0.94), rgba(31, 111, 91, 0.45));
}

.heritage-visit-cta .container-xl {
    position: relative;
    z-index: 2;
}

.heritage-visit-cta h2 {
    max-width: 700px;
    margin: 0;
    font-size: 3.5rem;
}

.heritage-visit-cta p {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.heritage-source {
    padding-block: 1.2rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.heritage-source a {
    color: var(--burgundy);
    text-decoration: underline;
}

.unesco-hero {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #1d1817;
}

.unesco-hero > img,
.unesco-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.unesco-hero > img {
    object-fit: cover;
}

.unesco-hero-overlay {
    background: linear-gradient(90deg, rgba(16, 14, 14, 0.96), rgba(32, 24, 21, 0.78) 58%, rgba(74, 29, 38, 0.38));
}

.unesco-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 5rem;
    align-items: center;
    padding-block: 4rem;
}

.unesco-hero-layout h1 {
    max-width: 830px;
    margin: 0;
    font-size: 4.35rem;
    line-height: 0.98;
}

.unesco-hero-layout p {
    max-width: 650px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.14rem;
    line-height: 1.7;
}

.unesco-seal {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
}

.unesco-seal i {
    color: var(--gold);
    font-size: 2.1rem;
}

.unesco-seal span {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
}

.unesco-seal strong {
    color: var(--white);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 3.5rem;
    line-height: 1;
}

.unesco-seal small {
    margin-top: 0.35rem;
}

.unesco-stat-band {
    color: var(--white);
    background: var(--burgundy-dark);
}

.unesco-stat-band .container-xl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.unesco-stat-band .container-xl > div {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.unesco-stat-band .container-xl > div:last-child {
    border-right: 0;
}

.unesco-stat-band strong,
.unesco-stat-band span {
    display: block;
}

.unesco-stat-band strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 2rem;
}

.unesco-stat-band span {
    color: rgba(255, 255, 255, 0.65);
}

.unesco-value-section {
    background: var(--white);
}

.criteria-section {
    background: var(--soft);
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ink);
}

.criteria-grid article {
    min-height: 300px;
    padding: 1.8rem;
    border-right: 1px solid rgba(36, 32, 31, 0.18);
}

.criteria-grid article:last-child {
    border-right: 0;
}

.criteria-grid article > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--burgundy);
    border-radius: 50%;
    color: var(--burgundy);
    font-family: Georgia, serif;
    font-size: 1.3rem;
}

.criteria-grid h3 {
    margin: 4.5rem 0 0;
    font-size: 1.35rem;
}

.criteria-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.unesco-preservation-band {
    padding: 6rem 0;
    color: var(--white);
    background: var(--jade);
}

.unesco-preservation-band .container-xl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.unesco-preservation-band h2 {
    margin: 0;
    font-size: 3.2rem;
    line-height: 1.03;
}

.unesco-preservation-band p {
    margin: 0 0 1.7rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.landmark-hero {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: #171313;
}

.landmark-hero > img,
.landmark-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.landmark-hero > img {
    object-fit: cover;
}

.landmark-hero-overlay {
    background:
        linear-gradient(0deg, rgba(13, 11, 11, 0.94), transparent 62%),
        linear-gradient(90deg, rgba(24, 17, 16, 0.64), transparent 70%);
}

.landmark-hero-content {
    position: relative;
    z-index: 2;
    padding-block: 3.5rem;
}

.landmark-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.86rem;
}

.landmark-hero-content h1 {
    margin: 0;
    font-size: 5rem;
    line-height: 0.96;
}

.landmark-hero-content p {
    max-width: 700px;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
    line-height: 1.7;
}

.landmark-number {
    position: absolute;
    z-index: 2;
    right: max(1rem, calc((100vw - 1320px) / 2));
    bottom: 2rem;
    color: rgba(255, 255, 255, 0.24);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
}

.landmark-story {
    background: var(--white);
}

.landmark-story-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 6rem;
}

.landmark-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin-bottom: 2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--burgundy);
    font-size: 1.7rem;
}

.landmark-story h2 {
    margin: 0;
    font-size: 2.6rem;
}

.landmark-lead {
    margin: 0;
    color: var(--ink);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.75rem;
    line-height: 1.45;
}

.landmark-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 3rem 0 0;
    border-top: 1px solid var(--line);
}

.landmark-facts > div {
    padding: 1.5rem 1rem 0 0;
}

.landmark-facts dt {
    color: var(--burgundy);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
}

.landmark-facts dd {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.landmark-next-section {
    padding: 6rem 0;
    color: var(--white);
    background: #1d1817;
}

.landmark-next-section .container-xl {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 5rem;
}

.landmark-next-section h2 {
    margin: 0;
    font-size: 2.8rem;
}

.landmark-next-section nav {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.landmark-next-section nav a {
    min-height: 72px;
    display: grid;
    grid-template-columns: 38px 1fr 26px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.8);
}

.landmark-next-section nav a:hover {
    color: var(--gold);
}

.mayor-signature-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--burgundy-dark);
}

.mayor-signature-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    background-image:
        linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.25) 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(255, 255, 255, 0.16) 50%, transparent 50.2%);
    background-size: 86px 86px;
}

.mayor-signature-layout {
    position: relative;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 5rem;
    align-items: center;
    padding-top: 3rem;
}

.mayor-signature-copy {
    padding-bottom: 4rem;
}

.mayor-signature-copy h1 {
    margin: 0;
    font-size: 5.4rem;
    line-height: 0.84;
}

.mayor-signature-copy > p {
    max-width: 570px;
    margin: 1.7rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.14rem;
    line-height: 1.7;
}

.mayor-signature-photo {
    position: relative;
    align-self: end;
    height: 470px;
    margin: 0;
    overflow: hidden;
}

.mayor-signature-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.mayor-signature-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
}

.mayor-signature-photo figcaption {
    position: absolute;
    z-index: 2;
    left: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--gold);
    background: rgba(29, 24, 23, 0.88);
}

.mayor-signature-photo span,
.mayor-signature-photo strong {
    display: block;
}

.mayor-signature-photo span {
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.mayor-signature-photo strong {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.mayor-section-nav {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -1px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mayor-section-nav a {
    padding: 1.15rem;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
}

.mayor-section-nav a:last-child {
    border-right: 0;
}

.mayor-section-nav a:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

.mayor-biography-section {
    background: var(--white);
}

.mayor-biography-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
}

.mayor-biography-layout aside h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.04;
}

.mayor-profile-facts {
    display: grid;
    margin-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.mayor-profile-facts span {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
}

.mayor-profile-facts i {
    grid-row: 1 / 3;
    color: var(--burgundy);
}

.mayor-profile-facts strong,
.mayor-profile-facts small {
    display: block;
}

.mayor-profile-facts small {
    color: var(--muted);
}

.mayor-biography-layout article {
    position: relative;
    padding-left: 3rem;
    border-left: 1px solid var(--line);
}

.chapter-number {
    color: var(--burgundy);
    font-size: 0.78rem;
    font-weight: 700;
}

.mayor-biography-layout article h3 {
    margin: 0.7rem 0 1.2rem;
    font-size: 1.7rem;
}

.mayor-biography-layout article p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.78;
}

.mayor-name-signature {
    margin-top: 2.5rem;
}

.mayor-name-signature strong,
.mayor-name-signature span {
    display: block;
}

.mayor-name-signature strong {
    color: var(--burgundy);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: 1.65rem;
}

.mayor-name-signature span {
    color: var(--muted);
}

.mayor-message-stage {
    padding: 7rem 0;
    color: var(--white);
    background: #1d1817;
}

.mayor-message-stage-layout {
    display: grid;
    grid-template-columns: 0.35fr 1.65fr;
    gap: 3rem;
}

.message-mark {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 11rem;
    line-height: 0.8;
}

.mayor-message-stage h2 {
    max-width: 990px;
    margin: 0;
    font-size: 3.45rem;
    line-height: 1.06;
}

.mayor-message-stage p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 1.08rem;
    line-height: 1.7;
}

.mayor-vision-section {
    background: var(--soft);
}

.mayor-vision-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--ink);
}

.mayor-vision-list article {
    position: relative;
    min-height: 330px;
    padding: 1.8rem;
    border-right: 1px solid rgba(36, 32, 31, 0.18);
}

.mayor-vision-list article:last-child {
    border-right: 0;
}

.mayor-vision-list article > span {
    color: var(--muted);
    font-size: 0.78rem;
}

.mayor-vision-list article > i {
    position: absolute;
    top: 1.7rem;
    right: 1.8rem;
    color: var(--burgundy);
    font-size: 1.45rem;
}

.mayor-vision-list h3 {
    margin: 7rem 0 0;
    font-size: 1.3rem;
}

.mayor-vision-list p {
    color: var(--muted);
    line-height: 1.6;
}

.mayor-gallery-section {
    background: var(--paper);
}

/* Content remains readable without JavaScript; motion is applied with the Web Animations API. */
[data-reveal],
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-brand > span:last-child {
        display: none;
    }

    .brand-logo {
        width: 128px;
        height: 86px;
    }

    .navbar-nav .nav-link {
        padding-inline: 0.58rem;
        font-size: 0.92rem;
    }

    .editorial-news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .editorial-news-featured {
        grid-column: 1 / -1;
    }

    .editorial-news-featured .editorial-news-media {
        aspect-ratio: 2 / 1;
    }

    .mayor-signature-photo {
        height: 500px;
    }
}

@media (max-width: 991px) {
    .navbar-brand > span:last-child {
        display: block;
    }

    .civic-hero-content h1,
    .hittite-portal-content h1,
    .unesco-hero-layout h1 {
        font-size: 3.6rem;
    }

    .civic-command-band > .container-xl,
    .heritage-gateway-layout,
    .mayor-home-layout,
    .civic-documents-layout,
    .heritage-intro-layout,
    .unesco-value-layout,
    .unesco-preservation-band .container-xl,
    .landmark-story-layout,
    .landmark-next-section .container-xl,
    .mayor-signature-layout,
    .mayor-biography-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .heritage-gateway-layout {
        padding-block: 5rem 7rem;
    }

    .heritage-gateway-copy h2,
    .mayor-home-copy h2,
    .heritage-visit-cta h2,
    .mayor-message-stage h2 {
        font-size: 2.8rem;
    }

    .mayor-home-layout {
        padding-top: 4rem;
    }

    .mayor-home-portrait {
        max-width: 580px;
        height: 540px;
        order: 2;
    }

    .mayor-home-copy {
        padding-block: 1rem 0;
    }

    .heritage-atlas {
        grid-template-columns: 1fr;
    }

    .atlas-visual {
        min-height: 510px;
    }

    .story-columns,
    .criteria-grid,
    .mayor-vision-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-columns article:nth-child(2),
    .criteria-grid article:nth-child(2),
    .mayor-vision-list article:nth-child(2) {
        border-right: 0;
    }

    .unesco-hero-layout {
        grid-template-columns: 1fr 200px;
        gap: 2rem;
    }

    .unesco-stat-band .container-xl {
        grid-template-columns: repeat(2, 1fr);
    }

    .unesco-stat-band .container-xl > div:nth-child(2) {
        border-right: 0;
    }

    .landmark-hero-content h1 {
        font-size: 4rem;
    }

    .landmark-number {
        font-size: 6rem;
    }

    .mayor-signature-copy {
        padding-bottom: 0;
    }

    .mayor-signature-photo {
        max-width: 680px;
        height: 520px;
    }

    .mayor-section-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .mayor-section-nav a:nth-child(2) {
        border-right: 0;
    }

    .mayor-biography-layout article {
        padding: 2rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 767px) {
    .main-nav > .container-xl {
        flex-wrap: wrap;
    }

    .navbar-brand {
        max-width: 238px;
        margin-right: 0;
    }

    .navbar-brand > span:last-child {
        max-width: 120px;
    }

    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .navbar-collapse {
        width: 100%;
    }

    .civic-hero,
    .hittite-portal-hero,
    .landmark-hero {
        min-height: 620px;
    }

    .civic-hero-content,
    .hittite-portal-content {
        padding-block: 2.75rem 3.25rem;
    }

    .civic-hero-content h1,
    .hittite-portal-content h1,
    .unesco-hero-layout h1,
    .mayor-signature-copy h1 {
        font-size: 2.75rem;
        line-height: 0.98;
    }

    .civic-hero-content > p,
    .hittite-portal-content p,
    .unesco-hero-layout p,
    .landmark-hero-content p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .civic-hero-facts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-top: 2rem;
    }

    .civic-hero-facts span {
        min-width: 0;
        width: 100%;
        padding: 0 0.75rem 0 0;
        margin: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
        border-bottom: 0;
    }

    .civic-hero-facts span:nth-child(2) {
        padding-left: 0.75rem;
        border-right: 0;
    }

    .civic-hero-facts span:nth-child(n + 3) {
        display: none;
    }

    .hero-scroll-cue,
    .portal-coordinate,
    .landmark-number {
        display: none;
    }

    .civic-command-band {
        padding-block: 3.5rem;
    }

    .command-intro h2,
    .heritage-intro-heading h2,
    .unesco-value-layout h2,
    .mayor-biography-layout aside h2 {
        font-size: 2.1rem;
    }

    .command-grid,
    .editorial-news-grid,
    .story-columns,
    .criteria-grid,
    .mayor-vision-list,
    .heritage-fact-row,
    .landmark-facts {
        grid-template-columns: 1fr;
    }

    .editorial-news-featured {
        grid-column: auto;
    }

    .editorial-news-featured .editorial-news-media,
    .editorial-news-media {
        aspect-ratio: 4 / 3;
    }

    .editorial-news-featured .editorial-news-copy h3,
    .editorial-news-copy h3 {
        font-size: 1.35rem;
    }

    .heritage-gateway-layout {
        min-height: auto;
        padding-block: 4.5rem 7rem;
    }

    .heritage-gateway-copy h2,
    .mayor-home-copy h2,
    .heritage-visit-cta h2,
    .mayor-message-stage h2,
    .unesco-preservation-band h2 {
        font-size: 2.2rem;
    }

    .heritage-door-list a {
        min-height: 70px;
    }

    .hittite-symbol-ribbon > div {
        gap: 1.2rem;
    }

    .mayor-home-layout {
        gap: 2rem;
    }

    .mayor-home-portrait {
        width: 100%;
        height: min(520px, 118vw);
    }

    .announcement-line-list > a {
        min-height: 84px;
        grid-template-columns: 1fr 26px;
        gap: 0.35rem 0.75rem;
        padding-block: 0.9rem;
    }

    .announcement-line-list time {
        grid-column: 1 / 2;
    }

    .announcement-line-list strong {
        grid-column: 1 / 2;
    }

    .announcement-line-list i {
        grid-column: 2;
        grid-row: 1 / 3;
    }

    .portal-door span {
        width: 48px;
        height: 48px;
    }

    .atlas-visual {
        min-height: 390px;
    }

    .atlas-index {
        font-size: 3.4rem;
    }

    .atlas-caption {
        left: 1.2rem;
        bottom: 1.2rem;
    }

    .atlas-caption strong {
        font-size: 1.7rem;
    }

    .atlas-list > a {
        min-height: 90px;
    }

    .story-columns article,
    .criteria-grid article,
    .mayor-vision-list article {
        min-height: 250px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .story-columns h3,
    .criteria-grid h3,
    .mayor-vision-list h3 {
        margin-top: 4rem;
    }

    .unesco-hero {
        min-height: 620px;
    }

    .unesco-hero-layout {
        grid-template-columns: 1fr;
        padding-block: 4.5rem;
    }

    .unesco-seal {
        width: 160px;
    }

    .unesco-stat-band .container-xl {
        grid-template-columns: 1fr 1fr;
    }

    .unesco-stat-band .container-xl > div {
        min-height: 120px;
        padding: 1rem;
    }

    .unesco-stat-band strong {
        font-size: 1.5rem;
    }

    .unesco-stat-band span {
        font-size: 0.85rem;
    }

    .landmark-hero-content h1 {
        font-size: 3.1rem;
    }

    .landmark-lead {
        font-size: 1.4rem;
    }

    .mayor-signature-layout {
        padding-top: 4rem;
    }

    .mayor-signature-photo {
        height: 480px;
    }

    .mayor-section-nav {
        grid-template-columns: 1fr;
    }

    .mayor-section-nav a,
    .mayor-section-nav a:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .mayor-message-stage-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .message-mark {
        font-size: 6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-door,
    .atlas-visual img,
    .editorial-news-media img,
    .command-grid > a,
    .heritage-door-list a,
    .announcement-line-list > a {
        transition: none !important;
    }

    .hittite-portal-hero .portal-door-left {
        transform: translateX(-91%);
    }

    .hittite-portal-hero .portal-door-right {
        transform: translateX(91%);
    }

    .hittite-symbol-ribbon > div {
        animation: none !important;
    }
}

.error-state {
    min-height: 58vh;
    display: grid;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(116, 22, 48, 0.94), rgba(58, 25, 18, 0.92)),
        url("/images/hattusa/lion-gate-c560d19b082c545254ad89727b02a27a.webp") center/cover;
    color: #fff;
}

.error-state-panel {
    max-width: 760px;
    padding: clamp(2rem, 5vw, 4rem);
    border-left: 4px solid var(--gold);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.error-state-panel h1 {
    max-width: 680px;
    margin: 0.65rem 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.02;
}

.error-state-panel p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.error-state-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.72);
}

.error-state-meta span {
    display: inline-grid;
    min-width: 64px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 800;
}

.error-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}
