/*
Theme Name: Tennessee Tubs
Theme URI: https://tennesseetubs.org
Author: Power Marketing
Description: Custom theme for Tennessee Tubs – Porsche 356 car club in Nashville, TN.
Version: 1.0
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --red:         #e03a3e;
  --red-hover:   #c22d31;
  --gold:        #efb112;
  --gold-dark:   #e3a506;
  --white:       #ffffff;
  --light-gray:  #f2f2f2;
  --off-white:   #f5f5f5;
  --black:       #000000;
  --dark:        #333333;
  --mid:         #444444;
  --border:      #e6e6e6;
  --link-blue:   #428bca;
  --link-hover:  #000000;

  --font-body:    'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-display: 'Nunito Sans', sans-serif;

  --max-width:     1200px;
  --row-pad:       80px 0;
  --row-pad-sm:    40px 0;
  --header-height: 120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

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

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: 40px; }
h2 { font-size: 36px; }
h3 { font-size: 34px; }
h4, h5 { font-size: 18px; }
h6 { font-size: 12px; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* =============================================
   BUTTONS
   ============================================= */
.btn,
a.fl-button,
.fl-button,
input[type="submit"],
button[type="submit"],
.gform_button {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: var(--white);
  background: var(--red);
  border: 0;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn:hover,
a.fl-button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
.gform_button:hover {
  background: var(--red-hover);
  color: var(--white);
}

/* Hero button stays yellow */
.btn-outline {
  background: var(--gold);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--gold-dark);
  color: var(--black);
}

.btn-wide { min-width: 200px; }

/* =============================================
   SEPARATOR / DIVIDER
   ============================================= */
.separator {
  border: 0;
  border-bottom: 4px solid var(--red);
  width: 37%;
  margin: 18px 0 24px;
}

.separator-center {
  margin-inline: auto;
}

.separator-left { margin-left: 0; }

/* =============================================
   HEADER
   ============================================= */
#site-header {
  position: static;
  background: var(--white);
  height: auto;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo img {
  height: 120px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav li a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav li a:hover,
.main-nav li.current-menu-item a {
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mid);
  border-radius: 2px;
}

/* =============================================
   PAGE OFFSET
   ============================================= */
.page-wrap { padding-top: 0; }

/* =============================================
   ROW / CONTAINER
   ============================================= */
.row-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
}

/* =============================================
   HERO SECTION (Home)
   ============================================= */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-image: url('https://tennesseetubs.org/wp-content/uploads/2021/05/rsw_1440h_1440.jpg');
  background-size: cover;
  background-position: 0% 40%;
  background-attachment: scroll;
}

.hero::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 80px 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero-content {
  color: var(--white);
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0;
}

.hero-title-big {
  font-family: var(--font-display);
  font-size: 123px;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
  margin: 0;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin: 12px 0 36px;
}

/* =============================================
   PAGE BANNER (inner pages - gold bg)
   ============================================= */
.page-banner {
  background: var(--gold);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

/* =============================================
   INTRO SECTION (white bg, centered)
   ============================================= */
.section-intro {
  background: var(--white);
  padding: var(--row-pad);
}

.section-intro .row-inner {
  max-width: 1142px;
  text-align: center;
}

.section-intro h1,
.section-intro h2 {
  font-family: var(--font-heading);
  color: var(--dark);
}

.section-intro p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
}

/* =============================================
   WHO WE ARE (photo bg, split columns)
   ============================================= */
.section-who {
  background-image: url('https://tennesseetubs.org/wp-content/uploads/2021/05/New-Project.png');
  background-size: cover;
  background-position: center center;
}

.section-who::before { display: none; }

.section-who .row-inner {
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.who-block {
  max-width: 45%;
}

.who-block h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 0;
}

.who-block .separator { margin: 18px 0 20px; }

.who-block p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
}

.who-block a:hover { color: var(--link-hover); }

/* =============================================
   CTA SECTION (light gray)
   ============================================= */
.section-cta {
  background: var(--black);
  padding: var(--row-pad);
}

.section-cta .row-inner { text-align: center; }

.section-cta h2 {
  font-size: 36px;
  color: var(--gold);
}

.section-cta .separator {
  margin: 18px auto 20px;
  border-bottom-color: var(--red);
}

.section-cta p {
  color: var(--white);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.section-cta .btn {
  background: var(--red);
  color: var(--white);
}

.section-cta .btn:hover {
  background: var(--red-hover);
  color: var(--white);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-intro {
  background: var(--white);
  padding: var(--row-pad);
}

.about-intro .row-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 60px;
  align-items: center;
}

.about-intro .text-col h1 {
  font-size: 40px;
  color: var(--dark);
}

.about-intro .text-col .separator { margin: 18px 0 20px; }

.about-intro .text-col p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 0;
}

