/* ========================================
   HOLIDAYS DECODE — CUSTOM STYLESHEET
   Version: 5.0
   Brand: Ocean Teal #0B6B65 | Deep Navy #0A1E3D

   NOTE: Bootstrap 5 is loaded before this file.
   We ONLY add brand-specific styles + safe overrides.
   Do NOT redefine Bootstrap utilities (mt-3, d-flex, etc.)
   ======================================== */


/* ===== 1. CSS VARIABLES (Single Source of Truth) ===== */
:root {
  /* --- Brand Colors --- */
  --brand-teal: #0B6B65;
  --brand-teal-hover: #08544F;
  --brand-teal-light: #D4F0EE;
  --brand-navy: #0A1E3D;
  --brand-navy-hover: #061428;
  --brand-gold: #D97706;
  --brand-gold-hover: #B45309;
  --brand-lagoon: #22D3EE;
  --brand-sand: #F5EDE3;
  --brand-sand-light: #FAFAF8;
  --brand-coral: #DC4A45;
  --brand-coral-hover: #C0392B;
  --brand-white: #FFFFFF;

  /* --- Status Colors --- */
  --success: #22C55E;
  --success-hover: #16A34A;
  --success-bg: #DCFCE7;
  --success-text: #166534;
  --amber-bg: #FEF3C7;

  /* --- Gradients --- */
  --gradient-primary: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-teal) 100%);
  --gradient-teal: linear-gradient(135deg, var(--brand-teal) 0%, var(--brand-teal-hover) 100%);
  --gradient-gold: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-hover) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 30, 61, 0.9) 0%, rgba(11, 107, 101, 0.85) 100%);

  /* --- Typography --- */
  --font-primary: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* --- Spacing --- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  /* --- Shadows --- */
  --shadow-teal-sm: 0 2px 8px rgba(11, 107, 101, 0.08);
  --shadow-teal-md: 0 4px 16px rgba(11, 107, 101, 0.15);
  --shadow-teal-lg: 0 8px 32px rgba(11, 107, 101, 0.2);
  --shadow-gold-md: 0 4px 16px rgba(217, 119, 6, 0.25);
  --shadow-gold-lg: 0 6px 24px rgba(217, 119, 6, 0.5);
  --shadow-coral-md: 0 4px 16px rgba(220, 74, 69, 0.3);

  /* --- Border Radius --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;

  /* --- Transitions --- */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* --- UI Colors --- */
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
}


/* ===== CARD HEADERS WITH GRADIENT — FORCE WHITE TEXT ===== */
.card-header[class*="bg-gradient"] {
    color: #fff;
}

.card-header[class*="bg-gradient"] h1,
.card-header[class*="bg-gradient"] h2,
.card-header[class*="bg-gradient"] h3,
.card-header[class*="bg-gradient"] h4,
.card-header[class*="bg-gradient"] h5,
.card-header[class*="bg-gradient"] h6,
.card-header[class*="bg-gradient"] p,
.card-header[class*="bg-gradient"] i,
.card-header[class*="bg-gradient"] small,
.card-header[class*="bg-gradient"] span {
    color: #fff;
}


/* ===== 2. GLOBAL RESET (safe, minimal) ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(1.75rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1.05rem; }

a {
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-teal-hover);
  text-decoration: underline;
}

.section-heading {
  border-bottom: 3px solid var(--brand-teal);
  padding-bottom: var(--space-sm);
  display: inline-block;
  margin-bottom: var(--space-md);
}


/* ===== 4. ACCESSIBILITY ===== */
:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

.btn-gold:focus-visible {
  outline: 3px solid var(--brand-navy);
}

.skip-to-main {
  position: absolute;
  top: -9999px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-navy);
  color: white;
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-to-main:focus {
  top: var(--space-md);
  color: white;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ===== 5. HEADER ===== */
.site-header {
  background: var(--brand-white);
  box-shadow: var(--shadow-teal-sm);
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
}

.logo-section img.main-logo {
  max-width: 175px;
  height: auto;
  width: auto;
}

.site-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--brand-navy);
}

.site-title small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
}


/* ===== 6. NAVIGATION ===== */
.navbar {
  background: var(--brand-teal);
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-teal-sm);
  z-index: 999;
}

.navbar .nav-link {
  color: var(--brand-white) !important;
  font-weight: 500;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: inline-block;
}

