/* ==========================================================================
   DJ Petr Březina (1948–2025) – 60s–80s Rock/Pop Oldies & Vinyl Tribute
   ========================================================================== */

:root {
    --bg-stage: #120c0f;
    --bg-velvet: #1d1217;
    --bg-panel: #1a1216;
    --bg-panel-hover: #291c22;
    --brass: #e0a94f;
    --brass-light: #f4d08a;
    --brass-dim: rgba(224, 169, 79, 0.30);
    --burgundy: #8c2732;
    --cream: #fcf7ec;
    --cream-2: #f3e8d2;
    --ink: #1f191a;
    --ink-muted: #5c504d;
    --text-light: #f6efe6;
    --text-muted: #bfaea6;
    --radius: 14px;
    --shadow-lg: 0 22px 55px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.30);
}

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

img, a, fieldset {
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-light);
    background-color: var(--bg-stage);
    background-image:
        radial-gradient(ellipse at 18% 8%, rgba(224, 169, 79, 0.16) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 18%, rgba(140, 39, 50, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(224, 169, 79, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #120c0f 0%, #1a1116 55%, #0e090b 100%);
    overflow-x: hidden;
}

a {
    color: #7c1d26;
    text-decoration: underline;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #4d1016;
    text-decoration: none;
}

/* Top Memorial Ribbon Bar */
.site-topbar {
    background: linear-gradient(90deg, #050405 0%, #141012 50%, #050405 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid var(--brass-dim);
    border-radius: 10px;
    padding: 9px 16px;
    margin: 0 0 18px;
    text-align: center;
    font-size: 13px;
    color: #e7ddd4;
    letter-spacing: 0.03em;
}

.mourning-band {
    display: inline-block;
    width: 22px;
    height: 10px;
    background: #000;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    transform: rotate(-35deg);
    box-shadow: 0 0 0 1px rgba(224, 169, 79, 0.25);
}

.memorial-ribbon-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.memorial-ribbon-bar strong {
    color: var(--brass-light);
    font-weight: 600;
}

/* Wrappers */
#wrapper,
#wrapper-non {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px 52px;
    flex: 1 0 auto;
    position: relative;
}

/* Mobile Logo */
#logomob {
    display: none;
    text-align: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #fbf4e4 0%, #f0e1c2 100%);
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid var(--brass);
}

#logomob img.jmenomob {
    max-width: 220px;
    height: auto;
    margin: 2px auto;
}

#logomob img.logomob {
    max-width: 130px;
    height: auto;
    margin: 2px auto;
}

#logomob .logomob-dates {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    color: #3d1d21;
    letter-spacing: 0.12em;
}

/* Site Header with Warm Retro Plaque for Dark Logo PNGs */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 22px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #25171d 0%, #170f13 100%);
    border: 1px solid var(--brass-dim);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--brass), var(--burgundy));
}

.site-header .home-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    text-decoration: none;
}

.site-header .home-link img {
    height: 22px;
    width: auto;
    filter: sepia(0.4) brightness(1.2);
}

.site-header .home-link span,
.site-header .home-link h1 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--brass-light);
    letter-spacing: 0.01em;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fcf6e8 0%, #efe0c1 100%);
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid var(--brass);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.header-brand img.logo {
    max-height: 54px;
    width: auto;
}

.header-brand img.jmeno {
    max-height: 46px;
    width: auto;
}

/* Main 2-column Layout */
.main-layout {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 28px;
    align-items: start;
}

/* Sidebar & Navigation */
.sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-portrait {
    background: linear-gradient(180deg, #24171c 0%, #160e12 100%);
    border: 1px solid var(--brass-dim);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.portrait-vinyl-wrap {
    position: relative;
    display: inline-block;
    padding: 6px;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        #111 0px,
        #111 3px,
        #232323 4px,
        #111 5px
    );
    border: 2px solid var(--brass-dim);
    margin-bottom: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.portrait-card-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    border: 2px solid var(--brass);
    display: block;
    background: #1a1216;
}

.portrait-caption strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    color: var(--brass-light);
}

.portrait-caption span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

#topnavi {
    list-style: none;
    margin: 0;
    padding: 10px;
    background: var(--bg-panel);
    border: 1px solid rgba(224, 169, 79, 0.20);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

