/*
Theme Name: eseraventura26
Theme URI: 
Author: sz
Author URI: 
Description: Theme for eseraventura.com
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: eseraventura26
Tags: 
*/

/* ============================= */
/* Eseraventura Slider */
/* ============================= */

.ea-slider {
  position: relative;
  overflow: hidden;
}
.ea-slider {
  touch-action: pan-y;
}

/* Track (slide mode) */
.ea-slider > .wp-block-gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  gap: 0 !important;
}

/* Slides */
.ea-slider .wp-block-image {
  flex: 0 0 100%;
}

/* Images */
.ea-slider img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.ea-slider img {
  pointer-events: none;
  user-select: none;
}

/* ============================= */
/* Fade Mode */
/* ============================= */

.ea-slider--fade > .wp-block-gallery {
  display: block !important;
  position: relative;
}

.ea-slider--fade .wp-block-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ea-slider--fade .wp-block-image.is-active {
  opacity: 1;
  position: relative;
}

/* ============================= */
/* Arrows */
/* ============================= */

.ea-prev,
.ea-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.ea-prev { left: 16px; }
.ea-next { right: 16px; }

@media (max-width: 768px) {
  .ea-prev,
  .ea-next {
    display: none;
  }
}

/* ============================= */
/* Dots */
/* ============================= */

.ea-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.ea-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.ea-dot.active {
  background: white;
}

/* ============================= */
/* Previous next */
/* ============================= */


.ea-slider {
  position: relative;
  overflow: hidden;
}

.ea-prev,
.ea-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: black;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.ea-prev { left: 10px; }
.ea-next { right: 10px; }

/* ================================ */
/* Convert gallery block to slider */
/* ============================== 

.ea-slider {
  position: relative;
  overflow: hidden;
}

.ea-slider .wp-block-gallery {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.5s ease;
}

.ea-slider .wp-block-image {
  flex: 0 0 100%;
}

.ea-slider img {
  width: 100%;
  height: auto;
  display: block;
}

.ea-prev,
.ea-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.ea-prev { left: 10px; }
.ea-next { right: 10px; }

.ea-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.ea-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.ea-dot.active {
  background: white;
}*/

/* ================================= */
/* REMOVE HEADER OUTER SPACING */
/* ================================= */

