/*
Theme Name: Loco Homestay
Theme URI: https://locohomestay.com
Author: Loco Homestay
Description: Theme code tay tối giản cho Loco Homestay (CPT Room + booking link).
Version: 1.0
Text Domain: locohomestay
*/

:root{
  --bg: #f7f4ee;
  --card: #ffffff;
  --text: #1b1b1b;
  --muted: #6b6b6b;
  --border: rgba(0,0,0,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 16px;
  --cta: #e7d4a5; /* be/vàng nhẹ */
  --ctaText: #1b1b1b;
  --max: 1200px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 240px;
}
.brand .logo{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e7d4a5, #f2ead7);
  border: 1px solid var(--border);
}
.brand .title{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
  line-height: 1.2;
}
.brand .subtitle{
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 16px;
  flex: 1;
}
.nav a{
  font-size: 14px;
  color: #222;
  padding: 10px 10px;
  border-radius: 10px;
}
.nav a {
    font-size: 14px;
    color: #222;
    padding: 10px 12px;
    border-radius: 999px;
    transition: all .2s ease;
}

.nav a:hover {
    background: var(--cta);
    color: #1b1b1b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width: 240px;
}

/* CTA + contacts popup */
.cta-wrap{
  position: relative;
}
.cta-btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cta);
  color: var(--ctaText);
  font-weight: 700;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.cta-btn:hover{ filter: brightness(0.98); }

.contacts-pop{
  position:absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  display:none;
}
.contacts-pop.is-open{ display:block; }
.contacts-pop .pop-title{
  font-weight: 800;
  font-size: 13px;
  margin: 4px 0 8px;
}
.contacts-pop a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  font-weight: 700;
}
.contacts-pop a:hover{
  background: rgba(0,0,0,.03);
}

/* Mobile nav */
.burger{
  display:none;
  border: 1px solid var(--border);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.mobile-nav{
  display:none;
  border-top: 1px solid var(--border);
  background:#fff;
}
.mobile-nav .mobile-links{
  display:flex;
  flex-direction:column;
  gap: 6px;
  padding: 12px 16px 16px;
}
.mobile-nav a{
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* ===== Hero ===== */
.hero{
  padding: 18px 0 8px;
}
.hero-card{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-card img{
  width: 100%;
  height: clamp(220px, 40vw, 420px);
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}


/* ===== Section ===== */
.section{
  padding: 22px 0;
}
.section-head{
  text-align:center;
  margin-bottom: 14px;
}
.section-head h2{
  margin: 0;
  font-size: 20px;
  letter-spacing: .2px;
}
.section-head p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  min-height: 100%;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.card-media{
  position:relative;
  overflow:hidden;
}
.card-media img{
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.badge{
  position:absolute;
  left: 10px;
  top: 10px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 800;
}

.card-body{
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  flex: 1;
}
.card-title{
  font-weight: 900;
  font-size: 14px;
  margin:0;
}
.price{
  font-weight: 900;
  color:#222;
  font-size: 14px;
}
.meta{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.meta .dot{
  width: 5px;
  height: 5px;
  background: rgba(0,0,0,.2);
  border-radius: 999px;
  margin-top: 7px;
}

.card-actions{
  padding: 0 12px 12px;
}
.book-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e7e7e7;
    background: #fff;
    color: #222;
    font-weight: 800;
    transition: all .25s ease;
}

.book-btn:hover {
    background: linear-gradient(135deg, #FF385C, #E61E4D);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(230, 30, 77, 0.28);
    transform: translateY(-1px);
}
.book-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.18);
}
/* Gallery thumbnails (optional) */
.room-gallery{
  display:flex;
  gap: 8px;
  overflow:auto;
  padding-bottom: 4px;
}
.room-gallery img{
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}

/* ===== Footer ===== */
.site-footer{
  margin-top: 26px;
  padding: 18px 0 26px;
  background:#fff;
  border-top: 1px solid var(--border);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  align-items:flex-start;
  flex-wrap: wrap;
}
.footer-inner .small{
  color: var(--muted);
  font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .brand{ min-width:auto; }
  .header-actions{ min-width:auto; }
}

@media (max-width: 768px){
  .nav{ display:none; }
  .burger{ display:inline-flex; }
  .mobile-nav.is-open{ display:block; }
  .header-actions{ gap: 10px; }
  .grid{ grid-template-columns: 1fr; }
}
.card-media {
    position: relative;
}
.badge {
    position: absolute;
    top: 16px;
    left: 16px;

    background: linear-gradient(135deg, #f7e7c6, #e3c27d);
    color: #3b2d20;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    padding: 6px 16px;
    border-radius: 999px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);

    border: 1px solid rgba(255, 255, 255, 0.6);
}
@keyframes locoPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255,56,92,0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255,56,92,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255,56,92,0);
  }
}

