@import url("https://use.typekit.net/gzw4kvg.css");

html, * {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent; 
}

::-webkit-scrollbar {
  width: 6px; 
  height: 6px; 
}

::-webkit-scrollbar-track {
  background: transparent; 
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3); 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5); 
}


.disruptors {
  font-family: "tt-disruptors", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

#menu_logo .mexicogp_white_logo {
  display: none;
}
#menu_logo .mexicogp_black_logo {
  display: block;
}

.grid_head {
  align-items: center;
  flex-direction: column;
  padding: 0px 7% 50px;
}
@media(max-width:768px) {
  .grid_head {
    padding: 0px 5% 30px;
  }
}

#map_container{
	position: relative;
	width: 70vw;
	margin-left: auto;
	max-width: 100%;
	height: 60vh;
	z-index: 2;	
}

#map{
  height: 60vh;
  width: 100%;
  box-shadow: 0 0 80px rgba(0,0,0,0.1);
  border-radius: 10px;
  background-color: #faf9f8;
}

#mc-zoom-controls {
    position: absolute !important;
    display: flex;
    right: 5%;
    bottom: 5%;
    width: 10rem;
    z-index: 12;
    display: flex;
    gap:10px;
}

#mc-zoom-controls .option{
	background-color: #000;
	border-radius: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	width: 55px;
	aspect-ratio:1;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	cursor: pointer;
}
#mc-zoom-controls .option img{
	width: 100%;
	height: auto;
	filter: invert(1);
}


#map_info{
	/*position: absolute;
	left: 20px;
	top: 100px;*/
	width: 33%;
	max-width: 568px;
    min-width: 400px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap:2vh;
	padding: min(2vw, 35px);
  /* border-radius: min(1vw, 50px); */
	overflow: hidden;
	color: #000;
	z-index: 3;
  max-height: 65dvh;
}

#map_info .title {
	position: relative;
	z-index: 1;
	font-size: 3.5rem;
	line-height: 120%;
}

#map_info .content {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 120%;
}

.mapa_2026_container {
  display: flex;
  padding-top: 0;
}

.openseadragon-canvas{
  outline: none !important;
}

@media(max-width:1300px){
  #map_info .title {
    font-size: 3rem;
  }

}

@media(max-width:768px) {
  .mapa_2026_container {
    flex-direction: column-reverse;
    margin-top: 0rem;
  }
  #map_container {
    overflow: hidden;
    max-height: 40dvh;
    height: 40dvh;
    width: 100vw;
  }
  #map_info {
    padding-top: 1.5rem;
    max-height: 65dvh;
    height: 65dvh;
    width: 100%;
    max-width: initial;
    min-width: initial;
    gap:10px;
    border-top: 1px solid #ddd;
  }

  #map_info .title {
    font-size: 1.8rem;
    line-height: 1;
  }
  #map_info .content {
    font-size: 0.8rem;
  }
  #map_info .content p{
    margin: 0;
  }
  #map {
    height: 40dvh;
    width: 100vw;
  }

  #mc-zoom-controls .option {
    height: 30px;
    padding: 0;
    width: 30px;
  }

   #mc-zoom-controls .option img {
    margin: 20%;
    height: 60%;
    width: 60%;
   }

   #mc-zoom-controls {
    width: 7.1rem;
    justify-content: flex-end;
   }
}
@media(max-width:767px) {
  .mapa_2026_container {
    margin-top: 2rem;
  }
}

.menu-selector-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-selector-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="%23333333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 12px center; 
  width: 100%;
  padding-right: 40px;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}

@media(min-width:769px) {
  .mapa_2026_container {
    flex-direction: row;
  }
}

.section_hero {
  margin-top: 70px;
  margin-bottom: 4rem;
}

.map-overlay-pin {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ffffff;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: peru;
}

.pin-icon-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.5s ease, transform 0.5s ease;
}