.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  text-decoration: none;
}

.navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
  box-shadow: inset 0 -3px 0 var(--brand-gold);
}

.navbar-toggler {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.navbar .nav-link.nav-cta {
  background: var(--brand-gold);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.navbar .nav-link.nav-cta:hover {
  background: var(--brand-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-md);
  text-decoration: none;
}

@media (min-width: 992px) {
  .nav-cta-item { margin-left: auto; }
}


/* ===== 7. BUTTONS ===== */
.btn-gold {
  background: var(--brand-gold);
  color: var(--brand-white);
}
.btn-gold:hover {
  background: var(--brand-gold-hover);
  color: var(--brand-white);
  box-shadow: var(--shadow-gold-md);
}

.btn-teal {
  background: var(--brand-teal);
  color: var(--brand-white);
}
.btn-teal:hover {
  background: var(--brand-teal-hover);
  color: var(--brand-white);
  box-shadow: var(--shadow-teal-md);
}

.btn-navy {
  background: var(--brand-navy);
  color: var(--brand-white);
}
.btn-navy:hover {
  background: var(--brand-navy-hover);
  color: var(--brand-white);
  box-shadow: var(--shadow-teal-md);
}

.btn-coral {
  background: var(--brand-coral);
  color: var(--brand-white);
}
.btn-coral:hover {
  background: var(--brand-coral-hover);
  color: var(--brand-white);
  box-shadow: var(--shadow-coral-md);
}

.btn-outline-teal {
  background: transparent;
  border: 2px solid var(--brand-teal);
  color: var(--brand-teal);
}
.btn-outline-teal:hover {
  background: var(--brand-teal);
  color: var(--brand-white);
  text-decoration: none;
}

.btn-sidebar {
  background: var(--brand-gold);
  color: var(--brand-white);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.btn-sidebar:hover {
  background: var(--brand-gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-md);
  color: var(--brand-white);
}

.btn-block-mobile { width: 100%; }
@media (min-width: 576px) {
  .btn-block-mobile { width: auto; }
}


/* ===== 8. CARDS ===== */
.card {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-teal-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal-lg);
}

.card-body {
  padding: var(--space-lg);
}

.card-header {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
}

.card-header.bg-gradient {
  background: var(--gradient-primary);
  color: var(--brand-white);
}


/* ===== 9. DESTINATION CARDS ===== */
.destination-card {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-teal-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(245, 237, 227, 0.3);
  height: 100%;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-teal-lg);
}

.destination-card-img {
  width: 100%;
  object-fit: cover;
  height: auto;
}

.destination-card-content {
  padding: var(--space-lg);
}

/* Compact destination hero (image + CTA bar) */
.destination-hero-bar {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-teal-md);
  background: var(--brand-white);
}

.destination-hero-bar-image {
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  position: relative;
}

.destination-hero-bar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.destination-hero-bar-info {
  padding: 1.5rem 2rem;
  background: var(--brand-white);
  border-top: 1px solid var(--border-light);
}

@media (max-width: 767.98px) {
  .destination-hero-bar-info {
    padding: 1.25rem 1rem;
  }
  .destination-hero-bar-info h1 {
    font-size: 1.75rem;
  }
  .destination-hero-bar-info .btn {
    flex: 1 1 auto;
  }
}


/* ===== 10. SIDEBAR ===== */
.sidebar-widget {
  background: var(--brand-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-teal-sm);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--brand-teal);
}

.sidebar-widget:hover {
  box-shadow: var(--shadow-teal-md);
}

.sidebar-widget h3,
.sidebar-widget h4,
.sidebar-widget h3.sidebar-heading,
.cta-widget h3.sidebar-heading {
  color: var(--brand-navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--brand-teal);
  line-height: 1.3;
}

