/* ============================================
   FarnostCRM - Parish Website Theme
   Modern, clean, gold/warm color scheme
   ============================================ */

:root {
    --gold: #b8860b;
    --gold-light: #d4a843;
    --gold-dark: #8B6914;
    --gold-bg: #fdf6e3;
    --gold-bg-alt: #f8f0d8;
    --dark: #1a1a2e;
    --dark-soft: #2d2d44;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-warm: #fefcf7;
    --border: #e8e0d0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.7; background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--dark); line-height: 1.3; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- Top Bar ---- */
.top-bar { background: var(--dark); color: #ccc; font-size: 0.85rem; padding: 6px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ccc; margin-right: 16px; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-right a { margin: 0 6px; font-size: 1rem; }

/* ---- Navigation ---- */
.main-nav { background: var(--bg); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.nav-logo i { color: var(--gold); font-size: 1.5rem; }
.nav-menu { display: flex; list-style: none; gap: 4px; }
.nav-menu > li > a { display: block; padding: 8px 14px; color: var(--text); font-weight: 500; font-size: 0.95rem; border-radius: var(--radius); transition: all var(--transition); }
.nav-menu > li > a:hover, .nav-menu > li.active > a { color: var(--gold-dark); background: var(--gold-bg); }
.nav-menu > li > a i.fa-chevron-down { font-size: 0.65rem; margin-left: 4px; opacity: 0.5; }
.has-submenu { position: relative; }
.submenu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg); box-shadow: var(--shadow-lg); border-radius: var(--radius); list-style: none; min-width: 220px; padding: 8px 0; z-index: 100; }
.has-submenu:hover .submenu { display: block; }
.submenu li a { display: block; padding: 8px 20px; color: var(--text); font-size: 0.9rem; }
.submenu li a:hover { background: var(--gold-bg); color: var(--gold-dark); }
.submenu-divider { border-top: 1px solid var(--border); margin: 4px 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: var(--transition); }

/* ---- Hero Slider ---- */
.hero-slider { position: relative; height: 500px; overflow: hidden; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--dark) 80%, transparent) 0%, color-mix(in srgb, var(--dark) 30%, transparent) 100%); display: flex; align-items: center; }
.slide-overlay h1 { color: #fff; font-size: 3rem; margin-bottom: 12px; }
.slide-overlay p { color: rgba(255,255,255,0.85); font-size: 1.2rem; margin-bottom: 24px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border: none; color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: var(--transition); z-index: 10; }
.slider-btn:hover { background: var(--gold); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--gold); transform: scale(1.2); }

/* ---- Buttons ---- */
.btn { display: inline-block; padding: 10px 24px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; text-align: center; }
.btn-primary { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold-dark); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ---- Quick Access ---- */
.quick-access { background: var(--dark); padding: 0; transform: translateY(-30px); margin-bottom: -30px; position: relative; z-index: 5; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 500; transition: all var(--transition); border-right: 1px solid rgba(255,255,255,0.1); }
.quick-item:last-child { border-right: none; }
.quick-item i { font-size: 1.5rem; color: var(--gold-light); }
.quick-item:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ---- Page Hero ---- */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%); color: #fff; padding: 60px 0 40px; text-align: center; }
.page-hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 8px; }
.page-hero h1 i { color: var(--gold-light); margin-right: 10px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.page-hero-sm { padding: 30px 0 20px; text-align: left; }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.9); }

/* ---- Main Content ---- */
.main-content { padding: 50px 0 60px; }
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.content-main { min-width: 0; }

/* ---- Section Blocks ---- */
.section-block { margin-bottom: 48px; }
.section-title { font-size: 1.5rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--gold-bg); }
.section-title i { color: var(--gold); margin-right: 8px; }

/* ---- Blog Cards ---- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 24px; }
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blog-card { background: var(--bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-image { height: 180px; background-size: cover; background-position: center; background-color: var(--gold-bg); }
.blog-card-body { padding: 20px; }
.blog-card-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card-body h3 a { color: var(--dark); }
.blog-card-body h3 a:hover { color: var(--gold); }
.blog-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 12px; }
.read-more { font-weight: 600; font-size: 0.9rem; color: var(--gold-dark); }

/* ---- Event Cards ---- */
.event-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius); background: var(--bg-warm); margin-bottom: 12px; transition: var(--transition); }
.event-card:hover { background: var(--gold-bg); }
.event-date-badge { flex-shrink: 0; width: 60px; height: 60px; background: var(--gold); color: #fff; border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date-badge .day { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.event-date-badge .month { font-size: 0.8rem; }
.event-info h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 4px; }
.event-info p { font-size: 0.85rem; color: var(--text-light); }
.event-type-badge { display: inline-block; padding: 2px 8px; background: var(--gold-bg); color: var(--gold-dark); border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-right: 8px; }

/* ---- Announcements ---- */
.announcement-card { padding: 20px; border-left: 4px solid var(--gold); background: var(--bg-warm); border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 16px; }
.announcement-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.announcement-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.announcement-body { font-size: 0.95rem; color: var(--text-light); }

