:root {
  --bg: #020202;
  --gold: #c69c6d;
  --white: #f1f1f1;
  --line: rgba(198, 156, 109, 0.45);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-size: 17px;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  background: transparent;
  z-index: 1300;
  transition: background-color 0.25s ease;
}

.site-header.scrolled {
  background: #000;
}

.header-shell {
  transition: padding 0.25s ease, max-width 0.25s ease;
}

.header-inner {
  transition: padding 0.25s ease;
}

.site-header.scrolled .header-shell {
  max-width: calc(100% - 36px);
  margin-inline: auto;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}

.site-header.scrolled .header-inner {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1200;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-toggle,
.menu-overlay-spacer {
  width: 44px;
  height: 44px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-toggle .hamburger {
  pointer-events: none;
}

.menu-close-icon {
  display: none;
  pointer-events: none;
}

.menu-open .menu-toggle .hamburger {
  display: none !important;
}

.menu-open .menu-toggle .menu-close-icon {
  display: inline-block;
}

.menu-panel {
  margin-top: 0.75rem;
  border: 2px solid #c69c6d;
  background: #020202;
  padding: 2.2rem 1.4rem;
  min-height: 240px;
}

.menu-panel a {
  color: #cfcfcf;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.menu-panel a:hover {
  color: #fff;
}

@media (min-width: 992px) {
  .site-header.scrolled .header-shell {
    max-width: calc(100% - 72px);
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

.hero {
  min-height: 100vh;
  background: url('../img/hero-bg.png');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 144px;
  margin-top: -24px;
}

.hero,
.historia-hero,
.eventos-hero,
.elclub-hero {
  position: relative;
  overflow: visible;
}

/* .hero::before,
.historia-hero::before,
.eventos-hero::before,
.elclub-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 8px;
  background: inherit;
  background-repeat: inherit;
  background-size: inherit;
  background-position: inherit;
  pointer-events: none;
  z-index: 0;
} */

.hero::after,
.historia-hero::after,
.eventos-hero::after,
.elclub-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(72px, 11vw, 140px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.58) 58%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  min-height: calc(100vh - 120px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.62) 56%, rgba(0, 0, 0, 0.9) 100%);
}

.hamburger {
  width: 26px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--white);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.logo-mark,
.footer-logo {
  font-family: Constantia, serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}

.hero-title,
.section-title {
  font-family: Constantia, serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(1.4rem, 2.9vw, 2.3rem);
}

.hero-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.about-box {
  width: min(100%, 1120px);
  border: 1px solid var(--line);
  padding: 1.8rem;
  background: rgba(0, 0, 0, 0.34);
  font-size: 0.84rem;
  line-height: 1.45;
  /* max-height: 260px; */
  z-index: 9;
  overflow: hidden;
  margin-top: clamp(4rem, 10vh, 7rem);
}

.about-box p {
  margin-bottom: 0.9rem;
}

.whatsapp-bubble {
  position: fixed;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  /* border: 2px solid white; */
  color: white;
  /* border-radius: 50%; */
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 1.8rem;
  z-index: 1100;
}

.block-section {
  padding-top: clamp(3rem, 7vw, 7rem);
}

.text-gold {
  color: var(--gold);
}

.btn-outline-gold {
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 0;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
}

.btn-outline-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.links-row a,
.tabs-row a,
.footer-nav a,
footer a {
  color: var(--white);
  text-decoration: none;
}

.tabs-row button {
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: 0;
  outline: 0;
}

.links-row a,
.tabs-row a {
  font-size: 0.9rem;
  position: relative;
  display: inline-block;
}

.tabs-row button {
  font-size: 0.9rem;
  position: relative;
  display: inline-block;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.tabs-row a {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.links-row a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50%;
  height: 1px;
  background: var(--gold);
}

.overlay-panel-wrap {
  position: relative;
}

.overlay-panel-wrap > .overlay-panel {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  min-height: 260px;
}

.salones-overlay-wrap {
  position: relative;
}

.salones-overlay-wrap > .salones-detail.overlay-panel {
  position: absolute;
  inset: 0;
  z-index: 10;
  overflow: hidden;
}

.salones-overlay-wrap > .salones-detail.overlay-panel:not(.d-none) {
  display: block !important;
}

.salones-detail {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 1);
  padding: 1.2rem 1.2rem 1rem;
}

.salones-overlay-wrap {
  min-height: 360px;
}

.salones-detail::before,
.salones-detail::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gold);
}