#topnavi li {
    margin: 4px 0;
}

#topnavi li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #efe7df;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

#topnavi li a::before {
    content: "♪";
    color: var(--brass-dim);
    font-size: 14px;
    transition: color 0.2s ease, transform 0.2s ease;
}

#topnavi li a:hover {
    background: var(--bg-panel-hover);
    color: var(--brass-light);
    border-left-color: var(--brass-dim);
    padding-left: 18px;
}

#topnavi li a:hover::before {
    color: var(--brass-light);
    transform: scale(1.15);
}

#topnavi li a.active {
    background: linear-gradient(90deg, rgba(224, 169, 79, 0.22) 0%, rgba(140, 39, 50, 0.16) 100%);
    color: var(--brass-light);
    border-left-color: var(--brass);
    font-weight: 600;
}

#topnavi li a.active::before {
    content: "♫";
    color: var(--brass-light);
}

.menu-mobile,
#topnavi li.mobile-close {
    display: none;
}

.sidebar-extra-box {
    background: var(--cream);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 16px;
    border-top: 4px solid var(--burgundy);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
}

.sidebar-extra-box p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--ink);
}

.sidebar-extra-box p:last-child {
    margin-bottom: 0;
}

.sidebar-extra-box img.left {
    float: left;
    margin: 0 10px 6px 0;
    max-width: 40px;
}

.sidebar-extra-box img.right {
    float: right;
    margin: 2px 0 0 6px;
}

/* Main Content Card (Vintage Vinyl Sleeve / Poster) */
.content-card,
#obsah {
    background: linear-gradient(180deg, #fdf9f0 0%, #f8f0df 100%);
    color: var(--ink);
    border-radius: var(--radius);
    border-top: 5px solid var(--brass);
    border-bottom: 4px solid var(--burgundy);
    padding: 36px 40px;
    box-shadow: var(--shadow-lg);
    min-width: 0;
    overflow-wrap: break-word;
    position: relative;
}

#obsah h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    line-height: 1.25;
    color: #2b1417;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #dfd2b9;
}

#obsah h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: #3d1d21;
    margin: 28px 0 12px;
}

#obsah h3 {
    font-size: 20px;
    color: #3d1d21;
    margin: 20px 0 10px;
}

#obsah p {
    color: #2a2223;
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
}

#obsah ul,
#obsah ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

#obsah li {
    margin-bottom: 6px;
}

#obsah img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#obsah img.right {
    float: right;
    margin: 0 0 16px 22px;
}

#obsah img.left {
    float: left;
    margin: 0 22px 16px 0;
}

#obsah iframe {
    max-width: 100%;
    width: 100%;
    min-height: 340px;
    border-radius: 10px;
    border: 1px solid #d6c8ae;
}

/* Tables inside #obsah */
#obsah table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    overflow: hidden;
}

#obsah table th,
#obsah table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e4d8c1;
    text-align: left;
    vertical-align: top;
}

#obsah table tr:hover {
    background-color: rgba(224, 169, 79, 0.16);
}

/* Forms inside #obsah */
#obsah input[type="text"],
#obsah input[type="email"],
#obsah input[type="tel"],
#obsah input[type="number"],
#obsah textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbbba0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fffdf9;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#obsah input:focus,
#obsah textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(140, 39, 50, 0.16);
}

#obsah textarea {
    min-height: 150px;
    resize: vertical;
}

