:root {
  --color-quijote-background: hsl(0,0%,93%);
  --color-quijote-gray: hsl(0, 0%, 74%);
  --color-quijote-main: hsl(360, 100%, 57%);
  --color-text-global: hsl(0, 0%, 0%);
  --global-font-size: 16px;
  --global-padding:.75rem;
  --h1:3rem;
  --h3:2.5rem;
  --h4:2rem;
  --h5:1.5rem;
  --h6:1.1rem;
  --top-menu-space: 4rem;
  --video-area:60vw;
  --space-image-ratio:1.6 / 1;
}

html {
  background-color:hsl(0,0%,93%);
  background-color:var(--color-quijote-background);
  box-sizing: border-box;
  color: hsl(0, 0%, 0%);
  color: var(--color-text-global);
  font-family: "Spirits Neutral", sans-serif;
  font-size: 16px;
  font-size: var(--global-font-size);
  font-weight: 100;
  line-height: 1;
  margin: 0;
  padding: 4rem 0 0 0;
  padding: var(--top-menu-space) 0 0 0;
  scroll-behavior: smooth;
}


h1,
h2,
h3,
h4,
h5,
h6,
.h3 {
  font-weight: 100;
  line-height: 1;
}

h1,h2,.h1,.h2{
  font-size: 3rem;
  font-size: var(--h1);
}
h1,.h1{
  color: hsl(360, 100%, 57%);
  color: var(--color-quijote-main);
}

h3,.h3 {
  font-size: 2.5rem;
  font-size: var(--h3);
}
h4,.h4 {
  font-size: 2rem;
  font-size: var(--h4);
}
h5,.h5 {
  font-size: 1.5rem;
  font-size: var(--h5);
}
h6,.h6 {
  font-size: 1.1rem;
  font-size: var(--h6);
}

p {
  font-size: 1rem;
  margin: 0 0 1.5em 0;
  padding: 0;
  line-height: 1.2;
}

a {
  color: hsl(0, 0%, 0%);
  color: var(--color-text-global);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

a:hover {
    color: hsl(360, 100%, 57%);
    color: var(--color-quijote-main);
  }

a.big-link {
    color: hsl(0, 0%, 74%);
    color: var(--color-quijote-gray);
    font-size: 2rem;
  }

a.big-link:hover {
      color: hsl(0, 0%, 0%);
      color: var(--color-text-global);
    }

.read-more{
  color: hsl(360, 100%, 57%);
  color: var(--color-quijote-main);
  display: inline-block;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
  text-decoration: none;
}

/* basic forms */

form,
input {
  display: block;
  width: 100%;
}

label {
  display: block;
  font-weight: 400;
  font-size: 1.2rem;
}

input,
textarea {
  background-color: white;
  border-bottom: 2px solid hsl(0, 0%, 0%);
  border-bottom: 2px solid var(--color-text-global);
  border-left: none;
  border-right: none;
  border-top: none;
  font-size: 1rem;
  padding: 0.5rem;
  width: 100%;
}

input:focus, textarea:focus {
    border-bottom-color: hsl(360, 100%, 57%);
    border-bottom-color: var(--color-quijote-main);
    outline: none;
  }

input:disabled, textarea:disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
  }

input:required:invalid, textarea:required:invalid {
    border-bottom-color: red;
  }

input:required:valid, textarea:required:valid {
    border-bottom-color: green;
  }

textarea {
  min-height: 200px;
  resize: vertical;
}

/* GENERICS */

.p-1{padding: 1rem}

.p-2{padding: 2rem}

.p-3{padding: 3rem}
.p-t-1{padding-top: 1rem}
.p-t-2{padding-top: 2rem}
.p-t-3{padding-top: 3rem}
.p-b-1{padding-bottom: 1rem}
.p-b-2{padding-bottom: 2rem}
.p-b-3{padding-bottom: 3rem}
.p-r-1{padding-right: 1rem}
.p-r-2{padding-right: 2rem}
.p-r-3{padding-right: 3rem}
.p-l-1{padding-left: 1rem}
.p-l-2{padding-left: 2rem}
.p-l-3{padding-left: 3rem}
.m-1{margin: 1rem}
.m-2{margin: 2rem}
.m-3{margin: 3rem}
.m-t-1{margin-top: 1rem}
.m-t-2{margin-top: 2rem}
.m-t-3{margin-top: 3rem}
.m-b-1{margin-bottom: 1rem}
.m-b-2{margin-bottom: 2rem}
.m-b-3{margin-bottom: 3rem}
.m-r-1{margin-right: 1rem}
.m-r-2{margin-right: 2rem}
.m-r-3{margin-right: 3rem}
.m-l-1{margin-left: 1rem}
.m-l-2{margin-left: 2rem}
.m-l-3{margin-left: 3rem}