.about-intro .img-col {
  width: 100%;
}

.about-intro .img-col img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.section-how {
  background: var(--light-gray);
  padding: var(--row-pad);
}

.section-how .row-inner { text-align: center; }

.section-how h2 {
  font-size: 36px;
  color: var(--dark);
}

.section-how .separator { margin: 18px auto 20px; }

.section-how p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
}

.section-what {
  background: var(--white);
  padding: var(--row-pad);
}

.section-what .row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.section-what .block h2 {
  font-size: 36px;
  color: var(--dark);
}

.section-what .block .separator { margin: 18px 0 20px; }

.section-what .block p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
}

.section-what .block a { color: var(--link-blue); }
.section-what .block a:hover { color: var(--link-hover); }

.section-contact-btn {
  background: var(--light-gray);
  padding: 60px 0;
  text-align: center;
}

/* =============================================
   JOIN PAGE
   ============================================= */
.join-content {
  background: var(--white);
  padding: var(--row-pad);
}

.join-content .row-inner {
  display: grid;
  grid-template-columns: 45.79% 54.21%;
  gap: 40px;
  align-items: start;
}

.info-col h1 {
  font-size: 40px;
  color: var(--dark);
}

.info-col .separator { margin: 18px 0 20px; }

.info-col p {
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
}

.info-col a { color: var(--link-blue); }
.info-col a:hover { color: var(--link-hover); }

/* contact info icons row */
.contact-info {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--mid);
}

.contact-info-item .icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon svg {
  width: 20px;
  height: 20px;
  fill: var(--dark);
}

.contact-info-item a {
  font-size: 16px;
  color: var(--red);
}

.contact-info-item a:hover { color: var(--link-hover); }

/* =============================================
   GRAVITY FORM / CONTACT FORM
   ============================================= */
.form-col .gform_wrapper {
  background: var(--white);
}

.gform_fields {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gfield_label { display: none; }

.gfield--type-name .ginput_complex,
.ginput_container--name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.gform_body input[type="text"],
.gform_body input[type="email"],
.gform_body input[type="tel"],
.gform_body textarea,
.gform_body select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  display: block;
  min-height: 45px;
}

.gform_body input:focus,
.gform_body textarea:focus {
  border-color: #ccc;
  background: var(--white);
}

.gform_footer {
  margin-top: 20px;
}

.gform_button,
.gform_footer input[type="submit"],
.gform_wrapper input[type="submit"],
.gform_wrapper button[type="submit"] {
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--white) !important;
  background: var(--red) !important;
  border: 0 !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  width: auto !important;
  min-height: 45px !important;
  display: block !important;
}

.gform_button:hover,
.gform_footer input[type="submit"]:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
  background: var(--red-hover) !important;
  color: var(--white) !important;
}

/* Gravity Forms validation */
.gform_validation_errors { border: 2px solid var(--red); padding: 15px; margin-bottom: 20px; }
.gfield_error input,
.gfield_error textarea { border-color: #DD6420 !important; }

/* =============================================
   GALLERY
   ============================================= */
.section-gallery {
  background: var(--light-gray);
  padding: var(--row-pad);
}

.section-gallery .row-inner { text-align: center; }

.section-gallery h2 {
  font-size: 36px;
  color: var(--dark);
}

.section-gallery .separator { margin: 18px auto 40px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 2%;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.2s;
}

.gallery-item:hover img { opacity: 0.88; }

.gallery-item a { display: block; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {}

/* Top row: white, logo + 2 contact items */
.footer-top {
  background: var(--white);
  padding: 40px 0;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-icon {
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.footer-contact-item a {
  font-size: 18px;
  color: var(--dark);
  font-weight: 400;
}

.footer-contact-item a:hover { color: var(--red); }

/* Nav bar: dark charcoal, centered, pipe-separated */
.footer-nav-bar {
  background: #3d3d3d;
  padding: 22px 0;
}

.footer-nav-bar nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.footer-nav-bar nav li {
  display: flex;
  align-items: center;
}

.footer-nav-bar nav li + li::before {
  content: '|';
  color: rgba(255,255,255,0.4);
  padding: 0 18px;
  font-size: 14px;
}

.footer-nav-bar nav li a {
  font-size: 16px;
  color: var(--white);
  font-weight: 400;
  transition: color 0.2s;
}

.footer-nav-bar nav li a:hover { color: var(--gold); }

/* Bottom: light gray, copyright left */
.footer-bottom {
  background: var(--light-gray);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--dark);
  margin: 0;
}

/* =============================================
   LIGHTBOX
   ============================================= */
#tnt-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

#tnt-lightbox.active {
  display: flex;
}

#tnt-lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tnt-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

#tnt-lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 10000;
}

#tnt-lightbox-close:hover { opacity: 1; }

#tnt-lightbox-prev,
#tnt-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 52px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 3px;
  transition: background 0.2s;
  z-index: 10000;
}

