:root {
  --mirex-blue: #002d62;
  --mirex-red: #ce1126;
  --mirex-gold: #c0a062;
  --bg-light: #f8f9fa;
  --text-dark: #2c3e50;
  --text-muted: #6c757d;
  --white: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 36px rgba(0, 45, 98, 0.12);
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-main: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body.consulado-page {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--mirex-blue);
  transition: all 0.3s ease;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.consulado-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.consulado-main {
  min-height: 60vh;
}

.top-bar {
  background-color: var(--mirex-blue);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
}

.top-bar .container,
.top-bar .top-bar-info,
.top-bar .top-bar-actions {
  display: flex;
  align-items: center;
}

.top-bar .container {
  justify-content: space-between;
  gap: 20px;
}

.top-bar .top-bar-info {
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar .top-bar-actions {
  gap: 12px;
}

.top-bar a,
.top-bar span {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--mirex-gold);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch a {
  gap: 0;
  color: rgba(255, 255, 255, 0.76);
}

.lang-switch a:hover {
  color: var(--white);
}

.lang-switch a[aria-current="page"] {
  color: var(--white);
  pointer-events: none;
}

.lang-switch-divider {
  color: rgba(255, 255, 255, 0.42);
}

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 9px 0;
}

.logo-area {
  display: inline-flex;
  align-items: center;
}

.logo-icon {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text h1 {
  margin: 0;
  font-size: 1rem;
  color: var(--mirex-blue);
  line-height: 1.1;
  text-transform: uppercase;
}

.logo-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-nav {
  margin-left: auto;
}

.site-nav-list,
.site-subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav-item,
.site-subnav-item {
  position: relative;
}

.site-nav-item.has-children::after,
.site-subnav-item.has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.site-nav-link,
.site-subnav-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-nav-link:hover,
.site-nav-link.active,
.site-subnav-link:hover,
.site-subnav-link.active {
  color: var(--mirex-red);
}

.site-subnav-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: none;
}

.site-subnav-list .site-subnav-link {
  display: block;
  padding: 8px 0;
  font-size: 0.9rem;
  text-transform: none;
}

.site-nav-item.has-children:hover>.site-subnav-list,
.site-nav-item.has-children:focus-within>.site-subnav-list,
.site-subnav-item.has-children:hover>.site-subnav-list,
.site-subnav-item.has-children:focus-within>.site-subnav-list {
  display: block;
}

.consulado-page .site-header {
  position: relative;
  top: auto;
  background: var(--white);
  border-bottom: 0;
  box-shadow: none;
  z-index: 50;
}

.consulado-page .site-header.is-nav-fixed {
  padding-bottom: var(--site-nav-height, 0px);
}

.consulado-page .site-header .nav-wrapper {
  max-width: none;
  padding: 0;
  flex-direction: column;
  gap: 0;
  background: var(--white);
}

.consulado-page .home-brand-panel {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(260px, max-content) minmax(0, 1fr);
  align-items: end;
  column-gap: 24px;
  padding: 8px 32px 2px;
  border-bottom: 1px solid rgba(0, 45, 98, 0.1);
  background: var(--white);
}

.consulado-page .home-brand-spacer {
  display: none;
}

.consulado-page .logo-area {
  grid-column: 2;
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.consulado-page .logo-area>div {
  width: 100%;
}

.consulado-page .logo-icon {
  width: min(100%, 300px);
  height: auto;
  margin: 0 auto;
}

.consulado-page .home-header-contact {
  display: contents;
  color: var(--mirex-blue);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.consulado-page .home-header-contact .top-bar-info {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  display: flex;
  min-width: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 16px;
  color: var(--mirex-blue);
  line-height: 1;
  text-align: left;
}

.consulado-page .home-header-contact .top-bar-actions {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--mirex-blue);
  line-height: 1;
  text-align: right;
}

.consulado-page .home-header-contact a,
.consulado-page .home-header-contact span {
  color: var(--mirex-blue);
  line-height: 1;
}

.consulado-page .home-header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.consulado-page .home-header-contact a:hover {
  color: var(--mirex-blue);
}

.consulado-page .home-header-contact .lang-switch {
  color: var(--mirex-blue);
  line-height: 1;
}

.consulado-page .home-header-contact .lang-switch-divider {
  color: rgba(0, 45, 98, 0.4);
}

.consulado-page .home-header-contact .header-actions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.consulado-page .home-header-contact .header-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.consulado-page .home-header-contact .header-social-links a {
  width: auto;
  height: auto;
  border-radius: 0;
  overflow: visible;
}

.consulado-page .home-header-contact .header-social-links img {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.consulado-page .home-header-contact .header-social-links .social-icon-google {
  height: 38px;
}

.consulado-page .home-header-contact .lang-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--mirex-blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.consulado-page .home-header-contact .lang-links a {
  color: var(--mirex-blue);
  gap: 6px;
  letter-spacing: 0;
  text-transform: none;
}

.consulado-page .home-header-contact .lang-links a[aria-current="page"] {
  font-weight: 800;
  pointer-events: none;
}

.consulado-page .home-header-contact .flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.consulado-page .site-nav {
  position: relative;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  background: var(--mirex-blue);
  overflow: visible;
  z-index: 60;
}

.consulado-page .site-header.is-nav-fixed .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.consulado-page .site-nav-list {
  width: 100%;
  max-width: 1200px;
  justify-content: center;
  gap: 0;
  padding: 0 20px;
  overflow: visible;
}

.consulado-page .site-nav-link {
  padding: 16px 13px;
  color: var(--white);
  font-size: 0.86rem;
}

.consulado-page .site-nav-link:hover,
.consulado-page .site-subnav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.consulado-page .site-nav-link.active,
.consulado-page .site-nav-item:has(.site-subnav-link.active) > .site-nav-link,
.consulado-page .site-subnav-link.active,
.consulado-page .site-subnav-item:has(.site-subnav-link.active) > .site-subnav-link {
  color: var(--mirex-red);
  background: transparent;
}

.consulado-page .site-subnav-list {
  top: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--mirex-blue);
  box-shadow: var(--shadow-lg);
  z-index: 80;
}

.consulado-page .site-subnav-link {
  color: var(--white);
}

.consulado-page .mobile-menu-btn {
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mirex-blue);
}

.hero {
  position: relative;
  padding: 0;
  text-align: center;
  border-bottom: 4px solid var(--mirex-red);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg-video,
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-bg-video.visible,
.hero-video.visible {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 45, 98, 0.6);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-overlay.visible,
.hero.has-video .hero-overlay {
  opacity: 1;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 480px;
  z-index: 2;
}

.hero-slides {
  position: relative;
  width: 100%;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slide-media,
.hero-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
}

.hero-slide-media img {
  object-fit: contain;
}

.hero-slide-copy {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero-slide.active,
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero h1,
.hero h2 {
  font-size: 2.8rem;
  color: var(--mirex-blue);
  margin: 0 0 20px;
  font-weight: 800;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero.has-video h1,
.hero.has-video h2 {
  color: var(--white);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero.has-video p {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: bold;
}

.btn-primary {
  background-color: var(--mirex-blue);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero.has-video .btn-primary {
  background-color: var(--white);
  color: var(--mirex-blue);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--mirex-blue);
  cursor: pointer;
  z-index: 10;
}

.hero-arrow-prev {
  left: 10px;
}

.hero-arrow-next {
  right: 10px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 45, 98, 0.25);
  cursor: pointer;
}

.hero-dot.active,
.hero-dot.is-active {
  background: var(--mirex-red);
}

.secciones-grid,
.page-section {
  padding: 80px 0;
}

.page-header {
  background-color: var(--bg-light);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  color: var(--mirex-blue);
  font-size: 2.5rem;
  margin: 0 0 10px;
}

.page-header h1::after {
  content: "";
  display: block;
  width: 150px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--mirex-red);
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title,
.section-heading,
.page-intro {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2,
.section-heading h2,
.page-intro h1,
.page-intro h2 {
  font-size: 2rem;
  color: var(--mirex-blue);
  margin: 0;
}

.section-title div,
.section-heading::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background-color: var(--mirex-gold);
  margin: 15px auto 0;
}

.section-heading p,
.page-intro p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--text-muted);
}

.grid-cards,
.card-grid,
.news-grid,
.biz-grid,
.detail-grid,
.mvv-grid,
.team-grid,
.link-grid,
.footer-grid {
  display: grid;
  gap: 30px;
}

.grid-cards,
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.news-grid,
.biz-grid,
.team-grid,
.link-grid,
.mvv-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.detail-grid {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  align-items: start;
}

.card,
.info-card,
.timeline-card,
.sidebar-card,
.link-card,
.news-card,
.biz-card,
.team-card,
.mvv-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.card,
.enlace-card {
  text-align: center;
}

.card:hover,
.enlace-card:hover,
.info-card:hover,
.link-card:hover,
.news-card:hover,
.biz-card:hover,
.team-card:hover {
  transform: translateY(-5px);
}

.card {
  padding: 30px 20px;
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--mirex-blue);
}

.card h3,
.link-card h3,
.sidebar-card h3,
.news-copy h3,
.biz-copy h3,
.team-card h3,
.content-panel h2,
.content-panel h3,
.mvv-card h3 {
  font-size: 1.3rem;
  margin: 0 0 15px;
  color: var(--mirex-blue);
}

.card p,
.link-card p,
.sidebar-card p,
.news-copy p,
.biz-copy p,
.team-card p,
.content-panel p,
.content-panel li,
.mvv-card p,
.mvv-card li {
  color: var(--text-muted);
}

.card p {
  margin: 0 0 14px;
}

.card-link,
.text-link {
  font-weight: 600;
  color: var(--mirex-red);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.card-link {
  display: inline-block;
  margin-top: 6px;
}

.card-copy,
.news-copy,
.biz-copy,
.team-card,
.sidebar-card,
.link-card {
  padding: 24px;
}

.content-panel,
.article-shell,
.event-shell {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.consul-section {
  padding: 80px 0;
}

.consul-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

.consul-image-wrapper {
  position: relative;
}

.consul-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  background-color: var(--border-color);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.consul-decoration {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80%;
  height: 100%;
  background-color: var(--mirex-blue);
  z-index: -1;
  border-radius: 8px;
}

.consul-info h2 {
  font-size: 2.2rem;
  color: var(--mirex-blue);
  margin: 0 0 5px;
}

.consul-title {
  color: var(--mirex-gold);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 25px;
  display: block;
}

.consul-bio p {
  margin-bottom: 15px;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-media,
.news-media,
.biz-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.08), rgba(206, 17, 38, 0.08));
}

.feature-media img,
.news-media img,
.biz-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-badge,
.card-badge,
.meta-badge,
.biz-tag,
.event-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 45, 98, 0.08);
  color: var(--mirex-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-tag {
  width: fit-content;
  gap: 4px;
  padding: 3px 7px;
  line-height: 1.1;
}

.section-surface,
.enlaces-seccion {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.enlaces-seccion {
  padding: 80px 0;
}

.enlaces-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.enlaces-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  display: flex;
  padding: 20px 5px;
}

.enlaces-container::-webkit-scrollbar {
  display: none;
}

.enlaces-track {
  display: flex;
  gap: 25px;
  align-items: stretch;
}

.directorios-seccion {
  border-top: 1px solid var(--border-color);
  background:
    linear-gradient(180deg, rgba(0, 45, 98, 0.035), rgba(255, 255, 255, 0) 58%),
    var(--white);
}

.directorios-carousel-wrapper {
  justify-content: center;
}

.directorios-carousel-wrapper .nav-btn {
  display: none;
}

.directorios-container {
  flex: 1 1 100%;
  justify-content: center;
  overflow: visible;
  max-width: 100%;
  padding: 24px 0 30px;
}

.directorios-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 430px));
  align-items: stretch;
  justify-content: center;
  gap: 28px;
  width: 100%;
  margin: 0 auto;
}

.enlace-card {
  background: var(--white);
  width: 320px;
  height: 300px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
  overflow: hidden;
  transition: 0.3s ease;
}