.salones-detail::before {
  left: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.salones-detail::after {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.salones-detail-close {
  position: absolute;
  left: 0.75rem;
  top: 0.6rem;
  z-index: 3;
}

.salones-detail-kicker {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  margin-top: 2.4rem;
}

.salones-detail-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.salones-detail-desc {
  max-width: 420px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.salones-detail-image {
  min-height: 160px;
  object-fit: cover;
}

.salones-detail-media {
  position: relative;
}

.salones-detail-swiper {
  position: relative;
  overflow: hidden;
}

.salones-detail-pagination {
  position: absolute;
  right: 0.8rem !important;
  bottom: 0.8rem !important;
  left: auto !important;
  width: auto !important;
  z-index: 3;
  line-height: 1;
}

.salones-detail-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  opacity: 1;
  margin: 0 4px 0 0 !important;
}

.salones-detail-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

.cartas-detail {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 1);
  padding: 2.5rem 1.4rem 2rem;
}

.cartas-section {
  position: relative;
  overflow: hidden;
}

.cartas-section .overlay-panel-wrap {
  position: static;
}

.cartas-section .cartas-detail.overlay-panel {
  inset: 0;
}

.cartas-detail::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: var(--gold);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.cartas-detail-close {
  position: absolute;
  top: 0.65rem;
  right: 0.8rem;
}

.cartas-detail-content {
  max-width: 520px;
  margin-inline: auto;
  padding: 2.2rem 0.5rem 1.2rem;
}

.cartas-detail-content h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
}

.cartas-divider {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.cartas-links a {
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.cartas-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 50%;
  height: 1px;
  background: var(--gold);
}

.tabs-row .active {
  border-bottom: 1px solid var(--gold);
}

.section-image {
  width: 100%;
  display: block;
}

.media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framed-block {
  border: 1px solid var(--line);
}

.description-copy {
  max-width: 360px;
  font-size: 0.92rem;
  line-height: 1.4;
}

.institutions {
  font-family: Constantia, serif;
  font-size: 25px;
}

.dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  display: inline-block;
}

.dot.active {
  background: var(--gold);
}

.novedades-swiper .swiper-slide {
  height: auto;
}

.novedades-swiper .swiper-pagination {
  position: relative;
  top: 0px;
  justify-content: flex-start;
}

.novedades-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  opacity: 1;
  margin: 0 4px 0 0 !important;
}

.novedades-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
}

.novedades-swiper .media-fill {
  max-height: 420px;
}

.novedades-slide-row {
  --novedades-slide-h: 320px;
}

.novedades-slide-row > [class*='col-'] {
  min-height: var(--novedades-slide-h);
}