header.wp-block-template-part {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

header .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

/* ================================= */
/* HEADER – WIDTH & STRUCTURE */
/* ================================= */

/* Remove automatic global padding from header containers */
header .has-global-padding {
  padding-left: 0;
  padding-right: 0;
}

/* Top black bar inner content */
header .has-contrast-background-color .alignwide {
  max-width: var(--wp--style--global--wide-size);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  align-items: center;
}

/* Yellow header inner content */
header .has-accent-2-background-color .alignwide {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ================================= */
/* HEADER – TOP BAR */
/* ================================= */

/* Individual contact item */
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* SVG icons */
.topbar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Social icons spacing */
.wp-block-social-links {
  gap: 0.6rem;
}

/* Hide email on mobile */
.hide-mobile {
  display: flex;
}



/* ================================= */
/* HEADER – MAIN NAV ROW */
/* ================================= */

/* Navigation + CTA wrapper */
.header-nav-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Prevent nav wrapping on desktop */
.header-nav-cta .wp-block-navigation {
  white-space: nowrap;
}

/* CTA button sizing */
.header-nav-cta .wp-block-button__link {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
}
/* ================================= */
/* DROPDOWN MENU */
/* ================================= */

/* Dropdown container */
.wp-block-navigation__submenu-container {
  border-radius: 6px;
  padding: 0.5rem 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Show on hover (desktop) */
.wp-block-navigation li:hover > .wp-block-navigation__submenu-container {
  opacity: 1;
  transform: translateY(0);
}

/* Dropdown items */
.wp-block-navigation__submenu-container a {
  padding: 0.6rem 1.2rem;
  font-weight: 500;
}

/* Hover state */
.wp-block-navigation__submenu-container a:hover {
  background: rgba(0,0,0,0.04);
}

/* ================================= */
/* Home page */
/* ================================= */

/* Home hero */

.home .wp-block-cover::before {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.65) 100%
  ) !important;
}
.home .wp-block-cover__inner-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home .wp-block-cover__inner-container p {
  max-width: 720px;
  margin: 0 auto;
}

.home .wp-block-cover h1 {
  letter-spacing: 1.5px;
 }
.home .wp-block-cover p {
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Home experiencias destacadas buttons */

.home .wp-block-button__link {
  padding: 12px 26px;
  border-radius: 6px;
}

/* Home tipo de aventura */

.home .tipo-aventura {
  margin-bottom: 120px;
}

/* Home trust section */

.home .trust-section h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}


/* ================================= */
/* ENTRY WRAPPER SPACING */
/* ================================= */

.single-actividad .entry-content {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.single-actividad .entry-content {
  --wp--style--block-gap: 0;
}

/* ================================= */
/* HERO WRAPPER */
/* ================================= */

.single-actividad .activity-hero.has-global-padding {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.single-actividad .activity-hero {
  padding-bottom: 0;
}

.single-actividad .activity-hero.alignwide {
  margin-bottom: 1rem;
}


/* ================================= */
/* HERO COLUMNS */
/* ================================= */

.single-actividad .activity-hero-columns {
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}


/* ================================= */
/* HERO TEXT COLUMN */
/* ================================= */

/* Remove automatic block spacing only inside text column */
.single-actividad .activity-hero-text > * {
  margin-top: 0;
}

/* Title */
.single-actividad .activity-hero-text .wp-block-post-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* Lead */
.single-actividad .activity-hero-lead {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  max-width: 600px;
  font-family: var(--wp--preset--font-family--body);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}


/* ================================= */
/* CTA */
/* ================================= */

.single-actividad .activity-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.single-actividad .activity-hero-cta .cta-primary .wp-block-button__link {
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 4px;
}

.single-actividad .activity-hero-cta .cta-secondary {
  font-size: 0.95rem;
  opacity: 0.85;
}


/* ================================= */
/* IMAGE */
/* ================================= */

.single-actividad .activity-hero-image .wp-block-post-featured-image img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ============================= */
/* META TRANSITION */
/* ============================= */

.single-actividad .activity-meta {
  margin-top: 0 !important;
}
/* ============================= */
/* Entorno archives */
/* ============================= */

/* Base hero styling */
.entorno-hero {
    background-size: cover !important;
    background-position: center !important;
}
/* Stronger, more cinematic overlay */
.entorno-hero::before {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.45) 40%,
        rgba(0,0,0,0.55) 100%
    ) !important;
}

/* Aguas Bravas */
.term-aguas-bravas .entorno-hero {
    background-image: url('https://inspiritme.es/eseratest/wp-content/uploads/2026/02/hero-aguas-bravas.webp');
}

/* Aguas Tranquilas */
.term-aguas-tranquilas .entorno-hero {
    background-image: url('https://inspiritme.es/eseratest/wp-content/uploads/2026/02/hero-aguas-tranquilas.webp');
}

/* Multiaventura */
.term-multiaventura .entorno-hero {
    background-image: url('https://inspiritme.es/eseratest/wp-content/uploads/2026/02/hero-multiaventura.webp');
}

.entorno-hero {
    background-position: center 25% !important;
}
.term-aguas-bravas .entorno-hero {
    background-position: center 25% !important;
}

.tax-entorno .entorno-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: 2px;
}

.tax-entorno .entorno-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}




/* Make activity cards flex columns */

/* Activity card: flex column */
.activity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image stays fixed */
.activity-card .wp-block-post-featured-image {
  flex-shrink: 0;
}

/* Excerpt grows to fill space */
.activity-card .wp-block-post-excerpt {
  flex-grow: 1;
}

/* Clamp activity titles to 2 lines – TT5 compatible */

.activity-card .wp-block-post-title {
  min-height: 2.8em;
}

.wp-block-post-title > a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
}

.wp-block-post-title > a:hover {
  opacity: 0.9;
  text-decoration:none;
}

/* Clamp excerpt to 3 lines – TT5 compatible */

.wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



  /* Contact form 7 */

.wp-block-contact-form-7-contact-form-selector input,
.wp-block-contact-form-7-contact-form-selector textarea {
    border-radius: 6px;
    padding: 10px;
}

.wp-block-contact-form-7-contact-form-selector input[type="submit"] {
    border-radius: 6px;
    padding: 12px 24px;
}
/* CF7 input visibility */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
}

/* Focus state */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--wp--preset--color--primary);
    outline: none;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.9;
}


 /* .wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{
    background-color: #fff;
    border: 0px;
    border-radius:4px;
    color: #000;
    width: 100%;
    padding: 10px;
}

.captcha-wrapper input.wpcf7-quiz {
  width: 100px;         
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 5px;
  margin-bottom: 10px;
}

.wpcf7 input[type="submit"]

{ background-color: #000000;
    border: 0px;
    border-radius: 4px;
    color: #fff;
    font-size: 1.1rem;
    width:200px;
    padding: 10px;
}

.wpcf7 input[type="submit"]:hover

{ 
    background-color: #666666;
    
}
*/
hr.thick-line 