.enlace-card .logo-box {
  flex: 0 0 50px;
  height: 50px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enlace-card img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.enlace-card h4 {
  color: var(--mirex-blue);
  font-size: 1rem;
  line-height: 1.28;
  margin: 20px 0 0;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.enlace-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.28;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.enlace-card:not(.directorios-card) {
  position: relative;
  display: grid;
  grid-template-rows: 50px auto minmax(0, 1fr) auto auto;
  height: 360px;
  min-height: 360px;
  padding-bottom: 20px;
  overflow: hidden;
}

.enlace-card:not(.directorios-card) p {
  align-self: center;
  display: block;
  text-align: center;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.enlace-card:not(.directorios-card) .enlace-contact-info {
  position: static;
  align-self: end;
  width: 100%;
  margin-top: 8px;
}

.enlace-card:not(.directorios-card) .btn-enlace {
  position: static;
  align-self: end;
  width: 100%;
  margin-top: 8px;
}

.directorios-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 350px;
  padding: 32px 34px 30px;
  gap: 14px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(0, 45, 98, 0.14);
  background:
    var(--mirex-red),
    var(--mirex-red);
  box-shadow: 0 18px 38px rgba(0, 45, 98, 0.12);
  overflow: hidden;
}

.directorios-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--mirex-red);
}

.directorios-card:hover,
.directorios-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(0, 45, 98, 0.2);
  box-shadow: 0 26px 48px rgba(0, 45, 98, 0.17);
}

.directorios-card .logo-box {
  width: 76px;
  height: 76px;
  flex-basis: auto;
  margin: 0;
  border-radius: 18px;
  background: rgba(0, 45, 98, 0.07);
  border: 1px solid rgba(0, 45, 98, 0.1);
  box-shadow: 0 12px 24px rgba(0, 45, 98, 0.12);
}

.directorios-card .logo-box img {
  max-width: 48px;
  max-height: 48px;
}

.directorios-card h4 {
  display: block;
  color: var(--mirex-blue);
  font-size: 1.42rem;
  line-height: 1.18;
  text-align: left;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.directorios-card p {
  display: block;
  color: var(--text-dark);
  font-size: 1.02rem;
  line-height: 1.62;
  text-align: left;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.directorios-card .btn-enlace {
  justify-self: start;
  width: auto;
  min-width: 164px;
  min-height: 42px;
  margin-top: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 22px rgba(0, 45, 98, 0.16);
}

@media (max-width: 900px) {
  .directorios-track {
    grid-template-columns: minmax(0, 430px);
  }
}

.enlace-contact-info {
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
  margin-bottom: 0;
  box-sizing: border-box;
  min-height: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.enlace-contact-info span {
  display: block;
  font-size: 13px;
  line-height: 1.28;
  color: var(--text-dark);
  max-width: 100%;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.enlace-contact-info span:last-child {
  margin-bottom: 0;
}

.nav-btn {
  background: var(--mirex-blue);
  color: var(--white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: 0.3s;
}

.nav-btn:hover {
  background: var(--mirex-red);
}

.nav-btn.is-hidden {
  display: none !important;
}

.btn-enlace {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--mirex-blue);
  color: var(--white) !important;
  margin-top: auto;
  min-height: 36px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.enlaces-seccion .btn-enlace:hover,
.enlaces-seccion .btn-enlace:focus-visible {
  background: var(--mirex-red);
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.identity-band {
  background: linear-gradient(135deg, var(--mirex-blue), #0d2445);
  color: var(--white);
  padding: 80px 0;
}

.mvv-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 88px;
  background:
    linear-gradient(90deg, rgba(0, 45, 98, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  background-size: 42px 42px, auto;
  color: var(--text-dark);
}

.identity-band .section-heading h2,
.identity-band .section-heading p,
.identity-band .mvv-card h3,
.identity-band .mvv-card p,
.identity-band .mvv-card li {
  color: var(--white);
}

.mvv-section .container {
  position: relative;
}

.mvv-section .section-title-light h2 {
  color: var(--mirex-blue);
}

.mvv-section .section-title-light div {
  background-color: var(--mirex-red);
}

.identity-band .mvv-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  border-top: 4px solid var(--mirex-gold);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
}

.section-title-light div {
  background-color: var(--white);
}

.valores-list {
  list-style: none;
  margin-top: 15px;
  padding: 0;
}

.valores-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.valores-list li::before {
  content: "•";
  color: var(--mirex-red);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.mvv-slider-shell {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 16px;
  max-width: 1120px;
  margin: 38px auto 0;
}

.mvv-slider-viewport {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(0, 24, 53, 0.16);
  touch-action: pan-y;
}

.mvv-slider-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.mvv-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.mvv-card {
  display: grid;
  grid-template-columns: minmax(132px, 0.28fr) minmax(0, 1fr);
  align-content: center;
  gap: 8px 34px;
  min-height: 400px;
  padding: 44px 50px;
  background:
    linear-gradient(90deg, rgba(206, 17, 38, 0.06), transparent 42%),
    var(--white);
  border: 1px solid rgba(0, 45, 98, 0.1);
  border-left: 7px solid var(--mirex-red);
  border-radius: 22px;
  box-shadow: none;
  color: var(--text-dark);
}

.mvv-card-icon {
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 100%);
  border: 1px solid rgba(0, 45, 98, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 16px 34px rgba(0, 24, 53, 0.1);
}

.mvv-card-icon img {
  width: 78px;
  height: 78px;
  display: block;
}

.mvv-kicker {
  grid-column: 2;
  display: block;
  margin: 0 0 10px;
  color: var(--mirex-red);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mvv-card h3 {
  grid-column: 2;
  color: var(--mirex-blue);
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1.05;
  margin: 0;
}

.mvv-card p,
.mvv-card li {
  grid-column: 2;
  color: #34465f;
  font-size: 1rem;
  line-height: 1.72;
  margin: 0;
}

.mvv-card p + p {
  margin-top: 12px;
}

.mvv-card--valores {
  grid-template-columns: 132px repeat(5, minmax(92px, 1fr));
  align-content: center;
  align-items: center;
  gap: 14px;
}

.mvv-card--valores .mvv-card-icon {
  grid-row: 1 / span 5;
}

.mvv-card--valores h3,
.mvv-card--valores .mvv-kicker {
  grid-column: 2 / -1;
}

.mvv-card--valores p {
  grid-column: auto;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  border: 1px solid rgba(0, 45, 98, 0.12);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--mirex-blue);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 750;
}

.mvv-card--valores p:nth-of-type(3n) {
  border-color: rgba(206, 17, 38, 0.18);
  background: #fff8f9;
}

.mvv-card--valores p + p {
  margin-top: 0;
}

.mvv-arrow {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--mirex-blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(0, 24, 53, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.mvv-arrow:hover {
  transform: translateY(-2px);
  background: var(--mirex-red);
  color: var(--white);
}

.mvv-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.mvv-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(0, 45, 98, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.mvv-dot.is-active {
  width: 34px;
  background: var(--mirex-red);
}

.team-section {
  padding: 80px 0;
}

.team-section .team-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 40px 24px;
align-items: start;
}



.team-section .team-card {
  grid-column: span 1;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
}

.team-section .team-card:hover {
  transform: none;
}

.team-photo-wrapper {
  width: 172px;
  height: 172px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-color);
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.team-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.team-section .team-card:nth-child(1) .team-photo-wrapper img {
  object-position: center 10%;
}

.team-section .team-card:nth-child(2) .team-photo-wrapper img {
  object-position: center 0.5%;
}

.team-section .team-card:nth-child(3) .team-photo-wrapper img {
  object-position: center 5%;
  transform: scale(1);
}

.team-section .team-card:nth-child(4) .team-photo-wrapper img {
  object-position: center 18%;
}

/*

.team-section .team-grid>.team-card:last-child:nth-child(4n + 1) {
  grid-column: 7 / span 4;
}

.team-section .team-grid>.team-card:nth-last-child(2):nth-child(4n + 1) {
  grid-column: 5 / span 4;
}

.team-section .team-grid>.team-card:last-child:nth-child(4n + 2) {
  grid-column: 9 / span 4;
}

.team-section .team-grid>.team-card:nth-last-child(3):nth-child(4n + 1) {
  grid-column: 3 / span 4;
}

.team-section .team-grid>.team-card:nth-last-child(2):nth-child(4n + 2) {
  grid-column: 7 / span 4;
}

.team-section .team-grid>.team-card:last-child:nth-child(4n + 3) {
  grid-column: 11 / span 4;
}
  */

.team-photo-wrapper svg {
  width: 60px;
  height: 60px;
}

.team-section .team-card h4 {
  color: var(--mirex-blue);
  font-size: 1.1rem;
  margin: 0 0 5px;
}

.team-section .team-card p {
  color: var(--mirex-red);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.team-section .team-card a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-block;
}

.team-section .team-card a:hover {
  color: var(--mirex-blue);
}

@media (max-width: 1100px) {
  .team-section .team-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    max-width: 620px;
    margin: 0 auto;
  }

  .team-section .team-card {
    grid-column: span 4;
  }

  .team-section .team-grid>.team-card:last-child,
  .team-section .team-grid>.team-card:nth-last-child(2),
  .team-section .team-grid>.team-card:nth-last-child(3) {
    grid-column: span 4;
  }

  .team-section .team-grid>.team-card:last-child:nth-child(odd) {
    grid-column: 3 / span 4;
  }
}

@media (max-width: 640px) {
  .team-section .team-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 260px;
    justify-items: center;
  }

  .team-section .team-card,
  .team-section .team-grid>.team-card:last-child,
  .team-section .team-grid>.team-card:nth-last-child(2),
  .team-section .team-grid>.team-card:nth-last-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: var(--mirex-gold);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.footer-col p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links,
.footer-col ul,
.contact-list,
.hours-list,
.timeline-list,
.directory-list,
.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-col ul {
  font-size: 0.9rem;
  color: #d1d5db;
}

.site-footer {
  background-color: var(--mirex-blue);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 40px;
}

.site-footer a {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  margin-top: 40px;
  color: #9ca3af;
}

.footer-redesign,
.footer-consulado {
  display: grid;
  gap: 28px;
}

.footer-redesign-main,
.footer-consulado-main {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(320px, 1.22fr) minmax(250px, 1fr) minmax(300px, 1.28fr);
  align-items: start;
  column-gap: 24px;
  row-gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(12, 39, 79, 0.8);
}

.footer-redesign-main>*,
.footer-consulado-main>* {
  padding-inline: 0;
}

.footer-brand {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  text-align: center;
  padding-top: 28px;
}

.footer-brand img {
  width: auto;
  height: 136px;
  object-fit: contain;
  transform: none;
}

.footer-brand-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--white);
}

.footer-brand-title span {
  display: inline-block;
  margin-top: 8px;
  color: #9ec1ff;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.footer-section-title {
  display: none;
}

.footer-contact-list,
.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.footer-contact-column,
.footer-info-column,
.footer-map-column {
  display: grid;
  align-content: start;
}

.footer-map-column {
  justify-items: center;
}

.footer-info-column {
  margin-left: 0;
}

.footer-contact-item,
.footer-info-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
}

.footer-contact-item > *,
.footer-info-item > * {
  min-width: 0;
}

.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #9ec1ff;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.footer-icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-contact-item a,
.footer-info-item a,
.footer-mini-links a {
  color: var(--white);
}

.footer-contact-item a {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.footer-contact-item a:hover,
.footer-info-item a:hover,
.footer-mini-links a:hover,
.footer-social-link:hover {
  color: #cbd5e1;
}

.footer-label {
  display: block;
  margin-bottom: 4px;
  color: #b9d2ff;
  text-transform: none;
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 400;
}

.footer-strong-link {
  font-size: 1.12rem;
  font-weight: 400;
}

.footer-info-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.55;
  white-space: nowrap;
}

.footer-hours-day {
  margin: 0;
  font-weight: 400;
  color: var(--white);
}

.footer-hours-time {
  margin: 2px 0 0;
  color: #d6e4ff;
  font-size: 0.98rem;
}

.footer-map-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 190px;
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.footer-map-card img,
.footer-map-card iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-map-card img {
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}

.footer-map-card iframe {
  border: 0;
}

.footer-map-card:hover img {
  transform: scale(1.02);
}

.footer-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 45, 98, 0.08), rgba(0, 45, 98, 0.18));
  pointer-events: none;
}

.footer-map-link {
  display: none;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.footer-social-link {
  margin-top: 20px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.footer-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.footer-social-link.facebook:hover {
  background: #1877f2;
}

.footer-social-link.instagram:hover {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7);
}

.footer-social-link.google-reviews {
  width: 100px;
  border-radius: 999px;
  padding: 0 14px;
}

.footer-social-link.google-reviews img {
  width: 46px;
  height: auto;
}

.footer-social-link.google-reviews:hover {
  background-color: #ffffff
}

.consulado-page-comunidad-dominicana-es .footer-map-overlay,
.consulado-page-comunidad-dominicana-en .footer-map-overlay {
  background: rgba(0, 45, 98, 0.12);
}

.consulado-page-comunidad-dominicana-es .footer-social-link.facebook:hover,
.consulado-page-comunidad-dominicana-en .footer-social-link.facebook:hover {
  background: var(--mirex-blue);
}

.consulado-page-comunidad-dominicana-es .footer-social-link.instagram:hover,
.consulado-page-comunidad-dominicana-en .footer-social-link.instagram:hover {
  background: var(--mirex-red);
}

.footer-redesign-bottom,
.footer-consulado-bottom {
  padding-top: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #9ec1ff;
  font-size: 0.78rem;
}

.footer-redesign-bottom p,
.footer-consulado-bottom p {
  margin: 0;
}

.footer-mini-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-google-badge {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
  gap: 26px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--mirex-blue);
}

.related-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
}

.related-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
}

.map-panel {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.08), rgba(206, 17, 38, 0.08));
  color: var(--mirex-blue);
  text-align: center;
  font-weight: 600;
}

