:root {
  --az1: #1a3a5c;
  --az2: #2a5080;
  --az3: #3d6fa3;
  --pas1: #deeaf7;
  --pas2: #c5daf0;
  --pas3: #eef4fb;
  --oro: #c9a84c;
  --oro2: #e8c96a;
  --tx: #1a2d42;
  --gray: #5a7080;
  --w: #fff;
  --dark: #0f2035;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Lato, Arial, sans-serif;
  color: var(--tx);
  background: #f4f7fb;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-wrap {
  width: 100%;
  margin: 0 auto;
  background: var(--w);
  overflow: visible;
}

.site-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--az1);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  padding: 7px 0;
}
.topbar .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar a {
  color: var(--oro2);
  text-decoration: none;
  margin-left: 14px;
  font-size: 12px;
}

.site-chrome {
  background: var(--w);
  z-index: 9990;
}
body.bh-sticky-full,
body.bh-sticky-header {
  padding-top: var(--bh-fixed-offset, 0px);
}
.bh-sticky-full .site-chrome {
  position: fixed;
  top: var(--bh-adminbar-height, 0px);
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 6px 18px rgba(26,58,92,.06);
}
.bh-sticky-header .site-chrome {
  display: block;
}
.site-header {
  background: var(--w);
  border-bottom: 3px solid var(--az3);
  position: relative;
  z-index: 9990;
  box-shadow: 0 6px 18px rgba(26,58,92,.06);
}
.bh-sticky-header .site-header {
  position: fixed;
  top: var(--bh-adminbar-height, 0px);
  left: 0;
  right: 0;
  width: 100%;
}
.site-header .site-container {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pas1);
  border: 3px solid var(--az3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--az1);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.site-name {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--az1);
  line-height: 1.1;
}
.site-sub {
  display: block;
  font-size: 11px;
  color: var(--az3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
  line-height: 1.35;
}
.site-sub-line { display: block; }

.menu-toggle {
  display: none;
  border: 0;
  background: var(--az1);
  color: var(--w);
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 700;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a {
  display: block;
  font-size: 13px;
  color: var(--az1);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 5px;
  font-weight: 700;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  background: var(--az1);
  color: var(--w);
}

.hero {
  background: linear-gradient(130deg, var(--az1) 0%, var(--az2) 55%, #1e4875 100%);
  min-height: 430px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-pat { position: absolute; inset: 0; opacity: .10; background: radial-gradient(circle at 80% 50%, var(--pas1) 0%, transparent 58%); }
.hero-dots { position: absolute; inset: 0; opacity: .07; background-image: radial-gradient(circle, white 1px, transparent 1px); background-size: 22px 22px; }
.hero .site-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 230px; gap: 24px; align-items: center; }
.hero-tag {
  display: inline-block;
  background: var(--oro);
  color: var(--az1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.hero-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--w);
  line-height: 1.08;
  margin: 0 0 14px;
}
.hero-text {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 620px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.btn-primary { background: var(--oro); color: var(--az1); }
.btn-secondary { border: 2px solid rgba(255,255,255,.45); color: var(--w); }
.hero-deco {
  font-size: 122px;
  opacity: .20;
  color: var(--pas1);
  text-align: center;
}

.strip {
  background: var(--pas1);
  color: var(--az1);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--pas2);
}
.strip .site-container { display: flex; align-items: center; gap: 12px; }
.strip-label {
  background: var(--az2);
  color: var(--w);
  padding: 4px 11px;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  flex-shrink: 0;
}

.section { padding: 52px 0; }
.section + .section { border-top: 1px solid var(--pas1); }
.section-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: 32px;
  color: var(--az1);
  margin: 0 0 7px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--az3), transparent); border-radius: 1px; }
.section-subtitle { font-size: 15px; color: var(--gray); margin: 0 0 24px; }
.badge { display: inline-block; background: var(--pas1); color: var(--az2); font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 12px; vertical-align: middle; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Lato, Arial, sans-serif; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.event-card { border: 1px solid var(--pas2); border-radius: 10px; overflow: hidden; background: var(--w); box-shadow: 0 12px 24px rgba(26,58,92,.06); }
.event-card-header { background: var(--az2); padding: 16px 18px; }
.event-date { color: var(--oro2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event-title { color: var(--w); font-family: Georgia, serif; font-size: 19px; font-weight: 700; line-height: 1.25; margin-top: 5px; }
.event-title a { color: inherit; text-decoration: none; }
.event-card-body { padding: 16px 18px; }
.event-place { font-size: 14px; color: var(--gray); line-height: 1.5; }
.event-tag { display: inline-block; background: var(--pas1); color: var(--az2); font-size: 12px; padding: 3px 9px; border-radius: 4px; margin-top: 9px; font-weight: 800; }

.archive-intro { margin: -8px 0 28px; color: var(--gray); }
.event-year-group { margin: 0 0 38px; }
.event-year-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--az1);
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
}
.event-year-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--az3), transparent);
}
.empty-state { grid-column: 1 / -1; margin: 0; padding: 24px; background: var(--pas3); border: 1px solid var(--pas2); border-radius: 10px; color: var(--gray); }

