/* Global theme styles - Phase 3 navigation and footer */

/* Montserrat v31, self-hosted. Extended characters are fetched only when needed. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat/montserrat-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat/montserrat-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --dramasdeu-color-bg: #fdf8f7;
  --dramasdeu-color-bg-page-default: #f4f6fa;
  --dramasdeu-color-surface: #ffffff;
  --dramasdeu-color-text: #373b4d;
  --dramasdeu-color-text-muted: #646b79;
  --dramasdeu-color-primary: #8e9dcd;
  --dramasdeu-color-primary-dark: #596e9f;
  /* Lavender carries the identity; its darker companion carries readable text. */
  --dramasdeu-color-heading: var(--dramasdeu-color-primary-dark);
  --dramasdeu-color-emphasis: var(--dramasdeu-color-primary-dark);
  --dramasdeu-color-primary-hover: #465b8c;
  --dramasdeu-color-brand-soft: #eef0f8;
  --dramasdeu-color-brand-border: #c6cede;
  --dramasdeu-color-border: #e5e7eb;
  --dramasdeu-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
  --dramasdeu-header-height: 5rem;
  --dramasdeu-content-max: 1120px;
  --dramasdeu-section-title-size: clamp(1.125rem, 1.7vw, 1.375rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background: var(--dramasdeu-color-bg);
  color: var(--dramasdeu-color-text);
  display: flex;
  flex-direction: column;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
  overflow-x: clip;
}

body.page-template-default:not(.home),
body.error404,
body.single-post,
body.blog:not(.home),
body.archive,
body.search {
  background: var(--dramasdeu-color-bg-page-default);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

a,
button {
  -webkit-tap-highlight-color: rgba(78, 93, 137, 0.18);
}

.dramasdeu-skip-link {
  align-items: center;
  background: var(--dramasdeu-color-surface);
  border: 2px solid var(--dramasdeu-color-primary-dark);
  border-radius: 0 0 0.55rem 0.55rem;
  color: var(--dramasdeu-color-primary-dark);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  left: 0.85rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  position: fixed;
  text-decoration: none;
  top: 0;
  transform: translateY(calc(-100% - 0.25rem));
  transition: transform 0.18s ease;
  z-index: 100001;
}

.dramasdeu-skip-link:focus,
.dramasdeu-skip-link:focus-visible {
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 2px;
  transform: translateY(0);
}

.dramasdeu-main {
  flex: 1 0 auto;
  padding-top: var(--dramasdeu-header-height);
}

.dramasdeu-container {
  margin-inline: auto;
  max-width: var(--dramasdeu-content-max);
  padding-inline: clamp(0.85rem, calc(0.35rem + 2.5vw), 2rem);
  width: 100%;
}

/* Header */
.site-header {
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 253, 0.9);
  border-bottom: 1px solid #dee6f3;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.28s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1000;
}

.site-header.is-scrolled {
  background: rgba(248, 250, 253, 0.955);
  border-bottom-color: #d6deee;
  box-shadow: 0 7px 16px rgba(37, 52, 91, 0.065);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: var(--dramasdeu-header-height);
}

.site-header__brand {
  min-width: 140px;
}

.site-header__logo,
.site-header__brand .custom-logo {
  display: block;
  height: auto;
  max-height: 3rem;
  width: auto;
}