.sidebar-widget h3 i,
.sidebar-widget h4 i,
.sidebar-widget h3.sidebar-heading i {
  color: var(--brand-gold);
  margin-right: var(--space-xs);
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-link {
  color: var(--text-dark);
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.sidebar-link i {
  color: var(--brand-teal);
  width: 24px;
  margin-right: var(--space-sm);
}

.sidebar-link:hover {
  color: var(--brand-teal);
  transform: translateX(5px);
  text-decoration: none;
}

.sidebar-link:hover i {
  color: var(--brand-gold);
}

/* CTA widget (gradient) */
.cta-widget {
  background: var(--gradient-primary);
  color: var(--brand-white);
  text-align: center;
  border-left-color: var(--brand-gold);
}

.cta-widget h3.sidebar-heading,
.cta-widget h4 {
  color: var(--brand-white);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-widget h3.sidebar-heading i,
.cta-widget h4 i {
  color: var(--brand-gold);
}

.cta-widget p {
  color: rgba(255, 255, 255, 0.9);
}

/* Trust list */
.trust-list li {
  display: flex;
  align-items: flex-start;
  border-bottom: none !important;
  padding: 0.3rem 0 !important;
}

.trust-list i {
  color: var(--brand-teal) !important;
  width: 28px;
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* Sidebar contact */
.sidebar-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.sidebar-contact i {
  color: var(--brand-teal);
  width: 20px;
  margin-top: 0.25rem;
}

.sidebar-contact a {
  color: var(--text-dark);
}

.sidebar-contact a:hover {
  color: var(--brand-teal);
}

/* Sidebar form */
.quick-quote-form .form-control {
  font-size: 0.9rem;
}

.sidebar-widget .alert {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}


/* ===== 11. FOOTER ===== */
.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-xxl);
  padding: var(--space-xxl) 0 0;
}

.footer-heading {
  color: var(--brand-white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  padding-bottom: 0.75rem;
  position: relative;
  border-bottom: none;
  display: block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-gold);
  border-radius: 2px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--brand-lagoon);
  transform: translateX(5px);
  text-decoration: none;
}

.footer-links a i.footer-icon {
  color: var(--brand-lagoon);
  margin-right: 0.25rem;
  width: 1.1em;
  text-align: center;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--brand-lagoon);
  margin-top: 0.2rem;
  width: 18px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--brand-lagoon);
  text-decoration: underline;
}

.social-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--brand-white);
  transition: all var(--transition-normal);
  margin-right: 10px;
}

.social-footer:hover {
  background: var(--brand-teal);
  color: var(--brand-white);
  transform: translateY(-4px);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
}

.footer-seo-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-seo-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 0;
}

.footer-seo-text a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-seo-text a:hover {
  color: var(--brand-lagoon);
  text-decoration: underline;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--brand-lagoon);
  text-decoration: underline;
}

.legal-links i {
  margin-right: 0.25rem;
}


/* ===== 12. BLOG CARDS ===== */
.blog-card {
  background: var(--brand-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-teal-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal-lg);
}

.blog-card-img {
  width: 100%;
  object-fit: cover;
  height: auto;
}

.blog-card-img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, var(--brand-teal-light) 0%, var(--brand-sand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  font-size: 3rem;
  opacity: 0.85;
}

.blog-card-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-category {
  display: inline-block;
  background: var(--brand-teal-light);
  color: var(--brand-teal-hover);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.blog-card-category:hover {
  background: var(--brand-teal);
  color: var(--brand-white);
  text-decoration: none;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  border-bottom: none;
  display: block;
}

.blog-card-title a {
  color: var(--brand-navy);
}

.blog-card-title a:hover {
  color: var(--brand-teal);
  text-decoration: none;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-card-meta i {
  color: var(--brand-teal);
  margin-right: var(--space-xs);
}

.blog-card-meta span {
  margin-right: var(--space-md);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.blog-card-readmore {
  color: var(--brand-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.blog-card-readmore:hover {
  color: var(--brand-teal-hover);
  gap: var(--space-md);
  text-decoration: none;
}


/* ===== 13. FAQ / ACCORDION ===== */
.accordion-item {
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-md);
  background: var(--brand-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-button {
  background: var(--brand-white);
  color: var(--text-dark);
  font-weight: 600;
  padding: var(--space-lg);
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
}

.accordion-button:hover {
  background: var(--brand-teal-light);
}

.accordion-button:not(.collapsed) {
  color: var(--brand-navy);
  background: var(--brand-teal-light);
}

.accordion-body {
  background: var(--brand-white);
  color: var(--text-muted);
  padding: var(--space-lg);
  border-top: 1px solid var(--border-light);
}


/* ===== 14. TABLES (Auto-responsive with borders) ===== */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-teal-sm);
}

/* Base table styles — apply to blog content + manual wrapper */
.post-body table,
article table,
.blog-content table,
.single-post-content table,
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--brand-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-teal-sm);
}

/* ===== Header Row ===== */
.post-body table thead,
article table thead,
.blog-content table thead,
.single-post-content table thead,
.table-wrapper table thead {
  background: var(--gradient-primary);
  color: var(--brand-white);
}

.post-body table thead th,
article table thead th,
.blog-content table thead th,
.single-post-content table thead th,
.table-wrapper table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-white);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid var(--brand-navy);
  vertical-align: middle;
}

