/* ---------- Desktop: Two Columns Layout ---------- */
.travel-layout {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}
.travel-main {
  flex: 0 0 70%;
  min-width: 300px;
}
.travel-sidebar {
  flex: 0 0 30%;
  min-width: 280px;
  background: #f9f9f9;
  padding: 16px;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* ---------- Sidebar Slide Mobile ---------- */
.sidebar-toggle-btn {
  display: none;
}
@media (max-width: 1024px) {
  .travel-layout {
    flex-direction: column;
  }
  .travel-main {
    width: 100%;
  }
  .travel-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.08);
    overflow-y: auto;
    padding: 28px 18px 18px 18px;
  }
  .travel-sidebar.open {
    right: 0;
  }
  .sidebar-toggle-btn {
    display: block;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #0073aa;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px 0 0 8px;
    z-index: 10000;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  }
}

/* ---------- Gallery: Main Image + Thumbnails + Arrows ---------- */
.travel-album-section {
  margin-bottom: 32px;
}

/* --- Main large preview: FULL width, minimal --- */
.travel-main-preview {
    width: 100%;
    margin: 0 auto 16px auto;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(20,30,60,0.11);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: none;
}
#main-album-img {
    width: 100%; height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

/* --- Thumbnail row --- */
.travel-thumb-row-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 24px auto;
    width: 100%;
    max-width: 900px;
}
.travel-thumb-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px 0;
    flex: 1 1 auto;
}
.travel-thumb-row::-webkit-scrollbar { display: none; }

.thumb-img {
    width: 60px; height: 46px;
    object-fit: cover;
    border-radius: 9px;
    border: 2px solid transparent;
    background: #f5f5fa;
    box-shadow: 0 2px 7px rgba(80,90,120,0.09);
    cursor: pointer;
    transition: border 0.18s, box-shadow 0.18s, filter 0.16s;
    flex-shrink: 0;
    outline: none;
}
.thumb-img.active, .thumb-img:focus-visible {
    border: 2.5px solid #2176ff;
    box-shadow: 0 2px 10px rgba(33,118,255,0.13);
    filter: brightness(1.07);
}

/* ปุ่ม arrow minimal modern (SVG icon) */
.thumb-arrow {
    background: rgba(255,255,255,0.92);
    border: none !important;
    border-radius: 50%;
    width: 40px; height: 40px;
    color: #2176ff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(33,118,255,0.07);
    cursor: pointer;
    user-select: none;
    transition: background 0.14s, color 0.14s, box-shadow 0.13s;
    outline: none;
    font-size: 1.8rem;
    margin: 0 6px;
}
.thumb-arrow:active,
.thumb-arrow:focus-visible {
    background: #e5f0ff;
    color: #1453b5;
    box-shadow: 0 4px 16px rgba(33,118,255,0.13);
}
.thumb-arrow, .thumb-arrow:focus, .thumb-arrow:active {
    border: none !important;
}

/* Responsive: mobile */
@media (max-width: 900px) {
    .thumb-arrow { display: none !important; }
    .travel-thumb-row-wrapper, .travel-thumb-row { max-width: 99vw; }
}
@media (max-width: 600px) {
    .travel-main-preview { border-radius: 12px; }
    #main-album-img { border-radius: 12px; }
    .thumb-img { width: 44px; height: 32px; border-radius: 6px; }
}

/* ---------- Featured Image (fallback เดิม) ---------- */
.big-album-feature,
.featured-image {
  margin-bottom: 26px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(20,30,60,0.13);
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.big-album-feature img,
.featured-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  display: block;
  background: #f7f7f7;
}
@media (max-width: 600px) {
  .big-album-feature,
  .featured-image {
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .big-album-feature img,
  .featured-image img {
    border-radius: 14px;
    aspect-ratio: 4/3;
  }
}

/* ---------- Opening Hours Horizontal Scroll ---------- */
.opening-hours-slider {
  margin-top: 36px;
  margin-bottom: 10px;
}
.opening-hours-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 13px;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.day-card {
  flex: 0 0 auto;
  min-width: 120px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 14px 9px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.day-name {
  font-weight: bold;
  margin-bottom: 7px;
}
.day-time {
  color: #333;
  font-size: 1em;
}

/* ---------- Contact Phone Card ---------- */
.phone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.phone-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border-radius: 10px;
  padding: 15px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  min-width: 215px;
}
.phone-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.phone-icon {
  font-size: 24px;
  flex-shrink: 0;
  color: #0073aa;
}
.phone-details {
  display: flex;
  flex-direction: column;
}
.phone-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}
.phone-number a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.04em;
}
.phone-number a:hover {
  text-decoration: underline;
}

/* ---------- Responsive Table ---------- */
.entry-prices table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.entry-prices th, .entry-prices td {
  border: 1px solid #e6e6e6;
  padding: 10px 12px;
  text-align: left;
}
.entry-prices th {
  background: #f3f6fa;
  font-weight: 600;
}
.entry-prices tr:nth-child(even) td {
  background: #f9f9f9;
}
@media (max-width:600px) {
  .entry-prices table, .entry-prices th, .entry-prices td {
    font-size: 15px;
    padding: 8px 6px;
  }
}

/* ---------- Others (Meta List, etc) ---------- */
.travel-spot-meta {
  margin: 24px 0 0 0;
  padding: 0;
  list-style: none;
}
.travel-spot-meta li {
  margin-bottom: 10px;
  color: #555;
}