#obsah input[type="submit"],
.btn-tribute {
    display: inline-block;
    background: linear-gradient(135deg, var(--burgundy) 0%, #631921 100%);
    color: #fff;
    border: 1px solid rgba(224, 169, 79, 0.45);
    border-radius: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

#obsah input[type="submit"]:hover,
.btn-tribute:hover {
    background: linear-gradient(135deg, #a32e3b 0%, #741e27 100%);
    color: var(--brass-light);
    transform: translateY(-1px);
}

.btn-tribute-gold {
    background: linear-gradient(135deg, var(--brass-light) 0%, var(--brass) 100%);
    color: #1f1315;
    border: none;
    font-weight: 700;
}

.btn-tribute-gold:hover {
    background: linear-gradient(135deg, #fae0a5 0%, var(--brass-light) 100%);
    color: #1f1315;
}

/* Memorial Notice Box */
.memorial-notice {
    background: linear-gradient(135deg, #f3e8d2 0%, #ead9b9 100%);
    border-left: 4px solid var(--burgundy);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    color: #2b1d1f;
    font-size: 15px;
}

.memorial-notice strong {
    color: #5d161e;
}

/* ==========================================================================
   Homepage Musical Vinyl Hero & Tribute
   ========================================================================== */
.home-hero {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: center;
    background: linear-gradient(135deg, rgba(36, 22, 27, 0.95) 0%, rgba(20, 13, 16, 0.98) 100%);
    border: 1px solid var(--brass-dim);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "♫  ♪  ♫";
    position: absolute;
    top: 18px;
    right: 26px;
    font-size: 20px;
    letter-spacing: 8px;
    color: rgba(224, 169, 79, 0.16);
    pointer-events: none;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background: rgba(140, 39, 50, 0.35);
    border: 1px solid rgba(224, 169, 79, 0.45);
    border-radius: 999px;
    color: var(--brass-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.home-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 8px;
}

.home-hero-dates {
    font-size: 17px;
    color: var(--brass-light);
    font-weight: 500;
    margin: 0 0 18px;
}

.home-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 14px 18px;
    background: rgba(255, 248, 236, 0.05);
    border-left: 3px solid var(--brass);
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #e2d6cd;
}

.home-hero-meta span strong {
    color: #fff;
}

.era-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.era-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(224, 169, 79, 0.12);
    border: 1px solid rgba(224, 169, 79, 0.30);
    color: var(--brass-light);
    letter-spacing: 0.03em;
}

.home-hero-text {
    font-size: 16px;
    line-height: 1.75;
    color: #e7ddd4;
    margin: 0 0 22px;
}

.home-hero-subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: var(--brass-light);
    margin: 0 0 22px;
    font-weight: 500;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Vinyl Disc Framing for Hero Portrait */
.home-hero-portrait {
    text-align: center;
    position: relative;
}

.hero-vinyl-stage {
    position: relative;
    display: inline-block;
    padding: 18px 18px 0 0;
}

.hero-vinyl-disc {
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--brass) 0 18px, #5b171f 19px 38px, transparent 39px),
        repeating-radial-gradient(circle at center, #0e0e0e 0 3px, #222 4px 6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
    border: 2px solid rgba(224, 169, 79, 0.35);
    z-index: 1;
}

.home-hero-portrait img.portrait-main {
    position: relative;
    z-index: 2;
    max-width: 270px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--brass);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6);
    background: radial-gradient(circle at center, #2d1b21 0%, #140c0f 100%);
}

.home-hero-portrait .portrait-quote {
    margin-top: 14px;
    font-style: italic;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   In Memoriam – mourning band, candle, epitaph, archive
   ========================================================================== */

/* Black mourning band across the photo corner */
.memorial-photo {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.memorial-corner-band {
    position: absolute;
    top: 22px;
    right: -46px;
    width: 170px;
    height: 20px;
    background: linear-gradient(180deg, #1b1b1b 0%, #000 50%, #1b1b1b 100%);
    border-top: 1px solid rgba(224, 169, 79, 0.45);
    border-bottom: 1px solid rgba(224, 169, 79, 0.45);
    transform: rotate(45deg);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.hero-vinyl-stage.memorial-photo {
    border-radius: 12px;
}

.hero-vinyl-stage .memorial-corner-band {
    top: 34px;
    right: -38px;
    width: 190px;
    height: 24px;
}

/* Black & white memorial portraits, colour on hover */
.memorial .portrait-card-img,
.memorial .home-hero-portrait img.portrait-main {
    filter: grayscale(0.9) contrast(1.05);
    transition: filter 0.6s ease;
}

.memorial .portrait-card-img:hover,
.memorial .home-hero-portrait img.portrait-main:hover {
    filter: grayscale(0);
}

.portrait-cross {
    display: block;
    color: var(--brass);
    font-size: 16px;
    line-height: 1;
    margin-bottom: 4px;
}

.memorial-candle-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(224, 169, 79, 0.18);
}

.memorial-candle-row em {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    color: var(--text-muted);
}

/* CSS candle */
.memorial-candle {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 44px;
    vertical-align: bottom;
}

.candle-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 14px;
    height: 28px;
    border-radius: 3px 3px 2px 2px;
    background: linear-gradient(90deg, #d9cdb8 0%, #fbf5e8 45%, #c8b99f 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.candle-wick {
    position: absolute;
    bottom: 28px;
    left: 6px;
    width: 2px;
    height: 4px;
    background: #2a2020;
}

.candle-flame {
    position: absolute;
    bottom: 31px;
    left: 3px;
    width: 8px;
    height: 13px;
    border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    background: radial-gradient(ellipse at 50% 75%, #fff8d6 0%, #ffd35c 40%, #ff8a1e 75%, transparent 100%);
    box-shadow: 0 0 10px 3px rgba(255, 190, 80, 0.55), 0 0 26px 8px rgba(255, 160, 40, 0.18);
    transform-origin: 50% 100%;
    animation: candle-flicker 2.8s ease-in-out infinite;
}

.memorial-candle:nth-child(2) .candle-flame { animation-delay: -0.9s; }
.memorial-candle:nth-child(3) .candle-flame { animation-delay: -1.7s; }

@keyframes candle-flicker {
    0%, 100% { transform: scale(1, 1) rotate(-1deg); opacity: 1; }
    25%      { transform: scale(0.94, 1.06) rotate(1.5deg); opacity: 0.92; }
    50%      { transform: scale(1.04, 0.95) rotate(-2deg); opacity: 1; }
    75%      { transform: scale(0.97, 1.04) rotate(1deg); opacity: 0.95; }
}

@media (prefers-reduced-motion: reduce) {
    .candle-flame { animation: none; }
    .memorial .portrait-card-img,
    .memorial .home-hero-portrait img.portrait-main { transition: none; }
}

/* Archive note on subpages */
.archive-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -8px 0 20px !important;
    padding: 8px 14px;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #5c504d !important;
    background: rgba(31, 25, 26, 0.05);
    border-left: 3px solid #1f191a;
    border-radius: 6px;
    font-style: italic;
}

/* Content card: thin black mourning line at the top */
.memorial .content-card::before,
.memorial #obsah::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 110px;
    height: 5px;
    background: #000;
    border-top-left-radius: var(--radius);
}

/* Navigation heading */
#topnavi li.nav-heading {
    margin: 2px 0 6px;
    padding: 4px 14px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(224, 169, 79, 0.15);
}

/* Homepage dates */
.home-hero-dates .date-mark {
    color: #fff;
    font-weight: 700;
}

.home-hero-dates .date-line {
    display: block;
}

.home-hero-dates .date-mark {
    display: inline-block;
    width: 1em;
}

.home-hero-dates .date-age {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Epitaph */
.memorial-epitaph {
    margin-top: 28px;
    padding: 34px 28px 30px;
    text-align: center;
    background: linear-gradient(180deg, #0c0809 0%, #161013 100%);
    border: 1px solid rgba(224, 169, 79, 0.22);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.memorial-epitaph::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 80px;
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.epitaph-candles {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
}

.epitaph-candles .memorial-candle:nth-child(2) {
    transform: scale(1.25);
    transform-origin: bottom center;
}

.epitaph-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 23px;
    line-height: 1.5;
    color: #f4ead9;
    margin: 0 0 12px;
}

.epitaph-sign {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 10px;
    letter-spacing: 0.03em;
}

/* Archive cards */
.memorial-archive {
    margin-top: 28px;
}

.memorial-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: var(--brass-light);
    margin: 0 0 6px;
    font-weight: 600;
}

.memorial-section-title span {
    color: var(--brass);
}

.memorial-section-lead {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0 0 18px;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.archive-card {
    display: block;
    padding: 18px 20px;
    background: linear-gradient(180deg, #fdf9f0 0%, #f3e8d2 100%);
    border-radius: 10px;
    border-top: 3px solid #1f191a;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.archive-card strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: #2b1417;
    margin-bottom: 4px;
}

.archive-card span {
    display: block;
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.archive-card:hover {
    transform: translateY(-3px);
    border-top-color: var(--brass);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

/* Guestbook call-to-action */
.memorial-guestbook {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: rgba(255, 248, 236, 0.04);
    border: 1px dashed rgba(224, 169, 79, 0.35);
    border-radius: var(--radius);
}

.memorial-guestbook p {
    margin: 0;
    color: #e2d6cd;
}

/* Footer candle */
.footer-candle {
    display: block;
    margin-bottom: 6px;
}

.footer-candle .memorial-candle {
    transform: scale(0.8);
}

/* Gallery (Lightbox) */
.imageRow {
    margin: 20px 0;
}

.imageRow .set {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
}

.imageRow .set .single {
    margin: 0;
}

.imageRow .set .single img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #dfd2b9;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.imageRow .set .single img:hover {
    transform: scale(1.03);
    border-color: var(--burgundy);
}

/* Footer */
#footer {
    background: #0b0709;
    border-top: 1px solid var(--brass-dim);
    padding: 24px 20px;
    margin-top: auto;
    color: var(--text-muted);
    font-size: 14px;
}

#footer #paticka {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-center {
    text-align: center;
    flex: 1 1 320px;
}

.memorial-footer-note {
    margin: 0;
    color: #ddd0c8;
    font-size: 13px;
}

.memorial-footer-note strong {
    color: var(--brass-light);
}

.footer-contact {
    margin: 0;
    font-size: 13px;
}

#footer a {
    color: #efe7df;
    text-decoration: none;
}

#footer a:hover {
    color: var(--brass-light);
    text-decoration: underline;
}

.cookie-link {
    cursor: pointer;
    text-decoration: underline !important;
    font-size: 13px;
}

#footer img.webmaster {
    height: 22px;
    width: auto;
}

#footer img.pravy {
    height: 28px;
    width: auto;
}

#line, #line-home {
    display: none;
}

/* Cookie Bar */
#cookie {
    text-align: center;
    padding: 12px 18px;
    width: 100%;
    font-size: 13px;
    color: #f6efe6;
    background: rgba(18, 12, 15, 0.96);
    border-top: 1px solid var(--brass-dim);
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

#cookie p {
    margin: 4px 0;
    color: #f6efe6;
}