/* Remove border from last header cell */
.post-body table thead th:last-child,
article table thead th:last-child,
.blog-content table thead th:last-child,
.single-post-content table thead th:last-child,
.table-wrapper table thead th:last-child {
  border-right: none;
}

/* ===== Body Cells ===== */
.post-body table tbody td,
article table tbody td,
.blog-content table tbody td,
.single-post-content table tbody td,
.table-wrapper table tbody td {
  padding: 12px 18px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
  line-height: 1.6;
  vertical-align: top;
  word-wrap: break-word;
  word-break: break-word;
}

/* Remove right border from last column */
.post-body table tbody td:last-child,
article table tbody td:last-child,
.blog-content table tbody td:last-child,
.single-post-content table tbody td:last-child,
.table-wrapper table tbody td:last-child {
  border-right: none;
}

/* Remove bottom border from last row */
.post-body table tbody tr:last-child td,
article table tbody tr:last-child td,
.blog-content table tbody tr:last-child td,
.single-post-content table tbody tr:last-child td,
.table-wrapper table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Alternating Rows ===== */
.post-body table tbody tr:nth-child(even),
article table tbody tr:nth-child(even),
.blog-content table tbody tr:nth-child(even),
.single-post-content table tbody tr:nth-child(even),
.table-wrapper table tbody tr:nth-child(even) {
  background: var(--brand-sand-light);
}

/* ===== Row Hover ===== */
.post-body table tbody tr:hover,
article table tbody tr:hover,
.blog-content table tbody tr:hover,
.single-post-content table tbody tr:hover,
.table-wrapper table tbody tr:hover {
  background: var(--brand-teal-light);
}

/* ===== First Column Emphasis ===== */
.post-body table tbody td:first-child,
article table tbody td:first-child,
.blog-content table tbody td:first-child,
.single-post-content table tbody td:first-child,
.table-wrapper table tbody td:first-child {
  font-weight: 600;
  color: var(--brand-navy);
  border-left: 3px solid var(--brand-teal);
}

/* ===== Mobile horizontal scroll ===== */
@media (max-width: 767.98px) {
  .post-body table,
  article table,
  .blog-content table,
  .single-post-content table,
  .table-wrapper table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.85rem;
  }

  .post-body table thead th,
  .post-body table tbody td,
  article table thead th,
  article table tbody td,
  .table-wrapper table thead th,
  .table-wrapper table tbody td {
    padding: 10px 12px;
    white-space: nowrap;
  }

  .table-wrapper {
    position: relative;
  }

  .table-wrapper::after {
    content: '← Swipe to see more →';
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 6px 0 2px;
    font-style: italic;
  }
}

/* ===== Small mobile ===== */
@media (max-width: 575.98px) {
  .post-body table thead th,
  .post-body table tbody td,
  article table thead th,
  article table tbody td,
  .table-wrapper table thead th,
  .table-wrapper table tbody td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}

