/*
Theme Name: Hola Bajo Single Post Child
Theme URI: https://www.holabajo.com/
Description: Hola Bajo child theme focused on the WordPress single post layout. Designed for Hello Elementor without Elementor Pro.
Author: Hola Bajo
Template: hello-elementor
Version: 1.6.0
Text Domain: hola-bajo-single
*/

.hb-single-post {
  --hb-teal:#123f3b;
  --hb-teal-2:#1e5c57;
  --hb-orange:#f28c38;
  --hb-orange-dark:#d96f27;
  --hb-cream:#f6efe6;
  --hb-sand:#fbf8f3;
  --hb-ink:#243735;
  --hb-muted:#6d7b78;
  --hb-border:#e7e1d8;
  --hb-white:#fff;
  color:var(--hb-ink);
  background:#fff;
  font-family:Arial,Helvetica,sans-serif;
  padding-bottom:0;
}
.hb-single-post *{box-sizing:border-box}
.hb-single-post a{color:var(--hb-orange-dark);text-decoration:none}
.hb-single-post a:hover{text-decoration:underline}
.hb-container{width:calc(100% - 40px);max-width:1180px;margin:0 auto}

.hb-hero{position:relative;overflow:hidden;border-radius:0 0 24px 24px;min-height:500px;background:#123f3b}
.hb-hero img{display:block;width:100%;height:500px;object-fit:cover}
.hb-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,31,29,.82) 0%,rgba(4,31,29,.48) 42%,rgba(4,31,29,.08) 78%,rgba(4,31,29,.12) 100%)}
.hb-hero-inner{position:absolute;z-index:2;inset:auto 0 0;padding:42px 0 44px;color:#fff}
.hb-breadcrumb{font-size:13px;line-height:1.5;margin-bottom:22px;opacity:.92}
.hb-breadcrumb a{color:#fff}
.hb-eyebrow{display:inline-flex;align-items:center;background:#fff;color:var(--hb-orange-dark);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;border-radius:999px;padding:7px 12px;margin-bottom:15px}
.hb-post-title{font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,5vw,68px);line-height:1.02;max-width:820px;margin:0;color:#fff}
.hb-subtitle{font-family:Georgia,"Times New Roman",serif;font-size:clamp(18px,2vw,25px);line-height:1.3;margin:12px 0 18px;color:#fff;opacity:.96}
.hb-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:#fff}
.hb-meta span{display:inline-flex;gap:6px;align-items:center}

.hb-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:34px;padding:42px 0 0}
.hb-content{min-width:0}
.hb-content>p:first-child{font-size:19px;line-height:1.75;color:#183f3c}
.hb-content p{font-size:16px;line-height:1.8;margin:0 0 20px}
.hb-content h2{font-family:Georgia,"Times New Roman",serif;color:var(--hb-teal);font-size:34px;line-height:1.18;margin:42px 0 16px}
.hb-content h3{font-family:Georgia,"Times New Roman",serif;color:var(--hb-teal);font-size:25px;margin:32px 0 12px}
.hb-content ul,.hb-content ol{padding-left:22px;margin:0 0 24px}
.hb-content li{margin-bottom:8px;line-height:1.7}
.hb-content img{max-width:100%;height:auto;border-radius:16px}
.hb-content blockquote{margin:28px 0;padding:22px 26px;border-left:4px solid var(--hb-orange);background:var(--hb-sand);border-radius:0 14px 14px 0}
.hb-content .aligncenter{display:block;margin-left:auto;margin-right:auto}
.hb-content .alignwide{width:100%}

.hb-info-row{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}
.hb-info-icon{font-size:17px;color:var(--hb-orange-dark);line-height:1.2}
.hb-info-row strong{display:block;font-size:12px;color:var(--hb-teal);margin-bottom:2px}
.hb-info-row span{display:block;font-size:12px;line-height:1.45;color:#53615f}

.hb-office-map{border-radius:12px;overflow:hidden;margin:12px 0;background:#ddd}
.hb-office-map iframe{display:block;width:100%;height:170px;border:0}
.hb-map-link{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--hb-border);background:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800;color:var(--hb-teal)!important}

.hb-in-content-packages{margin:40px 0}
.hb-in-content-packages h2{margin-top:0}
.hb-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hb-large-package{border:1px solid var(--hb-border);border-radius:16px;overflow:hidden;background:#fff}
.hb-large-package img{width:100%;height:170px;object-fit:cover;display:block}
.hb-large-package-body{padding:16px}
.hb-large-package-body h3{font-size:23px;margin:0 0 7px}
.hb-large-package-body p{font-size:14px;line-height:1.55;margin-bottom:10px}
.hb-link-arrow{font-size:13px;font-weight:800;color:var(--hb-orange-dark)!important}

.hb-tips{margin:36px 0;padding:24px;border-radius:18px;background:var(--hb-cream)}
.hb-tips h2{margin-top:0}
.hb-tips ul{list-style:none;padding:0;margin:0}
.hb-tips li{position:relative;padding-left:29px;margin:0 0 9px}
.hb-tips li::before{content:"✓";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--hb-orange);color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center}

.hb-related{padding:46px 0 0}
.hb-related h2{font-family:Georgia,"Times New Roman",serif;color:var(--hb-teal);font-size:32px;margin:0 0 17px}
.hb-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.hb-related-card{display:block;border:1px solid var(--hb-border);border-radius:14px;overflow:hidden;background:#fff;transition:transform .18s ease,box-shadow .18s ease}
.hb-related-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(18,63,59,.09);text-decoration:none}
.hb-related-card img{display:block;width:100%;height:135px;object-fit:cover}
.hb-related-body{padding:12px}
.hb-related-body strong{display:block;font-family:Georgia,"Times New Roman",serif;color:var(--hb-teal);font-size:17px;line-height:1.2}
.hb-related-body span{display:block;color:var(--hb-muted);font-size:12px;line-height:1.45;margin-top:5px}

.hb-final-cta{margin-top:46px;position:relative;overflow:hidden;border-radius:22px;min-height:240px;background:#123f3b}
.hb-final-cta img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hb-final-cta::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,44,40,.88),rgba(8,44,40,.42))}
.hb-final-inner{position:relative;z-index:2;padding:50px 50px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}
.hb-final-inner h2{font-family:Georgia,"Times New Roman",serif;color:#fff;font-size:39px;line-height:1.1;margin:0 0 9px}
.hb-final-inner p{margin:0;color:#fff;opacity:.9}
.hb-final-inner .hb-whatsapp{white-space:nowrap;min-width:220px}

.hb-note{font-size:12px;color:#73807d;margin-top:12px}
.hb-admin-note{display:none}

@media(max-width:980px){
  .hb-main-grid{grid-template-columns:1fr}
  .hb-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .hb-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .hb-container{width:min(100% - 24px,1180px)}
  .hb-hero{min-height:430px;border-radius:0 0 16px 16px}
  .hb-hero img{height:430px}
  .hb-hero-inner{padding:28px 0 30px}
  .hb-post-title{font-size:40px}
  .hb-subtitle{font-size:18px}
  .hb-meta{gap:10px;font-size:12px}
  .hb-main-grid{padding-top:26px;gap:24px}
  .hb-content>p:first-child{font-size:17px}
  .hb-content h2{font-size:29px;margin-top:32px}
  .hb-sidebar{display:flex}
  .hb-package-grid{grid-template-columns:1fr}
  .hb-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hb-final-inner{display:block;padding:35px 28px}
  .hb-final-inner h2{font-size:31px}
  .hb-final-inner .hb-whatsapp{margin-top:22px;width:100%}
}
@media(max-width:440px){
  .hb-related-grid{grid-template-columns:1fr}
  .hb-hero{min-height:410px}
  .hb-hero img{height:410px}
  .hb-post-title{font-size:35px}
  .hb-eyebrow{font-size:10px}
}

/* ========================================
   HOLA BAJO FLOATING WHATSAPP
   ======================================== */

.hola-whatsapp {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 99999;

	display: flex;
	align-items: center;
	gap: 8px;

	padding: 9px 15px 9px 9px;

	background: #25D366;
	color: #fff !important;

	border-radius: 999px;

	text-decoration: none !important;

	box-shadow: 0 8px 24px rgba(0,0,0,.18);

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


/* Hover */

.hola-whatsapp:hover {
	transform: translateY(-2px);

	box-shadow:
		0 12px 28px rgba(0,0,0,.22);

	color: #fff !important;
}


/* WhatsApp icon circle */

.hola-wa-icon {
	width: 32px !important;
	height: 32px !important;

	display: grid;
	place-items: center;

	border-radius: 50%;

	background: rgba(255,255,255,.16);

	flex: 0 0 32px !important;
}


/* SVG */

.hola-wa-icon svg {
	width: 18px !important;
	height: 18px !important;

	display: block;
}


/* Text */

.hola-wa-text {
	display: flex;
	flex-direction: column;

	line-height: 1.1;
}


/* Main text */

.hola-wa-text strong {
	font-size: 13px;
	font-weight: 800;

	color: #fff !important;
}


/* Small text */

.hola-wa-text small {
	margin-top: 2px;

	font-size: 10px;

	color: rgba(255,255,255,.9) !important;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

	.hola-whatsapp {
		right: 16px;
		bottom: 16px;

		width: 46px !important;
		height: 46px !important;

		padding: 0 !important;

		justify-content: center;
	}


	.hola-wa-icon {
		width: 46px !important;
		height: 46px !important;

		flex: 0 0 46px !important;

		background: transparent;
	}


	.hola-wa-icon svg {
		width: 21px !important;
		height: 21px !important;
	}


	.hola-wa-text {
		display: none;
	}

}

/* ========================================
   SINGLE POST HERO TITLE
   Override Elementor Global H1
   ======================================== */

#primary.hb-single-post .hb-hero h1.hb-post-title {
	color: #ffffff !important;
}

/* ========================================
   TRIP PACKAGES - TWO COLUMN CARDS
   ======================================== */

.hb-package-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 20px;
}


/* CARD */

.hb-package-card {
	position: relative;

	display: block;

	background: #ffffff;

	border: 1px solid #e8e1d8;
	border-radius: 16px;

	overflow: hidden;

	text-decoration: none !important;

	box-shadow: 0 4px 14px rgba(16,47,50,.06);

	transition:
		transform .2s ease,
		box-shadow .2s ease,
		border-color .2s ease;
}


.hb-package-card:hover {
	transform: translateY(-3px);

	border-color: #F28C38;

	box-shadow: 0 10px 25px rgba(16,47,50,.12);
}


/* PHOTO */

.hb-package-image {
	width: 100%;
	height: 145px;

	overflow: hidden;

	background: #dfe8e5;
}


.hb-package-image img {
	width: 100%;
	height: 100%;

	display: block;

	object-fit: cover;

	transition: transform .4s ease;
}


.hb-package-card:hover .hb-package-image img {
	transform: scale(1.05);
}


/* CONTENT */

.hb-package-info {
	padding: 15px 17px 18px;
}


.hb-package-info h3 {
	margin: 0 0 6px;

	color: #102F32 !important;

	font-family:
		Georgia,
		"Times New Roman",
		serif;

	font-size: 21px;

	line-height: 1.1;

	font-weight: 700;
}


.hb-package-info p {
	margin: 0;

	padding-right: 28px;

	color: #6d7b7b !important;

	font-family:
		Arial,
		sans-serif;

	font-size: 11px;

	line-height: 1.5;
}


/* ARROW */

.hb-package-arrow {
	position: absolute;

	right: 14px;
	bottom: 15px;

	width: 28px;
	height: 28px;

	display: grid;
	place-items: center;

	border: 1px solid #d9d3ca;

	border-radius: 50%;

	color: #F28C38;

	font-size: 14px;
	font-weight: 700;

	transition:
		background .2s ease,
		color .2s ease,
		border-color .2s ease;
}


.hb-package-card:hover .hb-package-arrow {
	background: #F28C38;

	border-color: #F28C38;

	color: #ffffff;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

	.hb-package-list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.hb-package-image {
		height: 170px;
	}

	.hb-package-info h3 {
		font-size: 19px;
	}

}

/* =========================================================
   HOLA BAJO — SINGLE POST SIDEBAR FINAL
   ========================================================= */

.hb-sidebar-final {
    width: 100%;
    box-sizing: border-box;
    color: #102F32;
    font-family: Arial, Helvetica, sans-serif;
}

.hb-sidebar-final *,
.hb-sidebar-final *::before,
.hb-sidebar-final *::after {
    box-sizing: border-box;
}


/* =========================
   SIDEBAR BOX
   ========================= */

.hb-sidebar-final .hb-side-box {
    width: 100%;
    margin: 0 0 16px;
    padding: 20px 19px;
    background: #faf8f4;
    border: 1px solid #e5ded5;
    border-radius: 16px;
}

.hb-sidebar-final .hb-side-box:last-child {
    margin-bottom: 0;
}


/* =========================
   HEADING
   ========================= */

.hb-sidebar-final .hb-side-title {
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #102F32 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
}


/* =========================
   DESCRIPTION
   ========================= */

.hb-sidebar-final .hb-side-text {
    margin: 0 0 14px !important;
    padding: 0 !important;

    color: #405354 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
}


/* =========================
   WHATSAPP BUTTON
   ========================= */

.hb-sidebar-final .hb-book-button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 42px;

    padding: 10px 14px;

    background: #F28C38 !important;
    color: #fff !important;

    border: 0;
    border-radius: 50px;

    text-decoration: none !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center;

    transition: all .2s ease;
}

.hb-sidebar-final .hb-book-button:hover {
    background: #e77d29 !important;
    color: #fff !important;
    transform: translateY(-2px);
}


/* =========================
   PACKAGE LIST
   ========================= */

.hb-sidebar-final .hb-package-list {
    display: flex;
    flex-direction: column;
    gap: 9px;

    width: 100%;
}


/* =========================
   PACKAGE CARD
   ========================= */

.hb-sidebar-final .hb-package-card {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 82px;

    padding: 8px;

    background: #fff;

    border: 1px solid #e5ded5;
    border-radius: 13px;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.hb-sidebar-final .hb-package-card:hover {
    transform: translateY(-2px);
    border-color: #F28C38;
    box-shadow: 0 7px 16px rgba(16,47,50,.08);
}


/* =========================
   PACKAGE IMAGE
   ========================= */

.hb-sidebar-final .hb-package-image {
    flex: 0 0 69px;

    width: 69px;
    height: 69px;

    margin-right: 11px;

    overflow: hidden;

    border-radius: 9px;

    background: #e7e2db;
}

.hb-sidebar-final .hb-package-image img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border: 0 !important;

    transition: transform .35s ease;
}

.hb-sidebar-final .hb-package-card:hover
.hb-package-image img {
    transform: scale(1.06);
}


/* =========================
   PACKAGE CONTENT
   ========================= */

.hb-sidebar-final .hb-package-content {
    flex: 1 1 auto;
    min-width: 0;

    padding-right: 30px;
}

.hb-sidebar-final .hb-package-name {
    margin: 0 0 5px !important;
    padding: 0 !important;

    color: #102F32 !important;

    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.hb-sidebar-final .hb-package-description {
    margin: 0 !important;
    padding: 0 !important;

    color: #687675 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}


/* =========================
   PACKAGE ARROW
   ========================= */

.hb-sidebar-final .hb-package-arrow {
    position: absolute;

    right: 9px;
    top: 50%;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid #ddd5cc;
    border-radius: 50%;

    background: #fff;

    color: #F28C38 !important;

    font-family: Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    transition: all .2s ease;
}

.hb-sidebar-final .hb-package-card:hover
.hb-package-arrow {
    background: #F28C38;
    border-color: #F28C38;
    color: #fff !important;
}


/* =========================
   QUICK INFORMATION
   ========================= */

.hb-sidebar-final .hb-info-list {
    display: flex;
    flex-direction: column;
    gap: 13px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.hb-sidebar-final .hb-info-item {
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr);
    column-gap: 8px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.hb-sidebar-final .hb-info-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 1px;

    color: #F28C38 !important;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1;
}

.hb-sidebar-final .hb-info-content {
    min-width: 0;
}

.hb-sidebar-final .hb-info-label {
    display: block;

    margin: 0 0 3px !important;
    padding: 0 !important;

    color: #102F32 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.hb-sidebar-final .hb-info-value {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    color: #536363 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .hb-sidebar-final .hb-side-box {
        padding: 18px 17px;
        border-radius: 15px;
    }

    .hb-sidebar-final .hb-side-title {
        font-size: 21px !important;
    }

    .hb-sidebar-final .hb-package-image {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
    }
}

/* =========================================================
   HOLA BAJO SINGLE POST — MOBILE BASELINE FIX
   v6: keeps v1 design, fixes article overflow on phones.
   ========================================================= */

html,
body {
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

#primary.hb-single-post,
.hb-single-post {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.hb-single-post *,
.hb-single-post *::before,
.hb-single-post *::after {
  box-sizing: border-box;
}

.hb-single-post .hb-container {
  width: calc(100% - 40px);
  max-width: 1180px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

.hb-single-post .hb-main-grid {
  min-width: 0;
}

.hb-single-post .hb-content,
.hb-single-post .hb-sidebar,
.hb-single-post .hb-in-content-packages,
.hb-single-post .hb-tips,
.hb-single-post .hb-related,
.hb-single-post .hb-final-cta {
  min-width: 0;
  max-width: 100%;
}

.hb-single-post .hb-content > * {
  max-width: 100%;
}

.hb-single-post img,
.hb-single-post video,
.hb-single-post iframe,
.hb-single-post embed,
.hb-single-post object,
.hb-single-post svg {
  max-width: 100%;
}

.hb-single-post .hb-content img {
  width: auto;
  height: auto;
}

.hb-single-post iframe {
  max-width: 100%;
}

.hb-single-post pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
}

.hb-single-post table {
  max-width: 100%;
}

.hb-single-post a {
  overflow-wrap: anywhere;
}

/* Hero never exceeds viewport */
.hb-single-post .hb-hero,
.hb-single-post .hb-hero-inner,
.hb-single-post .hb-hero img {
  max-width: 100%;
}

@media (max-width: 767px) {

  .hb-single-post {
    overflow-x: hidden !important;
  }

  .hb-single-post .hb-container {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hb-single-post .hb-main-grid {
    display: block !important;
    width: 100% !important;
    padding-top: 24px !important;
  }

  .hb-single-post .hb-content,
  .hb-single-post .hb-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hb-single-post .hb-content {
    overflow-wrap: break-word;
  }

  .hb-single-post .hb-content p,
  .hb-single-post .hb-content li {
    max-width: 100%;
  }

  .hb-single-post .hb-content h2 {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.15 !important;
  }

  .hb-single-post .hb-content h3 {
    font-size: clamp(22px, 6vw, 27px) !important;
    line-height: 1.2 !important;
  }

  .hb-single-post .hb-post-title {
    max-width: 100% !important;
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.02 !important;
  }

  .hb-single-post .hb-subtitle {
    max-width: 100% !important;
    font-size: 17px !important;
  }

  .hb-single-post .hb-meta {
    max-width: 100%;
  }

  .hb-single-post .hb-trip-packages-v2,
  .hb-single-post .hb-package-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hb-single-post .hb-trip-packages-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-card,
  .hb-single-post .hb-package-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-title,
  .hb-single-post .hb-trip-packages-v2 .hb-trip-description {
    overflow-wrap: anywhere;
  }

  .hb-single-post .hb-final-inner {
    max-width: 100%;
  }

  .hb-single-post .hb-final-inner .hb-whatsapp {
    max-width: 100%;
    white-space: normal;
  }
}

@media (max-width: 420px) {

  .hb-single-post .hb-container {
    width: calc(100% - 20px) !important;
  }

  .hb-single-post .hb-hero {
    min-height: 400px !important;
  }

  .hb-single-post .hb-hero img {
    height: 400px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .hb-single-post .hb-hero-inner {
    padding-bottom: 24px !important;
  }

  .hb-single-post .hb-post-title {
    font-size: 34px !important;
  }

  .hb-single-post .hb-trip-packages-v2 {
    gap: 8px !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-image {
    height: 100px !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-content {
    padding: 10px 31px 12px 10px !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-title {
    font-size: 15px !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-description {
    font-size: 8.5px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 340px) {

  .hb-single-post .hb-container {
    width: calc(100% - 16px) !important;
  }

  .hb-single-post .hb-trip-packages-v2 {
    grid-template-columns: 1fr !important;
  }

  .hb-single-post .hb-trip-packages-v2 .hb-trip-image {
    height: 130px !important;
  }
}



/* =========================================================
   HOLA BAJO — MOBILE SPACING + SIDEBAR STACK FIX
   ========================================================= */
@media (max-width: 767px) {

  .hb-single-post .hb-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hb-single-post .hb-content {
    min-width: 0 !important;
    width: 100% !important;
  }

  .hb-single-post .hb-content p {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
  }

  .hb-single-post .hb-content h2 {
    margin-top: 38px !important;
    margin-bottom: 18px !important;
  }

  .hb-single-post .hb-content h3 {
    margin-top: 30px !important;
    margin-bottom: 14px !important;
  }

  /* Sidebar must become a single vertical column on phones */
  .hb-single-post .hb-main-grid {
    display: block !important;
    width: 100% !important;
  }

  .hb-single-post .hb-sidebar {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 24px !important;
    margin-top: 40px !important;
  }

  .hb-single-post .hb-sidebar > *,
  .hb-single-post .hb-sidebar .hb-card,
  .hb-single-post .hb-sidebar .hb-sidebar-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Plan Your Labuan Bajo Trip */
  .hb-single-post .hb-sidebar .hb-card {
    padding: 22px !important;
  }

  .hb-single-post .hb-sidebar h3,
  .hb-single-post .hb-sidebar h4 {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* Package items stay inside one package card */
  .hb-single-post .hb-sidebar .hb-package,
  .hb-single-post .hb-sidebar .hb-package-list {
    width: 100% !important;
    min-width: 0 !important;
  }

  .hb-single-post .hb-sidebar .hb-package {
    display: grid !important;
    grid-template-columns: 76px minmax(0,1fr) 28px !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .hb-single-post .hb-sidebar .hb-package img {
    width: 76px !important;
    max-width: 76px !important;
    height: 62px !important;
    object-fit: cover !important;
  }

  .hb-single-post .hb-sidebar .hb-package strong,
  .hb-single-post .hb-sidebar .hb-package small {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .hb-single-post .hb-sidebar .hb-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .hb-single-post .hb-sidebar .hb-info > * {
    min-width: 0 !important;
  }

  .hb-single-post .hb-sidebar iframe,
  .hb-single-post .hb-sidebar img {
    max-width: 100% !important;
  }

  .hb-single-post .hb-final {
    margin-top: 48px !important;
  }

  .hb-single-post .hb-related {
    margin-top: 48px !important;
  }

  .hb-single-post .hb-related-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

@media (max-width: 380px) {
  .hb-single-post .hb-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hb-single-post .hb-sidebar {
    gap: 20px !important;
    margin-top: 32px !important;
  }

  .hb-single-post .hb-sidebar .hb-card {
    padding: 18px !important;
  }

  .hb-single-post .hb-content p {
    margin-bottom: 22px !important;
  }
}



/* =========================================================
   HOLA BAJO — RELATED DESTINATIONS WIDTH / DESKTOP ALIGNMENT
   Match the centered, compact layout of the approved reference.
   ========================================================= */
.hb-single-post .hb-related {
  width: calc(100% - 40px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hb-single-post .hb-related-grid {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 13px !important;
}

.hb-single-post .hb-related-card {
  min-width: 0 !important;
  width: 100% !important;
}

.hb-single-post .hb-related-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 135px !important;
  object-fit: cover !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .hb-single-post .hb-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Phone */
@media (max-width: 767px) {
  .hb-single-post .hb-related {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 42px !important;
  }

  .hb-single-post .hb-related h2 {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin-bottom: 18px !important;
  }

  .hb-single-post .hb-related-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .hb-single-post .hb-related-card img {
    height: 180px !important;
  }
}
