/*
Theme Name: Nevideno — Тъмни Корени
Theme URI: https://nevideno.bg
Author: Miro
Author URI: https://nevideno.bg
Description: Тъмен, етно-рок дизайн за Невидено. Custom SVG folk patterns, Cormorant Garamond typography, wine-burgundy and aged-gold palette.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: nevideno
Tags: dark, music, folk, custom-colors, custom-menu, featured-images, full-width-template
*/

/* ═══════════════════════════════════════════════
   НЕВИДЕНО — Тъмни Корени
   WordPress Theme Stylesheet
═══════════════════════════════════════════════ */

:root {
    --charcoal-ash: #1C1A17;
    --ember-dark: #2A2218;
    --aged-gold: #BFA266;
    --deep-ochre: #8B6914;
    --wine-burgundy: #751614;
    --ritual-red: #A02020;
    --aged-ivory: #F0EAD6;
    --forest-shadow: #294C3A;
    --muted-text: #A09070;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Old Standard TT', Georgia, serif;
    --font-body: 'Lato', sans-serif;

    --max-w: 1100px;
    --section-pad: 5rem 2rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--charcoal-ash);
    color: var(--aged-ivory);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--aged-gold);
    text-decoration: none;
}

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(28, 26, 23, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(191, 162, 102, 0.12);
    transition: background 0.3s;
}

.site-header__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--aged-gold);
    letter-spacing: 0.2em;
    text-decoration: none;
    flex-shrink: 0;
}

/* Primary nav menu */
.primary-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--aged-ivory);
    opacity: 0.75;
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.primary-nav a:hover,
.primary-nav .current-menu-item>a {
    color: var(--aged-gold);
    opacity: 1;
    border-bottom-color: var(--aged-gold);
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--aged-gold);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Folk accent line under header */
.site-header__folk {
    height: 3px;
    background: linear-gradient(90deg, var(--wine-burgundy) 0%, var(--aged-gold) 50%, var(--wine-burgundy) 100%);
    opacity: 0.6;
}

/* ══════════════════════════════════════════════════════
   LAYOUT UTILITIES
══════════════════════════════════════════════════════ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
}

.section-dark {
    background: var(--charcoal-ash);
    padding: var(--section-pad);
}

.section-parchment {
    background: var(--ember-dark);
    padding: var(--section-pad);
    position: relative;
}

.section-parchment::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--aged-gold);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.section-lead {
    font-size: 1rem;
    color: var(--aged-ivory);
    opacity: 0.7;
    max-width: 660px;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
    line-height: 1.8;
}

.folk-divider-inline {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--wine-burgundy), var(--aged-gold));
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

/* Folk border strip (SVG pattern) */
.folk-border-strip {
    display: block;
    width: 100%;
    line-height: 0;
}

/* ══════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A0806;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* fallback gradient when no image set */
    background-image: linear-gradient(180deg, #0A0806 0%, #1C1410 40%, #2A1A0A 100%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 8, 6, 0.45) 0%,
            rgba(10, 8, 6, 0.55) 50%,
            rgba(10, 8, 6, 0.75) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--aged-gold);
    opacity: 0.8;
    margin-bottom: 1.2rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    font-weight: 700;
    color: var(--aged-gold);
    letter-spacing: 0.2em;
    line-height: 1;
    text-shadow: 0 0 80px rgba(191, 162, 102, 0.4), 0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.8rem;
}

.hero__ornament {
    margin: 1rem auto;
    display: flex;
    justify-content: center;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    font-style: italic;
    color: var(--aged-ivory);
    opacity: 0.75;
    margin-bottom: 2.5rem;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__folk-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--aged-gold), var(--deep-ochre));
    color: var(--charcoal-ash);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--aged-gold);
    color: var(--aged-gold);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--aged-ivory);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 3px;
    text-decoration: none;
    border: 1.5px solid rgba(240, 234, 214, 0.4);
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--aged-ivory);
    color: #fff;
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--aged-gold);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-decoration: underline;
    text-decoration-color: rgba(191, 162, 102, 0.4);
    padding: 8px 4px;
    transition: all 0.3s;
}

.btn-ghost:hover {
    text-decoration-color: var(--aged-gold);
}