{
    
    border-top: 4px dashed #efefef;
    border: 10px solid #748392;
    border-radius: 5px;

}
/* Style read more btn in taxonomy archives */ 
.wp-block-post-excerpt__more-link {
  background-color: #ffd411;
  padding: 10px 20px;
  border-radius: 4px;
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  font-size: smaller;
} 
.wp-block-post-excerpt__more-link:hover {
  opacity: 0.9;
   
} 

/* Taxonomy header */
.taxonomy-header {
  text-align: center;
  padding: clamp(3rem, 5vw, 5rem) 1.5rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.taxonomy-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.taxonomy-header .wp-block-term-description {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
  line-height: 1.4;
}
.taxonomy-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--wp--preset--color--accent-2);
  margin: 2rem auto 0;
}

/* Activity lead */

.activity-lead {
  margin-top: var(--wp--preset--spacing--40);
  margin-bottom: var(--wp--preset--spacing--30);
  font-weight: 400;
  opacity: 0.9;
}

/* Activity meta strip */
.activity-meta {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  border-radius: 6px;
  padding: var(--wp--preset--spacing--30);
  gap: var(--wp--preset--spacing--30);
}

.meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin: 0;
}

.meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}
/* ============================= */
/* PRICING WRAPPER              */
/* ============================= */

.activity-pricing-wrapper {
  padding: 1.5rem 2rem;
}

/* ============================= */
/* PER-PAX PRICING GRID         */
/* ============================= */

.activity-prices {
  background: var(--wp--preset--color--accent-2);
  padding: 2.5rem 3rem;
  border-radius: 6px;

  max-width: none;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  gap: 2rem;

  justify-content: center;
  align-items: center;
}

.activity-prices > .price-item {
  margin: 0;
}


/* ============================= */
/* PRICE CARD                   */
/* ============================= */

.price-item {
  background: rgba(255,255,255,0.25);
  border-radius: 12px;

  width: 150px;
  height: 155px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 1.2rem 1rem;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}


/* ============================= */
/* LABEL & VALUE                */
/* ============================= */

.price-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  opacity: 0.95;
  color: var(--wp--preset--color--contrast);

  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
}

.price-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 1.2rem;
}


/* ============================= */
/* COURSE PRICING               */
/* ============================= */

/* Course pricing container */

.course-pricing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;          /* ↓ was 2rem */
  margin-top: 1rem;     /* ↓ tighter */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.course-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
  margin: 0;           
} 


/* Row label */

.course-row-label { 
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3rem;

  margin-top: 1.5rem;      /* slightly more top spacing */
  margin-bottom: 0.6rem;   /* slightly tighter below */
}

.course-row-label::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: rgba(0,0,0,0.2);
  margin: 0.6rem auto 0;
}

/* Course cards should NOT stretch */


/* Remove width restriction */
.course-row .price-item {
  width: 220px;          /* wider = more premium */
  height: 170px;
  padding: 2rem 1.5rem;  /* more breathing room */
}


/* Activiy actions */

.activity-actions {
  margin-top: var(--wp--preset--spacing--50);
  padding-top: var(--wp--preset--spacing--40);
  border-top: 1px solid var(--wp--preset--color--accent-6);
  gap: var(--wp--preset--spacing--20);
}

.cta-primary .wp-block-button__link {
  font-weight: 600;
}

