
/* 
- - - - - - - - - - - - - - - - - - - - -
START FIXED COLORS 
- - - - - - - - - - - - - - - - - - - - -
Agregadas classes temporales para cambiar el color del layout.
*/
body.page-id-15 {
  background: black!important;
}
body.page-id-15 header {
  background: black!important;
}
body.page-id-15 header .box img {
    filter: brightness(0) invert(1);
}
body.page-id-15 header .menu li a:not(.current-menu-item) {
/*body.wp-theme-tbs header .menu li a:not(.current-menu-item) {*/
  color: #fff;
}
/* 
- - - - - - - - - - - - - - - - - - - - -
END FIXED COLORS 
- - - - - - - - - - - - - - - - - - - - -
*/


.noticias {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.noticias > center {
  padding-top: 160px;
}

/* News Grid */
.noticias--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px;
  max-width: 1400px;
  margin: 8rem auto 6rem;
}
.noticias--grid__item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.noticias--grid__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: #fff;
}
.noticias--grid__image {
  overflow: hidden;
}
.noticias--grid__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: transform 0.4s ease;
}
.noticias--grid__item:hover .noticias--grid__image img {
  transform: scale(1.05);
}
.noticias--grid__content {
  padding: 20px;
}
.noticias--grid__date {
  font-size: 0.875rem;
  color: #999;
  display: block;
  margin-bottom: 8px;
}
.noticias--grid__title {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 10px;
  color: white;
}
.noticias--grid__excerpt {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticias--slide {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 500px;
  overflow: hidden;
  perspective: 200px;
  perspective-origin: 50% 130%;
  margin: 0 auto;
}
.noticias--slide .card {
  position: absolute;
  bottom: 0;
  left: 50%;
  max-width: 900px;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  transform: translate3d(-50%, 0%, 0px);
  overflow: hidden;
  background: #000;
}
.noticias--slide .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}
.noticias--slide .card img {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0.75;
}
.noticias--slide .card p {
  color: white;
  font-weight: 100;
  font-size: 1.125rem;
}
.noticias--slide .card span {
  text-decoration: underline;
  display: block;
  background: url("../img/flecha.svg") no-repeat right center;
  padding-right: 28px;
  color: white;
  font-size: 0.875rem;
  background-size: 18px, auto;
  margin: 30px 0 10px;
  cursor: pointer;
}
.noticias--slide .card .copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.noticias--slide .card h2 {
  position: relative;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 100px;
  color: white;
  margin: 0 0 10px 0;
}
.noticias--slide .card a {
  border-radius: 100px;
  display: flex;
  align-items: center;
  height: 38px;
  background: var(--primary);
  color: white;
  padding: 0 34px;
  cursor: pointer;
  font-size: 0.875rem !important;
  gap: 14px;
  transition: all 0.3s;
  border: none;
}
.noticias--slide .card a:hover {
  background: var(--secondary);
}

.noticias--detalle {
  position: relative;
  padding: 0px;
  overflow: hidden;
}
.noticias--detalle .container {
  max-width: 800px;
}
.noticias--detalle-header {
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.noticias--detalle-header::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.noticias--detalle-header img {
  object-fit: cover;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}
.noticias--detalle-header h1 {
  font-size: 3.125rem;
  line-height: 3.125rem;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  color: white;
}
.noticias--detalle-header h3 {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 1.5rem;
  font-weight: normal;
  margin: 0 0 20px 0;
}
.noticias--detalle > .container center {
  color: var(--primary);
  margin-bottom: 30px;
}
.noticias--detalle > .container .wp-post-image {
  width: 100%;
  object-fit: cover;
  margin-bottom: 20px;
}
.noticias--detalle-subtitulo {
  margin: 0 0 20px;
  padding-bottom: 20px;
  position: relative;
}
.noticias--detalle-subtitulo::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0px;
  width: 20px;
  height: 5px;
  background: var(--primary);
}
.noticias--detalle-subtitulo p {
  font-size: 1.625rem;
  line-height: 1.875rem;
  color: var(--primary);
}
.noticias--detalle-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
}

.noticias--detalle .works--gallery .item iframe {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 16/9;
}

.noticias--detalle .works--gallery {
  padding: 0px 0 51px;
  margin: 0px;
  list-style-type: none;
  width: 100%;
  background: white;
  position: relative;
}
.noticias--detalle .work-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.noticias--detalle .work-slider-content {
  display: flex;
  width: 100%;
}
.noticias--detalle .works--gallery .item {
  height: calc(100vh - 51px);
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}
.noticias--detalle .slider-dots {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}
.noticias--detalle .works--gallery img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.single-post .noticias--slide {
  height: 580px;
  top: 0px;
}
.single-post .noticias--slide .card {
  bottom: -140px;
}

.noticias--filtro {
  margin: 0px 0 0 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.noticias--filtro input[type="text"] {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #666666;
  font-size: 16px;
  color: #666666;
  font-weight: 400;
  min-width: 350px;
  padding: 8px 10px;
}
.noticias--filtro input[type="text"]::placeholder {
  color: #999999;
  font-style: italic;
}
.noticias--filtro input[type="text"]:focus {
  outline: 0;
}
.noticias--filtro select {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #666666;
  font-size: 16px;
  color: #666666;
  font-weight: 400;
  appearance: none;
  background: url("../img/select.svg") no-repeat right 10px center;
  padding: 8px 20px 8px 10px;
  cursor: pointer;
}
.noticias--filtro select:focus {
  outline: 0;
}
.noticias--filtro button {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.noticias--gallery-wrapper {
  width: 100%;
  margin: 60px 0;
  position: relative;
}
.noticias--gallery {
  display: flex;
  gap: 100px;
  padding: 0px 0;
  margin: 0px;
  width: max-content;
  list-style-type: none;
}
.noticias--gallery img {
  width: 700px;
  height: 440px;
  object-fit: cover;
}

@media (max-width: 992px) {
  .noticias--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .noticias {
    min-height: calc(100svh - 51px);
    justify-content: flex-start;
  }
  .noticias > center {
    padding-top: 120px;
  }
  .noticias--filtro {
    flex-direction: column;
    margin-bottom: 0.5rem;
  }
  .noticias--filtro input[type="text"] {
    min-width: auto;
  }
  .noticias--grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
  .noticias--slide {
    height: 100%;
    perspective: 260px;
    perspective-origin: 50% 100%;
  }
  .noticias--slide .card p {
    font-size: 1rem;
    margin: 0 0 10px 0;
  }
  .noticias--slide .card {
    top: 0;
    max-width: 900px;
    width: 100%;
    height: 400px;
    transform: translate3d(-50%, 0%, 0px);
  }
  .noticias--slide .card .copy {
    padding-top: 10px;
    height: 100%;
    justify-content: flex-start;
  }
  .noticias--slide .card img {
    height: 100%;
    object-fit: cover;
  }
  .noticias--slide .card h2 {
    font-size: 1rem;
    line-height: 1.25rem;
    padding: 0 50px;
  }
}

@media (max-width: 320px) {
  .noticias--slide .card h2 {
    font-size: 0.8rem;
    line-height: 1rem;
    padding: 0 40px;
  }
}

@media (max-height: 780px) and (max-width: 480px) {
  .noticias--slide {
    perspective: 280px;
    perspective-origin: 50% 200%;
  }
}

@media (max-height: 700px) and (max-width: 480px) {
  .noticias--slide {
    perspective: 330px;
    perspective-origin: 50% 300%;
  }
}
