/* =========================================================================
   SPAO.EU — Sociální procesy a osobnost
   Stylování v duchu refinovaného akademického editorialu.
   Paleta: tlumená lesní zeleň + zlatý akcent + papírové cream odstíny.
   ========================================================================= */

/* TOKENS ----------------------------------------------------------------- */

:root {
    --brand-primary:    #2f8f55;
    --brand-secondary:  #1f6f45;
    --brand-deep:       #174f35;
    --brand-darkest:    #0f3624;
    --brand-accent:     #d4ad00;
    --brand-accent-soft: #f1d971;

    --surface:        #ffffff;
    --surface-paper:  #f8f6f1;   /* teplý cream pro pozadí */
    --surface-soft:   #f1efe8;
    --surface-muted:  #fbfaf6;
    --surface-line:   #e7e3d8;

    --text-main:    #232323;
    --text-heading: #181818;
    --text-muted:   #6b6e6a;
    --text-soft:    #8a8d88;

    --link:       var(--brand-secondary);
    --link-hover: var(--brand-deep);

    --border-soft: rgba(31, 111, 69, 0.12);
    --border-mid:  rgba(31, 111, 69, 0.22);

    --shadow-sm: 0 1px 2px rgba(15, 54, 36, 0.06);
    --shadow-md: 0 0.6rem 1.4rem rgba(15, 54, 36, 0.07);
    --shadow-lg: 0 1.2rem 2.6rem rgba(15, 54, 36, 0.10);

    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 999px;

    --ease: cubic-bezier(0.32, 0.72, 0.24, 1);

    --header-h: 68px;

    --font-sans:  "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* BASE ------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-h);
    margin: 0;
    color: var(--text-main);
    background: var(--surface-paper);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.18s var(--ease);
}

a:hover,
a:focus {
    color: var(--link-hover);
}

a:focus-visible,
button:focus-visible,
.btn-pill:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

img {
    max-width: 100%;
    height: auto;
}

/* SKIP LINK -------------------------------------------------------------- */

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: 0.65rem 1rem;
    background: var(--brand-deep);
    color: #fff !important;
    font-weight: 600;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    transition: top 0.18s var(--ease);
}

.skip-link:focus {
    top: 0.75rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* HEADER ----------------------------------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    min-height: var(--header-h);
    background-color: var(--brand-darkest);
    background-image:
        linear-gradient(
            120deg,
            var(--brand-darkest) 0%,
            var(--brand-deep) 60%,
            var(--brand-secondary) 100%
        );
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18), 0 4px 18px rgba(0, 0, 0, 0.20);
}

.navbar {
    min-height: var(--header-h);
    padding-top: 0;
    padding-bottom: 0;
}

.brand-title {
    font-family: var(--font-sans);
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.brand-title:hover,
.brand-title:focus {
    color: #ffffff;
}

.brand-tagline {
    display: block;
    color: var(--brand-accent-soft);
    font-family: var(--font-sans);
    font-size: 10px;
    line-height: 14px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.navbar-brand {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-xs);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* MAIN NAV --------------------------------------------------------------- */

.navbar-nav {
    gap: 0;
}

.navbar-nav .nav-link {
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 0.95rem;
    color: rgba(255, 255, 255, 0.86);
    background: transparent;
    border: 0;
    font-family: var(--font-sans);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    position: relative;
    transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0;
    height: 2px;
    background: var(--brand-accent);
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: center;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before,
.navbar-nav .nav-link.active::before,
.navbar-nav .nav-link.show::before {
    opacity: 1;
    transform: scaleX(1);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link.dropdown-toggle::after {
    margin-left: 0.45rem;
    border-top-width: 4px;
    border-right-width: 4px;
    border-left-width: 4px;
}

/* DROPDOWN — sjednoceno do brandové zelené ------------------------------ */

.dropdown-menu {
    min-width: 18rem;
    padding: 0.4rem;
    background-color: var(--brand-deep);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius-xs);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.45;
    padding: 0.65rem 0.85rem;
    transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.10);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.14);
    margin: 0.3rem 0.4rem;
}

/* LANGUAGE SWITCHER ------------------------------------------------------ */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.85rem;
}