@media (max-width:768px){
  .book-btn{
    animation: locoPulse 2.8s infinite;
  }
}
@keyframes locoPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 56, 92, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 56, 92, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 56, 92, 0);
    }
}

@media (max-width:768px) {
    .book-btn {
        animation: locoPulse 2.8s infinite;
    }
}
.site-footer{
  margin-top:60px;
  padding:40px 0;
  background: linear-gradient(180deg,#fbf8f3,#f1ebe2);
  border-top:1px solid rgba(0,0,0,.06);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.footer-brand strong{
  font-size:20px;
}

.footer-social{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-social a{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#444;
}

.icon{
  width:28px;
  height:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:14px;
}

.icon.fb{
  background:#1877f2;
  color:#fff;
}

.icon.zalo{
  background:#0a7cff;
  color:#fff;
}

.copyright{
  font-size:12px;
  color:#777;
}

.sparkles{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.sparkle{
  position: absolute;
  color: rgba(255,255,255,0.98);
  font-size: 24px;
  line-height: 1;
  text-shadow:
    0 0 6px rgba(255,255,255,0.8),
    0 0 14px rgba(255,255,255,0.55);
  animation: sparkle 2.2s infinite ease-in-out;
}

@keyframes sparkle{
  0%{ opacity: 0.25; transform: scale(0.8); }
  50%{ opacity: 1; transform: scale(1.2); }
  100%{ opacity: 0.25; transform: scale(0.8); }
}
@media (max-width: 768px){
  .sparkles{
    display:none;
  }
}
.site-sparkles{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body{
  position: relative;
}

.site-sparkle{
  position: absolute;
  color: rgba(237, 184, 76, 0.9);   /* vàng đậm */
  line-height: 1;
  text-shadow:
      0 0 6px rgba(214,175,95,0.7),
    0 0 16px rgba(214,175,95,0.45),
    0 0 26px rgba(214,175,95,0.25);
  animation: locoSiteSparkle ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes locoSiteSparkle{
  0%{
    opacity: 0.08;
    transform: scale(.8);
  }
  50%{
    opacity: 0.55;
    transform: scale(1.18);
  }
  100%{
    opacity: 0.08;
    transform: scale(.8);
  }
}
.site-header,
.hero,
.section,
.site-footer,
main{
  position: relative;
  z-index: 1;
}
@media (max-width:768px){
  .site-sparkles{
    display:none;
  }
}

/* ===== ⚡ Nút Header Phòng Trống Hôm Nay & Popup Modal ===== */
.btn-today-header {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #10b981;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.15);
  transition: all .2s ease;
  margin-right: 8px;
}
.btn-today-header:hover {
  background: #f0fdf4;
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25);
  color: #047857;
}
.btn-today-header .btn-today-icon {
  font-size: 14px;
  animation: pulseBolt 1.8s infinite;
}
@keyframes pulseBolt {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.btn-today-header .btn-today-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.badge-green {
  background: #10b981;
  color: #ffffff;
}
.badge-gray {
  background: #e2e8f0;
  color: #64748b;
}

.btn-today-header.mobile {
  display: flex;
  margin: 0 0 12px 0;
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .btn-today-header:not(.mobile) {
    display: none;
  }
}

/* Modal Popup: ⚡ Phòng Trống Hôm Nay */
.loco-today-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn .2s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.loco-today-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.loco-today-modal-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-title-wrap .bolt {
  font-size: 20px;
  color: #f59e0b;
}
.modal-title-wrap h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.loco-today-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.loco-today-modal-close:hover {
  color: #0f172a;
}
.loco-today-modal-body {
  padding: 20px 22px;
  overflow-y: auto;
}
.modal-avail-lead {
  font-size: 14px;
  color: #047857;
  background: #ecfdf5;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.modal-avail-empty {
  text-align: center;
  padding: 10px 0;
}
.modal-avail-empty .empty-emoji {
  font-size: 40px;
  margin-bottom: 10px;
}
.modal-avail-empty h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: #92400e;
}
.modal-avail-empty p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}
.modal-avail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.modal-avail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  transition: all .15s ease;
}
.modal-avail-item:hover {
  background: #f1f5f9;
}
.avail-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.avail-info {
  flex: 1;
  min-width: 0;
}
.avail-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.avail-price {
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
}
.avail-book-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.avail-book-btn:hover {
  background: #1e293b;
  color: #fff;
}

/* ===== 📝 TỐI ƯU CSS TRANG BLOG (Rank Math SEO) ===== */
.blog-header-section {
  background: #ffffff;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}
.loco-breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.loco-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  transition: color .2s ease;
}
.loco-breadcrumbs a:hover {
  color: #0f172a;
  text-decoration: underline;
}
.loco-breadcrumbs span.separator {
  margin: 0 6px;
  color: #cbd5e1;
}
.blog-hero-text .blog-main-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 0 0 8px;
  color: #0f172a;
}
.blog-hero-text .blog-main-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  max-width: 650px;
  line-height: 1.6;
}
.blog-categories-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.cat-pill:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}
.cat-pill.is-active {
  background: var(--cta);
  color: #1b1b1b;
  border-color: var(--cta);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* Blog Grid Listing */
.blog-section {
  padding: 32px 0 60px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0,0,0,.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.blog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}
.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.blog-card-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-meta .dot {
  color: #cbd5e1;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color .2s ease;
}
.blog-card-title a:hover {
  color: #d97706;
}
.blog-card-excerpt {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card-footer {
  border-top: 1px solid #f8fafc;
  padding-top: 12px;
}
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: color .2s ease;
}
.blog-read-more:hover {
  color: #0369a1;
}

/* Pagination */
.blog-pagination {
  margin-top: 32px;
  text-align: center;
}
.blog-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
}
.blog-pagination .page-numbers {
  padding: 7px 13px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}
