/* 
  MARK: Font 
*/
#django-header *:not(i),
#cms-content *:not(i),
#header-django .main-menu li,
footer *:not(i) {
  font-family: "Jost", sans-serif !important;
}

#header-django .main-menu li * {
  font-weight: 400 !important;
}

.custom-button-alzyone {
  background-color: #181818;
  color: white;
  border-radius: 20px 0 20px 0;
  border: 2px solid #181818;
  padding: 10px 44px;
  font-size: 22px;
  text-decoration: none;
  transition: border-radius 0.3s ease-in-out;
}

.custom-button-alzyone:hover {
  border-radius: 0;
}

/* 
  MARK: Hero 
*/

.hero-new-xl .hero-content {
  align-items: end;

  .highlight {
    color: white;
    font-size: 30px;
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
  }

  .highlight::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 50px;
    border-radius: 5px 0 5px 0;
    background-color: white;
    margin-left: 30px;
    vertical-align: middle;
  }
}

@media (max-width: 470px) {
  .hero-title {
    margin-top: -48px;
    position: relative;

    h1 {
      font-size: 50px;
      font-weight: 200;
      line-height: 1;
    }
  }

  .hero-new-xl .hero-content .highlight {
    font-size: 20px;
  }
}

@media (min-width: 470px) {
  .hero-title {
    margin-top: -80px;
    position: relative;

    h1 {
      font-size: 85px;
      font-weight: 200;
      line-height: 1;
    }
  }
}

.custom-img {
  margin-top: 1rem;
}

@media (min-width: 780px) {
  .custom-img {
    margin-top: 180px;
    cursor: crosshair;
    transition: transform 0.3s ease-in-out;
  }

  .custom-img:hover {
    transform: scale(1.05) !important;
  }
}

.custom-link {
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 12px;

  p {
    margin: 0;
    font-size: 28px;
    font-weight: 200;
    color: black;
  }
}

/* 
  MARK: Blog plugin
*/
.blog-featured-posts {
  display: grid;
  gap: 1rem;
}

@media (max-width: 789px) {
  .blog-featured-posts {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 790px) {
  .blog-featured-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-featured-posts .card {
  border: none;
}

.blog-featured-posts .card > img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 15px 0 15px 0;
  height: 320px;
}

.blog-featured-posts .card-body {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.blog-featured-posts .card-body .subtitle,
.blog-featured-posts .card-body .date.post-detail, 
.blog-featured-posts .card-body .text {
  display: none;
}

.blog-featured-posts .card-body::after {
  content: "";
  display: block;
  width: 70px;
  height: 8px;
  background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2237%22%20height%3D%228%22%20viewBox%3D%220%200%2037%208%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M36.4183%204.35356C36.6136%204.15829%2036.6136%203.84171%2036.4183%203.64645L33.2363%200.464469C33.0411%200.269207%2032.7245%200.269207%2032.5292%200.464469C32.334%200.659731%2032.334%200.976313%2032.5292%201.17158L35.3576%204L32.5292%206.82843C32.334%207.02369%2032.334%207.34027%2032.5292%207.53554C32.7245%207.7308%2033.0411%207.7308%2033.2363%207.53554L36.4183%204.35356ZM0.377808%204L0.377808%204.5L36.0648%204.5L36.0648%204L36.0648%203.5L0.377808%203.5L0.377808%204Z%22%20fill%3D%22black%22/%3E%3C/svg%3E);
  background-size: contain;
  background-repeat: no-repeat;
  margin: 16px auto 0 auto;
}

.blog-featured-posts .card-body .title {
  font-weight: 300;
}

/* 
  MARK: Contact form
*/

.alzyone-contact .form-group {
  max-width: 100%;
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
}

.alzyone-contact .form-group input,
.alzyone-contact .form-group textarea,
.alzyone-contact .form-group .iti--allow-dropdown {
  order: 2;
}

.alzyone-contact .form-group input,
.alzyone-contact .form-group textarea,
.alzyone-contact .form-group .iti--allow-dropdown #id_client_phone {
  padding-top: unset;
  border: 2px solid black;
  border-radius: 0;
}

.alzyone-contact .form-group label {
  order: 1;
  position: unset !important;
  color: black !important;
  text-transform: uppercase;
}

.alzyone-contact input[value]:not([type=checkbox]):not([value=""]) ~ label, 
.alzyone-contact input:not([type=checkbox]):focus ~ label, 
.alzyone-contact textarea[value]:not([value=""]) ~ label, 
.alzyone-contact textarea:focus ~ label, 
.alzyone-contact input[type=date] ~ label, 
.alzyone-contact input[type=number] ~ label, 
.alzyone-contact select ~ label, 
.alzyone-contact .iti ~ label {
  font-size: unset !important;
}

/* 
  MARK: Footer 
*/

footer * {
  color: white;
}

footer .footer-address {
  color: white;
  line-height: 1.5;
  font-size: 13px;
}