@media (max-width: 992px) {
  .hero h1,
  .hero h2 {
    font-size: 2.2rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 18px 20px 24px;
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav-link {
    font-size: 0.95rem;
  }

  .consulado-page .home-brand-panel {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 470px) minmax(92px, 1fr);
    align-items: end;
    column-gap: 16px;
    row-gap: 0;
    padding: 12px 18px 10px;
  }

  .consulado-page .home-brand-spacer {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

  .consulado-page .logo-area {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
  }

  .consulado-page .logo-icon {
    width: min(100%, 470px);
  }

  .consulado-page .home-header-contact .top-bar-info,
  .consulado-page .home-header-contact .top-bar-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    align-items: center;
    padding-bottom: 0;
    justify-content: flex-end;
    text-align: right;
  }

  .consulado-page .home-header-contact .top-bar-info {
    display: none;
  }

  .consulado-page .home-header-contact .header-actions {
    align-items: flex-end;
    gap: 0;
  }

  .consulado-page .home-header-contact .header-social-links,
  .consulado-page .home-header-contact .lang-links a[aria-current="page"] {
    display: none;
  }

  .consulado-page .home-header-contact .lang-links {
    gap: 0;
    font-size: 1rem;
    font-weight: 500;
  }

  .consulado-page .home-header-contact .lang-links a {
    gap: 6px;
    font-weight: 500;
  }

  .consulado-page .home-header-contact .flag-icon {
    width: 24px;
    height: 17px;
  }

  .consulado-page .mobile-menu-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 20px;
    background: var(--mirex-blue);
    color: var(--white);
    border-radius: 0;
    text-align: right;
  }

  .consulado-page .site-nav {
    display: none;
    position: static;
    padding: 0 20px 20px;
    border-top: 0;
    background: var(--mirex-blue);
    box-shadow: none;
  }

  .consulado-page .site-header.is-nav-fixed {
    padding-bottom: 0;
  }

  .consulado-page .site-header.is-nav-fixed .site-nav {
    position: static;
    box-shadow: none;
  }

  .consulado-page .site-header.is-open .site-nav {
    display: flex;
  }

  .consulado-page .site-nav-list {
    max-width: none;
    align-items: center;
    padding: 0;
  }

  .consulado-page .site-nav-link {
    width: 100%;
    padding: 10px 12px;
    color: var(--white);
    text-align: center;
  }

  .consulado-page .site-subnav-list {
    margin-top: 0;
    padding: 2px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-subnav-list {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 8px 0 0 14px;
  }

  .detail-grid,
  .article-layout,
  .consul-grid {
    grid-template-columns: 1fr;
  }

  .footer-redesign-main,
  .footer-consulado-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-redesign-bottom,
  .footer-consulado-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .enlaces-carousel-wrapper {
    gap: 8px;
  }

  .consul-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  .consulado-page .home-brand-panel {
    grid-template-columns: minmax(0, 1fr) minmax(185px, 1fr) minmax(84px, auto);
    column-gap: 10px;
    padding: 10px 12px 9px;
  }

  .consulado-page .logo-icon {
    width: min(100%, 320px);
  }

  .consulado-page .home-header-contact .lang-links {
    font-size: 0.92rem;
  }

  .consulado-page .home-header-contact .lang-links a {
    gap: 5px;
  }

  .consulado-page .home-header-contact .flag-icon {
    width: 22px;
    height: 15px;
  }
}

@media (max-width: 768px) {
  .consulado-page-nosotros-es .page-header .container,
  .consulado-page-nosotros-en .page-header .container,
  .consulado-page-nosotros-es .consul-section.container,
  .consulado-page-nosotros-en .consul-section.container,
  .consulado-page-nosotros-es .mvv-section .container,
  .consulado-page-nosotros-en .mvv-section .container,
  .consulado-page-nosotros-es .team-section.container,
  .consulado-page-nosotros-en .team-section.container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .consulado-page-nosotros-es .consul-info,
  .consulado-page-nosotros-en .consul-info,
  .consulado-page-nosotros-es .mvv-card,
  .consulado-page-nosotros-en .mvv-card {
    min-width: 0;
  }

  .consulado-page-nosotros-es .team-section .team-grid,
  .consulado-page-nosotros-en .team-section .team-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 38px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .consulado-page-nosotros-es .team-section .team-card,
  .consulado-page-nosotros-en .team-section .team-card,
  .consulado-page-nosotros-es .team-section .team-grid>.team-card:last-child,
  .consulado-page-nosotros-en .team-section .team-grid>.team-card:last-child,
  .consulado-page-nosotros-es .team-section .team-grid>.team-card:nth-last-child(2),
  .consulado-page-nosotros-en .team-section .team-grid>.team-card:nth-last-child(2),
  .consulado-page-nosotros-es .team-section .team-grid>.team-card:nth-last-child(3),
  .consulado-page-nosotros-en .team-section .team-grid>.team-card:nth-last-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 280px);
  }

  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    aspect-ratio: 16 / 7;
    height: auto;
    min-height: 0;
    max-height: 260px;
    padding: 0;
    touch-action: pan-y;
  }

  .hero-slider,
  .hero-slides {
    height: 100%;
    min-height: 0;
  }

  .hero-dots {
    bottom: 24px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-links-viewport {
    max-width: 100% !important;
  }

  .quick-links-track {
    gap: 12px;
    margin: 0;
  }

  .quick-links-card {
    flex: 0 0 min(280px, calc(100% - 96px));
    min-width: min(280px, calc(100% - 96px));
    max-width: 280px;
    min-height: 0;
    gap: 10px;
    padding: 18px 14px;
  }

  .quick-links-card p,
  .enlace-card p,
  .directorios-card p {
    display: none;
  }

  .quick-links-card h3,
  .enlace-card h4,
  .directorios-card h4 {
    margin-bottom: 0;
  }

  .quick-links-track .card-link {
    margin-top: 6px;
  }

  .secciones-grid,
  .page-section,
  .enlaces-seccion {
    padding: 64px 0;
  }

  .enlaces-carousel-wrapper {
    align-items: stretch;
  }

  .enlaces-track {
    gap: 14px;
  }

  .enlace-card:not(.directorios-card) {
    width: min(76vw, 280px);
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto auto;
    padding: 18px 16px;
    gap: 10px;
  }

  .enlace-card:not(.directorios-card) .btn-enlace {
    position: static;
    width: 100%;
    margin-top: 6px;
  }

  .directorios-carousel-wrapper {
    justify-content: flex-start;
  }

  .directorios-container {
    justify-content: flex-start;
    width: 100%;
    max-width: 100% !important;
    padding-inline: 0;
  }

  .directorios-track {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
  }

  .directorios-card {
    width: min(82vw, 300px);
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 22px 20px;
    gap: 10px;
  }

  .directorios-card h4 {
    font-size: 1.16rem;
  }

  .directorios-card .logo-box {
    width: 58px;
    height: 58px;
  }

  .directorios-card .btn-enlace {
    margin-top: 6px;
    min-height: 40px;
  }

  .consulado-page-comunidad-dominicana-es .directorios-carousel-wrapper,
  .consulado-page-comunidad-dominicana-en .directorios-carousel-wrapper,
  .consulado-page-comunidad-dominicana-es .directorios-container,
  .consulado-page-comunidad-dominicana-en .directorios-container {
    justify-content: center;
  }

  .consulado-page-comunidad-dominicana-es .directorios-track,
  .consulado-page-comunidad-dominicana-en .directorios-track {
    grid-template-columns: minmax(0, min(100%, 360px));
    justify-content: center;
    gap: 18px;
    margin: 0 auto;
  }

  .consulado-page-comunidad-dominicana-es .directorios-card,
  .consulado-page-comunidad-dominicana-en .directorios-card {
    width: min(100%, 360px);
    justify-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .consulado-page-comunidad-dominicana-es .directorios-card .logo-box,
  .consulado-page-comunidad-dominicana-en .directorios-card .logo-box {
    margin: 0 auto;
  }

  .consulado-page-comunidad-dominicana-es .directorios-card h4,
  .consulado-page-comunidad-dominicana-en .directorios-card h4,
  .consulado-page-comunidad-dominicana-es .directorios-card p,
  .consulado-page-comunidad-dominicana-en .directorios-card p {
    display: block;
    text-align: center;
  }

  .consulado-page-comunidad-dominicana-es .directorios-card p,
  .consulado-page-comunidad-dominicana-en .directorios-card p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .consulado-page-comunidad-dominicana-es .directorios-card .btn-enlace,
  .consulado-page-comunidad-dominicana-en .directorios-card .btn-enlace {
    justify-self: center;
  }

  .nav-btn {
    display: none;
  }

  .footer-redesign-main,
  .footer-consulado-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
    min-height: auto;
    padding-top: 0;
  }

  .footer-brand img {
    height: 110px;
    transform: none;
  }

  .footer-redesign-bottom,
  .footer-consulado-bottom {
    gap: 12px;
  }

  .footer-mini-links {
    gap: 12px;
  }
}

.services-hero,
.page-intro-events,
.page-intro-directory,
.page-intro-links,
.page-intro-contact,
.event-hero {
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.06), rgba(192, 160, 98, 0.12));
  border-bottom: 1px solid var(--border-color);
}

.services-hero,
.page-intro-events,
.page-intro-directory,
.page-intro-links,
.page-intro-contact {
  padding: 64px 0;
  text-align: center;
}

.services-hero h2,
.page-intro-events h2,
.page-intro-directory h2,
.page-intro-links h2,
.page-intro-contact h2,
.event-hero h2,
.service-header h1,
.biz-title-area h1,
.article-header h1 {
  margin: 0 0 14px;
  color: var(--mirex-blue);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.service-header.container h1 {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding-bottom: 14px;
  background: transparent;
  border: 0;
  color: var(--mirex-blue);
  font-weight: 800;

  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.7),
    0 4px 8px rgba(0, 0, 0, 0.18);
}

.service-header.container h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;
  height: 4px;
  border-radius: 999px;
  background: var(--mirex-red);
}