.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery-card { position: relative; }
.gallery-item { border: 0; width: 100%; cursor: pointer; font: inherit; border-radius: 9px; overflow: hidden; aspect-ratio: 1; position: relative; display: flex; align-items: center; justify-content: center; font-size: 34px; background: var(--pas2); color: var(--az1); text-decoration: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(26,58,92,.9)); color: var(--w); font-size: 12px; padding: 22px 8px 8px; text-align: center; font-weight: 700; }
.gallery-more { background: var(--az2); color: var(--w); font-size: 15px; font-weight: 800; text-align: center; padding: 18px; }

.bh-gallery-modal-items {
  display: none !important;
}

.gallery-open-link { display: block; margin-top: 8px; color: var(--az2); font-size: 13px; font-weight: 800; text-align: center; text-decoration: none; }

.bh-gallery-modal-items {
  display: none !important;
}

.gallery-open-link:hover { text-decoration: underline; }

.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.video-thumb { border-radius: 10px; background: #0d1f35; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-decoration: none; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .65; }
.video-play { width: 46px; height: 46px; background: var(--oro); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--az1); font-size: 18px; position: absolute; }
.video-year { position: absolute; top: 8px; right: 9px; background: rgba(0,0,0,.58); color: var(--oro2); font-size: 12px; padding: 3px 7px; border-radius: 4px; font-weight: 800; }
.video-title { font-size: 15px; color: var(--tx); margin-top: 9px; font-weight: 800; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.about-box { background: var(--pas3); border: 1px solid var(--pas2); border-radius: 10px; padding: 28px; }
.box-title { font-family: Georgia, serif; font-size: 26px; color: var(--az1); margin: 0 0 13px; }
.box-text { font-size: 15px; color: var(--gray); line-height: 1.85; margin: 0; }
.stats { display: flex; gap: 12px; margin-top: 20px; }
.stat { flex: 1; text-align: center; background: var(--w); border-radius: 8px; padding: 14px 6px; border: 1px solid var(--pas2); }
.stat-number { font-family: Georgia, serif; font-size: 30px; color: var(--az1); font-weight: 700; }
.stat-label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.join-box { background: var(--az1); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.join-title { font-family: Georgia, serif; font-size: 26px; color: var(--oro2); margin: 0; }
.join-text { font-size: 15px; color: rgba(255,255,255,.74); line-height: 1.75; margin: 0; }
.social-row { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-top: 5px; }
.social-btn { background: rgba(255,255,255,.1); color: var(--w); border: 1px solid rgba(255,255,255,.22); padding: 7px 14px; border-radius: 5px; font-size: 13px; text-decoration: none; }

.content-area { padding: 56px 0; }
.entry-title { font-family: Georgia, serif; color: var(--az1); font-size: 42px; margin: 0 0 22px; }
.entry-subtitle { margin: -12px 0 24px; color: var(--gray); font-size: 18px; }
.entry-image-clickable { display: block; cursor: zoom-in; }
.gallery-entry-content img { cursor: zoom-in; border-radius: 8px; }
.entry-content { font-size: 17px; line-height: 1.8; color: var(--tx); }
.entry-content a { color: var(--az2); font-weight: 700; }

.site-footer { background: var(--dark); color: rgba(255,255,255,.55); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; padding: 36px 0; }
.site-footer h4 { color: var(--oro2); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; }
.site-footer p, .site-footer a { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.55); text-decoration: none; display: block; margin: 0; }
.site-footer ul, .site-footer ol { list-style: none; margin: 0; padding: 0; }
.site-footer li { list-style: none; margin: 0; padding: 0; }
.site-footer li::marker { content: ''; }
.site-footer a:hover { color: var(--oro2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 14px 0; font-size: 12px; text-align: center; color: rgba(255,255,255,.32); }


.bh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 52px 72px;
  background: rgba(6, 15, 28, .92);
}
.bh-lightbox.is-open { display: flex; }
.bh-lightbox img {
  max-width: min(96vw, 1500px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}
.bh-lightbox-close,
.bh-lightbox-prev,
.bh-lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
}
.bh-lightbox-close {
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 34px;
}
.bh-lightbox-prev,
.bh-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 42px;
}
.bh-lightbox-prev { left: 18px; }
.bh-lightbox-next { right: 18px; }
.bh-lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  text-align: center;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 700;
}
.bh-lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .topbar .site-container { flex-direction: column; align-items: flex-start; }
  .site-header .site-container { min-height: 76px; }
  .menu-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--w); border-bottom: 1px solid var(--pas2); box-shadow: 0 15px 30px rgba(26,58,92,.10); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: block; padding: 10px 20px 16px; }
  .main-nav a { padding: 11px 12px; }
  .hero .site-container { grid-template-columns: 1fr; }
  .hero-deco { display: none; }
  .card-grid, .video-grid, .two-col, .footer-main { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .bh-lightbox { padding: 52px 18px; }
  .bh-lightbox-prev, .bh-lightbox-next { width: 42px; height: 42px; font-size: 34px; }
  .strip .site-container { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .site-container { width: min(100% - 28px, 1200px); }
  .logo-mark { width: 48px; height: 48px; }
  .site-name { font-size: 17px; }
  .site-sub { font-size: 9px; }
  .hero { min-height: 380px; }
  .hero-title { font-size: 34px; }
  .hero-text { font-size: 15px; }
  .section { padding: 38px 0; }
  .section-title { font-size: 27px; }
  .stats { flex-direction: column; }
}

/* Slider de portada */
.hero-slider {
  display: block;
  min-height: 430px;
}
.hero-slide {
  display: none;
  min-height: 430px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--az1) 0%, var(--az2) 55%, #1e4875 100%);
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(130deg, rgba(26,58,92,0.92) 0%, rgba(42,80,128,0.78) 55%, rgba(30,72,117,0.82) 100%);
  pointer-events: none;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.is-active { display: flex; }
.hero-slide .site-container { z-index: 2; }
.hero-slider .hero-pat,
.hero-slider .hero-dots { pointer-events: none; z-index: 3; }
.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.25);
  cursor: pointer;
}
.hero-dot.is-active { background: var(--oro); border-color: var(--oro); }