.cta-secondary {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ============================= */
/* Footer   */
/* ============================= */

footer h2, footer h3 {
    font-weight: 600;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer > .wp-block-columns:first-of-type {
    margin-bottom: 60px;
}

footer {
    font-size: 0.95rem;
}

footer h4 {
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

footer p {
    line-height: 1.6;
}

footer .wp-block-navigation a {
    opacity: 0.9;
}

footer .wp-block-navigation a:hover {
    opacity: 1;
}

footer h4,
footer h3 {
  letter-spacing: 0.5px;
}

/* Footer Search block */

footer .wp-block-search {
  margin-top: 30px;
}

footer .wp-block-search__inside-wrapper {
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
}

footer .wp-block-search__input {
  padding: 8px 12px;
  font-size: 14px;
}

footer .wp-block-search__button {
  padding: 0 16px;
}

footer .wp-block-search__inside-wrapper {
  background: white;
  border: none;
  height: 38px;
}

footer .wp-block-search__input {
  border: none;
}

footer .wp-block-search__button {
  background: #111;
}

/* ============================= */
/* UBICACION styles   */
/* ============================= */

.ubicaciones-wrapper {
  padding-top: 120px;
  padding-bottom: 120px;
}

.ubicacion-block {
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 90px;
}

.ubicacion-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ============================= */
/* ABOUT page   */
/* ============================= */

.about-section {
  margin-top: 100px;
}

.about-section:first-of-type {
  margin-top: 60px;
}

/* ================================= */
/* Entorno archive cta bottom */
/* ================================= */

.cta-bottom .wp-block-button__link {
  padding: 12px 24px;   /* match your yellow buttons */
  font-size: 16px;
}

/* ============================= */
/* MOBILE & TABLET RESPONSIVE   */
/* ============================= */

@media (max-width: 900px) {

  /* ----- Activity Meta ----- */

  .activity-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--wp--preset--spacing--20);
  }

  /* ----- Per-Pax Pricing (Flex Layout) ----- */

  .activity-prices {
    justify-content: center;
    gap: 1.8rem;
  }

}

@media (max-width: 900px) {
  .copyright-legal {
      flex-direction: column;
      gap: 10px;
      text-align: center;
  }
}


@media (max-width: 781px) {
  .featured-rafting-row {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .featured-rafting-row .wp-block-stack,
  .featured-rafting-row .wp-block-group,
  .featured-rafting-row .wp-block-column {
    text-align: center;
    align-items: center;
  }
  .featured-rafting-row .wp-block-column:last-child {
    text-align: center;
  }

  .featured-rafting-row .wp-block-buttons {
    justify-content: center;
  }

  .featured-rafting-row .cta-secondary {
    text-align: center;
  }
  .featured-rafting-row .wp-block-column:last-child {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
  }
}



@media (max-width: 768px) {

  .course-row {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .course-row .price-item {
    width: 100%;
    max-width: 360px;   /* ↑ wider than before */
  }

}

/* ============================= */
/* Home page (782px and below)     */
/* ============================= */

@media (min-width: 782px) {
  .home .trust-section .wp-block-columns .wp-block-column p {
    max-width: 280px;
  }
}

/* ============================= */
/* Home page (781px and below)     */
/* ============================= */

@media (max-width: 781px) {
  .home .wp-block-spacer {
    height: 20px !important;
  }

  
  .home .tipo-aventura .wp-block-group.is-layout-flex {
    align-items: center;
    text-align: center;
  }

  .home .tipo-aventura .wp-block-buttons {
    justify-content: center !important;
  }

  .home .tipo-aventura.reversed .wp-block-columns {
    flex-direction: column-reverse;
  }

  
}

/* ============================= */
/* MOBILE (768px and below)     */
/* ============================= */

@media (max-width: 768px) {

  /* Stack home banner buttons */
  .mobiletovertical {
    flex-direction: column;
  }

  .mobiletovertical .wp-block-button__link {
    max-width: 100%;
  }
  

  /* Activity cards */
  .activity-card {
    gap: var(--wp--preset--spacing--30);
  }

  .activity-card .wp-block-post-featured-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .activity-card .wp-block-post-title a {
    font-size: 1.1em;
  }

  .activity-card .wp-block-post-excerpt__excerpt {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  /* Stack meta fully on small screens */
  .activity-meta {
    grid-template-columns: 1fr;
  }

  /* Stack pricing vertically */
  .activity-prices {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

}

/* Activity hero, reverse hero columns */

@media (max-width: 768px) {
  .single-actividad .activity-hero-columns {
    flex-direction: column-reverse;
  }
}

/* ================================= */
/* Ubicaciones page */
/* ================================= */

@media (max-width: 768px) {
  .ubicaciones-wrapper {
    padding-top: 50px;
    padding-bottom: 60px;
  }
}

/* ================================= */
/* Activity archive cta bottom mobile */
/* ================================= */

@media (max-width: 768px) {
  .cta-bottom .wp-block-button__link {
    width: auto;
    min-width: 200px;
  }
}

/* ================================= */
/* HEADER – MOBILE navigation */
/* ================================= */
@media (max-width: 781px) {

  /* Header navigation submenu*/
  .wp-block-navigation__submenu-container {
    box-shadow: none;
    padding-left: 1rem;
  }
}
 
/* ================================= */
/* HEADER – MOBILE FIX */
/* ================================= */

@media (max-width: 781px) {

  /* Top black bar container */
  header .has-contrast-background-color .alignwide {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* First flex row (contact items) */
  header .has-contrast-background-color .alignwide > .wp-block-group:first-child {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  /* Second flex row (social + language) */
  header .has-contrast-background-color .alignwide > .wp-block-group:last-child {
    width: 100%;
    justify-content: space-between;
  }

  /* Hide email */
  .hide-mobile {
    display: none;
  }

}

/* ================================= */
/* FORCE PROPER MOBILE HEADER ALIGNMENT */
/* ================================= */

@media (max-width: 781px) {

  /* Make yellow row a clean horizontal flex row */
  header .has-accent-2-background-color .alignwide {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Prevent the logo block from centering itself */
  header .wp-block-site-logo {
    margin: 0;
  }

  header .wp-block-site-logo a {
    display: block;
  }

  /* Keep nav + CTA grouped on right */
  header .header-nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

}

/* ================================= */
/* MOBILE NAVIGATION */
/* ================================= */

@media (max-width: 781px) {

  /* Hamburger overlay spacing */
  .wp-block-navigation__responsive-container {
    padding: 2rem;
  }

  /* Slightly reduce font size in overlay */
  .wp-block-navigation__responsive-container a {
    font-size: 1.1rem;
  }

}

/* ================================= */
/* HAMBURGER IMPROVEMENT */
/* ================================= */

.wp-block-navigation__responsive-container-open svg {
  width: 30px;
  height: 30px;
}

.wp-block-navigation__responsive-container-open svg path {
  stroke-width: 2.5;
}

.wp-block-navigation__responsive-container-open {
  padding: 8px;

}


/* ================================= */
/* Slightly reduce mobile CTA size */
/* ================================= */


@media (max-width: 781px) {

  .header-nav-cta .wp-block-button__link {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }

}

/* ================================= */
/* FORCE CLOSE MOBILE MENU ON DESKTOP */
/* ================================= */

  @media (min-width: 782px) {

  .wp-block-navigation__responsive-container {
    position: static !important;
    inset: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  }

/* ================================= */
/* MOBILE MENU OPEN                  */
/* ================================= */

@media (max-width: 781px) {

  .wp-block-navigation__responsive-container 
  .wp-block-navigation__submenu-container.has-accent-2-background-color {
    background-color: transparent !important;
  }

   .wp-block-navigation__responsive-container a {
    color: #000;
  }

  .wp-block-navigation__responsive-container 
  .wp-block-navigation-item__content:hover,
  
  .wp-block-navigation__responsive-container 
  .wp-block-navigation-item__content:focus,
  
  .wp-block-navigation__responsive-container 
  .wp-block-navigation-item__content:active {
    color: var(--wp--preset--color--accent-2);
  }

  .wp-block-navigation__responsive-container 
  .wp-block-navigation-item.current-menu-item > a {
    color: var(--wp--preset--color--accent-2);
  }

  .wp-block-navigation__responsive-container {
    background: #ffffff !important;
    color: #000 !important;
    padding: 3rem 2rem;
  }
  .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--wp--preset--color--accent-2);
  }
  .wp-block-navigation__responsive-container-content ul {
    gap: 1.4rem;
  }

  .wp-block-navigation__responsive-container a {
    font-size: 1.2rem;
    padding: 0.4rem 0;
    display: inline-block;
  }
   .wp-block-navigation__responsive-container a:hover {
    color: var(--wp--preset--color--accent-2);
  }
 .wp-block-navigation__responsive-container {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  }
}

/* ============================= */
/* Home buttons       */
/* ============================= */
@media (max-width: 781px) {
  .home .wp-block-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .home .wp-block-buttons .wp-block-button {
    width: 100%;
    max-width: 280px;
  }
}

/* ============================= */
/* CF7 (781px)         */
/* ============================= */

@media (max-width: 781px) {
    .wpcf7 {
        padding-right: 24px;
    }
}

/* ============================= */
/* SMALL MOBILE (600px)         */
/* ============================= */

@media (max-width: 600px) {

  .wp-block-search__inside-wrapper {
    max-width: 80%;
  }

  .wp-block-search__button svg {
    height: 1.2em;
    min-height: 18px;
    min-width: 18px;
    width: 1.2em;
  }

  .wp-block-buttons.has-custom-font-size .wp-block-button__link {
    font-size: 14px;
    padding: 12px 18px;
  }

  
}

