/*
 * Projektdetailseite (/projekte/<name>) und Fehlerseiten im gleichen Look.
 * Wird nur dort geladen (project.php / 404.php: $pageStyles). Markup: project.php.
 * Mobile first: Grundregeln für das Handy, Erweiterungen ab 600 / 768 / 1100 px.
 */

body.page-project {
    --pp-text: #2b2f33;
    --pp-heading: #111418;
    --pp-muted: #6b7280;
    --pp-border: #e6e9ed;
    --pp-soft: #f5f7f9;
    --pp-link: #1f6fa8;
    --pp-accent-1: #3498db;          /* Akzentverlauf wie auf der Startseite (Projektkarten) */
    --pp-accent-2: #2ecc71;
    --pp-accent: linear-gradient(90deg, var(--pp-accent-1), var(--pp-accent-2));
    --pp-dark: #14181d;
    --pp-radius: 16px;
    --pp-header-offset: 96px;        /* Sprungziele landen unter dem mitlaufenden Header */
}

/* ---------- Seitenrahmen ---------------------------------------------------------- */

/* Fester heller Grund statt "transparent": manche Ansichten (Dunkelmodus, eingebettete
   Browser) zeichnen sonst einen dunklen Untergrund unter die dunkle Schrift */
body.page-project {
    background-color: #fff;
}

/* about-modal.css setzt body auf overflow:auto - damit wird body selbst zum Scroll-Container
   und der mitlaufende (sticky) Header bleibt nicht stehen. Die Scroll-Sperre des Modals
   (.modal-open) bleibt unberührt. */
body.page-project:not(.modal-open) {
    overflow: visible !important;
}

/* main ist global eine zentrierte Flexbox mit 50px Innenabstand (Startseite) */
main.project-main {
    display: block;
    min-height: 0;
    padding: 0 0 40px;
}

/* Verlauf zum Grau des Projektbereichs gibt es nur auf der Startseite */
.page-project main::after {
    content: none;
}

/* Porträt im Hintergrund nur als leise Textur, damit Titel und Text ruhig lesbar bleiben */
.page-project .portrait-overlay,
.page-project .background-container:hover .portrait-overlay {
    opacity: 0.12;
}

/* Header: kompakt, bleibt an seinem Platz (kein Sprung beim Scrollen) und bekommt beim
   Scrollen einen hellen, leicht transparenten Hintergrund, damit kein Text darunter durchläuft */
.page-project header,
.page-project header.scrolled {
    position: sticky;
    top: 0;
    padding: 12px 20px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.page-project header .logo img,
.page-project header.scrolled .logo img {
    width: 40px;
}

.page-project header.scrolled {
    background-color: rgba(255, 255, 255, 0.88) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    box-shadow: 0 1px 0 rgba(17, 20, 24, 0.07);
}

.page-project .mobile-menu {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 32px rgba(17, 20, 24, 0.14);
}

@media (min-width: 769px) {
    .page-project header,
    .page-project header.scrolled {
        padding: 14px 40px;
    }
}

/* Lesefortschritt (nur Browser mit scroll-getriebenen Animationen, sonst unsichtbar) */
.reading-progress {
    display: none;
}

@supports (animation-timeline: scroll()) {
    .page-project .reading-progress {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        z-index: 1100;
        transform-origin: 0 50%;
        transform: scaleX(0);
        background: var(--pp-accent);
        animation: kka-reading-progress linear both;
        animation-timeline: scroll(root block);
    }

    @keyframes kka-reading-progress {
        to { transform: scaleX(1); }
    }
}

.project-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 4px 20px 0;
    color: var(--pp-text);
}

@media (min-width: 768px) {
    .project-page {
        padding: 20px 32px 0;
    }
}

.project-page a:focus-visible,
.project-page summary:focus-visible {
    outline: 3px solid rgba(52, 152, 219, 0.55);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ---------- Brotkrumen -------------------------------------------------------------- */

.project-breadcrumbs ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    color: var(--pp-muted);
    min-width: 0;
}

.project-breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.project-breadcrumbs li + li::before {
    content: '›';
    color: #aab1b9;
}

.project-breadcrumbs a {
    color: var(--pp-muted);
    text-decoration: none;
    padding: 4px 0;
}

.project-breadcrumbs a:hover {
    color: var(--pp-heading);
    text-decoration: underline;
}

