/* Inner page styles */
.page-banner {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 10px;
}

.page-banner img.divider {
  margin: 15px auto 0;
  width: 128px;
}

.inner-page { padding: 60px 0; }

.inner-page h2 {
  font-size: 28px;
  margin: 30px 0 15px;
  color: #222;
}

.inner-page h3 {
  font-size: 22px;
  margin: 25px 0 12px;
  color: #222;
}

.inner-page p, .inner-page li {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.inner-page ul, .inner-page ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 30px;
  margin-bottom: 30px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

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

.timeline { list-style: none; padding: 0; }

.timeline li {
  position: relative;
  padding: 0 0 30px 40px;
  border-left: 3px solid #FF9822;
  margin-left: 15px;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 0;
  width: 15px;
  height: 15px;
  background: #FF9822;
  border-radius: 50%;
}

.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }

.timeline strong {
  display: block;
  font-family: 'Merriweather', Georgia, serif;
  color: #5D2B00;
  margin-bottom: 6px;
}

.donate-methods { display: grid; gap: 20px; }

.donate-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  background: #fafbfe;
}

.donate-card h3 {
  color: #FF9822;
  font-size: 18px;
  margin: 0 0 10px;
}

.donate-card pre {
  background: #fff;
  padding: 12px;
  border-radius: 5px;
  font-size: 13px;
  overflow-x: auto;
  white-space: pre-wrap;
}

.btn-local {
  display: inline-block;
  padding: 10px 24px;
  background: #FF9822;
  color: #fff;
  border-radius: 5px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-local:hover { background: #5D2B00; color: #fff; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.article-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s;
}

.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.article-card h3 { font-size: 16px; margin: 0 0 8px; }

.book-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.book-list li {
  background: #f5f5f5;
  padding: 10px 14px;
  border-radius: 5px;
  font-size: 13px;
}

.quran-embed {
  width: 100%;
  min-height: 600px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.map-box {
  border-radius: 8px;
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid #ddd;
}

.map-box iframe { width: 100%; height: 280px; border: 0; display: block; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.section-img {
  width: 100%;
  border-radius: 8px;
  margin: 15px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 40px 0;
}

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

.prayer-embed-box {
  text-align: center;
  padding: 30px;
  background: #fafbfe;
  border-radius: 8px;
  margin-bottom: 30px;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.youtube-grid iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 8px;
}
