/* assets/css/blog-detail.css
   Blog detail page only.
*/
/* ==========================================================
   BLOG DETAIL TEMPLATE - Ausangate Adventure
   Pegar al final de styles.css
   ========================================================== */

.blog-detail-page {
  background: #ffffff;
}

/* ==========================================================
   Blog detail hero compacto
   Banner bajo + título centrado + breadcrumb profesional
   ========================================================== */

.blog-hero {
  position: relative;
  min-height: clamp(300px, 34vw, 430px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.blog-hero picture,
.blog-hero__image,
.blog-hero__overlay {
  position: absolute;
  inset: 0;
}

.blog-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .34) 48%, rgba(0, 0, 0, .58)),
    linear-gradient(0deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .22));
}

.blog-hero__content {
  position: relative;
  z-index: 2;

  display: flex;
  min-height: clamp(300px, 34vw, 430px);
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding-block: 56px;
  text-align: center;
}

.blog-hero h1 {
  max-width: 1180px;
  margin: 0 auto;

  color: var(--white);
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.blog-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 24px;
  color: rgba(255, 255, 255, .92);

  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 700;
  line-height: 1.2;
  font-family: Arial;
}

.blog-breadcrumbs a {
  color: var(--blue);
  font-weight: 500;
}

.blog-breadcrumbs a:hover {
  color: var(--white);
}

.blog-breadcrumbs span {
  color: rgba(255, 255, 255, .9);
  font-weight: 500;
}

.blog-breadcrumbs strong {
  color: var(--white);
  font-weight: 500;
}

/* Ya no se usan en el banner compacto */
.blog-hero__meta,
.blog-hero p {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-hero,
  .blog-hero__content {
    min-height: 320px;
  }

  .blog-hero__content {
    padding-block: 48px;
  }

  .blog-hero h1 {
    font-size: clamp(25px, 6vw, 40px);
  }
}

@media (max-width: 480px) {
  .blog-hero,
  .blog-hero__content {
    min-height: 280px;
  }

  .blog-hero__content {
    padding-block: 40px;
  }

  .blog-breadcrumbs {
    margin-top: 18px;
    gap: 8px;
    font-size: 14px;
  }
}









.blog-detail-section {
  padding-block: clamp(58px, 7vw, 92px);
  background: #ffffff;
}

.blog-detail-layout {
  display: grid;
  /*grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);*/
  gap: clamp(30px, 5vw, 58px);
  align-items: start;
}

.blog-article {
  min-width: 0;
  color: #141414;
}

.blog-featured-img {
  margin: 0 0 26px;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 18px 46px rgba(0,0,0,.09);
}

.blog-featured-img img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.blog-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 38px;
  overflow: hidden;
  border: 1px solid #e6edf0;
  border-radius: 10px;
  background: linear-gradient(90deg, #f1fff2 0%, #eefbff 100%);
  box-shadow: 0 12px 28px rgba(8,47,37,.06);
}

.blog-info-strip div {
  padding: 18px 20px;
  border-right: 1px solid rgba(4,161,240,.22);
}

.blog-info-strip div:last-child {
  border-right: 0;
}

.blog-info-strip span,
.blog-info-strip strong {
  display: block;
  line-height: 1.25;
}

.blog-info-strip span {
  color: #77827e;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-info-strip strong {
  margin-top: 5px;
  color: #121c18;
  font-size: 16px;
  font-weight: 900;
}

.blog-article h2 {
  margin: 48px 0 18px;
  color: #101010;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.blog-article h3 {
  margin: 0 0 10px;
  color: #101010;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
}

.blog-article p,
.blog-article li {
  color: #4c4c4c;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.85;
}

.blog-lead {
  margin-top: 0;
  color: #242424 !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 600;
  line-height: 1.75 !important;
}

.blog-highlight-box {
  display: grid;
  gap: 6px;
  margin: 36px 0;
  padding: 22px 24px;
  border-left: 6px solid var(--blue);
  border-radius: 12px;
  background: linear-gradient(90deg, #f1fff2 0%, #eefbff 100%);
}

.blog-highlight-box strong {
  color: #101010;
  font-size: 18px;
  font-weight: 900;
}

.blog-highlight-box span {
  color: #5e6a65;
  font-size: 16px;
  line-height: 1.65;
}

.blog-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0 42px;
}