.novedades-text-col {
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.novedades-image-bg {
  padding-bottom: 60%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.novedades-det-page {
  padding-top: 5rem;
}

.novedades-det-hero {
  max-width: 1240px;
  padding-top: 2.25rem;
}

.novedades-det-shell {
  padding: 0;
  border: 0;
  background: transparent;
}

.novedades-det-image {
  width: 100%;
  min-height: 380px;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.novedades-det-copy {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  text-align: left;
}

.novedades-det-kicker {
  letter-spacing: 0.14em;
}

.novedades-det-title {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.novedades-det-bajada {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: rgba(241, 241, 241, 0.92);
}

.novedades-det-description {
  max-width: 820px;
  font-size: 0.98rem;
  line-height: 1.85;
}

.novedades-det-related {
  margin-top: 1rem;
}

.novedades-det-cta {
  width: 35%;
}

.novedades-det-empty {
  padding: 4rem 1.5rem;
}

.reciprocidad-section {
  padding-bottom: 2rem;
}

.reciprocidad-page {
  padding-top: 11rem;
}

.reciprocidad-page-block {
  max-width: 1240px;
}

.reciprocidad-page-slider-wrap {
  padding-inline: 1.4rem;
}

.reciprocidad-page-prev,
.reciprocidad-page-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #c69c6d;
  font-size: 2rem;
  line-height: 1;
  padding: 0;
  z-index: 3;
}

.reciprocidad-page-prev:hover,
.reciprocidad-page-prev:focus,
.reciprocidad-page-prev.swiper-button-disabled,
.reciprocidad-page-next:hover,
.reciprocidad-page-next:focus,
.reciprocidad-page-next.swiper-button-disabled {
  color: #c69c6d;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.reciprocidad-page-prev {
  left: -0.35rem;
}

.reciprocidad-page-next {
  right: -0.35rem;
}

.reciprocidad-swiper .swiper-slide {
  padding: 1.4rem 1.1rem;
  cursor: pointer;
}

.reciprocidad-detail {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 1);
  padding: 2.6rem 1.4rem 1.8rem;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reciprocidad-detail::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: var(--gold);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.reciprocidad-detail-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
}

.reciprocidad-detail-name {
  font-family: Constantia, serif;
  color: var(--gold);
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.1;
}

.reciprocidad-detail-data {
  color: var(--white);
  max-width: 540px;
}

.reciprocidad-detail-data p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.35;
}

.reciprocidad-detail .reciprocidad-web {
  color: #9db4c2;
}

.reciprocidad-detail-inner {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  min-height: 170px;
}

.reciprocidad-detail-inner .reciprocidad-detail-name,
.reciprocidad-detail-inner .reciprocidad-detail-data {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-logo {
  width: 84px;
  height: 84px;
  font-size: 2rem;
  margin-inline: auto;
}

.footer-nav {
  opacity: 0.9;
}

.footer-social a {
  color: var(--gold);
  font-size: 1.2rem;
}

.footer-social a:hover {
  color: #c69c6d;
}

.autoridades-page {
  padding-top: 10.5rem;
}

.autoridades-intro {
  max-width: 820px;
}

.autoridades-intro .section-title {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.autoridades-divider {
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.autoridades-lead {
  max-width: 640px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.autoridades-directiva {
  padding-top: 4rem;
}

.autoridades-periodo {
  font-size: 1.75rem;
  font-family: Constantia, serif;
}

.autoridades-cargos li {
  font-size: 1.12rem;
  margin-bottom: 0.78rem;
}

.autoridades-media-placeholder {
  width: 100%;
  min-height: 400px;
  background: #d8d8d8;
}

.autoridades-otros {
  padding-top: 2.5rem;
}

.autoridades-lista-sec li {
  margin-bottom: 0.6rem;
  font-size: 0.86rem;
}

.autoridades-fundadores {
  max-width: 1120px;
  margin-top: 4.5rem;
  padding: 4rem 1.4rem;
}

.autoridades-fundadores p {
  max-width: 560px;
  margin-inline: auto;
}

.autoridades-galeria {
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.autoridades-galeria-resumen {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.autoridades-galeria-nombres {
  font-size: 0.95rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.autoridades-galeria-slider-wrap {
  max-width: 1280px;
  margin-inline: auto;
}

.autoridades-galeria-swiper {
  overflow: hidden;
}

.autoridades-galeria-prev,
.autoridades-galeria-next {
  position: absolute;
  top: 33%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--gold);
  font-size: 2.2rem;
  z-index: 3;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  opacity: 1 !important;
}

.autoridades-galeria-prev {
  left: -18px;
}

.autoridades-galeria-next {
  right: -18px;
}

.presidente-card {
  text-align: left;
  cursor: pointer;
}

.presidente-photo {
  width: 145px;
  height: 145px;
  background: linear-gradient(180deg, #9f9f9f, #5f5f5f);
  display: grid;
  place-items: center;
  color: #f3f3f3;
  font-family: Constantia, serif;
  font-size: 1.6rem;
}

.presidente-card h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.15rem;
  color: var(--gold);
  font-family: Constantia, serif;
  font-size: 1.8rem;
  line-height: 0.95;
}

.presidente-card p {
  margin: 0;
  color: var(--white);
  font-size: 0.78rem;
}

.presidente-detail {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 1);
  padding: 1.5rem 1.2rem;
  text-align: left;
}

.presidente-detail::before,
.presidente-detail::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gold);
}

.presidente-detail::before {
  left: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.presidente-detail::after {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.presidente-detail-close {
  position: absolute;
  right: 0.7rem;
  top: 0.45rem;
  z-index: 3;
}

.presidente-detail-inner {
  padding-top: 0.8rem;
}

.presidente-detail-name {
  color: var(--gold);
  font-family: Constantia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.presidente-detail-photo {
  width: 140px;
  height: 170px;
  background: linear-gradient(180deg, #9f9f9f, #5f5f5f);
  display: grid;
  place-items: center;
  color: #f3f3f3;
  font-family: Constantia, serif;
  font-size: 2rem;
}

.presidente-detail-meta,
.presidente-detail-bio {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--white);
}

@media (max-width: 991.98px) {
  .autoridades-galeria .overlay-panel-wrap {
    position: static;
  }

  .autoridades-galeria .presidente-detail.overlay-panel {
    position: relative;
    inset: auto;
    overflow: visible;
    margin-top: 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .salones-overlay-wrap.salones-detail-open {
    min-height: 0;
  }

  .salones-overlay-wrap.salones-detail-open > .row:first-child {
    display: none;
  }

  .salones-overlay-wrap.salones-detail-open > .salones-detail.overlay-panel {
    position: relative;
    inset: auto;
    overflow: visible;
  }

  .eventos-page .salones-overlay-wrap.salones-detail-open > .salones-detail.overlay-panel {
    padding-bottom: 3.2rem;
  }
}

@media (max-width: 767.98px) {
  .eventos-page .salones-overlay-wrap.salones-detail-open {
    min-height: 0;
  }

  .eventos-page .salones-overlay-wrap.salones-detail-open > .row:first-child {
    display: none;
  }

  .eventos-page .salones-overlay-wrap.salones-detail-open > .salones-detail.overlay-panel {
    position: relative;
    inset: auto;
    overflow: visible;
    padding-bottom: 3.2rem;
  }
}

.historia-hero {
  min-height: 74vh;
  background: url('../img/hero-bg.png') center top / cover no-repeat;
  margin-top: -24px;
}

.historia-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.96) 100%);
}

.historia-page {
  margin-top: -4px;
}

.historia-resena {
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
  padding: 4rem 1.2rem;
}

.historia-copy {
  max-width: 640px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.historia-primera-sede {
  padding-top: 5rem;
}

.historia-primera-sede .section-title {
  font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.historia-sede-image {
  width: 100%;
  min-height: 390px;
  background: url('../img/hero-bg.png') center center / cover no-repeat;
  filter: grayscale(100%);
}

.historia-bloque {
  padding-top: 5rem;
}

.historia-sede-actual,
.historia-celebraciones {
  margin-top: 4.5rem;
  padding: 1.2rem;
}

.historia-bloque-img {
  min-height: 360px;
  object-fit: cover;
}

.historia-estandarte-img {
  object-fit: contain;
  background: #0b0b0b;
  padding: 0.4rem;
}

.historia-placeholder {
  width: 100%;
  min-height: 340px;
  background: #d8d8d8;
}

.historia-estandarte .historia-copy,
.historia-primera-sede .historia-copy {
  max-width: 520px;
}

.eventos-hero {
  min-height: 74vh;
  background: url('../img/hero-bg.png') center top / cover no-repeat;
  margin-top: -24px;
}

.eventos-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.96) 100%);
}

.eventos-page {
  margin-top: -4px;
}

.eventos-intro {
  padding-top: 4.2rem;
  max-width: 920px;
}

.eventos-intro .section-title {
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  line-height: 0.95;
}

.eventos-salones {
  padding-top: 5rem;
}

.eventos-consultar {
  width: 37%;
}

.salones-main-swiper {
  position: relative;
  overflow: hidden;
}

.salones-main-image {
  min-height: 420px;
  object-fit: cover;
}

.salones-main-pagination {
  position: absolute;
  right: 0.7rem !important;
  bottom: 1.9rem !important;
  left: auto !important;
  width: auto !important;
  z-index: 2;
  line-height: 1;
}

.salones-main-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  opacity: 1;
  margin: 0 4px 0 0 !important;
}

.salones-main-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

.eventos-servicios {
  padding-top: 6rem;
}

.eventos-servicios-wrap {
  padding: 1rem 1rem;
}

.eventos-servicios-prev,
.eventos-servicios-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  z-index: 3;
}

.eventos-servicios-prev {
  left: -3rem;
}

.eventos-servicios-next {
  right: -3rem;
}

.eventos-servicios-img {
  min-height: 330px;
  object-fit: cover;
}

.eventos-consultas {
  padding-top: 6rem;
}

.eventos-form {
  max-width: 860px;
}

.eventos-input {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  min-height: 46px;
}

.eventos-input:focus {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
  box-shadow: none;
}

.eventos-input::placeholder {
  color: rgba(241, 241, 241, 0.55);
}

.eventos-opciones label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.eventos-opciones input[type='radio'] {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0;
  background: transparent;
}

.eventos-opciones input[type='radio']:checked {
  background: radial-gradient(circle, var(--gold) 45%, transparent 48%);
}

.elclub-hero {
  min-height: 74vh;
  background: url('../img/hero-bg.png') center top / cover no-repeat;
  margin-top: -24px;
}

.elclub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.96) 100%);
}