.hover-rounded-active,
.hover-active {
  background-color: #ff0000;
  filter: drop-shadow(2px 0px 0px #ff0000) 
          drop-shadow(-2px 0px 0px #ff0000) 
          drop-shadow(0px 2px 0px #ff0000) 
          drop-shadow(0px -2px 0px #ff0000);
}

.hover-active .pin-icon-media,
.hover-rounded-active {
  transform: scale(1.15);
}

.menu-item {
  display: flex;
  align-items: stretch;
  border-radius: 20px;
  padding: 0;
  margin-bottom: 8px;
  border-radius: 6px;
  cursor: pointer;
  background-color: #FFF;
  transition: background 0.2s ease;
  overflow: hidden;
}

.menu-item:hover {
  background-color: #CDCDCD;
}

.menu-item-icon-box {
  width: 5rem;
  min-height: 5rem;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.menu-icon-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.menu-item .menu-icon-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.menu-item .paddock .menu-icon-img {
  height: 40%;
  width: 100%;
}

.menu-item .full_icon .menu-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-item-text-box {
  display: flex;
  flex-direction: column;
	color: #000;
	flex-grow: 1;
}

.menu-item-title {
  font-size: 1.1rem;
	font-family: 'Formula1_bold';
	font-weight: 400;
	margin: 0;
}

.menu-item-label {
	font-size: 1rem;
	font-family: 'Inter';
	font-weight: 600;
	margin: 0;
}

.menu-item-wrapper-container {
	align-items: flex-start;
	display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  width: 100%;
}

.menu-item-type-box {
  font-size: 0.8rem;
  font-family: 'Inter';
	padding: 0.2rem 0.5rem;
	border-radius: 0.5rem;
}

.menu-item-type {
	font-size: 0.8rem;
	font-family: 'Formula1_regular';
	font-weight: 700;
}

.highlight-zone {
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1;
}

.highlight-zone svg,
.highlight-zone img {
  display: block;
}

.rounded-pin {
  align-items: center;
  display: flex !important;
  border-radius: 50% !important;
  justify-content: center;
}

.rounded-pin .pin-icon-media {
  height: 80%;
  width: 80%;
}

.map-overlay-pin.is-filter-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.map-overlay-pin.is-filter-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.menu-item.is-filter-hidden {
  display: none !important;
}

.menu-selector-select {
  border: 2px solid #D2D2D2 !important;
  border-radius: 10px !important;
  color: #000;
  font-family: Inter;
  font-size: 13px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 120% !important;
  padding: 0.5rem 1rem !important;
  margin: 0 !important;
}

.menu-selector-wrapper {
  flex-grow: 1;
}

.menu-items-selectors {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.menu-items-selectors label {
  display: none;
}

.menu-items-container {
  overflow-y: auto;
  scrollbar-width: thin;                     
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  -webkit-overflow-scrolling: touch;
}

.menu-items-container::-webkit-scrollbar {
  width: 4px;                                   
  height: 4px;
}

.menu-items-container::-webkit-scrollbar-track {
  background: transparent;
  margin: 4px 0;
}

.menu-items-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.menu-items-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.grid_content_ptv {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.grid_item_ptv {
  border-radius: 10px;
  border: 2px solid #D0D0D0;
  background: #FFF;
  box-shadow: 5px 6px 10px 0 rgba(0, 0, 0, 0.05);
  text-align: center;
}

.grid_item_ptv:hover {
  border: 2px solid transparent;
  box-shadow: 5px 6px 10px 0 rgba(0, 0, 0, 0.15);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to bottom, #ff1e00, #000000) border-box;
}

.grid_item_ptv:hover .image_container img {
  transform: scale(1.05);
}

.grid_item_ptv a:hover {
  text-decoration: none;
  color: #000;
}

.grid_item_ptv .image_container {
  align-items: center;
  background: url(/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/grid_items_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  padding: 1rem 0;
  width: 100%;
}

.grid_item_ptv img {
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  width: 70%;
}

.grid_item_ptv h4 {
  color: #000;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 1rem 0
}

@media(max-width:1300px){
  .menu-item-title {
    font-size: 1rem;
  }
  
  .menu-item-label {
    font-size: 0.9rem;
  }
}

@media(max-width:768px){

  .grid_content_ptv {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid_item_ptv h4 {
    font-size: 1rem;
  }

  .menu-item-title {
    font-size: 0.9rem;
  }
  
  .menu-item-label {
    font-size: 0.75rem;
  }
  .menu-item-icon-box {
    width: 4rem;
    min-height: 4rem;
  }
  .menu-item-type-box{
    border-width: 1px;
    padding: 2px 5px;
    border-radius: 5px;
  }
  .menu-item-type {
  font-size: 0.65rem;
  }
}
@media(max-width:508px){
  .menu-item-icon-box {
    width: 3.5rem;
    min-height: 3rem;
  }
  #zoom-in, #zoom-out{
    display: none !important;
  }
  
}

.page-template-temp_plan_de_movilidad .content_wpe {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}


.grid_extract_container {
  margin-top: 2rem;
}

.content_wpe .buy_info p {
  margin-bottom: 1rem;
}
.content_wpe .border_button a {
  color: #000;
}
.content_wpe .border_button:hover a {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .page-template-temp_plan_de_movilidad .content_wpe .grid_head {
    padding: 0 0 30px 0;
  }

  .page-template-temp_plan_de_movilidad .grid_categories {
    margin: 0;
  }
}

@media(max-width:600px) {
  .content_wpe .buy_info {
    text-align: center;
  }
}

.content_wpe .wp-block-heading {
  margin-bottom: 50px;
}

.content_wpe .apps_logo {
  display: flex;
  gap: 15px;
}
.content_wpe .apps_logo img {
  width: auto;
  height: 20px;
}

.content_wpe .wp-block-accordion .wp-block-accordion-item {
  border-radius: 20px;
  background: #FFF;
  box-shadow: 5px 6px 10px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}
.content_wpe .wp-block-accordion .wp-block-accordion-item {
  border: 2px solid transparent;
      background: linear-gradient(#fff, #fff) padding-box, /* Color de fondo interior */ linear-gradient(to bottom, #d0d0d0, #d0d0d0) border-box;
}
.content_wpe .wp-block-accordion .wp-block-accordion-item:hover {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to bottom, #ff1e00, #000000) border-box;
}
.content_wpe .wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}
.content_wpe .wp-block-accordion-heading__toggle-icon {
  font-size: 0;
  color: #fff;
  height: 50px;
  width: 50px;
  position: absolute;
  right: 30px;
  top: 15px;
}
.content_wpe .wp-block-accordion-heading__toggle-icon::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 10px;
  background-color: currentColor;
  -webkit-mask-image: url("../images/planea_tu_visita/accordion_arrow.svg");
  mask-image: url("../images/planea_tu_visita/accordion_arrow.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  color: #000;
}
.content_wpe .wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
  transform: rotate(180deg);
}
.content_wpe .wp-block-accordion .wp-block-accordion-item button {
  margin: 0;
  padding: 0;
}
.content_wpe .wp-block-accordion-heading {
  position: relative;
  display: block;
  width: 100%;
  color: rgb(0, 0, 0);
  padding: 30px 20px;
  font-size: 1rem;
  font-family: Inter;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}
.content_wpe .wp-block-accordion-panel {
  transform: translateY(-20px);
  position: relative;
  width: 100%;
  padding: 0px 70px 0px 30px;
}

/* Plan de movilidad */

.page-template-temp_plan_de_movilidad .inter_bold {
  color: #000;
  font-family: 'Inter';
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 166.667% */
  text-transform: uppercase;
}

/* ¿Dónde hospedarte? */
.page-template-temp_plan_de_movilidad .section_extract,
.page-template-temp_accesos .section_extract,
.donde-hospedarte .section_extract {
  color: #939393;
  text-align: center;
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}


.faqs {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

@media(min-width:768px) {
  .page-template-temp_plan_de_movilidad .section_extract,
.page-template-temp_accesos .section_extract,
  .donde-hospedarte .section_extract {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* --- CONTENEDOR DEL CARRUSEL --- */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.carousel-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
}

.carousel-img {
  aspect-ratio: 1 / 1.2;
  width: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px; 
}

.card-body {
  padding: 20px 0; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.card-text p.wp-block-paragraph {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-btn {
  margin-top: auto; 
}

.btn-primary {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.8;
}

.carousel-btn {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #000000;
  border: none;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 50%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.prev { left: 10px; }
.next { right: 10px; }

/* --- MODAL OSCURA PARA LOS HOTELES --- */
.modal-overlay {
  background: rgba(0, 0, 0, 0.7);
  display: none; 
  justify-content: center; 
  align-items: center;
  z-index: 100; 
  opacity: 0; 
  pointer-events: none; 
  transition: opacity 0.3s ease;
}
.modal-overlay.active { 
  display: flex;
  opacity: 1; 
  pointer-events: auto; 
}

.modal-content {
  background: #ffffff;
  color: #333333;
  padding: 40px;
  width: 100%;
}

.modal-content h2 {
  color: #000;
  font-family: 'Formula1_bold';
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;

  font-size: 1.6rem; 
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.close-modal-btn {
  position: absolute; 
  top: 15px; 
  right: 20px;
  background: none; 
  border: none; 
  color: #999; 
  font-size: 2.2rem; 
  cursor: pointer;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hotel-item {
  background: transparent; 
  border-radius: 8px; 
  overflow: hidden;
  display: flex; 
  flex-direction: column; 
  border: 1px solid transparent;
}
.hotel-cover {
  aspect-ratio: 1 / 0.75; 
  width: 100%;
  background-size: cover; 
  background-position: center; 
}
.hotel-body { 
  padding: 15px 0; 
  display: flex; 
  flex-direction: column; 
  flex-grow: 1; 
  gap: 0.5rem;
}
.hotel-body h3 {
  color: #000;
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem; 
  line-height: 120%;
  margin-bottom: 5px; 
  color: #000; 
}
.hotel-body p { 
  font-size: 0.85rem; 
  color: #666; 
  margin-bottom: 15px; 
}
.hotel-links { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}
.hotel-links a {
  color: #000;
  flex: 1; 
  text-align: left; 
  text-decoration: underline; 
  font-size: 0.8rem; 
  font-weight: 600; 
  border-radius: 4px;
  text-wrap: break-word;
  word-break: break-word; 
  overflow-wrap: break-word;
}

.hotel-link {
  display: flex;
  gap: 0.5rem;
}

.hotel-icon {
  width: 20px;
  height: 20px;
}

.link-web { background-color: #000; color: #fff; }
.link-map { background-color: #f0f0f0; color: #333; }


@media (min-width: 768px) and (max-width: 1024px) {
  .hotels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .card-body h2 {
    font-size: 1.1rem;
  }
  .card-text p.wp-block-paragraph {
    font-size: 0.85rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ¿dónde comer? */

.page-template-temp_donde_comer {
  overflow-x: hidden;
  max-width: 100vw;
}

.page-template-temp_donde_comer .food_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}


.page-template-temp_donde_comer .section_extract {
  color: #939393;
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 166.667%;
  max-width: 70%;
  margin: 0 auto;
}

.food_banner {
  height: 10rem;
  max-width: 100%;
  width: 100%;
}

.food_banner_color {
  background: linear-gradient(90deg, #FF1E00 0%, #14130F 100%);
  height: 3px;
  width: 100%;
}

.page-template-temp_donde_comer.disabled {
  overflow-y: hidden;
}

.page-template-temp_donde_comer .close_modal {
  cursor: pointer;
  position: fixed;
  top: 12rem;
  right: 2rem;
  width: 2.5rem;
}

.page-template-temp_donde_comer .food_modal {
  border: 1px solid #D0D0D0;
  bottom: 0;
  background: #FFF;
  overflow-y: auto;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(120vw);
  transition: transform 0.7s ease-in-out;
  z-index: 1001;
}

.food_modal__title {
  color: #000;
  font-family: 'Formula1_bold';
  font-size: 3rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.food_modal_content {
  color: #000;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 175%; 
}

.page-template-temp_donde_comer .food_modal.active {
  transform: translateX(0);
}

.food_modal__container {
  padding: 3rem 5rem;
}

.food_modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.food_modal__grid.michelin {
  grid-template-columns: 1fr;
}

/**/
.restaurant-item {
  background: transparent; 
  border-radius: 8px; 
  overflow: hidden;
  display: flex; 
  flex-direction: column; 
  border: 1px solid transparent;
}

.restaurant-item.full {
  border-radius: 0;
}

.restaurant-item-content {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.restaurant-cover {
  aspect-ratio: 1 / 0.75; 
  width: 100%;
  background-size: cover; 
  background-color: lightgray;
  background-position: 50%;
}

.restaurant-item-content .restaurant-cover {
  border-radius: 10px;
  width: 275px;
  height: 186px;
}


.restaurant-body { 
  padding: 15px 0; 
  display: flex; 
  flex-direction: column; 
  flex-grow: 1; 
  gap: 0.5rem;
}

.restaurant-item-content .restaurant-body {
  padding-top: 0;
}

.restaurant-body h3 {
  color: #000;
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem; 
  line-height: 120%;
  margin-bottom: 5px; 
  color: #000; 
}
.restaurant-body p { 
  font-size: 0.85rem; 
  color: #666; 
  margin-bottom: 15px; 
}
.restaurant-links { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}
.restaurant-links a {
  color: #000;
  flex: 1; 
  text-align: left; 
  text-decoration: underline; 
  font-size: 0.8rem; 
  font-weight: 600; 
  border-radius: 4px;
  text-wrap: break-word;
  word-break: break-word; 
  overflow-wrap: break-word;
}

.restaurant-link {
  display: flex;
  gap: 0.5rem;
}

.restaurant-icon {
  width: 20px;
  height: 20px;
}

.link-web { background-color: #000; color: #fff; }
.link-map { background-color: #f0f0f0; color: #333; }
/**/

@media screen and (min-width: 2500px) {
  .food_modal__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .page-template-temp_donde_comer .food_modal {
    width: 75vw;
  }
}

@media screen and (min-width: 769px) and (max-width: 1199px) {
  .page-template-temp_donde_comer .food_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .page-template-temp_donde_comer .food_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .food_modal__container {
    padding: 3rem 10%;
  }

  .food_banner {
    object-fit: cover;
  }

  .food_modal__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Día de muertos */

.page-template-temp_dia_de_muertos {
  background: #FFF;
}



.page-template-temp_dia_de_muertos .section_hero  {
  height: auto;
  min-height: auto;
}

.altar {
  background: #FFF;
  margin: 70px auto 2rem auto;
  position: relative;
  color: rgba(255, 255, 255, 0.60);
  text-align: justify;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 175%;
  width: calc(100% - 2rem);
}

.altar_grid {
  margin: 0 auto;
  max-width: 80%;
}

.altar_container {
  background: #0D0D17;
  margin: 0 10px 0 10px;
}

.altar-top {
  background-image: url(/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/vector_4x.webp);
  background-repeat: repeat;
  background-size: contain;
  height: 16px;
  width: calc(100% - 8px);
}

.altar-top:before {
  background: #0D0D17;
  content: '';
  display: block;
  height: 32px;
  width: 32px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  border-radius: 100%;
}

.altar-top:after {
  background: #0D0D17;
  content: '';
  display: block;
  height: 32px;
  width: 32px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  border-radius: 100%;
}

.altar-left {
  background-image: url(/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/vector_left_4x.webp);
  background-repeat: repeat-y;
  background-size: contain;
  bottom: 8px;
  position: absolute;
  left: 0;
  height: calc(100% - 8px);
  top: 8px;
  width: 16px;
}

.altar-right {
  background-image: url(/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/vector_left_4x.webp);
  background-repeat: repeat-y;
  background-size: contain;
  bottom: 8px;
  position: absolute;
  height: calc(100% - 8px);
  right: 0;
  top: 8px;
  width: 16px;
  transform: rotate(180deg);
}

.altar-bottom {
  background-image: url(/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/vector_bottom_4x.webp);
  background-repeat: repeat;
  background-size: contain;
  height: 16px;
  width: 100%;
}

.altar-bottom:before {
  background: #0D0D17;
  content: '';
  display: block;
  height: 32px;
  width: 32px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  border-radius: 100%;
}

.altar-bottom:after {
  background: #0D0D17;
  content: '';
  display: block;
  height: 32px;
  width: 32px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  border-radius: 100%;
}


.altar .section_title {
  color: #F8E6CE;
  font-family: 'Formula1_bold';
  font-size: 4rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin-bottom: 90px;
}

.altar .grid_extract_container {
  color: #FF6C0E;
  font-family: 'Formula1_regular';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; 
  max-width: 80%;
  margin: 0 auto;
  text-align: justify;
  margin-bottom: 2rem;
}

.texts {
  max-width: 80%;
  margin: 0 auto;
  text-align: justify;
}

.altar .section_hero {
  margin-top: 0;
}

.section_media {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.section_media h3 {
  font-family: 'Formula1_bold';
  font-size: 3.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
}

.section_media .disruptors {
  font-size: 6rem;
}

.section_media .section_bg img {
  width: 100%;
}

.section_1 .section_desc {
  width: 47%;
}

.section_1 .section_desc h3 {
  color: #FF6C0E;
}

.section_1 .section_desc .disruptors {
  color: #FFC300;
}

.section_1 .section_bg {
  width: 47%;
}

.section_2 {
  flex-direction: row-reverse;
}

.section_2 .section_desc {
  width: 47%;
}

.section_2 .section_desc h3 {
  color: #FFC300;
}

.section_2 .section_desc .disruptors {
  color: #FF6C0E;
}

.section_2 .section_bg {
  width: 47%;
}

.section_3 {
  flex-direction: column-reverse;
}

.section_3 .section_bg {
  margin-bottom: 2rem;
}

.section_3 .section_desc {
  display: flex;
  gap: 8rem;
}

.section_3 .section_desc h3 {
  color: #FF6C0E;
}

.section_3 .section_desc .disruptors {
  color: #FFC300;
}

.section_3 h3 {
  white-space: nowrap;
}

.section_4 {
  flex-direction: row-reverse;
}

.section_4 .section_desc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section_4 .section_desc h3 {
  color: #FFC300;
}
.section_4 .section_desc .disruptors {
  color: #FF6C0E;
  display: block;
  line-height: 30%;
  font-size: 8rem;
}

.section_4 .section_bg img {
  max-height: 100dvh;
}

.section_4 .section_desc h3 {
  text-align: right;
  margin-left: 40%;
  max-width: 60%;
}

.section_4 .section_desc p {
  max-width: 60%;
}

.section_5 {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.section_5 .section_desc {
  width: 47%;
}

.section_5 .section_desc h3 {
  color: #FF6C0E;
}
.section_5 .section_desc .disruptors {
  color: #FFC300;
}

.section_5 .section_bg {
  width: 47%;
}

@media screen and (min-width: 2000px) {
  .section_4 {
    gap: 5vw;
  }
}

@media screen and (min-width: 769px) {
  .section_media {
    display: flex;
  }

  .page-template-temp_dia_de_muertos .content_padding {
    padding: 90px;
  }

  .section_4 .section_bg {
    display: flex;
    align-items: flex-end;
  }

  .section_4 .section_desc {
    gap: 4rem
  }

  .section_4 .section_desc p {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 1200px) {
  .section_3 h3 {
    white-space: wrap;
  }
}

@media screen and (max-width: 900px) {

  .section_3 .section_bg img {
    height: 35dvh;
    object-fit: cover;
  }

  .altar {
    width: 100%;
  }

  .altar_container {
    margin: 0;
  }

  .altar-top,
  .altar-left,
  .altar-right,
  .altar-bottom  {
    display: none;
  }

  .altar .section_title {
    font-size: 3.2rem;
  }

  .section_bg img {
    border-radius: 10px;
  }

  .section_media .disruptors {
    font-size: 5rem;
  }

  .section_media {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 5rem;
  }

  .section_media .section_desc {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .section_media .section_bg  {
    width: 100%;
  }

  .section_3 h3 {
    white-space: wrap;
  }

  .section_4 .section_desc h3 {
    text-align: left;
    margin: 0;
    max-width: 100%;
    width: 100%;
  }

  .section_4 .section_desc p {
    max-width: 100%;
  }

  .altar_grid {
    max-width: 100%;
    width: 100%;
  }

  .altar .texts,
  .altar .grid_extract_container { 
    max-width: 90%;
  }

  .section_3 .section_desc {
    gap: 2rem;
  }

  .section_4 .section_desc {
    gap: 4rem;
  }

  .section_media h3 {
    font-size: 3rem;
  }

  /*
  .section_hero {
    height: auto !important;
  }*/
}

/* Pit Stops */

.page-template-temp_hot_spots {
  /*overflow-x: hidden;*/
  /*width: 100vw;*/
}


.page-template-temp_hot_spots  .prev.disabled,
.page-template-temp_hot_spots  .next.disabled,
.page-template-temp_hot_spots  .prev:disabled,
.page-template-temp_hot_spots  .next:disabled {
  opacity: 0.35;                 /* Hace el botón semitransparente */
  cursor: not-allowed;           /* Muestra el cursor de bloqueo */
  pointer-events: none;          /* Evita cualquier evento de clic o hover */
  filter: grayscale(100%);       /* Opcional: convierte el botón a blanco y negro */
  transition: opacity 0.3s ease; /* Suaviza el cambio de estado */
}

.page-template-temp_hot_spots .main_content {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 70px 2rem 0 2rem;
}
@media screen and (max-width: 768px) {
  .page-template-temp_hot_spots .main_content {
    flex-direction: column-reverse;
  }
}

.page-template-temp_hot_spots .section_title {
  margin-bottom: 4rem;
}
@media (min-width: 993px) and (max-width: 1080px) {
  .page-template-temp_hot_spots .section_title {
    font-size: 3.7rem;
  }
}

.page-template-temp_hot_spots .image img {
  width: 100%;
}

.grid_categories {
  position: relative;
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin: 5rem 2rem 0 2rem;
  flex-wrap: wrap;
  max-width: 90vw;
}

/* Popup lugares */

.overflow-d {
  overflow: hidden;
}

#lugares_popup {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
}

#lugares_popup.active {
  display: block; 
}

.popup-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #fff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 35% 65%;
  height: 80dvh;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  width: 90dvw;
}

.popup-body {
  max-height: 80dvh;
  padding: 2rem 4rem 2rem 2rem;
  overflow-y: auto;
}

.popup-body h2 {
  color: #000;
  font-family: 'Formula1_bold';
  font-size: 2rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.popup-description {
  color: #000;
  font-family: 'Inter';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.popup-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.popup-media img {
  width: 100%;
  height: 100%;
  max-height: 80dvh;
  object-fit: cover;
}

.popup-nav {
  display: none;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}



@media screen and (max-width: 900px) {
  .popup-content {
    display: flex;
    flex-direction: column;
    height: 90dvh;
  }

  .popup-media,
  .popup-media img {
    max-height: 35dvh;
  }
  .text-card {
    padding-bottom: 4rem !important;
  }
}

/* Lugares */

#lugares {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  font-family: 'Inter';
  margin: 1rem 2rem;
}

.grid-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  min-height: 250px; 
}

.text-card {
  padding: 25px 30px;
  color: #000;
  justify-content: flex-start;
  position: relative;
}

.text-card h3, .text-card h2 {
  color: #000;
  font-family: 'Formula1_bold';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.text-card p {
  color: #000;
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; 
}

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

.plus-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 1.5rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
}

#museos {
  padding: 0;
  margin: 2rem 2rem 5rem 2rem;
}

.museos_content {
  margin: 5rem 2rem 0 2rem;
  font-family: 'Inter';
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 166.667%; 
}

.museos_content h2 {
  color: #000;
  font-family: 'Formula1_bold';
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

@media screen and (min-width: 769px) {
  .page-template-temp_hot_spots .content {
    width: 30%;
  }
  .page-template-temp_hot_spots .image {
    width: 50%;
  }
}

@media screen and (max-width: 1400px) {
  #lugares {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  #lugares {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .first-card {
    grid-column: span 2;
    min-height: auto;
  }
  .slide-info {
    padding: 2rem 4.2rem !important;
  }
}

@media screen and (max-width: 500px) {
  #lugares {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .grid-card {
    min-height: 250px;
  }

  .first-card {
    grid-column: span 2;
    min-height: auto;
  }
}

/* Día de muertos */

.slider-wrapper {
  position: relative;
  width: calc(100% - 4rem);
  margin: 0 2rem;
  overflow: hidden;
  border-radius: 20px;
  font-family: sans-serif;
}


.slider-container {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide-item {
  min-width: 100%; 
  width: 100%;
  max-height: 80dvh;
  display: grid;
  grid-template-columns: 55% 45%; 
  box-sizing: border-box;
}

.slide-info {
  background-color: #FF5A00; 
  color: #ffffff;
  padding: 2rem 4rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-item ,
.slide-image,
.slide-info {
  max-height: 85dvh;
}

.slide-info .slide-title {

}


.slide-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 30px;
}

.slide-info p {
  color: #0D0D17;
  font-family: 'Inter';
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 166%;
}

.slide-image {
  position: relative;
}

.slide-mask {
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  font-size: 1.2rem;
  z-index: 10;
  color: #333;
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 40px; 
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.dot-progress {
  width: 0%;
  height: 100%;
  background-color: #ffffff;
}

.dot.active .dot-progress {
  width: 100%;
  transition: width 5s linear;
}

.slide-info .slide-title {
  z-index: 3;
}

@media screen and (min-width: 769px) {
  .slide-info .slide-title {
    margin-bottom: 1rem;
    width: 55vw;
  }
  .slide-content {
    overflow-y: auto;
    max-height: 50dvh;
  }

  .slide-item {
    -webkit-mask-image: url('/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/orange_mask_1.png');
    mask-image: url('/wp-content/themes/mexicogp_2024_b/images/planea_tu_visita/orange_mask_1.png');
        
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
        
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}

@media (min-width: 1000px) {
  .slide-info p {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .slide-item {
    display: flex;
    flex-direction: column-reverse;
    position: relative;
  }
  .slider-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    top: 20px;
  }

  .slide-image {
    height: 35dvh;
    max-height: 35dvh;
  }
  
  
  .slide-info {
    display: block;
    max-height: 50dvh;
    height: 50dvh;
    overflow: auto;
  }

  .slide-info .slide-title {
    top: 5%;
    left: 5%;
    right: 5%;
    position: absolute;
    text-align: center;
    width: 90%;
  }
}


/* Velocidad */
.velocidad_content {
  max-width: 60%;
  margin: 5rem auto 2rem auto;
  text-align: center;
}

.velocidad_content h2 {
  color: #000;
  text-align: center;
  font-family: 'Formula1_bold';
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.velocidad_content p {
  color: #939393;
  text-align: center;
  font-family: 'Inter';
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 166%; 
}

.a_velocidad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
}

.a_velocidad .grid-card {
  background: #F6F5F4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (max-width: 1000px) {
  .a_velocidad {
    padding: 0;
    width: calc(100% - 4rem);
  }
  .velocidad_content {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .a_velocidad {
    display: flex;
    flex-direction: column;
  }
}

.page-template-temp_hot_spots img {
  border-radius: 20px;
}