.services-hero p,
.page-intro-events p,
.page-intro-directory p,
.page-intro-links p,
.page-intro-contact p,
.event-hero p,
.service-header p,
.biz-subtitle,
.article-meta,
.article-body p {
  color: var(--text-muted);
}

.news-hero {
  background: var(--bg-light);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.news-hero h2 {
  color: var(--mirex-blue);
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.news-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.search-container,
.filter-container {
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

.search-box,
.filter-section {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.search-box {
  display: flex;
  gap: 14px;
}

.search-box input,
.filter-group input,
.filter-group select {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text-dark);
  background: var(--white);
}

.search-box button,
.btn-search,
.btn-detail,
.btn-action,
.btn-read,
.btn-event,
.btn-visit,
.btn-register,
.btn-maps,
.btn-review,
.link-btn,
.btn-account {
  border: 0;
  border-radius: 10px;
  background: var(--mirex-blue);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search-box button,
.btn-search,
.btn-action,
.btn-read,
.btn-event,
.btn-visit,
.btn-register,
.btn-maps,
.btn-review,
.btn-account {
  padding: 14px 22px;
}

.search-box button:hover,
.btn-search:hover,
.btn-detail:hover,
.btn-action:hover,
.btn-read:hover,
.btn-event:hover,
.btn-visit:hover,
.btn-register:hover,
.btn-maps:hover,
.btn-review:hover,
.link-btn:hover,
.btn-account:hover {
  background: var(--mirex-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.services-blog-empty {
  display: none;
}

.events-empty-state {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px dashed rgba(0, 45, 98, 0.22);
  border-radius: 16px;
  background: rgba(0, 45, 98, 0.04);
  color: var(--mirex-blue);
  font-weight: 600;
  text-align: center;
}

.interest-links-blog-index {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 34%, #ffffff 100%);
  padding-bottom: 72px;
}

.interest-links-directory {
  padding-top: 24px;
}

.interest-links-blog-index .page-intro-links .container {
  max-width: 840px;
}

.interest-links-blog-index .page-intro-links p {
  margin: 0 auto;
  font-size: 1.06rem;
}

.services-hero.page-header,
.page-intro.page-header,
.news-hero.page-header {
  margin-bottom: 0;
  padding: 60px 0;
  background: var(--bg-light);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.services-hero.page-header h1,
.page-intro.page-header h1,
.news-hero.page-header h1 {
  margin: 0 0 10px;
  color: var(--mirex-blue);
  font-size: 2.5rem;
  line-height: 1.15;
}

.services-hero.page-header p,
.page-intro.page-header p,
.news-hero.page-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.interest-links-blog-index .filter-section {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(0, 45, 98, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 45, 98, 0.1);
}

.interest-links-blog-index .filter-group {
  gap: 6px;
}

.interest-links-blog-index .filter-group label {
  color: var(--mirex-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.interest-links-blog-index .interest-links-search-input {
  min-height: 50px;
  border-color: rgba(0, 45, 98, 0.14);
  background: #fbfcfe;
}

.interest-links-blog-index .interest-links-search-input:focus {
  border-color: rgba(0, 45, 98, 0.38);
  box-shadow: 0 0 0 4px rgba(0, 45, 98, 0.08);
  outline: none;
}

.interest-links-blog-index .btn-search {
  min-width: 128px;
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 10px;
}

.interest-links-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.consulado-page-servicios-virtuales .interest-links-list,
.consulado-page-servicios-virtuales-en .interest-links-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.interest-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 340px;
  margin: 0;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 45, 98, 0.11);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 45, 98, 0.07);
  gap: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.interest-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 45, 98, 0.22);
  box-shadow: 0 18px 38px rgba(0, 45, 98, 0.1);
}

.interest-link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--mirex-blue), var(--mirex-red));
}

.interest-link-logo-box {
  flex: 0 0 62px;
  height: 62px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interest-link-logo-box img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.interest-link-card-head {
  margin-bottom: 0;
  text-align: center;
}

.interest-link-title {
  margin: 0;
  color: var(--mirex-blue);
  font-size: 1.02rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.interest-link-summary {
  margin: 7px 0 0;
  color: #4d6175;
  font-size: 0.85rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.interest-link-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 45, 98, 0.08);
}

.interest-link-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.interest-link-block:last-child {
  margin-top: auto;
}

.interest-link-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mirex-red);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.interest-link-block:last-child .interest-link-label {
  color: var(--mirex-red);
}

.interest-link-block .interest-link-content:only-child {
  text-align: center;
}

.interest-link-content {
  width: 100%;
  min-width: 0;
  color: #35485c;
  font-size: 0.82rem;
  line-height: 1.42;
  text-align: center;
  overflow-wrap: anywhere;
}

.interest-link-content>*:first-child {
  margin-top: 0;
}

.interest-link-content>*:last-child {
  margin-bottom: 0;
}

.interest-link-content p,
.interest-link-content ul,
.interest-link-content ol {
  margin: 0;
}

.interest-link-content ul,
.interest-link-content ol {
  padding-left: 18px;
}

.interest-link-content li+li,
.interest-link-content p+p {
  margin-top: 8px;
}

.interest-link-content br+br {
  display: none;
}

.interest-link-content a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 210px);
  max-width: 100%;
  min-height: 36px;
  margin: 6px auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(0, 45, 98, 0.18);
  border-radius: 9px;
  background: var(--mirex-blue);
  box-shadow: 0 8px 18px rgba(0, 45, 98, 0.14);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  white-space: normal;
  word-break: normal;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.interest-link-content a:hover,
.interest-link-content a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(206, 17, 38, 0.2);
  background: var(--mirex-red);
  box-shadow: 0 10px 22px rgba(206, 17, 38, 0.18);
  color: var(--white);
}

.interest-link-content a[href^="tel:"],
.interest-link-content a[href^="mailto:"] {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mirex-blue);
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
  text-decoration: none;
  vertical-align: baseline;
}

.interest-link-content a[href^="mailto:"] {
  display: block;
  max-width: 100%;
  margin: 6px auto 0;
  overflow-wrap: anywhere;
  text-align: center;
  word-break: break-word;
}

.interest-link-content a[href^="tel:"]:hover,
.interest-link-content a[href^="tel:"]:focus-visible,
.interest-link-content a[href^="mailto:"]:hover,
.interest-link-content a[href^="mailto:"]:focus-visible {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--mirex-red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.interest-link-content a[href*="youtube.com/watch"] {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mirex-blue);
  font-size: inherit;
  font-weight: 800;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  vertical-align: baseline;
}

.interest-link-content a[href*="youtube.com/watch"]:hover,
.interest-link-content a[href*="youtube.com/watch"]:focus-visible {
  transform: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--mirex-red);
}

.interest-links-empty-state {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px dashed rgba(0, 45, 98, 0.22);
  border-radius: 14px;
  background: rgba(0, 45, 98, 0.04);
  color: var(--mirex-blue);
  font-weight: 650;
  text-align: center;
}

.services-section,
.links-section,
.team-section,
.directory-section,
.social-feedback-section,
.newsletter-section {
  padding: 56px 0 0;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 42px 0 24px;
  color: var(--mirex-blue);
}

.category-title svg {
  flex: 0 0 auto;
  stroke: currentColor;
}

.category-title h2 {
  margin: 0;
  font-size: 1.65rem;
}

.services-grid,
.directory-grid,
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.quick-links-carousel {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quick-links-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
  box-sizing: border-box;
  padding: 8px 0 14px;
  display: flex;
  justify-content: flex-start;
  margin: 0 auto;
}

.quick-links-viewport::-webkit-scrollbar {
  display: none;
}

.quick-links-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  margin: 0 auto;
}

.quick-links-card {
  min-width: min(100%, 340px);
  max-width: 340px;
  flex: 0 0 340px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quick-links-track .card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--mirex-red);
  color: var(--white) !important;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(206, 17, 38, 0.18);
}

.quick-links-track .card-link:hover,
.quick-links-track .card-link:focus {
  background: #b60f21;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.quick-links-card .icon-badge {
  margin: 0 auto 18px;
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
}

.quick-links-card .icon-badge-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
}

.quick-links-card .icon-badge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.consulado-page-home .quick-links-carousel {
  display: block;
}

.consulado-page-home .quick-links-nav {
  display: none;
}

.consulado-page-home .quick-links-viewport {
  display: block;
  max-width: 100% !important;
  overflow: visible;
  padding: 8px 0 14px;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.consulado-page-home .quick-links-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.consulado-page-home .quick-links-card:nth-child(5) {
  grid-column: 2;
}

.consulado-page-home .quick-links-card:nth-child(6) {
  grid-column: 3;
}

.consulado-page-home .quick-links-card {
  min-width: 0;
  max-width: none;
  min-height: 220px;
  flex: initial;
  padding: 20px 16px;
  border-radius: 12px;
  scroll-snap-align: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.consulado-page-home .quick-links-card,
.consulado-page-home .enlace-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.consulado-page-home .quick-links-card:focus-within,
.consulado-page-home .quick-links-card:hover,
.consulado-page-home .enlace-card:hover,
.consulado-page-home .enlace-card:focus-within {
  transform: translateY(-12px);
  border-color: rgba(0, 45, 98, 0.12);
  box-shadow: 0 24px 28px rgba(0, 0, 0, 0.18);
}

.consulado-page-home .quick-links-card .icon-badge {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}

.consulado-page-home .quick-links-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.consulado-page-home .quick-links-card p {
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .consulado-page-home .quick-links-track {
    justify-items: center;
    gap: 12px;
  }

  .consulado-page-home .quick-links-card {
    width: min(100%, 280px);
    max-width: 280px;
    min-height: 0;
    padding: 18px 14px;
    gap: 10px;
  }

  .consulado-page-home .quick-links-card h3 {
    margin-bottom: 0;
  }

  .consulado-page-home .quick-links-track .card-link {
    margin-top: 6px;
  }
}

@media (max-width: 992px) {
  .consulado-page-home .quick-links-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consulado-page-home .quick-links-card:nth-child(5),
  .consulado-page-home .quick-links-card:nth-child(6) {
    grid-column: auto;
  }
}

.home-news-section {
  padding: 76px 0;
  background: var(--white);
}

.home-news-carousel-shell {
  position: relative;
  display: block;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-news-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-news-card:hover,
.home-news-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(0, 45, 98, 0.12);
  box-shadow: 0 18px 24px rgba(0, 0, 0, 0.14);
}

.home-news-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 45, 98, 0.06);
}

.home-news-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
}

.home-news-copy .news-date {
  margin-bottom: 8px;
}

.home-news-copy h3 {
  margin: 0 0 10px;
  color: var(--mirex-blue);
  font-size: 1rem;
  line-height: 1.25;
}

.home-news-copy p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-news-copy .news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--mirex-blue);
  color: var(--white);
  box-shadow: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-news-copy .news-link:hover,
.home-news-copy .news-link:focus-visible {
  background: var(--mirex-red);
  color: var(--white) !important;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.home-news-more-link {
  position: absolute;
  right: 0;
  top: -58px;
  display: inline-flex;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--mirex-blue);
  color: var(--white);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-news-more-link:hover,
.home-news-more-link:focus-visible {
  background: var(--mirex-red);
  color: var(--white) !important;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.home-news-more-arrow {
  font-size: 1.05rem;
  line-height: 1;
}

.section-title p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--text-muted);
}

.service-card,
.biz-card,
.link-card,
.news-card,
.featured-card,
.contact-card,
.social-card,
.registration-card,
.sidebar-section,
.article-content,
.service-main,
.service-sidebar .info-card,
.directory-table,
.content-section {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--mirex-red);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  font-size: 1.8rem;
  margin-right: 15px;
  margin-bottom: 28px;

}

.service-icon img {
  width: 38px;
  height: 38px;
  display: block;
}

.service-card h3,
.news-card h3,
.featured-content h2,
.event-title,
.biz-name,
.link-card h3,
.contact-card h3,
.social-card h3,
.social-card h4,
.service-main h3,
.registration-card h4,
.sidebar-section h4,
.article-body h2,
.section-title-lined,
.directory-section h3 {
  margin: 0 0 12px;
  color: var(--mirex-blue);
}

