/*
Theme Name: Prawosławie
Theme URI: https://prawoslawie.pl
Description: Motyw Parafii Prawosławnej św. Jana Klimaka na Woli w Warszawie
Author: SkyGroup
Author URI: https://skygroup.pl
Version: 1.0.0
Text Domain: prawoslawie
*/

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --background: 37 33% 97%;
  --foreground: 0 0% 18%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 18%;
  --primary: 330 45% 30%;
  --primary-foreground: 37 33% 97%;
  --secondary: 37 20% 93%;
  --secondary-foreground: 0 0% 18%;
  --muted: 37 20% 93%;
  --muted-foreground: 0 0% 45%;
  --accent: 43 52% 54%;
  --accent-foreground: 240 33% 14%;
  --burgundy: 240 33% 14%;
  --burgundy-foreground: 37 33% 97%;
  --border: 37 15% 88%;
  --input: 37 15% 88%;
  --ring: 43 52% 54%;
  --radius: 0.375rem;
}

.dark {
  --background: 240 20% 10%;
  --foreground: 37 33% 90%;
  --card: 240 20% 13%;
  --card-foreground: 37 33% 90%;
  --primary: 330 45% 35%;
  --primary-foreground: 37 33% 95%;
  --secondary: 240 15% 18%;
  --secondary-foreground: 37 33% 90%;
  --muted: 240 15% 18%;
  --muted-foreground: 37 15% 60%;
  --accent: 43 52% 54%;
  --accent-foreground: 240 20% 10%;
  --burgundy: 230 30% 60%;
  --burgundy-foreground: 37 33% 95%;
  --border: 240 15% 20%;
  --input: 240 15% 20%;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.a11y-font-1 body { font-size: 1.125rem; }
html.a11y-font-2 body { font-size: 1.25rem; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ===== UTILITY CLASSES ===== */
.gold-line { height: 1px; background: hsl(var(--accent)); max-width: 120px; margin: 0 auto; }
.gold-line--full { max-width: none; }

.byzantine-border {
  background-image: repeating-linear-gradient(90deg, hsl(var(--accent)) 0px, hsl(var(--accent)) 8px, transparent 8px, transparent 16px);
  height: 2px;
}

.gold-link { color: hsl(var(--accent)); font-weight: 500; transition: opacity 0.2s; }
.gold-link:hover { opacity: 0.75; }

.text-burgundy { color: hsl(var(--burgundy)); }
.text-accent { color: hsl(var(--accent)); }
.text-muted { color: hsl(var(--muted-foreground)); }
.bg-primary { background: hsl(var(--primary)); }
.bg-card { background: hsl(var(--card)); }
.bg-secondary { background: hsl(var(--secondary)); }
.bg-background { background: hsl(var(--background)); }
.text-primary-fg { color: hsl(var(--primary-foreground)); }

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== TOP BAR ===== */
.top-bar { background: hsl(var(--primary)); }
.top-bar__inner { display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; padding: 0.375rem 0; font-size: 0.75rem; color: hsl(var(--accent)); }
.top-bar a, .top-bar button { color: hsl(var(--accent)); background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 0.25rem; transition: opacity 0.2s; font-size: inherit; }
.top-bar a:hover, .top-bar button:hover { opacity: 0.75; }
.top-bar svg { width: 0.875rem; height: 0.875rem; }

/* ===== HEADER NAV ===== */
.header-nav { background: hsl(var(--card)); border-bottom: 1px solid hsl(var(--border)); }
.header-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }

.header-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.header-logo svg { width: 2.5rem; height: 1.5rem; color: hsl(var(--accent)); }
.header-logo__text { font-size: 0.875rem; font-family: 'Playfair Display', serif; font-weight: 600; color: hsl(var(--foreground)); line-height: 1.3; }
.header-logo__sub { font-family: 'Inter', sans-serif; font-weight: 400; color: hsl(var(--muted-foreground)); font-size: 0.75rem; }

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; }
.nav-desktop > li { position: relative; }
.nav-desktop > li > a { display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; color: hsl(var(--foreground)); transition: color 0.2s; }
.nav-desktop > li > a:hover { color: hsl(var(--accent)); }
.nav-desktop > li > a svg { width: 0.75rem; height: 0.75rem; }

/* Dropdown (WP sub-menu) */
.nav-desktop .sub-menu { position: absolute; left: 0; top: 100%; background: hsl(var(--card)); box-shadow: 0 10px 30px rgba(0,0,0,0.1); min-width: 220px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); display: none; z-index: 50; padding: 0.25rem 0; }
.nav-desktop > li:hover > .sub-menu { display: block; }
.nav-desktop .sub-menu li { list-style: none; }
.nav-desktop .sub-menu a { display: block; padding: 0.625rem 1rem; font-size: 0.875rem; color: hsl(var(--foreground)); transition: color 0.2s, background 0.2s; }
.nav-desktop .sub-menu a:hover { color: hsl(var(--accent)); background: hsl(var(--muted)); }

