/*
Theme Name: Volotea
Version: 1.0
Author: Solve The X
Description: Volotea custom theme
Requires at least: 5.0
Tested up to: 6.6.1
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: volotea
This theme, like WordPress, is licensed under the GPL.
*/

/* FONT FAMILY */
@font-face {
  font-family: "Volotea Sans";
  src: url("https://assets.volotea.com/assets/fonts/volotea-sans/volotea-sans-regular.woff2")
    format("woff2");
}

@font-face {
  font-family: "Volotea Sans Bold";
  font-weight: 700;
  src: url("https://assets.volotea.com/assets/fonts/volotea-sans/volotea-sans-bold.woff2")
    format("woff2");
}

@font-face {
  font-family: "Volotea Sans Condensed";
  src: url("https://assets.volotea.com/assets/fonts/volotea-sans/volotea-sans-condensed.woff2")
    format("woff2");
}

@font-face {
  font-family: "Volotea Sans Condensed-Bold";
  src: url("https://assets.volotea.com/assets/fonts/volotea-sans/volotea-sans-condensed-bold.woff2")
    format("woff2");
}

body {
  font-family: "Volotea Sans", Helvetica, Arial, sans-serif !important;
  background-color: #f6f4f4 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Volotea Sans Condensed-Bold", Helvetica, Arial, sans-serif;
}

strong {
  font-family: "Volotea Sans Bold", Helvetica, Arial, sans-serif;
}

/* TYPOGRAPHY */

h1 {
  font-weight: 700 !important;
  line-height: 3rem !important;
  font-size: 3rem !important;
}

h2 {
  font-weight: 700 !important;
  line-height: 2rem !important;
  font-size: 2rem !important;
  color: var(--wp--preset--color--primary) !important;
}

h3 {
  font-weight: 700 !important;
  line-height: 1.5rem !important;
  font-size: 1.5rem !important;
  color: var(--wp--preset--color--primary) !important;
}

p {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
  font-weight: 400 !important;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  h1 {
    font-size: 3.5rem !important;
    line-height: 3.5rem !important;
  }
  h2 {
    font-size: 2.8rem !important;
    line-height: 2.8rem !important;
  }
  h3 {
    font-weight: 700 !important;
    line-height: 2rem !important;
    font-size: 2rem !important;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  h1 {
    font-size: 4rem !important;
    line-height: 4rem !important;
  }
  h2 {
    font-size: 3rem !important;
    line-height: 3rem !important;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  h1 {
    font-size: 5.5rem !important;
    line-height: 5.115rem !important;
  }
  h2 {
    line-height: 3rem !important;
    font-size: 3rem !important;
  }
}

/* MAX WIDTH SIZING */

.wp-site-blocks > .wp-block-group > *,
.volotea-footer > div,
.volotea-navbar,
.volotea-header {
  margin: 0 auto !important;
  max-width: 1440px !important;
}

.wp-site-blocks > .wp-block-group {
  margin: 0 !important;
}

/* GLOBALS */

.is-layout-flex {
  gap: 0 !important;
}

@media (min-width: 768px) {
  .wp-block-columns {
    flex-wrap: nowrap !important;
    flex-direction: row;
  }
}

a.has-primary-red-color:hover {
  color: var(--wp--preset--color--primary-red) !important;
}

.soft-brown {
  color: #8f7b7c !important;
}

.paragraph-big {
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}

li.wp-social-link:hover {
  transform: none !important;
}

@media (min-width: 768px) {
  .paragraph-padding-left {
    padding-left: 2rem;
  }
}

@media (min-width: 1200px) {
  .paragraph-padding-left {
    padding-left: 3rem;
  }
}

@media (min-width: 1400px) {
  .paragraph-padding-left {
    padding-left: 4rem;
  }
}

.column-radius {
  border-radius: 4px;
  overflow: hidden;
}

/* CUSTOM MAIN CONTAINER */
.custom-main-container {
  padding: 2.5rem 1rem !important;
}

.custom-main-container figure {
  margin: 0 !important;
  width: 100%;
  display: block !important;
}

.custom-main-container svg {
  display: none;
  margin: 0 !important;
}

.custom-main-container > .wp-block-column:last-of-type {
  position: relative;
}

@media (min-width: 768px) {
  .custom-main-container {
    display: grid;
    grid-template-columns: 55% 45%;
    padding: 0 !important;
    text-wrap: balance;
  }

  .custom-main-container > div:first-of-type {
    grid-column-start: 1;
    grid-column-end: 2;
    max-width: 528px;
    box-sizing: content-box !important;
  }
  .custom-main-container > div:last-of-type {
    grid-column-start: 2;
    grid-column-end: -1;
  }

  .custom-main-container p {
    margin-bottom: 0 !important;
  }

  .custom-main-container > div:first-of-type {
    padding: 0rem 1.25rem !important;
    padding-right: 3rem !important;
  }

  .custom-main-container img {
    min-height: 400px;
    object-fit: cover;
  }

  .custom-main-container svg {
    height: 140px;
    width: 140px;
  }
}

@media (min-width: 992px) {
  .custom-main-container {
    height: 603px;
    max-height: 603px;
  }
  .custom-main-container .wp-block-column:last-of-type,
  .custom-main-container figure {
    height: 100% !important;
  }

  .custom-main-container > div:first-of-type {
    padding: 0rem 2rem !important;
  }

  .custom-main-container img {
    height: 100% !important;
    object-fit: cover !important;
  }
}

@media (min-width: 1200px) {
  .paragraph-big {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
  }

  .custom-main-container > div:first-of-type {
    padding: 0rem 3rem !important;
    padding-right: 7rem !important;
  }

  .custom-main-container svg {
    height: 200px;
    width: 200px;
  }
}

@media (min-width: 1400px) {
  .custom-main-container > div:first-of-type {
    padding: 0rem 4rem !important;
    padding-right: 9rem !important;
  }
  .custom-main-container svg {
    height: 225px;
    width: 225px;
  }
  .custom-main-container > .wp-block-column:last-of-type {
    flex-basis: 704px !important;
    flex-grow: 0 !important;
  }
}

/* IMAGES */
figure img {
  width: 100%;
}

.red-filter {
  position: relative;
  display: inline-block;
}

.red-filter::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e10e49;
  opacity: 0.1; /* 10% de opacidad */
  mix-blend-mode: screen; /* Aplica el efecto sobre la imagen */
  pointer-events: none; /* Permite que la imagen sea interactiva */
}

.red-filter img {
  display: block;
}

/* MAIN CONTAINERS */

.main-container {
  padding: 2.5rem 1rem !important;
}

@media (min-width: 768px) {
  .main-container {
    padding: 2.75rem 1.25rem !important;
  }
}

@media (min-width: 992px) {
  .main-container {
    padding: 3rem 2rem !important;
  }
}

@media (min-width: 1200px) {
  .main-container {
    padding: 4rem 3rem !important;
  }
}

@media (min-width: 1400px) {
  .main-container {
    padding: 5rem 4rem !important;
  }
}

/* SLIDERS CONTAINERS */
.volotea-slider {
  margin-top: 2rem !important;
}

@media (min-width: 768px) {
  .volotea-slider {
    margin-top: 3rem !important;
  }
}

@media (min-width: 992px) {
  .volotea-slider {
    margin-top: 3.5rem !important;
  }
}