.image{
  display:block;
  height:auto;
  max-width:100%;
  width:100%;
  margin:1rem 0;
}

.image .jail{
    height:100%;
    width:100%;
    background-color:hsl(0, 0%, 74%);
    background-color:var(--color-quijote-gray);
  }

.image .jail:empty{
      align-items:center;
      display:flex;
      justify-content:center;
    }

.image .jail:empty:before{
        content:'Imagen de la noticia';
      }

.image .jail img{
      width:100%;
      height:100%;
      -o-object-fit:cover;
         object-fit:cover;
    }

.image.square{aspect-ratio:1/1;}

.image.rectangle{aspect-ratio:1.5/1;}

.image.rectangle-long{aspect-ratio:2/1;}

.no-list {
  list-style: none;
  padding-left: 0;
}
.text-center {
    text-align: center;
  }
.text-color{
    color: hsl(0, 0%, 0%);
    color: var(--color-text-global);
  }
.text-left {
    text-align: left;
  }
.text-decoration-underline {
    text-decoration: underline;
  }
.text-main-color {
    color: hsl(360, 100%, 57%);
    color: var(--color-quijote-main);
  }
.text-right {
    text-align: right;
  }
.flex {
  display: flex;

}
.flex-column{
    flex-direction: column;
  }
.flex-justify-left {
    justify-content: flex-start;
  }
.flex-justify-right {
    justify-content: flex-end;
  }
.flex-justify-center {
    justify-content: center;
  }
.flex-justify-between {
    justify-content: space-between;
  }
.flex-justify-around {
    justify-content: space-around;
  }
.flex-justify-evenly {
    justify-content: space-evenly;
  }
.flex-align-top {
    align-items: flex-start;
  }
.flex-align-bottom {
    align-items: flex-end;
  }
.flex-align-center {
    align-items: center;
  }
.flex-align-stretch {
    align-items: stretch;
  }

.grid{
  display:grid;
}

.clear{
  clear:both;
}

#main-menu-checkbox{
  display:none;
}

#main-menu-checkbox:checked ~ #top-menu .hamburger .bar{
          background-color:black;
          top:50%;
          transform:translateY(-50%) rotate(45deg);
        }

#main-menu-checkbox:checked ~ #top-menu .hamburger .bar:last-child{
            transform:translateY(-50%) rotate(-45deg);
          }

#main-menu-checkbox:checked ~ #top-menu .hamburger .bar:nth-child(2){
            opacity:0;
          }

#main-menu-checkbox:checked ~ #top-menu .menu-list{
        height:calc(100vh - 4rem);
        height:calc(100vh - var(--top-menu-space));
        opacity:1;
        overflow:auto;
      }

#top-menu{
  background-color:hsl(0,0%,93%);
  background-color:var(--color-quijote-background);
  height:4rem;
  height:var(--top-menu-space);
  left:0;
  padding:.75rem;
  padding:var(--global-padding);
  position:absolute;
  top:0;
  width:100%;
  z-index:2;
}

#top-menu .logo img{
    height:calc(.75 * 4rem);
    height:calc(.75 * var(--top-menu-space));
    width:auto;
  }

#top-menu .menu-list{
    background-color:hsl(0,0%,93%);
    background-color:var(--color-quijote-background);
    height:0;
    margin:0px calc(.75rem * -1);
    margin:0px calc(var(--global-padding) * -1);
    opacity:0;
    overflow:hidden;
    padding:.75rem;
    padding:var(--global-padding);
    position:absolute;
    top:4rem;
    top:var(--top-menu-space);
    width:100%;
  }

.hamburger{
  display:block;
  height:3rem;
  position:relative;
  width:3rem;
}

.hamburger .bar{
    background-color:hsl(360, 100%, 57%);
    background-color:var(--color-quijote-main);
    border-radius:1rem;
    height:.5rem;
    left:0;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    transition:all .5s ease;
    width:100%;
  }

.hamburger .bar:first-child{
      top:10%;
      transform:translateY(0%);
    }

.hamburger .bar:last-child{
      bottom:10%;
      top:auto;
      transform:translateY(0%);
    }

.language{
  height:100%;
  padding:0 1rem;
}

