@media (max-width: 1439px) {
  .dramasdeu-home-hero,
  .dramasdeu-home-hero__content-wrap {
    min-height: clamp(420px, 66vh, 700px);
  }
}

@media (max-width: 1279px) {
  .site-menu {
    gap: 1.1rem;
  }

  .site-header__menu-panel {
    gap: 0.9rem;
  }

  .dramasdeu-page-title {
    font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  }

}

@media (max-width: 1199px) {
  .dramasdeu-treatment-card__title--long .dramasdeu-title-icon {
    transform: none;
  }
}

@media (max-width: 1023px) {
  .dramasdeu-home-reviews {
    padding-bottom: 0.75rem;
  }

  :root {
    --dramasdeu-header-height: 4.5rem;
  }

  .site-header__inner {
    min-height: var(--dramasdeu-header-height);
  }

  .site-header__menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-header__menu-panel {
    background: #f8faff;
    border-top: 1px solid #dde5f3;
    border-bottom: 1px solid #dbe3f2;
    box-shadow: 0 10px 24px rgba(39, 54, 95, 0.12);
    display: none;
    left: 0;
    max-height: calc(100dvh - var(--dramasdeu-header-height));
    overflow-y: auto;
    padding: 0.85rem 1rem 1rem;
    position: absolute;
    right: 0;
    top: var(--dramasdeu-header-height);
    width: 100%;
  }

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

  body.admin-bar .site-header__menu-panel {
    max-height: calc(100dvh - var(--dramasdeu-header-height) - 46px);
  }

  .site-header__menu-panel.is-open {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-header__nav,
  .site-header__nav .site-menu {
    width: 100%;
  }

  .site-header__locale-switcher {
    justify-content: flex-start;
    transform: none;
    width: 100%;
  }

  .site-locale {
    margin-top: 0.15rem;
  }

  .site-locale__link {
    min-height: 44px;
    min-width: 44px;
    padding: 0.3rem 0.1rem;
  }

  .site-menu--primary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-menu--primary a {
    display: block;
    font-size: 0.97rem;
    font-weight: 550;
    min-height: 44px;
    padding: 0.62rem 0.05rem;
    width: 100%;
  }

  .site-menu--primary a::after {
    left: 0.05rem;
    right: auto;
    top: calc(100% - 0.08rem);
    width: 1.95rem;
  }

  .site-header__cta {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .site-footer {
    padding: 1.6rem 0 1.45rem;
  }

  .site-footer__inner {
    align-items: center;
    flex-direction: column;
    gap: 1.15rem;
  }

  .site-footer__brand .custom-logo,
  .site-footer__logo {
    max-height: 2.7rem;
  }

  .site-footer__nav-block {
    align-items: center;
    width: 100%;
  }

  .site-menu--footer {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .site-footer__contact,
  .site-footer__copyright {
    text-align: center;
  }

  .dramasdeu-inner-hero {
    max-height: 300px;
    min-height: 200px;
  }

  .dramasdeu-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dramasdeu-gallery-video-detail__layout {
    --dramasdeu-detail-section-gap: 2.1rem;
    --dramasdeu-feed-divider-after: 2.1rem;
    --dramasdeu-feed-divider-before: 1.5rem;
    column-gap: 0;
    grid-template-areas:
      "primary"
      "rail"
      "feed";
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .dramasdeu-gallery-video-detail__recommendations {
    margin-top: var(--dramasdeu-detail-section-gap);
    max-height: none;
    overflow: hidden;
    padding: 0;
    position: static;
  }

  .dramasdeu-gallery-video-detail__recommendation-list {
    display: grid;
    gap: 0.85rem;
    grid-auto-columns: clamp(17rem, 46vw, 20rem);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0.2rem 0.15rem 0.75rem;
    scroll-padding-inline: 0.15rem;
    scroll-snap-type: inline proximity;
    scrollbar-color: var(--dramasdeu-color-primary) transparent;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .dramasdeu-gallery-video-detail__recommendations-footer {
    margin-top: 0.35rem;
    padding-top: 0.9rem;
  }

  .dramasdeu-gallery-video-detail__recommendation-item {
    scroll-snap-align: start;
  }

  .dramasdeu-gallery-video-card--detail-rail {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--dramasdeu-color-border);
    border-radius: 0.65rem;
    overflow: hidden;
  }

  .dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__link {
    grid-template-columns: minmax(8rem, 42%) minmax(0, 1fr);
    padding: 0.45rem;
  }

  .dramasdeu-specialty-block {
    gap: 0;
    grid-template-columns: 1fr;
  }

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

  .dramasdeu-method-section__header {
    align-items: flex-start;
  }

  .dramasdeu-method-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 768px) and (max-width: 1199px) {
  .dramasdeu-home-hero__image {
    object-position: 65% center;
    transform: scale(1.07) translateY(-2.7%);
  }

  .dramasdeu-home-hero__title {
    line-height: 1.14;
  }

  .dramasdeu-treatment-card__title--long > span:last-child {
    max-width: 24ch;
    transform: none;
  }
}

@media (min-width: 800px) and (max-width: 1199px) {
  .dramasdeu-home-treatments__grid > .dramasdeu-treatment-card:nth-child(2) > .dramasdeu-treatment-card__list {
    margin-top: 2.05rem;
  }
}

@media (min-width: 1024px) {
  .site-header__menu-panel {
    display: flex !important;
    max-height: none;
    overflow: visible;
    position: static;
  }

  body.admin-bar .dramasdeu-gallery-video-detail__recommendations {
    max-height: calc(100dvh - var(--dramasdeu-header-height) - 4.5rem);
    top: calc(var(--dramasdeu-header-height) + 3.25rem);
  }
}

@media (min-width: 783px) {
  body.admin-bar .site-header {
    top: 32px;
  }
}

@media (max-width: 767px) {
  /* Same photo selection, placement and crop as the original Wix mobile pages. */
  .dramasdeu-specialties-layout .dramasdeu-specialty-block__media,
  .dramasdeu-method-feature--analysis .dramasdeu-method-feature__media,
  .dramasdeu-method-activation-grid__media {
    display: none;
  }

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

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

  .dramasdeu-mobile-reference-photo--method {
    margin-top: 1.5rem;
  }

  .dramasdeu-method-feature--analysis {
    margin-top: 0.75rem;
  }

  .dramasdeu-page-section.dramasdeu-page-section--method-analysis,
  .dramasdeu-page-section.dramasdeu-page-section--method-activation {
    padding-top: 1.25rem;
  }

  .dramasdeu-page-section--method-analysis .dramasdeu-method-feature__content,
  .dramasdeu-method-activation-grid__row--intro .dramasdeu-method-activation-grid__text,
  .dramasdeu-method-activation-grid__row--reverse .dramasdeu-method-pillar-stack {
    transform: none;
  }

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

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

  .dramasdeu-method-feature__header {
    align-items: flex-start;
  }

  .dramasdeu-method-feature__title {
    min-width: 0;
    overflow-wrap: anywhere;
    letter-spacing: 0.08em;
  }

  .dramasdeu-contact-form__panel .wpcf7-acceptance label {
    align-items: center;
    display: flex;
    min-height: 44px;
  }

  .dramasdeu-contact-form__panel .wpcf7-acceptance input[type="checkbox"] {
    flex-shrink: 0;
    height: 20px;
    width: 20px;
  }

  .dramasdeu-home-hero,
  .dramasdeu-home-hero__content-wrap {
    min-height: clamp(390px, 66vh, 560px);
  }

  .dramasdeu-home-hero__overlay {
    background: linear-gradient(180deg, rgba(248, 250, 253, 0.74) 0%, rgba(248, 250, 253, 0.42) 52%, rgba(248, 250, 253, 0.18) 100%);
  }

  .dramasdeu-home-hero__content {
    max-width: 100%;
    padding: 0.5rem 0;
    text-align: left;
    transform: translateY(-4px);
  }

  .dramasdeu-home-hero__image {
    object-position: 60% center;
    transform: scale(1.06) translateY(-2.4%);
  }

  .dramasdeu-home-hero__title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    overflow-wrap: anywhere;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 0.92rem;
  }

  .dramasdeu-home-hero__title span {
    font-size: 1.05em;
    letter-spacing: -0.035em;
  }

  .dramasdeu-home-hero__actions {
    flex-direction: column;
    gap: 0.58rem;
  }

  .dramasdeu-home-hero__actions .dramasdeu-button {
    min-width: 0;
    width: 100%;
  }

  .dramasdeu-method-hero {
    height: 200px;
    min-height: 200px;
  }

  .dramasdeu-method-hero__title {
    font-size: clamp(1.35rem, 6.7vw, 1.9rem);
    letter-spacing: 0.15em;
    transform: none;
  }

  .dramasdeu-method-section__header {
    align-items: flex-start;
    gap: 0.82rem;
  }

  .dramasdeu-method-section__title {
    font-size: 1.34rem;
  }

  .dramasdeu-method-feature--analysis,
  .dramasdeu-method-activation-grid__row,
  .dramasdeu-method-activation-grid__row--reverse {
    grid-template-columns: 1fr;
  }

  .dramasdeu-method-activation-grid {
    gap: 1.25rem;
  }

  .dramasdeu-method-feature__media,
  .dramasdeu-method-activation-grid__media {
    order: 0;
  }

  .dramasdeu-method-feature__title {
    font-size: 1.32rem;
  }

  .dramasdeu-method-pillar-stack {
    gap: 1.25rem;
  }

  .dramasdeu-method-pillars {
    grid-template-columns: 1fr;
  }

  .dramasdeu-home-treatments {
    padding: 1.7rem 0 1.85rem;
  }

  .dramasdeu-home-treatments__grid,
  .dramasdeu-method-grid {
    grid-template-columns: 1fr;
  }

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

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

  .dramasdeu-gallery-videos__player,
  .dramasdeu-gallery-video-detail__player {
    border-radius: 0.75rem;
  }

  .dramasdeu-gallery-video-detail__layout {
    --dramasdeu-detail-section-gap: 1.75rem;
    --dramasdeu-feed-divider-after: 1.75rem;
    --dramasdeu-feed-divider-before: 1.25rem;
    row-gap: 0;
  }

  .dramasdeu-gallery-video-detail__recommendation-list {
    grid-auto-columns: clamp(16rem, 76vw, 18rem);
  }

  .dramasdeu-gallery-video-detail__title {
    font-size: clamp(1.24rem, 5.2vw, 1.5rem);
  }

  .dramasdeu-gallery-video-detail__information {
    padding: 0.85rem 0.9rem 0.9rem;
  }

  .dramasdeu-treatment-card,
  .dramasdeu-method-card,
  .dramasdeu-specialty-block__content {
    padding: 1.15rem;
  }

  .dramasdeu-treatment-card {
    min-height: 0;
  }

  .dramasdeu-treatment-card__title {
    font-size: clamp(1.17rem, 4.9vw, 1.4rem);
    gap: 0.55rem;
    min-height: 0;
  }

  .dramasdeu-title-icon {
    height: 2.32rem;
    width: 2.32rem;
  }

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

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

  .dramasdeu-treatment-card__title--long > span:last-child {
    max-width: 24ch;
    transform: none;
  }

  .dramasdeu-page-section {
    padding: 2.1rem 0;
  }

  .dramasdeu-page-title {
    font-size: clamp(1.65rem, 6.6vw, 2.05rem);
    line-height: 1.22;
  }

  .dramasdeu-page-intro {
    font-size: 1rem;
    line-height: 1.62;
  }

  .dramasdeu-method-list {
    gap: 0.62rem;
  }

  .dramasdeu-specialty-block__media img {
    min-height: 220px;
  }

}

@media (max-width: 639px) {
  .site-header__brand {
    min-width: 108px;
  }

  .site-header__logo,
  .site-header__brand .custom-logo {
    max-height: 2.35rem;
  }

  .dramasdeu-home-contact-note__text {
    display: block;
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 33ch;
    text-align: center;
  }

  .dramasdeu-home-contact-note__text .dramasdeu-home-contact-note__text-icon {
    display: inline-flex;
    margin: 0 0.4rem 0.1rem 0;
    vertical-align: middle;
  }

  .dramasdeu-home-contact-note__text-copy {
    display: contents;
  }

  .dramasdeu-home-contact-note__text-line:first-child {
    display: inline;
  }

  .dramasdeu-home-contact-note__panel {
    padding: 0.1rem 0 0;
  }

  .dramasdeu-home-contact-note__button {
    width: 100%;
  }

  .dramasdeu-home-contact-note__meta {
    font-size: 0.82rem;
    margin-top: 0.58rem;
  }

  .dramasdeu-gallery-video-detail__feed-next-link,
  .dramasdeu-gallery-video-detail__feed-error button {
    width: 100%;
  }

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

  .dramasdeu-gallery-videos__pagination-list {
    gap: 0.4rem;
  }

  .dramasdeu-gallery-videos__pagination-link {
    font-size: 0.86rem;
    padding: 0.6rem 0.72rem;
  }

  .dramasdeu-gallery-videos__pagination-link--previous,
  .dramasdeu-gallery-videos__pagination-link--next {
    flex: 1 1 8rem;
  }

  .dramasdeu-title-icon--contact {
    height: 2.42rem;
    margin-bottom: 0;
    width: 2.42rem;
  }

  .dramasdeu-specialty-block__title {
    font-size: 1.24rem;
  }

  .dramasdeu-gallery-video-card__title {
    font-size: 0.96rem;
    padding: 0.8rem 0.85rem 0.9rem;
  }

  .dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__link {
    gap: 0.62rem;
    grid-template-columns: minmax(7.75rem, 40%) minmax(0, 1fr);
  }

  .dramasdeu-gallery-video-card--detail-rail .dramasdeu-gallery-video-card__title {
    font-size: 0.8rem;
  }

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

@media (max-width: 479px) {
  .site-header__inner {
    gap: 0.55rem;
  }

  .site-header__menu-panel {
    padding: 0.75rem 0.85rem 0.95rem;
  }

  .site-menu--primary a {
    padding: 0.58rem 0;
  }

  .dramasdeu-home-hero,
  .dramasdeu-home-hero__content-wrap {
    min-height: clamp(350px, 64vh, 500px);
  }

  .dramasdeu-home-hero__title {
    font-size: clamp(1.52rem, 8vw, 1.9rem);
  }

  .dramasdeu-treatment-card__title,
  .dramasdeu-method-card__title {
    font-size: 1.05rem;
  }

  .dramasdeu-treatment-card__title--long > span:last-child {
    transform: none;
  }

  .dramasdeu-treatment-card__title--long::after {
    bottom: -1.35rem;
  }

  .dramasdeu-treatment-card__title--long + .dramasdeu-treatment-card__list {
    margin-top: 2.3rem;
  }

  .dramasdeu-treatment-card__list {
    gap: 0.34rem;
  }

  .dramasdeu-treatment-card__list li {
    font-size: 0.98rem;
    line-height: 1.48;
    padding-left: 1.08rem;
  }

  .dramasdeu-treatment-card__subtitle {
    font-size: 0.74rem;
    margin-bottom: 0.6rem;
  }

  .dramasdeu-title-icon {
    height: 2.22rem;
    width: 2.22rem;
  }

  .site-footer__contact,
  .site-footer__copyright,
  .site-menu--footer a {
    font-size: 0.8rem;
  }
}

@media (max-width: 359px) {
  .dramasdeu-skip-link {
    left: 0.5rem;
    right: 0.5rem;
    text-align: center;
  }

  .site-header__logo,
  .site-header__brand .custom-logo {
    max-height: 2.1rem;
  }

  .dramasdeu-home-hero,
  .dramasdeu-home-hero__content-wrap {
    min-height: 330px;
  }

  .dramasdeu-home-hero__title {
    font-size: 1.4rem;
  }

  .dramasdeu-button,
  .site-header__cta,
  .site-menu--primary a {
    font-size: 0.9rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .dramasdeu-main *,
  .site-header *,
  .site-footer * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 767px) {
  .dramasdeu-home-reviews .wp-gr[data-layout="grid"] .grw-reviews {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  .dramasdeu-method-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .dramasdeu-contact-map {
    padding-bottom: 1.35rem;
  }

  .dramasdeu-contact-map__frame {
    aspect-ratio: 16 / 7;
  }

  .dramasdeu-contact-form__panel .wpcf7-submit {
    width: auto;
  }

  .dramasdeu-contact__group {
    padding: 1.35rem;
  }

  .dramasdeu-contact__details,
  .dramasdeu-contact__schedule {
    column-gap: 1.25rem;
    grid-template-columns: minmax(8.5rem, 0.8fr) minmax(0, 1.2fr);
    row-gap: 0.65rem;
  }

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

  .dramasdeu-contact__group--channels .dramasdeu-contact__term {
    padding-top: 0;
  }

  .dramasdeu-contact__group--channels .dramasdeu-contact__term:first-child {
    padding-top: 1px;
  }

  .dramasdeu-contact__group--channels .dramasdeu-contact__group-title {
    margin-bottom: 1rem;
  }

  .dramasdeu-contact__group--channels .dramasdeu-contact__link {
    align-items: flex-start;
    padding-block: 0;
  }

  .dramasdeu-contact__group--channels .dramasdeu-contact__channel-icon {
    margin-top: 0.08rem;
  }

  .dramasdeu-contact__schedule-days {
    padding-top: 4px;
  }

}

@media (min-width: 1024px) {
  .dramasdeu-contact-map {
    padding-bottom: 1.25rem;
  }

  .dramasdeu-contact-map__frame {
    aspect-ratio: 8 / 3;
  }

  .dramasdeu-contact-layout__container {
    align-items: start;
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    row-gap: 1.25rem;
  }

  .dramasdeu-contact-layout__supporting .dramasdeu-contact__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .dramasdeu-contact-layout__supporting .dramasdeu-contact__summary,
  .dramasdeu-contact-layout__supporting .dramasdeu-contact__operations {
    grid-column: auto;
  }

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

  .dramasdeu-contact-form__container {
    align-items: start;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .dramasdeu-contact__header {
    max-width: 52rem;
  }

  .dramasdeu-contact__content {
    align-items: start;
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
    grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
    row-gap: 1.25rem;
  }

  .dramasdeu-contact__summary,
  .dramasdeu-contact__operations {
    grid-column: 1;
  }

  .dramasdeu-contact__media {
    grid-column: 2;
    grid-row: span 2;
  }

  .dramasdeu-contact__group {
    padding: 1.25rem;
  }

  .dramasdeu-contact-map__title {
    margin-bottom: 0.9rem;
  }

  .dramasdeu-contact-map__metadata {
    margin-top: 0.65rem;
  }

  .dramasdeu-contact-map__directions {
    margin-top: 0.1rem;
  }
}