.project-breadcrumbs li[aria-current] {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--pp-heading);
    font-weight: 600;
}

.project-breadcrumbs li[aria-current]::before {
    margin-right: 0.45rem;           /* Block statt Flex (für "…"), daher Abstand von Hand */
    font-weight: 400;
}

/* Handy: der aktuelle Titel steht direkt darunter als Überschrift */
@media (max-width: 599px) {
    .project-breadcrumbs li[aria-current] {
        display: none;
    }
}

/* ---------- Kopfbereich ------------------------------------------------------------- */

.project-hero {
    margin: 18px 0 24px;
}

.project-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pp-muted);
}

.project-eyebrow::before {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--pp-accent);
}

.project-hero h1 {
    max-width: 900px;
    margin: 0 0 1rem;
    font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--pp-heading);
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.project-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    color: #4b5563;
    background: var(--pp-soft);
    border: 1px solid var(--pp-border);
    border-radius: 999px;
}

.project-meta i {
    font-size: 0.85em;
    color: var(--pp-accent-1);
}

.project-lead {
    max-width: 40rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #4b5563;
}

/* ---------- Titelbild ---------------------------------------------------------------- */

.project-cover {
    margin: 0 0 clamp(28px, 5vw, 48px);
}

.project-cover__link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(12px, 3vw, 32px);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(52, 152, 219, 0.1), transparent 55%),
        radial-gradient(120% 120% at 100% 100%, rgba(46, 204, 113, 0.1), transparent 55%),
        var(--pp-soft);
    cursor: zoom-in;
    overflow: hidden;
    text-decoration: none;
}

/* Rahmen in der Größe des Bildes: Seitenverhältnis und Originalbreite kommen aus project.php
   (--ar, --w), so ist der Platz schon vor dem Laden reserviert. Nie größer als das Original
   und nie höher als --cover-max-h. */
.project-cover__frame {
    --cover-max-h: min(52vh, 560px);  /* Handy: unter dem Bild ist noch Text zu sehen */
    display: block;
    width: min(100%, var(--w, 100%), calc(var(--cover-max-h) * var(--ar, 1.5)));
    aspect-ratio: var(--ar, 1.5);
}

@media (min-width: 768px) {
    .project-cover__frame {
        --cover-max-h: min(62vh, 560px);
    }
}

.project-cover__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
}

.project-cover__hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(17, 20, 24, 0.72);
    border-radius: 999px;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

@media (hover: hover) {
    .project-cover__hint {
        opacity: 0;
    }

    .project-cover__link:hover .project-cover__hint,
    .project-cover__link:focus-visible .project-cover__hint {
        opacity: 1;
    }
}

/* ---------- Inhalt + Seitenleiste ---------------------------------------------------- */

.project-aside {
    display: none;
}

@media (min-width: 1100px) {
    .project-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 64px;
        align-items: start;
    }

    .project-aside {
        display: flex;
        flex-direction: column;
        gap: 16px;
        position: sticky;
        top: var(--pp-header-offset);
        max-height: calc(100vh - var(--pp-header-offset) - 24px);
        overflow-y: auto;
    }

    .project-toc--inline {
        display: none;
    }
}

.project-aside__card {
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
}

.project-aside__title {
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pp-muted);
}

.project-aside__contact p:not(.project-aside__title) {
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: #4b5563;
}

.project-aside__contact .kka-btn {
    width: 100%;
}

/* Inhaltsverzeichnis: Handy aufklappbar über dem Text, Desktop in der Seitenleiste */
.project-toc--inline {
    margin: 0 0 28px;
    background: #fff;
    border: 1px solid var(--pp-border);
    border-radius: 14px;
}

.project-toc--inline summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 12px 16px;
    font-weight: 700;
    color: var(--pp-heading);
    list-style: none;
    cursor: pointer;
}

.project-toc--inline summary::-webkit-details-marker {
    display: none;
}

.project-toc--inline summary i {
    color: var(--pp-accent-1);
}

.project-toc--inline summary::after {
    content: '';
    width: 8px;
    height: 8px;
    margin: -4px 4px 0 auto;
    border-right: 2px solid #9aa1a9;
    border-bottom: 2px solid #9aa1a9;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.project-toc--inline[open] summary::after {
    margin-top: 4px;
    transform: rotate(-135deg);
}

.project-toc__count {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--pp-muted);
}

