/* Semantic/grouped classes for Navigators theme
   Created to reduce maintenance of many utility classes.
   Pattern: Match navigators-html references exactly.
*/

.main-nav .menu-item-has-children > a {
    position: relative;
    padding-right: 18px;
}

.main-nav .menu-item-has-children > a::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    opacity: 0.7;
}


.sub-menu .menu-item > * {
	color: black;
}
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========== HERO SECTIONS ========== */
/* Index.html style: dark overlay hero with image background, nav INSIDE the hero, large gap */
.site-hero {
  width: 100%;
  min-height: 832px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 195px;
  padding-top: 80px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.site-hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.site-hero .hero-subtitle {
  font-family: 'Lora', serif;
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.site-hero .hero-title {
  color: #ffffff;
  font-size: 64px;
  font-weight: 700;
  line-height: 80px;
  letter-spacing: 0.025em;
}

/* Green hero section: about-us, donate, events, resources (h-480px, nav inside, centered title) */
.page-hero-green {
  width: 100%;
  height: 480px;
  background-color: #1A6B59;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0;
  position: relative;
  margin-top: 0;
  padding: 0;
}

.page-hero-green .page-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 80px;
  color: #ffffff;
  text-align: center;
  margin: 0 0 120px 0;
  letter-spacing: 0.025em;
}

/* Single/event hero (used by single-events.php) */
.hero-section {
  padding: 80px 0 40px;
  background-color: #1A6B59;
  color: #ffffff;
}

.hero-section .hero-content {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hero-section .hero-content h1 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: #ffffff;
  margin: 0;
}

.hero-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #ffffff;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.btn-outline.btn-lg {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.btn-outline.btn-lg:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0 24px;
  }

  .hero-section .hero-content h1 {
    font-size: 36px;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease-in-out;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background: #9D7717;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
}

.btn-ghost {
  background: #fff;
  color: #1A202C;
  padding: 12px 24px;
  border-radius: 16px;
  text-decoration: none;
}

.btn-donate {
  background: #ffffff;
  color: #1A202C;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 700;
}

/* ========== SECTIONS ========== */
.section--green {
  background-color: #1A6B59;
  position: relative;
  padding-top: 161px;
  padding-bottom: 161px;
}

.section--light {
  background-color: #EDF6EE;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section--white {
  background-color: #ffffff;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 54px;
  padding-right: 54px;
}

/* ========== CARDS ========== */
.card {
  background: #fff;
  border-radius: 24px;
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.25);
  padding: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 64px;
}

.ministry-card {
  width: 100%;
  max-width: 350px;
  border: 1px solid #1A6B59;
  gap: 16px;
  border-radius: 12px;
  padding: 32px;
  height: 205px;
  display: flex;
  flex-direction: column;
}