.btn-event {
    display: inline-block;
    background: var(--wine-burgundy);
    color: var(--aged-ivory);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1.5px solid rgba(117, 22, 20, 0.4);
    flex-shrink: 0;
}

.btn-event:hover {
    background: #9B1E1C;
}

/* ══════════════════════════════════════════════════════
   TAGS
══════════════════════════════════════════════════════ */
.tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    background: rgba(191, 162, 102, 0.12);
    color: var(--aged-gold);
    border: 1px solid rgba(191, 162, 102, 0.25);
    margin-right: 4px;
}

.tag-red {
    background: rgba(117, 22, 20, 0.18);
    color: #D46060;
    border-color: rgba(117, 22, 20, 0.35);
}

.tag-green {
    background: rgba(41, 76, 58, 0.25);
    color: #6BAA7A;
    border-color: rgba(41, 76, 58, 0.4);
}

/* ══════════════════════════════════════════════════════
   EVENTS SECTION
══════════════════════════════════════════════════════ */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.event-card {
    background: var(--ember-dark);
    border: 1px solid rgba(191, 162, 102, 0.2);
    border-radius: 4px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
}

.event-card:hover {
    border-color: rgba(191, 162, 102, 0.45);
    transform: translateX(4px);
}

.event-corner-tl {
    position: absolute;
    top: -1px;
    left: -1px;
    opacity: 0.7;
}

.event-corner-br {
    position: absolute;
    bottom: -1px;
    right: -1px;
    opacity: 0.7;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--wine-burgundy);
    padding: 10px 14px;
    border-radius: 3px;
    min-width: 60px;
    flex-shrink: 0;
}

.event-day {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--aged-ivory);
    line-height: 1;
}

.event-month {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--aged-gold);
    text-transform: uppercase;
}

.event-year {
    font-size: 0.6rem;
    color: rgba(240, 234, 214, 0.4);
    margin-top: 2px;
}

.event-info {
    flex: 1;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--aged-ivory);
    margin-bottom: 0.3rem;
}

.event-venue {
    font-size: 0.78rem;
    color: var(--aged-ivory);
    opacity: 0.55;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-type-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--aged-gold);
    background: rgba(191, 162, 102, 0.1);
    border: 1px solid rgba(191, 162, 102, 0.2);
    padding: 2px 8px;
    border-radius: 2px;
    text-transform: uppercase;
}

.events-none {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--aged-ivory);
    opacity: 0.45;
    text-align: center;
    padding: 3rem 0;
}

.events-view-all {
    margin-top: 2rem;
    text-align: center;
}

/* ══════════════════════════════════════════════════════
   MUSICAL PROMO SECTION
══════════════════════════════════════════════════════ */
.musical-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--ember-dark);
    border: 1px solid rgba(191, 162, 102, 0.2);
    border-radius: 6px;
    overflow: hidden;
    min-height: 300px;
    margin-top: 2rem;
}

.musical-card-img {
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    background: #0A0806;
}

.musical-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.musical-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.musical-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    opacity: 0.9;
}

.musical-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    font-style: italic;
    color: var(--aged-gold);
    line-height: 1.25;
}

.musical-ornament {
    margin: 0.25rem 0;
}

.musical-desc {
    font-size: 0.92rem;
    color: var(--aged-ivory);
    opacity: 0.7;
    line-height: 1.8;
}

/* ══════════════════════════════════════════════════════
   ABOUT / BAND SECTION
══════════════════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text p {
    font-size: 1rem;
    color: var(--aged-ivory);
    opacity: 0.8;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(191, 162, 102, 0.15);
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ── About Slideshow ───────────────────────────────── */
.about-slideshow {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(191, 162, 102, 0.15);
    aspect-ratio: 4 / 3;
    background: #0A0806;
}

.about-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
    border-radius: 0;
}

