* { margin: 0; padding: 0; box-sizing: border-box; }
img, svg, video { max-width: 100%; }
input, select, textarea, button { max-width: 100%; min-width: 0; }
:root {
    --primary: #172A46;
    --primary-light: #1e3556;
    --primary-dark: #0f1d30;
    --burgundy: #8B2D32;
    --burgundy-light: #a33a3f;
    --accent-red: #A71920;
    --accent-red-light: #c42028;
    --off-white: #F7F4ED;
    --warm-beige: #E9E1D5;
    --graphite: #252525;
    --muted-green: #49654C;
    --white: #ffffff;
    --border: #DDD7CD;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --shadow: 0 8px 28px rgba(0,0,0,0.10);
    --shadow-lg: 0 18px 55px rgba(0,0,0,0.15);
    --radius: 14px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}
html { scroll-behavior: smooth; width: 100%; max-width: 100%; overflow-x: hidden; }
body { width: 100%; max-width: 100%; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.7; color: var(--graphite); overflow-x: hidden; background: var(--white); }
main, header, footer, section { max-width: 100%; overflow-x: clip; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.container, .values-grid, .about-grid, .gallery-layout, .news-grid, .bottom-3-grid, .footer-content, .form-row { min-width: 0; }

/* SITE LOCK */
html.site-locked body > *:not(.site-lock) { visibility: hidden; }
.site-lock { position: fixed; inset: 0; z-index: 20000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: linear-gradient(135deg, rgba(23,42,70,0.92), rgba(23,42,70,0.82)), url('images/hero-slider-1.png') center/cover no-repeat; visibility: visible; }
.site-lock-box { width: min(100%, 420px); background: rgba(255,255,255,0.96); border: 1px solid rgba(255,255,255,0.75); border-radius: 18px; padding: 2rem; box-shadow: 0 28px 80px rgba(0,0,0,0.28); text-align: center; }
.site-lock-logo { height: 62px; width: auto; margin-bottom: 1.2rem; }
.site-lock-box h2 { color: var(--primary); font-size: 1.55rem; margin-bottom: 0.4rem; }
.site-lock-box p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.4rem; }
.site-lock-box label { display: block; color: var(--graphite); text-align: left; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.45rem; }
.site-lock-box input { width: 100%; padding: 0.95rem 1rem; border: 2px solid #e2e8f0; border-radius: 8px; font: inherit; text-align: center; letter-spacing: 0.15em; }
.site-lock-box input:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(139,45,50,0.16); }
.site-lock-box button { width: 100%; margin-top: 1rem; padding: 0.95rem 1rem; border: none; border-radius: 8px; background: var(--burgundy); color: var(--white); font: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px; cursor: pointer; transition: var(--transition); }
.site-lock-box button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(139,45,50,0.3); }
.site-lock-error { margin-top: 0.9rem; color: #9f1239; font-weight: 700; font-size: 0.9rem; }

/* HEADER */
header { background: rgba(255,255,255,0.98); padding: 0.6rem 5%; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 14px rgba(0,0,0,0.06); backdrop-filter: blur(10px); }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo img { height: 50px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.nav-links a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.82rem; transition: var(--transition); position: relative; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--burgundy); transition: var(--transition); }
.nav-links a:hover { color: var(--burgundy); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--burgundy); }
.nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--burgundy) !important; color: var(--white) !important; padding: 0.6rem 1.4rem !important; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(139,45,50,0.32); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); border-radius: 3px; transition: var(--transition); }