.post-card {
  width: 100%;
  max-width: 300px;
  border: 1px solid #1A6B59;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card .post-image {
  width: 100%;
  height: 139px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Post footer and avatar styles for blog list and single post */
.post-footer {
  padding-top: 8px;
  border-top: 1px solid #CBD2E0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.author-avatar {
  width: 32px;
  height: 32px;
  background-color: #9D7717;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.author-avatar--large {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

/* ========== BLOG PAGE LAYOUT ========== */
.blog-main {
  width: 100%;
  background-color: #EDF6EE;
  padding: 80px 154px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.blog-section {
  width: 100%;
  max-width: 972px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;
}

.blog-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-section-title .accent-bar {
  width: 5px;
  height: 32px;
  background-color: #9D7717;
  flex-shrink: 0;
}

.blog-section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #1A6B59;
  margin: 0;
  padding: 0;
}

/* Featured Story Card */
.featured-post {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.featured-post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.featured-post-image {
  width: 100%;
  max-width: 466px;
  height: 390px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-post-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-post-title .accent-bar {
  width: 5px;
  height: 32px;
  background-color: #9D7717;
  flex-shrink: 0;
}

.featured-post-title h3 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0.025em;
  color: #1A202C;
  margin: 0;
  padding: 0;
}

.featured-post-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #1A202C;
}

.featured-post-link {
  margin-top: 24px;
  width: 166px;
  height: 56px;
  background-color: #1A6B59;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-post-link:hover {
  background-color: #155244;
}

/* Recent Posts Grid */
.recent-posts-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.posts-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.post-card-item,
.event-card {
  width: 100%;
  max-width: 300px;
  border: 2px solid #1A6B59;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.post-card-item img {
  width: 100%;
  height: 139px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.post-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card-date {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-card-date svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.post-card-date span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: #1A202C;
}

.post-card-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0.025em;
  color: #1A202C;
  margin: 0;
}

.post-card-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #1A202C;
  margin: 0;
}

.post-card-footer {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #CBD2E0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-card-footer .author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-card-footer .reading-time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #717D96;
  margin-left: auto;
}

/* ========== SINGLE POST PAGE ========== */
.single-post-main {
  width: 100%;
  background-color: #EDF6EE;
  padding: 80px 154px;
  display: flex;
  justify-content: center;
}

.single-post-container {
  width: 972px;
  background: #fff;
  border-radius: 12px;
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.25);
  padding: 32px;
}

.single-post-image {
  width: 100%;
  max-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.single-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-post-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.single-post-title .accent-bar {
  width: 5px;
  height: 32px;
  background-color: #9D7717;
  flex-shrink: 0;
}

.single-post-title h1 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
  color: #1A202C;
  margin: 0;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.single-post-meta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.single-post-meta span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.03em;
  color: #1A202C;
}

.single-post-content {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #1A202C;
  margin-bottom: 24px;
}

.single-post-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #CBD2E0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.single-post-footer .author-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-post-footer .reading-time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #717D96;
  margin-left: auto;
}

/* ========== NAVIGATION / HEADER ========== */
/* Default white header for non-hero pages */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 50;
  width: 100%;
}

.site-header .site-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 54px;
  width: 100%;
  min-height: 128px;
}

.site-header .logo {
  display: flex;
  align-items: center;
}

.site-header .logo a,
.site-header .custom-logo-link {
  text-decoration: none;
}

.site-header .custom-logo-link img,
.site-header .custom-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.primary-navigation {
  flex: 1;
}

.primary-navigation .main-nav {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
}

.primary-navigation .main-nav li {
  margin: 0;
  display: inline-block;
}

.primary-navigation .main-nav a {
  color: #1A202C;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: -0.03em;
}

.primary-navigation .main-nav a:hover {
  background: #f0f0f0;
}

.primary-navigation .main-nav .current-menu-item>a,
.primary-navigation .main-nav .current_page_item>a {
  background: #ffffff;
  color: #1A202C;
  font-weight: 600;
  border: none;
}

/* Donate button in header */
.nav-cta {
  display: flex;
  align-items: center;
}

.nav-donate {
  padding: 12px 24px;
  border-radius: 16px;
  border: 1.5px solid #1A202C;
  background: transparent;
  color: #1A202C;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  letter-spacing: -0.03em;
  display: inline-block;
}

.nav-donate:hover {
  background: #EDF6EE;
}

/* ========== HEADER ON HERO PAGES ========== */
/* When header overlays a hero (green sections), make it transparent with white text/links */
.site-header.hero-over {
  background: transparent !important;
  box-shadow: none !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

/* .site-header.hero-over .site-inner {
  padding: 24px 54px;
  width: 100%;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: space-between;
} */

.site-header.hero-over .primary-navigation .main-nav a {
  color: #ffffff !important;
  font-weight: 500;
  background: transparent !important;
}

.site-header.hero-over .primary-navigation .main-nav .current-menu-item>a,
.site-header.hero-over .primary-navigation .main-nav .current_page_item>a {
  background: #ffffff !important;
  color: #1A202C !important;
  font-weight: 600;
}

.site-header.hero-over .nav-donate {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent !important;
}

.site-header.hero-over .nav-donate:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ========== EVENTS PAGE LAYOUT ========== */
.events-main {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0;
}

.events-container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.events-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.events-section-header {
  width: 100%;
}

.events-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #1A202C;
  margin: 0;
}