.service-main p{
  color: var(--text-muted)

}

.consulado-page-type-blog_post .service-main a,
.consulado-page-type-blog_post .article-content a,
.consulado-page-type-blog_post .cms-blog-detail a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.consulado-page-type-blog_post .sidebar a,
.consulado-page-type-blog_post .service-sidebar a,
.consulado-page-type-blog_post .related-list a,
.consulado-page-type-blog_post .related-card {
  text-decoration: none;
}

.service-card p,
.biz-desc,
.link-card p,
.news-card p,
.featured-content p,
.event-details,
.contact-card p,
.social-card p,
.article-body p,
.content-section p,
.content-section li,
.description-text p {
  margin: 0;
  color: var(--text-muted);
}

.news-link,
.sidebar-link {
  padding: 0;
  background: none;
  color: var(--mirex-red);
  justify-content: flex-start;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.news-link:hover,
.sidebar-link:hover {
  background: none;
  color: var(--mirex-blue);
  box-shadow: none;
}

.consulado-page-noticias .news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.consulado-page-noticias .news-card-body p {
  margin-bottom: 22px;
}

.consulado-page-noticias .news-card .news-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--mirex-blue);
  color: var(--white);
  box-shadow: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.consulado-page-noticias .news-card .news-link:hover,
.consulado-page-noticias .news-card .news-link:focus-visible {
  background: var(--mirex-red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-detail {
  padding: 10px 18px;
  background: var(--mirex-blue);
  color: var(--white);
  justify-content: center;
  border-radius: 10px;
  box-shadow: none;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.btn-detail:hover {
  background: var(--mirex-red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.info-banner {
  margin-top: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.08), rgba(206, 17, 38, 0.08));
}

.info-banner-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.info-banner-text h4 {
  margin: 0 0 6px;
  color: var(--mirex-blue);
}

.info-banner-text p {
  margin: 0;
}

.service-header {
  margin-top: 28px;
  padding: 36px 20px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.category-tag,
.badge,
.event-category,
.biz-badge,
.biz-category,
.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-tag,
.event-category,
.biz-badge,
.badge {
  padding: 10px 10px;
  border-radius: 100px;
}

.category-tag,
.event-category,
.badge-news {
  background: rgba(0, 45, 98, 0.08);
  color: var(--mirex-blue);
}

.category-tag--dominicanos {
  background: var(--mirex-blue);
  color: #fff;
}

.category-tag--extranjeros {
  background: var(--mirex-red);
  color: #fff;
}

.badge-event,
.biz-badge,
.biz-category {
  background: rgba(206, 17, 38, 0.1);
  color: var(--mirex-red);
}

.service-layout,
.biz-grid-detail,
.main-content,
.article-container,
.location-section,
.social-feedback-section {
  display: grid;
  gap: 32px;
}

.service-layout,
.main-content,
.article-container {
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.95fr);
  align-items: start;
}

.service-main,
.article-content {
  padding: 32px;
}

.service-main {
  padding-top: 28px;
}

.service-main h3,
.service-sidebar-title,
.content-section h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

.service-main h3 {
  margin-top: 18px;
}

.service-main h3.service-important-note-title {
  color: var(--mirex-red);
}

.service-main > h3:first-child {
  margin-top: 0;
}

.service-dropdown {
  margin-top: 24px;
  border: 1px solid rgba(0, 45, 98, 0.14);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.service-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--mirex-blue);
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 800;
}

.service-dropdown > summary::-webkit-details-marker {
  display: none;
}

.service-dropdown > summary::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--mirex-red);
  border-bottom: 3px solid var(--mirex-red);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.service-dropdown[open] > summary {
  border-bottom: 1px solid rgba(0, 45, 98, 0.1);
}

.service-dropdown[open] > summary::before {
  transform: rotate(225deg);
}

.service-dropdown .req-list {
  margin-top: 0;
  padding: 18px 22px 22px;
}

.service-dropdown-text {
  display: grid;
  gap: 14px;
  padding: 18px 22px 22px;
}

.service-dropdown-text p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.7;
}

.service-main h4 {
  margin: 0 0 12px;
  color: var(--mirex-blue);
  font-size: 1.05rem;
}

.req-list,
.req-groups,
.timeline,
.event-bullet-list,
.business-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 20px 0 0;
}

.req-group {
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--bg-light);
}

.req-bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.service-post-observations,
.service-post-process {
  margin: 24px 0;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--mirex-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.service-post-observations h2,
.service-post-observations h3,
.service-post-observations h4,
.service-post-observations p,
.service-post-observations li,
.service-post-observations .req-bullet-list,
.service-post-process h2,
.service-post-process h3,
.service-post-process h4,
.service-post-process p,
.service-post-process li,
.service-post-process .req-bullet-list {
  color: var(--white);
}

.service-post-observations h2,
.service-post-observations h3,
.service-post-observations h4,
.service-post-process h2,
.service-post-process h3,
.service-post-process h4 {
  margin-top: 0;
}

.service-post-observations a,
.service-post-process a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.req-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-light);
}

.req-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mirex-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.req-text strong,
.contact-text strong,
.activity strong {
  color: var(--mirex-blue);
}

.req-text p,
.price-row,
.service-steps p,
.registration-note,
.meta-text,
.related-info span,
.info-list li,
.hours-row,
.directory-table td {
  margin: 0;
  color: var(--text-muted);
}

.directory-table th {
  color: #ffffff;
}

.service-steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.service-free-text {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.service-free-text p {
  margin: 0;
  color: var(--text-muted);
}

.service-sidebar .info-card,
.registration-card,
.contact-card,
.social-card {
  padding: 28px;
}

.total-box,
.hours-row,
.biz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.price-row.plain:last-child {
  border-bottom: 0;
}

.price-label,
.price-value,
.total-box strong {
  color: var(--mirex-blue);
}

.price-value,
.total-box strong,
.price {
  font-weight: 800;
}

.service-sidebar .info-card {
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(10, 37, 64, 0.08);
}

.service-sidebar-title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  color: var(--mirex-blue);
  font-weight: 800;
}

.service-sidebar-title::after {
  content: "";
  display: block;
  width: 250px; /* aquí cambias el largo */
  height: 2px;
  background: var(--mirex-red);
  margin-top: 14px;
}


.service-summary {
  margin-bottom: 24px;
}

.service-sidebar .price-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  padding: 16px 0;
}

.service-sidebar .price-label {
  font-size: 0.98rem;
  color: #66788a;
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
}

.service-sidebar .price-value {
  font-size: 1.08rem;
  color: var(--mirex-blue);
  text-align: right;
  white-space: normal;
  overflow-wrap: break-word;
}

.passport-price-calculator {
  display: grid;
  gap: 18px;
  margin: 24px 0 18px;
}

.calculator-group {
  display: grid;
  gap: 10px;
}

.calculator-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--mirex-blue);
}

.calculator-select {
  width: 100%;
  border: 1px solid rgba(18, 59, 111, 0.18);
  background: #f5f8fb;
  color: var(--mirex-blue);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-weight: 700;
}

.calculator-total {
  margin-bottom: 0;
}

.calculator-result {
  padding-top: 0;
}

.total-box {
  margin: 24px 0 22px;
  padding: 20px 18px;
  border-radius: 12px;
  background: #eef3f8;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.total-box span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d7c8c;
}

.total-box strong {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1;
  color: var(--mirex-red);
}

.calculator-total-note {
  display: block;
  max-width: 100%;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--mirex-red);
  font-weight: 700;
}

.calculator-total-note[hidden] {
  display: none;
}

.note-box {
  display: block;
  margin-top: 26px;
  padding: 16px 16px 15px;
  border-radius: 14px;
  background: #fff8e8;
  border: 1px solid rgba(230, 180, 60, 0.5);
  color: #7a5a12;
  text-align: left;
}

.note-box::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 8px;
  background: url("../img/lightbulb.png") center / contain no-repeat;
}

.note-box strong {
  display: block;
  margin-bottom: 8px;
  color: #9c7418;
  text-align: center;
}

.note-box-text {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.note-box-list {
  display: grid;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 1.15rem;
  color: #7a5a12;
  text-align: left;
}

.note-box-list li {
  margin: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.note-box-list li::marker {
  color: #7a5a12;
}

.service-sidebar .btn-action {
  width: 100%;
  justify-content: center;
  text-align: center;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--mirex-blue);
  color: var(--white);
  box-shadow: none;
}

.service-sidebar .btn-action:hover,
.service-sidebar .btn-action:focus-visible {
  background: var(--mirex-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.featured-news {
  padding: 56px 20px 20px;
}

.featured-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.featured-img,
.news-card-img,
.related-img {
  min-height: 230px;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 45, 98, 0.06);
}

.featured-img img,
.news-card-img img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
}

.related-img-1 {
  background-image: linear-gradient(rgba(0, 45, 98, 0.18), rgba(0, 45, 98, 0.18)), url("/cms-manager/static/sites/consuladordchicago/img/consulado-rd-01.png");
}

.related-img-2 {
  background-image: linear-gradient(rgba(0, 45, 98, 0.12), rgba(0, 45, 98, 0.12)), url("/cms-manager/static/sites/consuladordchicago/img/consulado-rd-03.png");
}

.featured-content,
.news-card-body {
  padding: 30px;
}

.news-feed-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding-top: 28px;
}

.news-card {
  overflow: hidden;
}

.consulado-page-noticias .news-card {
  display: flex;
  flex-direction: column;
}

body:has(.site-nav-link.active[href="/noticias-es"]) .featured-news .featured-card,
body:has(.site-nav-link.active[href="/noticias-en"]) .featured-news .featured-card,
.news-hero ~ .featured-news .featured-card {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
}

body:has(.site-nav-link.active[href="/noticias-es"]) .featured-news .featured-img,
body:has(.site-nav-link.active[href="/noticias-es"]) .news-feed-grid .news-card-img,
body:has(.site-nav-link.active[href="/noticias-en"]) .featured-news .featured-img,
body:has(.site-nav-link.active[href="/noticias-en"]) .news-feed-grid .news-card-img,
.news-hero ~ .featured-news .featured-img,
.news-hero ~ .news-feed-grid .news-card-img {
  aspect-ratio: 3 / 4;
  min-height: 0;
  overflow: hidden;
}

body:has(.site-nav-link.active[href="/noticias-es"]) .featured-news .featured-img img,
body:has(.site-nav-link.active[href="/noticias-es"]) .news-feed-grid .news-card-img img,
body:has(.site-nav-link.active[href="/noticias-en"]) .featured-news .featured-img img,
body:has(.site-nav-link.active[href="/noticias-en"]) .news-feed-grid .news-card-img img,
.news-hero ~ .featured-news .featured-img img,
.news-hero ~ .news-feed-grid .news-card-img img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.consulado-page-noticias .featured-news .featured-card {
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  align-items: stretch;
}

.consulado-page-noticias .featured-news .featured-img {
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  background-color: #f6f8fb;
}