#cookie a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

#cookie a.c_vse { padding: 5px 14px; background-color: #15803d; border-radius: 6px; margin: 4px 6px; }
#cookie a.c_vice { padding: 5px 12px; background-color: #3f2b31; border-radius: 6px; margin: 4px 6px; }
#cookie a.c_vybrane { padding: 5px 14px; background-color: #b45309; border-radius: 6px; margin: 4px 6px; }
#cookie a.c_ne { padding: 5px 14px; background-color: #b91c1c; border-radius: 6px; margin: 4px 6px; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 980px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .sidebar-portrait {
        display: none;
    }

    .home-hero {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .home-hero-portrait {
        order: -1;
    }
}

@media (max-width: 768px) {
    #wrapper,
    #wrapper-non {
        padding: 14px 14px 36px;
    }

    #logomob {
        display: block;
    }

    .site-header {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
    }

    .header-brand {
        display: none;
    }

    .menu-mobile {
        display: block;
        margin: 0 0 8px;
    }

    .menu-mobile a {
        display: block;
        text-align: center;
        padding: 12px 16px;
        background: var(--bg-panel);
        border: 1px solid var(--brass-dim);
        border-radius: var(--radius);
        color: var(--brass-light);
        font-weight: 600;
        text-decoration: none;
        font-size: 16px;
    }

    #topnavi {
        display: none;
    }

    #topnavi.open {
        display: block;
    }

    #topnavi li.mobile-close {
        display: block;
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 6px;
    }

    .content-card,
    #obsah {
        padding: 22px 18px;
    }

    #obsah h1 {
        font-size: 25px;
    }

    .home-hero-title {
        font-size: 29px;
    }

    .hero-vinyl-disc {
        width: 200px;
        height: 200px;
    }

    .home-hero-portrait img.portrait-main {
        max-width: 220px;
    }

    #obsah img.right,
    #obsah img.left {
        float: none;
        display: block;
        margin: 0 auto 16px;
    }

    #footer #paticka {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        justify-content: center;
    }
}
