/* ============================================
   ATTRACTIONS BLOG VIEW STYLES - Modern Post Layout
   ============================================ */

/* Floating Back Button & Top Overlay Badges */
.blog-back-btn {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.blog-back-btn:hover {
  background: var(--first-color, #e07b33);
  border-color: var(--first-color, #e07b33);
  color: white;
  transform: translateX(-3px);
  box-shadow: 0 6px 18px rgba(224, 123, 51, 0.35);
}

.blog-back-btn i {
  font-size: 0.9rem;
}

/* Layout Container */
.attraction-page-wrapper {
  padding-top: 90px;
  padding-bottom: 80px;
  background-color: #f8fafc;
  min-height: 100vh;
}

.attraction-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

/* Main Content Card */
.attraction-main {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  min-height: calc(100vh + 300px);
}

.attraction-hero {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.attraction-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.attraction-main:hover .attraction-hero-img {
  transform: scale(1.03);
}

.attraction-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 35%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.25rem;
}

/* Category Badge & Color Tokens */
.category-beach,
.sidebar-category.beach {
  background: #0891b2 !important;
  color: #ffffff !important;
}

.category-nature,
.sidebar-category.nature {
  background: #059669 !important;
  color: #ffffff !important;
}

.category-wildlife,
.sidebar-category.wildlife {
  background: #f59e0b !important;
  color: #ffffff !important;
}

.category-culture,
.sidebar-category.culture {
  background: #7c3aed !important;
  color: #ffffff !important;
}

.attraction-badge {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Header & Meta */
.attraction-header {
  padding: 2.5rem 2.5rem 1.5rem;
}

.attraction-meta-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.attraction-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
}

.attraction-read-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #64748b;
  font-size: 0.875rem;
}

.attraction-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.attraction-subtitle {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.attraction-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--first-color, #e07b33);
}

.author-name-text {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.author-role-text {
  font-size: 0.8rem;
  color: #64748b;
}

.attraction-share-btns {
  display: flex;
  gap: 0.5rem;
}

.share-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.share-icon-btn:hover {
  background: var(--first-color, #e07b33);
  border-color: var(--first-color, #e07b33);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Villa to Destination Quick Travel Bar */
.villa-destination-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.vdb-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.vdb-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.vdb-icon.location-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.vdb-icon.season-icon {
  background: #fef3c7;
  color: #d97706;
}

.vdb-icon.transport-icon {
  background: #ecfdf5;
  color: #059669;
}

.vdb-icon.perk-icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.vdb-content {
  display: flex;
  flex-direction: column;
}

.vdb-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.vdb-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

@media (min-width: 860px) {
  .villa-destination-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem 2rem;
  }
}

/* Content Body */
.attraction-body {
  padding: 0 2.5rem 2.5rem;
}

.attraction-section {
  margin-bottom: 2rem;
}

.attraction-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

.attraction-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1rem;
}

/* Highlight Box */
.attraction-highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10b981;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
}

.attraction-highlight-box h3 {
  font-size: 1.15rem;
  color: #065f46;
  margin-bottom: 0.4rem;
}

.attraction-highlight-box p {
  font-size: 0.975rem;
  color: #1e293b;
  margin: 0;
  line-height: 1.6;
}

/* Tips Box */
.attraction-tips-box {
  background: #f1f5f9;
  padding: 1.75rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.attraction-tips-box h3 {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.attraction-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.attraction-tips-list li {
  font-size: 0.975rem;
  color: #334155;
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid #e2e8f0;
}

.attraction-tips-list li:last-child {
  border-bottom: none;
}

.attraction-tips-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

/* CTA Box */
.attraction-cta-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1.25rem;
  padding: 2.5rem;
  color: #ffffff;
  text-align: center;
  margin: 2.5rem 0;
}

.attraction-cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.attraction-cta-box p {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.attraction-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--first-color, #e07b33);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: #c96724;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224, 123, 51, 0.4);
}

.btn-cta-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-map:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Sidebar - Clean Fixed Sticky Layout matching CUTOURSSLA */
.attraction-sidebar {
  position: sticky;
  top: 95px;
  height: fit-content;
  max-height: calc(100vh - 115px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}

.sidebar-sticky-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-sticky-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1.25rem;
  padding: 1.25rem;
  color: white;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
  flex-shrink: 0;
  text-align: center;
}

.sidebar-sticky-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.sidebar-sticky-info p {
  font-size: 0.75rem;
  opacity: 0.9;
  margin: 0;
}

.sidebar-banner-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0.75rem 0;
  border: none;
}

.sidebar-banner-footer {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 500;
}

.sidebar-banner-footer .footer-emoji {
  font-size: 0.85rem;
}

.sidebar-card-box {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  max-height: calc(100vh - 250px);
  overflow: hidden;
}

.sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-scroll-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #0891b2 #f1f5f9;
}

.sidebar-scroll-container::-webkit-scrollbar {
  width: 5px;
}

.sidebar-scroll-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.sidebar-scroll-container::-webkit-scrollbar-thumb {
  background: #0891b2;
  border-radius: 10px;
}

/* CU Tours Vertical Sidebar Cards */
.sidebar-card {
  display: block;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  background: #ffffff;
  position: relative;
  text-decoration: none;
  border: 1px solid #f1f5f9;
}

.sidebar-card:hover,
.sidebar-card.active {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--first-color, #e07b33);
}

.sidebar-card-img-box {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.sidebar-card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sidebar-card:hover .sidebar-card-img-box img {
  transform: scale(1.05);
}

.sidebar-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.sidebar-card-content {
  padding: 0.9rem 1rem 1rem;
}

.sidebar-card-content h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.sidebar-card-content p {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--first-color, #e07b33);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .attraction-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .attraction-sidebar {
    position: static;
    height: auto;
    max-height: none;
  }

  .sidebar-card-box {
    height: auto;
    max-height: none;
  }

  .sidebar-scroll-container {
    max-height: 480px;
  }
}

/* Tablet (2 columns for 'You May Also Like' cards) */
@media (min-width: 568px) and (max-width: 992px) {
  .sidebar-scroll-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .sidebar-card {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .attraction-container {
    padding: 0 0.5rem;
  }

  .attraction-hero {
    height: 280px;
  }

  .attraction-hero-overlay {
    padding: 0.85rem;
  }

  .attraction-header {
    padding: 1.25rem 0.85rem 1rem;
  }

  .attraction-body {
    padding: 0 0.85rem 1.25rem;
  }

  .attraction-title {
    font-size: 1.75rem;
  }

  .blog-back-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .attraction-badge {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 440px) {
  .btn-cta-map {
    padding: 0.65rem 1.25rem;
    border-radius: 1.25rem;
    align-items: center;
  }

  .btn-cta-map .cta-subtext {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 0.15rem;
  }
}

/* ============================================
   ATTRACTIONS DIRECTORY HUB PAGE STYLES (/attractions)
   ============================================ */

.attractions-hub-hero {
  position: relative;
  min-height: 480px;
  padding: 140px 1.5rem 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.36) 0%, rgba(30, 41, 59, 0.41) 100%),
    url('/assets/img/hero/tours-hero-optimized.webp') center/cover no-repeat;
  overflow: hidden;
  text-align: center;
}

.attractions-hub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: heroPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

.hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.11);
  pointer-events: none;
}

