/*
Theme Name: Kálvintéri Református
Theme URI: https://kalvinteriref.hu
Author: Kálvintéri Református Egyházközség
Author URI: https://kalvinteriref.hu
Description: Egyedi arculat a Kálvintéri Református Egyházközség weboldalához. Letisztult, misszionális szemléletű design kék-arany színvilággal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kalvinteriref
Tags: church, religion, community, one-column, two-columns, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, translation-ready
*/

/* ─────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────────── */
:root {
  --ink:         #1a1a2e;
  --ink-soft:    #3a3a5c;
  --cream:       #f7f3ec;
  --cream-dark:  #ede7da;
  --gold:        #b8922a;
  --gold-light:  #d4a84b;
  --blue-deep:   #1e3a5f;
  --blue-mid:    #2d5282;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(30,58,95,0.08);
  --shadow-md:   0 8px 32px rgba(30,58,95,0.12);
  --shadow-lg:   0 24px 64px rgba(30,58,95,0.18);
  --radius:      0px;
  --transition:  0.25s ease;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;
  --max-width:   1200px;
  --nav-height:  72px;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--blue-deep); }

ul, ol { list-style: none; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  color: var(--blue-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; }

p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
p:last-child { margin-bottom: 0; }

blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: var(--blue-deep);
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
}

/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--blue-deep);
  color: var(--white);
}

.section--white {
  background: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--cream-dark {
  background: var(--cream-dark);
}

.section__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.section__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 2.5rem;
}

.section__divider--center {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

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

.btn--dark {
  background: var(--blue-deep);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--outline-dark {
  background: transparent;
  color: var(--blue-deep);
  border: 1px solid var(--blue-deep);
}
.btn--outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(247,243,236,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184,146,42,0.18);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-logo__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.site-logo__text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.1rem;
}

/* Primary Navigation */
.primary-nav { display: flex; align-items: center; gap: 0; }

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.primary-nav__item { position: relative; }

.primary-nav__link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--transition);
}
.primary-nav__link:hover,
.primary-nav__item.current-menu-item > .primary-nav__link {
  color: var(--gold);
}

/* Dropdown */
.primary-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.primary-nav__item:hover .primary-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-nav__dropdown li a {
  display: block;
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--cream-dark);
}
.primary-nav__dropdown li:last-child a { border-bottom: none; }
.primary-nav__dropdown li a:hover { color: var(--gold); background: var(--cream); }

.nav-cta {
  margin-left: 1rem;
  background: var(--blue-deep);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-deep);
  transition: all 0.3s ease;
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  margin-top: var(--nav-height);
}

.hero__left {
  background: var(--blue-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 6rem;
  overflow: hidden;
}

.hero__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__body {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.68);
  max-width: 440px;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero__stat {}
.hero__stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.25rem;
}
.hero__stat-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
}

.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,58,95,0.3), transparent);
}

/* ─────────────────────────────────────────────
   INTRO STRIP
───────────────────────────────────────────── */
.intro-strip {
  background: var(--gold);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.intro-strip__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}
.intro-strip__icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
  flex-shrink: 0;
}
.intro-strip__text {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.intro-strip__divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.3);
}

/* ─────────────────────────────────────────────
   FIRST VISITOR SECTION
───────────────────────────────────────────── */
.first-visitor { position: relative; }
.first-visitor::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-deep), var(--gold), var(--blue-deep));
}

.welcome-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 4rem;
  text-align: center;
}

/* Expect Cards */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 0;
}

.expect-card {
  padding: 2.8rem 2.2rem;
  background: var(--cream);
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}
.expect-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.expect-card:hover { background: var(--cream-dark); }
.expect-card:hover::before { transform: scaleX(1); }

.expect-card__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  transition: color 0.3s;
}
.expect-card:hover .expect-card__num { color: rgba(184,146,42,0.12); }

.expect-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.8rem;
}

.expect-card__body {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

/* ─────────────────────────────────────────────
   SERVICE TIMES BAR
───────────────────────────────────────────── */
.service-bar {
  background: var(--blue-deep);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-bar__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  flex-shrink: 0;
}

.service-times {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.service-time {}
.service-time__day {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.2rem;
}
.service-time__hour {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}
.service-time__note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
}

/* ─────────────────────────────────────────────
   PASTOR SECTION
───────────────────────────────────────────── */
.pastor-section {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: center;
}

.pastor-photo {
  position: relative;
}
.pastor-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.pastor-photo__placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}
.pastor-photo__frame {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  border: 2px solid var(--gold);
  z-index: -1;
}

