/* -----------------------------------------
   BASE STYLES
------------------------------------------ */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
}

.hidden {
  display: none;
}

/* -----------------------------------------
   LOGO (Minutes + Home Page)
------------------------------------------ */

.minutes-logo-large {
  display: block;
  margin: 0 auto 20px auto;
  width: 180px;
  max-width: 40%;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

/* -----------------------------------------
   CLEAN TEXT LINKS
------------------------------------------ */

.clean-link {
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.clean-link:hover {
  color: #4da3ff;
  text-shadow: 0 0 6px rgba(77, 163, 255, 0.6);
}

/* -----------------------------------------
   UNIVERSAL HEADER (Homepage + Minutes + Newsletter)
------------------------------------------ */

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #002b5c;
  color: white;
  text-align: center;
}

.header h1 {
  margin: 0;
  line-height: 1.3;
  font-size: 1.8rem;
}

.header .logo {
  width: 80px;
  height: auto;
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    gap: 10px;
  }

  .header .logo {
    width: 70px;
  }
}

/* Subheading (shared) */
.subheading {
  text-align: center;
  margin-top: 10px;
  font-size: 1.1rem;
}

/* -----------------------------------------
   ACCORDION (Minutes + Newsletter)
------------------------------------------ */

.accordion {
  max-width: 700px;
  margin: 20px auto;
  padding: 0 15px;
}

.year {
  margin-bottom: 10px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.year-toggle {
  width: 100%;
  padding: 15px;
  background: #003f87;
  color: white;
  border: none;
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
}

.year-toggle:hover {
  background: #0050a8;
}

.month-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* -----------------------------------------
   HOMEPAGE INTRO SECTION
------------------------------------------ */

.home-intro {
  text-align: center;
  max-width: 800px;
  margin: 80px auto 3rem auto;
  padding: 0 1rem;
  position: relative;
}

.home-intro .subheading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #003366;
}

.home-intro .intro-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 2rem;
}

/* Button Row */
.button-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.button-row .btn {
  background-color: #003366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.button-row .btn:hover {
  background-color: #00264d;
}

@media (max-width: 600px) {
  .home-intro {
    margin-top: 1.5rem;
  }

  .button-row .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* -----------------------------------------
   SLIDING SIDEBAR MENU (Unified Navigation)
------------------------------------------ */

.nav-toggle-floating {
  position: fixed;
  top: 15px;
  left: 15px;
  background: #003366;
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1000;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.nav-toggle-floating:hover {
  background: #00264d;
}

.sidebar-nav {
  position: fixed;
  top: 0;
  left: -260px;
  width: 260px;
  height: 100%;
  background: #002b5c;
  color: white;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
  transition: left 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.sidebar-nav.open {
  left: 0;
}

.nav-header {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #003f87;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-header .nav-toggle {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  margin-right: 10px;
}

.nav-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.nav-panel {
  padding: 10px 0;
  overflow-y: auto;
  flex-grow: 1;
}

.nav-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-panel li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-panel a {
  display: block;
  padding: 12px 18px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.nav-panel a:hover {
  background: #004a9f;
}

@media (max-width: 600px) {
  .sidebar-nav {
    width: 220px;
  }
}

/* -----------------------------------------
   MINUTES PAGE PROTECTED WRAPPER (Merged)
------------------------------------------ */

#protectedContent {
  background: #f4f4f4;
  padding: 0;
  margin: 0;
}

#protectedContent .header {
  margin-top: 0;
  padding: 20px;
}

#protectedContent .subheading {
  margin-top: 10px;
  text-align: center;
  font-size: 1.1rem;
}

#protectedContent .accordion {
  max-width: 700px;
  margin: 20px auto;
  padding: 0 15px;
}

#protectedContent .year {
  margin-bottom: 10px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#protectedContent .year-toggle {
  width: 100%;
  padding: 15px;
  background: #003f87;
  color: white;
  border: none;
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
}

#protectedContent .year-toggle:hover {
  background: #0050a8;
}

#protectedContent .month-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* -----------------------------------------
   HOMEPAGE HERO WRAPPER
------------------------------------------ */

.homepage-hero {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 40px;
}

/* -----------------------------------------
   WATERMARK BEHIND WELCOME SECTION
------------------------------------------ */

.home-intro::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  background: url("../images-kofc/kofc_logo.jpg") no-repeat center center;
  background-size: contain;
  opacity: 0.08;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.home-intro > * {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------
   UNIFIED FOOTER
------------------------------------------ */

.footer {
  background: #002b5c;
  color: white;
  text-align: center;
  padding: 20px 10px;
  margin-top: 100px;
  font-size: 0.95rem;
  border-top: 4px solid #003f87;
}

.footer p {
  margin: 0;
}
.author-line {
  display: block;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 0.25rem;
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

.history-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
@media (max-width: 480px) {
  .header {
    padding-top: 3.5rem;
  }
}

  .prayer-list p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.prayer-list a {
  color: #003b7a;
  font-weight: 600;
  text-decoration: none;
}

.prayer-list a:hover {
  text-decoration: underline;
}
.pgk-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 2rem;
}

.pgk-grid figure {
  margin: 0;
  text-align: center;
}

.pgk-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.pgk-grid figcaption {
  margin-top: 0.5rem;
  font-weight: 600;
  line-height: 1.4;
}
.pgk-grid img {
  width: 100%;
  height: 240px; /* adjust this number if you want taller/shorter boxes */
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}