#tnt-lightbox-prev { left: 16px; }
#tnt-lightbox-next { right: 16px; }

#tnt-lightbox-prev:hover,
#tnt-lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* =============================================
   SCROLL TO TOP
   ============================================= */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 900;
}

#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--red-hover); }

#scroll-top svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* =============================================
   EVENTS PAGE INTRO
   ============================================= */
.events-page-intro {
  background: var(--light-gray);
  padding: 48px 0;
}

.events-page-intro p,
.events-page-intro li {
  font-size: 18px;
  line-height: 1.7;
  color: var(--dark);
}

.events-page-intro p:last-child { margin-bottom: 0; }

/* =============================================
   EVENTS FEED
   ============================================= */
.events-feed {
  background: var(--white);
  padding: var(--row-pad);
}

.events-feed .row-inner {
  max-width: 820px;
  margin-inline: auto;
}

.event-month-group {
  margin-bottom: 64px;
}

.event-month-group:last-child {
  margin-bottom: 0;
}

.event-month-heading {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.06em;
}

.event-separator {
  width: 52px;
  margin-bottom: 32px;
}

/* Card */
.event-card {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--white);
  position: relative;
}

.event-card:last-child {
  margin-bottom: 0;
}

.event-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

/* Date block */
.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  flex-shrink: 0;
  background: var(--dark);
}

.event-month-abbr {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 8px 0;
}

.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  padding: 14px 0;
}

.event-date-custom {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  padding: 16px 8px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Optional featured image */
.event-image {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.event-image .event-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.event-body {
  flex: 1;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}

.event-title a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.event-title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.event-title a:hover {
  color: var(--red);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mid);
}

.event-meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
  flex-shrink: 0;
}

.event-excerpt {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

.event-content {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.65;
  margin-top: 4px;
}

.event-content p:last-child { margin-bottom: 0; }

.events-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--mid);
  font-size: 18px;
}

/* =============================================
   SINGLE EVENT
   ============================================= */
.single-event-section {
  background: var(--white);
  padding: var(--row-pad);
}

.single-event-inner {
  max-width: 1000px;
  margin-inline: auto;
}

.single-event-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
}

.single-event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 88px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  background: var(--dark);
}

.single-event-meta-wrap {
  flex: 1;
  padding-top: 4px;
}

.single-event-full-date {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 12px;
}

.single-event-body--has-image {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 40px;
  align-items: start;
}

.single-event-image {
  border-radius: 6px;
  overflow: hidden;
}

.single-event-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .single-event-body--has-image {
    grid-template-columns: 1fr;
  }
}

.single-event-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--dark);
  margin-bottom: 40px;
}

.single-event-content p:last-child { margin-bottom: 0; }

.single-event-back {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .single-event-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .single-event-date-block {
    width: 72px;
  }
}

/* =============================================
   RESPONSIVE — TABLET (≤992px)
   ============================================= */
@media (max-width: 992px) {
  .hero-inner,
  .section-who .row-inner,
  .about-intro .row-inner,
  .section-what .row-inner,
  .join-content .row-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .who-block,
  .about-intro .text-col,
  .about-intro .img-col { max-width: 100%; }

  .hero-eyebrow  { font-size: 36px; }
  .hero-title-big { font-size: 80px; }
  .hero-sub      { font-size: 19px; }

  .footer-top .row-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo { grid-column: 1 / -1; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE — TABLET (events)
   ============================================= */
@media (max-width: 768px) {
  .event-image { display: none; }

  .event-date-block {
    width: 72px;
  }

  .event-day { font-size: 32px; padding: 10px 0; }

  .event-body { padding: 18px 20px; }

  .event-title { font-size: 18px; }

  .event-meta { gap: 12px; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --row-pad: 40px 0;
    --header-height: 70px;
  }

  .header-inner,
  .row-inner { padding-inline: 20px; }

  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero { min-height: 480px; }
  .hero-inner { padding: 60px 20px; grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 28px; }
  .hero-title-big { font-size: 61px; }
  .hero-sub { font-size: 19px; }

  .page-banner { min-height: 160px; padding: 40px 20px; }

  h1 { font-size: 30px; }
  h2 { font-size: 26px; }

  .footer-top .row-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { grid-column: auto; }
  .footer-contact a { justify-content: center; }
  .footer-nav ul { justify-content: center; }

  .gallery-grid { grid-template-columns: 1fr; }

  .gfield--type-name .ginput_complex,
  .ginput_container--name { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .hero-title-big { font-size: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
