html:has(.context-origen) {
  scroll-behavior: smooth;
}
.context-origen .hero.hero_type_link {
  background-image: unset;
  height: 100vh;
}
.context-origen .hero.hero_type_link .hero__content {
  height: 100vh;
  justify-content: space-between!important;
}
.context-origen .hero.hero_type_link .hero__content a {
  background-color: transparent;
  margin: 0 auto;
  background-image: url(../../images/flecha.svg);
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 76px;
}
.context-origen #second_block img {
  width: 100vw;
  margin-left: 0 !important;
}
.context-origen #valencia-primavera {
  background-color: #2B2B2B;
  color: #FFF;
}
.context-origen #valencia-primavera .title-block {
  font-family: MiradorBold, sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 38.56px;
  letter-spacing: 0;
}
.context-origen #valencia-primavera .description-block {
  font-family:MuseoSans, sans-serif;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0;
}
.context-origen #valencia-primavera .title-block div {
  border-bottom: 1px solid white;
  padding-bottom: 8px;
}
.paragraph.paragraph--type--block-images-with-link.paragraph--view-mode--default.fourth_block,
.paragraph.paragraph--type--content-views-block.paragraph--view-mode--default.paragraph-views.lozad,
.paragraph.paragraph--type--block-2-texts-4-images.paragraph--view-mode--default.fifth_block {
  padding-top: 1rem;
}
@media (min-width:1133px){
  .context-origen #valencia-primavera .title-block {
    font-weight: 700;
    font-size: 47.7px;
    line-height: 39.28px;
  }
  .context-origen #valencia-primavera .description-block {
    font-size: 15.74px;
  }
}
@media (min-width:1728px){
  .context-origen #valencia-primavera .title-block {
    font-weight: 700;
    font-size: 72.75px;
    line-height: 59.92px;
  }
  .context-origen #valencia-primavera .description-block {
    font-size: 24px;
  }
}

.context-origen .fourth_block > div:first-child{
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 3.5rem auto;
}
.context-origen .fourth_block img{
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  max-height: 320px;
}
@media (max-width: 768px) {
  .context-origen .fourth_block .paragraph--type--image-with-link{
    width: 100%;
  }
  .context-origen .fourth_block .paragraph--type--image-with-link > div{
    text-align: center;
  }
  .context-origen .fourth_block img{
    max-width: 235px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) {
  .context-origen .fourth_block > div:first-child{
    margin: 7rem auto;
    flex-wrap: nowrap;
    gap: 3.5rem;
    padding: 0 3rem;
  }
  .context-origen .fourth_block img:hover{
    transform: scale(1.08);
    z-index: 10;
  }
  .context-origen .fourth_block img {
    max-height: 500px;
    width: auto;
  }
}

.fifth_block .beer-history-block {
  display: grid;
  grid-template-areas:
    "text-top label-stark"
    "label-marzen label-stark"
    "bottle-marzen bottle-stark"
    "text-bottom text-bottom";
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  align-items: end;
}

.fifth_block .beer-history-text-top {
  grid-area: text-top;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  width: 85%;
}

.fifth_block .beer-history-labels {
  display: contents;
}

.fifth_block .label-marzen {
  grid-area: label-marzen;
  width: 100%;
  max-width: 610px;
}

.fifth_block .label-marzen img{
  height: 100%;
  width: 115%;
  max-width: none;
}

.fifth_block .label-stark {
  grid-area: label-stark;
  width: 100%;
  margin-top: -10em;
  height: 100%;
  z-index: -1;
  display: block;
}

.fifth_block .label-stark img{
  width: 80%;
  position: relative;
  left: 7em;
  max-width: 425px;
}

.fifth_block .beer-history-bottles {
  display: contents;
}

.fifth_block .bottle-marzen {
  grid-row-start: bottle-marzen;
  margin-top: -13em;
  grid-row-end: text-bottom;
  grid-column: bottle-stark;
  margin-left: -9em;
  width: fit-content;
}

.fifth_block .bottle-stark {
  grid-row-start: bottle-stark;
  justify-self: end;
  margin-top: -12rem;
  grid-row-end: text-bottom;
  grid-column: bottle-stark;
  margin-right: 9em;
}

.fifth_block .bottle-stark img{
  width: 150px;
}

.fifth_block .bottle-marzen img{
  width: 250px;
}

.fifth_block .beer-history-text-bottom {
  width: 40%;
  grid-area: text-bottom;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) and (max-width: 1200px){
  .fifth_block .beer-history-block{
    padding: 0 3em;
  }
  .fifth_block .label-stark{
    text-align: right;
  }
  .fifth_block .label-stark img{
    left: 0;
    width: 90%;
    max-width: 400px;
  }
  .fifth_block .bottle-stark{
    width: 80%;
    text-align: center;
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .fifth_block .beer-history-block {
    grid-template-areas:
      "text-top"
      "marzen"
      "stark"
      "text-bottom";
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 3rem 3rem 0;
    margin: 2rem auto 1rem;
  }
  .fifth_block .label-marzen, .fifth_block .label-stark {
    justify-self: left;
    margin-top: 0;
  }
  .fifth_block .label-marzen img{
    height: 100%;
    width: 85%;
  }
  .fifth_block .label-marzen, .fifth_block .bottle-marzen{
    grid-area: marzen;
  }
  .fifth_block .bottle-marzen{
    width: 50%;
    margin-left: 0;
    justify-self: end;
    text-align: end;
  }
  .fifth_block .label-stark, .fifth_block .bottle-stark{
    grid-area: stark;
  }
  .fifth_block .bottle-stark{
    justify-self: end;
    margin-right: 0;
    max-width: 150px;
    width: 30%;
  }
  .fifth_block .bottle-stark img{
    width: 100%;
  }
  .fifth_block .label-stark{
    height: auto;
    margin-bottom: 7.5rem;
  }
  .fifth_block .label-marzen{
    margin-bottom: 9.5rem;
  }
  .fifth_block .label-stark img{
    left: 0;
  }
  .fifth_block .beer-history-text-top, .fifth_block .beer-history-text-bottom{
    width: 100%;
  }
  #secondary_block picture{
    height: 493px;
  }
  #secondary_block picture img{
    margin: 0 !important;
    object-fit: cover;
    height: 100%;
  }
}
#secondary_block picture{
  max-height: 100% !important;
}
#secondary_block picture img{
  width: 100%;
}