.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(5, 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 a {
  position: relative;
  display: grid;
  gap: 0.2rem;
  min-height: 98px;
  padding: 1.25rem 3.1rem 1.25rem 1.25rem;
  border-right: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.76);
  font-weight: 760;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

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

.updates-intro-strip a::after {
  content: "\2192";
  position: absolute;
  right: 1.1rem;
  bottom: 1.08rem;
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  place-items: center;
  border: 1px solid rgba(217, 192, 140, 0.28);
  border-radius: 50%;
  color: #fffaf1;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  transition: transform 0.18s ease, background 0.18s ease;
}

.updates-intro-strip a:hover,
.updates-intro-strip a:focus-visible {
  color: #fffaf1;
  background: rgba(255, 255, 255, 0.08);
}

.updates-intro-strip a:hover::after,
.updates-intro-strip a:focus-visible::after {
  transform: translateX(2px);
  background: rgba(217, 192, 140, 0.2);
}

.updates-intro-strip a:focus-visible {
  outline: 3px solid rgba(217, 192, 140, 0.7);
  outline-offset: -3px;
}

.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-media {
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  color: inherit;
  background: var(--night-deep);
  text-decoration: none;
}

.updates-feature-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.updates-feature-media img {
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.updates-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 42, 0) 46%, rgba(10, 15, 42, 0.22) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 250, 241, 0.12), transparent 24%);
  pointer-events: none;
}

.updates-feature-media:hover img,
.updates-feature-media:focus-visible img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.018);
}

.updates-feature-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  width: clamp(58px, 7vw, 78px);
  height: clamp(58px, 7vw, 78px);
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 34%),
    linear-gradient(145deg, rgba(10, 15, 42, 0.72), rgba(10, 15, 42, 0.52));
  box-shadow:
    0 18px 44px rgba(10, 15, 42, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.updates-feature-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: clamp(10px, 1.25vw, 13px) solid transparent;
  border-bottom: clamp(10px, 1.25vw, 13px) solid transparent;
  border-left: clamp(16px, 1.9vw, 21px) solid #fffaf1;
}

.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);
}

.updates-video-modal {
  z-index: 220;
}

.updates-video-modal .video-modal-dialog {
  width: min(1040px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  overflow: visible;
}

.updates-video-modal .video-modal-frame {
  width: 100%;
  max-height: calc(100svh - 132px);
}

.updates-video-modal .video-modal-frame video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: calc(100svh - 132px);
  object-fit: contain;
  object-position: center center;
  background: #020617;
  border: 0;
}

.updates-video-modal .video-modal-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.updates-video-modal .video-modal-controls button {
  display: inline-grid;
  min-width: 54px;
  min-height: 40px;
  place-items: center;
  border: 1px solid rgba(217, 192, 140, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.08);
  color: #fffaf1;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.updates-video-modal .video-modal-controls button:hover,
.updates-video-modal .video-modal-controls button:focus-visible {
  border-color: rgba(217, 192, 140, 0.58);
  background: rgba(217, 192, 140, 0.16);
  transform: translateY(-1px);
}

.updates-video-modal .video-modal-controls [data-video-toggle] {
  min-width: 58px;
  width: 58px;
  color: #0a0f2a;
  background: linear-gradient(135deg, #f0d894, #d9c08c);
}

.updates-video-modal .video-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 20px;
}

.updates-video-modal .video-toggle-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.updates-video-modal [data-video-toggle].is-playing .video-toggle-icon::before,
.updates-video-modal [data-video-toggle].is-playing .video-toggle-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 5px;
  height: 16px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
}

.updates-video-modal [data-video-toggle].is-playing .video-toggle-icon::before {
  left: 5px;
}

.updates-video-modal [data-video-toggle].is-playing .video-toggle-icon::after {
  right: 5px;
}

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

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

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

  .updates-feature img,
  .updates-feature-media {
    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;
  }

  .updates-video-modal {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    align-items: center;
    overflow-y: auto;
  }

  .updates-video-modal .video-modal-dialog {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100svh - 20px);
    padding: 10px;
    border-radius: 16px;
  }

  .updates-video-modal .video-modal-frame,
  .updates-video-modal .video-modal-frame video {
    max-height: calc(100svh - 104px);
  }

  .updates-video-modal .video-modal-close {
    right: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
  }

  .updates-video-modal .video-modal-controls {
    gap: 8px;
    margin-top: 10px;
  }

  .updates-video-modal .video-modal-controls button {
    min-width: 48px;
    min-height: 38px;
    font-size: 0.82rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .updates-video-modal {
    padding: 6px;
  }

  .updates-video-modal .video-modal-dialog {
    width: min(100%, calc(100vw - 12px));
    max-height: calc(100svh - 12px);
    padding: 6px;
    border-radius: 12px;
  }

  .updates-video-modal .video-modal-frame,
  .updates-video-modal .video-modal-frame video {
    max-height: calc(100svh - 74px);
  }

  .updates-video-modal .video-modal-controls {
    margin-top: 6px;
  }

  .updates-video-modal .video-modal-controls button {
    min-height: 34px;
  }

  .updates-video-modal .video-modal-close {
    right: 4px;
    top: 4px;
    width: 34px;
    height: 34px;
  }
}