.language .selection{
    border-radius: 0.5rem;
    border: 1px solid hsl(0, 0%, 0%);
    border: 1px solid var(--color-text-global);
    cursor:pointer;
    font-size: 0.75rem;
    padding: 0px 0.4rem;
  }

.language .selection.active{
      background-color: hsl(0, 0%, 0%);
      background-color: var(--color-text-global);
      color: white;
    }

.language .selection:hover{
      background-color: hsl(360, 100%, 57%);
      background-color: var(--color-quijote-main);
      color: white;
    }

.menu-default{
    text-transform: capitalize;
    transition:all .5s ease;
  }

.menu-default ul{
      list-style: none;
      overflow: hidden;
      padding-left: 0;
      transition: all .75s ease-in-out;
      width: 100%;
    }

.menu-default li{
      font-size: 2.5rem;
      font-size: var(--h3);
      line-height: 1.2;
      width: 100%;
    }

.menu-default a.active{
        color:hsl(360, 100%, 57%);
        color:var(--color-quijote-main);
      }

.menu-default.variant-section{
        padding-left: 1.8rem;
        position: relative;
        z-index: 1;
      }

.content-area{
  padding:.75rem;
  padding:var(--global-padding);
}

.main-image,
  .main-slider{
    aspect-ratio:1.6 / 1;
    aspect-ratio:var(--space-image-ratio);
    height:auto;
    margin:1rem 0;
    width:100%;
  }

.main-image picture,.main-image img,.main-slider picture,.main-slider img{
      height:100%;
      -o-object-fit:cover;
         object-fit:cover;
      width:100%;
    }

.data p{
  font-size:.8rem;
}

.article-list article{
    margin-bottom: 2rem;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
  }

.article-list article h2,.article-list article h3{
      color: hsl(360, 100%, 57%);
      color: var(--color-quijote-main);
      line-height: 1.1;
      text-transform: capitalize;
      font-size: 1.5rem;
      font-size: var(--h5);
    }

.article-list article picture{
      aspect-ratio:1/1;
      display: block;
      height: auto;
      margin-bottom: .75rem;
      overflow: hidden;
      position:relative;
      width: 100%;
    }

.article-list article picture img{
        height:100%;
        left:0;
        -o-object-fit:cover;
           object-fit:cover;
        position:absolute;
        top:0;
        width:100%;
      }

.article-list article > a{
      text-decoration:none;
      display:block;
    }

.article-prensa-list .image{
    aspect-ratio:2/1;
  }

.global-footer{
  padding:.75rem;
  padding:var(--global-padding);
}

.only-desktop{display:none;}

.see{
  transition:all .5s ease;
}

.see.hidden{opacity:0;}

.see.show{opacity:1;}

.checkbox-group{
  margin-bottom:.5rem;
}

.custom-checkbox {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.custom-checkbox input[type="checkbox"] {
    height: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 0;
  }

.custom-checkbox input[type="checkbox"]:checked + .checkbox-custom::before {
      color: hsl(360, 100%, 57%);
      color: var(--color-quijote-main);
      content: "✘";
      font-size: 1.1rem;
      font-weight: 400;
      left: 50%;
      position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
    }

.checkbox-custom {
  background-color: white;
  border-bottom: 2px solid hsl(0, 0%, 0%);
  border-bottom: 2px solid var(--color-text-global);
  display: inline-block;
  height: 16px;
  height: var(--global-font-size);
  margin-right: 0.5rem;
  position: relative;
  width: 16px;
  width: var(--global-font-size);
}

.boton-enviar {
  color: hsl(360, 100%, 57%);
  color: var(--color-quijote-main);
  cursor: pointer;
  display: inline-block;
  font-size: 4rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  text-decoration: underline;
}

.correo-contacto {
  font-size: 2rem;
}

.avatar-placeholder {
  align-items: center;
  aspect-ratio: 3 / 4;
  background-color: #bfbfbf;
  color: #666;
  display: flex;
  font-size: 0.9rem;
  font-style: italic;
  justify-content: center;
  margin-bottom: 0.5rem;
  width: 100%;
}

.avatar-placeholder img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
  }

.video-container {
  aspect-ratio: 16 / 9;
  background-color: hsl(0, 0%, 0%);
  background-color: var(--color-text-global);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.video-container iframe {
    border: none;
    display: block;
    height: 100%;
    width: 100%;
  }

.premios{
  text-align:center;
  filter:grayscale(100%);
  white-space:wrap;
}

.premios li{
    display:inline-block;
    padding:1rem;
  }

.premios li img{
      max-width:100px;
    }

#video-overlay {
  align-items: center;
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  inset: 0;
  justify-content: center;
  padding-top: 0;   
  position: fixed;
  z-index: 10;
}