.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 26px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    opacity: 0.65;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), background-color 0.18s var(--ease);
}

.language-link:hover,
.language-link:focus,
.language-link.active {
    opacity: 1;
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
}

.language-link img {
    width: 22px;
    height: 14px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

/* HERO ------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--brand-darkest);
    background-image:
        linear-gradient(
            135deg,
            #0c2a1c 0%,
            var(--brand-darkest) 45%,
            var(--brand-deep) 100%
        );
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}

.hero-orb--gold {
    width: 32rem;
    height: 32rem;
    top: -8rem;
    right: -6rem;
    background: radial-gradient(circle at center, rgba(212, 173, 0, 0.55), transparent 70%);
}

.hero-orb--green {
    width: 28rem;
    height: 28rem;
    bottom: -10rem;
    left: -8rem;
    background: radial-gradient(circle at center, rgba(47, 143, 85, 0.45), transparent 70%);
}

/* Jemné zrno přes SVG noise — dodává analogovou hloubku */
.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    padding-top: clamp(3.25rem, 7vw, 5.5rem);
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.95rem 0.4rem 0.6rem;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(212, 173, 0, 0.20);
}

.hero-title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.5vw, 4.6rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero-title em {
    font-style: italic;
    color: var(--brand-accent-soft);
    font-weight: 500;
}

.hero-subtitle {
    max-width: 640px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 1.4vw, 1.18rem);
    font-weight: 400;
    line-height: 1.6;
    text-wrap: pretty;
}

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

/* PILL BUTTONS ----------------------------------------------------------- */

.btn-pill {
    --bg: var(--brand-accent);
    --fg: var(--brand-darkest);
    --bd: var(--brand-accent);

    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.25rem;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid var(--bd);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.16s var(--ease), background-color 0.16s var(--ease),
                color 0.16s var(--ease), border-color 0.16s var(--ease),
                box-shadow 0.16s var(--ease);
}

.btn-pill i {
    font-size: 1rem;
    line-height: 1;
}

.btn-pill:hover,
.btn-pill:focus {
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.18);
    color: var(--fg);
}

.btn-pill--primary {
    --bg: var(--brand-accent);
    --fg: var(--brand-darkest);
    --bd: var(--brand-accent);
}

.btn-pill--primary:hover,
.btn-pill--primary:focus {
    --bg: #e8c014;
    --bd: #e8c014;
    color: var(--brand-darkest);
}

.btn-pill--ghost {
    --bg: transparent;
    --fg: #ffffff;
    --bd: rgba(255, 255, 255, 0.35);
}

.btn-pill--ghost:hover,
.btn-pill--ghost:focus {
    --bg: rgba(255, 255, 255, 0.08);
    --bd: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.btn-pill[aria-disabled="true"] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* INFO PANEL ------------------------------------------------------------- */

.info-panel-wrap {
    position: relative;
    z-index: 2;
    margin-top: -3.25rem;
}

.info-panel {
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.info-panel-primary {
    height: 100%;
    padding: clamp(1.5rem, 3.2vw, 2.25rem);
    color: #ffffff;
    background:
        radial-gradient(
            circle at 18% 22%,
            rgba(255, 255, 255, 0.14),
            transparent 14rem
        ),
        linear-gradient(
            150deg,
            var(--brand-darkest) 0%,
            var(--brand-deep) 55%,
            var(--brand-secondary) 100%
        );
    position: relative;
}

.info-panel-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    background: rgba(212, 173, 0, 0.18);
    border: 1px solid rgba(212, 173, 0, 0.4);
    border-radius: var(--radius-pill);
    color: var(--brand-accent-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.info-panel-primary h2 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.info-panel-primary p {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
}

.info-panel-note {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.25rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--brand-accent-soft) !important;
    font-size: 0.86rem !important;
}

.info-panel-content {
    padding: clamp(1.5rem, 3.2vw, 2.25rem);
    background: var(--surface);
}

.info-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
}

.info-item {
    padding: 1.1rem 1rem;
    background: var(--surface-muted);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--brand-secondary);
    transition: border-left-color 0.18s var(--ease), background 0.18s var(--ease);
}

.info-item:hover {
    border-left-color: var(--brand-accent);
    background: var(--surface);
}

