/*
Theme Name: Christian Bible & Missionary Ministry
Theme URI: https://example.com/christian-bible-missionary-ministry
Author: OpenAI
Author URI: https://openai.com
Description: A Bootstrap-powered ministry WordPress theme converted from the supplied HTML template with dynamic menus, widgets, archive layouts, Contact Form 7 integration, ACF-ready sections, and Bootstrap navigation support.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: christian-bible-missionary-ministry
Tags: ministry, church, bootstrap, blog, custom-logo, custom-menu, featured-images, right-sidebar
*/

@import url('assets/css/main.css');

.wp-caption,
.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor {
  max-width: 100%;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: #f1f1f1;
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 0.5rem;
  line-height: normal;
  padding: 0.75rem 1rem;
  text-decoration: none;
  top: 0.5rem;
  width: auto;
  z-index: 100000;
}

.alignwide {
  width: min(100%, 1200px);
}

.alignfull {
  width: 100%;
}

.sidebar-widget,
.single-content-card,
.archive-card,
.search-card {
  background: #fff;
  border: 1px solid rgba(31, 77, 58, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px rgba(24, 34, 28, 0.08);
}

.sidebar-widget {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-widget ul,
.sidebar-widget ul,
.footer-links,
.sidebar-links,
.related-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget li + li,
.sidebar-widget li + li,
.footer-links li + li,
.sidebar-links li + li,
.related-posts-list li + li {
  margin-top: 0.75rem;
}

 .sidebar-scripture {
        background: linear-gradient(180deg, var(--ministry-forest) 0%, var(--ministry-olive) 100%);
        color: #fff;
      }

.sidebar-scripture * {
  color: inherit;
}

.post-card-thumb,
.archive-post-thumb {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eef2ee;
}

.post-card-thumb img,
.archive-post-thumb img,
.featured-image img,
.hero-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ministry-muted);
  font-size: 0.95rem;
}

.entry-content blockquote,
.single-content-card blockquote {
  border-left: 4px solid var(--ministry-gold);
  background: rgba(198, 166, 98, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.widget_search .wp-block-search__inside-wrapper,
.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-field,
.search-form .form-control {
  border-radius: 999px;
}

.pagination .page-numbers,
.page-links > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 77, 58, 0.12);
  background: #fff;
  color: var(--ministry-forest);
  text-decoration: none;
  font-weight: 700;
}

.pagination .current,
.page-links > span.current {
  background: var(--ministry-gold);
  border-color: var(--ministry-gold);
  color: #fff;
}

footer {
  color: rgba(255, 255, 255, 0.84);
  position: relative;
  background-image: url('assets/images/background/footer-bg-1.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

footer > .container {
  position: relative;
  z-index: 2;
}

footer a,
.footer-widget a,
.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

footer a:hover,
.footer-widget a:hover,
.footer-links a:hover {
  color: #fff;
}

/* .modal-content {
  background: #173126;
  color: #fff;
  border-radius: 1.5rem;
} */

.modal-content .form-control,
.modal-content .form-select,
.modal-content textarea {
  border-radius: 1rem;
}

.topbar-slider .swiper-slide {
  text-align: center;
}

@media (max-width: 991.98px) {
  .single-page-hero,
  .page-hero,
  .archive-hero {
    padding: 5rem 0 3rem;
  }
}



.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.gallery-video-card video,
.gallery-video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.object-fit-cover {
  object-fit: cover;
}