.events-section-title .accent-bar {
  width: 5px;
  height: 20px;
  background-color: #9D7717;
  flex-shrink: 0;
}

.section-divider {
  width: 100%;
  height: 1px;
  background-color: #EDF0F7;
}

.ongoing-event-wrapper {
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 20px 0;
}

.ongoing-event-content {
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.ongoing-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ongoing-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 41px;
  color: #1A202C;
  margin: 0;
}

.ongoing-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #1A202C;
  margin: 0;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1A202C;
}

.event-meta-item svg {
  width: 16px;
  height: 16px;
}

.ongoing-image {
  width: 490px;
  height: 272px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* Events Filter Section */
.events-filter-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #717D96;
  transition: color 0.2s ease;
}

.filter-tab.active {
  font-weight: 700;
  color: #1A202C;
}

.filter-tab:hover {
  color: #1A202C;
}

.filter-divider {
  width: 1px;
  height: 20px;
  background-color: #EDF0F7;
}

.filter-label {
  display: inline-block;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  width: 100%;
  justify-content: center;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(26, 107, 89, 0.1);
}

.event-card-image {
  width: 100%;
  height: 187px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

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

.event-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex-grow: 1;
}

.event-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #1A202C;
}

.event-card-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.event-card-title {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #1A202C;
  margin: 0;
}

.event-card-excerpt {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #1A202C;
  margin: 0;
  flex-grow: 1;
}

.event-card-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #717D96;
  margin: 0;
}

.event-card-venue svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.event-card-link {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1A6B59;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.event-card-link:hover {
  color: #0d4a3f;
  text-decoration: underline;
}

/* Pagination */
.events-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #EDF0F7;
}

.pagination-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1A6B59;
  padding: 8px 12px;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.pagination-btn:hover:not(:disabled) {
  background: #EDF6EE;
}

.pagination-btn:disabled {
  color: #CBD2E0;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-info {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #1A202C;
}

.no-events {
  text-align: center;
  padding: 40px;
  font-family: 'Montserrat', sans-serif;
  color: #717D96;
}

/* ========== FOOTER ========== */
.site-footer {
  width: 100%;
  background: rgb(237 246 238 / var(--tw-bg-opacity, 1));
  color: #1A6B59;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 54px;
  padding-right: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer semantic classes (replaces utility classes) */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  width: 80px;
  height: 80px;
}

.footer-about-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: #A0ABC0;
  margin: 0;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #424242;
  margin: 0 0 8px 0;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #A0ABC0;
  text-decoration: none;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #A0ABC0;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #A0ABC0;
  text-decoration: none;
}

.social-link:hover {
  color: #ffffff;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: #2D3748;
  margin-bottom: 40px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #A0ABC0;
  margin: 0;
}

/* Navigation */
.primary-navigation {
  margin-left: auto;
  display: block;
  /* Default for desktop */
}

.main-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.main-nav a {
  text-decoration: none;
  color: #1A202C;
  font-size: 16px;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #1A6B59;
}

/* Submenus */
.main-nav ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #60b663;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  padding: 12px 0;
  z-index: 100;
}

.main-nav li:hover>ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul.sub-menu li {
  display: block;
  padding: 0;
}

.main-nav ul.sub-menu a {
  display: block;
  padding: 8px 20px;
  color: #4A5568;
}