.info-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-value {
    color: var(--text-heading);
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.3;
}

/* CONTENT SECTIONS ------------------------------------------------------- */

.content-section {
    flex: 1;
    padding-top: clamp(2.25rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease),
                transform 0.25s var(--ease);
}

.section-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-mid);
}

.section-card + .section-card {
    margin-top: 1.25rem;
}

.section-card--accent {
    border-color: rgba(212, 173, 0, 0.30);
    box-shadow: 0 0.6rem 1.4rem rgba(212, 173, 0, 0.06), var(--shadow-sm);
}

.section-card--accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--brand-accent), var(--brand-accent-soft), transparent);
}

.section-header {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: start;
    column-gap: 1.1rem;
    row-gap: 0.5rem;
    padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2.25rem);
    border-bottom: 1px solid var(--surface-line);
    background:
        linear-gradient(
            to right,
            rgba(31, 111, 69, 0.04),
            rgba(255, 255, 255, 0)
        );
}

.section-step {
    grid-row: 1 / span 2;
    align-self: start;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    padding-top: 0.35rem;
    border-right: 1px solid var(--surface-line);
    padding-right: 1rem;
    margin-right: -0.1rem;
}

.section-icon {
    grid-row: 1 / span 2;
    align-self: start;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--brand-secondary);
    background: rgba(31, 111, 69, 0.08);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.section-card:hover .section-icon {
    background: var(--brand-secondary);
    color: #ffffff;
}

.section-icon i {
    font-size: 1.15rem;
    line-height: 1;
}

.section-heading {
    grid-column: 3;
    min-width: 0;
}

.section-kicker {
    margin: 0 0 0.3rem;
    color: var(--brand-secondary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;
    color: var(--text-heading);
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.section-description {
    max-width: 720px;
    margin: 0.5rem 0 0;
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.section-body {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.75;
    font-size: 1rem;
    color: var(--text-main);
}

.section-body p {
    max-width: 780px;
    margin-top: 0;
    margin-bottom: 1rem;
}

.section-body p:last-child {
    margin-bottom: 0;
}

/* CTA CARD (uvnitř section-body) ---------------------------------------- */

.cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    background:
        linear-gradient(
            135deg,
            rgba(212, 173, 0, 0.08),
            rgba(47, 143, 85, 0.05)
        );
    border: 1px solid rgba(212, 173, 0, 0.28);
    border-radius: var(--radius-md);
}

.cta-card-body {
    flex: 1 1 280px;
}

.cta-card-kicker {
    margin: 0 0 0.25rem;
    color: var(--brand-secondary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cta-card-text {
    margin: 0;
    color: var(--text-main);
    font-size: 0.96rem;
    line-height: 1.55;
}

.cta-card .btn-pill {
    flex: 0 0 auto;
}

/* FOOTER ----------------------------------------------------------------- */

.footer {
    margin-top: auto;
    padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
    color: var(--text-main);
    background: var(--surface-soft);
    border-top: 1px solid var(--surface-line);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--brand-accent), var(--brand-secondary), var(--brand-deep));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--surface-line);
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    margin: 0 0 0.5rem;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-deep);
}

.footer-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col-title {
    margin: 0 0 0.85rem;
    color: var(--text-heading);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--brand-secondary);
}

.footer-links i {
    font-size: 0.82rem;
    color: var(--text-soft);
}

.footer-baseline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
}

.footer-copy {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}

.footer-totop {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-pill);
    color: var(--brand-deep);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
                transform 0.18s var(--ease);
}

.footer-totop:hover,
.footer-totop:focus {
    background: var(--brand-deep);
    color: #ffffff;
    border-color: var(--brand-deep);
    transform: translateY(-1px);
}

