/**
 * ============================================================================
 * BESZÉDES ADVENT – Stíluslap (style.css)
 * ============================================================================
 * Színpaletta (előírás szerint, csillogás és hóesés nélkül):
 * - Mély éj-lila (háttér):      #120b1a
 * - Adventi bársony-lila (kártya): #2b1b3d
 * - Középtónusú lila (kiemelés): #7a5c9e
 * - Világos levendula (szöveg):  #e7d9f2
 * - Óarany (szakrális akcentus): #bfa36a
 * ============================================================================
 */

:root {
    --bg-deep: #120b1a;
    --bg-surface: #2b1b3d;
    --bg-surface-elevated: #36224c;
    --accent-purple: #7a5c9e;
    --text-light: #e7d9f2;
    --text-muted: rgba(231, 217, 242, 0.72);
    --text-dim: rgba(231, 217, 242, 0.45);
    --gold: #bfa36a;
    --gold-soft: rgba(191, 163, 106, 0.22);
    --gold-border: rgba(191, 163, 106, 0.48);

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================================
   ALAPOK ÉS RESET
   ============================================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    background-image: radial-gradient(circle at 50% 0%, #2b1b3d 0%, #120b1a 65%);
    background-attachment: fixed;
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--text-light);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

/* Előnézeti teszt mód felső sáv */
.preview-banner {
    background-color: var(--gold);
    color: var(--bg-deep);
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.preview-exit-link {
    color: var(--bg-deep);
    font-weight: 700;
    text-decoration: underline;
}

.preview-exit-link:hover {
    color: var(--bg-surface);
}

/* ============================================================================
   FŐ ELRENDEZÉS ÉS FEJLÉC
   ============================================================================ */
.page-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
    overflow-x: hidden;
}

.site-header {
    width: 100%;
    text-align: center;
    margin-bottom: 2.75rem;
}

.parish-subtitle {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.main-title span {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 1rem auto 2rem;
    max-width: 260px;
}

.ornament-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.ornament-diamond {
    color: var(--gold);
    font-size: 0.75rem;
    line-height: 1;
}

/* ============================================================================
   1. INTELLIGENS LENYITHATÓ BEVEZETŐ PANEL (<details> / <summary>)
   ============================================================================ */
.intro-Accordion {
    background-color: var(--bg-surface);
    border: 1px solid rgba(122, 92, 158, 0.45);
    border-radius: var(--radius-lg);
    text-align: left;
    overflow: hidden;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.intro-Accordion[open] {
    border-color: var(--gold-border);
}

.intro-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    user-select: none;
    background-color: rgba(18, 11, 26, 0.3);
    transition: background-color var(--transition-fast);
}

.intro-summary::-webkit-details-marker {
    display: none;
}

.intro-summary:hover {
    background-color: rgba(122, 92, 158, 0.2);
}

.summary-icon-left {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--gold-soft);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
}

.summary-text small {
    font-weight: 400;
    color: var(--gold);
    font-size: 0.92rem;
    margin-left: 0.25rem;
}

.summary-chevron {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
}

.intro-Accordion[open] .summary-chevron {
    transform: rotate(180deg);
}

/* Lenyíló tartalom animációval */
.intro-content-wrapper {
    border-top: 1px solid rgba(122, 92, 158, 0.3);
    animation: accordionFadeIn 0.35s ease-out;
}

@keyframes accordionFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-content-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 2.25rem;
    padding: 2rem;
    align-items: center;
}

.intro-text-column,
.intro-video-column {
    min-width: 0;
}

.intro-text-column p {
    margin-bottom: 1.1rem;
    color: var(--text-light);
    font-size: 1.02rem;
}

.intro-text-column p:last-of-type {
    margin-bottom: 0;
}

.intro-lead {
    font-family: var(--font-serif);
    font-size: 1.35rem !important;
    line-height: 1.45;
    color: var(--text-light);
}

.intro-lead strong {
    color: var(--gold);
    font-weight: 600;
}

.intro-highlight {
    padding: 1rem 1.25rem;
    background-color: rgba(18, 11, 26, 0.45);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
    font-weight: 500;
}