.project-toc ol {
    list-style: none;
    counter-reset: toc;
}

.project-toc--inline ol {
    padding: 0 8px 10px;
}

.project-toc li {
    counter-increment: toc;
}

.project-toc a {
    display: flex;
    gap: 0.75rem;
    padding: 10px 8px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.project-toc a::before {
    content: counter(toc, decimal-leading-zero);
    padding-top: 0.15em;
    font-size: 0.78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #a3aab2;
}

.project-toc a:hover {
    color: var(--pp-heading);
    background: var(--pp-soft);
}

.project-toc--side a {
    padding: 7px 8px;
    font-size: 0.9rem;
}

.project-toc--side a.is-active {
    color: var(--pp-heading);
    font-weight: 600;
    background: #eef6fb;
}

.project-toc--side a.is-active::before {
    color: var(--pp-accent-1);
}

/* ---------- Projekttext (aus dem Admin-Editor) ---------------------------------------- */

.prose {
    max-width: 46rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--pp-text);
    overflow-wrap: break-word;
}

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

.prose h2,
.prose h3,
.prose h4 {
    color: var(--pp-heading);
    scroll-margin-top: var(--pp-header-offset);
    text-wrap: balance;
}

.prose h2 {
    margin: 2.6rem 0 0.8rem;
    padding-top: 2rem;
    font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.75rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    border-top: 1px solid var(--pp-border);
}

.prose > h2:first-child {
    padding-top: 0;
    border-top: 0;
}

.prose h3 {
    margin: 2rem 0 0.6rem;
    font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
    line-height: 1.35;
}

.prose h4 {
    margin: 1.6rem 0 0.4rem;
    font-size: 1.05rem;
    line-height: 1.4;
}

.prose h2 + h3 {
    margin-top: 1.2rem;
}

.prose p {
    margin: 0 0 1rem;
}

.prose strong,
.prose b {
    font-weight: 700;
    color: var(--pp-heading);
}

.prose a {
    color: var(--pp-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: #155480;
    text-decoration-thickness: 2px;
}

.prose ul,
.prose ol {
    margin: 0 0 1.2rem;
    padding-left: 1.4rem;
}

.prose li {
    margin: 0.35rem 0;
}

.prose li::marker {
    color: var(--pp-accent-1);
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: zoom-in;                 /* öffnet die Vergrößerung (assets/js/project-page.js) */
}

.prose a img {
    cursor: pointer;
}

.prose figure {
    margin: 1.75rem 0;
}

.prose figure.table {
    margin: 0;
}

.prose figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--pp-muted);
    text-align: center;
}

.prose blockquote {
    margin: 1.75rem 0;
    padding: 0.25rem 0 0.25rem 1.1rem;
    color: #374151;
    border-left: 3px solid var(--pp-accent-1);
}

.prose hr {
    margin: 2.5rem 0;
    border: 0;
    border-top: 1px solid var(--pp-border);
}

.prose code {
    padding: 0.1em 0.35em;
    font-size: 0.9em;
    background: #f1f3f5;
    border-radius: 4px;
}

.prose pre {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #f3f4f6;
    background: var(--pp-dark);
    border-radius: 12px;
}

.prose pre code {
    padding: 0;
    background: none;
}

/* Tabellen: Desktop als ruhige Tabelle, Handy als Karten (Klassen aus kka_project_content) */
.prose .table-responsive {
    margin: 1.75rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid var(--pp-border);
    border-radius: 14px;
}

.prose .project-table {
    width: 100%;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    border-collapse: collapse;
}

.prose .project-table th,
.prose .project-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border: 0;
}

.prose .project-table thead th {
    color: var(--pp-heading);
    font-weight: 700;
    background: var(--pp-soft);
    border-bottom: 1px solid var(--pp-border);
}

.prose .project-table tbody tr + tr td {
    border-top: 1px solid #eef0f3;
}

.prose .project-table tbody tr:nth-child(even) {
    background: #fbfcfd;
}

.prose .project-table tbody tr:hover {
    background: #f4f9fd;
}

.prose .project-table td:first-child {
    font-weight: 600;
    color: var(--pp-heading);
}