.blog-feature-grid article {
  padding: 26px 24px;
  border: 1px solid #e8edf1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0,0,0,.045);
}

.blog-feature-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.blog-feature-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.blog-article blockquote {
  margin: 40px 0;
  padding: 34px 36px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(4,161,240,.96), rgba(2,106,161,.96));
  box-shadow: 0 18px 44px rgba(4,161,240,.22);
}

.blog-article blockquote p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(21px, 2.8vw, 32px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.035em;
}

.blog-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.blog-check-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: 12px;
  background: #f8fbfc;
  font-size: 16px;
}

.blog-check-list li::before {
  content: "âœ“";
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--blue);
  font-weight: 900;
}

.blog-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 50px;
  padding: 30px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.blog-cta-box span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-cta-box h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 34px);
}

.blog-cta-box a {
  display: inline-flex;
  min-width: 150px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.blog-cta-box a:hover {
  color: #ffffff;
  background: var(--blue-900);
}

.blog-sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 14px;
}

.blog-side-card {
  padding: 20px;
  border: 1px solid #e8edf1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(0,0,0,.055);
}

.blog-side-card h3 {
  margin: 0 0 10px;
  color: #101010;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.blog-side-search form {
  display: grid;
  gap: 10px;
}

.blog-side-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dbe3ea;
  border-radius: 8px;
  color: #111;
  background: #fbfdff;
}

.blog-side-search button {
  min-height: 48px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.blog-category-list {
  display: grid;
  gap: 10px;
}

.blog-category-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  color: #46524d;
  background: linear-gradient(90deg, #f1fff2 0%, #eefbff 100%);
  font-weight: 800;
}

.blog-category-list a:hover {
  color: #ffffff;
  background: var(--blue);
}

.blog-mini-post {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: center;
}

.blog-mini-post + .blog-mini-post {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #edf1f4;
}

.blog-mini-post img {
  width: 82px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.blog-mini-post span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.blog-mini-post a {
  display: block;
  color: #202020;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.blog-mini-post a:hover {
  color: var(--blue-500);
}

.blog-contact-card {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
}

.blog-contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-contact-card h3,
.blog-contact-card p {
  color: #ffffff;
}

.blog-contact-card p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.7;
}

.blog-contact-card a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.related-blog-section {
  background: #f8fbfc;
}

@media (max-width: 991px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-info-strip {
    grid-template-columns: 1fr;
  }

  .blog-info-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(4,161,240,.22);
  }

  .blog-info-strip div:last-child {
    border-bottom: 0;
  }

  .blog-cta-box {
    display: grid;
  }

  .blog-cta-box a {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .blog-hero {
    min-height: 520px;
  }

  .blog-hero__content {
    padding-block: 80px 54px;
  }

  .blog-hero h1 {
    font-size: 38px;
  }

  .blog-detail-section {
    padding-block: 46px;
  }

  .blog-featured-img img {
    aspect-ratio: 1 / .82;
  }

  .blog-article blockquote,
  .blog-cta-box,
  .blog-side-card {
    border-radius: 8px;
    padding: 22px;
  }
}




/* ==========================================================
   Blog detail layout fix
   Article left + sidebar right
   ========================================================== */

.blog-detail-section {
  padding: clamp(60px, 6vw, 95px) 0;
}

.blog-detail-section > .container {
  max-width: 1180px;
}

.blog-detail-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 42px !important;
  align-items: start !important;
}

.blog-article {
  width: 100% !important;
  min-width: 0 !important;
  grid-column: 1 !important;
}

.blog-sidebar {
  width: 100% !important;
  min-width: 0 !important;
  grid-column: 2 !important;
  align-self: start !important;
}

.blog-sidebar {
  position: sticky;
  top: 150px;
}

.blog-side-card {
  width: 100%;
}

.blog-featured-img {
  margin-bottom: 34px;
}

.blog-featured-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 18px;
}

.blog-article__body,
.blog-article .nuevoli {
  width: 100%;
  max-width: 100%;
}

.blog-article .nuevoli {
  display: block !important;
}