/* Chevron icon for parent items */
.nav-desktop > .menu-item-has-children > a::after { content: ''; display: inline-block; width: 0.5rem; height: 0.5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-left: 0.35rem; margin-bottom: 0.15rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 2.5rem; height: 2.5rem; padding: 0.5rem; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 100%; height: 2px; background: hsl(var(--foreground)); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile { display: none; border-top: 1px solid hsl(var(--border)); }
.nav-mobile.open { display: block; }
.nav-mobile li { list-style: none; }
.nav-mobile > ul > li > a { display: block; padding: 0.75rem 1.5rem; font-size: 0.875rem; color: hsl(var(--foreground)); transition: color 0.2s; }
.nav-mobile a:hover { color: hsl(var(--accent)); }
.nav-mobile .sub-menu { padding: 0; }
.nav-mobile .sub-menu a { display: block; padding: 0.5rem 1.5rem 0.5rem 2.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Search bar */
.search-bar { display: none; background: hsl(var(--primary)); border-top: 1px solid hsla(var(--accent), 0.2); }
.search-bar.open { display: block; }
.search-bar__inner { padding: 0.75rem 0; }
.search-bar input { width: 100%; background: hsl(var(--card)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0.75rem 1rem 0.75rem 2.5rem; font-size: 1rem; }
.search-bar input:focus { outline: none; border-color: hsl(var(--accent)); }

/* Sticky header */
.site-header { position: sticky; top: 0; z-index: 50; }

/* ===== HERO SLIDER ===== */
.hero { position: relative; height: 50vh; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: hsl(var(--primary) / 0.6); }
.hero__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1rem; }
.hero__title { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 5vw, 3.75rem); color: hsl(var(--primary-foreground)); font-weight: 600; line-height: 1.15; max-width: 48rem; white-space: pre-line; }
.hero__line { margin-top: 1.5rem; }

.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); background: hsla(var(--primary), 0.4); color: hsl(var(--primary-foreground)); border: none; border-radius: 50%; padding: 0.5rem; cursor: pointer; transition: background 0.2s; z-index: 2; }
.hero__arrow:hover { background: hsla(var(--primary), 0.6); }
.hero__arrow--prev { left: 1rem; }
.hero__arrow--next { right: 1rem; }
.hero__arrow svg { width: 1.5rem; height: 1.5rem; }

.hero__dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 2; }
.hero__dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; border: none; cursor: pointer; transition: background 0.2s; }
.hero__dot.active { background: hsl(var(--accent)); }
.hero__dot:not(.active) { background: hsla(var(--primary-foreground), 0.4); }

/* ===== MAIN LAYOUT ===== */
.main-layout { display: flex; flex-direction: column; }
.main-content { padding: 2.5rem 0 3.5rem; }
.main-grid { display: flex; gap: 2.5rem; }
.main-grid__content { flex: 1; min-width: 0; }
.main-grid__sidebar { width: 18rem; flex-shrink: 0; }
.main-grid__sidebar .sidebar-sticky { position: sticky; top: 10rem; }

/* ===== SERVICES CARD ===== */
.services-card { background: hsl(var(--card)); border-radius: var(--radius); box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid hsla(var(--accent), 0.2); overflow: hidden; }
.services-card__header { background: hsl(var(--primary)); padding: 0.75rem 1.25rem; }
.services-card__header h3 { font-size: 1.125rem; color: hsl(var(--accent)); margin: 0; }
.services-card__body { padding: 1.25rem; }
.services-card__item { margin-bottom: 1rem; }
.services-card__item:last-child { margin-bottom: 0; }
.services-card__item p:first-child { font-weight: 600; color: hsl(var(--foreground)); font-size: 0.875rem; }
.services-card__item p:not(:first-child) { color: hsl(var(--muted-foreground)); font-size: 0.875rem; }
.services-card__divider { margin: 1rem 0; }

