/*
Theme Name: Gerardi Studio
Author: Diego A. Rodríguez
Author URI: https://diegordgz8.github.io/
Description: Este es un tema desarrollado a medida para Gerardi Studio.
Tags: lms, courses, masterstudy-lms, contact-form
Version: 0.7.2
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
License: 
License URI: 
Text Domain: gerardistudio
Domain Path: 
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*
 * CSS Reset for Classic WordPress Themes
 */

/* Box Sizing for all elements */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Basic margin and padding reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* Ensure body takes at least viewport height */
body {
    line-height: 1.25em;
    min-height: 100vh;
    /* Ensures the body extends to full viewport height */
    text-rendering: optimizeLegibility;
    /* Improves text rendering */
    -webkit-font-smoothing: antialiased;
    /* Font smoothing for Webkit */
    -moz-osx-font-smoothing: grayscale;
    /* Font smoothing for Firefox */
}

/* List styles */
ol,
ul {
    list-style: none;
}

/* Quotes */
blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Form elements */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* Inherit font from body */
    font-size: 100%;
    /* Consistent font size */
    line-height: 1.15;
    /* Line height consistency */
    margin: 0;
    /* Remove default margins */
}

/* Remove blue outline on focused interactive elements for better customization */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Responsive images by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes extra space below images */
}

/* Links */
a {
    /* Inherits color from parent text, useful for applying your own colors later */
    color: inherit;
    font-weight: 600;
    /* Removes default underline */
    text-decoration: none;
    transition: .3s;
}

a:hover,
a:focus {
    color: var(--accent-color);
}

p a:hover,
p a:focus {
    text-decoration: underline solid var(--accent-color) 2px !important;
    text-underline-offset: 3px;
}

/* Textareas */
textarea {
    resize: vertical;
    /* Allows vertical resizing by default */
}




.font-poppins {
    font-family: "Poppins", sans-serif;
}

.font-dm-serif-display {
    font-family: "DM Serif Display", serif;
}

.font-antonio {
    font-family: "Antonio", sans-serif;
}




/*
 * Utility Classes
 * Inspired by Tailwind CSS
 */

/* --- Flexbox --- */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-col-reverse {
    flex-direction: column-reverse;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.items-center {
    align-items: center;
}

.items-baseline {
    align-items: baseline;
}

.items-stretch {
    align-items: stretch;
}

.content-start {
    align-content: flex-start;
}

.content-end {
    align-content: flex-end;
}

.content-center {
    align-content: center;
}

.content-baseline {
    align-content: baseline;
}

.content-stretch {
    align-content: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.self-auto {
    align-self: auto;
}

.self-start {
    align-self: flex-start;
}

.self-end {
    align-self: flex-end;
}

.self-center {
    align-self: center;
}

.self-stretch {
    align-self: stretch;
}

.flex-grow {
    flex-grow: 1;
}

.flex-shrink {
    flex-shrink: 1;
}

.flex-none {
    flex-grow: 0;
    flex-shrink: 0;
}

.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-16 {
    gap: 3rem;
}


/* --- Grid --- */
.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}


/* --- Display --- */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline;
}

.hidden {
    display: none;
}

/* --- Spacing (Margin & Padding) --- */
/* Margins */
.m-0 {
    margin: 0;
}

.m-auto {
    margin: auto;
}

