/*
 Theme Name: RS Viajes
 Description: RS Viajes Child Theme
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

:root {
  --content-width: 90%;
}

html,
body {
  overflow-x: hidden;
}

p {
  /* font-size: var(--_sizes---padding--padding-03, 18px); */
  font-style: normal;
  font-weight: var(--_typography---font-weight--normal, 400);
  line-height: 1.64;
  letter-spacing: var(--_typography---letter-spacing--small, -0.25px);
}

body:not(.page-template-default) h1,
body:not(.page-template-default) h2,
body:not(.page-template-default) h3,
body:not(.page-template-default) h4,
body:not(.page-template-default) h5,
body:not(.page-template-default) h6 {
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  font-family: var(--font-family-Lora, Lora);
}

#navbar {
  transition: all 300ms ease;
}

#navbar.scrolled {
  background-color: rgba(29, 59, 134, 0.95) !important;
}

header .menu-item li {
  padding-inline: 16 !important;
}
header .menu-item a {
  padding: 0 !important;
}
.et_pb_button::after {
  margin-left: 8px !important;
}

.eyebrow {
  /* tripferry.webflow.io/Lato/Regular upper */
  font-family: Lato;
  font-size: var(--_typography---caption-text--caption-uppercase, 14px);
  font-style: normal;
  font-weight: var(--_typography---font-weight--normal, 400);
  line-height: var(--line-height-22_4, 22.4px); /* 160% */
  letter-spacing: var(--_typography---letter-spacing--small, -0.25px);
  text-transform: uppercase;
}

/* Prevent Divi from breaking the horizontal flex layout */
.swiper,
.swiper-container {
  overflow: hidden;
  position: relative;
}

/* Force Divi column to behave like a Swiper wrapper */
.swiper-wrapper {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: auto !important;
}

/* Reset Divi module widths so Swiper can control them */
.swiper .swiper-wrapper .swiper-slide {
  flex-shrink: 0 !important;
  width: auto; /* Swiper JS will inject the correct pixel width here */
  margin-right: 0 !important; /* Control spacing via JS 'slidesPerView' instead */
}

/* Dropdowns */
.dropdown-content {
  max-height: 0;
  opacity: 0;
  padding-top: 0px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.71, -0.82, 0.32, 1.73);
}

.dropdown-header {
  cursor: pointer;
}

.dropdown-header .et_pb_image {
  transition: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Active state for when the accordion is open */
.dropdown.dropdown-active {
  border-color: #5839aa !important;
}
.dropdown.dropdown-active .dropdown-header .et_pb_text_inner {
}
.dropdown.dropdown-active .dropdown-content {
  opacity: 1;
  padding-top: 20px;
  max-height: 200px; /* Make sure this is larger than your content height */
}
.dropdown.dropdown-active .et_pb_image {
  transform: rotate(135deg);
}

/* Contact Form 7 */
.wpcf7-form {
  display: flex;
  flex-direction: column;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 20px 24px;
  border: 1px solid rgba(29, 59, 134, 0.12);
  background: #fbfcfd;
}

.wpcf7-form input[type="submit"] {
  background-color: #ed0603;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}
.wpcf7-form input[type="submit"]:hover {
  background-color: #1d3b86;
}
.wpcf7-form input[type="submit"]:active {
  background-color: #1d3b86;
  opacity: 0.85;
}

.wpcf7-form input,
.wpcf7-form select {
  border-radius: 999px;
}

.wpcf7-form textarea {
  border-radius: 28px;
}

.wpcf7-form .input-group > p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .wpcf7-form .input-group > p {
    grid-template-columns: 1fr 1fr;
  }
}
