.teaser__title {
  font-size: inherit;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

.text-content {
  font-size: smaller !important; /* Adjust size as needed */
}
.block__title{
  font-size: xx-large !important;
  line-height: 1.2;
  margin-bottom: 10px;
}
.align-left img {
  float: left;
  margin-right: 15px;
}

.align-center {
  text-align: center;
}

.align-center img {
  display: inline-block;
  margin: 0 auto;
}
#block-ac-custom-mainpageheadder-2{
margin-block-end: unset !important;
}
.main-content__container {
  padding-block-start: var(--sp1); 
}

.social-bar {
  position: fixed;
   display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 10px;
}


.social-icon svg {
  transition: transform 0.3s ease;
}

.social-icon:hover svg {
  transform: scale(1.1); /* slightly enlarge on hover */
}

@media (max-width: 768px) {
  .social-bar {
    top: 10px;
    right: 5px;
    bottom: auto;
    left: auto;
  }
}
.front .social-bar {
  display: flex !important;
}

.tiles-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .block__title {
    font-size: large !important;
      line-height: 1.2;
      margin-bottom: 10px;
  }
}
.tile {
  display: flex;
  flex-direction: column; /* stack children vertically */
  align-items: center;
  text-align: center;
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.tile:hover {
  background-color: #e0e0e0;
}

.tile-image {
  width: 100%;
  height: 350px; /* fixed height for all tiles */
  max-width: 474px; /* fixed width as per your grid */
  object-fit: cover; /* fills the box, crops if needed */
  border-radius: 6px;
  margin-bottom: 0.75rem;
  display: block;
  background-color: #f5f5f5; /* optional: placeholder bg for small images */
}



.tile-title {
  font-size: 1.1rem;
}
.church-icons {
  margin-top: 10px;
}

.tiles-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.tile:hover {
  background-color: #e0e0e0;
}

.tile-title {
  font-size: 1.1rem;
}

.church-icons a {
  margin-right: 15px;
  font-size: 20px;
  color: #444;
  text-decoration: none;
}

.church-icons a:hover {
  color: #007bff; /* or use Facebook/YouTube colors */
}
.site-footer{
   background: none;
   max-height: 450px;
  background-color: #eebc3f;
  color: white;
}
.site-footer__inner{
  max-height: 450px !important;
}

@media (min-width: 75rem) {
  body:not(.is-always-mobile-nav) .site-footer {
    border-inline-start: none !important;
  }
}
#edit-contact {
  display: none !important;
}
.link-row {
  display: flex;
  gap: 20px; /* space between links */
}

.link-row a {
  text-decoration: none;
  color: #0074d9;
}
.messages--error,
.messages--warning,
.messages-list {
  display: none !important;
}
.fixed-photo {
  width: 100%;
  max-width: 500px; /* limit maximum size */
  aspect-ratio: 4/3;
  object-fit: cover;
}
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  flex-direction: row-reverse; /* Map on right */
}

.map-container {
  flex: 1 1 60%;
}

.map-container iframe {
  width: 100%;
  min-height: 100px;
}

.contact-details {
  flex: 1 1 35%;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }

  .map-container,
  .contact-details {
    flex: 1 1 100%;
  }
}
.church-banner {
  display: flex;
  justify-content: center; /* center all images */
  align-items: center; /* vertically align images */
  gap: 3px; /* spacing between images */
  flex-wrap: nowrap; /* keep them in a single line */
  overflow-x: auto; /* allows horizontal scroll on very small screens */
}

.church-banner img {
  height: 400px; /* uniform height */
  width: auto; /* maintain aspect ratio */
  object-fit: cover; /* ensures image fills its box neatly */
  display: block;
}


@media (max-width: 768px) {
  .church-banner img {
    width: 200px;
    height: 150px;
    object-fit: cover;
  }
}

.responsive-banner {
  max-width: 100%;
  height: auto;
}
.leaders-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* spacing between items */
}

.leader {
  background-color: white;
  text-align: center;
  max-width: 266px;
  width: 100%;
}

.responsive-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.leader-title {
  padding: 10px 0;
}
@media (max-width: 600px) {
  .leader {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .tile-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
  }
}
@media (max-width: 768px) {
  body.path-user .social-bar {
    position: fixed !important;
    top: 80px !important;
    right: 0 !important;
    left: auto !important; /* ensure it's not stretched from left */
    z-index: 9999 !important;
  }
}


