@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&family=Montserrat:wght@100..900&family=Raleway&family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #e3e4e5;
}

/* Header */

/* Menú Barra */

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.main {
  position: relative;
  top: 0px;
  background-color: #0044A1;
  width: 100%;
  z-index: 1000;
}

.container {
  max-width: 80rem;
  padding: 15px 2rem;
  height: 6rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}

.logo-container{
  /* flex: 1; */
  display: flex;
  align-items: center;
  width: 100px;
  height: auto;
}

.logo-container img {
  width: 100%;
  object-position: center;
}

.social-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.social-2 li{
  list-style: none;
  display: inline-block;
  margin: 0 0.35rem;
}

.social-2 li a {
  font-size: 15px;
  height: 30px;
  width: 30px;
  color: #fff;
  border: 1px solid #fff;
  display: inline-block;
  border-radius: 50%;
  padding: 0.4rem 0;
  text-align: center;
}

.social-2 li a:hover {
  color: #0044A1;
  border: 1px solid #fff;
  background-color: #fff;
}

.nav-btn {
  flex: 3;
  display: flex;
}

.nav-links {
  flex: 2;
}

.nav-links > ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-link {
  position: relative;
}

.nav-link > a {
  line-height: 3rem;
  color: #fff;
  padding: 0 1.2rem;
  /* letter-spacing: 1px; */
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  transition: 0.5s;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-link > a > i {
  margin-left: 0.2rem;
}

.nav-link:hover > a {
  transform: scale(1.2);
  background: #afafaf1f;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 10rem;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}

.dropdown ul {
  position: relative;
}

.dropdown-link > a {
  display: flex;
  background-color: #317ae0;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: .95rem;
  align-items: center;
  transition: 0.3s;
  text-transform: uppercase;
}

.dropdown-link:hover > a {
  background-color: #022352;
  color: #fff;
}

.dropdown-link:not(:nth-last-child(2)) {
  border-bottom: 1px solid #fff;
}

.dropdown-link i {
  transform: rotate(-90deg);
}

.arrow {
  position: absolute;
  width: 11px;
  height: 11px;
  top: -5.5px;
  left: 32px;
  background-color: #5a7ddf;
  transform: rotate(45deg);
  cursor: pointer;
  transition: 0.3s;
  z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
  background-color: #022352;
}

.dropdown-link {
  position: relative;
}

.dropdown .second {
  top: 0;
  left: 100%;
  padding-left: 0.8rem;
  cursor: pointer;
  transform: translateX(10px);
}

.dropdown.second .arrow {
  top: 10px;
  left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

.hamburger-menu-container {
  /* flex: 1; */
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.hamburger-menu {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-menu div {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: #fff;
  border-radius: 3px;
  transition: 0.5s;
}

.hamburger-menu div:before {
  transform: translateY(-7px);
}

.hamburger-menu div:after {
  transform: translateY(7px);
}

#check {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
  background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
  transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
  transform: translateY(0) rotate(45deg);
}

@keyframes animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@media (max-width: 920px) {
  .main {
    position: relative;
  }
  
  .hamburger-menu-container {
    display: flex;
  }

  #check {
    display: block;
  }

  .nav-btn {
    position: fixed;
    height: calc(100vh - 3rem);
    top: 6rem;
    left: 0;
    width: 100%;
    background-color: #0044A1;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.65s;
  }

  #check:checked ~ .nav-btn .nav-link,
  #check:checked ~ .nav-btn {
    animation: animation 0.5s ease forwards;
  }

  #check:checked ~ .nav-btn {
    transform: translateX(0);
  }

  .nav-links {
    flex: initial;
    width: 100%;
  }

  .nav-links > ul {
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }

  .nav-link > a {
    line-height: 1;
    padding: 1.6rem 2rem;
  }

  .nav-link:hover > a {
    transform: scale(1);
    background-color: #317ae0;
  }

  .dropdown,
  .dropdown.second {
    position: initial;
    top: initial;
    left: initial;
    transform: initial;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    background-color: #022352;
    display: none;
  }

  .nav-link:hover > .dropdown,
  .dropdown-link:hover > .dropdown {
    display: block;
  }

  .nav-link:hover > a > i,
  .dropdown-link:hover > a > i {
    transform: rotate(360deg);
  }

  .dropdown-link > a {
    background-color: transparent;
    color: #fff;
    padding: 1.2rem 2rem;
    line-height: 1;
  }

  .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 3rem;
  }

  .dropdown.second .dropdown.second .dropdown-link > a {
    padding: 1.2rem 2rem 1.2rem 4rem;
  }

  .dropdown-link:not(:nth-last-child(2)) {
    border-bottom: none;
  }

  .arrow {
    z-index: 1;
    background-color: #0044A1;
    left: 10%;
    transform: scale(1.1) rotate(45deg);
    transition: 0.5s;
  }

  .nav-link:hover .arrow {
    background-color: #317ae0;
  }

  .dropdown .dropdown .arrow {
    display: none;
  }

  .dropdown-link:hover > a {
    background-color: #0044A1;
  }

  .dropdown-link:first-child:hover ~ .arrow {
    background-color: #317ae0;
  }

  .nav-link > a > i {
    font-size: 1.1rem;
    transform: rotate(-90deg);
    transition: 0.7s;
  }

  .dropdown i {
    font-size: 1rem;
    transition: 0.7s;
  }
}