.blog-pagination .page-numbers.current {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Single Post Detail */
.post-detail-section {
  padding: 24px 0 60px;
}
.post-layout-container {
  max-width: 780px;
  margin: 0 auto;
}
.loco-article-wrap {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.03);
  padding: 32px 36px;
}
.post-header-box {
  margin-bottom: 22px;
}
.post-cat-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.post-hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px;
  color: #0f172a;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
}
.post-featured-media {
  margin: 0 -36px 26px;
  overflow: hidden;
  max-height: 440px;
}
.post-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-body-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #1e293b;
}
.post-body-content h2 {
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin: 30px 0 14px;
  border-left: 4px solid var(--cta);
  padding-left: 12px;
}
.post-body-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin: 22px 0 10px;
}
.post-body-content p {
  margin: 0 0 16px;
}
.post-body-content ul,
.post-body-content ol {
  margin: 0 0 20px 20px;
  padding-left: 8px;
}
.post-body-content li {
  margin-bottom: 8px;
}
.post-body-content blockquote {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  margin: 22px 0;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #334155;
}
.author-bio-card {
  margin-top: 36px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.author-bio-card .bio-avatar {
  font-size: 26px;
  width: 44px;
  height: 44px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-bio-card .bio-details strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 3px;
}
.author-bio-card .bio-details p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.post-cta-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 22px 26px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.post-cta-banner h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #fde68a;
}
.post-cta-banner p {
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}
.cta-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all .2s ease;
  flex-shrink: 0;
}
.cta-action-btn:hover {
  background: #059669;
  color: #fff;
}
.related-posts-section {
  margin-top: 36px;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}
.related-posts-section .related-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #0f172a;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-card {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .15s ease;
}
.related-card:hover {
  transform: translateY(-2px);
}
.related-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.related-card-info {
  padding: 10px;
}
.related-card-info h4 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-info time {
  font-size: 11px;
  color: #94a3b8;
}

