/*
Theme Name: ODC Ministry Theme
Theme URI: https://ohiodistrictcouncil.org
Author: ODC Media Team
Author URI: https://ohiodistrictcouncil.org
Description: A custom WordPress theme for the Ohio District Council, focused on ministry and evangelism.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: odc-ministry
Tags: ministry, custom-theme, responsive, events
*/

/* Reset & Base Styles */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }
    :root {
      --header-height: 100px;
    }
    html {
      scroll-behavior: smooth;
    }
    .uc-banner {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: #c3262e;
      color: #fff;
      text-align: center;
      padding: 0.5rem;
      font-weight: 600;
      z-index: 2000;
    }
    body {
      line-height: 1.6;
      color: #333;
    }
    header {
      background: transparent;
      /*border-bottom: 1px solid #ddd;*/
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    nav a {
      margin: 0 1rem;
      text-decoration: none;
      color: #000;
      font-weight: 600;
      @media (max-width: 768px) {
            font-size: 25px;
      }
    }
      
  .odc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    background: transparent;
    position: sticky;
    height: var(--header-height);
    top: 0;
    z-index: 1000;
    width: 100%;
  }

  .odc-header .logo {
    height: 60px;
    width: auto;
    max-width: 180px;
  }

  .odc-header .main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    margin-left: auto;
      @media (max-width: 768px) {
         /*display: none;*/
         flex-direction: column;
         align-items: center;
         justify-content: space-evenly;
         top: 0;
         right: 0;
         height: 100vh;
         width: 100vw;
      }
  }
  body.nav-open {
    overflow: hidden;
  }
    
  
  .odc-header.transparent {
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(6px);
  }
    .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }
      
  .sticky-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: transparent;
    }
      
   .sticky-header .main-nav {
    transform: none;
    transition: none;
   }
      .nav-links {
	  display: flex;
	  gap: 1rem;
	  list-style: none;
	  margin: 0;
	  padding: 0;
	  align-items: center;
	}

	.nav-links li {
	  display: inline-block;
	}

	.nav-links li a {
	  color: #fff;
	  font-weight: 600;
	  text-decoration: none;
	  padding: 0.5rem 0.75rem;
	  transition: color 0.3s ease;
	}

	.nav-links li a:hover {
	  color: #c3262e;
	}

    .cta-button a {
      background-color: #c3262e;
      color: #fff !important;
      border: none;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      font-weight: bold;
        @media (max-width: 768px) {
            font-size: 25px;
            padding: 0.5rem 2rem;
        }
    }
	.cta-button a:hover {
		background-color: #a61b1b;
	}
    .hero {
      position: relative;
      top: calc(-1 * var(--header-height));
      margin-bottom: -100px;
      z-index: 1;    
      width: 100%;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      padding:0 0;
    }

    .hero-img {
      width: 100%;
      height: auto;
      /*max-width: 1200px;*/
      display: block;
      /*border-radius: 20px;*/
      /*margin-top: 15px;*/
        @media (max-width: 1024px) {
            border-radius: 0px;
            margin-top: 0px;
        }
    }
    section {
      padding: 4rem 2rem;
      /*max-width: 1200px;*/
      margin: auto;
    }
    .section-title {
      font-size: 2rem;
      margin-bottom: 2rem;
      color: #c3262e;
      text-align: center;
    }
    /*.who-we-are {
      display: flex;
     background: #fef7f5;
      border-radius: 80px 80px 0 0;
      overflow: hidden;
      align-items: center;
      padding: 2rem;
    }
    .who-we-are img {
      width: 300px;
      height: auto;
      border-radius: 10px;
      margin-right: 2rem;
      border: 4px solid #c3262e;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .who-we-are-text {
      max-width: 700px;
    }
    .who-we-are-text h2 {
      color: #2c2c2c;
      margin-bottom: 1rem;
    }
    .who-we-are-text p {
      margin-bottom: 1.5rem;
    }
    .who-we-are-text button {
      background-color: #000000;
      color: #ffffff;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 6px;
      font-weight: 600;
    }*/
    /* container & grid */
.who-we-are {
  /*background: url('https://events.ohiodistrictcouncil.org/wp-content/themes/ODC%20Ministry%20Theme/images/whowearebackground.jpg') center/cover no-repeat;*/
  background-color: #f4f4f4;
  position: relative;
  padding: 6rem 2rem;
  color: #fff;
}
.who-we-are-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
}

/* media block with SVG accent */
.who-we-are-media {
  position: relative;
}
.media-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  background: rgba(195,38,46, 1.0);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  z-index: 1;
}
.who-we-are-media img {
  position: relative;
  width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  object-fit: cover;
  z-index: 2;
}