.main-nav ul.sub-menu a:hover {
  background: #F7FAFC;
  color: #1A6B59;
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ========== DONATION & PANELS ========== */
.donation-panel {
  width: 480px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.125);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.type-btn {
  flex: 1;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 8px;
  font-weight: 600;
}

.amount-btn {
  flex: 1;
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
}

.amount-btn--selected {
  border-color: #1A6B59;
  background: #EDF6EE;
  color: #1A6B59;
}

.hidden {
  display: none !important;
}

/* ========== UTILITIES ========== */
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    gap: 12px;
  }



  .page-hero-green .page-title {
    font-size: 48px;
    margin-bottom: 60px;
  }
}

/* ========== RESOURCES PAGE ========== */
.resources-main {
  width: 100%;
  background: #ffffff;
  padding: 80px 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.resources-title {
  width: 100%;
  text-align: center;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: #9D7717;
  letter-spacing: 0.025em;
  margin: 0;
}

.resources-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.resource-searchbox {
  width: 480px;
  max-width: 100%;
  /* Responsive fix */
  height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #CBD2E0;
  border-radius: 8px;
}

.resource-search-input {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #717D96;
  outline: none;
  border: 0;
  background: transparent;
}

.resource-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1A202C;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.filter-btn--primary {
  background: #1A6B59;
  color: #ffffff;
  font-weight: 600;
}

.resources-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.resource-item {
  width: 100%;
  /* height: 240px; */
  color: black;
  display: flex;
  flex-direction: column;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.resource-thumb {
  width: 160px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}

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

.resource-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
  flex: 1 1 auto;
}

.resource-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #1A202C;
  margin: 0;
}

.resource-category {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #717D96;
  margin: 0;
}

.resource-excerpt p {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #1A202C;
}

.resource-cta {
  width: 115px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border: 1px solid #717D96;
  border-radius: 12px;
  text-decoration: none;
  flex: none;
}

.resource-cta-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1A202C;
}

.no-resources {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #1A202C;
}

@media (max-width: 768px) {
  .resources-main {
    padding: 40px 24px;
    gap: 32px;
  }

  .resource-thumb {
    display: none;
  }

  .resource-item {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .resources-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: auto;
  }
}

/* Resource actions / cart button */
.resource-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.add-to-cart {
  background: #1A6B59;
  color: #ffffff;
  border: 0;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.add-to-cart:hover {
  background: #155244;
}

.resource-item[data-resource-qty="0"] .add-to-cart,
.add-to-cart:disabled,
.added-to-cart {
  background: #CBD2E0;
  color: #717D96;
  opacity: 0.8;
  cursor: not-allowed;
}

.add-to-cart.added-to-cart:hover {
  background: #CBD2E0;
  /* No hover effect */
}

/* ===== DONATE PAGE ===== */

.donate-main {
  background: #ffffff;
  padding: 40px 54px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.donate-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.donate-searchbox {
  width: 480px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid #CBD2E0;
  border-radius: 8px;
}

.donate-search-input {
  width: 100%;
  font-family: 'Montserrat';
  font-weight: 500;
  font-size: 16px;
  color: #717D96;
  border: 0;
  outline: none;
}

.donate-filters {
  display: flex;
  gap: 4px;
  width: 320px;
}

.donate-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.donate-card {
  width: 364px;
  height: 476px;
  border: 1px solid #EDF0F7;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.donate-card-image {
  height: 238px;
  background: #EDF0F7;
  position: relative;
  background-size: cover;
  background-position: center;
}

.donate-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  text-transform: capitalize;
}

.donate-card-body {
  height: 238px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.donate-card-title {
  font-family: 'Lora';
  font-weight: 700;
  font-size: 24px;
  color: #1A202C;
  margin: 0;
}

.donate-card-desc {
  font-family: 'Montserrat';
  font-size: 16px;
  color: #4A5468;
  margin-top: 8px;
}

.donate-btn {
  height: 56px;
  width: 100%;
  background: #9D7717;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  border: 0;
}


/* ========== MODALS ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 32px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.close-modal,
.modal-close,
.cart-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover,
.close-modal:focus,
.modal-close:hover,
.modal-close:focus,
.cart-close:hover,
.cart-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Cart Sidebar specific */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 360px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  z-index: 100000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid #EDF0F7;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  font-family: 'Lora', serif;
  font-size: 20px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid #EDF0F7;
  background: #F7FAFC;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
}

.checkout-btn,
.submit-btn {
  width: 100%;
  padding: 14px;
  background: #1A6B59;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

.checkout-btn:disabled {
  background: #CBD2E0;
  cursor: not-allowed;
}

/* Cart Toggle */
.cart-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: #1A6B59;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 107, 89, 0.4);
  cursor: pointer;
  z-index: 99999;
  /* Boosted Z-Index */
  border: none;
  transition: transform 0.2s;
}

.cart-toggle:hover {
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #E53E3E;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1A202C;
  transition: all 0.3s ease;
}

.site-header.hero-over .mobile-menu-toggle span {
  background-color: #ffffff;
}

@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .primary-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    /* Drawer style */
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 998;
    display: block;
    /* Override flex */
  }

  .primary-navigation.is-active {
    right: 0;
  }

  .primary-navigation .main-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }

  /* Ensure links are visible on mobile even if hero-over was active */
  .site-header.hero-over .primary-navigation .main-nav a {
    color: #1A202C !important;
  }

  .site-header.hero-over .primary-navigation {
    background: #ffffff !important;
  }

  /* Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    display: none;
    backdrop-filter: blur(2px);
  }

  .mobile-menu-overlay.is-active {
    display: block;
  }

  .nav-cta {
    display: none;
    /* Hide donate button in header on mobile if space is tight, or move it */
  }
}