/* ===== NEWS SECTION ===== */
.news-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.news-header h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); color: hsl(var(--burgundy)); white-space: nowrap; }
.news-header .gold-line { flex: 1; max-width: none; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card { background: hsl(var(--card)); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid hsl(var(--border)); overflow: hidden; transition: box-shadow 0.2s; }
.news-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.news-card img { width: 100%; height: 12rem; object-fit: cover; }
.news-card__body { padding: 1.25rem; }
.news-card__date { font-size: 0.75rem; font-weight: 500; color: hsl(var(--burgundy)); }
.news-card__title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; margin: 0.25rem 0 0.5rem; line-height: 1.3; color: hsl(var(--foreground)); }
.news-card__excerpt { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.news-card__link { margin-top: 0.75rem; display: inline-block; font-size: 0.875rem; }

.news-more { text-align: center; margin-top: 2.5rem; }
.news-more a { display: inline-block; padding: 0.625rem 1.5rem; border: 1px solid hsl(var(--accent)); color: hsl(var(--accent)); border-radius: var(--radius); font-size: 0.875rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.news-more a:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

/* ===== QUOTE SECTION ===== */
.quote-section { background: hsl(var(--secondary)); padding: 4rem 0 5rem; }
.quote-section__inner { max-width: 48rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
.quote-section__mark { font-size: 5rem; font-family: 'Cormorant Garamond', serif; color: hsl(var(--accent)); line-height: 1; user-select: none; }
.quote-section blockquote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.375rem; color: hsl(var(--foreground)); line-height: 1.6; margin-top: -1.5rem; }
.quote-section__author { margin-top: 1.5rem; font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: hsl(var(--accent)); font-weight: 500; }

/* ===== GOSPEL SECTION ===== */
.gospel-section { padding: 3.5rem 0; }
.gospel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.gospel-grid h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); color: hsl(var(--burgundy)); margin-bottom: 0.5rem; }
.gospel-grid__subtitle { font-family: 'Playfair Display', serif; font-size: 1rem; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
.gospel-grid__ref { font-size: 0.875rem; font-style: italic; color: hsl(var(--burgundy)); }
.gospel-grid__text { border-left: 2px solid hsl(var(--burgundy)); padding-left: 1.5rem; }
.gospel-grid__text p { color: hsl(var(--foreground)); line-height: 1.7; margin-bottom: 1rem; font-size: 0.9375rem; }

/* ===== PROLOG SECTION ===== */
.prolog-section { padding-bottom: 3.5rem; }
.prolog-card { border-left: 4px solid hsl(var(--primary)); background: hsl(var(--card)); padding: 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.prolog-card h3 { font-size: 1.125rem; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
.prolog-card time { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.prolog-card p { margin-top: 0.75rem; font-size: 0.875rem; color: hsl(var(--foreground)); line-height: 1.7; }

/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widgets { display: flex; flex-direction: column; gap: 1rem; }
.widget-card { display: flex; align-items: flex-start; gap: 0.75rem; background: hsl(var(--card)); border-radius: var(--radius); padding: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid hsl(var(--border)); transition: border-color 0.2s; }
.widget-card:hover { border-color: hsla(var(--accent), 0.4); }
.widget-card--accent { border-color: hsla(var(--accent), 0.3); }
.widget-card svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.125rem; }
.widget-card h4 { font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground)); font-family: 'Inter', sans-serif; }
.widget-card p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-top: 0.125rem; }

.widget-info { background: hsl(var(--card)); border-radius: var(--radius); padding: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid hsla(var(--accent), 0.3); }
.widget-info h4 { font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
.widget-info p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

.widget-newsletter { background: hsl(var(--card)); border-radius: var(--radius); padding: 1rem; box-shadow: 0 2px 8px rgba(0,0,0,0.05); border: 1px solid hsl(var(--border)); }
.widget-newsletter h4 { font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
.widget-newsletter p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; }
.widget-newsletter form { display: flex; gap: 0.5rem; }
.widget-newsletter input { flex: 1; min-width: 0; background: hsl(var(--background)); border: 1px solid hsl(var(--input)); border-radius: var(--radius); font-size: 0.75rem; padding: 0.5rem 0.75rem; color: hsl(var(--foreground)); }
.widget-newsletter input:focus { outline: none; border-color: hsl(var(--accent)); }
.widget-newsletter button { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border: none; border-radius: var(--radius); padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: opacity 0.2s; display: flex; align-items: center; gap: 0.25rem; }
.widget-newsletter button:hover { opacity: 0.9; }

.widget-stowarzyszenie { background: hsl(var(--primary)); border-radius: var(--radius); padding: 1rem; text-align: center; }
.widget-stowarzyszenie p:first-child { font-size: 0.75rem; color: hsl(var(--accent)); font-weight: 500; }
.widget-stowarzyszenie p:last-child { font-size: 0.875rem; color: hsl(var(--primary-foreground)); font-family: 'Playfair Display', serif; margin-top: 0.25rem; }

/* ===== SPONSORS SECTION ===== */
.sponsors-section { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); padding: 3rem 0; }
.sponsors-section h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); color: hsl(var(--burgundy)); text-align: center; margin-bottom: 0.75rem; }
.sponsors-section > .container > p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); text-align: center; max-width: 42rem; margin: 0 auto 2rem; }
.sponsors-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }
.sponsor-item { display: flex; align-items: center; justify-content: center; width: 9rem; height: 5rem; background: hsl(var(--background)); border-radius: var(--radius); border: 1px solid hsl(var(--border)); font-size: 0.75rem; color: hsl(var(--muted-foreground)); font-weight: 500; text-align: center; padding: 0.5rem; }
.sponsor-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== PASTORAL BAND ===== */
.pastoral-band { background: hsl(var(--primary)); padding: 3rem 0; text-align: center; }
.pastoral-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.125rem, 2.5vw, 1.5rem); color: hsl(var(--primary-foreground)); margin-bottom: 1rem; }
.pastoral-band__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.pastoral-band__links a { display: flex; align-items: center; gap: 0.5rem; color: hsl(var(--accent)); font-size: 1.125rem; transition: opacity 0.2s; }
.pastoral-band__links a:hover { opacity: 0.75; }
.pastoral-band__links svg { width: 1.25rem; height: 1.25rem; }