.about-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Dot navigation */
.about-slideshow__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.about-slideshow__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(240, 234, 214, 0.35);
    border: 1px solid rgba(191, 162, 102, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.about-slideshow__dot.is-active {
    background: var(--aged-gold);
    border-color: var(--aged-gold);
    transform: scale(1.25);
}

.about-slideshow__dot:hover:not(.is-active) {
    background: rgba(191, 162, 102, 0.6);
    border-color: var(--aged-gold);
}


/* ══════════════════════════════════════════════════════
   BLOG / POSTS
══════════════════════════════════════════════════════ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-card {
    background: var(--ember-dark);
    border: 1px solid rgba(191, 162, 102, 0.15);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: rgba(191, 162, 102, 0.4);
    transform: translateY(-4px);
}

.post-card::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--wine-burgundy), var(--aged-gold), var(--wine-burgundy));
}

.post-card__thumb {
    height: 180px;
    overflow: hidden;
    background: #0A0806;
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.post-card:hover .post-card__thumb img {
    transform: scale(1.04);
}

.post-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.post-card__meta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--aged-gold);
    opacity: 0.6;
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--aged-ivory);
    line-height: 1.45;
}

.post-card__title a {
    color: inherit;
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--aged-gold);
}

.post-card__excerpt {
    font-size: 0.85rem;
    color: var(--aged-ivory);
    opacity: 0.6;
    line-height: 1.7;
    flex: 1;
}

.post-card__read-more {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--aged-gold);
    text-decoration: none;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.post-card__read-more:hover {
    opacity: 0.7;
}

/* ══════════════════════════════════════════════════════
   SINGLE POST / PAGE
══════════════════════════════════════════════════════ */
.single-post-header {
    padding: 120px 2rem 3rem;
    background: linear-gradient(180deg, #0A0806 0%, var(--charcoal-ash) 100%);
    text-align: center;
}

.single-post-header .post-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    margin-bottom: 1rem;
}

.single-post-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--aged-ivory);
    font-weight: 400;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.single-post-header .post-date {
    font-size: 0.8rem;
    color: var(--aged-gold);
    opacity: 0.6;
}

.single-post__featured-img {
    max-height: 480px;
    overflow: hidden;
    line-height: 0;
}

.single-post__featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post__content {
    max-width: 740px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.single-post__content p,
.single-post__content li {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--aged-ivory);
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
    font-family: var(--font-heading);
    color: var(--aged-gold);
    margin: 2rem 0 0.8rem;
}

.single-post__content blockquote {
    border-left: 3px solid var(--aged-gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--ember-dark);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--aged-ivory);
    opacity: 0.85;
}

/* ══════════════════════════════════════════════════════
   PAGE CONTENT (generic page.php)
══════════════════════════════════════════════════════ */
.page-header {
    padding: 120px 2rem 3rem;
    background: linear-gradient(180deg, #0A0806 0%, var(--charcoal-ash) 100%);
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--aged-gold);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.04em;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.page-content p,
.page-content li {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--aged-ivory);
    opacity: 0.85;
    margin-bottom: 1.2rem;
}

.page-content h2,
.page-content h3 {
    font-family: var(--font-heading);
    color: var(--aged-gold);
    margin: 2rem 0 0.8rem;
    font-weight: 400;
}

/* ══════════════════════════════════════════════════════
   ARCHIVE / EVENTS LIST (archive-nevideno_event.php)
══════════════════════════════════════════════════════ */
.archive-header {
    padding: 120px 2rem 3rem;
    background: linear-gradient(180deg, #0A0806 0%, var(--charcoal-ash) 100%);
    text-align: center;
}

.archive-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--aged-gold);
    letter-spacing: 0.15em;
    font-weight: 700;
}

.archive-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 10px 16px;
    border: 1px solid rgba(191, 162, 102, 0.25);
    border-radius: 3px;
    color: var(--aged-ivory);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover {
    border-color: var(--aged-gold);
    color: var(--aged-gold);
}

.pagination .current {
    background: var(--aged-gold);
    color: var(--charcoal-ash);
    border-color: var(--aged-gold);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
    background: #0A0806;
    padding: 4rem 2rem 2.5rem;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--aged-gold);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-tagline {
    font-size: 0.82rem;
    color: var(--aged-ivory);
    opacity: 0.45;
    font-style: italic;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--aged-gold);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--aged-ivory);
    opacity: 0.55;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}

.footer-nav a:hover {
    color: var(--aged-gold);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--aged-ivory);
    opacity: 0.55;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid rgba(240, 234, 214, 0.2);
    border-radius: 2px;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--aged-gold);
    border-color: rgba(191, 162, 102, 0.5);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(191, 162, 102, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--aged-ivory);
    opacity: 0.3;
    letter-spacing: 0.05em;
    max-width: var(--max-w);
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   404 PAGE
══════════════════════════════════════════════════════ */
.page-404 {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    gap: 1.5rem;
}