/* Páginas interiores con lienzo de fondo */
.bh-canvas-page {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #10233a 0%, #1a3a5c 48%, #c5daf0 100%);
  padding: clamp(46px, 7vw, 92px) 0;
  min-height: 58vh;
}
.bh-canvas-page::before,
.bh-canvas-page::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bh-canvas-page::before {
  background-image: var(--bh-canvas-image);
  background-size: cover;
  background-position: center;
  filter: blur(var(--bh-canvas-blur, 14px));
  transform: scale(1.06);
  opacity: .86;
}
.bh-canvas-page::after {
  background: rgba(15,32,53,var(--bh-canvas-overlay, .45));
}
.bh-canvas-page > .site-container,
.bh-canvas-page > article {
  position: relative;
  z-index: 1;
}
.bh-canvas-page .canvas-panel {
  background: rgba(255,255,255,var(--bh-canvas-panel, .92));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(6,15,28,.20);
  padding: clamp(24px, 4.8vw, 58px);
}
.bh-canvas-page .entry-title {
  margin-bottom: 18px;
}
.bh-canvas-page .entry-content > :first-child {
  margin-top: 0;
}
.bh-canvas-page .entry-content > :last-child {
  margin-bottom: 0;
}

/* Organigrama */
.bh-org-chart {
  display: grid;
  gap: 34px;
  margin: 20px 0 10px;
}
.bh-org-level {
  position: relative;
}
.bh-org-level-title {
  font-family: Georgia, 'Playfair Display', serif;
  font-size: clamp(25px, 3vw, 34px);
  color: var(--az1);
  text-align: center;
  margin: 0 0 18px;
}
.bh-org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.bh-org-level-presidencia .bh-org-grid {
  max-width: 420px;
  margin: 0 auto;
}
.bh-org-card {
  background: #fff;
  border: 1px solid var(--pas2);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 18px 38px rgba(26,58,92,.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bh-org-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bh-org-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--az2), var(--oro));
}
.bh-org-photo {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--pas1);
  border: 3px solid var(--az3);
  color: var(--az1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  overflow: hidden;
}
.bh-org-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bh-org-card h3 {
  font-family: Georgia, 'Playfair Display', serif;
  color: var(--az1);
  font-size: 22px;
  margin: 0 0 6px;
}
.bh-org-role {
  display: inline-block;
  background: var(--pas1);
  color: var(--az2);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.bh-org-description {
  display: block;
  width: 100%;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin: 12px 0 0;
  clear: both;
}
.bh-org-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}
.bh-org-contact {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
}
.bh-org-contact a,
.bh-org-contact span {
  color: var(--az2);
  font-weight: 800;
  text-decoration: none;
}
.bh-org-empty {
  background: var(--pas3);
  border: 1px solid var(--pas2);
  padding: 18px;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .bh-canvas-page .canvas-panel { border-radius: 16px; }
  .bh-org-grid { grid-template-columns: 1fr; }
}