/**
 * Resources Direct Purchase Styles
 * Styles for resource listing, single resource page, and order confirmation
 */

/* ============================================
   RESOURCES LISTING PAGE
   ============================================ */

.resources-main {

  margin: 0 auto;
  padding: 40px 20px;
}

.resources-title {
  font-size: 2.5rem;
  color: #1A6B59;
  margin-bottom: 30px;
  text-align: center;
}

.resources-controls {
  margin-bottom: 40px;
}

.resource-searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
}

.resource-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  padding: 10px 20px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #f5f5f5;
  border-color: #1A6B59;
}

.filter-btn--primary {
  background: #1A6B59;
  color: #fff;
  border-color: #1A6B59;
}

/* Resources Grid */
.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}



.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.resource-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.resource-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.resource-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.resource-content {
  padding: 20px;
}

.resource-meta {
  margin-bottom: 15px;
}

.resource-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #333;
}

.resource-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.resource-title a:hover {
  color: #1A6B59;
}

.resource-author {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 5px;
}

.resource-category {
  font-size: 0.85rem;
  color: #888;
}

.resource-category-name {
  color: #1A6B59;
  font-weight: 500;
}

.resource-excerpt {
  margin-bottom: 15px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.resource-footer {
  margin-bottom: 15px;
}

.resource-price-stock {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resource-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1A6B59;
}

.resource-stock {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 15px;
}

.resource-stock.in-stock {
  background: #d4edda;
  color: #155724;
}

.resource-stock.out-of-stock {
  background: #f8d7da;
  color: #721c24;
}

.resource-actions {
  padding: 0 20px 20px;
}

.buy-now-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #1A6B59;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buy-now-btn:hover {
  background: #145a4a;
}

.resource-cta-disabled {
  display: block;
  width: 100%;
  padding: 12px;
  background: #ccc;
  color: #666;
  text-align: center;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: not-allowed;
}

.no-resources {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding: 40px 20px;
}

/* ============================================
   SINGLE RESOURCE PAGE
   ============================================ */

.single-resource-main {
  margin: 0 auto;
  padding: 40px 20px;
}

.resource-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .resource-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.resource-detail-image {
  width: 100%;
}