.page-404__number {
    font-family: var(--font-display);
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--aged-gold);
    opacity: 0.15;
    line-height: 1;
}

.page-404__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--aged-ivory);
    font-style: italic;
    font-weight: 400;
}

.page-404__desc {
    font-size: 0.95rem;
    color: var(--aged-ivory);
    opacity: 0.5;
    max-width: 400px;
}

/* ══════════════════════════════════════════════════════
   WORDPRESS CORE CLASSES (required overrides)
══════════════════════════════════════════════════════ */
.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.8rem;
    color: var(--aged-ivory);
    opacity: 0.5;
    margin-top: 0.4rem;
}

.sticky {
    /* handled by theme */
}

.bypostauthor {
    /* handled by theme */
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .musical-card {
        grid-template-columns: 1fr;
    }

    .musical-card-img {
        min-height: 220px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 3rem 1.2rem;
    }

    .primary-nav {
        display: none;
        position: fixed;
        inset: 68px 0 0 0;
        background: rgba(28, 26, 23, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 99;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .primary-nav a {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .event-card {
        flex-wrap: wrap;
    }
}


/* ══════════════════════════════════════════════════════
   CHARACTER ARCHIVE — HEADER
══════════════════════════════════════════════════════ */
.char-archive-header {
    padding: 120px 2rem 3rem;
    background: linear-gradient(180deg, #0A0806 0%, var(--charcoal-ash) 100%);
    text-align: center;
}

.char-archive-eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    margin-bottom: 1rem;
}

.char-archive-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    font-style: italic;
    color: var(--aged-gold);
    letter-spacing: 0.06em;
    text-shadow: 0 0 60px rgba(191, 162, 102, 0.3);
    margin-bottom: 1.2rem;
}

.char-archive-lead {
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    color: var(--aged-ivory);
    opacity: 0.65;
    line-height: 1.8;
}

.char-archive-section {
    padding-top: 3rem;
}

/* ══════════════════════════════════════════════════════
   CHARACTER CARDS GRID
══════════════════════════════════════════════════════ */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.character-card {
    background: var(--ember-dark);
    border: 1px solid rgba(191, 162, 102, 0.18);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.character-card--evil {
    border-color: rgba(117, 22, 20, 0.3);
}

.character-card--good {
    border-color: rgba(191, 162, 102, 0.2);
}

.character-card:hover {
    transform: translateY(-6px);
}

.character-card--evil:hover {
    border-color: rgba(160, 32, 32, 0.6);
    box-shadow: 0 8px 32px rgba(117, 22, 20, 0.25);
}

.character-card--good:hover {
    border-color: rgba(191, 162, 102, 0.5);
    box-shadow: 0 8px 32px rgba(191, 162, 102, 0.12);
}

/* Top accent line */
.character-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--wine-burgundy), var(--aged-gold), var(--wine-burgundy));
}

.character-card--evil::before {
    background: linear-gradient(90deg, #3A0A08, var(--wine-burgundy), #3A0A08);
}

/* Corner ornaments */
.char-corner-tl {
    position: absolute;
    top: 3px;
    left: 0;
    opacity: 0.6;
    pointer-events: none;
}

.char-corner-br {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Card thumbnail */
.character-card__thumb {
    height: 210px;
    overflow: hidden;
    background: #0A0806;
    position: relative;
}

.character-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.character-card:hover .character-card__thumb img {
    transform: scale(1.06);
}

.character-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder--dark { background: #150808; }
.placeholder--light { background: #0A0A06; }

/* Card body */
.character-card__body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.character-card__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--aged-ivory);
    line-height: 1.3;
}

.character-card__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.character-card--good .character-card__name a:hover { color: var(--aged-gold); }
.character-card--evil .character-card__name a:hover { color: #D46060; }

.character-card__role {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--aged-ivory);
    opacity: 0.55;
    line-height: 1.4;
}

/* Badges row */
.character-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.2rem 0;
}

/* Нрав badges */
.char-nrav-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
}

.char-nrav-good {
    background: rgba(41, 76, 58, 0.28);
    color: #7BC58A;
    border: 1px solid rgba(41, 76, 58, 0.5);
}