.consulado-page-noticias .featured-news .featured-img img {
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.consulado-page-noticias .news-feed-grid .news-card-img {
  background-color: #f6f8fb;
}

.consulado-page-noticias .news-feed-grid .news-card-img img {
  object-fit: contain;
}

.consulado-page-noticias .featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.consulado-page-noticias .featured-content .news-date {
  margin-bottom: 8px;
}

.consulado-page-noticias .featured-content .btn-read {
  margin-top: 18px;
}

.newsletter-content {
  background: linear-gradient(135deg, var(--mirex-blue), #0d2445);
  color: var(--white);
  text-align: center;
  border-radius: 20px;
  padding: 42px 24px;
}

.newsletter-content h3,
.newsletter-content p {
  color: var(--white);
  margin: 0;
}

.newsletter-content p {
  max-width: 720px;
  margin: 14px auto 24px;
  color: rgba(255, 255, 255, 0.88);
}

.article-container {
  padding: 56px 20px 0;
}

.article-content {
  display: block;
}

.article-header {
  margin-bottom: 24px;
}

.article-meta,
.author-info,
.hero-meta,
.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mirex-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.main-image {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.article-body {
  display: grid;
  gap: 18px;
}

.quote-box {
  padding: 22px 24px;
  border-left: 4px solid var(--mirex-gold);
  border-radius: 0 16px 16px 0;
  background: var(--bg-light);
  color: var(--mirex-blue);
  font-size: 1.08rem;
  font-style: italic;
}

.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn-share {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--white);
  font-weight: 700;
}

.btn-share.facebook {
  background: #1877f2;
}

.btn-share.twitter {
  background: #111827;
}

.btn-share.whatsapp {
  background: #16a34a;
}

.sidebar {
  display: grid;
  gap: 22px;
}

.sidebar-section {
  padding: 24px;
}

.related-card {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}

.related-img {
  min-height: 96px;
  border-radius: 14px;
}

.related-info h5 {
  margin: 0 0 6px;
  color: var(--mirex-blue);
  font-size: 1rem;
}

.sidebar-highlight {
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.08), rgba(192, 160, 98, 0.12));
}

.event-hero {
  padding: 72px 0 52px;
}

.event-category {
  margin-bottom: 14px;
}

.hero-meta span,
.event-details span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.content-left,
.content-right {
  display: grid;
  gap: 22px;
}

.content-section {
  padding: 26px 28px;
}

.event-bullet-list {
  list-style: none;
}

.event-bullet-list li,
.business-list li {
  position: relative;
  padding-left: 18px;
}

.event-bullet-list li::before,
.business-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--mirex-red);
  font-weight: 700;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.time {
  color: var(--mirex-red);
  font-weight: 800;
}

.price {
  color: var(--mirex-blue);
  font-size: 2rem;
  margin: 10px 0 12px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  gap: 10px;
}

.map-placeholder,
.map-placeholder-contact {
  min-height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(0, 45, 98, 0.25);
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.05), rgba(206, 17, 38, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--mirex-blue);
}

.filter-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) auto;
  gap: 18px;
  align-items: end;
}

.entrepreneurs-blog-index:not(.clubs-blog-index) .filter-section {
  grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(160px, 220px)) auto;
}

.clubs-blog-index .filter-section {
  grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(170px, 230px)) auto;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-group label {
  color: var(--mirex-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .page-header h1,
  .services-hero.page-header h1,
  .page-intro.page-header h1,
  .news-hero.page-header h1 {
    max-width: 100%;
    font-size: clamp(1.75rem, 5.8vw, 2.6rem);
    overflow-wrap: anywhere;
  }

  .filter-container.container {
    width: calc(100% - 40px);
    max-width: 500px;
    padding-left: 0;
    padding-right: 0;
  }

  .filter-section,
  .entrepreneurs-blog-index:not(.clubs-blog-index) .filter-section,
  .clubs-blog-index .filter-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .filter-container .filter-section {
    padding: 12px;
    width: 100%;
  }

  .filter-container .filter-group,
  .filter-container .filter-group input,
  .filter-container .filter-group select,
  .filter-container .btn-search {
    min-width: 0;
    width: 100%;
  }

  .filter-container .filter-group input,
  .filter-container .filter-group select {
    padding: 10px 12px;
  }

  .filter-container .btn-search {
    min-height: 44px;
    justify-self: stretch;
  }
}

.events-list {
  display: grid;
  gap: 22px;
  padding-top: 28px;
}

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  justify-self: center;
  width: min(70%, 980px);
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  overflow: hidden;
}

.event-row::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--mirex-red);
}

.event-date {
  min-width: 88px;
  padding: 16px 14px;
  border-radius: 16px;
  background: var(--mirex-blue);
  color: var(--white);
  text-align: center;
}

.event-date-gold {
  background: var(--mirex-blue);
  color: var(--white);
}

.event-date .day {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.event-date .month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.event-content {
  display: grid;
  gap: 10px;
}

.event-title {
  font-size: 1.35rem;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  justify-self: start;
}

.event-invitation-link,
.event-invitation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 9px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--mirex-blue);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.event-invitation-link:hover,
.event-invitation-link:focus-visible,
.event-invitation-btn:hover,
.event-invitation-btn:focus-visible {
  transform: translateY(-1px);
  background: var(--mirex-red);
  box-shadow: 0 10px 22px rgba(206, 17, 38, 0.18);
  color: var(--white);
}

body.event-modal-open {
  overflow: hidden;
}

body.jce-banner-modal-open {
  overflow: hidden;
}

.jce-banner-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  place-items: center;
  padding: 18px;
}

.jce-banner-modal.is-open {
  display: grid;
}

.jce-banner-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 18, 34, 0.72);
  cursor: pointer;
}

.jce-banner-dialog {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 94vw;
  max-height: 90vh;
  overflow: visible;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 18, 43, 0.32);
}

.jce-banner-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--mirex-blue);
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.jce-banner-close:hover,
.jce-banner-close:focus-visible {
  background: var(--mirex-red);
}

.jce-banner-dialog img {
  display: block;
  width: auto;
  max-width: 94vw;
  height: auto;
  max-height: 90vh;
  border-radius: 14px;
  object-fit: contain;
}

.event-invitation-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  place-items: center;
  padding: 18px;
}

.event-invitation-modal.is-open {
  display: grid;
}

.event-invitation-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 34, 0.7);
}

.event-invitation-dialog {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 92vw;
  max-height: 88vh;
  overflow: visible;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 26px 60px rgba(0, 18, 43, 0.28);
}

.event-invitation-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 45, 98, 0.9);
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.event-invitation-dialog img {
  display: block;
  width: auto;
  max-width: 92vw;
  height: auto;
  max-height: 88vh;
  border-radius: 14px;
  object-fit: contain;
}

.directory-grid {
  padding-top: 28px;
}

.biz-card {
  overflow: hidden;
}

.biz-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-light);
}

.biz-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.biz-info {
  padding: 22px 24px 16px;
}

.biz-footer {
  padding: 0 24px 24px;
}

.entrepreneurs-blog-index .directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  padding-top: 24px;
}

.entrepreneurs-blog-index .biz-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(0, 45, 98, 0.1);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 24, 53, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.entrepreneurs-blog-index .biz-card:hover {
  transform: translateY(-3px);
  border-color: rgba(206, 17, 38, 0.22);
  box-shadow: 0 16px 34px rgba(0, 24, 53, 0.12);
}

.entrepreneurs-blog-index .biz-image {
  aspect-ratio: 16 / 9;
  min-height: 128px;
  max-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entrepreneurs-blog-index .biz-image img {
  object-fit: contain;
}

.entrepreneurs-blog-index .biz-badge {
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--mirex-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 24, 53, 0.12);
}

.entrepreneurs-blog-index .biz-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
}

.entrepreneurs-blog-index .biz-category {
  align-self: flex-start;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(206, 17, 38, 0.08);
  color: var(--mirex-red);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.entrepreneurs-blog-index .biz-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clubs-blog-index .biz-category--ohio {
  background: rgba(206, 17, 38, 0.1);
  border-color: rgba(206, 17, 38, 0.18);
  color: var(--mirex-red);
}

.clubs-blog-index .biz-category--illinois {
  background: rgba(0, 45, 98, 0.09);
  border-color: rgba(0, 45, 98, 0.18);
  color: var(--mirex-blue);
}

.clubs-blog-index .biz-category--indiana {
  background: rgba(206, 17, 38, 0.07);
  border-color: rgba(206, 17, 38, 0.15);
  color: #9f0d1d;
}

.clubs-blog-index .biz-category--iowa {
  background: rgba(192, 160, 98, 0.18);
  border-color: rgba(192, 160, 98, 0.28);
  color: #6f5420;
}

.clubs-blog-index .biz-category--kansas {
  background: rgba(0, 45, 98, 0.12);
  border-color: rgba(0, 45, 98, 0.2);
  color: #174679;
}

.clubs-blog-index .biz-category--michigan {
  background: rgba(44, 62, 80, 0.09);
  border-color: rgba(0, 45, 98, 0.16);
  color: #263f66;
}

.clubs-blog-index .biz-category--minnesota {
  background: rgba(192, 160, 98, 0.24);
  border-color: rgba(192, 160, 98, 0.34);
  color: #7a5a1f;
}

.clubs-blog-index .biz-category--missouri {
  background: rgba(0, 45, 98, 0.06);
  border-color: rgba(192, 160, 98, 0.28);
  color: #002d62;
}

.clubs-blog-index .biz-category--nebraska {
  background: rgba(44, 62, 80, 0.08);
  border-color: rgba(44, 62, 80, 0.14);
  color: #40516a;
}

.clubs-blog-index .biz-category--north-dakota {
  background: rgba(192, 160, 98, 0.14);
  border-color: rgba(0, 45, 98, 0.14);
  color: #5f4a2a;
}

.clubs-blog-index .biz-category--south-dakota {
  background: rgba(206, 17, 38, 0.06);
  border-color: rgba(0, 45, 98, 0.18);
  color: #7f0b18;
}

.clubs-blog-index .biz-category--wisconsin {
  background: rgba(0, 45, 98, 0.08);
  border-color: rgba(206, 17, 38, 0.16);
  color: #17375d;
}

.entrepreneurs-blog-index .biz-name {
  margin: 0;
  color: var(--mirex-blue);
  font-size: 1.02rem;
  line-height: 1.25;
}

.entrepreneurs-blog-index .biz-desc {
  margin: 0;
  color: #40516a;
  font-size: 0.88rem;
  line-height: 1.48;
}

.entrepreneurs-blog-index .biz-contact-list {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}

.entrepreneurs-blog-index .biz-contact-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  font-size: 0.82rem;
  line-height: 1.35;
}

.entrepreneurs-blog-index .biz-contact-item>span:first-child {
  color: #66758a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.entrepreneurs-blog-index .biz-contact-item>span.biz-contact-label--instagram {
  color: var(--mirex-red);
}

.entrepreneurs-blog-index .biz-contact-item a {
  color: var(--mirex-blue);
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.entrepreneurs-blog-index .biz-contact-item a:hover {
  color: var(--mirex-red);
}

.entrepreneurs-blog-index .biz-unavailable {
  color: #7c8798;
  font-weight: 650;
}

.entrepreneurs-register-cta {
  padding-top: 28px;
  padding-bottom: 64px;
}

.entrepreneurs-register-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 45, 98, 0.06), rgba(206, 17, 38, 0.06));
  box-shadow: var(--shadow-sm);
}

.entrepreneurs-register-card p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 600;
}

.entrepreneurs-register-card .btn-register {
  flex: 0 0 auto;
  text-align: center;
}

.biz-location {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.biz-header {
  padding-top: 48px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.biz-subtitle {
  margin: 0;
  font-size: 1.1rem;
}

.biz-grid-detail {
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.95fr);
  align-items: start;
}

.biz-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  min-height: 160px;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-img {
  grid-row: span 2;
  min-height: 340px;
}

.section-title-lined {
  padding-bottom: 10px;
  border-bottom: 3px solid var(--mirex-gold);
  display: inline-block;
}

.description-text {
  display: grid;
  gap: 14px;
}

.business-list {
  list-style: none;
}

.contact-card {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.contact-icon,
.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 45, 98, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-text p {
  margin: 4px 0 0;
}

.hours-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-light);
}

.hours-title {
  color: var(--mirex-blue);
}