/* ===== FOOTER ===== */
.site-footer { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 3rem 0; font-size: 0.875rem; }
.footer-grid h4 { font-family: 'Playfair Display', serif; color: hsl(var(--accent)); margin-bottom: 0.75rem; }
.footer-grid p { line-height: 1.7; }
.footer-muted { color: hsla(var(--primary-foreground), 0.7); }
.footer-grid ul { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-grid ul a { color: hsla(var(--primary-foreground), 0.7); transition: color 0.2s; }
.footer-grid ul a:hover { color: hsl(var(--accent)); }

.footer-bottom { border-top: 1px solid hsla(var(--accent), 0.2); padding: 1.5rem 0; text-align: center; font-size: 0.75rem; color: hsla(var(--primary-foreground), 0.6); }
.footer-bottom svg { width: 2rem; height: 1.25rem; color: hsl(var(--accent)); margin: 0 auto 0.75rem; }
.footer-bottom span { color: hsl(var(--accent)); }

/* ===== SINGLE POST ===== */
.single-post { padding: 3rem 0; }
.single-post__header { margin-bottom: 2rem; }
.single-post__date { font-size: 0.875rem; color: hsl(var(--burgundy)); font-weight: 500; }
.single-post__title { font-size: clamp(1.5rem, 4vw, 2.25rem); color: hsl(var(--foreground)); margin: 0.5rem 0; }
.single-post__image { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 2rem; }
.single-post__content { font-size: 1rem; line-height: 1.8; color: hsl(var(--foreground)); }
.single-post__content p { margin-bottom: 1.25rem; }
.single-post__back { margin-top: 2rem; }

/* ===== ARCHIVE ===== */
.archive-header { padding: 2rem 0; }
.archive-header h1 { font-size: 2rem; color: hsl(var(--burgundy)); }

/* ===== CONTACT PAGE ===== */
.contact-page { padding: 3rem 0; }
.contact-page h1 { font-size: 2rem; color: hsl(var(--burgundy)); margin-bottom: 1.5rem; }
.contact-page .wpcf7 input[type="text"],
.contact-page .wpcf7 input[type="email"],
.contact-page .wpcf7 textarea { width: 100%; padding: 0.75rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.9375rem; background: hsl(var(--card)); color: hsl(var(--foreground)); }
.contact-page .wpcf7 input[type="submit"] { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border: none; padding: 0.75rem 2rem; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: opacity 0.2s; }
.contact-page .wpcf7 input[type="submit"]:hover { opacity: 0.9; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .main-grid__sidebar { display: none; }
  .services-mobile { display: block; padding: 2rem 0; }
  .sidebar-mobile { display: block; padding: 0 0 2.5rem; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

@media (min-width: 1025px) {
  .services-mobile, .sidebar-mobile { display: none; }
  .hero { height: 65vh; }
}

@media (max-width: 768px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .gospel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pastoral-band__links { flex-direction: column; }
  .sponsors-grid { gap: 1rem; }
  .quote-section blockquote { font-size: 1.125rem; }
  .quote-section__mark { font-size: 4rem; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .top-bar__inner { gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
  .header-logo__text { font-size: 0.8125rem; }
  .hero { height: 40vh; }
}

/* ===== WORDPRESS SPECIFIC ===== */
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.75rem; color: hsl(var(--muted-foreground)); padding: 0.25rem 0; }
