.portal-header .youtube-banner {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 139px;
  overflow: hidden;
  border-radius: 18px;
  background: #071b22;
  box-shadow: 0 8px 20px #16313826;
}

.portal-header .youtube-banner__art,
.portal-header .youtube-banner__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portal-header .youtube-banner__scene {
  position: absolute;
  inset: 0;
}

.portal-header .youtube-banner__scene--arriving {
  z-index: 1;
  mask-image: url("./banner-youtube-pinceladas.svg");
  mask-size: 230% 100%;
  mask-repeat: no-repeat;
  mask-position: 0% 50%;
}

.portal-header .youtube-banner__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 51%;
}

.portal-header .youtube-banner__shade {
  z-index: 1;
  background: linear-gradient(90deg, #071b22 0%, #071b22f2 26%, #071b22d9 39%, #071b2244 57%, #071b2200 72%);
}

.portal-header .youtube-banner__link {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: inherit;
  padding: 12px 23px;
  color: #fff3d7;
  text-decoration: none;
}

.portal-header .youtube-banner__link:focus-visible {
  outline: 3px solid #ffcf7e;
  outline-offset: -4px;
  border-radius: inherit;
}

.portal-header .youtube-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 13px/1.3 "Segoe UI", Arial, sans-serif;
  color: #ffdfab;
}

.portal-header .youtube-banner__icon {
  flex: none;
  width: 22px;
  height: 16px;
}

.portal-header .youtube-banner__headlines {
  display: grid;
  align-items: center;
  width: min(100%, 460px);
  min-height: 40px;
  margin: 2px 0 4px;
  font: 700 clamp(21px, 2.1vw, 32px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 10px #071b22;
}

.portal-header .youtube-banner__headlines > span {
  grid-area: 1 / 1;
}

.portal-header .youtube-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 13px;
  border-radius: 999px;
  background: #ffdfab;
  color: #1f231f;
  font: 700 12px/1.3 "Segoe UI", Arial, sans-serif;
}

.portal-header .youtube-banner__link:hover .youtube-banner__cta {
  background: #fff3d7;
}

.portal-header .youtube-banner__pause {
  position: absolute;
  z-index: 3;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #ffe4b599;
  border-radius: 50%;
  background: #071b22e6;
  box-shadow: none;
  color: #fff3d7;
  font: 700 15px/1 "Segoe UI Symbol", Arial, sans-serif;
  cursor: pointer;
}

.portal-header .youtube-banner__pause:hover {
  background: #214045;
}

.portal-header .youtube-banner__pause:focus-visible {
  outline: 2px solid #fff3d7;
  outline-offset: 2px;
}

.portal-header .youtube-banner [hidden] {
  display: none;
}

.portal-header .youtube-banner__headlines > [hidden] {
  display: block;
  visibility: hidden;
}

@media (min-width: 821px) and (max-width: 1040px) {
  .portal-header .youtube-banner__headlines {
    max-width: 68%;
  }
}

@media (max-width: 560px) {
  .portal-header .youtube-banner {
    min-height: 151px;
    border-radius: 14px;
  }

  .portal-header .youtube-banner__shade {
    background: linear-gradient(90deg, #071b22 0%, #071b22ed 37%, #071b22a3 62%, #071b2210 90%);
  }

  .portal-header .youtube-banner__scene img {
    object-position: 57% 50%;
  }

  .portal-header .youtube-banner__link {
    padding: 12px 14px;
  }

  .portal-header .youtube-banner__headlines {
    width: min(73%, 260px);
    min-height: 50px;
    font-size: 22px;
  }
}

body.espana-commerce-page {
  --header-height: 152px;
  --header-height-mobile: 168px;
  padding-top: var(--header-height);
}

header.espana-commerce-header {
  display: flex;
  justify-content: center;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 152px;
  padding: 0;
  background: #ebf4f0;
  overflow: visible;
  text-align: left;
}

.espana-commerce-header .youtube-banner {
  width: 100%;
  max-width: 1100px;
  flex: 0 1 1100px;
}

.espana-commerce-header .youtube-banner__scene img {
  position: static;
  inset: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
}

.espana-commerce-header .youtube-banner__link:hover {
  text-decoration: none;
}

@media (max-width: 560px) {
  body.espana-commerce-page {
    padding-top: var(--header-height-mobile);
  }

  header.espana-commerce-header {
    height: 168px;
  }
}