/* end Menú Barra */

.cal-page-wrap {
  width: 95%;
  max-width: 1200px;
  padding: 2rem;
  margin: 3rem auto;
  background-color: #fff;
}
 
/* ─── ENCABEZADO ──────────────────────────────────────────── */
 
.cal-encabezado {
  background: #0D1B3E;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 24px;
}
 
.cal-encabezado-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
 
.cal-encabezado-titulo {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}
 
.cal-encabezado-titulo i {
  font-size: 2rem;
  color: var(--color-dorado);
}
 
.cal-encabezado-titulo h1 {
  font-size: 1.5rem;
  font-family: var(--fuente-titulo);
  font-weight: bold;
  margin-bottom: 10px;
}
 
.cal-encabezado-titulo p {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
 
.cal-leyenda-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
 
.cal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 15px;
  border-radius: 20px;
}
 
.cal-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.cal-badge.locales   { background: #79c3f7; color: #222; }
.cal-badge.locales .dot { background: #2387cf; }
.cal-badge.conmemorativos { background: #fce37d; color: #222; }
.cal-badge.conmemorativos .dot { background: #cfaf2d; }
.cal-badge.mundiales { background: #86efac; color: #222; }
.cal-badge.mundiales .dot { background: #1fcc6a; }
 
.cal-instruccion {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
 
.cal-instruccion i { font-size: 1rem; }

.cal-grid-meses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 50px;
}
 
.mes-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
 
.mes-card:not(.sin-fechas):hover {
  border-color: var(--color-primario);
  transform: translateY(-2px);
}
 
.mes-card.sin-fechas {
  cursor: default;
  opacity: 0.6;
}
 
.mes-card-header {
  background: #0D1B3E;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.mes-card-nombre {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--fuente-titulo);
  text-transform: uppercase;
}
 
.mes-card-count {
  background: rgba(201,168,76,0.25);
  color: #C9A84C;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
}
 
.mes-card-fechas {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
 
.mes-fecha-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
 
.mes-fecha-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-bottom: 1px;
}
 
.mes-fecha-dot.conmemorativos { background: #cfaf2d; }
.mes-fecha-dot.mundiales      { background: #1fcc6a; }
.mes-fecha-dot.locales        { background: #2387cf; }
 
.mes-fecha-dia {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primario-oscuro);
  min-width: 16px;
  flex-shrink: 0;
}
 
.mes-fecha-nombre {
  font-size: 10px;
  color: #555;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
 
.mes-sin-fechas {
  font-size: 15px;
  color: #999;
  font-style: italic;
  padding: 5px 0;
}
 
.mes-card-footer {
  padding: 7px 14px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  color: var(--color-primario);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-family: var(--fuente-nav);
}
 
.mes-card-footer i { font-size: 14px; }
 
/* ─── LISTADOS DETALLADOS ─────────────────────────────────── */
 
.cal-listados {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
 
.listado-mes {
  scroll-margin-top: 100px;
  transition: outline 0.1s;
}
 
.listado-mes.destacado {
  outline: 2px solid var(--color-primario);
  outline-offset: 10px;
  border-radius: 10px;
}
 
.listado-mes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #0D1B3E;
}
 
.listado-mes-titulo {
  display: flex;
  align-items: center;
  gap: 15px;
}
 
.listado-mes-num {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--fuente-titulo);
  color: #e0e0e0;
  line-height: 1;
}
 
.listado-mes-titulo h2 {
  font-size: 1.5rem;
  font-family: var(--fuente-titulo);
  font-weight: 700;
  color: #0D1B3E;
  text-transform: uppercase;
}
 
.listado-mes-total {
  font-size: .75rem;
  color: #666;
  font-family: var(--fuente-nav);
  background: #f5f5f5;
  padding: 5px 15px;
  border-radius: 20px;
}
 
.listado-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e8e8e8;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
}
 
.listado-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}
 
.listado-item:last-child { border-bottom: none; }
.listado-item:hover { background: #fafafa; }
 
.listado-burbuja {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.listado-burbuja.conmemorativos { background: #fce37d; }
.listado-burbuja.mundiales      { background: #86efac; }
.listado-burbuja.locales        { background: #79c3f7; }
 
.burbuja-dia {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: var(--fuente-titulo);
  line-height: 1;
}
 
.listado-burbuja.conmemorativos .burbuja-dia { color: #cfaf2d; }
.listado-burbuja.mundiales      .burbuja-dia { color: #1fcc6a; }
.listado-burbuja.locales        .burbuja-dia { color: #2387cf; }
 
.burbuja-tipo {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 5px;
}
 
.listado-burbuja.conmemorativos .burbuja-tipo { color: #222; }
.listado-burbuja.mundiales      .burbuja-tipo { color: #222; }
.listado-burbuja.locales        .burbuja-tipo { color: #222; }
 

.listado-contenido {
  flex: 1;
  min-width: 0;
}
 
.listado-nombre {
  font-size: 1rem;
  font-weight: bold;
  font-family: var(--fuente-titulo);
  color: #111;
  margin-bottom: 5px;
  line-height: 1.25;
}
 
.listado-desc {
  font-size: .85rem;
  color: #555;
  line-height: 1.35;
}
 
.listado-desc.placeholder { min-height: 0; }

.listado-icono {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
 
.listado-icono.conmemorativos { background: #fce37d; color: #cfaf2d; }
.listado-icono.mundiales      { background: #86efac; color: #1fcc6a; }
.listado-icono.locales        { background: #79c3f7; color: #2387cf; }
 
/* ─── BOTÓN VOLVER ────────────────────────────────────────── */
 
.cal-volver-wrap {
  text-align: center;
  margin-top: 40px;
}
 
.cal-volver-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primario);
  
  border: 1.5px solid var(--color-primario);
  padding: 10px 25px;
  border-radius: 10px;
  font-family: var(--fuente-nav);
  transition: all 0.2s;
}
 
.cal-volver-btn:hover {
  background: var(--color-primario);
  color: #fff;
}
 
.contenedor {
  width: 95%;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
}
 
.title_bx {
  font-size: xx-large;
  font-family: "Roboto Slab", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
 
/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */
 
.timeline {
  position: relative;
  white-space: nowrap;
  /* max-width: 1400px; */
  padding: 0 10px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px auto;
  grid-gap: 20px;
}
 
.timeline .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 40px;
  color: #fff;
  background: #0043a1a8;
  white-space: normal;
}
 
.timeline .info h2 {
  font-family: "Roboto Slab", sans-serif;
  font-size: x-large;
  text-transform: uppercase;
  text-align: center;
}
 
.timeline .info img {
  margin-bottom: 20px;
}
 
.timeline .info span {
  color: #eeeeee;
  font-size: smaller;
  margin-top: 10px;
  text-transform: uppercase;
  text-align: center;
}
 
.timeline ol::-webkit-scrollbar {
  height: 12px;
}
 
.timeline ol::-webkit-scrollbar-thumb,
.timeline ol::-webkit-scrollbar-track {
  border-radius: 92px;
}
 
.timeline ol::-webkit-scrollbar-thumb {
  background: #01565b;
}
 
.timeline ol::-webkit-scrollbar-track {
  background: #e5f33d;
}
 
.timeline ol {
  font-size: 0;
  background-color: #0043a1a8;
  padding: 250px 0;
  transition: all 1s;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scrollbar-color: #eeeeee #0043a1a8;
}
 
.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 5px;
  background-color: #050505;
  scroll-snap-align: start;
}
 
.timeline ol li:last-child {
  width: 340px;
}
 
.timeline ol li:not(:first-child) {
  margin-left: 14px;
}
 
.timeline ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #050505;
  z-index: 1;
}
 
.timeline ol li div {
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  padding: 15px;
  font-size: 1rem;
  white-space: normal;
  color: #050505;
  background: #fff;
  border-radius: 0 10px 10px 10px;
}
 
.timeline ol li div::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}
 
.timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
  border-radius: 10px 10px 10px 0;
}
 
.timeline ol li:nth-child(odd) div::before {
  top: 100%;
  border-width: 8px 8px 0 0;
  border-color: #fff transparent transparent transparent;
}
 
.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
}
 
.timeline ol li:nth-child(even) div::before {
  top: -8px;
  border-width: 8px 0 0 8px;
  border-color: transparent transparent transparent #fff;
}
 
.timeline time {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #0044A1;
}
 
/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 800px) {
  .timeline {
    display: block;
  }
 
  .timeline::before,
  .timeline::after {
    width: 50px;
  }
 
  .timeline::before {
    left: 0;
  }
 
  .timeline .info {
    display: none;
  }
}

/* Footer */

.pie-pagina{
  width: 100%;
  background-color: #022352;
}

.pie-pagina .grupo-1{
  width: 100%;
  display: grid;
  place-items: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pie-pagina .grupo-1 .box figure img{
  width: 200px;
}

.pie-pagina .grupo-1 .box span{
  color: #fff;
  display: block;
  margin-bottom: 1rem;
  font-size: 20px;
  font-family: "Raleway", sans-serif;
}

.pie-pagina .grupo-1 .box p{
  color: #fff;
  margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social a{
  display: inline-block;
  text-decoration: none;
  padding: 1rem;
  color: #fff;
  margin-right: 1rem;
  background: rgba(253, 251, 251, 0.05);
  text-align: center;
  border-radius: 5px;
  transition: 0.3s ease;
  /* font-size: 20px; */
}

.pie-pagina .grupo-1 .red-social a:hover{
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-10px);
}

.pie-pagina .grupo-2{
  background-color: #050505;
  padding: 8px 10px;
  text-align: center;
  color: #fff;
}

.pie-pagina .grupo-2 small{
  font-size: 15px;
}

@media screen and (max-width:800px){
  .pie-pagina .grupo-1{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

/* end Footer */

/* Arrow Up */

#button-up {
  width: 35px;
  height: 35px;
  background: #0B6E35;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 35px;
  position: fixed;
  bottom: 50px;
  right: 25px;
  cursor: pointer;
  border: 4px solid transparent;
  transition: all 300ms ease;
  transform: scale(0);
  z-index: 66775599;
}

#button-up:hover {
  transform: scale(1.1);
  border-color: #0b6e3470;
}

/* end Button */