/* HERO */
.hero { position: relative; min-height: 100vh; max-height: 750px; display: flex; align-items: center; justify-content: center; color: var(--white); overflow: hidden; background: #1a1a1a; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(23,42,70,0.65), rgba(23,42,70,0.45) 52%, rgba(23,42,70,0.55)); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 8rem 5% 4rem; }
.hero-tags { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; }
.hero-tags span { color: var(--accent-red); margin: 0 8px; }
.hero-title-top { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 6rem; font-weight: 700; letter-spacing: 2px; line-height: 1; margin-bottom: 0.3rem; }
.hero-divider { width: 60px; height: 3px; background: var(--burgundy); margin: 0 auto 1.5rem; }
.hero-content h1 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 400; margin-bottom: 0.8rem; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; font-weight: 300; line-height: 1.5; font-style: italic; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* HERO NAVIGATION */
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; background: none; border: 2px solid rgba(255,255,255,0.5); color: var(--white); width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; backdrop-filter: blur(4px); }
.hero-nav:hover { background: var(--burgundy); border-color: var(--burgundy); }
.hero-prev { left: 2rem; }
.hero-next { right: 2rem; }
.hero-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 20; display: flex; gap: 10px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.hero-dot.active { background: var(--burgundy); transform: scale(1.2); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; border-radius: 6px; font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-family: inherit; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-primary { background: var(--burgundy); color: var(--white); box-shadow: 0 8px 24px rgba(139,45,50,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139,45,50,0.4); background: var(--burgundy-light); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-icon { font-size: 0.8rem; transition: var(--transition); }
.btn:hover .btn-icon { transform: translateX(3px); }

/* SECTIONS */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label { display: inline-block; color: var(--burgundy); font-weight: 700; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem; }
.section-header h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; letter-spacing: -0.5px; }
.section-header p { color: var(--gray); font-size: 1.1rem; max-width: 650px; margin: 0 auto; }

/* 4 VALUES BLOCK */
.values { background: var(--white); padding: 3.5rem 5%; border-bottom: 1px solid var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.value-item { text-align: center; padding: 1.5rem 1rem; }
.value-icon { width: 60px; height: 60px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; }
.value-icon svg { width: 48px; height: 48px; stroke: var(--burgundy); stroke-width: 1.5; fill: none; }
.value-item h3 { color: var(--primary); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem; }
.value-item p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

/* RÓLUNK */
.about { position: relative; background: var(--off-white); padding: 5rem 5%; overflow: hidden; }
.about::before { content: ''; position: absolute; inset: 0; background: url('images/about/bemutatkozas-tortenetunk.png') center/cover no-repeat; opacity: 0.055; filter: grayscale(1); pointer-events: none; }
.about .container { position: relative; z-index: 1; max-width: 1440px; }
.about-grid { display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.35fr); gap: 3.4rem; align-items: center; }
.about-label { display: inline-block; color: var(--accent-red); font-weight: 800; font-size: 0.82rem; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 0.7rem; }
.about-text h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(2.15rem, 3.1vw, 3.1rem); color: var(--primary); margin-bottom: 1.15rem; font-weight: 700; line-height: 1.18; max-width: 620px; }
.about-text p { color: var(--primary); margin-bottom: 0.95rem; font-size: 1rem; line-height: 1.72; max-width: 620px; }
.about-text .btn { margin-top: 0.7rem; min-height: 3.6rem; padding-left: 2.1rem; padding-right: 2.1rem; justify-content: center; }
.about-image-wrapper { position: relative; z-index: 1; padding: 0.75rem 0 0 0.9rem; }
.about-image-wrapper::before { content: ''; position: absolute; left: -1.4rem; top: 50%; width: 5.6rem; height: 78%; transform: translateY(-50%); background: linear-gradient(180deg, var(--accent-red), var(--burgundy)); border-radius: 7px; box-shadow: 0 18px 42px rgba(139,45,50,0.25); z-index: -1; }
.about-image { width: 100%; height: 390px; object-fit: cover; object-position: center; border-radius: var(--radius-sm); box-shadow: 0 18px 50px rgba(23,42,70,0.22); border: 3px solid rgba(255,255,255,0.78); filter: grayscale(0.9) sepia(0.18) contrast(1.03); display: block; }
.about-quote { display: flex; align-items: flex-start; justify-content: center; gap: 1rem; max-width: 640px; margin: 1.15rem 0 0 auto; padding: 0; border-left: 0; }
.about-quote-icon { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 3.6rem; color: var(--accent-red); line-height: 0.8; font-weight: 700; flex-shrink: 0; }
.about-quote p { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.08rem, 1.45vw, 1.35rem); color: var(--primary); line-height: 1.55; margin: 0; }

/* OCTOBER 26 BLOCK */
.october-block { position: relative; min-height: 340px; padding: 3.7rem 5%; color: var(--white); overflow: hidden; background-image: linear-gradient(90deg, rgba(9,24,43,0.82) 0%, rgba(9,24,43,0.56) 29%, rgba(9,24,43,0.08) 53%, rgba(9,24,43,0.22) 70%, rgba(9,24,43,0.62) 100%), url('images/banners/bg-banner.png'); background-size: cover; background-position: 58% 48%; }
.october-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(230px, 0.48fr); gap: 5rem; align-items: center; max-width: 1500px; min-height: 230px; margin: 0 auto; padding: 0 5%; box-sizing: border-box; }
.october-text { max-width: 540px; }
.october-text h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(2.05rem, 3.6vw, 3.25rem); font-weight: 700; margin-bottom: 0.55rem; line-height: 1.08; letter-spacing: 0; }
.october-text h3 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(1.12rem, 1.7vw, 1.42rem); font-weight: 700; color: rgba(255,255,255,0.94); margin-bottom: 1rem; line-height: 1.3; }
.october-text p { color: rgba(255,255,255,0.84); margin-bottom: 1.45rem; line-height: 1.65; font-size: clamp(0.94rem, 1.05vw, 1.02rem); }
.october-text .btn { color: var(--white); border-color: rgba(255,255,255,0.78); background: rgba(6,18,32,0.18); backdrop-filter: blur(2px); padding: 0.8rem 1.5rem; font-size: 0.8rem; }
.october-text .btn:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.october-quote { justify-self: end; max-width: 310px; padding: 1.1rem 0 1.1rem 1.45rem; border-left: 2px solid rgba(255,255,255,0.32); transform: translateX(1.3rem); }
.october-quote p { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.12rem, 1.65vw, 1.5rem); color: rgba(255,255,255,0.9); line-height: 1.55; text-shadow: 0 2px 18px rgba(0,0,0,0.34); }