/* RESPONSIVE ------------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding-inline: 0.75rem;
        font-size: 14px;
    }

    .language-switcher {
        margin-left: 0.6rem;
    }
}

@media (max-width: 991.98px) {
    html {
        scroll-padding-top: 16px;
    }

    body {
        padding-top: 0;
    }

    .site-header {
        position: static;
        min-height: auto;
    }

    .navbar {
        min-height: auto;
        padding-block: 0.5rem;
    }

    .navbar-collapse {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .navbar-nav .nav-link {
        min-height: auto;
        padding: 0.7rem 0.85rem;
        background: transparent;
    }

    .navbar-nav .nav-link::before {
        left: 0;
        right: auto;
        top: 0.55rem;
        bottom: 0.55rem;
        width: 3px;
        height: auto;
        transform: scaleY(0.45);
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show {
        background: rgba(255, 255, 255, 0.08);
    }

    .navbar-nav .nav-link:hover::before,
    .navbar-nav .nav-link:focus::before,
    .navbar-nav .nav-link.active::before,
    .navbar-nav .nav-link.show::before {
        opacity: 1;
        transform: scaleY(1);
    }

    .dropdown-menu {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .language-switcher {
        justify-content: flex-start;
        margin: 1rem 0 0;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

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

    .info-panel-wrap {
        margin-top: -2.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn-pill {
        justify-content: center;
    }

    .section-header {
        grid-template-columns: auto 1fr;
        column-gap: 0.85rem;
    }

    .section-step {
        grid-row: 1;
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid var(--surface-line);
        padding-right: 0;
        padding-bottom: 0.6rem;
        margin-bottom: 0.4rem;
    }

    .section-icon {
        grid-row: 2;
        grid-column: 1;
    }

    .section-heading {
        grid-row: 2;
        grid-column: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding-bottom: 2rem;
    }

    .footer-baseline {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .brand-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .brand-tagline {
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .hero-content {
        padding-top: 2.5rem;
        padding-bottom: 4rem;
    }

    .info-item {
        padding: 0.95rem 0.9rem;
    }

    .cta-card {
        padding: 1.1rem 1.1rem;
    }
}

/* MOTION — respekt k uživatelům s redukovaným pohybem ------------------- */

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .btn-pill:hover,
    .footer-totop:hover,
    .language-link:hover {
        transform: none;
    }
}

/* =========================================================================
   ARCHIVE PAGE — O konferenci
   Lehčí, knihovní variace stylu pro statické (nadčasové) informace.
   Hlavní rozdíl: světlý cream hero místo tmavě zeleného + sticky TOC +
   tři odlišné layouty pro tři sekce (timeline / grid / list).
   ========================================================================= */

/* HERO — papírová varianta -------------------------------------------------*/

.archive-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: var(--surface-paper);
    border-bottom: 1px solid var(--surface-line);
}

/* Jemná tečkovaná textura — archivní/papírový pocit */
.archive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(31, 111, 69, 0.12) 1px,
        transparent 1.2px
    );
    background-size: 30px 30px;
    background-position: 0 0;
    opacity: 0.55;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
}

/* Zlatý ornament v rohu */
.archive-hero::after {
    content: "";
    position: absolute;
    top: -8rem;
    right: -8rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(212, 173, 0, 0.18), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.archive-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

/* BREADCRUMB --------------------------------------------------------------*/

.breadcrumb-nav {
    margin-bottom: 1.75rem;
}

.breadcrumb-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-nav li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--text-soft);
    font-weight: 600;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    transition: color 0.18s var(--ease);
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus {
    color: var(--brand-secondary);
}

.breadcrumb-nav [aria-current="page"] {
    color: var(--brand-deep);
    font-weight: 600;
}

/* ARCHIVE EYEBROW + TITLE -------------------------------------------------*/

.archive-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.4rem;
    padding: 0.4rem 0.95rem 0.4rem 0.6rem;
    background: rgba(212, 173, 0, 0.10);
    border: 1px solid rgba(212, 173, 0, 0.32);
    border-radius: var(--radius-pill);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.archive-eyebrow-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(212, 173, 0, 0.16);
}

.archive-hero-title {
    margin: 0;
    color: var(--brand-darkest);
    font-family: var(--font-serif);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.archive-hero-title em {
    font-style: italic;
    color: var(--brand-secondary);
    font-weight: 500;
}

.archive-hero-lead {
    max-width: 580px;
    margin: 1.25rem 0 0;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    font-style: italic;
    line-height: 1.6;
    text-wrap: pretty;
}

.archive-divider {
    margin: 2.25rem 0 0;
    border: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        var(--brand-accent) 0,
        var(--brand-accent) 30%,
        rgba(212, 173, 0, 0.2) 60%,
        transparent 100%
    );
    max-width: 280px;
}