.elclub-page {
  margin-top: -4px;
}

.elclub-intro {
  padding-top: 4.4rem;
  max-width: 920px;
}

.elclub-intro .section-title {
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
}

.elclub-bloque {
  margin-top: 4.5rem;
  padding: 1.2rem;
}

.elclub-slider-wrap {
  position: relative;
}

.elclub-slider-prev,
.elclub-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  z-index: 3;
}

.elclub-slider-prev {
  left: -5rem;
}

.elclub-slider-next {
  right: -5rem;
}

.elclub-placeholder {
  width: 100%;
  min-height: 340px;
  background: #d8d8d8;
}

.elclub-slide-image {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.elclub-azahares {
  padding-top: 5.5rem;
}

.elclub-azahares-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}

.elclub-azahares-links a {
  color: var(--white);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.elclub-azahares-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50%;
  height: 1px;
  background: var(--gold);
}

.elclub-azahares-swiper {
  position: relative;
  overflow: hidden;
}

.elclub-azahares-image {
  min-height: 360px;
  object-fit: cover;
}

.elclub-azahares-pagination {
  position: absolute;
  right: 0.85rem !important;
  bottom: 0.85rem !important;
  left: auto !important;
  width: auto !important;
  z-index: 2;
}

.elclub-azahares-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  opacity: 1;
  margin: 0 4px 0 0 !important;
}

.elclub-azahares-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

.elclub-delivery {
  padding-top: 5.5rem;
  padding-bottom: 1rem;
}

.elclub-delivery-tabs .active {
  border-bottom: 1px solid var(--gold);
}

.rsi-hero {
  min-height: 74vh;
  background: url('../img/hero-bg.png') center top / cover no-repeat;
  margin-top: -24px;
}

.rsi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.96) 100%);
}

.rsi-page {
  margin-top: -4px;
}

.rsi-intro {
  margin-top: -3.2rem;
  position: relative;
  z-index: 2;
  padding: 4rem 1.2rem;
}

.rsi-copy {
  max-width: 640px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.rsi-programas {
  padding-top: 5rem;
}

.rsi-bloque {
  padding-top: 5rem;
}

.rsi-bloque-framed {
  margin-top: 5rem;
  padding: 2rem 1.6rem;
}

.rsi-placeholder {
  width: 100%;
  min-height: 340px;
  /* background: #d8d8d8; */
}

img.rsi-placeholder {
  display: block;
  min-height: 340px;
  object-fit: cover;
}

.contacto-hero {
  min-height: 74vh;
  background: url('../img/hero-bg.png') center top / cover no-repeat;
  margin-top: -24px;
}

.contacto-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.96) 100%);
}