/* ===== 15. BADGES ===== */
.badge-pill {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-lg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.badge-pill--coral   { background: var(--brand-coral);      color: var(--brand-white); }
.badge-pill--gold    { background: var(--brand-gold);       color: var(--brand-white); }
.badge-pill--teal    { background: var(--brand-teal-light); color: var(--brand-teal-hover); }
.badge-pill--success { background: var(--success-bg);       color: var(--success-text); }
.badge-pill--amber   { background: var(--amber-bg);         color: var(--brand-gold); }

.sale-badge {
  background: var(--brand-coral);
  color: var(--brand-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.sale-badge--gold  { background: var(--brand-gold);  color: #fff; }
.sale-badge--coral { background: var(--brand-coral); color: #fff; }

.badge-travel {
  display: inline-block;
  background: var(--brand-teal);
  color: var(--brand-white);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ===== 16. HEADER SOCIAL ICONS ===== */
.social-icons-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--brand-navy);
  border-radius: 50%;
  color: var(--brand-white) !important;
  transition: all var(--transition-normal);
  text-decoration: none !important;
}

.social-icon:hover {
  background: var(--brand-teal);
  color: var(--brand-white) !important;
  transform: translateY(-3px);
  text-decoration: none !important;
}

.social-icon i,
.social-icon .fa-brands {
  color: var(--brand-white) !important;
  font-size: 1.1rem;
}


/* ===== 17. BRAND UTILITY CLASSES ===== */
.text-teal   { color: var(--brand-teal) !important; }
.text-navy   { color: var(--brand-navy) !important; }
.text-gold   { color: var(--brand-gold) !important; }
.text-lagoon { color: var(--brand-lagoon) !important; }
.text-coral  { color: var(--brand-coral) !important; }

.text-white-95 { color: rgba(255, 255, 255, 0.95) !important; }
.text-white-90 { color: rgba(255, 255, 255, 0.90) !important; }
.text-white-80 { color: rgba(255, 255, 255, 0.80) !important; }

.bg-teal  { background: var(--brand-teal);  color: var(--brand-white); }
.bg-navy  { background: var(--brand-navy);  color: var(--brand-white); }
.bg-gold  { background: var(--brand-gold);  color: var(--brand-white); }
.bg-coral { background: var(--brand-coral); color: var(--brand-white); }
.bg-sand  { background: var(--brand-sand); }

.bg-gradient-primary { background: var(--gradient-primary); color: var(--brand-white); }
.bg-gradient-teal    { background: var(--gradient-teal);    color: var(--brand-white); }
.bg-gradient-gold    { background: var(--gradient-gold);    color: var(--brand-white); }
.bg-gradient-hero    { background: var(--gradient-hero);    color: var(--brand-white); }

.border-teal { border: 2px solid var(--brand-teal); }
.border-gold { border: 2px solid var(--brand-gold); }
.border-navy { border: 2px solid var(--brand-navy); }

.shadow-teal-sm { box-shadow: var(--shadow-teal-sm); }
.shadow-teal-md { box-shadow: var(--shadow-teal-md); }
.shadow-teal-lg { box-shadow: var(--shadow-teal-lg); }
.shadow-gold    { box-shadow: var(--shadow-gold-md); }

.fw-600 { font-weight: 600 !important; }
.lh-lg  { line-height: 1.8 !important; }
.fs-5   { font-size: 1.25rem !important; }


/* ===== 18. SPECIAL ELEMENTS ===== */
.holiday-stars {
  color: var(--brand-gold);
  letter-spacing: 2px;
}

.holiday-price {
  color: var(--brand-teal);
  font-weight: 800;
  font-size: 1.5rem;
}

.holiday-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  background: var(--brand-teal-light);
  color: var(--brand-teal-hover);
  padding: var(--space-xs) 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--brand-teal);
  color: var(--brand-white);
  text-decoration: none;
}


/* ===== 19. HERO SECTION ===== */
.hero-section {
  background: var(--gradient-hero);
  color: var(--brand-white);
  padding: 4rem 0;
  position: relative;
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {
  color: var(--brand-white);
  border-bottom: none;
  display: block;
}

.hero-section .btn-gold {
  box-shadow: var(--shadow-gold-md);
}

.hero-section .btn-gold:hover {
  box-shadow: var(--shadow-gold-lg);
}


/* ===== 20. FEATURE ITEM (Why Choose Us) ===== */
.feature-item {
  transition: all var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal-md);
}


/* ===== 21. TIMELINE (Destination Itinerary) ===== */
.timeline .badge.bg-teal {
  background: var(--brand-teal) !important;
  color: #fff;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.timeline .flex-grow-1 {
  border-color: var(--brand-teal-light) !important;
}


/* ===== 22. PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
}

.page-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--brand-teal);
  transition: all var(--transition-fast);
}

.page-link:hover {
  background: var(--brand-teal-light);
  color: var(--brand-teal-hover);
  border-color: var(--brand-teal);
}

.page-item.active .page-link {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--brand-white);
}


/* ===== 23. ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-30px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

.animate-fade-in  { animation: fadeIn  0.6s ease forwards; }
.animate-slide-in { animation: slideIn 0.5s ease forwards; }


/* ===== 24. CUSTOMIZE TRIP TOOL ===== */
.trip-progress {
  margin-bottom: 2rem;
}

.trip-progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.trip-progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.trip-progress-step.active,
.trip-progress-step.done {
  opacity: 1;
}

.trip-progress-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-teal-light);
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.trip-progress-step.active .trip-progress-dot {
  background: var(--brand-teal);
  color: #fff;
  transform: scale(1.15);
}

.trip-progress-step.done .trip-progress-dot {
  background: var(--brand-gold);
  color: #fff;
}

.trip-progress-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.trip-progress-step.active .trip-progress-label {
  color: var(--brand-navy);
}

.trip-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--brand-teal-light);
  border-radius: 3px;
  overflow: hidden;
}