/* TABLE OF CONTENTS — sticky pod headerem ---------------------------------*/

.archive-toc {
    position: sticky;
    top: var(--header-h);
    z-index: 100;
    padding: 0.85rem 0;
    background: rgba(248, 246, 241, 0.92);
    border-bottom: 1px solid var(--surface-line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.archive-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.archive-toc-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem 0.45rem 0.7rem;
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.2;
    transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
                background 0.18s var(--ease), transform 0.18s var(--ease);
}

.archive-toc-num {
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-secondary);
    letter-spacing: 0.04em;
    padding: 0.1rem 0.35rem;
    background: rgba(31, 111, 69, 0.08);
    border-radius: var(--radius-xs);
    line-height: 1.4;
}

.archive-toc-list a:hover,
.archive-toc-list a:focus {
    color: var(--brand-deep);
    border-color: var(--brand-secondary);
    background: var(--surface-muted);
    transform: translateY(-1px);
}

.archive-toc-list a.is-active {
    color: var(--brand-darkest);
    border-color: var(--brand-accent);
    background: rgba(212, 173, 0, 0.08);
}

.archive-toc-list a.is-active .archive-toc-num {
    background: var(--brand-accent);
    color: var(--brand-darkest);
}

/* SECTION ----------------------------------------------------------------*/

.archive-section {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    scroll-margin-top: calc(var(--header-h) + 4rem);
}

.archive-section + .archive-section {
    border-top: 1px solid var(--surface-line);
}

/* Sudá sekce s lehce odlišným pozadím — rytmus stránky */
.archive-section--alt {
    background:
        linear-gradient(to bottom, var(--surface-paper), var(--surface-soft) 40%, var(--surface-paper));
}

.archive-section-header {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.archive-section-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.85rem;
}

.archive-section-step {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-accent);
    letter-spacing: 0.04em;
    padding-right: 0.85rem;
    border-right: 1px solid var(--surface-line);
}

.archive-section-kicker {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-secondary);
}

.archive-section-title {
    margin: 0 0 0.85rem;
    color: var(--text-heading);
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.archive-section-lede {
    margin: 0;
    max-width: 640px;
    color: var(--text-main);
    font-family: var(--font-serif);
    font-size: 1.08rem;
    line-height: 1.65;
    text-wrap: pretty;
}

.archive-prose {
    max-width: 720px;
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-main);
}

.archive-prose p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.archive-prose p:last-child {
    margin-bottom: 0;
}

.archive-footnote {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 2rem 0 0;
    padding: 0.85rem 1rem;
    background: var(--surface-muted);
    border: 1px solid var(--surface-line);
    border-left: 3px solid var(--brand-accent);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.archive-footnote i {
    color: var(--brand-secondary);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* TIMELINE — pro Historii ------------------------------------------------*/

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    max-width: 800px;
}

/* Vertikální čára vedoucí přes ročníky */
.timeline::before {
    content: "";
    position: absolute;
    left: 5.25rem;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0,
        var(--border-mid) 6%,
        var(--border-mid) 94%,
        transparent 100%
    );
}

.timeline-item {
    position: relative;
    padding-left: 7rem;
    padding-bottom: 2.25rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 4.5rem;
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--brand-deep);
    text-align: right;
    letter-spacing: 0.01em;
}

.timeline-marker {
    position: absolute;
    left: calc(5.25rem - 0.45rem);
    top: 0.6rem;
    width: 0.9rem;
    height: 0.9rem;
    background: var(--brand-accent);
    border: 2px solid var(--surface-paper);
    border-radius: 50%;
    box-shadow:
        0 0 0 3px var(--surface-paper),
        0 0 0 4px rgba(212, 173, 0, 0.25);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow:
        0 0 0 3px var(--surface-paper),
        0 0 0 5px rgba(212, 173, 0, 0.4);
}

.timeline-item--current .timeline-marker {
    background: var(--brand-secondary);
    box-shadow:
        0 0 0 3px var(--surface-paper),
        0 0 0 4px rgba(31, 111, 69, 0.25),
        0 0 0 8px rgba(31, 111, 69, 0.10);
}

