/*
Theme Name: Blocksy Child
Template:   blocksy
Version:    1.0.0
*/

/* ─────────────────────────────────────────
   Cover Block — linked headings
───────────────────────────────────────── */
.wp-block-cover h1 a,
.wp-block-cover h2 a,
.wp-block-cover h3 a {
  text-decoration: none !important;
  color: white !important;
  transition: color 0.3s ease !important;
}

.wp-block-cover:hover h1 a,
.wp-block-cover:hover h2 a,
.wp-block-cover:hover h3 a {
  color: #d1e6fa !important;
}

.wp-block-cover {
  overflow: hidden;
}

.wp-block-cover .wp-block-cover__image-background {
  transition: transform 0.4s ease !important;
}

.wp-block-cover:hover .wp-block-cover__image-background {
  transform: scale(1.05) !important;
}

/* ─────────────────────────────────────────
   Manifesto
───────────────────────────────────────── */
.la-manifesto {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 56px 0;
  padding: 0;
}

.la-manifesto::before,
.la-manifesto::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

.la-manifesto-text {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #aaa;
  font-style: normal;
  margin: 0;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   City Teasers
───────────────────────────────────────── */
.la-city-teasers {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}

.la-city-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0;
  border-bottom: 1px solid #f0f0f0;
}

.la-city-teaser:first-child {
  border-top: none;
}

.la-city-teaser:nth-child(even) .la-ct-photos-wrap {
  order: 2;
}

.la-city-teaser:nth-child(even) .la-ct-text {
  order: 1;
}

.la-ct-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
}

.la-ct-photo {
  overflow: hidden;
}

.la-ct-photo:first-child {
  grid-row: 1 / 3;
}

.la-ct-photo--full {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.la-ct-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.la-city-teaser:hover .la-ct-photo img {
  transform: scale(1.04);
}

.la-ct-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8453c;
  margin-bottom: 18px;
}

.la-ct-name {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #111;
  margin: 0 0 20px;
}

.la-ct-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 380px;
}

.la-ct-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  border-bottom: 1.5px solid #111;
  padding-bottom: 3px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.la-ct-cta:hover {
  color: #e8453c;
  border-color: #e8453c;
}

/* ─────────────────────────────────────────
   About Strip
───────────────────────────────────────── */
.la-about-strip {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 100px;
  padding-top: 16px;
}

.la-about-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 24px;
}

.la-about-body {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 24px;
}

.la-about-sig {
  font-size: 18px;
  font-style: italic;
  color: #999;
}

/* ─────────────────────────────────────────
   Filter Pills
───────────────────────────────────────── */
.la-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.la-filter-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid #111;
  background: transparent;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.la-filter-btn:hover {
  background: #111;
  color: #fff;
}

.la-filter-btn.active {
  background: #e8453c;
  border-color: #e8453c;
  color: #fff;
}

/* ─────────────────────────────────────────
   Category Section
───────────────────────────────────────── */
.la-category-section {
  margin-bottom: 60px;
}

.la-category-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.la-category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

/* ─────────────────────────────────────────
   Grid
───────────────────────────────────────── */
.la-places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─────────────────────────────────────────
   Card
───────────────────────────────────────── */
.la-place-card {
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 10px;
}

.la-place-card:hover {
  transform: translateY(-1.5px);
}

.la-place-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.la-place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.la-place-card:hover .la-place-image img {
  transform: scale(1.06);
}

.la-place-info {
  padding: 18px 4px 24px;
}

.la-cat-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8453c;
  margin-bottom: 8px;
}

.la-place-info h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  margin: 0 0 6px;
}

.la-address {
  font-size: 12px;
  color: #bbb;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.la-description {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin: 0 0 14px;
}

.la-note {
  font-size: 12px;
  color: #999;
  font-style: italic;
  margin: 0;
}

/* ─────────────────────────────────────────
   Slider
───────────────────────────────────────── */
.la-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.la-slider-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.la-slider-track::-webkit-scrollbar {
  display: none;
}

.la-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 100%;
}

.la-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.la-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
  z-index: 2;
  padding: 0;
}

.la-slider-arrow svg {
  width: 14px;
  height: 14px;
}

.la-slider:hover .la-slider-arrow {
  opacity: 1;
}

.la-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

.la-prev {
  left: 10px;
}
.la-next {
  right: 10px;
}

.la-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.la-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.la-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ─────────────────────────────────────────
   Scroll Reveal
───────────────────────────────────────── */
.la-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.la-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   Homepage
───────────────────────────────────────── */
.la-home {
  text-align: center;
  padding: 12px 0 0;
}

.la-home-intro {
  margin-bottom: 16px;
}

.la-home-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e8453c;
  margin-bottom: 12px;
}

.la-home-headline {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #111;
  margin: 0 0 12px;
  white-space: nowrap;
}

.la-home-sub {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto;
}

.la-home-cities-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 10px;
}

/* ─────────────────────────────────────────
   City Carousel
───────────────────────────────────────── */
.la-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 0 20px;
}

.la-carousel-card {
  position: relative;
  flex: 0 0 auto;
  width: 17%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.la-carousel-card:hover {
  opacity: 0.8;
}

.la-carousel-card:nth-child(2) {
  width: 28%;
  opacity: 1;
  z-index: 2;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(0, 0, 0, 0.15);
}

.la-carousel-card:nth-child(1),
.la-carousel-card:nth-child(3) {
  z-index: 1;
}

.la-carousel-card.la-fading {
  opacity: 0 !important;
}

.la-carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.la-carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.la-carousel-card:nth-child(2):hover .la-carousel-inner img {
  transform: scale(1.04);
}

.la-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 20px;
  gap: 10px;
}

.la-carousel-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.la-carousel-card:nth-child(2) .la-carousel-name {
  font-size: 18px;
  letter-spacing: 0.22em;
}

.la-carousel-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.la-carousel-card:nth-child(2):hover .la-carousel-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 900px) {
  .la-places-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .la-city-teaser {
    gap: 40px;
    padding: 60px 0;
  }

  .la-ct-name {
    font-size: clamp(28px, 4vw, 42px);
  }
}

@media (max-width: 640px) {
  .la-city-teaser {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  /* photos always on top, text always below — override even-item desktop rules */
  .la-ct-photos-wrap,
  .la-city-teaser:nth-child(even) .la-ct-photos-wrap {
    order: 1;
  }

  .la-ct-text,
  .la-city-teaser:nth-child(even) .la-ct-text {
    order: 2;
  }

  .la-ct-desc {
    max-width: 100%;
  }

  .la-home-headline {
    white-space: normal;
    font-size: clamp(18px, 5vw, 26px);
  }

  .la-carousel-card {
    width: 22%;
  }

  .la-carousel-card:nth-child(2) {
    width: 48%;
  }

  .la-manifesto {
    margin: 40px 0 280px;
  }

  .la-manifesto-text {
    white-space: normal;
    text-align: center;
  }

  .la-home {
    padding-top: 0;
    margin-top: -32px;
  }

  .la-carousel-name {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .la-carousel-card:nth-child(2) .la-carousel-name {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .la-carousel-cta {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 560px) {
  .la-places-grid {
    grid-template-columns: 1fr;
  }
  .la-filter-bar {
    gap: 8px;
  }
}
