.updates-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  color: #fffaf1;
  background:
    linear-gradient(90deg, rgba(7, 11, 31, 0.9) 0%, rgba(10, 15, 42, 0.74) 48%, rgba(10, 15, 42, 0.26) 100%),
    url("/assets/images/cabinet-hypnose-premium.jpg") center / cover no-repeat;
}

.updates-hero .container {
  position: relative;
  z-index: 1;
}

.updates-hero-copy {
  max-width: 830px;
}

.updates-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fffaf1;
  font-size: clamp(2.5rem, 5.8vw, 5.1rem);
  line-height: 0.98;
  text-wrap: balance;
}

.updates-hero .lead {
  max-width: 720px;
  color: rgba(255, 250, 241, 0.84);
}

.updates-intro-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(217, 192, 140, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(14px);
}

.updates-intro-strip span {
  display: grid;
  gap: 0.2rem;
  min-height: 98px;
  padding: 1.25rem;
  border-right: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.76);
  font-weight: 760;
}

.updates-intro-strip span:last-child {
  border-right: 0;
}

.updates-intro-strip strong {
  color: #f0d894;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updates-page {
  background:
    linear-gradient(180deg, #eef4f8 0%, #f8fafc 34%, #eef5f8 100%);
  color: var(--ink-dark);
}

.updates-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(8, 22, 47, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(8, 22, 47, 0.1);
}

.updates-feature img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.updates-feature-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.7rem, 4vw, 3.2rem);
}

.updates-feature-copy h2 {
  margin: 0;
  color: var(--night-deep);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  text-wrap: balance;
}

.updates-feature-copy p {
  margin: 0;
  color: #52606d;
}

.updates-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.updates-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(176, 122, 29, 0.16);
  border-radius: 999px;
  background: rgba(217, 192, 140, 0.17);
  color: #7d6232;
  font-size: 0.8rem;
  font-weight: 850;
}

.updates-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.updates-section-head h2 {
  margin: 0;
  color: var(--night-deep);
}

.updates-section-head p {
  max-width: 520px;
  margin: 0;
  color: #52606d;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.updates-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  min-height: 250px;
  padding: 1.45rem 4.35rem 1.45rem 1.45rem;
  border: 1px solid rgba(8, 22, 47, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.94));
  color: var(--ink-dark);
  text-decoration: none;
  box-shadow: 0 18px 46px rgba(8, 22, 47, 0.075);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.updates-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 122, 29, 0.28);
  box-shadow: 0 24px 58px rgba(8, 22, 47, 0.12);
}

.updates-card::after {
  content: "\2192";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--night-deep);
  color: #fffaf1;
  font-weight: 900;
  transition: transform 0.18s ease;
}

.updates-card:hover::after {
  transform: translateX(2px);
}

.updates-card time,
.updates-card span {
  color: #9b732f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updates-card h3 {
  margin: 0;
  color: var(--night-deep);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.14;
}

.updates-card p {
  margin: 0;
  color: #52606d;
}

.updates-card.is-dark {
  border-color: rgba(217, 192, 140, 0.24);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(31, 41, 61, 0.98));
  color: #fffaf1;
}

.updates-card.is-dark h3,
.updates-card.is-dark p {
  color: #fffaf1;
}

.updates-card.is-dark p {
  color: rgba(255, 250, 241, 0.78);
}

.updates-card.is-dark::after {
  background: linear-gradient(135deg, #f0d894, #d9c08c);
  color: var(--night-deep);
}

.updates-cta {
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(217, 192, 140, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #070b1f 0%, #0f172a 55%, #182033 100%);
  color: #fffaf1;
}

.updates-cta h2 {
  margin: 0 0 0.8rem;
  color: #fffaf1;
}

.updates-cta p {
  max-width: 780px;
  color: rgba(255, 250, 241, 0.78);
}

@media (max-width: 980px) {
  .updates-feature,
  .updates-grid,
  .updates-intro-strip {
    grid-template-columns: 1fr;
  }

  .updates-intro-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  }

  .updates-intro-strip span:last-child {
    border-bottom: 0;
  }

  .updates-feature img {
    min-height: 260px;
    aspect-ratio: 16 / 10;
  }

  .updates-section-head {
    display: grid;
  }
}

@media (max-width: 640px) {
  .updates-hero {
    padding-top: 3.4rem;
  }

  .updates-card {
    min-height: 220px;
    padding: 1.35rem 4rem 1.35rem 1.35rem;
  }
}