/* ===== ⚓ TỐI ƯU CSS FOOTER TINH TẾ, GỌN GÀNG ===== */
.site-footer {
  margin-top: 36px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 30px 0 20px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.2fr;
  gap: 28px;
  align-items: flex-start;
}
.footer-brand strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0f172a;
  display: block;
  margin-bottom: 2px;
}
.footer-brand .small {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.footer-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  max-width: 320px;
}
.footer-col-title {
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #0f172a;
  margin-bottom: 10px;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu li a {
  font-size: 13px;
  color: #475569;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s ease;
  display: inline-block;
}
.footer-menu li a:hover {
  color: #0f172a;
  transform: translateX(2px);
}
.footer-menu li a.blog-link-badge {
  color: #0284c7;
  font-weight: 700;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-social a:hover {
  color: #0284c7;
}
.footer-social .icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.footer-social .icon.zalo { background: #0068ff; }
.footer-social .icon.fb { background: #1877f2; }
.footer-social .icon.airbnb { background: #ff385c; }

.footer-bottom {
  margin-top: 22px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .small {
  color: var(--muted);
  font-size: 12px;
}
.footer-sublinks a {
  color: #64748b;
  text-decoration: none;
}
.footer-sublinks a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .loco-article-wrap {
    padding: 24px 18px;
  }
  .post-featured-media {
    margin: 0 -18px 18px;
  }
  .post-hero-title {
    font-size: 22px;
  }
  .post-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== ⚡ Hero SEO Title & Subtitle ===== */
.hero-intro-seo {
  margin-top: 24px;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .hero-intro-seo {
    margin-top: 18px;
  }
  .hero-title {
    font-size: 20px;
  }
  .hero-subtitle {
    font-size: 13.5px;
  }
}

/* ===== 📞 Widget Nút Liên Hệ Nổi (Floating Contact Buttons) ===== */
.loco-floating-widget {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.floating-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

.floating-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* 1. Nút Lịch trống hôm nay */
.floating-avail {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  font-size: 20px;
}

/* 2. Nút Gọi Hotline */
.floating-call {
  background: linear-gradient(135deg, #10b981, #059669);
  animation: gentleShake 4.5s infinite;
}

@keyframes gentleShake {
  0%, 85%, 100% { transform: rotate(0deg); }
  87% { transform: rotate(-12deg); }
  89% { transform: rotate(12deg); }
  91% { transform: rotate(-8deg); }
  93% { transform: rotate(8deg); }
  95% { transform: rotate(0deg); }
}

/* 3. Nút Chat Zalo (Nổi bật nhất) */
.floating-zalo {
  background: #0068ff;
  width: 52px;
  height: 52px;
}

.f-zalo-txt {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.f-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 104, 255, 0.6);
  animation: zaloPulse 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes zaloPulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* 4. Nút Lên đầu trang */
.floating-totop {
  background: #ffffff;
  color: #334155;
  width: 38px;
  height: 38px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}
.floating-totop:hover {
  background: #0f172a;
  color: #ffffff;
}

/* Tooltip hiển thị khi hover trên máy tính */
.f-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.f-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

@media (min-width: 769px) {
  .floating-btn:hover .f-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 768px) {
  .f-tooltip {
    display: none;
  }
  .loco-floating-widget {
    right: 14px;
    bottom: 18px;
    gap: 10px;
  }
  .floating-btn {
    width: 44px;
    height: 44px;
  }
  .floating-zalo {
    width: 48px;
    height: 48px;
  }
  .floating-totop {
    width: 36px;
    height: 36px;
  }
}

/* =====================================================================
   FIX 2026-11-12: popup "Lịch trống hôm nay", header & hero trên mobile
   ===================================================================== */

/* Popup lịch trống: nút "Đặt phòng" kế thừa .book-btn (width:100%) làm phần
   thông tin phòng bị ép về 0px. Trả nút về kích thước tự nhiên. */
.loco-today-modal-body { overflow-x: hidden; }
.modal-avail-item .avail-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
  animation: none;
  box-shadow: none;
  transform: none;
}
.modal-avail-item .avail-book-btn:hover {
  background: linear-gradient(135deg, #FF385C, #E61E4D);
  color: #fff;
  box-shadow: 0 6px 16px rgba(230, 30, 77, 0.25);
}
.modal-avail-item .avail-info h4 { font-size: 15px; }
.modal-avail-item .avail-price { line-height: 1.4; }

@media (max-width: 420px) {
  .loco-today-modal-body { padding: 16px; }
  .modal-avail-item { flex-wrap: wrap; }
  .modal-avail-item .avail-info { flex: 1 1 calc(100% - 70px); }
  .modal-avail-item .avail-book-btn { width: 100%; padding: 10px 16px; }
}

/* Header mobile: tránh nút "Liên hệ ngay" và phụ đề bị xuống dòng */
@media (max-width: 480px) {
  .header-inner { gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .brand > div:last-child { min-width: 0; }
  .brand .title { white-space: nowrap; font-size: 13px; }
  .brand .subtitle { display: none; }
  .header-actions { gap: 8px; flex: 0 0 auto; }
  .cta-btn { white-space: nowrap; padding: 9px 12px; font-size: 13px; }
}

/* Hero mobile: hiện trọn banner (có chữ) thay vì cắt 2 bên */
@media (max-width: 600px) {
  .hero-card img {
    height: auto;
    aspect-ratio: 1920 / 691;
    object-fit: cover;
  }
}