@media (max-width: 640px) {
    .prose .table-responsive:has(> .is-stackable) {
        overflow: visible;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .prose .project-table.is-stackable,
    .prose .project-table.is-stackable tbody,
    .prose .project-table.is-stackable tr,
    .prose .project-table.is-stackable td {
        display: block;
        width: auto;
    }

    /* Spaltenköpfe nur noch für Screenreader (bei mehreren Spalten stehen sie an jeder Zelle) */
    .prose .project-table.is-stackable thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .prose .project-table.is-stackable tr,
    .prose .project-table.is-stackable tbody tr:nth-child(even) {
        margin-bottom: 10px;
        padding: 14px 16px;
        background: #fff;
        border: 1px solid var(--pp-border);
        border-radius: 12px;
    }

    .prose .project-table.is-stackable tbody tr + tr td {
        border-top: 0;
    }

    .prose .project-table.is-stackable td {
        padding: 0;
    }

    .prose .project-table.is-stackable td + td {
        margin-top: 6px;
    }

    .prose .project-table.is-multi td + td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--pp-muted);
    }
}

/* ---------- Vorheriges / nächstes Projekt -------------------------------------------- */

.project-pager {
    display: grid;
    gap: 12px;
    margin-top: clamp(40px, 6vw, 64px);
    padding-top: 28px;
    border-top: 1px solid var(--pp-border);
}

@media (min-width: 700px) {
    .project-pager {
        grid-template-columns: 1fr 1fr;
    }

    .project-pager__item--next {
        grid-column: 2;
        flex-direction: row-reverse;
        text-align: right;
    }
}

.project-pager__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.project-pager__item:hover {
    border-color: #cfd6dd;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    transform: translateY(-2px);
}

.project-pager__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pp-border);
    border-radius: 10px;
}

/* Ganzes Bild zeigen: die Projektgrafiken sind meist hell, ein Ausschnitt wäre oft nur Weiß */
.project-pager__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-pager__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.project-pager__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pp-muted);
}

.project-pager__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 700;
    line-height: 1.35;
    color: var(--pp-heading);
}

/* ---------- Abschluss: Kontakt ------------------------------------------------------- */

.project-cta {
    display: grid;
    gap: 20px;
    margin-top: 28px;
    padding: clamp(24px, 5vw, 44px);
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(46, 204, 113, 0.25), transparent 50%),
        radial-gradient(120% 140% at 0% 100%, rgba(52, 152, 219, 0.3), transparent 55%),
        var(--pp-dark);
    border-radius: 20px;
}

@media (min-width: 860px) {
    .project-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 32px;
    }
}

.project-cta h2 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
    line-height: 1.25;
    color: #fff;
    text-wrap: balance;
}

.project-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.project-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 520px) {
    .project-cta__actions .kka-btn {
        flex: 1 1 100%;
    }
}

/* ---------- Schaltflächen ------------------------------------------------------------ */

.kka-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0 20px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kka-btn:hover {
    transform: translateY(-1px);
}

.kka-btn:focus-visible {
    outline: 3px solid rgba(52, 152, 219, 0.6);
    outline-offset: 2px;
}

.kka-btn--primary {
    color: #fff;
    background: var(--pp-dark);
}

.kka-btn--primary:hover {
    background: #000;
}

.kka-btn--ghost {
    color: var(--pp-dark);
    background: #fff;
    border-color: #d3d8de;
}

.kka-btn--ghost:hover {
    border-color: var(--pp-dark);
}

.kka-btn--light {
    color: var(--pp-dark);
    background: #fff;
}

.kka-btn--light:hover {
    background: #eef6fb;
}

.kka-btn--outline {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.kka-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
}

/* ---------- Bild-Vergrößerung -------------------------------------------------------- */

.kka-lightbox {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 56px 12px 12px;
    background: transparent;
    border: 0;
}

.kka-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kka-lightbox::backdrop {
    background: rgba(10, 12, 15, 0.9);
}

.kka-lightbox__img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.kka-lightbox__close {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.kka-lightbox__close:hover,
.kka-lightbox__close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

/* ---------- Fehlerseite (unbekanntes Projekt / 404) ---------------------------------- */

.project-page--missing {
    padding-bottom: 24px;
}

.project-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 8px 0 28px;
}

@media (min-width: 700px) {
    .project-list {
        grid-template-columns: 1fr 1fr;
    }
}

.project-missing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .project-pager__item,
    .kka-btn,
    .project-toc a,
    .project-cover__hint {
        transition: none;
    }

    .project-pager__item:hover,
    .kka-btn:hover {
        transform: none;
    }
}
