/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    font-family: "Inter", "Segoe UI", sans-serif;
    min-height: 100%;
    background: #071428;
    margin: 0;
    padding: 0;
    color: #222;
}



/* ==========================
   POST DETAIL
========================== */

.post-detail {
  background: #ffffff;
  border-radius: 22px;
  padding: 45px 50px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* Imagen destacada */
.post-detail-image {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 35px;
}

.post-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Título */
.post-detail-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 14px;
}

/* Meta */
.post-detail-meta {
  font-size: .9rem;
  color: #6b7280;
  margin-bottom: 35px;
}

/* Contenido */
.post-detail-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1f2937;
}

.post-detail-content p {
  margin-bottom: 22px;
}

/* Links dentro del post */
.post-detail-content a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
}

.post-detail-content a:hover {
  text-decoration: underline;
}

/* ==========================
   RESPONSIVE POST DETAIL
========================== */

@media (max-width: 992px) {
  .post-detail {
    padding: 35px 32px;
  }

  .post-detail-title {
    font-size: 2rem;
  }

  .post-detail-image {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .post-detail {
    padding: 26px 22px;
  }

  .post-detail-title {
    font-size: 1.6rem;
  }

  .post-detail-image {
    height: 220px;
  }
}





.volver-container {
    text-align: right;
    width: 100%;
}
.btn-volver {
    align-content: right;
    display: inline-block;
    padding: 10px 20px;
    color: #f8f9fb;
    font-weight: 600;
    text-decoration: none;       
    transition: 0.25s ease;    
}

.btn-volver:hover {    
    color: #00e5ff;
    transform: translateY(-2px);    
}



/* Logo section Starts */
.btn-logo {
  position: absolute;
  width: 77px;
  height: 77px;
  top: 7px;
  /*bottom:20px;*/
  left: 9px;
  background: transparent;
  z-index: 5000;
}

.img-responsive3 {
  width: 100px;
  top: 45px;
  left: 5px;
}

@media only screen and (min-width: 320px) and (max-width: 768px) {
  .btn-logo {
    width: 55px;
  }
}
/* Logo section Ends */




/* Boton ir arriba starts */
#btn-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: #0d6efd; /* azul profesional */
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 9999;
}

#btn-top:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
}

#btn-top.show {
    display: flex;
    opacity: 1;
}
/* Boton ir arriba ends */