.intro-actions {
    margin-top: 1.5rem;
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gold);
    background-color: var(--gold-soft);
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-gold-outline:hover {
    background-color: var(--gold);
    color: var(--bg-deep);
    transform: translateY(-1px);
}

/* Jobb oldali 9:16-os beharangozó videó doboz */
.teaser-card {
    background-color: var(--bg-deep);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 0.65rem;
    text-align: center;
}

.teaser-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* 9:16 függőleges képarány konténer */
.shorts-aspect-box {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background-color: #09050d;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.shorts-aspect-box iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.teaser-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: linear-gradient(160deg, #2b1b3d 0%, #120b1a 100%);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.teaser-placeholder:hover .teaser-play-circle {
    transform: scale(1.08);
    background-color: var(--gold);
    color: var(--bg-deep);
}

.teaser-play-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--gold-soft);
    border: 2px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.teaser-placeholder-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
}

.teaser-placeholder-sub {
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 0.25rem;
}

/* ============================================================================
   2. NAPTÁR JELMAGYARÁZAT ÉS RÁCS (26 ABLAK)
   ============================================================================ */
.calendar-section {
    margin-bottom: 3.5rem;
}

.calendar-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot--available {
    background-color: var(--gold);
}

.legend-dot--opened {
    background-color: var(--accent-purple);
    border: 1px solid var(--text-light);
}

.legend-dot--locked {
    background-color: rgba(122, 92, 158, 0.3);
    border: 1px solid rgba(122, 92, 158, 0.5);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 1.15rem;
}

/* Naptár ablak alapstílus */
.calendar-window {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
    min-height: 165px;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius-md);
    text-align: left;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}

.window-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
    flex-wrap: wrap;
}

.window-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.85;
    flex-shrink: 0;
}

