/* ==========================================================================
   LaSpa Blocks — Activities sections (.lsact)
   9 hero with full image · 10 centered intro · 11 activity catalogue with filters
   ========================================================================== */

/* ---------- Shared ---------- */
.wp-block-group.lsact {
  /* Full width: matching !important is needed to beat WordPress's content-width rules */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-family: "Caslon 540 LT Std", "Libre Caslon Text", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1C1B19;
}
.lsact *, .lsact *::before, .lsact *::after { box-sizing: border-box; }
.lsact > * { margin: 0 !important; max-width: none !important; }

.lsact h1, .lsact h3 {
  font-family: "Caslon 540 LT Std", "Libre Caslon Text", Georgia, serif;
  font-weight: 400;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}
.lsact .lsact-label {
  font-family: "Brown LL", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ==========================================================================
   9  HERO WITH FULL IMAGE  (.lsact-hero)
   ========================================================================== */
.lsact .lsact-hero {
  position: relative;
  height: 62vh;
  min-height: 460px;
  overflow: hidden;
}
.lsact .lsact-hero .lsact-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  max-width: none !important;
}
.lsact .lsact-hero .lsact-hero-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.lsact .lsact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(28,27,25,.6) 0%, rgba(28,27,25,.08) 50%, rgba(28,27,25,.2) 100%);
}
.lsact .lsact-hero .lsact-hero-content {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 52px;
  z-index: 2;
  margin: 0 !important;
  max-width: none !important;
  color: #fff;
}
.lsact .lsact-hero-content > * { margin-left: 0 !important; margin-right: 0 !important; }
.lsact .lsact-hero .lsact-label {
  color: #FCFAF7;
  letter-spacing: .25em;
  margin: 0 0 14px !important;
}
.lsact .lsact-hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 !important;
  max-width: 800px;
  color: #fff !important;
}

/* ==========================================================================
   10  CENTERED INTRO  (.lsact-intro)
   ========================================================================== */
.lsact .lsact-intro { padding: 96px 8vw 56px; }
.lsact .lsact-intro p {
  max-width: 640px;
  margin: 0 auto !important;
  text-align: center;
  font-size: 23px;
  line-height: 1.55;
  color: #1C1B19;
}

/* ==========================================================================
   11  ACTIVITY CATALOGUE WITH FILTERS  (.lsact-catalogue)
   ========================================================================== */
.lsact .lsact-catalogue { padding: 20px 8vw 110px; }
.lsact .lsact-catalogue-inner { max-width: 1344px; margin: 0 auto !important; }
.lsact .lsact-catalogue-inner > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }

/* Filter bar */
.lsact .lsact-filterbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 44px !important;
  border-top: 1px solid #7E8B6A;
  padding-top: 28px;
}
.lsact .lsact-filters { display: flex; gap: 12px; flex-wrap: wrap; }
.lsact .lsact-filter {
  cursor: pointer;
  font-family: "Brown LL", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 24px;
  margin: 0;
  border: 1px solid rgba(138,122,80,.5);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #1C1B19;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.lsact .lsact-filter:hover { border-color: #7E8B6A; color: #7E8B6A; background: transparent; }
.lsact .lsact-filter.is-active,
.lsact .lsact-filter.is-active:hover {
  background: #1C1B19;
  border-color: #7E8B6A;
  color: #FCFAF7;
}
.lsact .lsact-filter:focus-visible { outline: 2px solid #1C1B19; outline-offset: 3px; }
.lsact .lsact-count { color: #8A7A50; margin: 0; }

/* Grid */
.lsact .lsact-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 !important;
}
.lsact .lsact-grid > * { margin: 0 !important; max-width: none !important; }

/* Card */
.lsact .lsact-card {
  background: #EBD9D4;
  border-radius: 3px;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  transition: border-radius .5s ease;
}
.lsact .lsact-card:hover { border-radius: 3px 26px 3px 26px; }
.lsact .lsact-card.is-hidden { display: none !important; }
.lsact .lsact-card > *,
.lsact .lsact-card-body > *,
.lsact .lsact-card-meta > * { margin: 0 !important; max-width: none !important; }

.lsact .lsact-card .lsact-card-img { overflow: hidden; aspect-ratio: 3 / 2; width: 100%; }
.lsact .lsact-card .lsact-card-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.lsact .lsact-card:hover .lsact-card-img img { transform: scale(1.05); }

.lsact .lsact-card-body {
  padding: 24px 26px 28px;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.lsact .lsact-card-tag { color: #8A7A50; letter-spacing: .2em; }
.lsact .lsact-card h3 {
  font-size: 23px;
  line-height: 1.2;
  color: #1C1B19;
}
.lsact .lsact-card-body > p:not(.lsact-label) {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(28,27,25,.8);
  flex: 1;
}
.lsact .lsact-card-meta {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid rgba(138,122,80,.3);
  padding-top: 13px;
}
.lsact .lsact-card-price {
  font-family: "Caslon 540 LT Std", "Libre Caslon Text", Georgia, serif;
  font-size: 18px;
  line-height: 1.3;
  color: #1C1B19;
}
.lsact .lsact-card-info {
  font-family: "Brown LL", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(28,27,25,.65);
}

.lsact .lsact-note {
  margin: 48px auto 0 !important;
  max-width: 560px !important;
  text-align: center;
  font-style: italic;
  color: rgba(28,27,25,.7);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lsact .lsact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lsact .lsact-hero .lsact-hero-content { left: 20px; right: 20px; }
  .lsact .lsact-intro,
  .lsact .lsact-catalogue { padding-left: 20px; padding-right: 20px; }
  .lsact .lsact-grid { grid-template-columns: 1fr; }
  .lsact .lsact-filterbar { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .lsact .lsact-card,
  .lsact .lsact-card .lsact-card-img img,
  .lsact .lsact-filter { transition: none; }
  .lsact .lsact-card:hover .lsact-card-img img { transform: none; }
}
