@charset "UTF-8";
.carousel-container {
  position: relative;
  max-width: 1200px;
  width: 90%;
  margin: 20px auto;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: both mandatory;
}
.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container .carousel {
  display: flex;
  transition: transform 0.3s ease;
}
.carousel-container .carousel .carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container .carousel .carousel-slide {
  min-width: 80%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
  scroll-snap-align: start;
}
.carousel-container .carousel .carousel-slide .carousel-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.carousel-container .carousel .carousel-slide .carousel-content {
  margin-top: 10px;
}
.carousel-container .carousel .carousel-slide .carousel-content .carousel-title {
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.carousel-container .carousel .carousel-slide .carousel-content .carousel-link {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #38bdf8;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.carousel-container .carousel .carousel-slide .carousel-content .carousel-link:hover {
  background-color: #38bdf8;
  color: #021017;
}
.carousel-container .carousel-prev,
.carousel-container .carousel-next {
  position: absolute;
  top: 98%;
  transform: translateY(-100%);
  color: #021017;
  font-size: 1.8rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  background-color: #38bdf8;
}
.carousel-container .carousel-prev:hover,
.carousel-container .carousel-next:hover {
  background-color: #021017;
  color: #38bdf8;
}
.carousel-container .carousel-prev {
  left: 10px;
}
.carousel-container .carousel-next {
  right: 10px;
}

@media (max-width: 767px) {
  .carousel-container .carousel .carousel-slide {
    min-width: 100%;
  }
  .carousel {
    transform: translateX(-1rem);
  }
  .carousel-prev,
  .carousel-next {
    display: none;
  }
}
.media-content iframe {
  margin-bottom: 2rem;
}

.blog-hero {
  position: relative;
  background: linear-gradient(180deg, rgba(2, 16, 23, 0.7), rgba(2, 16, 23, 0.9)), url("/photos/mahahual/mahahual-dive-sites.jpg");
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.blog-hero .blog-hero-content {
  max-width: 800px;
}
.blog-hero .blog-hero-content .blog-hero-title {
  font-family: "Lato", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(2, 16, 23, 0.3);
}
.blog-hero .blog-hero-content .blog-hero-subtitle {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 10px;
}
.blog-hero .blog-hero-content .blog-hero-meta {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  opacity: 0.7;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 20px auto;
  max-width: 1200px;
  width: 90%;
  font-size: 1rem;
}

.breadcrumbs ol li a {
  color: #38bdf8;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  transition: color 0.3s ease;
}
.breadcrumbs ol li a:hover {
  text-decoration: none;
  color: #021017;
}

.blog-main {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  padding: 40px 0;
}
.blog-main .blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.blog-main .blog-posts .blog-post-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.blog-main .blog-posts .blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.blog-main .blog-posts .blog-post-card .blog-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.blog-main .blog-posts .blog-post-card .blog-post-content {
  padding: 20px;
  color: #fff;
}
.blog-main .blog-posts .blog-post-card .blog-post-content .blog-post-title {
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-main .blog-posts .blog-post-card .blog-post-content .blog-post-excerpt {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.8;
  margin-bottom: 15px;
}
.blog-main .blog-posts .blog-post-card .blog-post-content .blog-post-link {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #38bdf8;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.blog-main .blog-posts .blog-post-card .blog-post-content .blog-post-link:hover {
  background-color: #38bdf8;
  color: #021017;
}
.blog-main .blog-article {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.blog-main .blog-article .article-intro {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.8;
  margin-bottom: 20px;
}
.blog-main .blog-article .article-index {
  position: sticky;
  top: 20px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.blog-main .blog-article .article-index h3 {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.blog-main .blog-article .article-index ul {
  color: #fff;
}
.blog-main .blog-article .article-index ul li {
  margin: 8px 0;
}
.blog-main .blog-article .article-index ul li a {
  color: #fff;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.blog-main .blog-article .article-index ul li a:hover {
  color: #38bdf8;
}
.blog-main .blog-article .article-sections ol {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.8;
}
.blog-main .blog-article .article-sections ul {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.8;
}
.blog-main .blog-article .article-sections h2 {
  font-size: 2.3rem;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: #021017;
  margin-top: 20px;
  opacity: 0.9;
}
.blog-main .blog-article .article-sections h3 {
  font-size: 1.8rem;
  color: #fff;
}
.blog-main .blog-article .article-sections p {
  font-family: "Lato", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.6;
}
.blog-main .blog-article .article-sections p a {
  color: #38bdf8;
}
.blog-main .blog-article .article-sections figure img {
  border-radius: 8px;
}
.blog-main .blog-article figcaption {
  color: #fff;
  font-size: 1rem;
}
.blog-main .blog-article .share-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.blog-main .blog-article .share-buttons button {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #38bdf8;
  background: none;
  border: 2px solid #38bdf8;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.blog-main .blog-article .share-buttons button:hover {
  background-color: #38bdf8;
  color: #021017;
}
.blog-main .blog-article .share-buttons button span {
  margin-left: 5px;
}

.share-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  backdrop-filter: blur(5px);
}
.share-popup p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 15px;
}
.share-popup a, .share-popup button {
  display: inline-block;
  margin: 5px;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid #38bdf8;
  border-radius: 5px;
  background: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.share-popup a:hover, .share-popup button:hover {
  background-color: #38bdf8;
  color: #021017;
}

/* Estilos para el botón de scroll-top con indicador de progreso */
.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 80px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap .arrow-up {
  position: absolute;
  color: #021017;
}
.progress-wrap .arrow-up img {
  width: 1.5rem;
}

.progress-wrap .progress-circle {
  transform: rotate(-90deg);
}

.progress-wrap .progress-circle path {
  fill: none;
  stroke: #021017; /* Color de la barra de progreso */
  stroke-width: 6;
  stroke-linecap: round;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  stroke-dasharray: 308; /* 2 * π * 49 (radio del círculo) */
  stroke-dashoffset: 308; /* Inicialmente la línea está vacía */
}

@media (max-width: 767px) {
  .blog-hero {
    height: 50vh;
  }
  .blog-hero .blog-hero-title {
    font-size: 2.5rem;
  }
  .blog-hero .blog-hero-subtitle {
    font-size: 1rem;
  }
  .blog-hero .blog-hero-meta {
    font-size: 0.8rem;
  }
  .article-index ul {
    padding: 0 0 0 1px;
    list-style: none;
  }
  .article-sections ol {
    padding: 0 0 0 15px;
  }
  .article-sections ul {
    padding: 0 0 0 15px;
  }
  .blog-main .blog-article {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blog-main .blog-article .article-index {
    position: static;
    margin-bottom: 20px;
  }
  .blog-main .blog-article .article-intro {
    font-size: 1rem;
  }
  .blog-main .blog-article .article-sections ul {
    font-size: 1rem;
  }
  .blog-main .blog-article .article-sections ol {
    font-size: 1rem;
  }
  .blog-main .blog-article .article-sections p {
    font-size: 1rem;
  }
  .blog-posts {
    grid-template-columns: 1fr;
  }
  .blog-posts .blog-post-excerpt {
    font-size: 1rem;
  }
  .blog-posts .blog-post-link {
    font-size: 1rem;
  }
}

/*# sourceMappingURL=style.css.map */