.window-badge {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background-color: rgba(191, 163, 106, 0.16);
    color: var(--gold);
    border: 1px solid rgba(191, 163, 106, 0.35);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.window-badge--today {
    background-color: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
}

.window-center {
    margin: 0.85rem 0;
    display: flex;
    flex-direction: column;
}

.window-date {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.03em;
    color: var(--text-light);
}

.window-weekday {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-top: 0.2rem;
}

.window-footer {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(231, 217, 242, 0.1);
    width: 100%;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Alapból az állapot-ikonok rejtettek, az aktív állapot-osztály kapcsolja be a megfelelőt */
.status-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

/* ----------------------------------------------------------------------------
   ÁLLAPOT 1: "Zárt és még nem elérhető" (.window--locked)
   ---------------------------------------------------------------------------- */
.calendar-window.window--locked {
    background-color: rgba(43, 27, 61, 0.42);
    border: 1px solid rgba(122, 92, 158, 0.25);
    color: var(--text-dim);
}

.calendar-window.window--locked .window-date,
.calendar-window.window--locked .window-weekday,
.calendar-window.window--locked .window-number {
    color: var(--text-muted);
    opacity: 0.65;
}

.calendar-window.window--locked .status-icon--locked {
    display: inline-flex;
    background-color: rgba(122, 92, 158, 0.18);
    color: var(--text-muted);
}

.calendar-window.window--locked .status-text {
    color: var(--text-dim);
}

.calendar-window.window--locked:hover {
    border-color: rgba(122, 92, 158, 0.5);
    background-color: rgba(43, 27, 61, 0.6);
}

/* Finom rázás animáció, ha zárt ablakra kattintanak */
.calendar-window.window--shake {
    animation: lockedShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes lockedShake {
    10%, 90% { transform: translateX(-3px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-5px); }
    40%, 60% { transform: translateX(5px); }
}

/* ----------------------------------------------------------------------------
   ÁLLAPOT 2: "Aktuális / Már megnyitható, de még nem látták" (.window--available)
   ---------------------------------------------------------------------------- */
.calendar-window.window--available {
    background: linear-gradient(155deg, #36224c 0%, #2b1b3d 100%);
    border: 1.5px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(191, 163, 106, 0.15);
}

.calendar-window.window--available .status-icon--play {
    display: inline-flex;
    background-color: var(--gold);
    color: var(--bg-deep);
}

.calendar-window.window--available .status-text {
    color: var(--gold);
}

.calendar-window.window--available:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    border-color: var(--text-light);
}

.calendar-window.window--available:hover .status-icon--play {
    transform: scale(1.1);
}

/* ----------------------------------------------------------------------------
   ÁLLAPOT 3: "Már megnyitott / Múltbeli" (.window--opened)
   (A localStorage alapján a JS adja hozzá a nyitható ablakokhoz)
   ---------------------------------------------------------------------------- */
.calendar-window.window--opened {
    background: var(--bg-surface);
    border: 1px solid var(--accent-purple);
    opacity: 0.82;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.calendar-window.window--opened .status-icon--play {
    display: none;
}

.calendar-window.window--opened .status-icon--check {
    display: inline-flex;
    background-color: rgba(122, 92, 158, 0.35);
    border: 1px solid var(--accent-purple);
    color: var(--text-light);
}

.calendar-window.window--opened .status-text {
    color: var(--text-muted);
}

.calendar-window.window--opened:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: var(--gold);
}

/* Vasárnapok és Szenteste finom keret-kiemelése */
.calendar-window.window--sunday.window--locked,
.calendar-window.window--christmas.window--locked {
    border-color: rgba(191, 163, 106, 0.32);
}

/* ============================================================================
   3. YOUTUBE LEJÁTSZÁSI LISTA BANNER
   ============================================================================ */
.playlist-banner {
    background: linear-gradient(135deg, #2b1b3d 0%, #1d122b 100%);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2.5rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    margin-bottom: 2.5rem;
}

.playlist-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.playlist-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.playlist-banner-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    color: var(--text-light);
    margin-bottom: 0.45rem;
}

.playlist-banner-text p {
    color: var(--text-muted);
    font-size: 0.96rem;
    max-width: 600px;
}

.btn-gold-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 1.5rem;
    background-color: var(--gold);
    color: var(--bg-deep);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-gold-primary:hover {
    background-color: var(--text-light);
    color: var(--bg-deep);
    transform: translateY(-2px);
}

/* ============================================================================
   LÁBLÉC
   ============================================================================ */
.site-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(122, 92, 158, 0.25);
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ============================================================================
   4. FELUGRÓ MODÁLIS ABLAK (9:16 VIDEÓ + MEGOSZTÁS + NAPI EVANGÉLIUM)
   ============================================================================ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(18, 11, 26, 0.88);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow-y: auto;
    animation: modalFadeIn 0.25s ease-out;
}

.modal-backdrop[hidden] {
    display: none !important;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    background-color: var(--bg-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1.75rem;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(18, 11, 26, 0.75);
    border: 1px solid rgba(231, 217, 242, 0.25);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.modal-close-btn:hover {
    background-color: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
}

.modal-layout {
    display: grid;
    grid-template-columns: 315px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.modal-video-col {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    margin: 0 auto;
}

.modal-player-box {
    border: 1px solid var(--gold-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.modal-info-col {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding-right: 1.5rem;
    min-width: 0;
}

.modal-subtitle {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.15;
    color: var(--text-light);
}

/* ----------------------------------------------------------------------------
   5. KÖZÖSSÉGI MÉDIA ÉS CHAT MEGOSZTÓ GOMBOK
   ---------------------------------------------------------------------------- */
.share-section {
    background-color: rgba(18, 11, 26, 0.45);
    border: 1px solid rgba(122, 92, 158, 0.35);
    border-radius: var(--radius-md);
    padding: 1.1rem;
}

.share-heading {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.68rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    background-color: var(--bg-surface);
    border: 1px solid rgba(122, 92, 158, 0.45);
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.share-btn:hover {
    background-color: var(--accent-purple);
    border-color: var(--gold);
    color: var(--text-light);
    transform: translateY(-1px);
}

.share-copy-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.share-direct-input {
    flex: 1;
    min-width: 0;
    background-color: var(--bg-deep);
    border: 1px solid rgba(122, 92, 158, 0.4);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: inherit;
}

.btn-copy-link {
    padding: 0.5rem 0.9rem;
    background-color: var(--gold-soft);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-copy-link:hover {
    background-color: var(--gold);
    color: var(--bg-deep);
}

/* ----------------------------------------------------------------------------
   6. NAPI EVANGÉLIUM LENYITHATÓ SZEKCIÓ A MODÁLBAN
   ---------------------------------------------------------------------------- */
.gospel-accordion {
    background-color: rgba(18, 11, 26, 0.55);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gospel-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.15rem;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: background-color var(--transition-fast);
}

.gospel-summary::-webkit-details-marker {
    display: none;
}

.gospel-summary:hover {
    background-color: rgba(122, 92, 158, 0.2);
}

.gospel-summary-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--gold);
    white-space: nowrap;
}

.gospel-summary-title svg {
    flex-shrink: 0;
}

.gospel-ref-badge {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    background-color: rgba(122, 92, 158, 0.35);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.gospel-chevron {
    color: var(--gold);
    display: inline-flex;
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
}

.gospel-accordion[open] .gospel-chevron {
    transform: rotate(180deg);
}

.gospel-body {
    padding: 1.15rem 1.25rem 1.3rem;
    border-top: 1px solid rgba(191, 163, 106, 0.25);
    max-height: 290px;
    overflow-y: auto;
    animation: accordionFadeIn 0.3s ease-out;
}

.gospel-text p {
    font-family: var(--font-serif);
    font-size: 1.16rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 0.95rem;
}

.gospel-text p:last-child {
    margin-bottom: 0;
}

.gospel-reference {
    margin-top: 1rem;
    text-align: right;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gold);
    letter-spacing: 0.04em;
}

/* ============================================================================
   TOAST ÉRTESÍTÉS (ZÁRT ABLAKRA KATTINTÁSKOR)
   ============================================================================ */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    background-color: var(--bg-surface);
    border: 1.5px solid var(--gold);
    color: var(--text-light);
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 92vw;
    width: max-content;
    animation: toastSlideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast-notification[hidden] {
    display: none !important;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.toast-icon {
    color: var(--gold);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 500;
}

.toast-close {
    font-size: 1.35rem;
    line-height: 1;
    color: var(--text-muted);
    padding: 0 0.25rem;
}

.toast-close:hover {
    color: var(--gold);
}

/* ============================================================================
   MOBILOS ALULRÓL FELNYITHATÓ YOUTUBE LEJÁTSZÁSI LISTA WIDGET
   ============================================================================ */
/* Asztali gépen (860px felett) a rögzített alsó widget rejtve marad,
   ott a naptár alatti teljes banner látszik */
.mobile-playlist-widget,
.mobile-playlist-backdrop {
    display: none;
}

/* ============================================================================
   RESZPONZÍV (MOBIL ÉS TABLET) NÉZETEK
   ============================================================================ */
@media (max-width: 860px) {
    /* Helyet hagyunk az oldal alján a rögzített felnyitható widgetnek */
    .page-wrapper {
        padding-bottom: 5.5rem;
    }

    /* A naptár alatti statikus bannert elrejtjük, mert a felnyitható widget váltja ki */
    .playlist-banner {
        display: none;
    }

    /* Háttér-homályosítás, amikor a widget fel van nyitva */
    .mobile-playlist-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 940;
        background-color: rgba(18, 11, 26, 0.72);
        backdrop-filter: blur(3px);
        animation: modalFadeIn 0.25s ease-out;
    }

    .mobile-playlist-backdrop[hidden] {
        display: none !important;
    }

    /* Rögzített alsó widget konténer */
    .mobile-playlist-widget {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        background: linear-gradient(180deg, #36224c 0%, #2b1b3d 100%);
        border-top: 1.5px solid var(--gold);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.65);
        transition: box-shadow var(--transition-smooth);
    }

    /* Ha a videó modális ablak nyitva van, a widget húzódjon hátra */
    body.modal-open .mobile-playlist-widget {
        z-index: 900;
    }

    /* A widget felső füle / gombja (mindig látszik a képernyő alján) */
    .mobile-playlist-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.85rem 1.15rem;
        color: var(--text-light);
        text-align: left;
        user-select: none;
    }

    .mobile-playlist-toggle-left {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        min-width: 0;
    }

    .mobile-playlist-yt-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: var(--gold);
        color: var(--bg-deep);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(191, 163, 106, 0.35);
    }

    .mobile-playlist-toggle-label {
        font-size: 0.92rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        color: var(--text-light);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-playlist-chevron {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: rgba(18, 11, 26, 0.4);
        border: 1px solid var(--gold-border);
        color: var(--gold);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: transform var(--transition-smooth), background-color var(--transition-fast);
    }

    /* Nyitott állapotban a nyíl lefelé fordul */
    .mobile-playlist-widget.is-open .mobile-playlist-chevron {
        transform: rotate(180deg);
        background-color: var(--gold);
        color: var(--bg-deep);
    }

    /* Felnyíló fiók (drawer) animált magassággal */
    .mobile-playlist-drawer {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .mobile-playlist-widget.is-open .mobile-playlist-drawer {
        grid-template-rows: 1fr;
    }

    .mobile-playlist-drawer-inner {
        overflow: hidden;
        padding: 0 1.15rem;
        opacity: 0;
        transition: opacity 0.25s ease-out, padding 0.32s ease-out;
    }

    .mobile-playlist-widget.is-open .mobile-playlist-drawer-inner {
        padding: 0.25rem 1.15rem 1.35rem;
        border-top: 1px solid rgba(191, 163, 106, 0.22);
        opacity: 1;
    }

    .mobile-playlist-title {
        font-family: var(--font-serif);
        font-size: 1.45rem;
        line-height: 1.25;
        color: var(--gold);
        margin-top: 0.65rem;
        margin-bottom: 0.45rem;
    }

    .mobile-playlist-desc {
        font-size: 0.9rem;
        color: var(--text-light);
        line-height: 1.5;
        margin-bottom: 1.1rem;
    }

    .mobile-playlist-cta {
        width: 100%;
    }

    /* A figyelmeztető Toast üzenetet feljebb emeljük, hogy ne takarja a widget füle */
    .toast-notification {
        bottom: 4.5rem;
    }

    .intro-content-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding: 1.35rem;
    }

    .intro-video-column {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }

    .playlist-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .modal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .modal-info-col {
        padding-right: 0;
    }

    .modal-video-col {
        width: 100%;
        max-width: 420px;
    }
}

@media (max-width: 560px) {
    .page-wrapper {
        padding: 1.25rem 0.75rem 5.5rem;
    }

    .intro-summary {
        padding: 0.85rem 0.9rem;
        gap: 0.65rem;
    }

    .summary-text {
        font-size: 0.96rem;
    }

    .summary-text small {
        display: block;
        margin-left: 0;
        margin-top: 0.15rem;
        font-size: 0.84rem;
    }

    .intro-content-inner {
        padding: 1.1rem 0.95rem;
    }

    .btn-gold-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .calendar-window {
        min-height: 142px;
        padding: 0.8rem 0.75rem;
    }

    .window-badge {
        font-size: 0.58rem;
        letter-spacing: 0.02em;
        padding: 0.15rem 0.38rem;
    }

    .window-date {
        font-size: 1.35rem;
    }

    .window-weekday {
        font-size: 0.72rem;
        letter-spacing: 0.1em;
    }

    .playlist-banner {
        padding: 1.35rem 1.1rem;
    }

    .btn-gold-primary {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .modal-backdrop {
        padding: 0.5rem;
        align-items: center;
    }

    .modal-container {
        width: 100%;
        max-width: calc(100vw - 1rem);
        max-height: 94vh;
        padding: 2.75rem 0.95rem 1.15rem;
        border-radius: var(--radius-md);
    }

    .modal-close-btn {
        top: 0.6rem;
        right: 0.6rem;
        width: 36px;
        height: 36px;
    }

    .modal-video-col {
        width: 100%;
        max-width: 100%;
    }

    .share-buttons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .share-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.82rem;
    }

    /* Keskeny mobilon a "Mai evangélium" és az igehely mutató egymás alá kerüljön */
    .gospel-summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        row-gap: 0.4rem;
        column-gap: 0.65rem;
        align-items: center;
        padding: 0.85rem 1rem;
    }

    .gospel-summary-title {
        grid-column: 1;
        grid-row: 1;
    }

    .gospel-ref-badge {
        grid-column: 1;
        grid-row: 2;
        margin-left: 1.65rem; /* Pontosan a könyv ikon utáni szöveg alá igazítva */
        justify-self: start;
        white-space: normal;
    }

    .gospel-chevron {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}

@media (max-width: 360px) {
    .calendar-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