.contacto-page {
  margin-top: -4px;
}

.contacto-intro {
  padding-top: 3.8rem;
  max-width: 980px;
}

.contacto-form-wrap {
  padding-top: 3.2rem;
}

.contacto-form {
  max-width: 860px;
}

.contacto-textarea {
  min-height: 220px;
  resize: none;
  text-transform: none;
  text-align: left;
  padding-top: 1rem;
}

.socios-page {
  padding-top: 10.5rem;
}

.socios-page > section.container {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.socios-page > section.container:first-of-type {
  margin-top: 0;
}

.socios-page > section.container:last-of-type {
  margin-bottom: 0;
}

.socios-page .actividades-intro {
  padding-top: 3rem;
}

.socios-top {
  padding-top: 2.2rem;
}

.socios-mail {
  font-size: 0.9rem;
}

.socios-edit-wrap {
  max-width: 270px;
}

.socios-edit-input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: #4e4e4e;
  font-size: 0.52rem;
  padding: 0.3rem 0.4rem;
}

.socios-edit-link {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1.1;
  display: inline-block;
  margin-top: 0.35rem;
  position: relative;
  text-align: right;
}

.socios-edit-link::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 54%;
  height: 1px;
  background: var(--gold);
}

.socios-beneficios {
  padding-top: 2.5rem;
}

.beneficios-page {
  padding-top: 8.75rem;
}

.beneficios-intro {
  padding-top: 2rem;
}

.beneficios-grid-wrap {
  padding-top: 3rem;
}

