/* CEO Reading Room - Custom CSS Overrides */

/* ========== Hero Book Image - Hide on Mobile ========== */
@media (max-width: 767.98px) {
  .hero__images3 {
    display: none;
  }
}

/* ========== Hero Section - Reduced Top Padding ========== */
.hero__padding {
  padding-top: 140px;
}

/* ========== Next Book Card ========== */
.next-book-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(var(--primary-rgb, 194, 149, 107), 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-top: 35px;
  max-width: 480px;
  backdrop-filter: blur(4px);
}

.next-book-card__image img {
  width: 90px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.next-book-card__label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary-color, #c2956b);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.next-book-card__title {
  font-family: 'Philosopher', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 2px;
  line-height: 1.3;
}

.next-book-card__author {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--primary-color, #c2956b);
  margin: 0 0 2px;
}

.next-book-card__subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  opacity: 0.7;
  margin: 0 0 8px;
}

.next-book-card__link {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: var(--primary-color, #c2956b);
  text-decoration: none;
  font-weight: 600;
}

.next-book-card__link:hover {
  text-decoration: underline;
  color: var(--primary-color, #c2956b);
}

.next-book-card__link i {
  margin-left: 4px;
  font-size: 0.7rem;
}

@media (max-width: 575.98px) {
  .next-book-card {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
  }

  .next-book-card__image img {
    width: 100px;
  }
}

/* ========== Hidden Sections (preserved for future use) ========== */
#pricing {
  display: none;
}

#blog {
  display: none;
}

#events {
  display: none;
}

#reviews {
  display: none;
}

#contact,
#ctav3 {
  display: none;
}

/* ========== CTA Quote Icon ========== */
.cta2__quote-icon i {
  font-size: 3rem;
  opacity: 0.5;
}

/* ========== CTA Background Override (cache bust) ========== */
.cta2,
.ctav5 {
  background-image: url(../images/ctav5.jpg?v=2);
}

/* ========== FAQ Section Styling ========== */
#faq .accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

#faq .accordion-button {
  font-family: 'Philosopher', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  padding: 18px 24px;
  background-color: #fff;
}

#faq .accordion-button:not(.collapsed) {
  background-color: rgba(var(--primary-rgb, 194, 149, 107), 0.08);
  color: var(--primary-color, #c2956b);
  box-shadow: none;
}

#faq .accordion-button:focus {
  box-shadow: 0 0 0 0.15rem rgba(var(--primary-rgb, 194, 149, 107), 0.25);
  border-color: var(--primary-color, #c2956b);
}

#faq .accordion-button::after {
  background-size: 1rem;
}

#faq .accordion-body {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  padding: 8px 24px 20px;
}

/* ========== Testimonial Equal Height & Image Sizing ========== */
.clients-slider .swiper-wrapper {
  align-items: stretch;
}

.clients-slider .swiper-slide {
  height: auto;
}

.clients-slider .swiper-slide .testi-card {
  height: 100%;
}

.testimonialv2 .testi-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* ========== Gallery Coming Soon Placeholder ========== */
.gallery__item--coming-soon {
  pointer-events: none;
}

.gallery__coming-soon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 350px;
  background: linear-gradient(135deg, #f5f0eb 0%, #e8ddd3 100%);
  border-radius: 8px;
  color: var(--primary-color, #c2956b);
  opacity: 0.7;
}

.gallery__coming-soon-placeholder i {
  font-size: 3rem;
  margin-bottom: 12px;
}

.gallery__coming-soon-placeholder span {
  font-family: 'Philosopher', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.gallery-title-wrapper--below {
  padding: 15px 0 0;
}

/* ========== Gallery Modal Layout ========== */
.gallery__modal-top {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.gallery__thumb img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.gallery__client__meta-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}

.gallery__client__meta-side .client__meta p {
  margin-bottom: 2px;
}

@media (max-width: 575.98px) {
  .gallery__modal-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ========== Gallery Image Sizing ========== */
.gallery__item img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  background: #f5f0eb;
  border-radius: 8px;
}

/* ========== Author Section / Founder Photos ========== */
.founder-photos {
  display: flex;
  gap: 16px;
}

.founder-photo {
  flex: 1;
}

.founder-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  .founder-photo img {
    height: 300px;
  }
}

/* ========== Event Image Consistency ========== */
.events__single-event__image img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

/* ========== Counters Equal Height ========== */
.counters__stats {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch !important;
}

.counters__stats li {
  display: flex !important;
  margin-bottom: 15px;
}

.counters__stats-box {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 70px !important;
  padding-bottom: 30px !important;
  text-align: center;
}

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

.counters__stats-box h5 {
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

/* ========== Copyright Link ========== */
.footer__copyright a {
  color: var(--primary-color, #c2956b);
  text-decoration: none;
}

.footer__copyright a:hover {
  text-decoration: underline;
}