.char-nrav-evil {
    background: rgba(117, 22, 20, 0.25);
    color: #D46060;
    border: 1px solid rgba(117, 22, 20, 0.45);
}

.char-instrument-badge {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 2px;
    background: rgba(191, 162, 102, 0.1);
    color: var(--aged-gold);
    border: 1px solid rgba(191, 162, 102, 0.22);
}

.char-instrument-badge--hero {
    font-size: 0.75rem;
    padding: 5px 14px;
}

/* Stat bars */
.character-card__stats {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.char-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.char-stat--large {
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.char-stat__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--aged-ivory);
    opacity: 0.55;
}

.char-stat__value {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-style: italic;
    opacity: 0.9;
    color: var(--aged-gold);
}

.char-stat__value--large {
    font-size: 1rem;
}

.char-stat-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
}

.char-stat-bar--large {
    height: 8px;
}

.char-stat-bar__fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}

.fill--good {
    background: linear-gradient(90deg, var(--deep-ochre), var(--aged-gold));
}

.fill--evil {
    background: linear-gradient(90deg, #751614, #D46060);
}

.fill--endurance {
    background: linear-gradient(90deg, #294C3A, #6BAA7A);
}

.fill--evil-endurance {
    background: linear-gradient(90deg, #3A1414, #8B3030);
}

/* Card read more link */
.character-card__link {
    margin-top: auto;
    padding-top: 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--aged-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.character-card--evil .character-card__link {
    color: #D46060;
}

.character-card__link:hover {
    opacity: 0.7;
}

/* Pagination */
.char-pagination {
    margin-top: 3rem;
    text-align: center;
}

.char-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid rgba(191, 162, 102, 0.25);
    border-radius: 3px;
    color: var(--aged-gold);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.char-pagination .page-numbers.current,
.char-pagination .page-numbers:hover {
    background: rgba(191, 162, 102, 0.12);
    border-color: var(--aged-gold);
}

/* ══════════════════════════════════════════════════════
   CHARACTER HERO — SINGLE PAGE HEADER
══════════════════════════════════════════════════════ */
.char-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0A0806;
    padding-bottom: 3rem;
}

.char-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg, #150808 0%, #0A0806 100%);
}

.char-hero--evil .char-hero__bg {
    background-image: linear-gradient(180deg, #1A0505 0%, #0A0806 100%);
}

.char-hero--good .char-hero__bg {
    background-image: linear-gradient(180deg, #101008 0%, #0A0806 100%);
}

.char-hero__overlay {
    position: absolute;
    inset: 0;
}

.overlay--evil {
    background: linear-gradient(
        to bottom,
        rgba(20, 4, 4, 0.55) 0%,
        rgba(10, 4, 4, 0.7) 50%,
        rgba(10, 8, 6, 0.9) 100%
    );
}

.overlay--good {
    background: linear-gradient(
        to bottom,
        rgba(8, 8, 6, 0.45) 0%,
        rgba(10, 8, 6, 0.6) 50%,
        rgba(10, 8, 6, 0.88) 100%
    );
}

.char-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.char-breadcrumb {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--aged-ivory);
    opacity: 0.45;
    margin-bottom: 2rem;
    padding-top: 100px;
}

.char-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.char-breadcrumb a:hover {
    opacity: 0.8;
}

.char-hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--aged-gold);
    opacity: 0.8;
    margin-bottom: 0.8rem;
}

.char-hero--evil .char-hero__eyebrow {
    color: #D46060;
}

.char-hero__name {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--aged-gold);
    letter-spacing: 0.08em;
    line-height: 1.05;
    text-shadow: 0 0 60px rgba(191, 162, 102, 0.35), 0 4px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.2rem;
}

.char-hero--evil .char-hero__name {
    color: var(--aged-ivory);
    text-shadow: 0 0 60px rgba(160, 32, 32, 0.5), 0 4px 20px rgba(0, 0, 0, 0.9);
}

.char-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ══════════════════════════════════════════════════════
   CHARACTER SINGLE — MAIN CONTENT LAYOUT
══════════════════════════════════════════════════════ */
.char-single-section {
    padding-top: 3rem;
}

.char-single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
    margin-top: 1rem;
}

/* Stats block */
.char-stats-block {
    margin-bottom: 2.5rem;
}