.resource-featured-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.resource-placeholder-large {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f5f5f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-detail-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.resource-meta-info {
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.resource-author-large {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 10px;
}

.resource-category-large {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.resource-stock-status {
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
}

.resource-stock-status.in-stock {
  color: #155724;
}

.resource-stock-status.out-of-stock {
  color: #721c24;
}

.resource-price-large {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1A6B59;
}

.resource-price-large .currency {
  font-size: 1.5rem;
  font-weight: normal;
}

.resource-description h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.resource-description p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

/* Purchase Form */
.resource-purchase-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1A6B59;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: #1A6B59;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qty-btn:hover {
  background: #145a4a;
}

.quantity-selector input {
  flex: 1;
  text-align: center;
  font-weight: 600;
}

/* Order Summary Box */
.order-summary-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #1A6B59;
  margin-top: 20px;
}

.order-summary-box h4 {
  font-size: 1.25rem;
  color: #1A6B59;
  margin-bottom: 15px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
}

.summary-line:last-child {
  border-bottom: none;
}

.summary-total {
  font-size: 1.2rem;
  padding-top: 15px;
  border-top: 2px solid #1A6B59;
}

.buy-now-btn svg {
  vertical-align: middle;
  margin-right: 8px;
}

.out-of-stock-notice {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  color: #721c24;
  font-size: 1.1rem;
}

.back-to-resources {
  text-align: center;
  margin-top: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1A6B59;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #145a4a;
}

/* ============================================
   ORDER CONFIRMATION PAGE
   ============================================ */

.order-confirmation-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.confirmation-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.confirmation-box {
  padding: 60px 40px;
  text-align: center;
}

.status-icon {
  margin: 0 auto 20px;
}

.status-icon.success {
  stroke: #28a745;
}

.status-icon.error {
  stroke: #dc3545;
}

.success-box {
  background: #f0f8f5;
  border-top: 5px solid #28a745;
}

.error-box {
  background: #fef5f6;
  border-top: 5px solid #dc3545;
}

.confirmation-box h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}

.confirmation-box p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.spinner-large {
  width: 60px;
  height: 60px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #1A6B59;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.order-details {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin: 30px 0;
  text-align: left;
}

.order-info h3 {
  font-size: 1.5rem;
  color: #1A6B59;
  margin-bottom: 20px;
}

.order-info p {
  font-size: 1rem;
  margin-bottom: 10px;
}

.success-note {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.confirmation-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #1A6B59;
  color: #fff;
  border: 2px solid #1A6B59;
}

.btn-primary:hover {
  background: #145a4a;
  border-color: #145a4a;
}

.btn-secondary {
  background: #fff;
  color: #1A6B59;
  border: 2px solid #1A6B59;
}

.btn-secondary:hover {
  background: #f0f8f5;
}

/* ============================================
   PAGINATION
   ============================================ */

.events-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination-btn,
.page-numbers {
  padding: 10px 15px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-btn:hover,
.page-numbers:hover {
  background: #1A6B59;
  color: #fff;
  border-color: #1A6B59;
}

.page-numbers.current {
  background: #1A6B59;
  color: #fff;
  border-color: #1A6B59;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .resources-title {
    font-size: 2rem;
  }

  .resource-price-large {
    font-size: 2rem;
  }

  .resource-purchase-form {
    padding: 20px;
  }

  .confirmation-box {
    padding: 40px 20px;
  }

  .confirmation-box h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {

  .resources-list {
    grid-template-columns: 1fr;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Donate Details Page */
.donate-detail {
  max-width: 520px;
  margin: 0 auto 80px;
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.donate-detail img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.donate-detail h2 {
  font-family: 'Lora', serif;
  font-size: 26px;
  margin-bottom: 12px;
}

.donate-detail p,
.donate-detail div {
  color: #4a5568;
  line-height: 1.6;
}

/* Form */
#donationForm {
  margin-top: 24px;
}

#donationForm label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #2d3748;
  margin-bottom: 6px;
}

#donationForm input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e0;
  font-size: 15px;
  margin-bottom: 18px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

#donationForm input:focus {
  outline: none;
  border-color: #2f855a;
  box-shadow: 0 0 0 3px rgba(47, 133, 90, 0.15);
}

/* Button */
#donationForm button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #2f855a, #38a169);
  color: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#donationForm button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

#donationForm button:disabled {
  background: #a0aec0;
  cursor: not-allowed;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 600px) {
  .donate-detail {
    padding: 24px 20px;
  }
}

