/* HubLAC — Home: notícias (slider + cards), vídeos, seções e animação */

.home #blog-table_filter {display: none !important;}

.home .blog-grid {margin: 80px 0 0;}

.home .blog-grid h1{
    font-weight: 600;
    margin: 0 0 30px;
    text-align: center;
}

.home .blog-grid .dataTables_paginate,
.home .blog-grid .dataTables_info {display: none !important;}

.home .blog-grid .box-btn {
	display: flex;
	justify-content: center;
	margin: 30px 0 0;
}

.home-news-grid {
  display: grid;
  grid-template-columns: auto 400px;
  gap: 25px;
  align-items: start;
  max-width: 1460px;
  margin: 0 auto;
}

.home-news-left,
.home-news-right {
  min-width: 0;
}

/* SLIDER */
.home-news-block {margin: 0 0 80px;}

.home-news-slide {
  display: block;
  text-decoration: none;
  color: color: var(--global--color-white);
}

.home-news-slide__media {
  border-radius: 15px;
  overflow: hidden;
}

.home-news-slide__image {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #6c4099;
}

.home-news-slide__content {
  padding: 26px 4px 0;
}

.home-news-slide__content h3 {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--global--color-white);
}

.home-news-slide__content span {
  font-size: 1.15rem;
  color: var(--global--color-yellow);
  font-weight: 500;
	  font-size: var(--global--font-size-xs);
}

/* LATERAL */
.home-news-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.home-news-card {
  display: block;
  text-decoration: none;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform .2s ease, background .2s ease;
}

.home-news-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.home-news-card__inner {
	padding: 15px;
}

.home-news-card h4 {
  margin: 0 0 10px;
  color: var(--global--color-white);
	font-weight: 600;
	  font-size: var(--global--font-size-sm);
}

.home-news-card span {
  color: var(--global--color-yellow);
	  font-size: var(--global--font-size-xxs);
}

/* Dots do Splide */
#home-news-slider .splide__pagination {
  top: 230px;
  justify-content: flex-end;
  padding-right: 22px;
}

#home-news-slider .splide__pagination__page {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.35);
  opacity: 1;
  margin: 0 6px;
	border: 1px solid var(--global--color-yellow);
}

#home-news-slider .splide__pagination__page.is-active {
  transform: none;
  background: var(--global--color-yellow);
}

/* setas escondidas */
#home-news-slider .splide__arrow {
  display: none;
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  #home-news-slider .splide__pagination {
    bottom: 130px;
  }
}

@media (max-width: 767px) {
  .home-news-block {
    padding: 28px 18px;
  }

  .home-news-grid {
    gap: 22px;
  }

  .home-news-slide__content {
    padding-top: 18px;
  }

  .home-news-card__inner {
    padding: 20px;
  }

  #home-news-slider .splide__pagination {
    bottom: 105px;
    padding-right: 14px;
  }
}

/* Homepage YouTube */
.home .video-grid h1 {
    font-weight: 600;
    margin: 0 0 30px;
    text-align: center;
}

.home .video-grid .box-btn {
    display: flex;
    justify-content: center;
    margin: 30px 0 0;
}

/*
HOMEPAGE
*/

body.home {
    background: rgb(216,79,81);
    background: -moz-linear-gradient(135deg, rgb(216, 79, 81) 0%, rgba(102,66,148,1) 100%);
    background: -webkit-linear-gradient(135deg, rgba(216,79,81,1) 0%, rgba(102,66,148,1) 100%);
    background: linear-gradient(135deg, rgba(216,79,81,1) 0%, rgba(102,66,148,1) 100%);
    background-image: linear-gradient(135deg, #d84f51, #664294);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d84f51",endColorstr="#664294",GradientType=1);
}

body.home::before {
    content: "";
    position: absolute;
    right:0;
    bottom:0;
    left:0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, #d84f51, #664294);
    z-index: -9;
}

.section-home {margin-bottom: 100px;}

section#home-1 {
    height: calc(100vh - 250px);
    margin-bottom: 150px;
    display: grid;
    align-content: end;
}

section#home-1 .title-description,
section#home-3 .title-description {
    max-width: 850px;
}

section#home-2 .title-description h3 {font-weight: 600;}

.home .title-description {margin-top: 10px;}

.background-dark section#home-1 .btn-group a:nth-child(2n) .btn {
    color: var(--global--color-black);
    background-color: var(--global--color-white);
    border: 1.5px solid var(--global--color-white);
}

.background-dark section#home-1 .btn-group a:nth-child(2n):hover .btn {
    color: var(--global--color-white);
    background-color: var(--global--color-black);
    border: 1.5px solid var(--global--color-black);
}

.home .btn-group {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

section:not(#home-1) .btn-group  {justify-content: center;}

section#home-3 .title-description {margin: 0 auto;}

/* Animação */

.animation-home {
    width: calc(92vw - 240px);
    height: calc((92vw - 240px)*0.5);
    position: relative;
    margin: 50px 0;
}

.animation-home:hover .animation-box .mouse-hover-out {opacity: 0.7;}

#animation-ref,
#animation-0 {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
}

.animation-box {
    position: absolute;
    cursor: pointer;
}

#animation-1 {
    bottom: 0;
    left: 0;
    width: auto;
    height: 74.5%;
    z-index: 1;
}

.animation-img {
    height: 100%;
    width: auto;
    transition: 0.3s all;
    position: absolute;
    top: 0;
    left: 0;
}

.mouse-hover-out {opacity: 1;}
.mouse-hover-in {opacity: 0;}

.animation-home .animation-box:hover .mouse-hover-out {opacity: 0;}
.animation-home .animation-box:hover .mouse-hover-in {opacity: 1;}

#animation-2 {
    top: 0;
    left: 37.7%;
    width: auto;
    height: 73.5%;
}

#animation-2.pt {left: 35.3%;}

#animation-2.en {left: 17.4%;}

#animation-3 {
    top: 2.9%;
    left: 62.6%;
    width: auto;
    height: 62%;
}

/* ---- Responsivo (celular) ---- */
@media (max-width: 767px) {

    /* Homepage */

    section#home-1 {
      height: auto;
      margin-bottom: 50px;
    }

    .home .btn-group {flex-wrap: wrap;}

    .animation-home {
        width: calc(92vw - 16px);
        height: calc((92vw - 16px)*0.5);
        margin: 30px 0;
    }

    #home-3 {margin-bottom: 0;}

}
