/* HERO */
.hero {
  padding-inline: 30px;
}

.hero .presentation-text {
  margin-block: 30px;
  margin-left: 50px;
}

.hero h1 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero .presentation-txt-p1 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero img {
  max-width: 63%;
  height: 63%;
  border-radius: 8px;
}

.hero .hero-services {
  margin-top: 6px;
  font-size: 16px;
  font-weight: bold;
}

.hero .presentation {
  padding-inline: 20px;
}

.h3-hero{
  font-size: 1.25rem; 
  font-weight: normal; 
}

.card-link-tt{
  text-decoration: none;
}

.blog-card {
    background-color: #042D62; 
    border: none;
    border-radius: 25px;
    transition: transform 0.2s ease;
}

.blog-card:hover {
    transform: scale(1.02);
}

.blog-card:active {
  background-color: #054560; 
}

.card-img-container {
    position: relative;
    text-align: center;
    padding-top: 9px;
}

.card-img-top {
  width: 95%;
  height: auto;
  border-radius: 20px;
}

.card-body {
    padding: 15px;
}

.card-author {
    font-size: 0.9rem;
}

.card-title {
    margin-bottom: 5px;
    font-size: 1.35rem;
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem;
}

.insignia {
  position: absolute;
  top: 20px;
  right: 20px; 
  background-color: gold; 
  color: #000; 
  padding: 5px 10px; 
  border-radius: 15px; 
  font-weight: bold; 
  text-align: center; 
  font-size: 0.9rem;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); 
}


.carousel-item img {
  max-height: 100vh; 
  width: auto; 
  margin: 0 auto;
}

.newsletter-card{
  margin: 0px 0px !important;
}


.pagination {
  flex-wrap: wrap; 
}

.pagination .page-item {
  margin: 0 5px; 
}

.pagination .page-link {
  padding: 10px 15px; 
}


/* Hide desktop image on mobile */
@media (max-width: 767.98px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
    text-align: center;
  }

  .hero h1{
    text-align: center;
  }

  .hero .hero-services{
    margin-bottom: 10px;
    font-size: 14px;
  }

  .hero img{
    max-width: 90%;
  }
  .about-me img{
    max-width: 90%;
  }
}

/* Hide mobile image on desktop */
@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero .presentation{
    padding-inline: 0px;
    .hero img{
      max-width: 90%;
    }
  }
}

@media (max-width: 1005px) {
  .hero img{
    max-width: 90%;
  }
}


@media (max-width: 990px) {
  .hero .presentation{
    padding-inline: 0px;
    margin-bottom: 5px;
  }
}

@media (max-width: 767px) {
  
  .hero .presentation-txt-p1 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .category-btn {
      width: auto;
  }
}

/* Ajusta los estilos en pantallas pequeñas */
@media (max-width: 576px) {
  .pagination {
      font-size: 0.85rem; 
  }
}