.site-header__title {
  color: var(--dramasdeu-color-primary-dark);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header__menu-toggle {
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  color: var(--dramasdeu-color-primary-dark);
  cursor: pointer;
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem;
}

.site-header__menu-toggle-bar {
  background: currentColor;
  border-radius: 10px;
  display: block;
  height: 2px;
  margin: 5px auto;
  width: 22px;
}

.site-header__menu-panel {
  align-items: center;
  display: flex;
  gap: 1.25rem;
}

.site-header__locale-switcher {
  align-items: center;
  display: inline-flex;
  /* Optical alignment of the smaller uppercase labels with the navigation text. */
  transform: translateY(1px);
}

.site-locale {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-locale__item {
  margin: 0;
}

.site-locale__item + .site-locale__item {
  margin-left: 0.42rem;
  padding-left: 0.5rem;
  position: relative;
}

.site-locale__item + .site-locale__item::before {
  background: rgba(90, 107, 143, 0.28);
  content: "";
  height: 0.82rem;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.site-locale__link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--dramasdeu-color-heading);
  cursor: pointer;
  font-size: 0.77rem;
  font-weight: 560;
  letter-spacing: 0.045em;
  min-height: 44px;
  min-width: 32px;
  padding: 0.18rem 0.08rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-locale__link[href]:hover,
.site-locale__link[href]:focus-visible {
  color: var(--dramasdeu-color-primary-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-locale__link[href]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.site-locale__link.is-current {
  background: transparent;
  color: var(--dramasdeu-color-primary-hover);
  cursor: default;
  font-weight: 650;
}

.site-locale__link.is-unavailable {
  cursor: default;
  opacity: 0.55;
}

.site-header__nav {
  display: block;
}

.site-menu {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
  color: var(--dramasdeu-color-text);
  font-size: 0.94rem;
  font-weight: 520;
  letter-spacing: 0.008em;
  position: relative;
  text-decoration: none;
  transition: color 0.22s ease;
}

.site-menu--primary a {
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .site-menu--primary a[data-menu-label] {
    flex-direction: column;
    justify-content: center;
  }

  .site-menu--primary a[data-menu-label]::before {
    content: attr(data-menu-label);
    font-weight: 600;
    height: 0;
    line-height: 0;
    visibility: hidden;
    white-space: nowrap;
  }
}

.site-menu--primary a::after {
  background: var(--dramasdeu-color-primary);
  border-radius: 999px;
  content: "";
  height: 1.8px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  transform: scaleX(0.3);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--dramasdeu-color-heading);
}

.site-menu--primary a:hover::after,
.site-menu--primary a:focus-visible::after,
.site-menu .current-menu-item > a::after,
.site-menu .current_page_item > a::after,
.site-menu .current-page-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-menu .current-menu-item > a,
.site-menu .current_page_item > a,
.site-menu .current-page-ancestor > a {
  color: var(--dramasdeu-color-heading);
  font-weight: 600;
  text-decoration: none;
}

.site-header__cta {
  background: var(--dramasdeu-color-primary-dark);
  border-radius: 0.62rem;
  color: #ffffff;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  padding: 0.65rem 1.02rem;
  text-decoration: none;
  transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  background: var(--dramasdeu-color-primary-hover);
  box-shadow: 0 7px 14px rgba(60, 78, 127, 0.17);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header__inner,
  .site-menu a,
  .site-menu--primary a::after,
  .site-header__cta {
    transition: none;
  }

  .site-header__cta:hover,
  .site-header__cta:focus-visible {
    transform: none;
  }
}

/* Footer */
.site-footer {
  background: #f8f9fc;
  border-top: 1px solid #d9e2f2;
  flex: 0 0 auto;
  margin-top: 0;
  padding: 1.875rem 0;
}

.site-footer__inner {
  align-items: center;
  display: flex;
  gap: 2.35rem;
  justify-content: space-between;
}

.site-footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.site-footer__brand {
  line-height: 0;
}

.site-footer__brand .custom-logo,
.site-footer__logo {
  display: block;
  height: auto;
  max-height: 3.1rem;
  object-fit: contain;
  width: auto;
}

.site-footer__title {
  color: var(--dramasdeu-color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
}

.site-footer__contact {
  color: var(--dramasdeu-color-text-muted);
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  gap: 0.25rem;
  line-height: 1.5;
  margin: 0;
}

.site-footer__contact a {
  color: var(--dramasdeu-color-heading);
  text-decoration: none;
}

.site-footer__nav-block {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.site-menu--footer {
  gap: 0.95rem;
}

.site-menu--footer a {
  color: var(--dramasdeu-color-heading);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.site-menu--footer a:hover,
.site-menu--footer a:focus-visible {
  color: var(--dramasdeu-color-primary-hover);
  text-decoration: underline;
  text-decoration-color: rgba(54, 74, 122, 0.45);
}

.site-footer__copyright {
  color: var(--dramasdeu-color-text-muted);
  font-size: 0.81rem;
  line-height: 1.4;
  margin: 0;
}

/* Generic section spacing */
.dramasdeu-section {
  padding: 2.5rem 0;
}

.dramasdeu-button {
  align-items: center;
  background: var(--dramasdeu-color-primary-dark);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.dramasdeu-button--ghost {
  background: transparent;
  border-color: var(--dramasdeu-color-primary-dark);
  color: var(--dramasdeu-color-primary-dark);
}

.dramasdeu-button--ghost:hover,
.dramasdeu-button--ghost:focus-visible {
  background: var(--dramasdeu-color-brand-soft);
}

/* Home - Hero */
.dramasdeu-visually-hidden {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.dramasdeu-home-hero {
  min-height: clamp(420px, 72vh, 760px);
  overflow: hidden;
  position: relative;
}

.dramasdeu-home-hero__media,
.dramasdeu-home-hero__overlay {
  inset: 0;
  position: absolute;
}

.dramasdeu-home-hero__image {
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.075) translateY(-3.2%);
  transform-origin: center;
  width: 100%;
}

.dramasdeu-home-hero__overlay {
  background: linear-gradient(90deg, rgba(248, 250, 253, 0.78) 0%, rgba(248, 250, 253, 0.52) 35%, rgba(248, 250, 253, 0.14) 73%);
}

.dramasdeu-home-hero__content-wrap {
  align-items: center;
  display: flex;
  min-height: clamp(420px, 72vh, 760px);
  position: relative;
  z-index: 1;
}

.dramasdeu-home-hero__content {
  max-width: min(100%, 64rem);
  transform: translateY(-8px);
}

.dramasdeu-home-hero__title {
  color: #1d2436;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin: 0 0 1.3rem;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.48);
  text-wrap: balance;
}

.dramasdeu-home-hero__title span {
  color: var(--dramasdeu-color-primary-dark);
  display: inline-block;
  font-size: 1.08em;
  font-weight: 850;
  letter-spacing: -0.045em;
  text-shadow: 0 5px 16px rgba(91, 113, 177, 0.2);
}

.dramasdeu-home-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.dramasdeu-home-hero__actions .dramasdeu-button {
  border-radius: 0.62rem;
  font-size: 0.89rem;
  letter-spacing: 0.008em;
  min-height: 46px;
  min-width: 13.35rem;
  padding: 0.72rem 1.16rem;
}

.dramasdeu-home-hero__actions .dramasdeu-button--primary {
  background: var(--dramasdeu-color-primary-dark);
  border-color: var(--dramasdeu-color-primary-dark);
}

.dramasdeu-home-hero__actions .dramasdeu-button--primary:hover,
.dramasdeu-home-hero__actions .dramasdeu-button--primary:focus-visible {
  background: #536895;
  border-color: #536895;
  box-shadow: 0 9px 20px rgba(64, 82, 133, 0.2);
}

.dramasdeu-home-hero__actions .dramasdeu-button--ghost {
  background: rgba(246, 249, 254, 0.86);
  border-color: #516792;
  color: #3b4f78;
}

.dramasdeu-home-hero__actions .dramasdeu-button--ghost:hover,
.dramasdeu-home-hero__actions .dramasdeu-button--ghost:focus-visible {
  background: rgba(235, 241, 251, 0.98);
  border-color: #48608c;
  box-shadow: 0 8px 18px rgba(68, 86, 134, 0.15);
}

/* Spanish home: original identity artwork, white slogan and matching actions. */
.dramasdeu-home-hero--branded .dramasdeu-home-hero__overlay {
  display: none;
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__image {
  object-position: center;
  transform: none;
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__content-wrap {
  justify-content: center;
  padding-block: clamp(2rem, 5vw, 4rem);
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__content {
  max-width: 56rem;
  text-align: center;
  transform: none;
  width: 100%;
}

.dramasdeu-home-hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 432 / 183;
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  width: min(27rem, 80%);
}

.dramasdeu-home-hero__identity {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0;
  width: clamp(12rem, 26vw, 17rem);
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__title {
  color: #fff;
  font-size: clamp(1.75rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 auto 1.65rem;
  text-shadow: 0 2px 12px rgba(29, 42, 71, 0.3);
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__title span {
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: inherit;
  text-shadow: inherit;
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__actions {
  justify-content: center;
  gap: 0.6rem 1.5rem;
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__actions .dramasdeu-button {
  background: rgba(89, 110, 159, 0.72);
  border-color: rgba(89, 110, 159, 0.72);
  border-radius: 1.5rem;
  box-shadow: none;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 44px;
  min-width: 0;
  padding: 0.65rem 1.2rem;
  width: 14.5rem;
}

.dramasdeu-home-hero--branded .dramasdeu-home-hero__actions .dramasdeu-button:hover,
.dramasdeu-home-hero--branded .dramasdeu-home-hero__actions .dramasdeu-button:focus-visible {
  background: rgba(89, 110, 159, 0.84);
  border-color: rgba(89, 110, 159, 0.84);
}

/* Home - Treatments */
@media (min-width: 768px) {
  .dramasdeu-home-hero.dramasdeu-home-hero--branded,
  .dramasdeu-home-hero--branded .dramasdeu-home-hero__content-wrap {
    min-height: clamp(420px, 62vh, 680px);
  }
}

@media (max-width: 767px) {
  .dramasdeu-home-hero.dramasdeu-home-hero--branded,
  .dramasdeu-home-hero--branded .dramasdeu-home-hero__content-wrap {
    min-height: clamp(350px, 60vh, 476px);
  }
}

.dramasdeu-home-treatments {
  background: #f4f6fa;
  padding: clamp(1.7rem, 4vw, 2.8rem) 0 clamp(1.7rem, 4.2vw, 2.7rem);
}

.dramasdeu-home-treatments__header {
  margin-bottom: 1.62rem;
  text-align: center;
}

.dramasdeu-home-treatments__title {
  background: linear-gradient(105deg, #1f2b48 0%, #4e639b 100%);
  background-clip: text;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dramasdeu-home-treatments__grid {
  align-items: start;
  display: grid;
  gap: 0.94rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dramasdeu-treatment-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding: 1.05rem 0 0.45rem;
  transition: none;
}

.dramasdeu-treatment-card::before {
  background: linear-gradient(90deg, rgba(142, 157, 205, 0.22), rgba(142, 157, 205, 0));
  border-radius: 999px;
  content: "";
  display: block;
  height: 2px;
  margin-bottom: 0.8rem;
  width: min(52%, 10.8rem);
}

.dramasdeu-treatment-card__title {
  align-items: flex-start;
  color: var(--dramasdeu-color-heading);
  display: flex;
  font-size: clamp(1.31rem, 1.48vw, 1.58rem);
  font-weight: 500;
  gap: 0.65rem;
  letter-spacing: -0.01em;
  line-height: 1.16;
  margin: 0 0 0.66rem;
  min-height: 3.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--dramasdeu-color-brand-border);
}

.dramasdeu-treatment-card__title > span:last-child {
  flex: 1 1 auto;
  padding-top: calc((2.58rem - 1lh) / 2);
  text-wrap: pretty;
  text-wrap: balance;
}

.dramasdeu-title-icon {
  align-items: center;
  background: var(--dramasdeu-color-brand-soft);
  border-radius: 999px;
  color: var(--dramasdeu-color-primary);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.58rem;
  justify-content: center;
  width: 2.58rem;
}

.dramasdeu-title-icon svg {
  display: block;
  height: 1.05rem;
  width: 1.05rem;
}

.dramasdeu-treatment-card__subtitle {
  color: #6f7c99;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  margin: 0 0 0.6rem;
  text-align: center;
  text-transform: uppercase;
}

.dramasdeu-treatment-card__list {
  list-style: none;
  display: grid;
  gap: 0.36rem 1.6rem;
  margin: 0.95rem 0 0;
  padding-left: 0;
}

@media (min-width: 1200px) {
  .dramasdeu-home-treatments__grid {
    column-gap: 5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dramasdeu-treatment-card__title {
    align-items: flex-start;
    min-height: 4.05rem;
  }

  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:first-child > .dramasdeu-treatment-card__title {
    align-self: flex-start;
  }

  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:first-child > .dramasdeu-treatment-card__subtitle,
  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:first-child > .dramasdeu-treatment-card__list {
    align-self: flex-start;
    margin-inline: 0;
  }

  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:nth-child(2) > .dramasdeu-treatment-card__subtitle,
  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:nth-child(2) > .dramasdeu-treatment-card__list {
    align-self: flex-end;
    margin-inline: 0;
  }

  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:nth-child(2) > .dramasdeu-treatment-card__title {
    align-self: flex-end;
    width: min(100%, 24.65rem);
  }

  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:nth-child(2)::before {
    align-self: flex-end;
    margin-inline-end: calc(min(100%, 24.65rem) - min(52%, 10.8rem));
  }

  .dramasdeu-treatment-card__list {
    column-count: 2;
    column-gap: 1.28rem;
    display: block;
    margin-inline: 0;
    width: min(100%, 24.65rem);
  }

  .dramasdeu-treatment-card__subtitle {
    margin-inline: 0;
    width: min(100%, 24.65rem);
  }

  .dramasdeu-treatment-card__list li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 0.38rem;
  }
}

.dramasdeu-treatment-card__list li {
  color: var(--dramasdeu-color-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.47;
  margin: 0;
  padding-left: 1.2rem;
  position: relative;
}

.dramasdeu-treatment-card__list li::before {
  background: #323d58;
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 0;
  opacity: 0.82;
  position: absolute;
  top: 0.60em;
  width: 4px;
}

@media (hover: hover) {
  .dramasdeu-treatment-card:hover {
    box-shadow: none;
    transform: none;
  }
}

/* Spanish treatment lists: equal columns, one item per row and the brand head. */
.dramasdeu-home-treatments.dramasdeu-home-treatments--balanced {
  background: #fff;
  padding-top: clamp(2.5rem, 3vw, 3rem);
}

.dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__header {
  margin-bottom: 1.5rem;
}

.dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__title {
  background: none;
  color: var(--dramasdeu-color-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.025em;
  line-height: 1.25;
  margin: 0;
  text-align: center;
  text-shadow: none;
  -webkit-text-fill-color: currentColor;
}

.dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__grid {
  column-gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dramasdeu-home-treatments--balanced .dramasdeu-treatment-card::before {
  display: none;
}

.dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card > .dramasdeu-treatment-card__title {
  align-items: center;
  align-self: stretch;
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  gap: 0.55rem;
  justify-content: center;
  line-height: 1.35;
  min-height: 3.25rem;
  text-align: center;
  width: 100%;
}

.dramasdeu-home-treatments--balanced .dramasdeu-treatment-card__title > span:last-child {
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
  padding-top: 0;
  text-wrap: balance;
}

.dramasdeu-home-treatments--balanced .dramasdeu-title-icon {
  background: transparent;
  border-radius: 0;
  height: 1.5rem;
  width: 1.5rem;
}

.dramasdeu-home-treatments--balanced .dramasdeu-title-icon img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card > .dramasdeu-treatment-card__list {
  align-self: stretch;
  column-count: auto;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr);
  margin-inline: 0;
  text-align: center;
  width: 100%;
}

.dramasdeu-home-treatments--balanced .dramasdeu-treatment-card__list li {
  margin: 0;
  padding-left: 0;
}

.dramasdeu-home-treatments--balanced .dramasdeu-treatment-card__list li::before {
  display: none;
}

@media (max-width: 767px) {
  .dramasdeu-home-treatments.dramasdeu-home-treatments--balanced {
    padding-top: 2rem;
  }

  .dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.5rem;
  }

  .dramasdeu-home-treatments--balanced .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card > .dramasdeu-treatment-card__title {
    min-height: 0;
  }
}

/* Home - Contact note */
.dramasdeu-home-contact-note {
  align-items: center;
  background: #f4f6fa;
  display: flex;
  padding: clamp(0.55rem, 1.2vw, 0.75rem) 0 clamp(1.3rem, 2.8vw, 1.85rem);
}

.dramasdeu-home-contact-note__panel {
  display: grid;
  gap: 0;
  padding: 0.2rem 0 0;
  position: relative;
}

.dramasdeu-home-contact-note__panel::before {
  background: linear-gradient(90deg, rgba(103, 121, 172, 0), rgba(103, 121, 172, 0.75), rgba(103, 121, 172, 0));
  content: "";
  display: block;
  height: 2px;
  margin: 0 auto 0.78rem;
  width: min(8rem, 32vw);
}

.dramasdeu-home-contact-note__text {
  align-items: center;
  color: var(--dramasdeu-color-text);
  display: flex;
  font-size: 1.03rem;
  gap: 0.62rem;
  justify-content: center;
  line-height: 1.64;
  margin: 0 auto;
  max-width: min(100%, 58rem);
  text-align: left;
}

.dramasdeu-home-contact-note__text-copy {
  flex: 1 1 auto;
  max-width: 100%;
}

.dramasdeu-home-contact-note__text-line {
  display: block;
  text-wrap: pretty;
}

.dramasdeu-home-contact-note__text-line + .dramasdeu-home-contact-note__text-line {
  margin-top: 0.08rem;
}

.dramasdeu-title-icon--contact {
  background: #e1e7f4;
  border: 1px solid #d4deef;
  color: #4f5f8f;
  display: flex;
  height: 2.45rem;
  justify-content: center;
  margin: 0;
  transform: translateY(0);
  vertical-align: middle;
  width: 2.45rem;
}

.dramasdeu-home-contact-note__text-icon {
  margin-top: 0;
}

.dramasdeu-home-contact-note--personalized {
  background: #fff;
}

.dramasdeu-home-contact-note--personalized .dramasdeu-home-contact-note__panel::before {
  display: none;
}

.dramasdeu-home-contact-note--personalized .dramasdeu-home-contact-note__text {
  font-size: 0.85rem;
  line-height: 1.55;
  max-width: 100%;
}

.dramasdeu-home-contact-note__avatar {
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  height: 3rem;
  object-fit: contain;
  width: 3rem;
}

@media (max-width: 639px) {
  .dramasdeu-home-contact-note--personalized .dramasdeu-home-contact-note__text {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: left;
  }

  .dramasdeu-home-contact-note--personalized .dramasdeu-home-contact-note__text-copy {
    display: block;
  }
}

.dramasdeu-title-icon--contact svg {
  height: 1.25rem;
  width: 1.25rem;
}

.dramasdeu-home-contact-note__action {
  margin: 0.95rem 0 0;
  text-align: center;
}

.dramasdeu-home-contact-note__button {
  background: var(--dramasdeu-color-primary-dark);
  border-color: var(--dramasdeu-color-primary-dark);
  color: #fff;
  letter-spacing: 0.01em;
  min-width: 13.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.dramasdeu-home-contact-note__button:focus-visible {
  background: #4d6197;
  border-color: #4d6197;
  outline: 2px solid rgba(39, 53, 94, 0.45);
  outline-offset: 2px;
}

.dramasdeu-home-contact-note__button:active {
  background: #445888;
  border-color: #445888;
  transform: translateY(0);
}

.dramasdeu-home-contact-note__meta {
  align-items: center;
  color: #66728e;
  display: flex;
  font-size: 0.86rem;
  gap: 0.4rem;
  justify-content: center;
  line-height: 1.5;
  margin: 0.6rem 0 0;
  text-align: center;
}

.dramasdeu-home-contact-note__meta-icon {
  color: #60729f;
  display: inline-flex;
  flex: 0 0 auto;
}

.dramasdeu-home-contact-note__meta-icon svg {
  display: block;
  height: 0.92rem;
  width: 0.92rem;
}

@media (hover: hover) {
  .dramasdeu-home-contact-note__button:hover,
  .dramasdeu-home-contact-note__button:focus-visible {
    background: #4d6197;
    border-color: #4d6197;
    box-shadow: 0 10px 24px rgba(66, 84, 138, 0.22);
    transform: translateY(-1px);
  }
}

/* Editorial testimonials: original white review-card presentation, manual navigation. */
.dramasdeu-testimonials {
  background: #fff;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.dramasdeu-testimonials__track {
  --testimonial-columns: min(3, var(--testimonials-count));
  display: grid;
  grid-auto-columns: calc((100% - (var(--testimonial-columns) - 1) * 1.25rem) / var(--testimonial-columns));
  grid-auto-flow: column;
  gap: 1.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0.25rem;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dramasdeu-testimonials__track::-webkit-scrollbar { display: none; }

.dramasdeu-testimonials__card {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  box-shadow: none;
  color: #373b4d;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  scroll-snap-align: start;
}

.dramasdeu-testimonials__quote { display: flex; flex-direction: column; gap: 4px; margin: 0; width: 100%; }
.dramasdeu-testimonials__copy { color: #222; font-size: 15px; font-weight: 400; line-height: 24px; min-height: 120px; overflow-wrap: anywhere; }
.dramasdeu-testimonials__copy p { margin: 0; }
.dramasdeu-testimonials__copy p + p { margin-top: 0.7em; }
.dramasdeu-testimonials__copy p:last-child { margin-bottom: 0; }
.dramasdeu-testimonials__copy.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.dramasdeu-testimonials__copy.is-truncated { -webkit-line-clamp: 4; min-height: 96px; }

.dramasdeu-testimonials__author {
  align-items: center;
  color: #4f628e;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 12px;
  line-height: normal;
  margin: 0;
  width: 100%;
}
.dramasdeu-testimonials__author img { border-radius: 50%; flex: 0 0 auto; height: 44px; object-fit: cover; width: 44px; }
.dramasdeu-testimonials__author-details { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dramasdeu-testimonials__name { overflow-wrap: anywhere; }
.dramasdeu-testimonials__date { color: #667085; font-size: 12.8px; font-weight: 400; line-height: 1.4; }
.dramasdeu-testimonials__stars { color: #fb8e28; display: flex; flex: 0 0 auto; gap: 2px; height: 20px; line-height: 1; }
.dramasdeu-testimonials__stars svg { display: block; flex: 0 0 20px; height: 20px; width: 20px; }
.dramasdeu-testimonials__more {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #40577e;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  line-height: 1.4;
  margin-top: 2px;
  min-height: 0;
  padding: 0;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.2em;
}
.dramasdeu-testimonials__more:hover,
.dramasdeu-testimonials__more:focus-visible { text-decoration: underline; }
.dramasdeu-testimonials__controls { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.75rem; }
.dramasdeu-testimonials__controls button {
  background: transparent;
  border: 0;
  border-radius: 0.35rem;
  color: #40577e;
  cursor: pointer;
  font-size: 1.5rem;
  height: 44px;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}
.dramasdeu-testimonials__controls button::before {
  background: var(--testimonial-control-highlight, transparent);
  border-radius: 5px;
  content: '';
  height: 30px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
}
.dramasdeu-testimonials__controls button svg { position: relative; }
.dramasdeu-testimonials__controls button:hover,
.dramasdeu-testimonials__controls button:focus-visible { --testimonial-control-highlight: #edf1f8; }
.dramasdeu-testimonials__controls button:disabled { cursor: default; opacity: 0.35; }
.dramasdeu-testimonials [hidden] { display: none; }
.dramasdeu-testimonials button:focus-visible,
.dramasdeu-testimonials__track:focus-visible { outline: 2px solid #40577e; outline-offset: 2px; }

@media (max-width: 1023px) {
  .dramasdeu-testimonials__track { --testimonial-columns: min(2, var(--testimonials-count)); }
}
@media (max-width: 639px) {
  .dramasdeu-testimonials__track { --testimonial-columns: 1; }
}

/* Internal pages */
.dramasdeu-inner-hero {
  max-height: 360px;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.dramasdeu-inner-hero::after {
  background: linear-gradient(180deg, rgba(78, 93, 137, 0.12), rgba(78, 93, 137, 0.12));
  content: "";
  inset: 0;
  position: absolute;
}

.dramasdeu-inner-hero__image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.dramasdeu-page-section {
  padding: clamp(1.5rem, 5vw, 2.5rem) 0;
}

.dramasdeu-page-section__header {
  margin-bottom: 2rem;
}

.dramasdeu-page-section__header--center {
  text-align: center;
}

.dramasdeu-page-title {
  color: #1f2331;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.dramasdeu-page-intro {
  color: var(--dramasdeu-color-text-muted);
  font-size: 1.06rem;
  line-height: 1.7;
  margin: 0.9rem auto 0;
  max-width: 860px;
}

/* Generic page, post, index and 404 content */
#videos,
#preguntas-frecuentes {
  scroll-margin-top: 8rem;
}

.dramasdeu-gallery-faq {
  background: var(--dramasdeu-color-bg-page-default);
  padding-block: clamp(2rem, 5vw, 4rem);
}

.dramasdeu-gallery-faq__content {
  max-width: 52rem;
  margin-inline: auto;
  font-size: 15.2px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.dramasdeu-gallery-faq h2 {
  color: var(--dramasdeu-color-heading);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.dramasdeu-gallery-faq__group {
  margin-top: 2.25rem;
}

.dramasdeu-gallery-faq__group h3 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.dramasdeu-gallery-faq__item {
  border-bottom: 1px solid #c6cede;
}

.dramasdeu-gallery-faq__item:first-of-type {
  border-top: 1px solid #c6cede;
}

.dramasdeu-gallery-faq summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  min-height: 3.5rem;
  padding: 1rem 0.25rem;
  font-weight: 600;
  line-height: 1.6;
}

.dramasdeu-gallery-faq summary::-webkit-details-marker {
  display: none;
}

.dramasdeu-gallery-faq summary:focus-visible {
  outline: 2px solid var(--dramasdeu-color-text);
  outline-offset: 3px;
}

.dramasdeu-gallery-faq__icon {
  width: 1rem;
  height: 1rem;
  position: relative;
  flex-shrink: 0;
}

.dramasdeu-gallery-faq__icon::before,
.dramasdeu-gallery-faq__icon::after {
  content: '';
  background: currentColor;
  position: absolute;
  inset: calc(50% - 1px) 0;
  height: 2px;
}

.dramasdeu-gallery-faq__icon::after {
  transform: rotate(90deg);
}

.dramasdeu-gallery-faq details[open] .dramasdeu-gallery-faq__icon::after {
  display: none;
}

.dramasdeu-gallery-faq__answer {
  max-width: 75ch;
  padding: 0 1.5rem 1rem 0.25rem;
}

.dramasdeu-gallery-faq__answer p {
  margin: 0;
}

.dramasdeu-gallery-faq__contact {
  margin-top: 1.5rem;
}

.dramasdeu-gallery-faq__contact h3 {
  margin: 0 0 1rem;
}

.dramasdeu-gallery-faq__contact .dramasdeu-button {
  transition: background-color 180ms ease;
}

.dramasdeu-gallery-faq__contact .dramasdeu-button:focus-visible {
  background: #4f628e;
}

@media (hover: hover) {
  .dramasdeu-gallery-faq__contact .dramasdeu-button:hover {
    background: #4f628e;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dramasdeu-gallery-faq__contact .dramasdeu-button {
    transition: none;
  }
}

.dramasdeu-generic-prose {
  margin-inline: auto;
  max-width: 48rem;
  width: 100%;
}

.dramasdeu-generic-entry {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.dramasdeu-generic-route-header {
  padding-top: clamp(2.5rem, 7vw, 5rem);
}

.dramasdeu-generic-entry--index + .dramasdeu-generic-entry--index {
  border-top: 1px solid var(--dramasdeu-color-border);
}

.dramasdeu-generic-entry__header {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.dramasdeu-generic-entry__title,
.dramasdeu-not-found__title {
  color: var(--dramasdeu-color-text);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.dramasdeu-generic-entry__content {
  color: var(--dramasdeu-color-text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.dramasdeu-generic-entry__content > :first-child {
  margin-top: 0;
}

.dramasdeu-generic-entry__content > :last-child {
  margin-bottom: 0;
}

.dramasdeu-generic-entry__content h2,
.dramasdeu-generic-entry__content h3,
.dramasdeu-generic-entry__content h4,
.dramasdeu-generic-entry__content h5,
.dramasdeu-generic-entry__content h6 {
  color: var(--dramasdeu-color-text);
  line-height: 1.3;
  margin-block: 1.75em 0.65em;
  text-wrap: pretty;
}

.dramasdeu-generic-entry__content a {
  color: var(--dramasdeu-color-primary-dark);
  text-decoration-color: var(--dramasdeu-color-primary);
  text-underline-offset: 0.2em;
}

.dramasdeu-generic-empty {
  color: var(--dramasdeu-color-text-muted);
  line-height: 1.7;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.dramasdeu-section--404 {
  padding-block: clamp(3.5rem, 10vw, 7rem);
}

.dramasdeu-not-found__content {
  text-align: center;
}

.dramasdeu-not-found__text {
  color: var(--dramasdeu-color-text-muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  margin: 1rem 0 0;
}

.dramasdeu-not-found__action {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
}

.dramasdeu-not-found__link {
  transition: background-color 180ms ease;
}

.dramasdeu-not-found__link:hover,
.dramasdeu-not-found__link:focus-visible {
  background-color: #4f628e;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .dramasdeu-not-found__link {
    transition: none;
  }
}

/* Method page */
.dramasdeu-method-hero {
  align-items: center;
  background: #fff;
  display: flex;
  height: 218px;
  min-height: 218px;
  overflow: hidden;
  position: relative;
}

.dramasdeu-method-hero__image {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: 0 50%;
  position: absolute;
  top: 0;
  width: 100%;
}

.dramasdeu-method-hero--contact .dramasdeu-method-hero__image {
  object-position: 100% 0%;
}

.dramasdeu-method-hero__overlay {
  background: transparent;
  inset: 0;
  position: absolute;
}

.dramasdeu-method-hero__inner {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  min-height: inherit;
  position: relative;
}

.dramasdeu-method-hero__title {
  color: #ffffff;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  margin: 0;
  max-width: 829px;
  text-align: left;
  text-shadow: 0 1px 0 rgba(8, 22, 54, 0.5), 0 5px 16px rgba(4, 15, 43, 0.46);
  transform: translateY(1px) scaleX(1.05);
  transform-origin: left center;
  text-transform: uppercase;
  -webkit-text-stroke: 0.25px rgba(255, 255, 255, 0.22);
  text-wrap: balance;
}

.dramasdeu-page-section.dramasdeu-page-section--method-intro {
  background: #f4f6fa;
  padding-block: clamp(2rem, 5vw, 4rem);
}

/* The intro already supplies the gap: do not stack analysis spacing underneath. */
.dramasdeu-page-section--method-intro + .dramasdeu-page-section.dramasdeu-page-section--method-analysis {
  padding-top: 0;
}

.dramasdeu-page-section--method-intro + .dramasdeu-page-section--method-analysis .dramasdeu-method-feature--analysis {
  margin-top: 0;
}

.dramasdeu-page-section--method-video,
.dramasdeu-page-section--method-analysis,
.dramasdeu-page-section--method-activation {
  background: #f4f6fa;
}

.dramasdeu-page-section.dramasdeu-page-section--method-video {
  padding-block: calc(clamp(1.5rem, 3vw, 2.5rem) + 0.5rem);
}

.dramasdeu-page-section.dramasdeu-page-section--method-activation:has(+ .dramasdeu-page-section--method-video) {
  padding-bottom: 0;
}

.dramasdeu-method-intro {
  color: var(--dramasdeu-color-text);
  display: grid;
  gap: 1.8125rem;
  font-size: 15.2px;
  line-height: 1.4;
  margin: 0 auto;
  justify-items: center;
  max-width: 904px;
  text-align: center;
}

.dramasdeu-method-intro p {
  margin: 0;
  max-width: 904px;
  text-align: left;
}

.dramasdeu-method-intro p + p {
  justify-self: end;
  margin-left: auto;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  text-align: right;
}

.dramasdeu-method-intro__highlight {
  color: var(--dramasdeu-color-emphasis);
  font-weight: 600;
}

.dramasdeu-method-feature {
  display: grid;
  gap: clamp(1.25rem, 2.8vw, 2.2rem);
  align-items: start;
  margin: 0;
  width: 100%;
}

.dramasdeu-method-feature--analysis {
  grid-template-columns: minmax(260px, 293px) minmax(0, 1fr);
  margin-top: 54px;
  margin-bottom: 0;
}

.dramasdeu-method-feature--activation {
  margin-top: 5px;
}

.dramasdeu-method-feature__media img,
.dramasdeu-method-activation-grid__media img {
  display: block;
  height: auto;
  width: 100%;
}

.dramasdeu-method-feature__content {
  padding-top: 0.1rem;
}

.dramasdeu-page-section--method-analysis .dramasdeu-method-feature__content {
  align-self: center;
  transform: translateY(-16px);
}

.dramasdeu-method-feature__header {
  align-items: center;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 0.15rem;
}

.dramasdeu-method-heading-avatar,
.dramasdeu-method-pillar-icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.dramasdeu-method-heading-avatar { height: 48px; width: 48px; }
.dramasdeu-method-pillar-icon {
  height: 32px;
  width: 32px;
}

@media (max-width: 767px) {
  .dramasdeu-method-heading-avatar { height: 40px; width: 40px; }
  .dramasdeu-method-pillar-icon { height: 28px; width: 28px; }
}

.dramasdeu-page-section--method-analysis .dramasdeu-method-feature__header {
  margin-bottom: 3rem;
}

.dramasdeu-method-feature__header--activation {
  margin-bottom: 0.15rem;
}

.dramasdeu-method-feature__header--activation .dramasdeu-method-feature__title {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}

.dramasdeu-method-feature__title {
  color: var(--dramasdeu-color-heading);
  font-size: var(--dramasdeu-section-title-size);
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.29;
  margin: 0;
  text-transform: uppercase;
  white-space: normal;
}

.dramasdeu-method-feature__intro,
.dramasdeu-method-feature__lead,
.dramasdeu-method-feature__note {
  color: var(--dramasdeu-color-text);
  font-size: 15.2px;
  line-height: 1.55;
  margin: 0;
  max-width: 42rem;
}

.dramasdeu-method-feature__intro strong,
.dramasdeu-method-intro--compact strong {
  color: var(--dramasdeu-color-emphasis);
  font-weight: 600;
}

.dramasdeu-method-feature__intro {
  margin-bottom: 1.55rem;
}

.dramasdeu-method-feature__lead {
  margin-bottom: 1.5rem;
}

.dramasdeu-method-feature__list {
  display: grid;
  gap: 0.28rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding-left: 0;
}

.dramasdeu-method-feature__list li {
  color: var(--dramasdeu-color-text);
  font-size: 15.2px;
  line-height: 1.52;
  margin: 0;
  padding-left: 0.85rem;
  position: relative;
}

.dramasdeu-method-feature__list li::before {
  background: var(--dramasdeu-color-primary);
  border-radius: 999px;
  content: "";
  height: 0.24rem;
  left: 0;
  position: absolute;
  top: 0.7em;
  width: 0.24rem;
}

.dramasdeu-method-feature__note {
  font-style: italic;
  margin-top: 0.75rem;
}

.dramasdeu-method-activation-grid {
  display: grid;
  gap: calc(4.01rem + 1px) 2.35rem;
  margin-top: 0.6rem;
}

.dramasdeu-method-activation-grid__row {
  align-items: start;
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 293px);
}

.dramasdeu-method-activation-grid__row--intro {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 367px);
  margin-top: 2px;
}

.dramasdeu-method-activation-grid__row--intro .dramasdeu-method-activation-grid__text {
  transform: translateY(8px);
}

.dramasdeu-method-activation-grid__row--reverse {
  grid-template-columns: minmax(260px, 470px) minmax(0, 1fr);
  align-items: center;
}

.dramasdeu-method-activation-grid__row--reverse .dramasdeu-method-activation-grid__media {
  margin: 0;
}

.dramasdeu-method-activation-grid__text {
  display: grid;
  gap: 1.8rem;
}

.dramasdeu-method-pillar-stack {
  display: grid;
  gap: 3rem;
}

.dramasdeu-method-activation-grid__row--intro .dramasdeu-method-pillar-stack {
  padding-left: 42px;
}

.dramasdeu-method-activation-grid__row--reverse .dramasdeu-method-pillar-stack {
  padding-left: 0;
  transform: none;
}

.dramasdeu-method-section {
  background: #f4f6fa;
  border: 1px solid #e1e7f4;
  border-radius: 1.15rem;
  box-shadow: none;
  padding: clamp(1.15rem, 2.5vw, 2rem);
}

.dramasdeu-method-section__header {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.dramasdeu-method-section__eyebrow {
  color: #66759a;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.dramasdeu-method-section__title {
  color: #1f2331;
  font-size: var(--dramasdeu-section-title-size);
  line-height: 1.14;
  margin: 0;
}

.dramasdeu-method-section__text {
  color: var(--dramasdeu-color-text);
  font-size: 15.2px;
  line-height: 1.72;
  margin: 0 0 1rem;
}

.dramasdeu-method-list {
  display: grid;
  gap: 0.72rem;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.dramasdeu-method-list li {
  color: #1f2a45;
  font-size: 15.2px;
  line-height: 1.56;
  margin: 0;
  padding-left: 1.1rem;
  position: relative;
}

.dramasdeu-method-list li::before {
  background: #3d4a68;
  border-radius: 999px;
  content: "";
  height: 0.28rem;
  left: 0;
  opacity: 0.84;
  position: absolute;
  top: 0.73em;
  width: 0.28rem;
}

.dramasdeu-method-video {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.dramasdeu-method-video__frame {
  aspect-ratio: 16 / 9;
  background: #0f1724;
  border-radius: 1rem;
  box-shadow: 0 12px 30px rgba(27, 39, 67, 0.1);
  max-width: 656px;
  overflow: hidden;
  width: min(100%, 656px);
}

.dramasdeu-method-video__frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.dramasdeu-method-intro--compact {
  margin: 0;
  gap: 1.9rem;
  justify-items: start;
  max-width: 649px;
}

.dramasdeu-method-intro--compact p {
  max-width: 649px;
  width: 100%;
}

.dramasdeu-method-intro--compact p + p {
  justify-self: start;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.dramasdeu-method-pillars {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.dramasdeu-method-pillar {
  background: transparent;
  border: 0;
  padding: 0;
}

.dramasdeu-method-pillar__title {
  align-items: center;
  color: var(--dramasdeu-color-heading);
  display: flex;
  font-size: 15.2px;
  font-weight: 600;
  gap: 0.65rem;
  line-height: 1.4;
  margin: 0 0 0.65rem;
  letter-spacing: 0.015em;
  text-transform: none;
}

.dramasdeu-method-pillar__title > span:last-child {
  flex: 1 1 auto;
}

.dramasdeu-method-pillar__text {
  color: var(--dramasdeu-color-text);
  font-size: 15.2px;
  line-height: 1.55;
  margin: 0;
  max-width: 34rem;
}

/* Specialties page */
.dramasdeu-page-section--specialties {
  background: #f4f6fa;
  padding-top: 4.875rem;
  padding-bottom: 4.875rem;
}

.dramasdeu-specialties-hero-image-wrap {
  border-radius: 1rem;
  margin-top: 1.5rem;
  overflow: hidden;
}

.dramasdeu-specialties-hero-image {
  display: block;
  height: auto;
  width: 100%;
}

.dramasdeu-mobile-reference-photo {
  display: none;
}

.dramasdeu-specialties-layout {
  display: block;
}

.dramasdeu-specialties-layout .dramasdeu-specialty-block {
  align-items: start;
  grid-template-columns: minmax(0, 356px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.dramasdeu-specialties-layout .dramasdeu-specialty-block.is-image-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 356px);
}

.dramasdeu-specialties-layout .dramasdeu-specialty-block__media {
  max-width: 356px;
  width: 100%;
}

.dramasdeu-specialties-layout .dramasdeu-specialty-block__content {
  align-self: start;
  max-width: none;
  padding: 0;
}

@media (max-width: 1023px) {
  .dramasdeu-specialties-layout .dramasdeu-specialty-block,
  .dramasdeu-specialties-layout .dramasdeu-specialty-block.is-image-right {
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .dramasdeu-specialties-layout .dramasdeu-specialty-block .dramasdeu-specialty-block__media,
  .dramasdeu-specialties-layout .dramasdeu-specialty-block.is-image-right .dramasdeu-specialty-block__media {
    display: none;
  }

  .dramasdeu-mobile-reference-photo--specialties {
    display: block;
    margin: 0;
    min-width: 0;
  }

  .dramasdeu-mobile-reference-photo--specialties img {
    display: block;
    height: auto;
    width: 100%;
  }

  .dramasdeu-specialties-layout .dramasdeu-specialty-block__content,
  .dramasdeu-specialties-layout .dramasdeu-specialty-block.is-image-right .dramasdeu-specialty-block__content {
    justify-self: center;
  }
}

.dramasdeu-specialties-list {
  display: flex;
  flex-direction: column;
  gap: 3.8rem;
  margin-top: 0;
}

.dramasdeu-specialty-block {
  align-items: center;
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 356px) minmax(0, 1fr);
}

.dramasdeu-specialty-block.is-image-right .dramasdeu-specialty-block__media {
  order: 2;
}

.dramasdeu-specialty-block.is-image-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 356px);
}

.dramasdeu-specialty-block__media img {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  width: 100%;
}

.dramasdeu-specialty-block__content {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-self: start;
  justify-content: center;
  max-width: 37.25rem;
  padding: 0;
  width: 100%;
}

.dramasdeu-specialty-block__kicker {
  display: none;
}

.dramasdeu-specialty-block__title {
  color: var(--dramasdeu-color-heading);
  font-size: var(--dramasdeu-section-title-size);
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.29;
  margin: 0 0 1.25rem;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.dramasdeu-specialty-block__text {
  font-size: 15.2px;
  line-height: 1.7;
  margin: 0 0 1.05rem;
}

.dramasdeu-specialty-block__text strong,
.dramasdeu-specialty-block__list strong {
  color: var(--dramasdeu-color-emphasis);
  font-weight: 600;
}

.dramasdeu-specialty-block__list {
  margin: 0.65rem 0 1.05rem;
  padding-left: 1.15rem;
}

.dramasdeu-specialty-block__note {
  align-self: flex-start;
  font-size: 15.2px;
  font-style: italic;
  line-height: 1.7;
  margin: 0.75rem 0 1.05rem;
  text-align: left;
}

.dramasdeu-specialty-block .dramasdeu-button {
  align-self: flex-start;
  background: transparent;
  border-color: var(--dramasdeu-color-primary);
  color: var(--dramasdeu-color-primary-dark);
  font-size: 14.4px;
  margin-top: 0.75rem;
  padding: 0.65rem 0.9rem;
  text-transform: uppercase;
  width: auto;
}

.dramasdeu-specialty-block .dramasdeu-button:hover,
.dramasdeu-specialty-block .dramasdeu-button:focus-visible {
  background: rgba(142, 157, 205, 0.08);
  border-color: #7c8cc1;
  box-shadow: none;
}

.dramasdeu-specialty-block--analisis-visual .dramasdeu-specialty-block__text:last-of-type {
  align-self: flex-end;
  font-style: italic;
  margin-top: 0.75rem;
  max-width: 80%;
  text-align: right;
}

.dramasdeu-specialty-block--analisis-visual .dramasdeu-button {
  align-self: flex-end;
}

.dramasdeu-specialty-block__list li {
  font-size: 15.2px;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

/* Gallery videos */
.dramasdeu-gallery-videos {
  background: #f4f6fa;
}

.dramasdeu-gallery-video-detail {
  background: #fff;
}

.dramasdeu-gallery-videos__featured,
.dramasdeu-gallery-videos__collection {
  width: 100%;
}

.dramasdeu-gallery-videos__featured {
  margin-block: 0;
}

.dramasdeu-gallery-videos__player,
.dramasdeu-gallery-video-detail__player,
.dramasdeu-gallery-video-card__media {
  aspect-ratio: 16 / 9;
  background: #111827;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.dramasdeu-gallery-videos__player,
.dramasdeu-gallery-video-detail__player {
  border-radius: 0.9rem;
  box-shadow: 0 14px 34px rgba(36, 48, 82, 0.12);
}

.dramasdeu-gallery-videos__iframe,
.dramasdeu-gallery-video-detail__iframe {
  border: 0;
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.dramasdeu-gallery-videos__collection {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.dramasdeu-gallery-videos__list,
.dramasdeu-gallery-video-detail__recommendation-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dramasdeu-gallery-videos__list {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dramasdeu-gallery-videos__pagination {
  margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
  width: 100%;
}

.dramasdeu-video-catalogue .dramasdeu-gallery-videos__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dramasdeu-video-catalogue .dramasdeu-page-section__header {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.dramasdeu-video-catalogue .dramasdeu-page-title {
  color: var(--dramasdeu-color-primary-dark);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.dramasdeu-video-catalogue .dramasdeu-page-section__header > p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0.65rem 0 0;
  max-width: 65ch;
}

.dramasdeu-video-catalogue__meta {
  align-items: baseline;
  color: var(--dramasdeu-color-text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 1rem 1rem;
}

.dramasdeu-video-catalogue__duration {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dramasdeu-video-catalogue .dramasdeu-gallery-video-card__media {
  position: relative;
}

.dramasdeu-video-catalogue__play {
  align-items: center;
  background: rgba(18, 31, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 40px;
  justify-content: center;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
}

.dramasdeu-video-catalogue__play svg {
  height: 22px;
  width: 22px;
}

@media (max-width: 1023px) {
  .dramasdeu-video-catalogue .dramasdeu-gallery-videos__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dramasdeu-video-catalogue .dramasdeu-gallery-videos__list {
    grid-template-columns: 1fr;
  }
}

.dramasdeu-gallery-videos__pagination-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dramasdeu-gallery-videos__pagination-link {
  align-items: center;
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-border);
  border-radius: 999px;
  color: var(--dramasdeu-color-primary-dark);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 650;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 0.85rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

a.dramasdeu-gallery-videos__pagination-link:hover {
  background: rgba(142, 157, 205, 0.16);
  border-color: var(--dramasdeu-color-primary);
  color: var(--dramasdeu-color-primary-dark);
  transform: translateY(-1px);
}

a.dramasdeu-gallery-videos__pagination-link:focus-visible {
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

.dramasdeu-gallery-videos__pagination-link.is-current {
  background: var(--dramasdeu-color-primary-dark);
  border-color: var(--dramasdeu-color-primary-dark);
  color: #ffffff;
}

.dramasdeu-gallery-videos__pagination-link--previous,
.dramasdeu-gallery-videos__pagination-link--next {
  padding-inline: 1rem;
}

.dramasdeu-gallery-videos__item,
.dramasdeu-gallery-video-detail__recommendation-item {
  min-width: 0;
}

.dramasdeu-gallery-video-card {
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-border);
  border-radius: 0.8rem;
  box-shadow: var(--dramasdeu-shadow-sm);
  height: 100%;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dramasdeu-gallery-video-card__link {
  color: var(--dramasdeu-color-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 44px;
  min-width: 0;
  text-decoration: none;
}

.dramasdeu-gallery-video-card__link:focus-visible {
  border-radius: 0.7rem;
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: -3px;
}

.dramasdeu-gallery-video-card__media {
  display: block;
  flex: 0 0 auto;
}

.dramasdeu-gallery-video-card__media--fallback {
  align-items: flex-start;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.2) 0 0.32rem, transparent 0.36rem),
    radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.11) 0 1.85rem, transparent 1.9rem),
    linear-gradient(135deg, var(--dramasdeu-color-primary-dark), #7887b8 58%, #aeb8d9);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(0.65rem, 2vw, 1rem);
}

.dramasdeu-gallery-video-card__fallback-brand,
.dramasdeu-gallery-video-card__fallback-label {
  max-width: calc(100% - 0.25rem);
  overflow: hidden;
  position: relative;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 3;
}

.dramasdeu-gallery-video-card__fallback-brand {
  font-size: clamp(0.82rem, 1.8vw, 1.05rem);
  font-weight: 750;
  letter-spacing: 0.025em;
  line-height: 1.2;
}

.dramasdeu-gallery-video-card__fallback-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.64rem, 1.25vw, 0.76rem);
  line-height: 1.3;
  margin-top: 0.16rem;
}

.dramasdeu-gallery-video-card__poster {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
  width: 100%;
}

.dramasdeu-gallery-video-card__title {
  color: var(--dramasdeu-color-text);
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  font-weight: 650;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 0.9rem 1rem 1rem;
  text-wrap: pretty;
}

.dramasdeu-gallery-videos__empty {
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-border);
  border-radius: 0.8rem;
  color: var(--dramasdeu-color-text-muted);
  margin: 0 auto;
  max-width: 720px;
  padding: 1.25rem;
  text-align: center;
}

.dramasdeu-gallery-videos__empty p {
  margin: 0;
}

/* Gallery video detail */
.dramasdeu-gallery-video-detail__layout {
  --dramasdeu-detail-section-gap: 2rem;
  --dramasdeu-feed-divider-after: clamp(2.5rem, 5vw, 3.75rem);
  --dramasdeu-feed-divider-before: clamp(2rem, 4vw, 3rem);
  align-items: start;
  display: grid;
  column-gap: clamp(1.25rem, 2vw, 1.75rem);
  grid-template-areas:
    "primary rail"
    "feed rail";
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
  row-gap: 0;
  width: 100%;
}

.dramasdeu-gallery-video-detail__primary,
.dramasdeu-gallery-video-detail__feed,
.dramasdeu-gallery-video-detail__feed-items,
.dramasdeu-gallery-video-detail__feed-item,
.dramasdeu-gallery-video-detail__recommendations,
.dramasdeu-gallery-video-detail__recommendation-item,
.dramasdeu-gallery-video-card--detail-rail,
.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__content {
  max-width: 100%;
  min-width: 0;
}

.dramasdeu-gallery-video-detail__layout > .dramasdeu-gallery-video-detail__primary {
  grid-area: primary;
}

.dramasdeu-gallery-video-detail__player {
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(36, 48, 82, 0.11);
}

.dramasdeu-gallery-video-detail__header {
  margin-top: 1rem;
}

.dramasdeu-gallery-video-detail__title {
  color: var(--dramasdeu-color-text);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.28;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.dramasdeu-gallery-video-detail__title a {
  color: inherit;
  display: inline-block;
  min-height: 44px;
  padding-block: 0.2rem;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.dramasdeu-gallery-video-detail__title a:focus-visible {
  border-radius: 0.2rem;
}

.dramasdeu-gallery-video-detail__information {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 0.75rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem 1rem;
}

.dramasdeu-gallery-video-detail__information-title {
  color: var(--dramasdeu-color-text);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.dramasdeu-gallery-video-detail__description {
  color: var(--dramasdeu-color-text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0.55rem 0 0;
  max-width: 76ch;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dramasdeu-gallery-video-detail__description > :first-child {
  margin-top: 0;
}

.dramasdeu-gallery-video-detail__description > :last-child {
  margin-bottom: 0;
}

.dramasdeu-gallery-video-detail__recommendations {
  align-self: start;
  grid-area: rail;
  max-height: calc(100dvh - var(--dramasdeu-header-height) - 2.5rem);
  overflow-y: auto;
  /* Continue scrolling the page when the rail fits or reaches either end. */
  overscroll-behavior: auto;
  padding: 0.15rem 0.35rem 0.35rem 0.15rem;
  position: sticky;
  top: calc(var(--dramasdeu-header-height) + 1.25rem);
}

.dramasdeu-gallery-video-detail__recommendations-title {
  color: var(--dramasdeu-color-text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 0.75rem;
}

[data-conference-sentinel] { height: 1px; }
[data-conference-rail] [hidden] { display: none; }
.dramasdeu-conference-rail-status { font-size: 0.85rem; margin: 0.75rem 0; }
[data-conference-scroll]:focus-visible { outline: 2px solid var(--dramasdeu-color-primary-dark); outline-offset: -2px; }
.dramasdeu-gallery-video-detail__recommendations[data-conference-rail] {
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.dramasdeu-conference-rail-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: none;
}
.dramasdeu-conference-rail-scroll::-webkit-scrollbar {
  display: none;
}
[data-conference-rail] .dramasdeu-gallery-video-detail__recommendation-list {
  overscroll-behavior: auto;
}
[data-conference-rail] > .dramasdeu-gallery-video-detail__recommendations-title,
[data-conference-rail] > .dramasdeu-gallery-video-detail__recommendations-footer {
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .dramasdeu-gallery-video-detail__recommendations[data-conference-rail] {
    max-height: calc(100dvh - var(--dramasdeu-header-height) - 2.5rem);
    overflow: visible;
    overscroll-behavior: auto;
    padding: 0.2rem;
  }
  [data-conference-rail] .dramasdeu-gallery-video-detail__recommendation-list {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
}

.dramasdeu-gallery-video-detail__recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dramasdeu-gallery-video-detail__recommendations-footer {
  border-top: 1px solid var(--dramasdeu-color-border);
  margin-top: 1rem;
  padding-top: 0.9rem;
}

.dramasdeu-gallery-video-detail__recommendations-all-link {
  align-items: center;
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-primary);
  border-radius: 999px;
  color: var(--dramasdeu-color-primary-dark);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 650;
  justify-content: center;
  line-height: 1.25;
  min-height: 44px;
  padding: 0.65rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  width: 100%;
}

.dramasdeu-gallery-video-detail__recommendations-all-link:focus-visible {
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

.dramasdeu-gallery-video-detail__recommendation-item[hidden] {
  display: none;
}

.dramasdeu-gallery-video-card--detail-rail {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  overflow: visible;
  transition: none;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__link {
  border-radius: 0.55rem;
  display: grid;
  gap: 0.68rem;
  grid-template-columns: minmax(8.75rem, 46%) minmax(0, 1fr);
  height: auto;
  min-height: 5.2rem;
  padding: 0;
  width: 100%;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__media {
  align-self: start;
  border-radius: 0.48rem;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__media--fallback {
  padding: 0.52rem 0.58rem;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__fallback-brand {
  font-size: 0.72rem;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__fallback-label {
  font-size: 0.58rem;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__content {
  padding: 0.08rem 0.2rem 0.08rem 0;
}

.dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  align-self: start;
  display: -webkit-box;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.38;
  overflow: hidden;
  padding: 0;
}

/* Main-column continuation feed */
.dramasdeu-gallery-video-detail__feed {
  grid-area: feed;
  overflow-anchor: none;
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-items {
  display: grid;
  gap: 0;
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-item {
  border-top: 1px solid rgba(78, 93, 137, 0.2);
  grid-area: auto;
  margin-top: var(--dramasdeu-feed-divider-before);
  overflow-wrap: anywhere;
  padding-top: var(--dramasdeu-feed-divider-after);
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-player {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.dramasdeu-gallery-video-detail__feed-fallback {
  margin-top: 1.5rem;
}

.dramasdeu-gallery-video-detail__feed-next-link,
.dramasdeu-gallery-video-detail__feed-error button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  justify-content: center;
  line-height: 1.25;
  min-height: 44px;
  min-width: 44px;
  padding: 0.7rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dramasdeu-gallery-video-detail__feed-next-link {
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-primary);
  color: var(--dramasdeu-color-primary-dark);
}

.dramasdeu-gallery-video-detail__feed-controls {
  min-width: 0;
  width: 100%;
}

[data-gallery-video-feed-more] {
  margin-block: 1.5rem 0.5rem;
}

[data-gallery-video-feed-more][hidden] {
  display: none;
}

.dramasdeu-gallery-video-detail__feed-loading,
.dramasdeu-gallery-video-detail__feed-error {
  border-radius: 0.75rem;
  color: var(--dramasdeu-color-text-muted);
  line-height: 1.5;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  min-width: 0;
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-loading {
  background: rgba(142, 157, 205, 0.08);
  padding: clamp(0.75rem, 2vw, 1rem);
}

.dramasdeu-gallery-video-detail__feed-skeleton {
  animation: dramasdeu-gallery-video-pulse 1.35s ease-in-out infinite alternate;
  display: block;
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-skeleton-media {
  aspect-ratio: 16 / 9;
  background: rgba(142, 157, 205, 0.24);
  border-radius: 0.65rem;
  display: block;
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-skeleton-content {
  display: grid;
  gap: 0.58rem;
  margin-top: 1rem;
  min-width: 0;
}

.dramasdeu-gallery-video-detail__feed-skeleton-line {
  background: rgba(142, 157, 205, 0.22);
  border-radius: 999px;
  display: block;
  height: 0.78rem;
  width: min(100%, 38rem);
}

.dramasdeu-gallery-video-detail__feed-skeleton-line--short {
  background: rgba(142, 157, 205, 0.15);
  width: min(68%, 25rem);
}

.dramasdeu-gallery-video-detail__feed-loading-label,
.dramasdeu-gallery-video-detail__feed-announcement {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.dramasdeu-gallery-video-detail__feed-error {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--dramasdeu-color-border);
  padding: 1rem;
}

.dramasdeu-gallery-video-detail__feed-error p {
  margin: 0 0 0.75rem;
  overflow-wrap: anywhere;
}

.dramasdeu-gallery-video-detail__feed-error button {
  background: var(--dramasdeu-color-primary-dark);
  border: 1px solid var(--dramasdeu-color-primary-dark);
  color: var(--dramasdeu-color-surface);
  cursor: pointer;
}

.dramasdeu-gallery-video-detail__feed-sentinel {
  clear: both;
  display: block;
  height: 1px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  pointer-events: none;
  width: 100%;
}

.dramasdeu-gallery-video-detail__feed-fallback[hidden],
.dramasdeu-gallery-video-detail__feed-controls[hidden],
.dramasdeu-gallery-video-detail__feed-loading[hidden],
.dramasdeu-gallery-video-detail__feed-error[hidden],
.dramasdeu-gallery-video-detail__feed-sentinel[hidden],
.dramasdeu-gallery-video-detail__feed-skeleton[hidden] {
  display: none;
}

@keyframes dramasdeu-gallery-video-pulse {
  to {
    opacity: 0.55;
  }
}

@media (hover: hover) {
  .dramasdeu-gallery-videos .dramasdeu-gallery-video-card:hover {
    border-color: rgba(78, 93, 137, 0.32);
    box-shadow: 0 12px 26px rgba(45, 57, 91, 0.1);
    transform: translateY(-2px);
  }

  .dramasdeu-gallery-video-card__link:hover .dramasdeu-gallery-video-card__poster {
    transform: scale(1.025);
  }

  .dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__link:hover,
  .dramasdeu-gallery-video-detail__recommendations-all-link:hover,
  .dramasdeu-gallery-video-detail__feed-next-link:hover {
    background: rgba(142, 157, 205, 0.14);
  }

  .dramasdeu-gallery-video-detail__title a:hover {
    color: var(--dramasdeu-color-primary-dark);
    text-decoration-color: currentColor;
  }

  .dramasdeu-gallery-video-detail__feed-error button:hover {
    background: #3f4e78;
    border-color: #3f4e78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dramasdeu-gallery-video-card,
  .dramasdeu-gallery-video-card__poster,
  .dramasdeu-gallery-video-detail__recommendations-all-link,
  .dramasdeu-gallery-video-detail__title a,
  .dramasdeu-gallery-video-detail__feed-next-link,
  .dramasdeu-gallery-video-detail__feed-error button {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .dramasdeu-gallery-videos .dramasdeu-gallery-video-card:hover,
  .dramasdeu-gallery-video-card__link:hover .dramasdeu-gallery-video-card__poster {
    transform: none;
  }

  .dramasdeu-gallery-video-detail__feed-skeleton {
    animation: none;
  }
}

/* Contact */
.dramasdeu-contact-layout {
  --dramasdeu-contact-secondary: #5f6677;
  background-color: #f7f8fb;
  border-top: 1px solid var(--dramasdeu-color-border);
  padding: clamp(2rem, 5vw, 3.75rem) 0;
}

.dramasdeu-contact-layout__container {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.dramasdeu-contact-layout__primary,
.dramasdeu-contact-layout__supporting {
  min-width: 0;
}

.dramasdeu-contact-layout__primary {
  align-content: start;
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-border);
  border-top: 3px solid var(--dramasdeu-color-primary);
  border-radius: 0.5rem;
  box-shadow: none;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.15rem, 2.5vw, 2rem);
}

.dramasdeu-contact-layout__supporting {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.dramasdeu-contact-layout__supporting .dramasdeu-contact__media {
  margin-top: 1.5rem;
}

.dramasdeu-contact-map {
  min-width: 0;
  padding: 1.5rem 0 0;
  width: 100%;
}

.dramasdeu-contact-map__title {
  color: var(--dramasdeu-color-primary-dark);
  font-size: clamp(1.08rem, 3vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
}

.dramasdeu-contact-map__frame {
  aspect-ratio: 4 / 3;
  background: var(--dramasdeu-color-surface);
  border: 1px solid var(--dramasdeu-color-brand-border);
  border-radius: 0.45rem;
  overflow: hidden;
  width: 100%;
}

.dramasdeu-contact-map__iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.dramasdeu-contact-map__metadata {
  color: var(--dramasdeu-contact-secondary);
  font-size: 13.76px;
  line-height: 1.6;
  margin: 0.9rem 0 0;
  overflow-wrap: anywhere;
}

.dramasdeu-contact-map__directions {
  align-items: center;
  border-radius: 0.3rem;
  color: var(--dramasdeu-color-primary-dark);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
  margin-top: 0.3rem;
  min-height: 44px;
  padding: 0.45rem 0.25rem;
  text-decoration-color: var(--dramasdeu-color-primary);
  text-underline-offset: 0.2em;
}

.dramasdeu-contact-map__directions:hover {
  color: var(--dramasdeu-color-primary-dark);
  text-decoration-thickness: 2px;
}

.dramasdeu-contact {
  background: var(--dramasdeu-color-bg);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.dramasdeu-contact__content,
.dramasdeu-contact__summary,
.dramasdeu-contact__operations,
.dramasdeu-contact__group,
.dramasdeu-contact__media {
  max-width: 100%;
  min-width: 0;
}

.dramasdeu-contact__header {
  border-bottom: 1px solid var(--dramasdeu-color-border);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.dramasdeu-contact__title {
  color: var(--dramasdeu-color-text);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
}

.dramasdeu-contact__center-name {
  color: var(--dramasdeu-color-primary-dark);
  font-size: clamp(1.05rem, 3.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0.65rem 0 0;
  max-width: 48rem;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.dramasdeu-contact__content {
  --dramasdeu-contact-body-size: 13.76px;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
}

.dramasdeu-contact__summary,
.dramasdeu-contact__operations {
  display: grid;
  gap: 0;
}

.dramasdeu-contact__group {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.dramasdeu-contact-layout__supporting .dramasdeu-contact__group {
  padding-inline: 0;
}

.dramasdeu-contact-layout__supporting .dramasdeu-contact__group:first-child {
  padding-top: 0;
}

.dramasdeu-contact__group--contact .dramasdeu-contact__details {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.125rem;
  margin-top: 0.65rem;
}

.dramasdeu-contact__details .dramasdeu-contact__link {
  min-height: 32px;
  padding-block: 0.25rem;
}

.dramasdeu-contact__group--hours {
  margin-top: 1.5rem;
}

.dramasdeu-contact__group-title {
  color: var(--dramasdeu-color-primary-dark);
  font-size: clamp(1.08rem, 3vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 0.7rem;
  overflow-wrap: anywhere;
}

.dramasdeu-contact__address,
.dramasdeu-contact__parking,
.dramasdeu-contact__transport,
.dramasdeu-contact__service-note {
  color: var(--dramasdeu-color-text);
  font-style: normal;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dramasdeu-contact__parking,
.dramasdeu-contact__transport,
.dramasdeu-contact__service-note {
  color: var(--dramasdeu-contact-secondary);
  font-size: var(--dramasdeu-contact-body-size);
  margin-top: 0.5rem;
}

.dramasdeu-contact__service-note {
  font-size: 0.8rem;
  font-style: italic;
}

.dramasdeu-contact__details,
.dramasdeu-contact__schedule {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  min-width: 0;
}

.dramasdeu-contact__term,
.dramasdeu-contact__schedule-days {
  color: var(--dramasdeu-color-primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.dramasdeu-contact__term:not(:first-child),
.dramasdeu-contact__schedule-days:not(:first-child) {
  margin-top: 0.7rem;
}

.dramasdeu-contact__description,
.dramasdeu-contact__schedule-times {
  color: var(--dramasdeu-color-text);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.6;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.dramasdeu-contact__phone-list,
.dramasdeu-contact__hours-list,
.dramasdeu-contact__social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dramasdeu-contact__phone-list {
  display: flex;
  flex-direction: column;
}

.dramasdeu-contact__phone-list .dramasdeu-contact__link {
  letter-spacing: 0.005em;
}

.dramasdeu-contact__phone-item,
.dramasdeu-contact__hours-item,
.dramasdeu-contact__social-item {
  margin: 0;
  min-width: 0;
}

.dramasdeu-contact__link {
  align-items: center;
  border-radius: 0.3rem;
  color: var(--dramasdeu-color-primary-dark);
  display: inline-flex;
  font-size: var(--dramasdeu-contact-body-size);
  font-weight: 400;
  gap: 0.55rem;
  line-height: 1.45;
  max-width: 100%;
  min-height: 44px;
  overflow-wrap: anywhere;
  padding: 0.45rem 0.25rem;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
}

.dramasdeu-contact__channel-icon {
  display: block;
  flex: 0 0 1.25rem;
  height: 1.25rem;
  width: 1.25rem;
}

.dramasdeu-contact__link:focus-visible,
.dramasdeu-contact__social-link:focus-visible {
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

.dramasdeu-contact__media {
  background: var(--dramasdeu-color-surface);
  border: 1px solid rgba(78, 93, 137, 0.16);
  border-radius: 0.45rem;
  box-shadow: none;
  margin: 0;
  overflow: hidden;
}

.dramasdeu-contact__image {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.dramasdeu-contact__schedule {
  row-gap: 0.35rem;
}

.dramasdeu-contact__hours-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
}

.dramasdeu-contact__hours-item {
  color: var(--dramasdeu-color-primary-dark);
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dramasdeu-contact__group--social .dramasdeu-contact__group-title {
  color: var(--dramasdeu-color-text-muted);
  font-size: 1rem;
  margin-bottom: 0.82rem;
}

.dramasdeu-contact__group--social {
  border-bottom: 0;
  border-top: 1px solid rgba(78, 93, 137, 0.12);
}

.dramasdeu-contact__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.dramasdeu-contact__social-link {
  align-items: center;
  border-radius: 0.4rem;
  color: var(--dramasdeu-color-primary-dark);
  display: inline-flex;
  height: 44px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  max-width: 100%;
  min-height: 44px;
  min-width: 44px;
  overflow-wrap: anywhere;
  padding: 0;
  text-align: center;
  text-decoration: none;
  width: 44px;
  word-break: break-word;
}

.dramasdeu-contact__social-icon {
  display: block;
  flex-shrink: 0;
}

.dramasdeu-contact__social-icon--youtube {
  height: 25.07px;
  width: 34.48px;
}

.dramasdeu-contact-form {
  background: var(--dramasdeu-color-surface);
  border-top: 1px solid var(--dramasdeu-color-border);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.dramasdeu-booking {
  background: var(--dramasdeu-color-bg-page-default);
  padding: calc(var(--dramasdeu-header-height) + clamp(1.75rem, 4vw, 3rem)) 0 clamp(2.5rem, 5vw, 4rem);
}

.dramasdeu-booking__container {
  max-width: 1120px;
}

.dramasdeu-booking__header {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 740px;
}

.dramasdeu-booking__title {
  color: var(--dramasdeu-color-text);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.045em;
  margin: 0 0 0.75rem;
}

.dramasdeu-booking__intro,
.dramasdeu-booking__help p {
  font-size: 15.2px;
  max-width: 70ch;
}

.dramasdeu-booking__intro p {
  margin: 0;
}

.dramasdeu-booking .dramasdeu-contact-calendar {
  border: 0;
  padding: 0;
}

.dramasdeu-booking .dramasdeu-contact-calendar__iframe {
  height: clamp(520px, 75vh, 720px);
  height: clamp(520px, 75dvh, 720px);
}

.dramasdeu-booking__help {
  border-top: 1px solid var(--dramasdeu-color-border);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.dramasdeu-booking__help h2 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.dramasdeu-booking__help p {
  margin: 0 0 1rem;
}

.dramasdeu-booking__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dramasdeu-booking__channels .dramasdeu-button {
  font-size: 13.76px;
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
}

.dramasdeu-booking__contact {
  font-size: 13.76px;
  text-underline-offset: 0.2em;
}

.dramasdeu-contact-calendar {
  min-width: 0;
}

.dramasdeu-contact-calendar__intro {
  font-size: 15.2px;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.dramasdeu-contact-calendar__iframe {
  background: var(--dramasdeu-color-surface);
  border: 1px solid #c6cede;
  border-radius: 0.5rem;
  display: block;
  height: 560px;
  max-width: 100%;
  width: 100%;
}

.dramasdeu-contact-form__container {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.dramasdeu-contact-form__header {
  align-self: start;
  border: 0;
  padding: 0;
}

.dramasdeu-contact-form__identity {
  color: var(--dramasdeu-color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.45;
  margin: 0 0 0.65rem;
  overflow-wrap: anywhere;
}

.dramasdeu-contact-form__title {
  color: var(--dramasdeu-color-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.dramasdeu-contact-form__guidance {
  color: var(--dramasdeu-color-text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0.75rem 0 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.dramasdeu-contact-form__panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  padding: 0;
}

.dramasdeu-contact-form__panel .wpcf7,
.dramasdeu-contact-form__panel .wpcf7-form,
.dramasdeu-contact-form__panel .wpcf7-form > p,
.dramasdeu-contact-form__panel .wpcf7-form-control-wrap {
  max-width: 100%;
  min-width: 0;
}

.dramasdeu-contact-form__panel .wpcf7-form {
  display: grid;
  gap: 1rem;
}

.dramasdeu-contact-form__panel .wpcf7-form > p {
  margin: 0;
}

.dramasdeu-contact-form__panel .wpcf7-form > p:has(.wpcf7-acceptance) {
  margin-top: -0.65rem;
}

.dramasdeu-contact-form__privacy-notice {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--dramasdeu-color-border);
  border-radius: 0;
  color: var(--dramasdeu-color-text);
  font-size: 12.8px;
  line-height: 1.65;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 1rem 0 0;
}

.dramasdeu-contact-form__privacy-notice p {
  margin: 0;
}

.dramasdeu-contact-form__privacy-notice p + p {
  margin-top: 0.45rem;
}

.dramasdeu-contact-form__privacy-notice .dramasdeu-contact-form__privacy-title {
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.dramasdeu-contact-form__privacy-notice a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.dramasdeu-contact-form__panel .dramasdeu-contact-form__privacy-notice + p:has(.wpcf7-acceptance) {
  margin-top: 0;
}

.dramasdeu-contact-form__panel .wpcf7-form label {
  color: var(--dramasdeu-color-text);
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.dramasdeu-contact-form__panel .wpcf7-form label > br {
  display: none;
}

@media (min-width: 600px) {
  .dramasdeu-contact-form__panel .wpcf7-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dramasdeu-contact-form__panel .wpcf7-form > * {
    grid-column: 1 / -1;
  }

  .dramasdeu-contact-form__panel .wpcf7-form > p:has([data-name="your-name"]),
  .dramasdeu-contact-form__panel .wpcf7-form > p:has([data-name="your-email"]) {
    grid-column: auto;
  }
}

.dramasdeu-contact-form__panel .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.45rem;
}

.dramasdeu-contact-form__panel .wpcf7-form-control-wrap[data-name="privacy-consent"] {
  margin-top: 0;
}

.dramasdeu-contact-form__panel .wpcf7-acceptance .wpcf7-list-item {
  margin-inline-start: 0;
}

.dramasdeu-contact-form__panel .wpcf7-acceptance input[type="checkbox"] {
  margin-inline: 0 0.45rem;
}

.dramasdeu-contact-form__panel .wpcf7-text,
.dramasdeu-contact-form__panel .wpcf7-email,
.dramasdeu-contact-form__panel .wpcf7-tel,
.dramasdeu-contact-form__panel .wpcf7-url,
.dramasdeu-contact-form__panel .wpcf7-number,
.dramasdeu-contact-form__panel .wpcf7-date,
.dramasdeu-contact-form__panel .wpcf7-textarea,
.dramasdeu-contact-form__panel .wpcf7-select {
  background: #ffffff;
  border: 1px solid #c6cede;
  border-radius: 0.5rem;
  color: var(--dramasdeu-color-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  max-width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.dramasdeu-contact-form__panel .wpcf7-textarea {
  height: 9rem;
  min-height: 9rem;
  resize: vertical;
}

.dramasdeu-contact-form__panel .wpcf7-text:hover,
.dramasdeu-contact-form__panel .wpcf7-email:hover,
.dramasdeu-contact-form__panel .wpcf7-tel:hover,
.dramasdeu-contact-form__panel .wpcf7-url:hover,
.dramasdeu-contact-form__panel .wpcf7-number:hover,
.dramasdeu-contact-form__panel .wpcf7-date:hover,
.dramasdeu-contact-form__panel .wpcf7-textarea:hover,
.dramasdeu-contact-form__panel .wpcf7-select:hover {
  border-color: var(--dramasdeu-color-primary-dark);
}

.dramasdeu-contact-form__panel .wpcf7-form-control:focus-visible {
  border-color: var(--dramasdeu-color-primary-dark);
  box-shadow: 0 0 0 3px rgba(78, 93, 137, 0.18);
  outline: 2px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 2px;
}

.dramasdeu-contact-form__panel .wpcf7-acceptance input[type="checkbox"]:focus-visible {
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

.dramasdeu-contact-form__panel .wpcf7-not-valid {
  border-color: #9f2018;
}

.dramasdeu-contact-form__panel .wpcf7-not-valid-tip {
  color: #8a1c15;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 0.4rem;
}

.dramasdeu-contact-form__panel .wpcf7-response-output {
  background: var(--dramasdeu-color-surface);
  border-radius: 0.55rem;
  color: var(--dramasdeu-color-text);
  line-height: 1.5;
  margin: 0.35rem 0 0;
  padding: 0.8rem 1rem;
}

.dramasdeu-contact-form__panel .wpcf7-submit {
  align-items: center;
  appearance: none;
  background: var(--dramasdeu-color-primary-dark);
  border: 1px solid var(--dramasdeu-color-primary-dark);
  border-radius: 0.5rem;
  box-shadow: none;
  color: var(--dramasdeu-color-surface);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  letter-spacing: 0.02em;
  min-height: 48px;
  padding: 0.85rem 1.7rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  width: 100%;
}

.dramasdeu-contact-form__panel .wpcf7-submit:hover {
  background: var(--dramasdeu-color-primary-hover);
  border-color: var(--dramasdeu-color-primary-hover);
  color: var(--dramasdeu-color-surface);
}

.dramasdeu-contact-form__panel .wpcf7-submit:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.dramasdeu-contact-form__panel .wpcf7-spinner {
  margin: 0.65rem 0 0 0.75rem;
  vertical-align: middle;
}

.dramasdeu-contact-form__unavailable {
  color: var(--dramasdeu-color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.dramasdeu-contact-newsletter {
  align-self: start;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(78, 93, 137, 0.14);
  border-radius: 0.5rem;
  box-shadow: none;
  color: var(--dramasdeu-color-text);
  overflow-wrap: anywhere;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
}

.dramasdeu-contact-newsletter__title {
  color: var(--dramasdeu-contact-secondary);
  font-size: clamp(1.18rem, 2.4vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

.dramasdeu-contact-newsletter__body {
  color: var(--dramasdeu-contact-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0.55rem 0 0;
  text-wrap: pretty;
}

.dramasdeu-contact-newsletter__controls {
  background: transparent;
  border-top: 1px solid rgba(78, 93, 137, 0.12);
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.8rem 0 0;
}

.dramasdeu-contact-newsletter__button {
  background: rgba(142, 157, 205, 0.08);
  border: 1px solid rgba(78, 93, 137, 0.2);
  border-radius: 0.4rem;
  color: #68738c;
  cursor: not-allowed;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.3;
  min-height: 44px;
  opacity: 1;
  padding: 0.7rem 1rem;
  text-align: center;
}

.dramasdeu-contact-newsletter__consent {
  align-items: flex-start;
  color: var(--dramasdeu-contact-secondary);
  display: flex;
  font-size: 0.88rem;
  gap: 0.55rem;
  line-height: 1.55;
}

.dramasdeu-contact-newsletter__checkbox {
  accent-color: var(--dramasdeu-color-primary-dark);
  flex: 0 0 auto;
  margin: 0.18rem 0 0;
}

.dramasdeu-contact-newsletter__policy-link {
  color: var(--dramasdeu-color-primary-dark);
  font-weight: 650;
  text-decoration-color: rgba(78, 93, 137, 0.48);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.dramasdeu-contact-newsletter__policy-link:hover {
  text-decoration-color: currentColor;
}

.dramasdeu-contact-newsletter__policy-link:focus-visible {
  border-radius: 0.15rem;
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

.dramasdeu-contact-newsletter__microcopy {
  color: var(--dramasdeu-contact-secondary);
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0.6rem 0 0;
}

/* Cookie Notice */
/* Remove notice decoration after dismissal, preserving any provider revoke UI. */
#cookie-notice.cookie-notice-hidden {
  border-top: 0;
  box-shadow: none;
}

#cookie-notice {
  background-color: #f7f8fb !important;
  border-top: 1px solid rgba(78, 93, 137, 0.18);
  box-shadow: 0 -2px 8px rgba(55, 59, 77, 0.06);
  color: var(--dramasdeu-color-text);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: left;
}

#cookie-notice .cookie-notice-container {
  align-items: center;
  color: var(--dramasdeu-color-text) !important;
  display: flex;
  gap: 0.5rem 1rem;
  justify-content: center;
  padding: 0.75rem 3.5rem 0.75rem 1.25rem;
  text-align: left;
}

#cookie-notice #cn-notice-text {
  display: inline;
  margin: 0;
}

#cookie-notice #cn-more-info.cn-privacy-policy-link {
  align-items: center;
  background: transparent !important;
  border: 0;
  border-radius: 0.2rem;
  color: var(--dramasdeu-color-primary-dark) !important;
  display: inline-flex;
  font-weight: 650;
  line-height: 1.5;
  margin-left: 0.3rem;
  padding: 0.71rem 0.15rem;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  white-space: normal;
}

#cookie-notice #cn-more-info.cn-privacy-policy-link:hover {
  color: var(--dramasdeu-color-text) !important;
  text-decoration-thickness: 0.12em;
}

#cookie-notice #cn-notice-buttons {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

#cookie-notice #cn-accept-cookie.cn-button {
  background: var(--dramasdeu-color-primary-dark) !important;
  border: 1px solid var(--dramasdeu-color-primary-dark);
  border-radius: 0.45rem;
  box-shadow: none;
  color: var(--dramasdeu-color-surface) !important;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  padding: 0.8rem 1.15rem;
}

#cookie-notice #cn-accept-cookie.cn-button:hover {
  background: #3f4d76 !important;
  border-color: #3f4d76;
}

#cookie-notice #cn-close-notice:focus:not(:focus-visible) {
  outline: none;
}

#cookie-notice #cn-more-info:focus-visible,
#cookie-notice #cn-accept-cookie:focus-visible,
#cookie-notice #cn-close-notice:focus-visible {
  outline: 3px solid var(--dramasdeu-color-primary-dark);
  outline-offset: 3px;
}

#cookie-notice #cn-close-notice {
  box-sizing: content-box;
  color: var(--dramasdeu-color-primary-dark);
  margin: 0;
  opacity: 0.7;
  padding: 1rem;
  right: 0.25rem;
  transform: translateY(-50%);
}

#cookie-notice #cn-close-notice::before,
#cookie-notice #cn-close-notice::after {
  background-color: currentColor;
}

@media (max-width: 900px) {
  #cookie-notice .cookie-notice-container {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.625rem 1.5rem calc(0.625rem + env(safe-area-inset-bottom));
    position: relative;
    text-align: left;
    align-items: stretch;
  }

  #cookie-notice #cn-notice-text {
    display: block;
    padding-right: 2rem;
  }

  #cookie-notice #cn-notice-buttons {
    display: flex;
    justify-content: flex-end;
    padding-left: 9rem;
    min-height: 44px;
  }

  #cookie-notice #cn-more-info.cn-privacy-policy-link {
    position: absolute;
    font-size: 11.5px;
    bottom: calc(0.625rem + env(safe-area-inset-bottom));
    left: 1.5rem;
    margin: 0;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0;
  }

  #cookie-notice #cn-accept-cookie.cn-button {
    min-height: 36px;
    padding: 0.4rem 0.65rem;
    font-size: 11.5px;
  }

  #cookie-notice #cn-close-notice {
    top: 0.5rem;
    right: 0.5rem;
    transform: none;
  }
}

@media (max-width: 480px) {
  #cookie-notice {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  #cookie-notice .cookie-notice-container {
    padding-inline: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cookie-notice.cn-animated {
    animation-duration: 0.001s !important;
  }

  .dramasdeu-contact-form__panel .wpcf7-form-control,
  .dramasdeu-contact-form__panel .wpcf7-submit {
    transition: none;
  }

  .dramasdeu-contact-form__panel .wpcf7-spinner::before {
    animation: none;
  }
}