/* ---- Sidebar ---- */
.sidebar { position: sticky; top: 90px; }
.sidebar-widget { margin-bottom: 20px; }
.sidebar-banner { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--radius); color: #fff; font-weight: 600; font-size: 0.95rem; transition: all var(--transition); }
.sidebar-banner i { font-size: 1.3rem; }
.sidebar-banner:hover { transform: translateX(4px); color: #fff; }
.banner-schedule { background: linear-gradient(135deg, #2d6a4f, #40916c); }
.banner-intence { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.banner-stream { background: linear-gradient(135deg, #c62828, #e53935); }
.banner-support { background: linear-gradient(135deg, #4527a0, #7c4dff); }
.widget-events, .widget-readings { background: var(--bg-warm); padding: 20px; border-radius: var(--radius-lg); }
.widget-events h3, .widget-readings h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; }
.widget-events h3 i, .widget-readings h3 i { color: var(--gold); margin-right: 6px; }
.event-mini { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.event-mini:last-of-type { border-bottom: none; }
.event-mini-date { flex-shrink: 0; width: 40px; text-align: center; }
.event-mini-date .day { display: block; font-size: 1.2rem; font-weight: 700; color: var(--gold-dark); }
.event-mini-date .month { font-size: 0.75rem; color: var(--text-muted); }
.event-mini-info strong { font-size: 0.9rem; display: block; }
.event-mini-info small { color: var(--text-muted); font-size: 0.8rem; }
.readings-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.readings-links a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg); border-radius: var(--radius); font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.readings-links a:hover { background: var(--gold-bg); }
.readings-links a i { color: var(--gold); }

/* ---- Schedule Table ---- */
.mass-schedule { margin: 30px 0; overflow-x: auto; }
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th { background: var(--dark); color: #fff; padding: 12px 16px; text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.schedule-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.schedule-table tr.weekend { background: var(--gold-bg-alt); }
.schedule-table .day-cell { font-size: 0.95rem; min-width: 100px; }
.schedule-table .day-cell small { color: var(--text-muted); }
.no-service { color: var(--text-muted); text-align: center; }
.week-toggle { display: flex; gap: 12px; margin-bottom: 24px; justify-content: center; }
.schedule-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.info-box { background: var(--bg-warm); padding: 24px; border-radius: var(--radius-lg); }
.info-box h3 { font-size: 1.1rem; margin-bottom: 16px; }
.info-box h3 i { color: var(--gold); }
.info-table { width: 100%; }
.info-table td { padding: 6px 12px; border-bottom: 1px solid var(--border); }
.mass-schedule-mini { width: 100%; }
.mass-schedule-mini td { padding: 4px 0; font-size: 0.9rem; }
.mass-schedule-mini td:first-child { font-weight: 500; }

/* ---- Calendar Grid ---- */
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.calendar-nav h2 { font-size: 1.5rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.calendar-header { background: var(--dark); color: #fff; padding: 10px; text-align: center; font-weight: 600; font-size: 0.85rem; }
.calendar-cell { background: var(--bg); padding: 8px; min-height: 100px; }
.calendar-cell.empty { background: var(--bg-alt); }
.calendar-cell.today { outline: 2px solid var(--gold); outline-offset: -2px; }
.calendar-cell.weekend { background: var(--bg-warm); }
.calendar-cell.has-events .cell-day { color: var(--gold-dark); font-weight: 700; }
.cell-day { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.cell-event { font-size: 0.7rem; padding: 2px 6px; margin-bottom: 2px; border-radius: 4px; background: var(--gold-bg); color: var(--gold-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-event small { font-weight: 600; }
.cell-more { font-size: 0.7rem; color: var(--text-muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; align-items: center; }
.filter-bar label { font-weight: 600; font-size: 0.9rem; margin-right: 8px; }
.filter-btn { padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; color: var(--text-light); background: var(--bg-alt); transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--gold); color: #fff; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-card-image { height: 200px; background-size: cover; background-position: center; background-color: var(--gold-bg); position: relative; }
.gallery-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-overlay i { color: #fff; font-size: 2rem; }
.gallery-card-body { padding: 16px; background: var(--bg); }
.gallery-card-body h3 { font-size: 1rem; font-family: var(--font-body); }
.gallery-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.gallery-photo-link { border-radius: var(--radius); overflow: hidden; display: block; aspect-ratio: 1; }
.gallery-photo-link img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-photo-link:hover img { transform: scale(1.05); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.contact-info-card, .contact-map-card { background: var(--bg-warm); padding: 30px; border-radius: var(--radius-lg); }
.contact-info-card h2, .contact-map-card h2 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-info-card h2 i, .contact-map-card h2 i { color: var(--gold); }
.contact-info-card h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 12px; }
.contact-details p { margin-bottom: 8px; font-size: 0.95rem; }
.contact-details i { color: var(--gold); width: 20px; margin-right: 8px; }
.map-container { border-radius: var(--radius); overflow: hidden; }
.map-container iframe { display: block; }

/* Clergy */
.clergy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.clergy-card { display: flex; gap: 16px; padding: 20px; background: var(--bg-warm); border-radius: var(--radius-lg); }
.clergy-photo { width: 80px; height: 80px; border-radius: 50%; background-size: cover; background-position: center; background-color: var(--gold-bg); flex-shrink: 0; }
.clergy-info h3 { font-size: 1rem; font-family: var(--font-body); }
.clergy-role { color: var(--gold-dark); font-weight: 600; font-size: 0.85rem; }
.clergy-detail-card { display: flex; gap: 30px; padding: 30px; background: var(--bg-warm); border-radius: var(--radius-lg); margin-bottom: 24px; }
.clergy-photo-lg { width: 180px; height: 220px; border-radius: var(--radius); background-size: cover; background-position: center; background-color: var(--gold-bg); flex-shrink: 0; }
.clergy-role-badge { display: inline-block; padding: 4px 14px; background: var(--gold); color: #fff; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin: 8px 0; }

/* Mass times grid */
.mass-times-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mass-time-card { background: var(--bg-warm); padding: 24px; border-radius: var(--radius-lg); text-align: center; }
.mass-time-card.sunday { background: var(--gold-bg-alt); border: 2px solid var(--gold); }
.mass-time-card h3 { font-size: 1rem; font-family: var(--font-body); margin-bottom: 8px; }
.mass-time { font-size: 1.4rem; font-weight: 700; color: var(--gold-dark); }

/* ---- Article Detail ---- */
.article-detail { margin-bottom: 30px; }
.article-featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }
.article-featured-image img { width: 100%; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; font-size: 0.85rem; color: var(--text-muted); }
.article-meta i { color: var(--gold); margin-right: 4px; }
.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body img { border-radius: var(--radius); margin: 16px 0; }
.article-body h2 { margin-top: 32px; margin-bottom: 16px; }
.article-body h3 { margin-top: 24px; margin-bottom: 12px; }
.article-body p { margin-bottom: 16px; }
.article-tags { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); }
.tag { display: inline-block; padding: 4px 12px; background: var(--gold-bg); color: var(--gold-dark); border-radius: 20px; font-size: 0.8rem; margin: 4px; }

/* ---- Forms ---- */
.form-intence { max-width: 700px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--dark); }
.form-group label i { color: var(--gold); margin-right: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 0.95rem; transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); outline: none;
}
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.95rem; }
.alert i { margin-right: 8px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-info { background: var(--gold-bg); color: var(--gold-dark); border: 1px solid var(--gold-light); }

/* Slots */
.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.slot-card { background: var(--bg-warm); padding: 16px; border-radius: var(--radius); text-align: center; border: 2px solid transparent; transition: var(--transition); cursor: pointer; }
.slot-card:hover, .slot-card.selected { border-color: var(--gold); }
.slot-date { font-weight: 700; color: var(--gold-dark); }
.slot-time { font-size: 1.2rem; font-weight: 600; }
.slot-place { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }

/* Static page */
.static-page h1 { margin-bottom: 24px; }
.page-body { font-size: 1.05rem; line-height: 1.8; }
.page-body p { margin-bottom: 16px; }
.page-featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 30px; }
.pagination-info { color: var(--text-muted); font-size: 0.9rem; }

.text-muted { color: var(--text-muted); }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 50px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 { color: #fff; font-size: 1rem; font-family: var(--font-body); margin-bottom: 16px; }
.footer-col h4 i { color: var(--gold-light); margin-right: 6px; }
.footer-col p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col i { color: var(--gold-light); width: 18px; margin-right: 6px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 0.9rem; }
.footer-social { margin-top: 16px; display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--gold-light); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .content-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .slots-grid { grid-template-columns: repeat(3, 1fr); }
    .schedule-info { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .nav-toggle { display: block; }
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); box-shadow: var(--shadow-lg); flex-direction: column; padding: 16px; }
    .nav-menu.active { display: flex; }
    .submenu { position: static; box-shadow: none; padding-left: 16px; }
    .has-submenu:hover .submenu { display: none; }
    .has-submenu.open .submenu { display: block; }
    .hero-slider { height: 350px; }
    .slide-overlay h1 { font-size: 1.8rem; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid, .blog-grid-3 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-photos { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .clergy-grid { grid-template-columns: 1fr; }
    .mass-times-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-grid { font-size: 0.75rem; }
    .calendar-cell { min-height: 60px; padding: 4px; }
    .cell-event { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .sidebar { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .mass-times-grid { grid-template-columns: 1fr; }
    .calendar-nav { flex-direction: column; gap: 12px; }
}

/* Parish Motto */
.parish-motto {
    background: var(--dark);
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
}
.parish-motto blockquote {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    border: none;
    padding: 0;
}
@media (max-width: 768px) {
    .parish-motto blockquote {
        font-size: 0.95rem;
    }
}