.hub-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  color: #ffffff;
  animation: heroFadeInUp 0.8s ease-out;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.35rem;
  border-radius: 9999px;
  font-size: clamp(0.78rem, 2.5vw, 0.875rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  letter-spacing: 0.5px;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  box-sizing: border-box;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hub-hero-badge i {
  color: #fbbf24;
  font-size: 1.1rem;
}

.hub-hero-title {
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: #ffffff;
  font-family: inherit;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hub-hero-title .gradient-text {
  display: inline-block;
  color: #00a699;
  background: linear-gradient(135deg, #00ffe5 0%, #00ffea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.hub-hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75), 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hub-hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.75rem;
  cursor: pointer;
  animation: heroBounce 2s infinite;
  z-index: 3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hub-hero-scroll:hover {
  color: #fbbf24;
}

@keyframes heroBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ============================================
   FILTER SECTION - CU-TRAVELS STYLE WITH SLIDER
   ============================================ */
.filter-section {
  padding: 1.25rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 70px;
  z-index: 40;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  margin-bottom: 2.5rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.35s ease;
  will-change: transform, opacity;
}

.filter-section.filter-hidden {
  transform: translateY(-130%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.filter-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  justify-content: center;
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.35rem 0.25rem;
  transition: all 0.3s ease;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.35rem;
  border: 2px solid #e2e8f0;
  background: #ffffff;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}

.filter-tab:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.filter-tab.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.filter-tab i {
  font-size: 1.05rem;
}

/* When space gets tight (<= 992px or mobile) */
@media (max-width: 992px) {
  .filter-slider-wrapper {
    justify-content: flex-start;
    padding: 0 0.5rem;
  }

  .filter-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.35rem 0.25rem;
    gap: 0.65rem;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
  }
}

@media (max-width: 601px) {
  .attractions-hub-hero {
    min-height: auto;
    padding: 105px 1rem 5.5rem;
  }

  .hub-hero-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 0.25rem;
    margin-bottom: 0.5rem;
  }

  .hub-hero-title {
    font-size: clamp(1.3rem, 5.5vw, 2rem);
    line-height: 1.25;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    -webkit-hyphens: none;
    text-wrap: balance;
  }

  .hub-hero-badge {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hub-hero-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 0.25rem;
    margin-bottom: 0.5rem;
  }

  .hub-hero-scroll {
    bottom: 1.2rem;
    font-size: 1.45rem;
  }

  .filter-section {
    padding: 0.75rem 0;
  }

  .filter-slider-wrapper {
    padding: 0 0.25rem;
  }

  .filter-tab {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }

  .filter-tab i {
    font-size: 0.95rem;
  }
}

/* Very narrow screens (e.g., 320px - 360px phones) */
@media (max-width: 360px) {
  .hub-hero-title {
    font-size: clamp(1.12rem, 5vw, 1.3rem) !important;
    line-height: 1.28 !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  .hub-hero-badge {
    padding: 0.35rem 0.8rem !important;
    font-size: 0.75rem !important;
  }
}

/* ============================================
   GOOGLE TRANSLATE & MULTI-LANGUAGE RESILIENCE
   Prevents hyphenating mid-word; breaks strictly word-wise
   ============================================ */
html.translated-ltr .hub-hero-title,
html.translated-rtl .hub-hero-title {
  font-size: clamp(1.2rem, 4.6vw, 2.8rem) !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  line-height: 1.28 !important;
  text-wrap: balance !important;
}

html.translated-ltr .hub-hero-badge,
html.translated-rtl .hub-hero-badge {
  white-space: normal !important;
  text-align: center;
  max-width: 100% !important;
  line-height: 1.4 !important;
}

@media (max-width: 480px) {

  html.translated-ltr .hub-hero-title,
  html.translated-rtl .hub-hero-title {
    font-size: clamp(1.12rem, 5vw, 1.5rem) !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }
}

/* Hub Cards Grid */
.hub-grid-wrap {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 1.5rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.hub-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  border-color: #e2e8f0;
}

.hub-card-thumb {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.hub-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hub-card:hover .hub-card-img {
  transform: scale(1.06);
}

.hub-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.hub-badge-cat {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hub-badge-dist {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hub-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hub-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.hub-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hub-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.hub-card-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-card-season {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hub-card-season i {
  color: #f59e0b;
  font-size: 0.95rem;
}

.hub-card-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.hub-btn-details {
  flex-grow: 1;
  padding: 0.65rem 1rem;
  background: var(--first-color, #e07b33);
  color: #ffffff;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.hub-btn-details:hover {
  background: #c8631c;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(224, 123, 51, 0.35);
  transform: translateY(-2px);
}

.hub-btn-map {
  padding: 0.65rem 0.9rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.hub-btn-map:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Season Section in Post Details */
.season-guide-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--first-color, #e07b33);
  padding: 1.5rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.season-guide-section h2 {
  font-size: 1.3rem !important;
  color: #1e293b;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.season-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.season-stat {
  font-size: 0.88rem;
  color: #334155;
}

.season-stat strong {
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 768px) {
  .hub-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-search-box {
    max-width: 100%;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .season-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Safari Transport & Pricing Styles (Yala & Udawalawe)
   ========================================================================== */
.safari-transport-section {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #fed7aa;
  border-radius: 1.25rem;
  padding: 1.75rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 20px rgba(224, 123, 51, 0.06);
}

.safari-transport-section h2 {
  font-size: 1.35rem !important;
  color: #0f172a;
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.transport-season-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #7c2d12;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-left: 3px solid #ea580c;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.transport-season-note i {
  color: #ea580c;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.transport-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.transport-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.transport-card:hover {
  transform: translateY(-3px);
  border-color: #f97316;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.12);
}

.transport-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.transport-card-header i {
  width: 40px;
  height: 40px;
  border-radius: 0.625rem;
  background: #fff7ed;
  color: #ea580c;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transport-card-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.transport-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #c2410c;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px dashed #e2e8f0;
  letter-spacing: -0.02em;
}

.transport-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.transport-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
}

.transport-detail-row i.ri-group-line {
  color: #64748b;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.transport-detail-row i.ri-checkbox-circle-line {
  color: #059669;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.transport-best-for {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9a3412;
  background: #ffedd5;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  width: fit-content;
  margin-top: auto;
}

.transport-best-for i {
  color: #ea580c;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .transport-cards-grid {
    grid-template-columns: 1fr;
  }

  .safari-transport-section {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   Visible Semantic Breadcrumbs
   ========================================================================== */
.attraction-breadcrumb-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
}

.attraction-breadcrumb-nav {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

.breadcrumb-ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: #64748b;
}

.breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #0284c7;
}

.breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  margin: 0 0.45rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

/* ==========================================================================
   Related Attractions Section (Contextual Silo Internal Links)
   ========================================================================== */
.related-attractions-section {
  margin: 3rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.related-attractions-header {
  margin-bottom: 1.5rem;
}

.related-attractions-header h2 {
  font-size: 1.35rem !important;
  color: #0f172a;
  margin: 0 0 0.35rem !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-attractions-header p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.related-attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.related-attraction-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-attraction-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.related-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 155px;
  overflow: hidden;
  background: #f1f5f9;
}

.related-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-attraction-card:hover .related-card-img-wrapper img {
  transform: scale(1.06);
}

.related-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.related-card-content {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-card-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem;
  line-height: 1.35;
}

.related-card-dist {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.85rem;
}

.related-card-dist i {
  color: #0284c7;
  font-size: 0.9rem;
}

.related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.related-attraction-card:hover .related-card-link {
  gap: 0.55rem;
}

@media (max-width: 900px) {
  .related-attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .related-attractions-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ATTRACTIONS HUB - BOTTOM CTA BANNER
   ============================================ */
.attractions-cta-section {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 1.5rem;
}

.attractions-cta-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: 1.5rem;
  padding: 3rem 3.5rem;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
}

.attractions-cta-content {
  flex: 1 1 0%;
  max-width: 680px;
}

.attractions-cta-badge {
  color: #ff9d54;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.65rem;
}

.attractions-cta-title {
  color: #ffffff !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.attractions-cta-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.attractions-cta-desc strong {
  color: #ffffff !important;
  font-weight: 700;
}

.attractions-cta-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.attractions-cta-features span {
  display: inline-flex;
  align-items: center;
}

.attractions-cta-features i {
  color: #10b981;
  font-size: 1.15rem;
  font-weight: 700;
  margin-right: 0.4rem;
}

.attractions-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.attractions-cta-btn-rooms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.attractions-cta-btn-rooms i {
  margin-right: 0.5rem;
  font-size: 1.15rem;
}

.attractions-cta-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.85rem;
  border-radius: 0.75rem;
  background: #25D366;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.attractions-cta-btn-wa:hover {
  background: #20bd5a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.attractions-cta-btn-wa i {
  font-size: 1.15rem;
}

/* --- Breakpoint 1: Desktop (993px - 1600px+) --- */
@media (min-width: 993px) {
  .attractions-cta-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: clamp(2.5rem, 3.8vw, 3.8rem) !important;
    /* Dynamically auto-adjusts gap between content and right-side buttons based on screen size */
    gap: clamp(2rem, 5vw, 5.5rem) !important;
  }

  .attractions-cta-content {
    flex: 1 1 0% !important;
    max-width: 720px !important;
    text-align: left !important;
  }

  .attractions-cta-features {
    justify-content: flex-start !important;
  }

  .attractions-cta-actions {
    flex: 0 0 clamp(240px, 18vw, 275px) !important;
    width: clamp(240px, 18vw, 275px) !important;
    margin-left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    align-items: stretch !important;
  }

  .attractions-cta-btn-rooms,
  .attractions-cta-btn-wa {
    width: 100% !important;
  }
}

/* --- Breakpoint 2: Tablet (630px to 992px) --- */
@media (min-width: 630px) and (max-width: 992px) {
  .attractions-cta-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: clamp(2.25rem, 4vw, 3rem) !important;
    gap: 2rem !important;
  }

  .attractions-cta-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .attractions-cta-features {
    justify-content: flex-start !important;
  }

  /* Buttons positioned fully below paragraph, side-by-side on the SAME line, covering full width */
  .attractions-cta-actions {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 1.25rem !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-top: 0.5rem !important;
  }

  .attractions-cta-btn-rooms,
  .attractions-cta-btn-wa {
    flex: 1 1 0% !important;
    width: 50% !important;
    min-width: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.95rem 1.25rem !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
  }
}

/* --- Breakpoint 3: Mobile View (< 630px) --- */
@media (max-width: 629px) {
  .attractions-cta-section {
    padding: 0 1rem;
    margin-bottom: 50px;
  }

  .attractions-cta-card {
    flex-direction: column;
    align-items: center;
    padding: 2.25rem 1.25rem;
    gap: 1.75rem;
    border-radius: 1.25rem;
  }

  .attractions-cta-content {
    width: 100%;
    text-align: center;
  }

  .attractions-cta-badge {
    text-align: center;
    font-size: 0.8rem;
  }

  .attractions-cta-title {
    text-align: center;
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    margin-bottom: 0.85rem;
  }

  .attractions-cta-desc {
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .attractions-cta-features {
    justify-content: center;
    gap: 0.85rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Buttons stacked 1 by 1 down, each taking 100% full width */
  .attractions-cta-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 100%;
    margin-left: 0;
    gap: 0.85rem;
    align-items: stretch;
  }

  .attractions-cta-btn-rooms,
  .attractions-cta-btn-wa {
    width: 100% !important;
    padding: 0.95rem 1.25rem;
    font-size: 0.92rem;
    justify-content: center;
  }
}