/* GALLERY */
.gallery { background: var(--white); padding: 6rem 5%; }
.gallery .container { max-width: 1500px; }
.gallery-layout { display: grid; grid-template-columns: minmax(230px, 0.78fr) minmax(0, 2.35fr); gap: 1rem; align-items: stretch; }
.gallery-text { display: grid; grid-template-rows: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1rem; height: 430px; min-height: 0; }
.gallery-text-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; }
.gallery-text-image { width: 100%; min-width: 0; }
.gallery-text .section-label { display: block; margin-bottom: 0.5rem; }
.gallery-text h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--primary); margin-bottom: 1.5rem; font-weight: 700; }
.gallery-text .btn { white-space: nowrap; padding-left: 1.45rem; padding-right: 1.45rem; font-size: 0.8rem; }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; height: 430px; min-height: 0; align-items: stretch; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--off-white); }
.gallery-item:first-child { grid-row: 1 / span 2; }
.gallery-item img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: var(--transition); display: block; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { display: none; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.94); align-items: center; justify-content: center; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: transparent; color: var(--white); cursor: pointer; line-height: 1; }
.lightbox-close { top: 1rem; right: 1.5rem; font-size: 2.4rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* NEWS & EVENTS */
.news { background: var(--off-white); padding: 6rem 5%; }
.news .container { max-width: 1500px; }
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; gap: 2rem; }
.news-header-text .section-label { display: block; margin-bottom: 0.5rem; }
.news-header-text h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(2rem, 3vw, 2.7rem); color: var(--primary); font-weight: 700; line-height: 1.15; }
.news-link { color: var(--burgundy); font-weight: 600; font-size: 0.85rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; }
.news-link:hover { gap: 0.7rem; }
.news-grid { display: grid; grid-template-columns: minmax(0, 3.25fr) minmax(225px, 0.75fr); gap: 1.25rem; align-items: stretch; }
.news-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.news-card { background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 10px 30px rgba(23,42,70,0.10); transition: var(--transition); display: flex; flex-direction: column; min-height: 100%; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { width: 100%; height: 200px; object-fit: cover; flex-shrink: 0; }
.news-card-body { padding: 1.05rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; min-height: 230px; }
.news-card-date { color: var(--burgundy); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.news-card-title { font-size: 1.02rem; font-weight: 800; color: var(--primary); margin-bottom: 0.55rem; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-excerpt { color: #465064; font-size: 0.9rem; line-height: 1.55; margin-bottom: 1.1rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-link { color: var(--accent-red); font-weight: 800; font-size: 0.88rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.8px; transition: var(--transition); margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; }
.news-card-link:hover { color: var(--accent-red); }

/* UPCOMING EVENT SIDEBAR */
.event-sidebar { background: linear-gradient(135deg, #fbf8f1, #efe7dc); border-radius: var(--radius-sm); padding: 1.55rem 1.35rem; box-shadow: 0 10px 30px rgba(23,42,70,0.11); border: 1px solid rgba(221,215,205,0.75); min-height: 100%; display: flex; flex-direction: column; }
.event-sidebar-label { color: var(--accent-red); font-weight: 800; font-size: 1.2rem; line-height: 1.25; margin-bottom: 1.7rem; }
.event-sidebar-title { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 1rem; font-weight: 500; color: var(--primary); margin: 0.35rem 0 1.25rem; line-height: 1.45; }
.event-sidebar-row { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.9rem; align-items: center; color: var(--primary); }
.event-sidebar-icon { width: 3.2rem; height: 3.2rem; display: flex; align-items: center; justify-content: center; color: var(--accent-red); flex-shrink: 0; }
.event-sidebar-icon svg { width: 2.4rem; height: 2.4rem; stroke: currentColor; }
.event-sidebar-date { display: block; font-weight: 800; font-size: 0.98rem; line-height: 1.35; margin-bottom: 0.2rem; text-transform: uppercase; }
.event-sidebar-divider { height: 1px; background: rgba(23,42,70,0.15); margin: auto 0 1.2rem; }
.event-sidebar-location { color: var(--primary); font-size: 0.98rem; line-height: 1.4; margin-bottom: 1.5rem; }
.event-sidebar-button { width: 100%; min-height: 3.5rem; border: 1.5px solid var(--primary); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; color: var(--primary); background: rgba(255,255,255,0.2); text-decoration: none; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; transition: var(--transition); margin-top: auto; }
.event-sidebar-button:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(139,45,50,0.22); }

/* STORY PAGE */
.story-page { background: var(--white); padding-top: 0; }
.story-container { width: min(100% - 10%, 1180px); margin: 0 auto; }
.story-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(23,42,70,0.96), rgba(16,31,52,0.96)), url('images/about/bemutatkozas-tortenetunk.png') center/cover no-repeat; color: var(--white); padding: 3.4rem 5% 3rem; text-align: center; }
.story-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(to bottom, #CE2939 0 33.333%, #FFFFFF 33.333% 66.666%, #477050 66.666% 100%); }
.story-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.story-hero-logo { width: 150px; max-width: 45vw; height: auto; margin: 0 auto 1.15rem; display: block; filter: drop-shadow(0 12px 26px rgba(0,0,0,0.18)); }
.story-hero .section-label { color: #f1c7ca; margin-bottom: 0.7rem; display: inline-block; }
.story-hero h1 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.15; font-weight: 700; margin-bottom: 0.75rem; }
.story-hero p { color: rgba(255,255,255,0.82); font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.story-intro { background: var(--off-white); padding: 4rem 0; }
.story-intro-card { max-width: 920px; margin: 0 auto; background: rgba(255,255,255,0.86); border: 1px solid rgba(221,215,205,0.8); border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgba(23,42,70,0.08); padding: clamp(1.6rem, 4vw, 2.6rem); }
.story-intro-card p { color: var(--primary); font-size: 1.04rem; line-height: 1.85; margin-bottom: 1.15rem; }
.story-intro-card p:last-child { margin-bottom: 0; }
.story-intro-photo { display: block; width: min(100%, 760px); margin: 1.15rem auto 1.35rem; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--off-white); cursor: zoom-in; box-shadow: 0 14px 34px rgba(23,42,70,0.12); }
.story-intro-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; transition: transform 0.3s ease; }
.story-intro-photo:hover img { transform: scale(1.025); }
.story-chronology-section { background: var(--white); padding: 4.8rem 0 4.6rem; }
.story-chronology { position: relative; max-width: 1120px; margin: 0 auto; display: grid; gap: 2.6rem; padding: 0.8rem 0; }
.story-chronology::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: linear-gradient(to bottom, rgba(184,18,27,0.08), rgba(184,18,27,0.55), rgba(184,18,27,0.08)); border-radius: 999px; }
.story-chronology-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 7.2rem minmax(0, 1fr); gap: 1.4rem; align-items: center; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; min-height: 132px; }
.story-chronology-item::before { content: ''; position: absolute; top: 4.35rem; left: 50%; transform: translate(-50%, -50%); width: 0.86rem; height: 0.86rem; border-radius: 50%; background: var(--accent-red); border: 4px solid var(--white); box-shadow: 0 0 0 6px rgba(184,18,27,0.13), 0 8px 20px rgba(139,45,50,0.18); z-index: 2; }
.story-chronology-year { grid-column: 2; grid-row: 1; justify-self: center; align-self: start; min-width: 6rem; min-height: 3.1rem; padding: 0.5rem 0.75rem; color: var(--white); background: var(--burgundy); border-radius: 7px; font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 1.18rem; font-weight: 700; line-height: 1.15; text-align: center; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px rgba(139,45,50,0.22); z-index: 3; }
.story-chronology-year-range { font-size: 1.02rem; letter-spacing: 0; }
.story-chronology-content { grid-column: 1; justify-self: end; width: min(100%, 430px); padding: 1.45rem 1.55rem; background: var(--off-white); border: 1px solid rgba(221,215,205,0.9); border-radius: var(--radius-sm); box-shadow: 0 12px 30px rgba(23,42,70,0.07); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.story-chronology-item:nth-child(even) .story-chronology-content { grid-column: 3; justify-self: start; }
.story-chronology-content:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(23,42,70,0.11); }
.story-chronology-content h3 { color: var(--primary); font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 1.24rem; line-height: 1.32; margin-bottom: 0.55rem; }
.story-chronology-content p { color: var(--gray); font-size: 0.96rem; line-height: 1.65; }
.story-timeline-section { padding: 5rem 0 4.5rem; background: var(--white); }
.story-section-head { text-align: center; max-width: 760px; margin: 0 auto 3.2rem; }
.story-section-head .section-label { display: block; margin-bottom: 0.55rem; }
.story-section-head h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; color: var(--primary); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.2; }
.story-timeline { position: relative; padding: 0.5rem 0 3.5rem; }
.story-timeline::before { content: ''; position: absolute; top: 0; bottom: 1.25rem; left: 50%; width: 3px; transform: translateX(-50%); background: linear-gradient(to bottom, rgba(184,18,27,0.15), var(--accent-red), rgba(184,18,27,0.15)); border-radius: 999px; }
.story-timeline-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 7rem minmax(0, 1fr); gap: 1.2rem; align-items: start; margin-bottom: 3.2rem; }
.story-timeline-item:last-of-type { margin-bottom: 0; }
.story-timeline-marker { grid-column: 2; justify-self: center; position: relative; z-index: 2; width: 6rem; min-height: 3.2rem; display: flex; align-items: center; justify-content: center; }
.story-timeline-marker::before { content: ''; position: absolute; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--accent-red); border: 4px solid var(--white); box-shadow: 0 0 0 5px rgba(184,18,27,0.16); top: 3.8rem; left: 50%; transform: translateX(-50%); }
.story-timeline-marker span { display: inline-flex; align-items: center; justify-content: center; min-width: 5.5rem; padding: 0.62rem 0.85rem; color: var(--white); background: var(--burgundy); border-radius: 7px; font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 700; box-shadow: 0 12px 28px rgba(139,45,50,0.24); }
.story-timeline-card { grid-column: 1; background: var(--off-white); border: 1px solid rgba(221,215,205,0.85); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 12px 32px rgba(23,42,70,0.08); display: grid; grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr); min-height: 220px; }
.story-timeline-card.no-image { grid-template-columns: 1fr; }
.story-timeline-item:nth-child(even) .story-timeline-card { grid-column: 3; }
.story-timeline-image { min-height: 220px; background: var(--border); }
.story-timeline-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-timeline-body { padding: 1.55rem; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.story-timeline-date { color: var(--accent-red); font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.55rem; }
.story-timeline-body h3 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; color: var(--primary); font-size: 1.24rem; line-height: 1.35; margin-bottom: 0.7rem; }
.story-timeline-body p { color: var(--gray); line-height: 1.65; font-size: 0.96rem; }
.story-timeline-link { margin-top: 1rem; color: var(--accent-red); text-decoration: none; font-size: 0.84rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 0.45rem; }
.story-timeline-link:hover { gap: 0.7rem; }
.story-timeline-arrow { position: absolute; left: 50%; bottom: 0; width: 1rem; height: 1rem; border-right: 3px solid var(--accent-red); border-bottom: 3px solid var(--accent-red); transform: translateX(-50%) rotate(45deg); }
.story-loading, .story-empty { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; padding: 2rem; text-align: center; color: var(--gray); background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.story-loading { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.story-closing { background: var(--off-white); padding: 3rem 0 4rem; }
.story-closing-card { text-align: center; max-width: 860px; margin: 0 auto; padding: 2.4rem 5%; background: var(--white); border: 1px solid rgba(221,215,205,0.8); border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgba(23,42,70,0.08); }
.story-closing-card h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; color: var(--primary); font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 0.8rem; }
.story-closing-card p { color: var(--gray); font-size: 1.05rem; line-height: 1.7; }

/* 1956 EVENTS PAGE */
.history-page { background: var(--white); }
.history-hero { position: relative; padding: 8.5rem 5% 4.6rem; color: var(--white); background: linear-gradient(90deg, rgba(9,24,43,0.88), rgba(9,24,43,0.52), rgba(9,24,43,0.68)), url('images/banners/bg-banner.png') center/cover no-repeat; overflow: hidden; }
.history-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(to bottom, #CE2939 0 33.333%, #FFFFFF 33.333% 66.666%, #477050 66.666% 100%); }
.history-hero-inner { position: relative; z-index: 1; width: min(100%, 980px); margin: 0 auto; text-align: center; }
.history-hero .back-link { color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.history-hero .back-link:hover { color: #fff; }
.history-hero .section-label { color: #f1c7ca; }
.history-hero h1 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; margin: 0.35rem 0 1rem; }
.history-hero p { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,0.84); font-size: 1.1rem; line-height: 1.7; }
.history-content { width: min(100% - 2.4rem, 1100px); margin: 0 auto; padding: 4rem 0 4.5rem; }
.history-lead { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr); gap: 2.2rem; align-items: center; margin-bottom: 2.4rem; }
.history-lead h2,
.history-sources h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; color: var(--primary); font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.18; margin-bottom: 1rem; }
.history-lead p,
.history-grid p { color: var(--primary); font-size: 1rem; line-height: 1.78; margin-bottom: 1rem; }
.history-lead figure,
.history-image-row figure { margin: 0; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 14px 34px rgba(23,42,70,0.1); }
.history-lead img,
.history-image-row img { width: 100%; height: 100%; display: block; object-fit: cover; }
.history-lead img { min-height: 360px; }
.history-lead figcaption,
.history-image-row figcaption { color: var(--gray); font-size: 0.86rem; line-height: 1.45; padding: 0.85rem 1rem; }
.history-highlight { display: grid; grid-template-columns: 180px 1fr; gap: 1.2rem; align-items: center; margin: 2rem 0; padding: 1.35rem 1.5rem; background: var(--primary); color: var(--white); border-radius: var(--radius-sm); box-shadow: 0 14px 34px rgba(23,42,70,0.15); }
.history-highlight strong { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 1.45rem; line-height: 1.15; }
.history-highlight span { color: rgba(255,255,255,0.86); line-height: 1.65; }
.history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.history-grid article { padding: 1.45rem; background: var(--off-white); border: 1px solid var(--border); border-left: 4px solid var(--burgundy); border-radius: var(--radius-sm); }
.history-grid h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 0.7rem; }
.history-grid p { margin-bottom: 0; }
.history-image-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2.2rem 0; }
.history-image-row img { aspect-ratio: 16 / 10; }
.history-sources { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.history-sources h2 { font-size: 1.45rem; }
.history-sources a { display: block; color: var(--burgundy); font-weight: 700; text-decoration: none; margin-top: 0.55rem; }
.history-sources a:hover { text-decoration: underline; }

/* BOTTOM 3 BLOCK */
.bottom-3 { background: var(--off-white); padding: 4.2rem 5%; border-top: 1px solid var(--border); }
.bottom-3-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.5rem; max-width: 1380px; margin: 0 auto; }
.bottom-3-item { min-height: 318px; display: grid; grid-template-columns: 40% 60%; overflow: hidden; background: rgba(255,255,255,0.92); border-radius: var(--radius-sm); transition: var(--transition); border: 1px solid rgba(221,215,205,0.76); box-shadow: 0 8px 26px rgba(23,42,70,0.09); }
.bottom-3-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bottom-3-media { min-width: 0; min-height: 100%; }
.bottom-3-media img { width: 100%; height: 100%; min-height: 318px; object-fit: cover; display: block; }
.bottom-3-map iframe { width: 100%; height: 100%; min-height: 318px; border: 0; display: block; filter: grayscale(0.18) contrast(0.96) saturate(0.9); pointer-events: none; }
.bottom-3-content { padding: 2rem 1.45rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; }
.bottom-3-icon { width: 54px; height: 54px; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; color: var(--accent-red); }
.bottom-3-icon svg { width: 42px; height: 42px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.bottom-3-item h3 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; font-weight: 700; color: var(--primary); margin-bottom: 0.65rem; }
.bottom-3-item p { color: var(--primary); font-size: 1rem; line-height: 1.45; margin-bottom: 1.7rem; }
.bottom-3-link { min-height: 3.2rem; width: 100%; max-width: 220px; color: var(--accent-red); background: transparent; border: 1.5px solid var(--accent-red); border-radius: 6px; font-weight: 800; font-size: 0.86rem; text-decoration: none; text-transform: uppercase; letter-spacing: 0.6px; transition: var(--transition); display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: auto; font-family: inherit; cursor: pointer; }
.bottom-3-link:hover { color: var(--white); background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-2px); }