.hours-highlight {
  color: var(--mirex-red);
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;

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

.social-links img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.social-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.btn-insta {
  background: linear-gradient(135deg, #d946ef, #f97316);
}

.btn-web {
  background: var(--mirex-blue);
}

.links-section {
  padding-top: 32px;
}

.links-grid {
  gap: 24px;
}

.link-card {
  padding: 28px 24px;
  text-align: left;
}

.link-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 45, 98, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.link-btn {
  margin-top: 16px;
  width: 100%;
}

.content-section-legacy-en {
  display: grid;
  gap: 24px;
}

.legacy-note-box {
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid rgba(0, 45, 98, 0.1);
  background: linear-gradient(180deg, rgba(0, 45, 98, 0.05), rgba(0, 45, 98, 0.02));
  box-shadow: var(--shadow-sm);
}

.legacy-note-box h3 {
  margin-bottom: 12px;
  color: var(--mirex-blue);
}

.legacy-summary-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.content-section-legacy-en .table-wrap {
  overflow-x: auto;
}

.content-section-legacy-en table {
  width: 100%;
  border-collapse: collapse;
}

.content-section-legacy-en th,
.content-section-legacy-en td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.content-section-legacy-en thead {
  background: var(--mirex-blue);
  color: var(--white);
}

.content-section-legacy-en tbody tr:nth-child(even) {
  background: rgba(0, 45, 98, 0.03);
}

.content-section-legacy-en .list-header,
.content-section-legacy-en .list-content,
.content-section-legacy-en .contact-table {
  width: 100%;
}

.content-section-legacy-en ul,
.content-section-legacy-en ol {
  padding-left: 20px;
}

.content-section-legacy-en p,
.content-section-legacy-en li {
  color: var(--text-dark);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.legal-page .list-content,
.legal-page .contact-table {
  width: 100%;
}

.legal-page .list-header {
  margin: 0 0 24px;
  color: var(--mirex-blue);
  font-size: 2rem;
}

.legal-page .subtitulo {
  margin-top: 28px;
}

.legal-page p,
.legal-page li {
  color: var(--text-dark);
  line-height: 1.75;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.legal-page a {
  color: var(--mirex-blue);
  word-break: break-word;
}

.location-section {
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: stretch;
  padding-top: 40px;
}

.map-wrapper {
  min-height: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder-contact {
  min-height: 100%;
}

.map-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.small-note {
  font-size: 0.85rem;
}

.directory-section {
  padding-top: 40px;
}

.directory-table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  overflow: hidden;
}

.directory-table thead {
  background: var(--mirex-blue);
  color: var(--white);
}

.directory-table th,
.directory-table td {
  padding: 5px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.directory-table tbody tr:nth-child(even) {
  background: rgba(0, 45, 98, 0.03);
}

.page-intro-contact+.container .directory-section {
  padding-top: 28px;
}

.page-intro-contact+.container .directory-section h3 {
  margin-bottom: 14px;
}

.directory-section h3 {
  text-align: center;
  font-size: 40px;
}


.page-intro-contact+.container .directory-table {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 45, 98, 0.06);
  table-layout: fixed;
}

.page-intro-contact+.container .directory-table th,
.page-intro-contact+.container .directory-table td {
  padding: 10px 14px;
  line-height: 1.35;
  vertical-align: middle;
}

.page-intro-contact+.container .directory-table th {
  font-size: 0.9rem;
}

.page-intro-contact+.container .directory-table .dept-name {
  color: var(--text-dark);
  font-weight: 700;
}

.page-intro-contact+.container .directory-table .dept-email {
  width: 10%;
}

.page-intro-contact+.container .directory-table th:first-child,
.page-intro-contact+.container .directory-table .dept-name {
  width: 35%;
}

.page-intro-contact+.container .directory-table th:nth-child(2),
.page-intro-contact+.container .directory-table .dept-email {
  width: 45%;
}

.page-intro-contact+.container .directory-table .dept-email a {
  color: var(--mirex-blue);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.contact-directory-section {
  padding: 34px 0 78px;
  background:
    linear-gradient(180deg, rgba(0, 45, 98, 0.035), rgba(255, 255, 255, 0) 60%),
    var(--white);
}

.contact-directory-carousel {
  padding-top: 0;
}

.contact-directory-viewport {
  padding: 8px 10px 16px;
  overflow: visible;
}

.contact-directory-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.contact-directory-card {
  --contact-directory-accent: var(--mirex-blue);
  --contact-directory-accent-soft: rgba(0, 45, 98, 0.1);
  --contact-directory-accent-border: rgba(0, 45, 98, 0.24);
  position: relative;
  min-height: 176px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid rgba(0, 45, 98, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 45, 98, 0.09);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-directory-card:nth-child(4n+2),
.contact-directory-card:nth-child(4n+3) {
  --contact-directory-accent: var(--mirex-red);
  --contact-directory-accent-soft: rgba(198, 12, 48, 0.1);
  --contact-directory-accent-border: rgba(198, 12, 48, 0.24);
}

.contact-directory-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--contact-directory-accent);
}

.contact-directory-card:hover,
.contact-directory-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--contact-directory-accent-border);
  box-shadow: 0 18px 38px rgba(0, 45, 98, 0.13);
}

.contact-directory-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.contact-directory-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--contact-directory-accent-soft);
  color: var(--contact-directory-accent);
  font-size: 1.05rem;
  font-weight: 900;
}

.contact-directory-mark img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.contact-directory-card h3 {
  margin: 0;
  color: var(--mirex-blue);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  overflow-wrap: anywhere;
}

.contact-directory-label {
  margin: 4px 0 0;
  color: rgba(0, 45, 98, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-directory-emails {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.contact-directory-email {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 9px 10px 9px 24px;
  border: 1px solid rgba(0, 45, 98, 0.08);
  border-radius: 10px;
  background: rgba(0, 45, 98, 0.045);
  color: var(--mirex-blue);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-directory-email::before {
  content: "";
  position: absolute;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--contact-directory-accent);
}

.contact-directory-email:hover,
.contact-directory-email:focus-visible {
  background: rgba(198, 12, 48, 0.08);
  border-color: rgba(198, 12, 48, 0.24);
  color: var(--mirex-red) !important;
}

.comunidad-shell-v2 {
  padding-top: 56px;
  padding-bottom: 84px;
}

.comunidad-intro-v2 {
  position: relative;
  margin: 0 auto 34px;
  padding: 34px 36px;
  border-radius: 28px;
  background: var(--mirex-blue);
  border: 1px solid rgba(0, 45, 98, 0.12);
  border-top: 6px solid var(--mirex-red);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(0, 31, 77, 0.18);
  overflow: hidden;
}

.comunidad-intro-v2::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.08);
}

.comunidad-kicker-v2 {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comunidad-intro-title-v2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--white);
}

.comunidad-intro-text-v2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 1.03rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.comunidad-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
}

.comunidad-grid .comunidad-card-content-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 34px 30px 30px;
  border: 1px solid rgba(0, 45, 98, 0.09);
  border-radius: 28px;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 18px 40px rgba(0, 45, 98, 0.08);
  overflow: hidden;
}

.comunidad-grid .comunidad-card-content-v2::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
}

.comunidad-card-people-v2::before {
  background: var(--mirex-blue);
}

.comunidad-card-business-v2::before {
  background: var(--mirex-red);
}

.comunidad-grid .comunidad-card-content-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(0, 45, 98, 0.14);
  border-color: rgba(0, 45, 98, 0.14);
}

.comunidad-card-title-v2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--mirex-blue);
}

.comunidad-card-icon-v2 {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 45, 98, 0.16);
}

.comunidad-card-text-v2 {
  margin-bottom: 24px;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.82;
}

.comunidad-btn-v2 {
  align-self: flex-start;
  margin-top: auto;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--mirex-blue);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: 0 14px 28px rgba(0, 45, 98, 0.18);
}

.comunidad-card-business-v2 .comunidad-btn-v2 {
  background: var(--mirex-red);
}

.comunidad-btn-v2:hover,
.comunidad-btn-v2:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 45, 98, 0.2);
}

.dept-name {
  color: var(--mirex-blue);
  font-weight: 700;
}

.dept-email {
  color: var(--text-dark);
}

.social-feedback-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 40px;
}

.contact-social-section {
  align-items: stretch;
  padding-top: 36px;
}

.social-card {
  text-align: center;
}

.contact-social-card,
.contact-review-card {
  min-height: 220px;
  display: grid;
  grid-template-rows: auto 34px minmax(44px, auto) 54px;
  align-content: center;
  justify-items: center;
  row-gap: 10px;
}

.contact-social-section .social-card h3 {
  margin: 0;
}

.contact-social-card p,
.contact-review-card p {
  max-width: 520px;
  line-height: 1.55;
}

.contact-social-card p {
  grid-row: 2 / span 2;
  align-self: center;
}

.contact-social-card .social-icons,
.contact-review-card .btn-review {
  grid-row: 4;
  align-self: start;
}

.contact-review-card .review-stars {
  grid-row: 2;
  align-self: center;
  margin-bottom: 0;
}

.contact-review-card p {
  grid-row: 3;
  align-self: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mirex-blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-link img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.social-link.facebook:hover,
.social-link.facebook:focus-visible {
  background: #1877f2;
  color: var(--white);
  transform: translateY(-2px);
}

.social-link.instagram:hover,
.social-link.instagram:focus-visible {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7);
  color: var(--white);
  transform: translateY(-2px);
}

.review-stars {
  color: var(--mirex-gold);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.internship-page-shell {
  padding: 48px 0 84px;
  background:
    radial-gradient(circle at top, rgba(203, 173, 106, 0.16), transparent 28%),
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 32%, #eef3f8 100%);
}

.internship-page {
  display: grid;
  gap: 28px;
}

.internship-hero-card,
.internship-section-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(18, 59, 111, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.08);
}

.internship-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.78fr);
  gap: 24px;
  padding: 34px;
  overflow: hidden;
}

.internship-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 151, 98, 0.28), transparent 68%);
  pointer-events: none;
}

.internship-hero-copy,
.internship-highlight-card,
.internship-section-card {
  position: relative;
  z-index: 1;
}

.internship-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 45, 98, 0.08);
  color: var(--mirex-blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internship-hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
  color: var(--mirex-blue);
}

.internship-hero-copy p,
.internship-section-card p,
.internship-checklist li,
.internship-contact-note {
  color: #3f5368;
  font-size: 1rem;
  line-height: 1.8;
}

.internship-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.internship-primary-btn,
.internship-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.internship-primary-btn {
  background: linear-gradient(135deg, var(--mirex-red), #c2434e);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(161, 32, 50, 0.22);
}

.internship-secondary-btn {
  background: #f4f7fb;
  color: var(--mirex-blue);
  border: 1px solid rgba(18, 59, 111, 0.12);
}

.internship-primary-btn:hover,
.internship-secondary-btn:hover {
  transform: translateY(-2px);
}

.internship-highlight-card {
  align-self: stretch;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(0, 45, 98, 0.98), rgba(8, 26, 51, 0.95));
  color: var(--white);
}

.internship-highlight-label {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internship-highlight-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.internship-highlight-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.55;
}

.internship-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  grid-template-areas:
    "main side"
    "cta side";
  align-items: start;
  gap: 24px;
}

.internship-main-column,
.internship-side-column {
  display: grid;
  gap: 24px;
}

.internship-main-column {
  grid-area: main;
  align-self: start;
}

.internship-side-column {
  grid-area: side;
  align-self: start;
}

.internship-grid > .internship-cta-card {
  grid-area: cta;
  align-self: start;
}

.internship-section-card {
  padding: 28px;
}

.internship-section-card h2 {
  margin: 0 0 16px;
  color: var(--mirex-blue);
  font-size: 1.45rem;
}

.internship-checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.internship-checklist li {
  position: relative;
  padding-left: 30px;
}

.internship-checklist li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mirex-red), #d95e53);
  box-shadow: 0 0 0 6px rgba(161, 32, 50, 0.12);
}

.internship-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.internship-doc-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
  border: 1px solid rgba(18, 59, 111, 0.08);
}

.internship-doc-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(0, 45, 98, 0.08);
  color: var(--mirex-blue);
  font-weight: 800;
}

.internship-doc-item p {
  margin: 0;
}

.internship-timeline-card {
  background: linear-gradient(180deg, rgba(0, 45, 98, 0.04), rgba(0, 45, 98, 0.01));
}

.internship-timeline-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}

.internship-timeline-item + .internship-timeline-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 59, 111, 0.1);
}

.internship-timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--mirex-blue), #184f8c);
  color: var(--white);
  font-weight: 900;
}