/* =========================================
   GLOBAL MOBILE FIXES
   ========================================= */

@media (max-width: 768px) {

  /* Container padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ================= HERO ================= */
  .site-hero {
    min-height: 50vh;
    gap: 64px;
    padding: 60px 16px;
  }

  .site-hero .hero-title {
    font-size: 36px;
    line-height: 44px;
  }

  .site-hero .hero-subtitle {
    font-size: 20px;
  }

  .page-hero-green {
    height: 320px;
  }

  .page-hero-green .page-title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 60px;
  }

  /* ================= HEADER ================= */
  .site-header .site-inner {
    padding: 12px 16px;
    min-height: 72px;
  }

  .site-header .custom-logo {
    width: 56px;
    height: 56px;
  }

  /* ================= SECTIONS ================= */
  .section--green,
  .section--white {
    padding: 48px 16px;
  }

  /* ================= CARDS ================= */
  .card {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .ministry-card,
  .post-card,
  .post-card-item {
    max-width: 100%; height: auto;
  }

  /* ================= BLOG ================= */
  .blog-main {
    padding: 40px 16px;
    gap: 48px;
  }

  .featured-post {
    flex-direction: column;
    gap: 24px;
  }

  .featured-post-image {
    max-width: 100%;
    height: 240px;
  }

  .featured-post-title h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .posts-grid {
    gap: 24px;
    justify-content: center;
  }

  /* ================= SINGLE POST ================= */
  .single-post-main {
    padding: 40px 16px;
  }

  .single-post-container {
    width: 100%;
    padding: 24px;
  }

  /* ================= EVENTS ================= */
  .events-container {
    padding: 0 16px;
  }

  .ongoing-event-wrapper,
  .ongoing-event-content {
    flex-direction: column;
    gap: 24px;
  }

  .ongoing-image {
    width: 100%;
    height: 220px;
  }

  /* ================= DONATE GRID ================= */
  .donate-main {
    padding: 32px 16px 64px;
  }

  .donate-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    height: auto;
  }

  .donate-searchbox {
    width: 100%;
  }

  .donate-filters {
    width: 100%;
    flex-wrap: wrap;
  }

  .donate-grid {
    gap: 24px;
    justify-content: center;
  }

  .donate-card {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  .donate-card-image {
    height: 200px;
  }

  /* ================= DONATE DETAILS FORM ================= */
  .donate-detail {
    margin-bottom: 40px;
    padding: 24px 16px;
  }

  /* ================= RESOURCES ================= */
  .resources-main {
    padding: 40px 16px;
  }

  .resources-controls {
    flex-direction: column;
    gap: 16px;
    height: auto;
  }

  .resource-item {
    flex-direction: column;
    height: auto;
  }

  .resource-thumb {
    width: 100%;
    height: 200px;
  }

  /* ================= FOOTER ================= */
  .site-footer {
    padding: 40px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================================
   SMALL PHONES (≤ 480px)
   ========================================= */

@media (max-width: 480px) {

  h1 {
    font-size: 28px;
    line-height: 36px;
  }

  h2 {
    font-size: 24px;
  }

  .btn,
  .btn-primary,
  .btn-outline,
  .donate-btn {
    width: 100%;
    text-align: center;
  }

  .featured-post-link {
    width: 100%;
  }

  .cart-sidebar {
    width: 100%;
  }

  .cart-toggle {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }
}