/* =============================================================================
   attraction.css — shared styles for all attraction/place pages
   ============================================================================= */

/* ── HERO ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.52) 100%);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.breadcrumb-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 13px;
  color: #666;
}

.breadcrumb-inner a { color: #B8924E; text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; color: #bbb; }

/* ── ARTICLE LAYOUT ── */
.article-outer {
  max-width: 1120px;
  margin: 50px auto 60px;
  padding: 0 20px;
}

.article-outer::after { content: ''; display: table; clear: both; }

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 40px 0 16px;
  line-height: 1.25;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #222;
  margin: 28px 0 12px;
  line-height: 1.3;
}

.article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
}

.article-body ul {
  margin: 0 0 22px 0;
  padding-left: 0;
  list-style: none;
}

.article-body ul li {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.article-body ul li:last-child { border-bottom: none; }

.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #B8924E;
  font-weight: 700;
}

.article-body ul li strong { color: #222; }

/* ── CTA BUTTON ── */
.cta-wrap { margin: 24px 0 32px; }

.btn-cta {
  display: inline-block;
  background: #C9A84C;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s ease;
}

.btn-cta:hover { background: #b8963e; }

/* ── GALLERY ── */
.gallery {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.gallery.cols-2 { grid-template-columns: 1fr 1fr; }
.gallery.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.gallery img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gallery.portrait img { aspect-ratio: 2 / 3; }

/* ── VIDEO & MAP ── */
.video-wrap {
  margin: 32px 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-wrap {
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
}

.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ── SIDEBAR ── */
.sidebar {
  float: right;
  width: 300px;
  margin: 0 0 24px 40px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 14px;
}

.sidebar-ticket {
  background: #f9f6f1;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;
}

.sidebar-ticket--book { margin-bottom: 10px; }

.sidebar-btn {
  margin-top: 20px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 9px 24px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.sidebar-note { text-align: center; }

.sidebar-ticket h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222;
  margin-top: 0;
  margin-bottom: 12px;
}

.sidebar-ticket .btn-cta {
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 11px 18px;
  margin-bottom: 8px;
}

.sidebar-ticket p {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ── QUICK INFO ── */
.quick-info { margin: 0; }

.quick-info dt {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #aaa;
  margin-top: 12px;
}

.quick-info dt:first-child { margin-top: 0; }

.quick-info dd {
  font-size: 13px;
  color: #333;
  margin: 3px 0 0;
  line-height: 1.5;
}

/* ── RELATED ARTICLES (end of article) ── */
.article-related {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid #f0f0f0;
}

.article-related h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-bottom: 14px;
}

.article-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-related ul li {
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

.article-related ul li:last-child { border-bottom: none; }

.article-related ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #B8924E;
  font-weight: 700;
}

.article-related ul li a {
  color: #333;
  text-decoration: none;
  transition: color .2s ease;
}

.article-related ul li a:hover { color: #B8924E; }

/* ── SHARE BAR ── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin: 32px 0;
  flex-wrap: wrap;
}

.share-bar-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #aaa;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s ease;
}

.share-btn:hover { opacity: 0.82; }
.share-btn-fb   { background: #1877F2; color: #fff; }
.share-btn-x    { background: #000;    color: #fff; }
.share-btn-wa   { background: #25D366; color: #fff; }
.share-btn-mail { background: #f0f0f0; color: #333; }

/* ── RELATED CARDS ── */
.related-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s ease;
}

.related-card:first-child { border-top: 1px solid #eee; }
.related-card:hover { opacity: 0.72; }

.related-card img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
  display: block;
}

.related-card-text h3 {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  margin: 0 0 3px;
}

.related-card-text p {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

/* ── ATTRACTIONS SECTION (bottom of page) ── */
.attractions {
  padding: 40px 0 0;
  background: #fff;
}

.attractions-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 20px;
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.attraction-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06), 0 16px 30px rgba(0,0,0,0.08);
  transition: transform .2s ease;
  text-decoration: none;
  color: inherit;
}

.attraction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08), 0 22px 45px rgba(0,0,0,0.12);
}

.attraction-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.attraction-card-body {
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.attraction-card-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.btn-discover {
  display: block;
  width: 100%;
  margin-top: auto;
  background: #C9A84C;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 7px 12px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
}

.btn-discover:hover { background: #b8963e; }

/* ── TABLES ── */
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  font-size: 15px;
}

.article-body table thead tr {
  background: linear-gradient(135deg, #C9A84C 0%, #b8963e 100%);
}

.article-body table thead th {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 18px;
  text-align: left;
  border: none;
}

.article-body table tbody tr {
  background: #fff;
  transition: background .15s ease;
}

.article-body table tbody tr:nth-child(even) {
  background: #faf7f2;
}

.article-body table tbody tr:hover {
  background: #f4efe5;
}

.article-body table tbody td {
  padding: 13px 18px;
  color: #333;
  border: none;
  border-bottom: 1px solid #f0ebe0;
  vertical-align: top;
  line-height: 1.5;
}

.article-body table tbody tr:last-child td {
  border-bottom: none;
}

.article-body table tbody td:first-child {
  font-weight: 600;
  color: #222;
}

/* Scrollable on very small screens */
@media (max-width: 600px) {
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
    border-radius: 10px;
  }
  .article-body table thead th,
  .article-body table tbody td {
    padding: 10px 12px;
    white-space: nowrap;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .sidebar { width: 240px; margin-left: 28px; }
}

@media (max-width: 640px) {
  .article-outer { padding: 0 16px; margin-top: 24px; }
  .article-body {
    display: flex;
    flex-direction: column;
  }
  .article-body > * { order: 1; }
  .article-body > h2:first-of-type { order: 0; margin-top: 0; }
  .sidebar {
    float: none;
    width: 100%;
    margin: 0 0 28px 0;
    position: static;
  }
  .sidebar-ticket { padding: 16px; }
  .sidebar-ticket h3 { font-size: 12px; margin-top: 0; margin-bottom: 10px; }
  .sidebar-ticket .btn-cta { font-size: 15px; padding: 14px 18px; }
  .sidebar-ticket p { font-size: 12px; }
  .quick-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    align-items: baseline;
  }
  .quick-info dt { font-size: 10px; margin-top: 0; }
  .quick-info dt:first-child { margin-top: 0; }
  .quick-info dd { font-size: 13px; margin: 0; }
  .related-card img { display: none; }
  .related-card { padding: 10px 0; }
  .related-card-text h3 { font-size: 12px; }
  .related-card-text p { display: none; }
  .sidebar-label { font-size: 9px; }
}

@media (max-width: 768px) {
  .gallery.cols-3 { grid-template-columns: 1fr 1fr; }
}

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

@media (max-width: 480px) {
  .article-outer { margin-top: 32px; padding: 0 16px; }
  .gallery.cols-2, .gallery.cols-3 { grid-template-columns: 1fr; }
  .attractions-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