/* Modulo socios */
.bh-socio-form-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--pas2);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 38px);
  box-shadow: 0 20px 45px rgba(26, 58, 92, 0.10);
}
.bh-socio-form-wrap h2 { color: var(--az1); margin: 0 0 8px; }
.bh-socio-intro { color: var(--gray); font-family: Arial, sans-serif; line-height: 1.7; margin-bottom: 22px; }
.bh-socio-form fieldset {
  border: 1px solid var(--pas2);
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 18px;
  background: var(--pas3);
}
.bh-socio-form legend {
  font-weight: 700;
  color: var(--az1);
  padding: 0 8px;
}
.bh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bh-socio-form label { display: block; font-family: Arial, sans-serif; color: var(--tx); }
.bh-socio-form label span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: var(--az1); }
.bh-socio-form input[type="text"],
.bh-socio-form input[type="email"],
.bh-socio-form input[type="number"],
.bh-socio-form select,
.bh-socio-form textarea {
  width: 100%;
  border: 1px solid var(--pas2);
  border-radius: 8px;
  background: var(--w);
  padding: 10px 12px;
  font: 14px Arial, sans-serif;
  color: var(--tx);
  box-sizing: border-box;
}
.bh-form-full { grid-column: 1 / -1; margin-top: 14px; }
.bh-socio-help,
.bh-socio-bank-info {
  font-family: Arial, sans-serif;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}
.bh-check {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tx);
}
.bh-check input { margin-top: 4px; }
.bh-socio-submit {
  background: var(--oro);
  color: var(--az1);
  border: 0;
  border-radius: 8px;
  padding: 13px 24px;
  font-weight: 800;
  cursor: pointer;
  font-family: Arial, sans-serif;
}
.bh-socio-submit:hover { filter: brightness(0.96); }
.bh-socio-notice {
  border-radius: 10px;
  padding: 12px 14px;
  font-family: Arial, sans-serif;
  margin-bottom: 16px;
}
.bh-socio-ok { background: #e4f7eb; color: #115f2c; border: 1px solid #bce8ca; }
.bh-socio-error { background: #fde8e8; color: #8a1c1c; border: 1px solid #f4c4c4; }
.bh-socio-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) {
  .bh-form-grid { grid-template-columns: 1fr; }
  .bh-socio-form fieldset { padding: 14px; }
}
.bh-is-hidden { display: none !important; }
.bh-socio-notice ul { margin: 8px 0 0 20px; }


/* Eventos v2.9: orden cronológico útil y tarjetas legibles */
.event-archive .archive-header { margin-bottom: 34px; }
.event-archive-section { margin-top: 46px; }
.event-archive-section:first-of-type { margin-top: 0; }
.event-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pas2);
}
.event-section-heading h2 {
  margin: 0;
  color: var(--az1);
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
}
.event-count {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--az1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.event-month-group { margin: 0 0 34px; }
.event-month-title {
  margin: 0 0 16px;
  color: var(--az2);
  font-family: Georgia, serif;
  font-size: 22px;
  text-transform: none;
}
.event-card-grid { align-items: stretch; }
.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--pas2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--w);
  box-shadow: 0 10px 28px rgba(26,58,92,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(26,58,92,.13);
}
.event-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--pas2);
}
.event-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}
.event-card:hover .event-card-image img { transform: scale(1.025); }
.event-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.event-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.event-date {
  color: var(--az2);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
.event-card .event-tag {
  flex: 0 0 auto;
  margin-top: 0;
  font-size: 11px;
}
.event-card .event-title {
  margin: 0 0 12px;
  color: var(--az1);
  font-family: Georgia, serif;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  overflow-wrap: anywhere;
}
.event-card .event-title a { color: inherit; text-decoration: none; }
.event-card .event-title a:hover { color: var(--az3); }
.event-card .event-place { margin-bottom: 10px; font-size: 14px; }
.event-excerpt { margin: 0 0 15px; color: var(--gray); font-size: 14px; line-height: 1.6; }
.event-more {
  margin-top: auto;
  color: var(--az2);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.event-more:hover { text-decoration: underline; }
.event-archive-past { padding-top: 10px; }
.event-archive-past .event-card { opacity: .94; }
.single-event-summary {
  display: grid;
  grid-template-columns: minmax(210px, .65fr) 1.35fr;
  gap: 0;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--pas2);
  border-radius: 12px;
  background: var(--w);
}
.single-event-date-block { padding: 22px; background: var(--az2); }
.single-event-date-block .event-date { color: var(--oro2); font-size: 15px; }
.single-event-type { margin-top: 7px; color: #fff; font-family: Georgia, serif; font-size: 20px; }
.single-event-place { display: flex; align-items: center; padding: 22px; }
@media (max-width: 900px) {
  .event-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .event-card-grid { grid-template-columns: 1fr; }
  .event-card-meta { flex-direction: column; }
  .single-event-summary { grid-template-columns: 1fr; }
}