.beneficios-card {
  height: 100%;
  padding: 1.35rem 1.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.beneficios-card::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: var(--gold);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.beneficios-card-title {
  font-family: Constantia, serif;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  margin: 0;
}

.beneficios-card-media {
  width: 100%;
  aspect-ratio: 1 / 0.8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.beneficios-card-text {
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-line;
}

.beneficios-empty {
  padding: 3rem 1.5rem;
}

.socios-card {
  padding: 1.6rem 1.2rem 2rem;
  height: 100%;
  position: relative;
}

.socios-card-corner::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: var(--gold);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.socios-card-title {
  font-family: Constantia, serif;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.socios-card-img {
  min-height: 176px;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.socios-card-text {
  font-size: 0.83rem;
  line-height: 1.35;
}

.socios-asambleas {
  margin-top: 5.5rem;
  padding: 2rem 1.4rem;
}

.socios-copy {
  max-width: 560px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.socios-calendar-wrap {
  max-width: 320px;
  margin-left: auto;
}

.socios-calendar-wrap .flatpickr-calendar.inline {
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.socios-calendar-wrap .flatpickr-months {
  height: auto !important;
  margin-bottom: 0.35rem;
}

.socios-calendar-wrap .flatpickr-months .flatpickr-prev-month,
.socios-calendar-wrap .flatpickr-months .flatpickr-next-month {
  display: none;
}

.socios-calendar-wrap .flatpickr-months .flatpickr-month {
  height: auto !important;
  color: var(--gold);
  text-transform: uppercase;
}

.socios-calendar-wrap .flatpickr-current-month {
  position: static;
  width: 100%;
  height: auto;
  text-align: left;
  line-height: 1.1;
  padding: 0 0 0.4rem 0;
}

.socios-calendar-wrap .flatpickr-current-month .numInputWrapper,
.socios-calendar-wrap .flatpickr-current-month input.cur-year {
  display: none;
}

.socios-calendar-wrap .flatpickr-current-month .flatpickr-monthDropdown-months {
  color: var(--gold);
  font-size: 1.8rem;
  background: transparent;
  padding: 0;
}

.socios-calendar-wrap .flatpickr-weekday,
.socios-calendar-wrap span.flatpickr-weekday,
.socios-calendar-wrap .flatpickr-day {
  color: var(--white);
}

.socios-calendar-wrap .flatpickr-weekdays {
  margin-top: 0.2rem;
}

.socios-calendar-wrap .flatpickr-day {
  border-radius: 50%;
  font-size: 1rem;
}

.socios-calendar-wrap .flatpickr-day.today {
  border-color: var(--gold);
}

.socios-calendar-wrap .flatpickr-day.selected,
.socios-calendar-wrap .flatpickr-day.startRange,
.socios-calendar-wrap .flatpickr-day.endRange {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.socios-mini-nav {
  width: 28px;
  height: 28px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--gold);
}

.socios-servicios {
  padding-top: 5rem;
}

.socios-servicios-prev,
.socios-servicios-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--gold);
  font-size: 2rem;
  z-index: 3;
}

.socios-servicios-prev {
  left: -2.3rem;
}

.socios-servicios-next {
  right: -2.3rem;
}

.socios-service-card {
  min-height: 205px;
  padding: 1.1rem;
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.socios-service-card:hover {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(198, 156, 109, 0.45);
}

.socios-service-card h3 {
  color: var(--gold);
  font-family: Constantia, serif;
  font-size: 2rem;
  line-height: 1;
}

.socios-service-card.is-active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: var(--gold);
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.socios-servicio-detail {
  position: relative;
  padding: 2.1rem 1.25rem 1.6rem;
}

.socios-servicio-detail::before,
.socios-servicio-detail::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gold);
}

.socios-servicio-detail::before {
  left: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.socios-servicio-detail::after {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.socios-servicio-detail-close-row {
  margin-top: -0.8rem;
  margin-bottom: 0.25rem;
}

.socios-servicio-detail-close {
  position: static;
}

.socios-servicio-detail-media {
  width: 100%;
  min-height: 220px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.socios-reciprocidad {
  padding-top: 6rem;
}

.socios-under-link {
  color: var(--white);
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-size: 0.84rem;
}

.socios-under-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50%;
  height: 1px;
  background: var(--gold);
}

.socios-horarios {
  padding-top: 5rem;
}

.socios-horarios-box {
  padding: 2.2rem 1.2rem;
}

.socios-edit-panel {
  position: relative;
  padding: 2.2rem 1.2rem 2rem;
}

.socios-edit-panel::before,
.socios-edit-panel::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--gold);
}

.socios-edit-panel::before {
  left: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.socios-edit-panel::after {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.socios-edit-input-panel {
  max-width: 340px;
}

.socios-edit-close {
  position: absolute;
  right: 0.7rem;
  top: 0.5rem;
  z-index: 2;
}

.socios-edit-divider {
  border-top: 1px solid var(--line);
  margin: 2rem 0 1rem;
}

.socios-edit-col {
  padding: 0.3rem 0.2rem 0;
}

.socios-edit-col .section-title {
  font-size: clamp(2rem, 3.1vw, 2.8rem);
}

.site-modal .modal-dialog {
  max-width: 700px;
}

.site-modal .modal-content {
  background: #020202;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
}

.site-modal .modal-title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.site-modal .modal-header,
.site-modal .modal-body {
  padding-left: 1.3rem;
  padding-right: 1.3rem;
}

.site-modal .modal-footer {
  border-top: 0;
}

.site-modal .btn-close {
  box-shadow: none;
}

.site-modal .modal-body .btn {
  width: fit-content;
  margin-inline: auto;
}

.salones-consulta-modal .modal-dialog {
  max-width: 760px;
}

.salones-consulta-modal .modal-content {
  position: relative;
  overflow: hidden;
}

.salones-consulta-modal .modal-content::before,
.salones-consulta-modal .modal-content::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--gold);
  z-index: 1;
}

.salones-consulta-modal .modal-content::before {
  left: 0;
  top: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.salones-consulta-modal .modal-content::after {
  right: 0;
  bottom: 0;
  clip-path: polygon(100% 100%, 100% 0, 0 100%);
}

.salones-consulta-modal .modal-header,
.salones-consulta-modal .modal-body {
  position: relative;
  z-index: 2;
}

.salones-consulta-modal .eventos-form {
  max-width: 100%;
}

.salones-consulta-modal .eventos-input {
  min-height: 54px;
}

.salones-consulta-modal textarea.eventos-input {
  min-height: 160px;
  resize: vertical;
}

.salones-consulta-modal .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.85;
}

.salones-consulta-copy {
  max-width: 520px;
  margin-inline: auto;
}

.site-alerts-wrap {
  position: fixed;
  top: 112px;
  left: 0;
  right: 0;
  z-index: 1290;
  pointer-events: none;
}

.site-alert {
  pointer-events: auto;
  margin: 0 0 0.75rem auto;
  max-width: 560px;
  background: rgba(2, 2, 2, 0.95);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
}

.site-alert.alert-success,
.site-auth-alert.alert-success {
  border-color: rgba(25, 135, 84, 0.65);
  color: #b7f3ce;
}

.site-alert.alert-danger,
.site-auth-alert.alert-danger {
  border-color: rgba(220, 53, 69, 0.65);
  color: #ffc7cf;
}

.site-alert.alert-warning,
.site-auth-alert.alert-warning {
  border-color: rgba(255, 193, 7, 0.65);
  color: #ffe8a3;
}

.site-alert .btn-close,
.site-auth-alert .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.85;
}

.site-auth-modal .modal-dialog {
  max-width: 640px;
}

.site-auth-panel {
  display: block;
}

.site-auth-panel.d-none {
  display: none !important;
}

.site-auth-form {
  display: grid;
  gap: 1rem;
}

.site-auth-panel .form-label {
  display: inline-block;
  color: var(--white);
}

.site-auth-copy {
  max-width: 460px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--white);
}

.site-auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.site-auth-switch {
  width: 100% !important;
}

.site-auth-input {
  min-height: 56px;
  background: transparent !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  color: var(--white) !important;
  text-transform: none;
}

.site-auth-input::placeholder {
  color: rgba(241, 241, 241, 0.58);
}

.site-auth-input:focus {
  background: transparent !important;
  border-color: var(--gold) !important;
  box-shadow: none !important;
  color: var(--white) !important;
}

.site-auth-verify-form #authCodigo {
  letter-spacing: 0.35rem;
  text-align: center;
  font-size: 1.15rem;
}