.internship-timeline-item h3 {
  margin: 2px 0 8px;
  color: var(--mirex-blue);
  font-size: 1.02rem;
}

.internship-timeline-item p {
  margin: 0;
}

.internship-schedule-options {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.internship-schedule-option {
  padding: 18px 20px;
  border-radius: 18px;
  background: #f6f8fb;
  border: 1px solid rgba(18, 59, 111, 0.08);
}

.internship-schedule-option span {
  display: block;
  margin-bottom: 6px;
  color: #7b8b9c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internship-schedule-option strong {
  color: var(--mirex-blue);
  font-size: 1.08rem;
}

.internship-cta-card {
  background: linear-gradient(180deg, #fff8ef, #ffffff);
}

.internship-cta-card .internship-primary-btn {
  width: 100%;
  margin-top: 10px;
}

.internship-contact-note {
  margin: 16px 0 0;
}

.internship-contact-note a {
  color: var(--mirex-red);
  font-weight: 800;
}

@media (max-width: 992px) {

  .search-box,
  .filter-section,
  .featured-card,
  .service-layout,
  .internship-hero-card,
  .internship-grid,
  .main-content,
  .biz-grid-detail,
  .article-container,
  .location-section,
  .social-feedback-section {
    grid-template-columns: 1fr;
  }

  .search-box {
    padding: 16px;
  }

  .event-row {
    grid-template-columns: 1fr;
    text-align: left;
    width: 100%;
  }

  .event-date {
    width: fit-content;
  }

  .biz-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .quick-links-nav {
    display: none;
  }

  .consulado-page-noticias .featured-news .featured-card {
    grid-template-columns: 1fr;
  }

  .consulado-page-noticias .featured-news .featured-img {
    aspect-ratio: 16 / 9;
  }

  .main-img {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .mvv-slider-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mvv-arrow {
    display: none;
  }

  .mvv-card {
    min-height: auto;
    grid-template-columns: 110px minmax(0, 1fr);
    padding: 36px 34px;
  }

  .mvv-card--valores {
    grid-template-columns: 110px repeat(3, minmax(104px, 1fr));
  }

  .mvv-card-icon {
    width: 104px;
    height: 104px;
    border-radius: 24px;
  }

  .mvv-card-icon img {
    width: 68px;
    height: 68px;
  }

  .interest-link-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .internship-doc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .services-hero,
  .page-intro-events,
  .page-intro-directory,
  .page-intro-links,
  .page-intro-contact,
  .event-hero,
  .service-header,
  .featured-news,
  .article-container,
  .biz-header {
    padding-top: 44px;
  }

  .service-header.container {
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-header.container h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .service-header.container h1::after {
    left: 50%;
    width: min(220px, 70%);
    transform: translateX(-50%);
  }

  .comunidad-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 18px;
  }

  .comunidad-grid .comunidad-card-content-v2 {
    width: min(100%, 360px);
  }

  .search-container,
  .filter-container {
    margin-top: -18px;
  }

  .filter-container.container {
    width: calc(100% - 32px);
    max-width: 560px;
    padding-left: 0;
    padding-right: 0;
  }

  .filter-container .filter-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    width: 100%;
  }

  .filter-container .filter-group,
  .filter-container .filter-group input,
  .filter-container .filter-group select,
  .filter-container .btn-search {
    min-width: 0;
    width: 100%;
  }

  .filter-container .filter-group input,
  .filter-container .filter-group select {
    padding: 12px 14px;
  }

  .filter-container .btn-search {
    min-height: 48px;
    justify-self: stretch;
  }

  .service-card,
  .news-card-body,
  .featured-content,
  .internship-hero-card,
  .internship-section-card,
  .article-content,
  .contact-card,
  .social-card,
  .registration-card,
  .content-section,
  .sidebar-section,
  .service-main {
    padding: 22px;
  }

  .consulado-page-type-blog_post .cms-blog-detail,
  .consulado-page-type-blog_post .service-header.container,
  .consulado-page-type-blog_post .service-layout.container {
    width: calc(100% - 32px);
    max-width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .consulado-page-type-blog_post .service-layout,
  .consulado-page-type-blog_post .service-main,
  .consulado-page-type-blog_post .service-sidebar,
  .consulado-page-type-blog_post .service-sidebar .info-card,
  .consulado-page-type-blog_post .article-content,
  .consulado-page-type-blog_post .req-list,
  .consulado-page-type-blog_post .req-item,
  .consulado-page-type-blog_post .req-text,
  .consulado-page-type-blog_post .service-dropdown,
  .consulado-page-type-blog_post .passport-price-calculator,
  .consulado-page-type-blog_post .price-row,
  .consulado-page-type-blog_post .total-box {
    max-width: 100%;
    min-width: 0;
  }

  .consulado-page-type-blog_post .service-main,
  .consulado-page-type-blog_post .service-sidebar .info-card,
  .consulado-page-type-blog_post .article-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .consulado-page-type-blog_post .service-main *,
  .consulado-page-type-blog_post .service-sidebar *,
  .consulado-page-type-blog_post .article-content * {
    overflow-wrap: anywhere;
  }

  .consulado-page-type-blog_post .req-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .consulado-page-type-blog_post .req-number {
    width: 32px;
    height: 32px;
  }

  .consulado-page-type-blog_post .service-dropdown > summary {
    gap: 10px;
    padding: 16px;
    font-size: 1.08rem;
  }

  .consulado-page-type-blog_post .service-dropdown .req-list {
    padding: 14px;
  }

  .consulado-page-type-blog_post .price-row,
  .consulado-page-type-blog_post .service-sidebar .price-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }

  .consulado-page-type-blog_post .price-value,
  .consulado-page-type-blog_post .service-sidebar .price-value {
    text-align: left;
  }

  .consulado-page-type-blog_post table,
  .consulado-page-type-blog_post pre,
  .consulado-page-type-blog_post code {
    max-width: 100%;
    white-space: pre-wrap;
  }

  .consulado-page-noticias .featured-news {
    width: 100%;
    padding: 28px 16px 16px;
  }

  .consulado-page-noticias .featured-news .featured-card {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
    overflow: hidden;
  }

  .consulado-page-noticias .featured-news .featured-img {
    aspect-ratio: 4 / 3;
    width: 100%;
    min-height: 0;
  }

  .consulado-page-noticias .featured-content {
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 18px;
  }

  .consulado-page-noticias .featured-content h2 {
    font-size: 1.35rem;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .consulado-page-noticias .featured-content p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .consulado-page-noticias .featured-content .news-date {
    align-self: flex-start;
    margin-bottom: 2px;
  }

  .consulado-page-noticias .featured-content .btn-read {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    padding: 13px 16px;
  }

  .interest-links-blog-index .filter-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .interest-links-blog-index .btn-search {
    width: 100%;
  }

  .consulado-page-servicios-virtuales .interest-links-list,
  .consulado-page-servicios-virtuales-en .interest-links-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entrepreneurs-register-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .entrepreneurs-register-card .btn-register {
    width: 100%;
  }

  .interest-link-card {
    padding: 16px 16px 16px 20px;
    border-radius: 14px;
  }

  .interest-link-card::before {
    border-radius: 0;
  }

  .interest-link-title {
    font-size: 1.08rem;
  }

  .interest-link-block {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .interest-links-blog-index .interest-links-directory {
    padding-top: 16px;
  }

  .interest-links-blog-index .interest-links-list {
    grid-template-columns: minmax(0, min(100%, 320px));
    justify-content: center;
    gap: 14px;
  }

  .interest-links-blog-index .interest-link-card {
    min-height: 0;
    max-width: 320px;
    padding: 14px;
    gap: 8px;
  }

  .interest-links-blog-index .interest-link-logo-box {
    flex-basis: 50px;
    height: 50px;
    margin-top: 2px;
  }

  .interest-links-blog-index .interest-link-title {
    font-size: 0.98rem;
    line-height: 1.24;
  }

  .interest-links-blog-index .interest-link-summary {
    margin-top: 5px;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .interest-links-blog-index .interest-link-meta {
    gap: 7px;
    padding-top: 8px;
  }

  .interest-links-blog-index .interest-link-block {
    gap: 4px;
  }

  .interest-links-blog-index .interest-link-content {
    font-size: 0.78rem;
    line-height: 1.34;
  }

  .internship-page-shell {
    padding: 32px 0 64px;
  }

  .internship-grid {
    grid-template-areas:
      "main"
      "side"
      "cta";
  }

  .internship-hero-copy h1 {
    font-size: 2rem;
  }

  .internship-hero-actions {
    flex-direction: column;
  }

  .internship-primary-btn,
  .internship-secondary-btn {
    width: 100%;
  }

  .internship-doc-item,
  .internship-timeline-item {
    grid-template-columns: 1fr;
  }

  .internship-doc-item span,
  .internship-timeline-step {
    width: 44px;
    height: 44px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .biz-gallery {
    grid-template-columns: 1fr;
  }

  .related-card {
    grid-template-columns: 1fr;
  }

  .directory-table,
  .directory-table thead,
  .directory-table tbody,
  .directory-table tr,
  .directory-table th,
  .directory-table td {
    display: block;
    width: 100%;
  }

  .directory-table thead {
    display: none;
  }

  .directory-table tr {
    padding: 14px 0;
  }

  .directory-table td {
    padding: 10px 16px 10px 132px;
    position: relative;
    border-bottom: 0;
  }

  .directory-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    top: 10px;
    font-weight: 700;
    color: var(--mirex-blue);
  }

  .page-intro-contact+.container .directory-section {
    padding-top: 26px;
  }

  .page-intro-contact+.container .directory-table {
    border-radius: 12px;
  }

  .page-intro-contact+.container .directory-table tr {
    padding: 8px 0;
  }

  .page-intro-contact+.container .directory-table td {
    padding: 7px 14px 7px 112px;
    line-height: 1.32;
  }

  .page-intro-contact+.container .directory-table td::before {
    left: 14px;
    top: 7px;
    font-size: 0.8rem;
  }

  .mvv-slider-shell {
    margin-top: 28px;
  }

  .mvv-card {
    grid-template-columns: 1fr;
    border-left-width: 5px;
    border-radius: 18px;
    padding: 28px 22px;
  }

  .mvv-card-icon,
  .mvv-card h3,
  .mvv-kicker,
  .mvv-card p,
  .mvv-card li,
  .mvv-card--valores h3,
  .mvv-card--valores .mvv-kicker,
  .mvv-card--valores p {
    grid-column: 1;
  }

  .mvv-card-icon,
  .mvv-card--valores .mvv-card-icon {
    grid-row: auto;
  }

  .mvv-card h3 {
    font-size: 1.7rem;
  }

  .mvv-card p,
  .mvv-card li {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .mvv-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin-bottom: 4px;
  }

  .mvv-card-icon img {
    width: 46px;
    height: 46px;
  }

  .mvv-card--valores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 12px;
  }

  .mvv-card--valores .mvv-card-icon,
  .mvv-card--valores h3,
  .mvv-card--valores .mvv-kicker {
    grid-column: 1 / -1;
  }

  .mvv-card--valores p {
    grid-column: auto;
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.96rem;
  }
}

@media (max-width: 640px) {
  .consulado-page-home .quick-links-track {
    grid-template-columns: 1fr;
  }

  .interest-links-list {
    grid-template-columns: 1fr;
  }

  .consulado-page-servicios-virtuales .interest-links-list,
  .consulado-page-servicios-virtuales-en .interest-links-list {
    grid-template-columns: 1fr;
  }

  .home-news-section {
    padding: 52px 0;
  }

  .home-news-carousel-shell {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .home-news-more-link {
    position: static;
    justify-self: end;
    min-height: 0;
  }

  .interest-link-block {
    gap: 6px;
  }

  .interest-link-label {
    align-self: center;
  }
}

@media (max-width: 760px) {
  .contact-directory-section {
    padding: 24px 0 58px;
  }

  .contact-directory-viewport {
    padding-inline: 2px;
  }

  .contact-directory-track {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-directory-card {
    min-height: 160px;
    padding: 22px 20px;
  }
}