.pastor-content__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: block;
}
.pastor-content__quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--blue-deep);
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
  margin-bottom: 2rem;
}
.pastor-content__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.pastor-content__role {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ─────────────────────────────────────────────
   FAQ SECTION
───────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.faq-item {
  padding: 1.8rem 2rem;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.faq-item__question {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}
.faq-item__answer {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
}

/* ─────────────────────────────────────────────
   CONTACT STRIP
───────────────────────────────────────────── */
.contact-strip {
  background: var(--cream-dark);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-strip__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
}
.contact-strip__sub {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ─────────────────────────────────────────────
   POSTS GRID (Blog / Hírek)
───────────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.post-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.post-card__thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card__thumbnail img { transform: scale(1.04); }

.post-card__body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__meta {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.post-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.post-card__excerpt {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}
.post-card__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.post-card__link:hover { color: var(--gold); }
.post-card__link::after { content: '→'; transition: transform 0.2s; }
.post-card:hover .post-card__link::after { transform: translateX(4px); }

/* ─────────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────────── */
.single-post-header {
  background: var(--blue-deep);
  padding: 7rem 0 5rem;
  text-align: center;
}
.single-post-header .post-meta {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.single-post-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.2;
}

.post-content {
  padding: 5rem 0;
  max-width: 720px;
  margin: 0 auto;
}
.post-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}
.post-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
}
.post-content p { margin-bottom: 1.4rem; }
.post-content ul, .post-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.post-content li {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.post-content img {
  width: 100%;
  margin: 2rem 0;
}

/* ─────────────────────────────────────────────
   PAGE TEMPLATES
───────────────────────────────────────────── */
.page-hero {
  background: var(--blue-deep);
  padding: 7rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero h1 {
  color: var(--white);
  max-width: 680px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding: 5rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {}
.footer-brand__logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
  text-decoration: none;
}
.footer-brand__logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}
.footer-brand__desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-widget__title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
}
.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 0.6rem; }
.footer-widget ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-widget ul li a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.8rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer__copyright {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}
.site-footer__credit {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ─────────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────────── */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

.widget {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
}
.widget-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 1.2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
}

/* ─────────────────────────────────────────────
   FORMS
───────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 0;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ─────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border: 1px solid var(--cream-dark);
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a:hover,
.pagination .current {
  background: var(--blue-deep);
  color: var(--white);
  border-color: var(--blue-deep);
}

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .hero__left { padding: 5rem 2rem 4rem; }
  .expect-grid { grid-template-columns: 1fr; gap: 1px; }
  .pastor-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }

  .primary-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  .primary-nav.mobile-open .primary-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .primary-nav.mobile-open .primary-nav__link {
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cream-dark);
    width: 100%;
    letter-spacing: 0.05em;
  }
  .primary-nav.mobile-open .nav-cta {
    margin: 1.5rem 0 0;
    text-align: center;
    padding: 1rem;
    width: 100%;
    background: var(--blue-deep);
  }

  .service-bar { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .contact-strip { padding: 2.5rem 1.5rem; flex-direction: column; }
  .faq-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .section { padding: 4rem 0; }
  .intro-strip { gap: 1rem; justify-content: flex-start; flex-direction: column; padding: 1.5rem; }
  .intro-strip__divider { display: none; }

/* ═══════════════════════════════════════════════
   v1.4 FINAL – CONSOLIDATED
═══════════════════════════════════════════════ */
:root {
  --blue:       #1e3a5f;
  --blue-m:     #2d5282;
  --gold-l:     #d4a84b;
  --nav-height: 84px;
  --topbar-h:   42px;
}

/* ── TOPBAR: fixed, always visible in WordPress ── */
.top-bar {
  background: #1e3a5f;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1002;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 0 1.1rem;
  height: 100%;
  transition: color .2s, background .2s;
}
.top-bar__item:hover { color: #fff; background: rgba(255,255,255,.05); }
.top-bar__icon { opacity: .75; }
.top-bar__item--cta {
  color: #d4a84b;
  border-left: 1px solid rgba(255,255,255,.12);
  font-weight: 500;
}
.top-bar__item--cta:hover { background: rgba(184,146,42,.1); }
.top-bar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.12); flex-shrink: 0; }

/* ── HEADER: fixed below topbar ── */
.site-header {
  position: fixed !important;
  top: var(--topbar-h) !important;
  left: 0; right: 0;
  height: var(--nav-height) !important;
}

/* Body offset for fixed bars */
body {
  padding-top: calc(var(--topbar-h) + var(--nav-height)) !important;
}

/* WordPress admin bar offsets */
.admin-bar .top-bar { top: 32px; }
.admin-bar .site-header { top: calc(32px + var(--topbar-h)) !important; }
.admin-bar body, body.admin-bar { padding-top: calc(32px + var(--topbar-h) + var(--nav-height)) !important; }
@media screen and (max-width: 782px) {
  .admin-bar .top-bar { top: 46px; }
  .admin-bar .site-header { top: calc(46px + var(--topbar-h)) !important; }
}

/* ── LOGO ── */
.site-logo__img { height: 66px; width: auto; display: block; max-width: 300px; }

/* ── HERO PLACEHOLDER ── */
.hero__right-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg,#2d5282 0%,#1a1a2e 60%,#0d1b2e 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero__right-placeholder-text { color: rgba(255,255,255,.25); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin: 0; }