.site-auth-alert {
  background: rgba(2, 2, 2, 0.95);
  border-radius: 0;
}

.socios-welcome-modal .modal-dialog {
  max-width: 760px;
}

.socios-welcome-modal .modal-content {
  box-shadow: none;
}

.socios-welcome-modal .modal-body {
  text-align: center;
}

.socios-welcome-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.socios-welcome-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 85vh;
  display: block;
  border-radius: 0;
}

.socios-welcome-close {
  position: absolute;
  top: clamp(0.6rem, 1.6vw, 1rem);
  right: clamp(0.6rem, 1.6vw, 1rem);
  z-index: 20;
  width: 44px;
  height: 44px;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  background-image: none;
  filter: none;
  cursor: pointer;
  pointer-events: auto;
}

.socios-welcome-close::before,
.socios-welcome-close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.socios-welcome-close::before {
  transform: rotate(45deg);
}

.socios-welcome-close::after {
  transform: rotate(-45deg);
}

.socios-welcome-close:focus {
  box-shadow: none;
}

.socios-welcome-close:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
  .salones-overlay-wrap {
    min-height: 390px;
  }

  .hero {
    min-height: 820px;
    padding-top: 174px;
  }

  .hero-content {
    min-height: calc(820px - 150px);
  }

  .about-box {
    padding: 2.8rem 5.4rem;
    font-size: 0.92rem;
    max-height: none;
    margin-top: clamp(6rem, 12vh, 9rem);
    z-index: 9;
  }

  .section-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 0.78rem;
  }

  .menu-panel {
    margin-top: 0.35rem;
    padding: 3rem 3.2rem;
    min-height: 470px;
  }

  .cartas-detail {
    padding: 3rem 2rem 2.2rem;
  }

  .reciprocidad-detail {
    padding: 2.8rem 2rem 2rem;
  }

  .reciprocidad-detail-inner {
    min-height: 220px;
  }

  .reciprocidad-page-prev {
    left: -2.4rem;
  }

  .reciprocidad-page-next {
    right: -2.4rem;
  }

  .novedades-slide-row {
    --novedades-slide-h: 460px;
  }

  .autoridades-page {
    padding-top: 12rem;
  }

  .autoridades-intro {
    margin-top: 1rem;
  }

  .autoridades-fundadores {
    padding: 5rem 2rem;
  }

  .autoridades-galeria-resumen {
    padding: 1.1rem 1.5rem;
  }

  .historia-hero {
    min-height: 720px;
  }

  .historia-resena {
    padding: 4.6rem 2.4rem;
  }

  .historia-sede-actual,
  .historia-celebraciones {
    padding: 2.1rem 1.6rem;
  }

  .historia-estandarte,
  .historia-primera-sede {
    padding-top: 6rem;
  }

  .historia-estandarte .section-title,
  .historia-celebraciones .section-title,
  .historia-sede-actual .section-title,
  .historia-primera-sede .section-title {
    font-size: clamp(2.6rem, 4.3vw, 4rem);
  }

  .eventos-hero {
    min-height: 720px;
  }

  .eventos-intro {
    padding-top: 5rem;
  }

  .eventos-servicios-wrap {
    padding: 2rem 2.4rem;
  }

  .eventos-servicios-img {
    min-height: 360px;
  }

  .elclub-hero {
    min-height: 720px;
  }

  .elclub-intro {
    padding-top: 5rem;
  }

  .elclub-bloque {
    padding: 2rem 1.6rem;
  }

  .elclub-azahares-image {
    min-height: 430px;
  }

  .rsi-hero {
    min-height: 720px;
  }

  .rsi-intro {
    padding: 4.6rem 2.4rem;
  }

  .contacto-hero {
    min-height: 720px;
  }

  .contacto-intro {
    padding-top: 4.8rem;
  }

  .socios-page {
    padding-top: 11.2rem;
  }

  .socios-top {
    padding-top: 2.9rem;
  }

  .socios-asambleas {
    padding: 2.8rem 2rem;
  }

  .socios-card-title {
    font-size: 2.3rem;
  }

  .socios-service-card h3 {
    font-size: 2.1rem;
  }

  .socios-servicio-detail {
    padding: 2.5rem 2rem 2rem;
  }

  .socios-servicio-detail-close-row {
    margin-top: -1.2rem;
    margin-bottom: 0.4rem;
  }

  .socios-servicio-detail-media {
    min-height: 260px;
  }

  .socios-edit-panel {
    padding: 2.8rem 2.6rem 2.4rem;
  }

  .socios-edit-col {
    padding-right: 1.2rem;
  }

  .socios-edit-panel .row > article + article {
    border-left: 1px solid var(--line);
  }

  .socios-edit-panel .row > article + article .socios-edit-col {
    padding-left: 2rem;
  }

  .site-modal .modal-header,
  .site-modal .modal-body {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .site-alerts-wrap {
    top: 132px;
  }

  .site-auth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.actividades-page {
  padding-top: 11rem;
}

.actividades-intro {
  max-width: 1040px;
}

.actividades-intro .section-title {
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
}

.actividades-search-input-wrap {
  position: relative;
  width: min(100%, 560px);
}

.actividades-search-input-wrap i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
}

