/* Pages & features: nav dropdown, sabbath strip, events, downloads, gallery, about, giving, contact */

/* Nav "More" dropdown */
.nav-more { position: relative; }
.nav-more summary { list-style: none; cursor: pointer; color: #f3e9d6; padding: .5rem .8rem; border-radius: 8px; font-weight: 600; font-size: .95rem; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary:hover, .nav-more[open] summary, .nav-more.has-active summary { background: rgba(212,165,55,.18); color: var(--gold-light); }
.nav-more-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--brown-800); border: 1px solid rgba(212,165,55,.4); border-radius: 12px; padding: .4rem; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.nav-more-menu a { display: block; }
@media (max-width: 860px) {
  .nav-more summary { display: none; }
  .nav-more-menu, .nav-more:not([open]) > .nav-more-menu { position: static; display: flex; background: transparent; border: 0; box-shadow: none; padding: 0; min-width: 0; }
}

/* Sabbath strip */
.sabbath-strip { background: var(--brown-700); color: #f3e9d6; padding: .55rem 0; font-size: .95rem; border-bottom: 1px solid rgba(212,165,55,.3); }
.sabbath-strip.in-sabbath { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); color: var(--brown-900); }
.sabbath-strip i { color: var(--gold-light); }
.sabbath-strip.in-sabbath i { color: var(--brown-900); }
.sabbath-inner { display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; align-items: center; }
.muted-light { color: #cdb894; }
.in-sabbath .muted-light { color: var(--brown-700); }

/* Page hero */
.page-hero { background: radial-gradient(ellipse at 30% 40%, #4a2c12 0%, var(--brown-900) 75%); color: #f7eedb; padding: 2.5rem 0; border-bottom: 3px solid var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .3rem; }
.page-hero h1 i { color: var(--gold); }
.page-hero p { margin: 0; color: var(--gold-light); max-width: 70ch; }
.center { text-align: center; }
.eyebrow-dark { color: var(--gold-dark); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .82rem; margin: 0 0 .4rem; }
.prose p { margin: 0 0 1rem; }

/* Events */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
@media (max-width: 520px) { .event-grid { grid-template-columns: 1fr; } }
.event-list { display: flex; flex-direction: column; gap: 1rem; }
.event-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.event-body { min-width: 0; }
.event-card h3 { margin-bottom: .3rem; }
.event-card p { margin: .15rem 0; }
.event-date { flex-shrink: 0; width: 72px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); display: flex; flex-direction: column; }
.event-date span:first-child { background: var(--red); color: #fff; font-weight: 700; text-transform: uppercase; font-size: .8rem; padding: .15rem 0; }
.event-date b { font-size: 1.8rem; line-height: 1.1; padding-top: .2rem; font-family: var(--heading); }
.event-date span:last-child { font-size: .78rem; color: var(--muted); padding-bottom: .3rem; }
.event-desc { margin-top: .5rem; }
.event-desc p { margin: 0 0 .5rem; }
.month-title { margin: 2rem 0 1rem; font-size: 1.3rem; color: var(--gold-dark); }
.subscribe-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.subscribe-card p { margin: .2rem 0 0; }
.subscribe-card .card-actions { margin-top: 0; }
.past-events { margin-top: 2rem; }
.past-events summary { cursor: pointer; font-weight: 700; }

/* Chips & tabs */
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { padding: .4rem .95rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .9rem; cursor: pointer; font-family: inherit; }
.chip.active { background: var(--brown-800); border-color: var(--brown-800); color: #fff; }
.chip.active .muted { color: #d9cbb0; }
.tabs { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tab { padding: .6rem 1rem; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text); font-weight: 600; }
.tab.active { background: var(--gold); border-color: var(--gold); color: var(--brown-900); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }

/* Downloads */
.dl-group { margin-bottom: 2rem; }
.dl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.dl-list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; flex-wrap: wrap; }
.dl-icon { font-size: 2rem; color: var(--red); width: 2.2rem; text-align: center; }
.dl-main { flex: 1; min-width: 200px; display: flex; flex-direction: column; }
.dl-actions { display: flex; gap: .5rem; }

/* Gallery */
.gallery-grid { columns: 4 240px; column-gap: 1rem; }
.gallery-item { display: block; position: relative; margin-bottom: 1rem; break-inside: avoid; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,5,2,.94); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox figcaption { color: #f3e9d6; margin-top: .75rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--brown-900); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-nav { top: auto; bottom: 16px; transform: none; } }

/* About */
.about-logo { margin: 0; text-align: center; }
.about-logo img { max-width: 340px; width: 100%; filter: drop-shadow(0 10px 25px rgba(60,36,10,.35)); }
.about-logo figcaption { font-style: italic; color: var(--gold-dark); font-weight: 600; margin-top: .5rem; }
.belief-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: .8rem; }
.belief-list li { display: flex; gap: .8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; }
.belief-list i { color: var(--green); margin-top: .3rem; }
.leader-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.leader { text-align: center; }
.leader img, .leader-ph { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); margin: 0 auto .8rem; display: block; }
.leader-ph { display: grid; place-items: center; background: var(--brown-800); color: var(--gold-light); font-family: var(--heading); font-size: 3rem; }
.leader h3 { margin-bottom: .1rem; }
.leader-role { color: var(--gold-dark); font-weight: 700; margin: 0 0 .5rem; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-row h2 { margin-bottom: .2rem; }
.cta-row p { margin: 0; }

/* Giving */
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1rem; margin: 1.5rem 0; }
.account { border-top: 5px solid var(--gold); }
.account h3 i { color: var(--gold-dark); }
.account dl { margin: 0; }
.account dl div { display: flex; flex-direction: column; padding: .45rem 0; border-bottom: 1px dashed var(--border); }
.account dt { font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.account dd { margin: 0; display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.give-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; text-align: center; }
.give-ways div { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.give-ways i { font-size: 1.6rem; color: var(--gold-dark); margin-bottom: .3rem; }

/* Contact */
.contact-side p { display: flex; gap: .6rem; }
.contact-side p i { color: var(--gold-dark); margin-top: .3rem; }