/* ══ SERVICE SECTION — FULL WIDTH BLUE BLOCK ══
   IMPORTANT: must override parent white background */
.service-section,
div.service-section {
  background: #1e3a5f !important;
  color: #fff;
  padding: 3.5rem 0;
  width: 100%;
  display: block;
  clear: both;
  /* Pull out of any parent padding */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
.service-section .container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.service-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.service-section__title { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 300; color: #fff; margin: 0; }
.service-block { margin-bottom: 2.8rem; padding-bottom: 2.8rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.service-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block__title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 400;
  color: #d4a84b; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.6rem; display: flex; align-items: center; gap: .65rem;
}
.service-block__title::before { content: ''; width: 20px; height: 1px; background: #b8922a; flex-shrink: 0; }
.service-times { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.service-time {}
.service-time__day { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 3px; }
.service-time__hour { font-family: var(--font-serif); font-size: 1.4rem; color: #fff; line-height: 1.2; }
.service-time__note { font-size: .65rem; color: rgba(255,255,255,.42); margin-top: 2px; }
.service-extra-btns {
  display: flex; gap: .85rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.service-section .btn--primary,
.service-section .btn--dark { background: var(--gold); color: #fff; }
.service-section .btn--primary:hover,
.service-section .btn--dark:hover { background: var(--gold-light); }
.service-section .btn--outline-dark,
.service-extra-btns .btn--outline-dark {
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.78);
}
.service-section .btn--outline-dark:hover,
.service-extra-btns .btn--outline-dark:hover {
  border-color: var(--gold-light); color: var(--gold-light);
}

/* ── PASTOR ── */
.pastor-photo { position: relative; }
.pastor-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.pastor-photo__placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(155deg,#2d5282,#1e3a5f);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.pastor-photo__frame {
  position: absolute; bottom: -1rem; right: -1rem;
  width: calc(100% - .5rem); height: calc(100% - .5rem);
  border: 2px solid var(--gold); z-index: -1;
}
.pastor-content__eyebrow { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1.2rem; }
.pastor-content__quote { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 300; font-style: italic; line-height: 1.75; color: var(--blue-deep); padding-left: 1.5rem; border-left: 3px solid var(--gold); margin-bottom: 1.5rem; }
.pastor-content__name { font-size: .88rem; font-weight: 500; color: var(--ink); margin-bottom: 3px; }
.pastor-content__role { font-size: .75rem; color: var(--ink-soft); }
.pastor-btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; align-items: flex-start; }
.pastor-btns .btn { flex-shrink: 0; }

/* ── FAQ items — cream background ── */
.faq-item {
  padding: 1.9rem 2.1rem;
  background: var(--cream) !important;
  border: 1px solid var(--cream-dark);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.faq-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(30,58,95,.07); transform: translateY(-2px); }
.faq-item__question { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--blue-deep); margin-bottom: .6rem; }
.faq-item__answer { font-size: .83rem; font-weight: 300; line-height: 1.8; color: var(--ink-soft); margin: 0; flex: 1; }
.faq-item__link { display: inline-block; margin-top: .9rem; font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); text-decoration: none; transition: color .2s; }
.faq-item__link:hover { color: var(--gold); }

/* ── Services note + kiadványok ── */
.services-note { font-size: .88rem; color: var(--ink-soft); text-align: center; padding: 1.2rem 0; border-top: 1px solid var(--cream-dark); margin-top: 1rem; }
.services-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.services-note a:hover { color: var(--blue-deep); }
.kiadványok-section { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--cream-dark); }

/* ── Contact strip ── */
.contact-strip { background: var(--cream-dark); padding: 3.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-top: 4rem; }
.contact-strip__title { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 300; color: var(--blue-deep); margin-bottom: .4rem; }
.contact-strip__sub { font-size: .85rem; color: var(--ink-soft); margin: 0; }

/* ── Google Maps embed ── */
.map-embed { width: 100%; aspect-ratio: 4/3; border: none; display: block; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .service-section__header { flex-direction: column; align-items: flex-start; }
  .service-extra-btns, .pastor-btns { flex-direction: column; align-items: flex-start; }
  .contact-strip { padding: 2.5rem 1.5rem; flex-direction: column; }
  /* Service section negative margin reset on small screens */
  .service-section {
    margin-left: 0; margin-right: 0;
    padding-left: 0; padding-right: 0;
  }
}
@media (max-width: 768px) {
  :root { --nav-height: 70px; }
  .site-logo__img { height: 50px; }
  .top-bar__inner { flex-direction: column; height: auto; padding: .4rem 1rem; }
  .top-bar__item { padding: .35rem .8rem; height: auto; width: 100%; justify-content: center; }
  .top-bar__sep { width: 80%; height: 1px; }
  .top-bar__item--cta { border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
  :root { --topbar-h: 110px; }
}
@media (max-width: 480px) {
  .top-bar { display: none; }
  :root { --topbar-h: 0px; }
  body { padding-top: var(--nav-height) !important; }
  .site-header { top: 0 !important; }
}