/* SUPPORT MODAL */
.support-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(9, 18, 34, 0.58); backdrop-filter: blur(5px); }
.support-modal.is-open { display: flex; }
.support-modal-panel { position: relative; width: min(100%, 620px); max-height: calc(100vh - 3rem); overflow-y: auto; background: var(--white); border-radius: 10px; padding: 2.4rem; box-shadow: 0 28px 70px rgba(9,18,34,0.32); border: 1px solid rgba(221,215,205,0.9); }
.support-modal-close { position: absolute; top: 1rem; right: 1rem; width: 2.3rem; height: 2.3rem; border: none; border-radius: 50%; background: rgba(139,45,50,0.08); color: var(--burgundy); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: var(--transition); }
.support-modal-close:hover { background: var(--burgundy); color: var(--white); }
.support-modal-kicker { color: var(--accent-red); text-transform: uppercase; letter-spacing: 2px; font-weight: 800; font-size: 0.78rem; margin-bottom: 0.7rem; }
.support-modal h2 { font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; color: var(--primary); font-size: clamp(1.7rem, 4vw, 2.25rem); line-height: 1.18; margin-bottom: 1rem; }
.support-modal-intro { color: var(--graphite); line-height: 1.7; margin-bottom: 1.4rem; }
.support-data { display: grid; gap: 0.8rem; padding: 1rem; background: var(--off-white); border-radius: 8px; border: 1px solid var(--border); }
.support-data-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; color: var(--graphite); }
.support-data-row span { color: var(--gray); font-size: 0.88rem; }
.support-data-row strong { color: var(--primary); font-weight: 700; overflow-wrap: anywhere; }
.support-copy { min-height: 2.25rem; padding: 0 0.8rem; border: 1px solid var(--accent-red); border-radius: 6px; background: transparent; color: var(--accent-red); font-family: inherit; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.4px; cursor: pointer; transition: var(--transition); }
.support-copy:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.support-placeholder-note { margin: 1rem 0 0; color: var(--burgundy); font-size: 0.9rem; font-weight: 600; }