.mt-auto {
    margin-top: auto;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-auto {
    margin-bottom: auto;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.ml-auto {
    margin-left: auto;
}

.ml-0 {
    margin-left: 0;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-8 {
    margin-left: 2rem;
}

.mr-auto {
    margin-right: auto;
}

.mr-0 {
    margin-right: 0;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.mr-8 {
    margin-right: 8rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.m-1 {
    margin: 0.25rem;
}

.m-2 {
    margin: 0.5rem;
}

.m-4 {
    margin: 1rem;
}

.m-8 {
    margin: 2rem;
}

/* Paddings */
.p-0 {
    padding: 0;
}

.pt-0 {
    padding-top: 0;
}

.pt-1 {
    padding-top: 0.25rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pb-0 {
    padding-bottom: 0;
}

.pb-1 {
    padding-bottom: 0.25rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pl-0 {
    padding-left: 0;
}

.pl-1 {
    padding-left: 0.25rem;
}

.pl-2 {
    padding-left: 0.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pr-0 {
    padding-right: 0;
}

.pr-1 {
    padding-right: 0.25rem;
}

.pr-2 {
    padding-right: 0.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

/* --- Typography --- */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

/* 12px / 16px */
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* 14px / 20px */
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

/* 16px / 24px */
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

/* 18px / 28px */
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* 20px / 28px */
.font-thin {
    font-weight: 100;
}

.font-extralight {
    font-weight: 200;
}

.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

.italic {
    font-style: italic;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

.normal-case {
    text-transform: none;
}

.leading-tight {
    line-height: 1.25;
}

.leading-normal {
    line-height: 1.5;
}

.leading-relaxed {
    line-height: 1.625;
}

.no-underline {
    text-decoration: none;
}

.underline {
    text-decoration: underline;
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Colors (Examples, you can expand with your color palette) --- */
/* Text */
.text-primary {
    color: #3490dc;
}

/* Example Blue */
.text-secondary {
    color: #6cb2eb;
}

/* Example Light Blue */
.text-red {
    color: #e3342f;
}

.text-green {
    color: #38c172;
}

.text-gray-dark {
    color: #3d4852;
}

.text-gray {
    color: #8795a1;
}

.text-white {
    color: #fff;
}

.text-black {
    color: #000;
}

.text-accent {
    color: var(--accent-color);
}

.text-wenge {
    color: var(--wenge);
}

.text-maroon {
    color: var(--maroon);
}

/* Backgrounds */
.bg-primary {
    background-color: #3490dc;
}

.bg-secondary {
    background-color: #6cb2eb;
}

.bg-red {
    background-color: #e3342f;
}

.bg-green {
    background-color: #38c172;
}

.bg-gray-light {
    background-color: #f8fafc;
}

.bg-white {
    background-color: #fff;
}

.bg-black {
    background-color: #000;
}

.bg-maroon {
    background-color: var(--maroon);
}

.bg-wenge {
    background-color: var(--wenge);
}

.bg-isabelline {
    background-color: var(--isabelline);
}

.bg-bone {
    background-color: var(--bone);
}

.bg-eerie {
    background-color: var(--eerie-black);
}

/* --- Sizing (Width & Height) --- */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.max-w-full {
    max-width: 100%;
}

.max-h-full {
    max-height: 100%;
}

.min-w-0 {
    min-width: 0;
}

.min-h-0 {
    min-height: 0;
}

/* You can add more specific sizes like w-1/2, h-screen, etc. */

/* --- Borders --- */
.border {
    border-width: 1px;
    border-style: solid;
    border-color: #dae1e7;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #dae1e7;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #dae1e7;
}

.border-l {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #dae1e7;
}

.border-r {
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #dae1e7;
}

.border-none {
    border-width: 0;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* For circular/pill elements */
.border-primary {
    border-color: #3490dc;
}

.border-gray {
    border-color: #b8c2cc;
}

/* --- Shadows --- */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-none {
    box-shadow: none;
}

/* --- Position --- */
.static {
    position: static;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-30 {
    z-index: 30;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

.z-auto {
    z-index: auto;
}

/* --- Cursors --- */
.cursor-pointer {
    cursor: pointer;
}

.cursor-not-allowed {
    cursor: not-allowed;
}

.cursor-default {
    cursor: default;
}

/* --- Visibility --- */
.invisible {
    visibility: hidden;
}

.visible {
    visibility: visible;
}




:root {
    /* Colors */
    --primary-color: var(--maroon);
    --secondary-color: var(--isabelline);
    --text-color: var(--eerie-black);
    --accent-color: var(--maroon);

    --color-success: #38c172;
    --color-success: rgb(97, 204, 47);
    --color-warning: #ffa800;
    --color-danger: #e3342f;
    --color-danger: rgb(255, 57, 69);

    --maroon: #b82460;
    --wenge: #6b5e58;
    --bone: #e3dcca;
    --isabelline: #f1f0eb;
    --eerie-black: #1e1e1e;

    /* Fonts */
    --font-poppins: "Poppins", sans-serif;
    --font-dm-serif-display: "DM Serif Display", serif;
    --font-antonio: "Antonio", sans-serif;
}

.row::before,
.row::after {
    content: none;
}

body {
    font-family: var(--font-poppins);
    line-height: 1.25;
}

section,
.section {
    position: relative;
    padding: 4rem 0;
}

p {
    max-width: 90ch;
    margin-bottom: 10px;
    font-family: var(--font-poppins);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: bold;
}

.text-center p {
    margin-inline: auto;
}

body .container,
body .container-fluid {
    padding: 0 30px;
}

body .container.container__small {
    max-width: 900px;
}

body .container.px-0 {
    padding-inline: 0;
}

.dynamic-marquee {
    width: 100%;
    /* Asegura que ocupe todo el ancho disponible */
    overflow: hidden;
    /* Oculta el texto que está fuera del contenedor */
    white-space: nowrap;
    /* Evita que el texto salte de línea */
    padding: 10px 0;
    /* Espaciado vertical opcional */
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.dynamic-marquee span {
    display: inline-block;
    /* Permite que el texto se mueva horizontalmente */
}

/* Define la animación de desplazamiento */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    /* Al inicio de la animación, el texto está en su posición inicial (desplazado a la derecha por el padding-left) */
    100% {
        transform: translateX(-100%);
    }

    /* Al final, el texto se ha movido su propio ancho hacia la izquierda */
}

/* Opcional: Pausar la animación al pasar el ratón */
.marquee-container:hover .marquee-text {
    animation-play-state: paused;
}

/* --- Botones y componentes --- */
.gerardi-btn {
    display: inline-block;
    min-width: 150px;
    padding: 10px 20px;
    background: var(--accent-color);
    border: solid 2px var(--accent-color);
    border-radius: 0;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    transition: .3s ease-in-out;
    box-shadow: 0 2px 8px 0 rgba(30, 30, 30, 0.10);
}

.gerardi-btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.gerardi-btn:hover,
.gerardi-btn:focus {
    color: var(--accent-color);
    background: #fff;
    border-color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(30, 30, 30, 0.20);
}

.gerardi-btn:active {
    filter: brightness(.9);
}

/* --- Formulario: aquí tus estilos de formulario --- */
label {
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    min-width: 200px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .8);
    border: none;
    border-bottom: solid 2px var(--wenge);
    border-radius: 0;
    transition: .3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    background: #fff;
    border-color: var(--maroon);
}

input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--maroon);
    width: 18px !important;
    height: 18px !important;
    transition: .3s;
}

input[type="range"] {
    accent-color: var(--maroon);
    transition: .3s;
}

/* --- Estilos específicos para WP Forms --- */
.wpforms-container .wpforms-field {
    padding: 12px 0 !important;
}

.wpforms-container .wpforms-field:first-child {
    padding-top: 0 !important;
}

.wpforms-container .wpforms-field-label {
    margin-bottom: 8px;
    font-weight: 500 !important;
}

.wpforms-field-sublabel.after {
    margin-top: 4px;
    margin-bottom: 0;
}

.wpforms-container .wpforms-required-label {
    color: var(--color-danger);
}

.wpforms-container em.wpforms-error {
    margin-top: 8px;
    color: var(--color-danger) !important;
}

.wpforms-field-radio ul,
.wpforms-field-checkbox ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpforms-container input[type="radio"],
.wpforms-container input[type="checkbox"] {
    translate: 0 2px;
}

.wpforms-container .wpforms-submit-container {
    margin-top: 16px;
}

.loader-spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    border: 5px solid #eee;
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.owl-carousel:has(.owl-nav:not(.disabled)) {
    /* padding-inline: calc(40px + 1rem); */
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: grid;
    place-content: center;
    aspect-ratio: 1;
    width: 40px;
    height: auto;
    background: var(--eerie-black);
    color: #fff;
    font-size: 14px;
    transition: .3s;
}

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--maroon);
    color: #fff;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav button.owl-prev {
    left: 0;
    translate: 0 -50%;
}

.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav button.owl-next {
    right: 0;
    translate: 0 -50%;
}

.owl-carousel.dark .owl-nav .owl-prev,
.owl-carousel.dark .owl-nav .owl-next,
.owl-carousel.dark .owl-nav button.owl-prev,
.owl-carousel.dark .owl-nav button.owl-next {
    background: #fff;
    color: var(--eerie-black);
}

.owl-carousel.dark .owl-nav .owl-prev:hover,
.owl-carousel.dark .owl-nav .owl-next:hover,
.owl-carousel.dark .owl-nav button.owl-prev:hover,
.owl-carousel.dark .owl-nav button.owl-next:hover {
    background: var(--maroon);
    color: #fff;
}

.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 1.5rem;
}

.owl-carousel .owl-dot,
.owl-carousel button.owl-dot {
    aspect-ratio: 1;
    width: 12px;
    height: auto;
    border-radius: 9999px;
    background: var(--accent-color);
    opacity: .5;
}

.owl-carousel .owl-dot:hover,
.owl-carousel button.owl-dot:hover {
    opacity: .75;
}

.owl-carousel .owl-dot.active,
.owl-carousel button.owl-dot.active {
    opacity: 1;
}

.owl-carousel.dark .owl-dot,
.owl-carousel.dark button.owl-dot {
    background: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 1rem 30px;
    background: var(--eerie-black);
    transition: background .3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .site-logo img {
    width: 120px;
    height: auto;
}

.site-header .menu-item-logo {
    width: 150px;
}

.site-header .header-logo {
    width: 100%;
    height: auto;
    fill: #fff;
}

.site-header .header-menu .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    text-transform: uppercase;
    letter-spacing: 10%;
}

.site-header .header-menu .menu a {
    color: #fff;
}

.site-header .header-menu .menu a:hover {
    color: var(--maroon);
}

.site-header .header-menu .current-menu-item a {
    color: var(--maroon);
    font-weight: bold;
}

.site-header .menu-item-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header .menu-item-icons i {
    font-size: 20px;
}

.site-header .header-menu {
    display: none;
}

.site-header .mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
}

.mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 320px;
    height: 100dvh;
    padding: 5rem 2rem 3rem;
    transition: .3s ease-in-out;
    background: var(--isabelline);
    transform: translateX(100%);
}

.mobile-menu-container.active {
    transform: translateX(0);
}

.mobile-menu-container .mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 30px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-danger);
    transition: .3s ease-in-out;
}

.mobile-menu-container .mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 20px;
    text-align: right;
    text-transform: uppercase;
}

.mobile-menu-container .mobile-menu .current-menu-item a {
    color: var(--accent-color);
    font-weight: 600;
}

.mobile-menu-container .social-icons {
    font-size: 24px;
}

.site-footer {
    position: relative;
    background-color: var(--eerie-black);
}

.site-footer .main-footer {
    padding-block: 6rem;
}

.site-footer .main-footer .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.site-footer .footer-menu .menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.site-footer .footer-menu a {
    color: #fff;
    font-weight: 500;
}

.site-footer .footer-menu a:hover {
    color: var(--maroon);
}

.site-footer .footer-menu .current-menu-item a {
    color: var(--maroon);
    font-weight: bolder;
}

.site-footer .footer-logo {
    width: 180px;
    height: auto;
    fill: #fff;
}

.site-footer .footer-contact {
    font-size: 20px;
    font-style: italic;
}

.site-footer .footer-contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    width: 32px;
    background: var(--primary-color);
    color: #fff;
    font-size: 20px;
    border-radius: 9999px;
}

.site-footer .footer-contact a:hover {
    transform: scale(1.15);
}

.site-footer .bottom-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    padding-bottom: 20px;
    font-size: 10px;
    transform: translateX(-50%);
}

.overlay {
    position: relative;
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
}

.overlay>* {
    position: relative;
    /* z-index: 1; */
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.pagination .page-numbers {
    display: grid;
    place-content: center;
    aspect-ratio: 1;
    width: 40px;
    height: auto;
    transition: .3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--maroon);
    color: #fff;
}

.hero-small {
    position: relative;
    align-content: center;
    padding: 4rem 0;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}

.hero-small .hero-title {
    font-family: var(--font-antonio);
    font-size: 34px;
    font-weight: bold;
    text-transform: uppercase;
}

.hero-small .hero-subtitle {
    font-family: var(--font-dm-serif-display);
    font-size: 20px;
    font-style: italic;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    margin-top: 0 !important;
    margin-bottom: 30px;
    font-family: var(--font-antonio);
    font-size: 34px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.section-title-small {
    font-size: 26px;
}

.testimonial {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.testimonial .testimonial-title {
    font-family: var(--font-dm-serif-display);
    font-style: italic;
    font-size: 28px;
}

.testimonial .testimonial-content {
    margin-top: 24px;
    max-height: 300px;
    overflow-y: scroll;
}

.testimonial .testimonial-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    color: var(--accent-color);
}

.testimonial .testimonial-author {
    margin-top: 16px;
    color: var(--wenge);
    font-family: var(--font-dm-serif-display);
    font-style: italic;
    text-transform: uppercase;
}

.testimonial .testimonial-video {
    aspect-ratio: 9/16;
    width: 280px;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    margin-inline: auto;
}

.gallery-grid {
    --width: 195px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Define el comportamiento de las columnas del grid */
.gallery-grid.auto-fit-grid {
    /*
     * auto-fit: Crea tantas columnas como sea posible.
     * minmax(300px, 1fr): Cada columna tendrá un mínimo de 300px de ancho
     * y un máximo de 1 fracción del espacio disponible.
     * Esto hace que las columnas se expandan para llenar el espacio
     * cuando hay menos ítems en la última fila, o se contraigan
     * cuando es necesario para que quepan más.
     */
    grid-template-columns: repeat(auto-fit, minmax(var(--width), 1fr));
}

/* Si prefieres auto-fill (puede dejar espacios vacíos si no hay suficientes ítems) */
.gallery-grid.auto-fill-grid {
    grid-template-columns: repeat(auto-fill, minmax(var(--width), 1fr));
}

.gallery-grid>* {
    display: flex;
}

.gallery-grid .gallery-video:hover video,
.gallery-grid a:hover {
    filter: brightness(100%);
    transition: filter .3s ease-in-out;
}

.gallery-grid .gallery-video:hover video,
.gallery-grid a:hover {
    filter: brightness(50%);
}

.gallery-grid img {
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-video {
    position: relative;
}

.gallery-video video {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.gallery-video-button {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    transition: opacity .3s ease-in-out;
}

.gallery-video:hover .gallery-video-button {
    opacity: 0;
}

.woocommerce-page main {
    padding: 3rem 0;
}

@media (min-width: 576px) {
    .gallery-grid {
        --width: 200px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .site-footer .main-footer .row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }

    .site-footer .footer-menu .menu {
        text-align: left;
    }

    .site-footer .footer-logo {
        width: 120px;
    }

    .gallery-grid {
        --width: 250px;
    }
}

@media (min-width: 992px) {
    p {
        font-size: 18px;
    }

    .hero-small .hero-title {
        font-size: 40px;
    }

    .hero-small .hero-subtitle {
        font-size: 24px;
    }

    .section-title {
        font-size: 40px;
    }

    .section-title-small {
        font-size: 32px;
    }

    .site-footer .footer-logo {
        width: 150px;
    }

    .testimonial .testimonial-title {
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .site-header {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 1rem 30px;
        background: var(--eerie-black);
        transition: background .3s ease-in-out;
    }

    .admin-bar .site-header {
        top: 32px;
    }

    .site-header.header-transparent {
        position: fixed !important;
        top: 0;
        left: 50%;
        width: 100%;
        background: transparent !important;
        transform: translateX(-50%);
        z-index: 1000;
        transition: background .3s ease-in-out;
    }

    body.scrolled .site-header.header-transparent {
        background: var(--eerie-black) !important;
    }

    .admin-bar .site-header.header-transparent {
        margin-top: 32px;
    }

    .site-header.header-transparent {
        justify-content: center;
    }

    .site-header .header-menu {
        display: block;
    }

    .site-header .site-logo {
        display: none;
    }

    .site-header .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu-container {
        display: none;
    }

    .gallery-grid {
        --width: 300px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}