.blog-article .nuevoli p {
  margin-bottom: 18px;
}

.blog-share {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, .12);
}

.blog-share h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.blog-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-share__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f1f7fb;
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.blog-share__links a:hover {
  background: var(--blue);
  color: #fff;
}

/* Sidebar recent posts más compacto */
.blog-mini-post {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.blog-mini-post img {
  width: 82px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-mini-post div {
  min-width: 0;
}

.blog-mini-post a {
  display: block;
  line-height: 1.35;
}

/* Tablet: mantiene dos columnas mientras haya espacio */
@media (max-width: 1100px) {
  .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) 310px !important;
    gap: 28px !important;
  }
}

/* Móvil: recién aquí se apila */
@media (max-width: 900px) {
  .blog-detail-layout {
    grid-template-columns: 1fr !important;
  }

  .blog-article,
  .blog-sidebar {
    grid-column: 1 !important;
  }

  .blog-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 575px) {
  .blog-detail-section {
    padding: 44px 0;
  }

  .blog-mini-post {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .blog-mini-post img {
    width: 74px;
    height: 60px;
  }
}




/* ==========================================================
   Blog share buttons inline
   ========================================================== */

.blog-share-box {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, .12);
}

.blog-share-box h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: #111;
}

.blog-share-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-share-links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;

  border-radius: 50%;
  background: #FFF;
  border: 1px solid rgba(15, 23, 42, .10);

  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.blog-share-links a:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}

.blog-share-links img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}




/* ==========================================================
   Sidebar contact card with dark image background
   ========================================================== */

.blog-contact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 260px;
  padding: 34px 28px;

  color: #fff;
  background-image: var(--blog-contact-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 8px;
  border: 0;
}

.blog-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background-image: var(--blog-contact-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.04);
}

.blog-contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .66)),
    rgba(0, 0, 0, .45);
}

.blog-contact-card span {
  display: inline-block;
  margin-bottom: 12px;

  color: #03a1f0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-contact-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.18;
}

.blog-contact-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 1.65;
}

.blog-contact-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 20px;

  border-radius: 999px;
  background: #03a1f0;
  color: #fff;

  font-size: 14px;
  font-weight: 900;
  text-decoration: none;

  box-shadow: 0 14px 30px rgba(3, 161, 240, .32);
  transition: transform .18s ease, background .18s ease;
}

.blog-contact-card a:hover {
  transform: translateY(-2px);
  background: #028bd0;
}





/*NUEVOS ESTILOS*/
.nuevoli p{
    margin-bottom: 5px !important;
    font-family: var(--font-jost);
   /* font-family: var(--font-rubik);*/
    color: #222;
    font-size: 17px !important;
    margin-top: 5px !important;
    padding-top: 5px;
}

.nuevoli p span{
    margin-bottom: 5px !important;
    font-family: var(--font-jost);
   /* font-family: var(--font-rubik);*/
    color: #222;
    font-size: 17px !important;
    margin-top: 5px !important;
    padding-top: 5px;
}

.nuevoli .ql-align-center {
    text-align: center
}

.nuevoli .ql-align-justify {
    text-align: justify
}

.nuevoli .ql-align-right {
    text-align: right
}


.ql-align-center {
    text-align: center !important;
}

.ql-align-justify {
    text-align: justify !important;
}

.ql-align-right {
    text-align: right !important;
}



.nuevoli ul{
    margin-top: 5px;
}

.nuevoli ul>li{
    list-style-type: disc;
    margin-left: 35px;
/*    font-family: var(--font-jost);*/
  font-family: var(--font-jost);
  color: #222;
    font-size: 16px;
}

.nuevoli ol>li{
    list-style-type: upper-hexadecimal;
    margin-left: 35px;
    color: #222;
    font-size: 16px;
}

.nuevoli ul>li>p{
    list-style-type: disc;
    margin-left: 35px;
/*    font-family: var(--font-jost);*/
  font-family: var(--font-jost);
  color: #222;
    font-size: 16px;
    margin-bottom: 3px !important;
    margin-top: 1px !important;
    margin-left: 3px;
}

.nuevoli img{
  width: 100% !important;
  height: 300px !important;
  margin-bottom: 20px;
  object-fit: cover;
}