.timeline-content {
    padding: 0 0 0 1.5rem;
    border-left: 0;
}

.timeline-title {
    margin: 0 0 0.35rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
}

.timeline-text {
    margin: 0;
    color: var(--text-main);
    font-size: 0.97rem;
    line-height: 1.65;
    max-width: 60ch;
}

/* COMMITTEE GRID — pro Vědecký výbor -------------------------------------*/

.committee-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.85rem;
}

.committee-card {
    position: relative;
    padding: 1.4rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-md);
    border-top: 3px solid var(--brand-secondary);
    transition: transform 0.2s var(--ease),
                box-shadow 0.2s var(--ease),
                border-top-color 0.2s var(--ease);
}

.committee-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--brand-accent);
}

.committee-name {
    margin: 0 0 0.65rem;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.committee-affiliation {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.committee-institute {
    color: var(--text-main);
}

.committee-org {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.86rem;
}

/* PROSE — editoriální typografie pro Historii ----------------------------*/

.archive-prose--editorial {
    max-width: 720px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-main);
}

.archive-prose--editorial p {
    margin: 0 0 1.15rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    text-wrap: pretty;
}

.archive-prose--editorial p:last-of-type {
    margin-bottom: 0;
}

/* Drop cap — iniciálové písmeno prvního odstavce */
.archive-prose--editorial > p:first-of-type::first-letter {
    float: left;
    margin: 0.08em 0.12em -0.05em 0;
    padding: 0.08em 0.06em 0 0.02em;
    font-family: var(--font-serif);
    font-size: 4.2em;
    font-weight: 600;
    line-height: 0.85;
    color: var(--brand-deep);
}

/* Attribution / citace na konci textu */
.prose-attribution {
    position: relative;
    margin: 2.5rem 0 0;
    padding: 1.5rem 1.75rem 1.4rem 2rem;
    background:
        linear-gradient(
            135deg,
            rgba(212, 173, 0, 0.05),
            var(--surface-muted) 60%
        );
    border: 1px solid var(--surface-line);
    border-left: 3px solid var(--brand-accent);
    border-radius: var(--radius-sm);
}

.prose-attribution-mark {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brand-accent);
    line-height: 1;
    letter-spacing: -0.05em;
}

.prose-attribution-author {
    margin: 0 0 0.45rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
}

.prose-attribution-source {
    margin: 0;
    font-size: 0.84rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
    hyphens: none;
}

/* PROCEEDINGS LIST — pro Minulé ročníky ----------------------------------*/

.proceedings-decade {
    margin-bottom: 2.25rem;
}

.proceedings-decade:last-of-type {
    margin-bottom: 0;
}

.proceedings-decade-header {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
    border: 0;
}

.proceedings-decade-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--brand-deep);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.proceedings-decade-title span {
    color: var(--text-soft);
    font-weight: 400;
}

.proceedings-decade-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        var(--border-mid) 0,
        var(--surface-line) 60%,
        transparent 100%
    );
}

.proceedings-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.proceedings-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.15rem 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-md);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
                transform 0.2s var(--ease);
}

.proceedings-item:hover {
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.proceedings-item--featured {
    background:
        linear-gradient(135deg, rgba(212, 173, 0, 0.05), var(--surface) 60%);
    border-color: rgba(212, 173, 0, 0.3);
}

.proceedings-item--first {
    background: var(--surface-muted);
    opacity: 0.92;
}

.proceedings-marker {
    text-align: right;
    min-width: 4rem;
    padding-right: 1.25rem;
    border-right: 1px solid var(--surface-line);
}

.proceedings-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--brand-deep);
    line-height: 1;
    letter-spacing: 0.005em;
}

.proceedings-number span {
    color: var(--brand-accent);
    margin-left: 0.05em;
}

.proceedings-year-small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-soft);
}

.proceedings-info {
    min-width: 0;
}

.proceedings-title {
    margin: 0 0 0.3rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
}

.proceedings-title-note {
    color: var(--text-muted);
    font-weight: 400;
    font-style: italic;
    font-size: 0.92em;
}

