/* ============================================
   Bethel Presbyterian Church /connect/youth/events Mobile Stylesheet
   ============================================ */

.page-section {
  width: 100%;
  margin: 0 auto 3rem;
  box-sizing: border-box;
}

.section-wrapper.youth-events {
  background: var(--white);
  border-radius: 14px;
  padding: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

/* ---------------------
   Headings
   --------------------- */
.events-title {
  font-family: var(--font-serif-primary);
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  text-align: center;
}

.events-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-green), var(--primary-complement));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.events-subtitle {
  font-family: var(--font-sans-secondary);
  font-size: 2.4rem;
  color: var(--primary-complement);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ---------------------
   Gallery
   --------------------- */
.events-gallery {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.event-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin: 0 auto 1rem;
  display: block;
}

.event-image figcaption {
  font-size: 1.6rem;
  font-style: italic;
  color: var(--secondary-dark-complement);
  text-align: center;
}

/* ---------------------
   Body Text
   --------------------- */
.events-body p {
  font-family: var(--font-sans-secondary);
  font-size: 2rem;
  line-height: 3rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

/* ---------------------
   Contact
   --------------------- */
.events-contact {
  font-size: 1.8rem;
  line-height: 2.8rem;
  margin: 2rem auto;
  color: #333;
  text-align: center;
}

.events-contact strong {
  color: var(--primary-green);
  font-weight: 700;
}

.events-contact a {
  color: var(--primary-complement);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------
   Notice
   --------------------- */
.events-notice h4 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
  text-align: center;
}

.events-notice p {
  font-size: 1.8rem;
  line-height: 2.8rem;
  color: #555;
  margin-bottom: 2rem;
  text-align: center;
}

/* ---------------------
   Documents
   --------------------- */
.events-documents ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.events-documents li {
  margin-bottom: 2rem; /* more spacing between buttons */
}

.events-documents a {
  display: inline-flex;              /* align icon + text */
  align-items: center;
  justify-content: center;
  gap: 1.2rem;                       /* more space between icon and text */
  font-size: 2.6rem;                 /* larger text */
  font-weight: 700;
  color: var(--primary-green);       /* green text */
  text-decoration: none;
  padding: 1.8rem 3.6rem;            /* bigger pill shape */
  border-radius: 50px;               /* more rounded */
  background: var(--light-gray);     /* light gray background */
  box-shadow: 0 8px 18px rgba(0,0,0,0.12),
              0 0 10px rgba(0,128,0,0.25);
  transition: transform 0.2s ease;
}

.events-documents a:active {
  transform: scale(0.96);
  box-shadow: inset 4px 4px 10px rgba(0,0,0,0.15);
}

.events-documents a img.doc-icon {
  width: 3.2rem;                     /* larger icon */
  height: auto;
  display: inline-block;
}

/* ---------------------
   Responsive Breakpoints
   --------------------- */
@media (min-width: 768px) {
  .events-documents a {
    font-size: 3rem;                 /* even bigger text on tablets */
    padding: 2rem 4rem;
  }

  .events-documents a img.doc-icon {
    width: 3.6rem;                   /* larger icon on tablets */
  }
}