.actividades-input {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  min-height: 54px;
  padding-left: 2.9rem;
  text-transform: uppercase;
}

.actividades-input:focus {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
  box-shadow: none;
}

.actividades-calendar-wrap {
  max-width: 900px;
  margin-inline: auto;
}

.actividades-calendar-wrap .flatpickr-calendar.inline {
  background: transparent;
  box-shadow: none;
  border: 0;
  margin-inline: auto;
  width: 100%;
  max-width: 860px;
}

.actividades-calendar-wrap .flatpickr-months {
  margin-bottom: 0.6rem;
}

.actividades-calendar-wrap .flatpickr-month {
  color: var(--gold);
  text-transform: uppercase;
}

.actividades-calendar-wrap .flatpickr-current-month input.cur-year,
.actividades-calendar-wrap .flatpickr-current-month .flatpickr-monthDropdown-months,
.actividades-calendar-wrap .flatpickr-weekday,
.actividades-calendar-wrap span.flatpickr-weekday {
  color: var(--white);
}

.actividades-calendar-wrap .flatpickr-current-month .numInputWrapper span.arrowUp,
.actividades-calendar-wrap .flatpickr-current-month .numInputWrapper span.arrowDown {
  border-color: var(--gold);
}

.actividades-calendar-wrap .flatpickr-day {
  color: var(--white);
  border-radius: 50%;
}

.actividades-calendar-wrap .flatpickr-day.today {
  border-color: var(--gold);
}

.actividades-calendar-wrap .flatpickr-day.selected,
.actividades-calendar-wrap .flatpickr-day.startRange,
.actividades-calendar-wrap .flatpickr-day.endRange {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.actividades-calendar-wrap .flatpickr-day.has-event::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.actividades-calendar-wrap .flatpickr-prev-month svg,
.actividades-calendar-wrap .flatpickr-next-month svg {
  fill: var(--gold);
}

.actividades-result {
  margin-top: 3rem;
  padding: 1.2rem;
}

.actividades-feature-slide {
  padding: 1rem;
}

.actividades-feature-title {
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  line-height: 0.92;
}

.actividades-feature-img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
}

.actividades-feature-pagination {
  position: static;
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.actividades-feature-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  opacity: 1;
  margin: 0 4px 0 0 !important;
}

.actividades-feature-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
}

.galeria-hero {
  min-height: 82vh;
  background: url('../img/hero-bg.png') center top / cover no-repeat;
  margin-top: -24px;
}

.galeria-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.96) 100%);
}

.galeria-hero-content {
  min-height: 82vh;
  padding-top: 120px;
}

.galeria-page {
  margin-top: -4px;
}

.galeria-search-section {
  padding-top: 3.2rem;
}

.galeria-search-input-wrap {
  position: relative;
  width: min(100%, 560px);
}

.galeria-search-input-wrap i {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
}

.galeria-search-input {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  min-height: 56px;
  padding-left: 3rem;
}

.galeria-search-input:focus {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
  box-shadow: none;
}

.galeria-grid-section {
  padding-top: 3.2rem;
}

.galeria-grid {
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 84px;
  gap: 12px;
}

.galeria-grid-item {
  overflow: hidden;
}

.galeria-grid-item.span-3 {
  grid-column: span 3;
}

.galeria-grid-item.span-4 {
  grid-column: span 4;
}

.galeria-grid-item.span-6 {
  grid-column: span 6;
}

.galeria-grid-item.span-8 {
  grid-column: span 8;
}

.galeria-grid-item.row-2 {
  grid-row: span 2;
}

.galeria-grid-item.row-3 {
  grid-row: span 3;
}

.galeria-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(198, 156, 109, 0.15);
  display: block;
}

@media (min-width: 992px) {
  .galeria-hero {
    min-height: 760px;
  }

  .galeria-hero-content {
    min-height: 760px;
    padding-top: 140px;
  }

  .galeria-search-section {
    padding-top: 3.8rem;
  }

  .galeria-grid-section {
    padding-top: 3.8rem;
  }
}

@media (max-width: 991.98px) {
  .galeria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .galeria-grid-item[class*='span-'],
  .galeria-grid-item[class*='row-'] {
    grid-column: span 1;
    grid-row: span 1;
  }

  .eventos-servicios-next {
    right: -1rem;
}
  .eventos-servicios-prev {
    left: -1rem;
}

.flatpickr-innerContainer{
  justify-content: center;
}

}

@media (max-width: 575.98px) {
  .site-alerts-wrap {
    top: 96px;
  }

  .site-alert {
    max-width: none;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
}