.video-modal {
  aspect-ratio: 16/9;     
  margin: auto;       
  padding: 1rem;
  width:100%;
}
.video-container {
  aspect-ratio: 16/9;
  height:auto;
  width: 100%;
}
.video-container iframe {
    border: none;
    height: 100%;
    width: 100%;
  }
.close-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 4rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

/* Overlay inline móvil */
.inline-video {
  background-color: black;
  margin-top: 1rem;
  position: relative;
}
.inline-video .video-container {
    aspect-ratio: 16/9;
  }
.inline-video .close-inline {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    color: white;
    border: none;
    z-index: 10;
  }

body.mobile-overlay {
  background-color: rgba(0, 0, 0, 0.75);
}

.video-embed .iframe-container {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

.video-embed iframe {
    height: 100%;
    pointer-events: none; 
    width: 100%;
  }

.video-embed .click-catcher {
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    inset: 0;
    position: absolute;
  }

.media-box.video-embed {
    aspect-ratio: 16 / 9;
    background: var(--quijote-gray);
    overflow: hidden;
    position: relative;
    width: 100%;
  }

.media-box.video-embed .iframe-container {
      height: 100%;
      inset: 0;
      position: absolute;
      width: 100%;
    }

.media-box.video-embed iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100% !important;
      height: 100% !important;
      border: none;
      pointer-events: none; 
    }

@media (min-width: 600px){
  :root{
    --global-gap:1rem;
  }
  .team-container{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    grid-gap:var(--global-gap);
  }
      .article-content .gallery-content .grid{
        grid-template-columns:1fr 1fr;
        grid-gap:var(--global-gap);
      }
      .article-content .gallery-content .image{
        margin:0;
      }
    .article-content > div::empty{
      display:none;
    }
}