/* text column */
.who-we-are-text h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1rem;
}
.who-we-are-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2rem;
}

/* modern button */
.btn-modern {
  display: inline-block;
  background: #c3262e;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-modern:hover {
    background: #a61b1b;
    transform: translateY(-2px);
}
/* Wrap the form in a centered card */
.post-password-form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* The description text */
.post-password-form p {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1rem;
  text-align: center;
}

/* Label styling */
.post-password-form label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #222;
}

/* Password input */
.post-password-form input[type="password"] {
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Submit button */
.post-password-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: .75rem;
  background-color: #c3262e !important;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .3s ease;
}

/* Hover state */
.post-password-form input[type="submit"]:hover {
  background-color: #a61b1b !important;
}

.odd .col-link a,
.even .col-link a{
  border: 2px solid #c3262e !important;
  background: transparent !important;
  color: #c3262e !important;
  padding: .4em .8em;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s ease;
}

.odd .col-link a:hover,
.even .col-link a:hover{
  background: #c3262e !important;
  color: #fff !important;
}
/* responsive tweak */
@media (max-width: 768px) {
  .who-we-are {
    padding: 4rem 1rem;
  }
  .who-we-are-text h2 { font-size: 2rem; }
}
    .events-grid {
      display: flex;
      gap: 2rem;
      justify-content: center;
      text-align: left;
    }
    .event-card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
      overflow: hidden;
      width: 250px;
    }
    .event-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }
    .event-card-content {
      padding: 1rem;
    }
    .event-card-content h4 {
      margin-bottom: 0.5rem;
    }
    .event-date {
      font-weight: bold;
      background: #eee;
      padding: 0.25rem 0.5rem;
      display: inline-block;
      margin-bottom: 0.5rem;
      border-radius: 4px;
    }
    .btn-center {
      text-align: center;
      margin-top: 2rem;
    }
    .btn-view-all {
      background: transparent;       
      color: #c3262e;                
      border: 2px solid #c3262e;
      padding: 0.75rem 1.5rem;
      font-weight: bold;
      border-radius: 6px;
      text-decoration: none;
      display: inline-block;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .btn-view-all:hover,
    .btn-view-all:focus {
      background: #c3262e;           /* filled red on hover */
      color: #fff;                   /* white text on hover */
    }
    .find-church {
      background: #fff;
      padding: 3rem;
      text-align: center;
    }
    .find-church h2 {
      margin-bottom: 1rem;
    }
    .find-church button {
      background: #c3262e;
      color: #fff;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 6px;
      font-weight: bold;
    }
    .ways-to-give {
      background: #7b1f1f;
      color: #fff;
      padding: 4rem 2rem;
      text-align: center;
    }
    .ways-to-give button {
      background: #c3262e;
      color: #fff;
      padding: 0.75rem 1.5rem;
      font-weight: bold;
      border: none;
      border-radius: 6px;
      margin-top: 1rem;
    }
    .ministries-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      padding: 2rem 0;
      text-align: center;
    }

    .ministry-card {
      display: block;
      border: 2px solid #c3262e;
      border-radius: 12px;
      overflow: hidden;
      text-decoration: none;
      width: 210px;
      height: 210px;
      margin: auto;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .ministry-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* Icon wrapper stays white always */
    .ministry-card .icon-wrap {
      background: #fff;
      padding: 1.5rem 0;
      text-align: center;
    }

    .ministry-card .icon-wrap img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 50%;
    }

    /* Label default state: white background, red text */
    .ministry-card .label-wrap {
      background: #fff;
      color: #c3262e;
      padding: 0.60rem 0.5rem;
      font-weight: 600;
      text-align: center;
      line-height: 1.3;
      height: 100px;
      font-size: 0.9rem;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* On card hover: red background, white text */
    .ministry-card:hover .label-wrap {
      background: #c3262e;
      color: #fff;
    }
   /* .ministry-card {
      border: 2px solid #c3262e;
      border-radius: 12px;
      padding: 1rem;
      font-weight: 600;
      transition: transform 0.3s ease, background-color 0.3s ease;
      height: 220px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .ministry-card:hover {
      background-color: #fce8e6;
      transform: translateY(-5px);
    }
    .ministry-card img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 0.75rem;
    }
    .ministry-card a {
      display: flex;            
      flex-direction: column;
      align-items: center;
      color: #c3262e;
      text-decoration: none;
      font-weight: 600;
      line-height: 1.2;
    }
    .ministry-card a img {
      margin-bottom: 0.5rem;
    }*/

    .flyer-carousel {
      overflow-x: auto;
      white-space: nowrap;
      padding: 2rem 0;
    }
    .flyer-carousel img {
      height: 200px;
      margin-right: 1rem;
      border-radius: 10px;
    }
    .flyer-carousel-wrapper {
      position: relative;
    }

    .carousel-arrow {
      position: absolute;
      top: 42%;
      background: rgba(0,0,0,0.3);
      border: none;
      color: #fff;
      font-size: 2rem;
      width: 2.5rem;
      height: 9%;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .carousel-arrow.left {
      left: 0.5rem;
    }

    .carousel-arrow.right {
      right: 0.5rem;
    }

    .carousel-arrow:hover {
      background: rgba(0,0,0,0.7);
    }
    .council-info {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin: 2rem auto;
      max-width: 1000px;
    }
    .council-card {
      border: 1px solid #ccc;
      border-radius: 12px;
      text-align: center;
      background: #fff;
    }
    .council-card .title-wrap {
        background-color: #c3262e;
        border-radius: 12px 12px 0 0;

    }
    .council-card .label-wrap {
        padding: 12px;
    }
    .council-card h3 {
      display: inline-block;        
      color: #fff;                  
      padding: 0.5rem 1rem;         
      border-radius: 4px;
    }
    .featured-event {
    background-color: #000000;
    padding: 4rem 2rem;
    text-align: center;
  }

    .featured-event .section-title {
        color: #FFFFFF;
    }
  .featured-event-carousel {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 2rem 0;
    scroll-padding: 0 calc(50% - 200px);
  }
  .featured-event-slide {
    display: flex;
    flex-direction: column;
    flex: 0 0 400px;
    aspect-ratio: 16 / 9;
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    scroll-snap-align: center;
  }
  .featured-event-slide img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  .featured-event-slide h3 {
    color: #c3262e;
    margin-bottom: 0.5rem;
  }
  .featured-event-slide a {
    display: inline-block;
    margin-top: auto;
    background-color: #c3262e;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    align-self: center;
  }
  .odc-footer {
    background: #333;
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
  }
  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .footer-column h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #FFF !important;
  }
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  .footer-column ul li {
    margin-bottom: 0.5rem;
  }
  .footer-column ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .footer-column ul li a:hover {
    color: #f5a623;
  }
    .menu-close {
        display: none;
    }
  .container {
      display: none;
      cursor: pointer;
      z-index: 99999;
      @media (max-width: 768px) {
          display: inline-block;
      }
    }

    .bar1, .bar2, .bar3 {
      width: 35px;
      height: 5px;
      background-color: #333;
      margin: 6px 0;
      transition: 0.4s;
    }
    .change .bar1 {
      transform: translate(0, 11px) rotate(-45deg);
    }
    .change .bar2 {opacity: 0;}
    .change .bar3 {
      transform: translate(0, -11px) rotate(45deg);
    }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .cta-buttons {
      position: relative;
      padding: 2rem;
      text-align: center;
    }

    .cta-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    .cta-wrapper button {
      background-color: #c3262e;
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .cta-wrapper button:hover {
      background-color: #a61b1b;
    }

    .cta-wrapper button:not(.primary) {
      background-color: #fff;
      color: #c3262e;
      border: 2px solid #c3262e;
    }      
    #google_translate_element {
      text-align: center;
      margin-bottom: 1rem;
    }
    .goog-te-gadget {
      font-family: 'Inter', sans-serif;
    }

    .flyer-carousel {
      padding: 2rem;
      background: #fff;
      text-align: center;
    }
    .glide__slide img {
      max-width: 100%;
      height: auto;
      min-height: 263px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
	.single-event-hero {
	  text-align: center;
	  background: #f9f7f4;
	  padding: 3rem 1rem;
	  border-bottom: 1px solid #eee;
	}

	.event-hero-image img {
	  width: 100%;
	  max-width: 800px;
	  height: auto;
	  margin: 0 auto;
	  border-radius: 10px;
	  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
	}

	.event-hero-text h1 {
	  font-size: 2.5rem;
	  color: #c62828;
	  margin-top: 1rem;
	}

	.event-date,
	.event-location {
	  font-size: 1rem;
	  color: #666;
	  margin: 0.25rem 0;
	}

	.single-event-content {
	  max-width: 800px;
	  margin: 3rem auto;
	  padding: 0 1.5rem;
	  line-height: 1.7;
	}

	.back-to-events {
	  text-align: center;
	  margin-top: 2rem;
	}

	.back-to-events a {
	  color: #c62828;
	  font-weight: bold;
	  text-decoration: none;
	  border: 2px solid #c62828;
	  padding: 0.5rem 1rem;
	  border-radius: 6px;
	  transition: background-color 0.3s ease;
	}

	.back-to-events a:hover {
	  background-color: #c62828;
	  color: white;
	}

    .flyers-archive .archive-title {
      text-align: center;
      margin: 2rem 0;
      font-size: 2rem;
      color: #c3262e;
    }

    .flyers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
      gap: 1.5rem;
      padding: 0 2rem 2rem;
    }

    .flyer-thumb {
      display: block;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .flyer-thumb img {
      width: 100%;
      height: auto;
      display: block;
    }

    .flyer-thumb:hover {
      transform: translateY(-4px);
    }

    .archive-pagination {
      text-align: center;
      margin-bottom: 3rem;
    }

    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      display: none; /* hidden by default */
      align-items: center;
      justify-content: center;
      z-index: 2000;
    }
    .modal[aria-hidden="false"] {
      display: flex;
    }
    .modal-backdrop {
      position: absolute;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
    }
    /*.modal-content {
      position: relative;
      background: #fff;
      padding: 2rem;
      max-width: 500px;
      width: 90%;
      border-radius: 8px;
      z-index: 2001;
      overflow-y: auto;
      max-height: 80vh;
    }
    .modal-close {
      position: absolute;
      top: 1rem; right: 1rem;
      background: none; border: none;
      font-size: 1.5rem;
      cursor: pointer;
    }*/
    /* Container styling (you already have this) */
    .modal-content {
      position: relative;
      background: #fff;
      padding: 2rem 1.5rem;
      max-width: 480px;
      width: 90%;
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      color: #333;
      font-size: 1rem;
      line-height: 1.5;
    }

    /* Heading inside the modal (h2 from your template) */
    .modal-content h2 {
      margin-top: 0;
      margin-bottom: 1rem;
      font-size: 1.75rem;
      color: #c3262e;
    }

    /* If your WYSIWYG output begins with an <h3> for the hotel name */
    .modal-content h3 {
      margin-bottom: 0.5rem;
      font-size: 1.25rem;
      color: #222;
    }

    /* Addresses, phone, cut-off, rate all come through as <p> tags */
    .modal-content p {
      margin: 0.5rem 0;
      font-size: 1rem;
      color: #444;
    }

    /* Make any <time> tags a bit more distinctive */
    .modal-content time {
      font-style: normal;
      font-weight: 600;
      color: #000;
    }

    /* Style telephone links inside WYSIWYG */
    .modal-content a[href^="tel:"] {
      color: #c3262e;
      text-decoration: none;
      font-weight: 600;
    }
    .modal-content a[href^="tel:"]:hover {
      text-decoration: underline;
    }

    /* Close button (if you need to override) */
    .modal-content .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: none;
      border: none;
      font-size: 1.25rem;
      color: #666;
      cursor: pointer;
    }

    /* Ensure images or embeds in the WYSIWYG scale */
    .modal-content img,
    .modal-content iframe {
      max-width: 100%;
      height: auto;
      margin: 1rem 0;
    }
    .btn-modal-open {
      /* Remove button chrome */
      background: none;
      border: none;
      padding: 0;
      margin: 0;
      font: inherit;      
      color: #c3262e;     
      cursor: pointer;
      display: inline; 
    }

    /* On hover/focus, adjust the underline or color */
    .btn-modal-open:hover,
    .btn-modal-open:focus {
      color: #a61b1b;      
      text-decoration: none;
      outline: none;       
    }
    
    .give-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
    }

    .give-button {
      display: inline-block;
      background: #c3262e;
      color: #fff;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.2s ease;
    }
    .give-button:hover {
      background: #a61b1b;
    }
    .page-banner {
      width: 100%;
      height: 300px;
      background-size: cover;
      background-position: center;
      position: relative;
      margin-top: -100px;  
      padding-top: 100px;
      z-index: 0
    }

    .page-banner__inner {
      position: absolute;
      bottom: 1.5rem;
      left: 2rem;
      padding: 0.5rem 1rem;
      border-radius: 4px;
    }

    .page-banner__title {
      color: #fff;
      font-size: 2rem;
      margin: 0;
    }
    .centennial-banner {
      position: relative;
      background: url('/wp-content/themes/ODC%20Ministry%20Theme/images/centennial-bg.jpg') center/cover no-repeat;
      height: 300px;        /* adjust as needed */
      overflow: hidden;
    }

    /* semi-opaque panel */
    .centennial-banner__overlay {
      position: absolute;
      top: 50%;
      right: 10%;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.85);
      padding: 1.5rem 2rem;
      border-radius: 8px;
      max-width: 400px;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .centennial-banner__overlay h2 {
      margin: 0;
      font-size: 1.75rem;
      color: #c3262e;
    }

    .btn-centennial {
      align-self: start;      /* so it doesn’t stretch full width */
      background-color: #c3262e;
      color: #fff;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background-color .25s ease;
    }
    .btn-centennial:hover {
      background-color: #a61b1b;
    }

    /* Responsive: shrink overlay on mobile */
    @media (max-width: 600px) {
      .centennial-banner {
        height: 200px;
      }
      .centennial-banner__overlay {
        /*left: 50%;
        transform: translate(-50%, -50%);*/
          right: 15%;
        max-width: 90%;
      }
    }

    /*.centennial-banner {
      background: url('/wp-content/themes/ODC%20Ministry%20Theme/images/centennial-bg.jpg') center/cover no-repeat;
      padding: 4rem 2rem;
      text-align: center;
      margin-bottom: 2rem;
      border-radius: 12px;
    }

    .centennial-banner__inner {
      max-width: 800px;
      margin: 0 auto;
    }

    .centennial-banner__inner h2 {
      color: #c3262e;
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .btn-centennial {
      display: inline-block;
      background-color: #c3262e;
      color: #fff;
      padding: 0.75rem 1.5rem;
      font-weight: bold;
      border-radius: 6px;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }

    .btn-centennial:hover {
      background-color: #a61b1b;
    }*/
  @media (max-width: 1024px) {
      .who-we-are {
        flex-direction: column;
        text-align: center;
      }

      .who-we-are img {
        margin: 0 0 1rem 0;
        width: 100%;
      }

      .hero h1 {
        font-size: 2rem;
      }

    }
    @media (max-width: 768px) {
      .odc-header {
        flex-direction: column;
        align-items: flex-start;
      }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        position: relative;
        z-index: 1001;
      }
      .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background: #FFFFFF;
        transition: transform 0.3s ease;
      }

      /*.main-nav {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
      }
      .main-nav.open {
        transform: translateX(0);
      }*/
        .main-nav {
          position: fixed;
          top: 0;
          right: 0;
          height: 100vh;
          width: 100vw;
          background: rgba(255, 255, 255, 0.97);
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          z-index: 9999;
          transform: translateX(100%);
          transition: transform 0.4s ease-in-out;
          pointer-events: none;
          opacity: 0;
        }

        .main-nav.open {
          transform: translateX(0);
          pointer-events: auto;
          opacity: 1;
        }
      /* Ensure the nav container is using flex‐column when open */
      .main-nav.open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      /* Tweak each item to sit on its own line */
      .main-nav.open .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
      }

      /* And make sure the links fill the width (so the tappable area is large) */
      .main-nav.open .nav-links li a {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        color: #000;
      }
      .menu-close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 2rem;
        color: #333;
        cursor: pointer;
      }
      nav a {
          margin: 0.5rem 0;
      }
      /*.featured-event-carousel {
        flex-direction: column;
        gap: 1rem;
      }

      .featured-event-slide,
      .ministry-card {
        flex: 1 1 100%;
        max-width: 100%;
      }*/
    .featured-event-carousel {
        display: flex;
        flex-direction: column;
        overflow: visible;          /* turn off the horizontal scroll */
        scroll-snap-type: none;
        gap: 1.5rem;                /* space between slides */
      }
      .featured-event-slide {
        flex: none;
        width: 100%;
        max-width: none;
        aspect-ratio: auto;         /* let height size to content */
        scroll-snap-align: none;
      }
      .ministries-grid {
        grid-template-columns: 1fr;
      }

      .flyer-carousel img {
        height: 150px;
        margin-right: 0.5rem;
      }

      .council-info {
        grid-template-columns: 1fr;
      }
      .footer-columns {
          flex-direction: column;
          align-items: center;
        }
        .footer-column {
          text-align: center;
        }
      .ways-to-give button {
        width: 100%;
      }
     .cta-wrapper {
        flex-direction: column;
        align-items: center;
      }

      .cta-wrapper button {
        width: 100%;
        max-width: 300px;
      }
      
      .events-grid {
        flex-direction: column;
        align-items: center;
      }

      .events-grid .event-card {
        width: 90%;
        max-width: 350px;
        margin-bottom: 1.5rem;
      }

    }