.proceedings-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.75rem;
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.proceedings-meta-date {
    color: var(--text-main);
    font-weight: 500;
}

.proceedings-meta-venue::before {
    content: "·";
    margin-right: 0.55rem;
    color: var(--text-soft);
    font-weight: 700;
}

.proceedings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.55rem;
    padding: 0.2rem 0.6rem;
    background: rgba(212, 173, 0, 0.14);
    border: 1px solid rgba(212, 173, 0, 0.4);
    border-radius: var(--radius-pill);
    color: var(--brand-deep);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.3;
}

.proceedings-badge i {
    color: var(--brand-accent);
    font-size: 0.85rem;
}

.proceedings-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    background: var(--surface-soft);
    border: 1px solid var(--surface-line);
    border-radius: var(--radius-pill);
    color: var(--brand-deep);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.18s var(--ease), color 0.18s var(--ease),
                border-color 0.18s var(--ease);
    flex-shrink: 0;
    white-space: nowrap;
}

.proceedings-link i {
    font-size: 1rem;
}

.proceedings-link:hover,
.proceedings-link:focus {
    background: var(--brand-deep);
    color: #ffffff;
    border-color: var(--brand-deep);
}

.proceedings-link--disabled {
    background: transparent;
    border-style: dashed;
    color: var(--text-soft);
    cursor: not-allowed;
}

.proceedings-link--disabled:hover,
.proceedings-link--disabled:focus {
    background: transparent;
    color: var(--text-soft);
    border-color: var(--surface-line);
}

/* RESPONSIVE — archive ---------------------------------------------------*/

@media (max-width: 991.98px) {
    /* Header je na mobilu non-sticky → TOC stačí přilepit nahoru */
    .archive-toc {
        top: 0;
    }
}

@media (max-width: 767.98px) {
    .archive-toc {
        padding: 0.65rem 0;
    }

    .archive-toc-list {
        gap: 0.4rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }

    .archive-toc-list a {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .timeline::before {
        left: 0.45rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-year {
        position: static;
        display: block;
        width: auto;
        text-align: left;
        margin-bottom: 0.4rem;
        font-size: 1.25rem;
    }

    .timeline-marker {
        left: 0;
        top: 2.1rem;
    }

    .timeline-content {
        padding-left: 0;
    }

    .proceedings-decade-header {
        gap: 0.85rem;
    }

    .proceedings-item {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        padding: 1rem 1.15rem;
    }

    .proceedings-marker {
        text-align: left;
        padding-right: 0;
        padding-bottom: 0.5rem;
        border-right: 0;
        border-bottom: 1px solid var(--surface-line);
        display: flex;
        align-items: baseline;
        gap: 0.6rem;
        min-width: 0;
    }

    .proceedings-number {
        font-size: 1.45rem;
    }

    .proceedings-year-small {
        margin-top: 0;
    }

    .proceedings-meta {
        flex-direction: column;
        gap: 0.15rem;
    }

    .proceedings-meta-venue::before {
        display: none;
    }

    .proceedings-link {
        align-self: start;
    }

    /* Drop cap menší na malých obrazovkách */
    .archive-prose--editorial > p:first-of-type::first-letter {
        font-size: 3.6em;
    }

    .archive-prose--editorial p {
        text-align: left;
        hyphens: auto;
    }
}

@media (max-width: 575.98px) {
    .archive-section-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .archive-section-step {
        padding-right: 0.5rem;
    }

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

/* PRINT ------------------------------------------------------------------ */

@media print {
    .site-header,
    .footer-totop,
    .skip-link,
    .hero-bg,
    .btn-pill,
    .archive-toc,
    .breadcrumb-nav,
    .proceedings-link {
        display: none !important;
    }

    .archive-hero::before,
    .archive-hero::after {
        display: none !important;
    }

    .archive-section--alt {
        background: #fff !important;
    }

    .timeline-item,
    .committee-card,
    .proceedings-item {
        break-inside: avoid;
    }

    body {
        padding-top: 0;
        background: #fff;
        color: #000;
    }

    .hero {
        background: #fff !important;
        color: #000 !important;
    }

    .hero-title,
    .info-panel-primary h2,
    .section-title {
        color: #000 !important;
    }

    .section-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
