/* ============================================================
   Siddur Ariel – Home Page (redesign)
   ============================================================ */

/* Scoped to redesign preview page only */
.page-template-tpl-home-redesign .site-header,
.home-redesign ~ .site-header,
body.page-template-tpl-home-redesign .site-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

body.page-template-tpl-home-redesign .announcement-bar {
  display: none;
}

.home-redesign {

/* ── Shared ── */
.home-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #8b7355;
  margin-bottom: 32px;
}

.home-divider {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.home-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.home-btn--gold {
  background: linear-gradient(180deg, #c4a574 0%, #9a7b4f 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(154, 123, 79, 0.35);
}

/* ── Launch Hero ── */
.home-launch {
  background: #f2eee9;
  padding: 40px 0 0;
}

.home-launch__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: center;
  min-height: 420px;
}

.home-launch__content {
  padding: 24px 0 40px;
  text-align: right;
}

.home-launch__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #3d3429;
  margin-bottom: 16px;
  line-height: 1.2;
}

.home-launch__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #4a4038;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 480px;
}

.home-launch__pricing {
  display: flex;
  align-items: stretch;
  border: 2px solid #9a7b4f;
  border-radius: 8px;
  overflow: hidden;
  max-width: 340px;
  margin-bottom: 16px;
  background: #fff;
}

.home-launch__price-col {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.home-launch__price-divider {
  width: 2px;
  background: #9a7b4f;
  flex-shrink: 0;
}

.home-launch__price-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 600;
}

.home-launch__price-old {
  font-size: 1.1rem;
  color: #888;
  text-decoration: line-through;
}

.home-launch__price-col--sale {
  background: #faf8f5;
}

.home-launch__price-new {
  font-size: 2rem;
  font-weight: 800;
  color: #3d3429;
  line-height: 1;
}

.home-launch__price-only {
  font-size: 0.8rem;
  color: #666;
}

.home-launch__includes {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
}

.home-launch__disclaimer {
  font-size: 0.75rem;
  color: #888;
  margin-top: 12px;
}

.home-launch__visual {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.home-launch__photo {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: 75% center;
}

/* ── Why ── */
.home-why {
  padding: 48px 0 32px;
  background: #fff;
}

.home-why__text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  text-align: right;
}

.home-why__icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.home-why__icon-card {
  text-align: center;
}

.home-why__icon-card img {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto 8px;
  display: block;
}

.home-why__icon-card span {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  display: block;
}

.home-why__editions {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.home-why__editions-flag {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.home-why__editions-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  flex: 1;
}

.home-why__editions-list li {
  font-size: 0.95rem;
  color: #333;
  position: relative;
  padding-right: 14px;
}

.home-why__editions-list li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: #9a7b4f;
}

.home-why__editions-bar {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ── Hope ── */
.home-hope {
  background: #fff;
}

.home-hope__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.home-hope__text {
  background: #eceae8;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: right;
}

.home-hope__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3d3429;
  margin-bottom: 16px;
}

.home-hope__body {
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 20px;
  max-width: 420px;
}

.home-hope__quote {
  font-size: 1.15rem;
  font-weight: 600;
  color: #3d3429;
  margin-bottom: 4px;
}

.home-hope__source {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 24px;
}

.home-hope__book {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f3f0;
}

.home-hope__book img {
  width: 200%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  margin-inline-start: -100%;
}

/* ── Carousels ── */
.home-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.home-carousel__nav {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.home-carousel__nav:hover {
  opacity: 1;
}

.home-carousel__nav img {
  width: 36px;
  height: 36px;
  display: block;
}

.home-carousel__track-wrap {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-carousel__track-wrap::-webkit-scrollbar {
  display: none;
}

.home-carousel__track {
  display: flex;
  gap: 16px;
  padding: 8px 4px;
}

.home-carousel__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.home-carousel__slide--ig {
  width: 160px;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s;
}

.home-carousel__slide--ig:hover {
  transform: scale(1.03);
}

.home-carousel__slide--ig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-carousel__video-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-carousel__slide--haskama {
  width: 200px;
}

.home-carousel__slide--haskama img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.home-carousel__empty {
  padding: 32px;
  text-align: center;
  color: #666;
  width: 100%;
}

.home-carousel__empty a {
  color: #9a7b4f;
  font-weight: 600;
}

.home-carousel__empty-hint {
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
}

/* ── Instagram section ── */
.home-ig {
  padding: 48px 0 24px;
  background: #fff;
}

.home-ig-handle {
  text-align: center;
  margin-top: 20px;
}

.home-ig-handle a {
  color: #3d3429;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.home-ig-handle a:hover {
  color: #9a7b4f;
}

/* ── Haskama ── */
.home-haskama {
  padding: 48px 0;
  background: #fff;
}

/* ── FAQ ── */
.home-faq {
  padding: 48px 0 64px;
  background: #fff;
}

.home-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.home-faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #e0dcd6;
  cursor: pointer;
  gap: 16px;
}

.home-faq-item--last {
  border-bottom: none;
}

.home-faq-q {
  font-size: 1rem;
  font-weight: 600;
  color: #3d3429;
  text-align: right;
  flex: 1;
}

.home-faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid #9a7b4f;
  border-radius: 50%;
  background: #fff;
  color: #9a7b4f;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.home-faq-item.active .home-faq-toggle,
.home-faq-toggle.open {
  background: #9a7b4f;
  color: #fff;
}

.home-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  padding: 0 16px;
}

.home-faq-answer.open {
  max-height: 200px;
  padding: 0 16px 20px;
}

.home-faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-launch__inner {
    grid-template-columns: 1fr;
  }

  .home-launch__visual {
    order: -1;
  }

  .home-launch__content {
    padding-bottom: 24px;
  }

  .home-why__text-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-why__icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hope__inner {
    grid-template-columns: 1fr;
  }

  .home-hope__book img {
    width: 100%;
    max-width: 100%;
    margin-inline-start: 0;
    object-position: center;
  }

  .home-carousel__slide--ig {
    width: 130px;
    height: 130px;
  }

  .home-carousel__slide--haskama {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .home-why__icons {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .home-launch__pricing {
    max-width: 100%;
  }

  .home-hope__text {
    padding: 32px 24px;
  }
}

} /* .home-redesign */