/* FOOTER */
footer { background: var(--primary); color: var(--white); position: relative; }
.footer-content { display: flex; flex-direction: column; gap: 0.42rem; padding: 1.1rem 5% 0.9rem; max-width: 1200px; margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); align-items: center; gap: 1rem; }
.footer-logo { display: inline-flex; align-items: center; justify-self: start; flex-shrink: 0; margin-left: -0.35rem; }
.footer-logo img { height: 78px; width: auto; opacity: 0.95; }
.footer-nav { grid-column: 2; display: flex; gap: 0.75rem 1.05rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.footer-nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-facebook { display: inline-flex; align-items: center; gap: 0.38rem; }
.footer-facebook i { color: inherit; font-size: 0.95rem; transition: var(--transition); }
.footer-facebook span { font-weight: 700; letter-spacing: 0.2px; }
.footer-facebook:hover i,
.footer-facebook:hover span { color: var(--white); }
.footer-contact { display: flex; align-items: center; justify-content: center; gap: 0.28rem 1.05rem; flex-wrap: wrap; text-align: center; }
.footer-contact-item { color: rgba(255,255,255,0.8); font-size: 0.85rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.footer-contact-item:hover { color: var(--white); }
.footer-contact-item svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }
.footer-tricolor { height: 18px; background: linear-gradient(to bottom, #CE2939 0 33.333%, #FFFFFF 33.333% 66.666%, #477050 66.666% 100%); }
.footer-bottom { background: var(--primary-dark); text-align: center; padding: 0.5rem 5% 0.58rem; }
.footer-legal { display: flex; justify-content: center; align-items: center; gap: 0.55rem; margin-bottom: 0.12rem; }
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.78rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }
.footer-legal span { color: rgba(255,255,255,0.3); }
.footer-copyright { color: rgba(255,255,255,0.5); font-size: 0.76rem; }
.footer-slogan { color: rgba(255,255,255,0.42); font-style: italic; font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: 0.72rem; margin-top: 0.1rem; }

/* COOKIE CONSENT */
.cookie-consent { position: fixed; bottom: 1rem; left: 5%; right: 5%; max-width: 1180px; margin: 0 auto; background: rgba(23,42,70,0.96); color: var(--white); padding: 1rem 1.2rem; z-index: 9999; box-shadow: 0 14px 38px rgba(0,0,0,0.26); display: none; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: 10px; backdrop-filter: blur(10px); }
.cookie-consent.show { display: flex; }
.cookie-text { flex: 1; font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.cookie-text a { color: var(--warm-beige); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-btn { padding: 0.6rem 1.5rem; border-radius: 6px; font-weight: 600; font-size: 0.85rem; cursor: pointer; border: none; transition: var(--transition); font-family: inherit; text-transform: uppercase; letter-spacing: 0.5px; }
.cookie-btn-accept { background: var(--burgundy); color: var(--white); }
.cookie-btn-accept:hover { background: var(--burgundy-light); }
.cookie-btn-reject { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.cookie-btn-reject:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* FORMS */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.9rem; color: var(--graphite); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; transition: var(--transition); background: #f8fafc; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--burgundy); background: var(--white); box-shadow: 0 0 0 3px rgba(139,45,50,0.16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; padding: 1rem; background: var(--burgundy); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(139,45,50,0.34); }
.form-notice { max-width: 900px; margin: 0 auto 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.95rem; line-height: 1.5; }
.form-notice.error { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.form-notice[hidden] { display: none; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* INNER PAGE HEADER */
.inner-page-header,
.page-header { position: relative; background: var(--white); color: var(--primary); padding: 8.3rem 5% 3.1rem; text-align: center; border-bottom: 1px solid var(--border); }
.inner-page-header .container,
.page-header .container { position: relative; max-width: 1180px; margin: 0 auto; }
.inner-page-title,
.page-header h1 { max-width: 820px; margin: 0 auto 0.8rem; font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; font-weight: 700; color: var(--primary); }
.inner-page-subtitle,
.page-header p { max-width: 680px; margin: 0 auto; color: var(--gray); font-size: 1.05rem; line-height: 1.7; }
.inner-page-meta { margin-bottom: 0.55rem; color: var(--burgundy); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.back-link,
.detail-back { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--burgundy); text-decoration: none; font-weight: 700; font-size: 0.88rem; line-height: 1.2; transition: var(--transition); }
.back-link:hover,
.detail-back:hover { color: var(--burgundy-light); transform: translateX(-3px); }
.inner-page-header .back-link,
.page-header .back-link { position: absolute; top: 0.1rem; right: 0; }
.news-list-page .inner-page-header,
.events-list-page .inner-page-header,
.gallery-list-page .inner-page-header { padding: 0 0 3rem; border-bottom: 0; margin-bottom: 0; }

/* LEGAL CONTENT */
.legal-content { max-width: 800px; margin: 0 auto; padding: 4rem 5%; }
.legal-content h2 { color: var(--primary); font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; }
.legal-content h3 { color: var(--graphite); font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.legal-content p { color: var(--gray); margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.7; }
.legal-content ul { color: var(--gray); margin: 0.5rem 0 1rem 1.5rem; font-size: 0.95rem; }
.legal-content li { margin-bottom: 0.4rem; }
.legal-content strong { color: var(--graphite); }
.legal-content a { color: var(--burgundy); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* DETAIL PAGE HEADER */
.detail-header { --detail-content-width: 800px; position: relative; text-align: center; margin-bottom: 1.8rem; padding-top: 2.2rem; }
.detail-header-main { min-width: 0; max-width: 820px; margin: 0 auto; }
.detail-header .detail-back { position: absolute; top: 0; right: calc((var(--detail-content-width) - min(90vw, 1180px)) / 2); margin: 0; white-space: nowrap; }
.detail-title { max-width: 820px; margin: 0 auto 1rem; font-family: 'Libre Baskerville', 'Cormorant Garamond', serif; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.18; color: var(--primary); }
.detail-date,
.detail-desc { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }

/* SCROLL ANIMATIONS */
.anim { opacity: 0; transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.anim.from-left { transform: translateX(-60px); }
.anim.from-right { transform: translateX(60px); }
.anim.from-bottom { transform: translateY(50px); }
.anim.scale-up { transform: scale(0.9); }
.anim.visible { opacity: 1; transform: translate(0) scale(1); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links.active { display: flex; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; align-items: flex-end; padding: 1.2rem 5%; gap: 0.9rem; box-shadow: 0 12px 28px rgba(0,0,0,0.1); border-top: 1px solid var(--border); }
    .nav-links.active a { color: var(--primary); text-align: right; }
    .nav-links.active a:hover { color: var(--burgundy); }
    .hero { max-height: none; min-height: 80vh; }
    .hero-title-top { font-size: 4rem; }
    .hero-content h1 { font-size: 1.6rem; }
    .about { padding: 4.5rem 5%; }
    .about-grid { grid-template-columns: 1fr; gap: 2.3rem; }
    .about-image-wrapper { order: 0; max-width: 620px; width: 100%; margin: 0 auto; }
    .about-image { height: 300px; }
    .about-quote { max-width: 620px; margin: 1rem auto 0; justify-content: center; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .october-block { min-height: auto; padding: 3.6rem 5%; background-position: 64% 48%; }
    .october-content { grid-template-columns: 1fr; gap: 1.5rem; min-height: 0; }
    .october-quote { justify-self: start; max-width: 620px; transform: none; }
    .gallery-layout { grid-template-columns: 1fr; }
    .gallery-text { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; min-height: 250px; }
    .gallery-grid { height: auto; min-height: 330px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-cards { grid-template-columns: 1fr 1fr; }
    .event-sidebar { min-height: auto; }
    .story-page { padding-top: 0; }
    .story-timeline-item { grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr); gap: 0.9rem; }
    .story-timeline-marker { width: 5.2rem; }
    .story-timeline-marker span { min-width: 4.8rem; font-size: 1.12rem; }
    .story-timeline-card { grid-template-columns: 1fr; }
    .story-timeline-image { min-height: 190px; }
    .history-lead { grid-template-columns: 1fr; }
    .history-lead img { min-height: 300px; }
    .bottom-3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
    .bottom-3-item { grid-template-columns: 38% 62%; min-height: 280px; }
    .bottom-3-media img,
    .bottom-3-map iframe { min-height: 280px; }
    .footer-content { text-align: center; gap: 0.5rem; padding: 1.05rem 5% 0.85rem; }
    .footer-main { display: flex; flex-direction: column; gap: 0.45rem; }
    .footer-logo { justify-self: center; margin-left: 0; }
    .footer-contact { flex-direction: column; gap: 0.28rem; }
    .footer-contact-item { justify-content: center; }
    .footer-nav { justify-content: center; }
    .cookie-consent { flex-direction: column; text-align: center; left: 1rem; right: 1rem; bottom: 1rem; }
    .inner-page-header .back-link,
    .page-header .back-link,
    .detail-header .detail-back { position: static; justify-content: center; align-self: center; margin: 0 auto 1.2rem; text-align: center; white-space: normal; }
    .detail-header { display: flex; flex-direction: column-reverse; gap: 0.9rem; text-align: center; }
}
@media (min-width: 993px) {
    .news-card-excerpt { -webkit-line-clamp: 2; }
    .news-card-link { margin-top: 0.7rem; }
}
@media (max-width: 600px) {
    .hero { min-height: 70vh; }
    .hero-title-top { font-size: 2.8rem; }
    .hero-content h1 { font-size: 1.3rem; letter-spacing: 1px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; max-width: 280px; }
    .hero-nav { width: 40px; height: 40px; font-size: 1rem; }
    .hero-prev { left: 1rem; }
    .hero-next { right: 1rem; }
    .values-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .about { padding: 3.6rem 5%; }
    .about-text h2 { font-size: 2rem; }
    .about-text .btn { width: 100%; max-width: 340px; }
    .about-image-wrapper { padding-left: 0.65rem; }
    .about-image-wrapper::before { left: -0.55rem; width: 3.4rem; height: 72%; }
    .about-image { height: 255px; }
    .about-quote { align-items: flex-start; justify-content: flex-start; gap: 0.8rem; margin-top: 0.95rem; }
    .about-quote-icon { font-size: 3.1rem; }
    .about-quote p { font-size: 1.18rem; }
    .october-block { padding: 3rem 5%; background-position: 68% center; }
    .october-text h2 { font-size: 1.85rem; }
    .october-text h3 { font-size: 1.08rem; }
    .october-text .btn { width: 100%; justify-content: center; }
    .october-quote { padding: 1.25rem 0 0 1.2rem; }
    .october-quote p { font-size: 1.18rem; }
    .gallery-text h2 { font-size: 1.8rem; }
    .gallery-text { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; gap: 0.9rem; }
    .gallery-text .btn { white-space: normal; width: 100%; justify-content: center; }
    .gallery-text-image { aspect-ratio: 16 / 10; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; min-height: 0; gap: 0.9rem; }
    .gallery-item:first-child { grid-row: auto; }
    .gallery-item { aspect-ratio: 16 / 10; }
    .news-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .news-cards { grid-template-columns: 1fr; }
    .news-card-img { height: 200px; }
    .story-container { width: min(100% - 2.4rem, 1180px); }
    .story-hero { padding: 2.8rem 5% 2.4rem; }
    .story-hero-logo { width: 125px; }
    .story-intro { padding: 3rem 0; }
    .story-chronology-section { padding: 3.4rem 0 3rem; }
    .story-chronology { gap: 1.35rem; padding-left: 3.3rem; }
    .story-chronology::before { left: 1.35rem; top: 0.5rem; bottom: 0.5rem; }
    .story-chronology-item { display: grid; grid-template-columns: 1fr; gap: 0.85rem; min-height: 0; }
    .story-chronology-item::before { top: 1.5rem; left: -1.95rem; transform: translate(-50%, -50%); }
    .story-chronology-year { grid-column: 1; justify-self: start; min-width: 4.9rem; min-height: 2.55rem; padding: 0.45rem 0.7rem; font-size: 1rem; }
    .story-chronology-year-range { font-size: 0.92rem; }
    .story-chronology-content,
    .story-chronology-item:nth-child(even) .story-chronology-content { grid-column: 1; justify-self: stretch; width: 100%; padding: 1.25rem; }
    .story-chronology-content h3 { font-size: 1.08rem; }
    .story-chronology-content p { font-size: 0.94rem; }
    .story-timeline-section { padding: 3.4rem 0 3.5rem; }
    .story-section-head { text-align: left; margin-bottom: 2rem; }
    .story-timeline { padding-left: 0; }
    .story-timeline::before { left: 2.3rem; }
    .story-timeline-item { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 0.85rem; margin-bottom: 2.1rem; }
    .story-timeline-marker { grid-column: 1; width: 4.6rem; min-height: 2.8rem; align-self: start; }
    .story-timeline-marker::before { top: 3.35rem; }
    .story-timeline-marker span { min-width: 4.1rem; padding: 0.55rem 0.5rem; font-size: 0.98rem; }
    .story-timeline-card,
    .story-timeline-item:nth-child(even) .story-timeline-card { grid-column: 2; grid-template-columns: 1fr; min-height: 0; }
    .story-timeline-image { min-height: 180px; }
    .story-timeline-body { padding: 1.25rem; }
    .story-timeline-arrow { left: 2.3rem; }
    .story-closing { padding: 2.4rem 0 3rem; }
    .history-hero { padding: 6.8rem 5% 3.2rem; }
    .history-content { width: min(100% - 2rem, 1100px); padding: 3rem 0; }
    .history-highlight,
    .history-grid,
    .history-image-row { grid-template-columns: 1fr; }
    .history-lead img { min-height: 0; aspect-ratio: 16 / 10; }
    .news-card-body { min-height: auto; }
    .event-sidebar { padding: 1.5rem; }
    .event-sidebar-row { grid-template-columns: 2.8rem 1fr; }
    .event-sidebar-date { display: block; }
    .event-sidebar-icon { width: 2.8rem; height: 2.8rem; }
    .event-sidebar-icon svg { width: 2.1rem; height: 2.1rem; }
    .bottom-3-grid { grid-template-columns: 1fr; max-width: 100%; }
    .bottom-3-item { grid-template-columns: 1fr; min-height: auto; }
    .bottom-3-media img,
    .bottom-3-map iframe { height: 190px; min-height: 190px; }
    .bottom-3-content { padding: 1.5rem; }
    .bottom-3-link { max-width: 100%; }
    .support-modal { padding: 1rem; align-items: flex-end; }
    .support-modal-panel { padding: 2rem 1.2rem 1.4rem; max-height: calc(100vh - 2rem); }
    .support-data-row { grid-template-columns: 1fr; gap: 0.25rem; }
    .support-copy { width: 100%; margin-top: 0.25rem; }
    .section-header h2 { font-size: 2rem; }
    .inner-page-header,
    .page-header { padding: 6.7rem 5% 2.5rem; }
    .news-list-page .inner-page-header,
    .events-list-page .inner-page-header,
    .gallery-list-page .inner-page-header { padding: 0 0 2.4rem; }
    .inner-page-header .back-link,
    .page-header .back-link { position: static; justify-content: center; align-self: center; margin: 0 auto 1.2rem; text-align: center; }
    .inner-page-title,
    .page-header h1 { font-size: 2rem; }
    .footer-logo img { height: 70px; }
    .footer-nav { gap: 0.5rem 0.85rem; }
    .footer-bottom { padding: 0.5rem 5% 0.6rem; }
    .footer-legal { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
    .footer-slogan { margin-top: 0.08rem; }
    .detail-header { display: flex; flex-direction: column-reverse; gap: 0.9rem; margin-bottom: 1.5rem; text-align: center; }
    .detail-header .detail-back { position: static; justify-content: center; align-self: center; margin-left: auto; margin-right: auto; text-align: center; white-space: normal; }
    .back-link:hover,
    .detail-back:hover { transform: none; }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .cookie-btn { width: 100%; }
}
