/* Ferias wow — map hero + intl/nac gallery */

.a10-ferias-hero {
  position: relative;
  padding: 4rem 0 2.5rem;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% 10%, rgba(196, 165, 116, 0.16), transparent 65%),
    linear-gradient(180deg, #17171a 0%, #131314 100%);
}
.a10-ferias-map {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.a10-ferias-map__frame {
  position: relative;
  width: min(1120px, 94vw);
  aspect-ratio: 2 / 1;
  max-height: 80%;
  opacity: 0.95;
}
.a10-ferias-map__bg,
.a10-ferias-map__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.a10-ferias-map__bg {
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
  filter: saturate(0.85) brightness(1.05);
}
.a10-ferias-map__frame::after {
  content: '';
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(ellipse at center, rgba(19, 19, 20, 0.55) 0%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.a10-ferias-map__overlay { z-index: 2; }
.a10-ferias-map__line {
  stroke-dasharray: 28 18;
  animation: a10LineFlow 8s linear infinite;
}
.a10-ferias-map__pulse {
  fill: rgba(196, 165, 116, 0.3);
  transform-box: fill-box;
  transform-origin: center;
  animation: a10Pulse 2.8s ease-out infinite;
  animation-delay: var(--d, 0s);
}
.a10-ferias-hero__content {
  position: relative;
  z-index: 2;
}
.a10-ferias-hero__eyebrow {
  color: #c4a574;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}
.a10-ferias-hero__title {
  font-size: clamp(1.85rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 auto 0.85rem;
  max-width: 18ch;
  line-height: 1.12;
  color: #fff;
}
.a10-ferias-hero__lead {
  max-width: 34rem;
  margin: 0 auto 1.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  line-height: 1.5;
}
.a10-ferias-hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}
.a10-ferias-hero__stats span {
  color: #c4a574;
  font-weight: 600;
  font-size: 1.35rem;
  margin-right: 0.25rem;
}

.a10-ferias-tabs {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.a10-ferias-tabs__btn {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}
.a10-ferias-tabs__btn.is-active,
.a10-ferias-tabs__btn:hover {
  background: rgba(196, 165, 116, 0.22);
  color: #fff !important;
}

.a10-ferias-page { padding-top: 2.25rem; }
.a10-ferias-block { margin-bottom: 3rem; scroll-margin-top: 90px; }
.a10-ferias-block__head {
  text-align: left;
  margin-bottom: 1.5rem;
}
.a10-ferias-block__head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  color: #fff;
}
.a10-ferias-block__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.a10-ferias-year { margin-bottom: 2rem; }
.a10-ferias-year__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.a10-ferias-year__label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #c4a574;
  white-space: nowrap;
}
.a10-ferias-year__rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.a10-ferias-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
@media (min-width: 768px) {
  .a10-ferias-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (min-width: 1100px) {
  .a10-ferias-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.a10-feria-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.a10-feria-tile:hover,
.a10-feria-tile:focus {
  transform: translateY(-6px);
  border-color: rgba(196, 165, 116, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  color: #fff;
}
.a10-feria-tile__logo {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f7f4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 1.2rem;
}
.a10-feria-tile__logo > img:not(.a10-feria-tile__flag) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.a10-feria-tile__flag {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 36px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.a10-feria-tile__chip {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(19, 19, 20, 0.82);
  color: #c4a574;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}
.a10-feria-tile__meta {
  padding: 0.85rem 0.95rem 1rem;
  text-align: left;
}
.a10-feria-tile__name {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.a10-feria-tile__place {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Detail */
.a10-feria-detail {
  padding-bottom: 3.5rem;
}
.a10-feria-detail__hero {
  position: relative;
  padding: 1.75rem 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(196, 165, 116, 0.14), transparent 60%),
    linear-gradient(180deg, #17171a 0%, #131314 100%);
}
.a10-feria-detail__wrap {
  max-width: 1080px;
}
.a10-feria-crumbs {
  text-align: left;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}
.a10-feria-crumbs a { color: #c4a574; text-decoration: none; }
.a10-feria-crumbs a:hover { color: #e0c895; }
.a10-feria-crumbs span { margin: 0 0.35rem; color: rgba(255, 255, 255, 0.35); }
.a10-feria-detail__grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.2fr;
  gap: 2rem 2.5rem;
  align-items: start;
}
.a10-feria-detail__logo {
  position: relative;
  background: #f7f4ef;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.a10-feria-detail__logo > img:not(.a10-feria-detail__flag) {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.a10-feria-detail__flag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 48px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.a10-feria-detail__chip {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #131314;
  color: #c4a574;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.a10-feria-detail__badge {
  color: #c4a574;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.a10-feria-detail__title {
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  margin: 0 0 0.55rem;
  line-height: 1.18;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.a10-feria-detail__kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  margin: 0 0 1.15rem;
  line-height: 1.45;
}
.a10-feria-detail__kicker strong { color: #e8d3ad; font-weight: 600; }
.a10-feria-detail__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  margin: 0 0 1.15rem;
}
.a10-feria-detail__facts li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  text-align: left;
}
.a10-feria-detail__facts span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}
.a10-feria-detail__facts strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.a10-feria-detail__meta {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.a10-feria-detail__meta .fa { color: #c4a574; margin-right: 0.35rem; }
.a10-feria-detail__body {
  margin-top: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-size: 1.02rem;
}
.a10-feria-links { margin-top: 1.75rem; }
.a10-feria-links__title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a574;
  font-weight: 600;
}
.a10-feria-links__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.a10-feria-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 165, 116, 0.45);
  color: #f3e6cf !important;
  background: rgba(196, 165, 116, 0.08);
  text-decoration: none !important;
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.a10-feria-link:hover {
  background: rgba(196, 165, 116, 0.22);
  border-color: #c4a574;
  color: #fff !important;
}
.a10-feria-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 1.75rem;
}
.a10-feria-back {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
}
.a10-feria-back:hover { color: #c4a574 !important; }
.a10-feria-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: #c4a574;
  color: #131314 !important;
  font-weight: 600;
  text-decoration: none !important;
  font-size: 0.92rem;
}
.a10-feria-cta:hover { background: #d4b888; color: #131314 !important; }

.a10-feria-related {
  max-width: 1080px;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.a10-feria-related__head {
  text-align: left;
  margin-bottom: 1.25rem;
}
.a10-feria-related__head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  color: #fff;
}
.a10-feria-related__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}
.a10-ferias-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (max-width: 991.98px) {
  .a10-feria-detail__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .a10-feria-detail__logo { min-height: 200px; }
}

@keyframes a10Pulse {
  0% { opacity: 0.7; transform: scale(1); }
  70% { opacity: 0; transform: scale(2.4); }
  100% { opacity: 0; transform: scale(2.4); }
}
@keyframes a10LineFlow {
  to { stroke-dashoffset: -28; }
}

@media (max-width: 767.98px) {
  .a10-ferias-hero { padding: 2.6rem 0 1.8rem; }
  .a10-ferias-map__frame {
    width: 140vw;
    max-height: none;
    opacity: 0.7;
  }
  .a10-ferias-hero__title { max-width: none; }
  .a10-feria-tile__flag { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .a10-ferias-map__line,
  .a10-ferias-map__pulse { animation: none; }
  .a10-feria-tile:hover { transform: none; }
}
