/* Home — stories rail + cinema + interest catalog (no hero) */

.home-body {
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(201, 162, 39, 0.07), transparent 55%),
    #eef1f4;
  color: var(--ink);
}

.home-header {
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 1px 0 rgba(28, 24, 20, 0.06);
}

.home-header .brand__name,
.home-header .primary-nav a:not(.nav-cta) {
  color: #152238 !important;
}

.home-header .brand__tag {
  color: #6b7c93 !important;
}

.home-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
}

.home-header .lang-switch {
  background: rgba(28, 24, 20, 0.06);
  border-color: rgba(28, 24, 20, 0.1);
}

.home-header .lang-switch__btn {
  color: #5c4033;
}

.home-header .lang-switch__btn.is-active {
  color: var(--ink) !important;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c9a227;
}

.showcase-main {
  padding: 1.5rem 0 1rem;
  max-width: 78rem;
  margin: 0 auto;
}

.showcase-main--top {
  padding-top: calc(var(--header-h) + 1.25rem);
}

.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.rail-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #152238;
}

.rail-head--light h2 {
  color: #f7f4ef;
}

.rail-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2a5a9e;
  font-weight: 500;
}

.rail-empty {
  padding: 1rem 1.5rem;
  color: #5c4033;
}

/* Stories rail */
.stories-rail {
  margin-bottom: 2.5rem;
}

.stories-rail__track-wrap {
  position: relative;
  padding: 0 2.75rem;
}

.stories-rail__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.15rem 0.85rem;
  scrollbar-width: none;
}

.stories-rail__track::-webkit-scrollbar {
  display: none;
}

.story-pill {
  flex: 0 0 11.5rem;
  height: 19rem;
  border-radius: 1.35rem;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 18px 40px rgba(21, 34, 56, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.story-pill:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 50px rgba(21, 34, 56, 0.28);
}

.story-pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-pill__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 30, 0.05) 35%, rgba(15, 20, 30, 0.88) 100%);
}

.story-pill__mark {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, #c9a227, #c45c3e);
}

.story-pill__title {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.95rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 600;
}

.story-pill__meta {
  position: absolute;
  left: 0.85rem;
  bottom: 3.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.rail-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #152238;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(21, 34, 56, 0.16);
}

.rail-arrow--prev { left: 0.35rem; }
.rail-arrow--next { right: 0.35rem; }

.rail-arrow--on-dark {
  position: static;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cinema-controls {
  display: flex;
  gap: 0.5rem;
}

.rail-progress {
  height: 3px;
  margin: 0.35rem 1.5rem 0;
  background: rgba(21, 34, 56, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.rail-progress i {
  display: block;
  height: 100%;
  width: 28%;
  background: #2a5a9e;
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.rail-progress--gold {
  background: rgba(255, 255, 255, 0.12);
}

.rail-progress--gold i {
  background: linear-gradient(90deg, #c9a227, #e8d5a3);
}

/* Cinema destinations */
.cinema-block {
  margin: 0 1rem 2.75rem;
  padding: 1.5rem 0 1.35rem;
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(201, 162, 39, 0.16), transparent 50%),
    linear-gradient(160deg, #0d1210 0%, #151c19 45%, #0f1620 100%);
  overflow: hidden;
}

.cinema-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 1.5rem 1rem;
  scrollbar-width: none;
}

.cinema-track::-webkit-scrollbar { display: none; }

.cinema-card {
  flex: 0 0 min(78vw, 22rem);
  height: 28rem;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease);
}

.cinema-card:hover { transform: translateY(-5px); }

.cinema-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}

.cinema-card:hover img { transform: scale(1.1); }

.cinema-card__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(26, 58, 107, 0.2), transparent 50%);
}

.cinema-card__body {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1.2rem;
}

.cinema-card__region {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e8d5a3;
  border: 1px solid rgba(232, 213, 163, 0.4);
  background: rgba(0, 0, 0, 0.25);
}

.cinema-card__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: #fff;
  line-height: 1.15;
}

.cinema-card__rating {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Interest catalog */
.interest-catalog {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #f3efe8 0%, #f7f4ef 100%);
}

.interest-catalog__intro {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.interest-catalog__intro .eyebrow {
  color: var(--terracotta-deep);
  margin: 0 0 0.5rem;
}

.interest-catalog__intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.1;
  color: var(--ink);
}

.interest-catalog__intro p {
  margin: 0;
  color: var(--wood);
  font-size: 1.05rem;
  line-height: 1.6;
}

.interest-section {
  margin-bottom: 3.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(92, 64, 51, 0.12);
}

.interest-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: end;
  margin: 1.35rem 0 1.35rem;
}

.interest-section__head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  color: var(--ink);
  line-height: 1.15;
}

.interest-section__head p {
  margin: 0;
  color: var(--wood);
  line-height: 1.55;
}

.interest-section__source {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--emerald);
  line-height: 1.45;
}

.interest-section__source a {
  color: inherit;
}

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.interest-card {
  position: relative;
  display: block;
  min-height: 15.5rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #1c1814;
  transition: transform 0.45s var(--ease);
}

.interest-card:hover { transform: translateY(-3px); }

.interest-card__media {
  position: absolute;
  inset: 0;
}

.interest-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.interest-card:hover .interest-card__media img {
  transform: scale(1.06);
}

.interest-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(18, 14, 10, 0.88) 100%);
}

.interest-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  z-index: 1;
}

.interest-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
}

.interest-card__badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8d5a3;
  border: 1px solid rgba(232, 213, 163, 0.4);
  background: rgba(0, 0, 0, 0.25);
}

.interest-card__body h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.15;
  font-weight: 600;
}

.interest-card__body p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.interest-section__more {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.interest-section__more .btn {
  min-width: 12rem;
}

html[dir="rtl"] .interest-catalog__intro,
html[dir="rtl"] .interest-section__head,
html[dir="rtl"] .interest-card__body,
html[dir="rtl"] .rail-head {
  text-align: right;
}

@media (max-width: 800px) {
  .interest-section__head,
  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: 14rem;
  }

  .stories-rail__track-wrap {
    padding: 0 1rem;
  }

  .rail-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .interest-card__media img,
  .cinema-card img,
  .story-pill {
    transition: none !important;
  }
}