@media (min-width: 991px){
  :root{
    --global-padding:1rem;
    --global-font-size: 18px;
    --space-center:calc((100% - var(--space-right)) - var(--space-left));
    --space-left:15%;
    --space-right:7rem;
  }

  .video-modal {
    width:80%;
  }
    .only-desktop{display:initial;}
    .only-mobile{display:none;}

  .language{
    padding:0;
  }

  .sticky{
    position: sticky;
    top: 1rem;
  }

  .main-header{
    margin-bottom:3rem;
  }
      .main-header .main-image,
      .main-header .main-slider{    
        position:absolute;
        right:var(--space-right);
        top:0;
        width:60vw;
        width:var(--video-area);
        z-index:0;
      }
    .main-header > aside{
      margin-left:var(--space-left);
    }
    .main-header.full-screen-area{
      height:calc(100vh - (4rem + (.75rem * 2 )));
      height:calc(100vh - (var(--top-menu-space) + (var(--global-padding) * 2 )));
      position:relative;
    }
        .main-header.full-screen-area .main-slider .owl-carousel,
        .main-header.full-screen-area .main-slider .owl-stage-outer,
        .main-header.full-screen-area .main-slider .owl-stage,
        .main-header.full-screen-area .main-slider .owl-item,
        .main-header.full-screen-area .main-slider .item,
        .main-header.full-screen-area .main-slider picture,
        .main-header.full-screen-area .main-slider img{
          height:100%;
        }
        .main-header.full-screen-area .main-slider img{
          -o-object-fit:cover;
             object-fit:cover;
        }
      .main-header.full-screen-area .film-title-area{
        aspect-ratio:1.6 / 1;
        aspect-ratio:var(--space-image-ratio);
        height: auto;
        position:relative;
        width: 60vw;
        width: var(--video-area);
      }
        .main-header.full-screen-area .film-title-area .author{
          position:absolute;
          bottom:0;
        }
      .main-header.full-screen-area > aside{
        position:absolute;
        top:0;
        z-index:2;
      }

  .go-content{
    bottom:0;
    height:1rem;
    position:absolute;
    right:var(--space-right);
    width:60vw;
    width:var(--video-area);
    z-index:0;
  }
    .go-content .arrow{
      display:block;
      height:1rem;
      position:absolute;
      width:5rem;
      left:calc(50% - 2.5rem);
    }
      .go-content .arrow:after,
      .go-content .arrow:before{
        background: gray;
        border-radius: 1rem;
        content: "";
        cursor: pointer;
        display: block;
        height: .25rem;
        position: absolute;
        width: 55%;
      }
      .go-content .arrow:after{
        right:45%;
        transform-origin:left center;
        transform:rotate(15deg);
      }
      .go-content .arrow:before{
        left:45%;
        transform-origin:right center;
        transform:rotate(-15deg);
      }
    .content-area > section{
      display:flex;
    }
      .content-area > section .desktop-pusher{width:var(--space-left);}
      .content-area > section > section{width:var(--space-center);}
      .content-area > section .menu-area{width:var(--space-right);}
    .menu-default li{
      line-height:1;
    }
      .menu-default li:hover > a,
      .menu-default li.sub-menu:hover > span{
        color:hsl(360, 100%, 57%);
        color:var(--color-quijote-main);
        cursor:pointer;
      }
        .menu-default li.sub-menu > ul{
          height: 0;
          max-height: 0;
          overflow: hidden;
        }
          .menu-default li.sub-menu.open > ul{
            --menu-heigth-limit: 27em;
            height: initial;
            max-height: 27em;
            max-height: var(--menu-heigth-limit); 
          }
          .menu-default li.sub-menu.open > span{
           color:hsl(360, 100%, 57%);
           color:var(--color-quijote-main);
          }
        .menu-default.with-arrow li:before{
          content: "→";
          margin-left: calc((1.5rem + 0.5rem) * -1);
          margin-left: calc((var(--h5) + 0.5rem) * -1);
          margin-right: 0.6rem;
          transition: all 0.25s ease-in-out;
        }
          .menu-default.with-arrow li.open:before,.menu-default.with-arrow li:hover:before{
            margin-left: 0;
            color:hsl(360, 100%, 57%);
            color:var(--color-quijote-main);
          }
    .menu-area h2{
      font-size:1.5rem;
      font-size:var(--h5);
      text-align:right;
    }
      .menu-area .menu-default li{
        font-size:1.1rem;
        font-size:var(--h6);
      }
      .menu-area .menu-default ul{
        text-align:right;
      }

  .article-list {
    display:grid;
    grid-template-columns: repeat(10, 1fr);
  }
    .article-list article {
      grid-column: span 4;
      position:relative;
      margin-bottom:10%;
    }
      .article-list article .media-box {
        padding:0;
        width:100%;
        z-index:1;
      }
        .article-list article .media-box picture {
          aspect-ratio:1/1;
          height:auto;
          -o-object-fit:cover;
             object-fit:cover;
          width:100%;
        }
      .article-list article:nth-child(2),
      .article-list article:nth-child(3),
      .article-list article:nth-child(4n + 3),
      .article-list article:nth-child(4n + 2) {
        grid-column: span 5;
      }
        .article-list article:nth-child(2) picture, .article-list article:nth-child(3) picture, .article-list article:nth-child(4n + 3) picture, .article-list article:nth-child(4n + 2) picture {
          aspect-ratio: 1.5 / 1;
        }
      .article-list article:nth-child(1),
      .article-list article:nth-child(4n + 1) {
        margin-top: 20%;
      }
      .article-list article:nth-child(2n) {
        grid-column-end: -1;
      }
    .article-prensa .image{
      max-width:40%;
      float:right;
    }
    .article-prensa-list{
      position:relative;
      margin-bottom:3rem;
    }
      .article-prensa-list .texto{
        padding:1rem 1.5rem 0 0;
      }
      .article-prensa-list .image{
        float:right;
        margin-left:1rem;
        margin-top:-3rem;
        width:75%;
      }
      .article-prensa-list::after{
        clear:both;
        content:'';
        display:block;
      }

  .article-content{
    display:flex;
  }
    .article-content .info{
      padding-right:1rem;
      position:relative;
      width:calc(100% - 60vw);
      width:calc(100% - var(--video-area));
    }
      .article-content .info + .gallery-content{
        width:60vw;
        width:var(--video-area);
      }
    .article-content .gallery-content{
      width:100%;
    }
    .article-content .premios{
      height:100%;
      left:-4rem;
      position:absolute;
      width:3rem;
    }
      .article-content .premios li{
        display:block;
        padding:0;
      }
        .article-content .premios li img{
          width:100%;
        }

  .team-container{
    grid-template-columns:repeat(4, 1fr);
  }

  .global-footer{
    margin-top:5rem;
  }
    .global-footer .footer-content{
      align-items: center;
      display: flex;
      justify-content: space-between;
    }
        .global-footer .footer-content .social img{
          height:1rem;
          margin-right:.25rem;
          width:1rem;
        }
}

@media (min-width: 2560px){
  :root{
    --global-font-size:1.25vw;
  }
}