.char-stats-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--aged-gold);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.4rem;
}

/* Description */
.char-description {
    margin-bottom: 2.5rem;
}

.char-description__text {
    font-size: 1rem;
    color: var(--aged-ivory);
    opacity: 0.8;
    line-height: 1.9;
    margin-top: 1.5rem;
}

.char-description__text p {
    margin-bottom: 1.1rem;
}

/* Back link */
.char-back-link {
    margin-top: 2rem;
}

/* Sidebar */
.char-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    position: sticky;
    top: 90px;
}

.char-single-portrait {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(191, 162, 102, 0.2);
    line-height: 0;
}

.char-single-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

/* ══════════════════════════════════════════════════════
   QR CODE BLOCK
══════════════════════════════════════════════════════ */
.char-qr-block {
    background: var(--ember-dark);
    border: 1px solid rgba(191, 162, 102, 0.2);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.char-qr-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--aged-gold);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.char-qr-desc {
    font-size: 0.72rem;
    color: var(--aged-ivory);
    opacity: 0.45;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.char-qr-canvas {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: #1C1A17;
    border-radius: 4px;
    padding: 0.5rem;
}

.char-qr-url {
    font-size: 0.62rem;
    color: var(--aged-ivory);
    opacity: 0.3;
    word-break: break-all;
    margin-bottom: 1rem;
    font-family: monospace;
    letter-spacing: 0;
}

.char-qr-download {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════════════
   CHARACTER PAGES — RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .char-single-layout {
        grid-template-columns: 1fr;
    }

    .char-single-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .characters-grid {
        grid-template-columns: 1fr;
    }

    .char-hero {
        min-height: 55vh;
    }

    .char-single-sidebar {
        grid-template-columns: 1fr;
    }

    .char-hero__name {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}


/* ══════════════════════════════════════════════════════
   HEROES PORTRAIT GALLERY — page-heroes-gallery.php
══════════════════════════════════════════════════════ */
.hero-gallery-section {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

/* ── Group labels (Светлите / Тъмните) ── */
.hero-gallery-group {
    margin-bottom: 4rem;
}

.hero-gallery-group--evil {
    margin-top: 1rem;
}

.hero-gallery-group__label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.hero-gallery-group__label--good {
    color: var(--aged-gold);
    flex-direction: row;
}

.hero-gallery-group__label--evil {
    color: #D46060;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.hero-gallery-group__line {
    flex: 1;
    height: 1px;
    opacity: 0.35;
    max-width: 400px;
}

.hero-gallery-group__line--good {
    background: linear-gradient(90deg, var(--aged-gold), transparent);
}

.hero-gallery-group__line--evil {
    background: linear-gradient(270deg, #D46060, transparent);
}

/* ── Portrait card grid ── */
.hero-portrait-grid {
    display: grid;
    /* Wider columns — show the rich card detail */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    justify-items: center;
}

/* ── Individual portrait card ── */
.portrait-card {
    display: block;
    text-decoration: none;
    width: 100%;
    max-width: 320px;
    position: relative;
    border-radius: 12px;
    /* No overflow:hidden — the card image must show in full */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.4s ease,
                box-shadow 0.4s ease;
    cursor: pointer;
}

.portrait-card--good {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(191, 162, 102, 0.15);
}

.portrait-card--evil {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(117, 22, 20, 0.2);
}

.portrait-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.portrait-card--good:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(191, 162, 102, 0.2),
                0 0 0 1.5px rgba(191, 162, 102, 0.5);
}

.portrait-card--evil:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
                0 0 35px rgba(160, 32, 32, 0.35),
                0 0 0 1.5px rgba(160, 32, 32, 0.6);
}

/* ── Card image container — shows full TCG card, no cropping ── */
.portrait-card__image {
    position: relative;
    width: 100%;
    background: transparent;
    border-radius: 12px;
}

.portrait-card__image img {
    width: 100%;
    height: auto;          /* Let the image determine its own height */
    display: block;
    border-radius: 12px;
    transition: filter 0.4s ease;
}

.portrait-card:hover .portrait-card__image img {
    filter: brightness(1.08) drop-shadow(0 0 12px rgba(191,162,102,0.3));
}

.portrait-card--evil:hover .portrait-card__image img {
    filter: brightness(1.08) drop-shadow(0 0 16px rgba(160,32,32,0.45));
}

/* ── Placeholder when no Featured Image ── */
.portrait-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-placeholder--evil { background: #150808; }
.portrait-placeholder--good { background: #080808; }

/* ── Glow overlay ── */
.portrait-card__glow {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portrait-card--good .portrait-card__glow {
    background: radial-gradient(
        ellipse at 50% 30%,
        rgba(191, 162, 102, 0.12) 0%,
        transparent 65%
    );
}

.portrait-card--evil .portrait-card__glow {
    background: radial-gradient(
        ellipse at 50% 30%,
        rgba(160, 32, 32, 0.18) 0%,
        transparent 65%
    );
}

.portrait-card:hover .portrait-card__glow {
    opacity: 1;
}

/* ── Info strip — slides up on hover ── */
.portrait-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 1rem;
    /* gradient mask hiding it normally, full show on hover */
    background: linear-gradient(
        to top,
        rgba(10, 8, 6, 0.95) 0%,
        rgba(10, 8, 6, 0.7) 55%,
        transparent 100%
    );
    transform: translateY(calc(100% - 3.2rem));
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0 0 10px 10px;
}

.portrait-card:hover .portrait-card__info {
    transform: translateY(0);
}

.portrait-card__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--aged-ivory);
    line-height: 1.2;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portrait-card--good .portrait-card__name {
    color: var(--aged-gold);
    text-shadow: 0 0 12px rgba(191, 162, 102, 0.6);
}

.portrait-card--evil .portrait-card__name {
    color: var(--aged-ivory);
    text-shadow: 0 0 12px rgba(200, 60, 60, 0.5);
}

.portrait-card__role {
    font-size: 0.7rem;
    color: var(--aged-ivory);
    opacity: 0.6;
    font-style: italic;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .hero-portrait-grid {
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-portrait-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 1rem;
    }

    .portrait-card__info {
        transform: translateY(0); /* always visible on touch */
    }

    .portrait-card:hover {
        transform: none;
    }

    .hero-gallery-group__label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-portrait-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .portrait-card__name {
        font-size: 0.9rem;
    }
}


/* ══════════════════════════════════════════════════════
   SINGLE EVENT PAGE — Hero
══════════════════════════════════════════════════════ */

/* Ensure event-card as <a> inherits colours correctly */
a.event-card {
    color: inherit;
    cursor: pointer;
}

a.event-card .event-name {
    color: var(--aged-ivory);
}

/* Ticket btn inside card — sits above the card link */
.event-card__ticket-btn {
    position: relative;
    z-index: 2;
    pointer-events: all;
}

/* Single event hero */
.single-event-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0A0806;
    padding-bottom: 3.5rem;
}

.single-event-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(180deg, #0A1008 0%, #0A0806 100%);
}

.single-event-hero__bg--gradient {
    background-image:
        radial-gradient(ellipse at 60% 40%, rgba(117, 22, 20, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, #0A0806 0%, #1A1008 100%);
}

.single-event-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 8, 6, 0.35) 0%,
        rgba(10, 8, 6, 0.55) 40%,
        rgba(10, 8, 6, 0.9) 100%
    );
}

.single-event-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.single-event-hero__eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--wine-burgundy);
    margin-bottom: 0.8rem;
}

.single-event-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--aged-ivory);
    letter-spacing: 0.05em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.2rem;
}

.single-event-hero__date {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--wine-burgundy);
    padding: 0.7rem 1.4rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.single-event-hero__day {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--aged-ivory);
    line-height: 1;
}

.single-event-hero__month-year {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.single-event-hero__month {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--aged-gold);
    text-transform: uppercase;
}

.single-event-hero__year {
    font-size: 0.6rem;
    color: rgba(240, 234, 214, 0.5);
}

.single-event-hero__venue {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--aged-ivory);
    opacity: 0.7;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.single-event-hero__cta {
    margin-top: 0.5rem;
}

/* Single event body content */
.single-event-content-section {
    padding-bottom: 5rem;
}

.single-event-body {
    font-size: 1rem;
    color: var(--aged-ivory);
    opacity: 0.8;
    line-height: 1.9;
    margin-bottom: 2rem;
}

.single-event-body p {
    margin-bottom: 1.1rem;
}