.trip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-teal) 0%, var(--brand-gold) 100%);
  transition: width 0.4s ease;
}

.trip-step {
  display: none;
  animation: tripFadeIn 0.35s ease;
}

.trip-step.active {
  display: block;
}

@keyframes tripFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.trip-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.trip-options-grid--wide {
  grid-template-columns: repeat(2, 1fr);
}

.trip-options-grid--months {
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}

@media (max-width: 767.98px) {
  .trip-options-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .trip-options-grid--months {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trip-card {
  position: relative;
  cursor: pointer;
  display: block;
  margin: 0;
}

.trip-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trip-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  min-height: 110px;
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-align: center;
}

.trip-card:hover .trip-card-inner {
  border-color: var(--brand-teal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal-sm);
}

.trip-card input:focus-visible + .trip-card-inner {
  outline: 3px solid var(--brand-gold);
  outline-offset: 2px;
}

.trip-card input:checked + .trip-card-inner {
  border-color: var(--brand-teal);
  background: var(--brand-teal-light);
  box-shadow: var(--shadow-teal-md);
}

.trip-card input:checked + .trip-card-inner .trip-card-icon {
  color: var(--brand-gold);
  transform: scale(1.1);
}

.trip-card input:checked + .trip-card-inner .trip-card-label {
  color: var(--brand-navy);
  font-weight: 700;
}

.trip-card-icon {
  font-size: 1.75rem;
  color: var(--brand-teal);
  transition: all 0.2s ease;
}

.trip-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.trip-card--month .trip-card-inner {
  min-height: 60px;
  padding: 0.75rem 0.5rem;
}

.trip-card--month .trip-card-label {
  font-size: 0.85rem;
}

.trip-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.trip-nav .btn {
  min-width: 120px;
}

@media (max-width: 575.98px) {
  .trip-nav {
    flex-direction: column-reverse;
  }
  .trip-nav .btn {
    width: 100%;
  }
}

.trip-error {
  max-width: 720px;
  margin: 0 auto 1rem auto;
}

.trip-step[data-step="6"] .form-control {
  padding: 0.75rem 1rem;
}

/* Blog sidebar CTA heading override */
.cta-widget .sidebar-heading.cta-widget-heading {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.cta-widget .sidebar-heading.cta-widget-heading i {
  color: #D97706;
}


/* ===== 25. RESPONSIVE ===== */

@media (max-width: 991.98px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo-section img.main-logo {
    max-width: 180px;
  }

  .social-icons-header {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: var(--space-sm);
  }

  .site-title {
    font-size: 1.3rem;
  }

  .card-body,
  .destination-card-content,
  .blog-card-content {
    padding: var(--space-md);
  }

  .sidebar-widget {
    padding: var(--space-md);
  }

  .footer-heading::after {
    width: 30px;
  }

  .legal-links {
    justify-content: center;
    gap: var(--space-md);
  }
}

@media (max-width: 576px) {
  .logo-section img.main-logo {
    max-width: 150px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .social-icons-header {
    gap: var(--space-sm);
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .footer-contact li {
    flex-wrap: wrap;
  }
}


/* ===== 26. PRINT ===== */
@media print {
  .navbar,
  .site-footer,
  .sidebar-widget,
  .btn,
  .table-wrapper::after {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card,
  .destination-card,
  .blog-card {
    box-shadow: none !important;
    border: 1px solid #ddd;
  }

  .post-body table,
  article table,
  .table-wrapper table {
    font-size: 10pt;
    display: table;
    overflow-x: visible;
    box-shadow: none;
    page-break-inside: avoid;
  }

  .post-body table thead,
  article table thead,
  .table-wrapper table thead {
    background: #eee !important;
    color: #000 !important;
  }
}