/* ===== GP RESET — body.single-article ====================================
   Without this block GeneratePress containers break the layout.
   Mirrors the pattern from single-hotel.css (Step 11.6).
   ========================================================================= */

body.single-article,
body.single-article #page,
body.single-article .site,
body.single-article #content,
body.single-article #primary {
  background: #FFFFFF !important;
}

body.single-article #content,
body.single-article #primary,
body.single-article .site-content,
body.single-article .content-area,
body.single-article main,
body.single-article .site-main,
body.single-article .inside-article,
body.single-article .entry-content {
  display: block !important;
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #FFFFFF !important;
}

body.single-article .generate-page-header,
body.single-article .entry-header,
body.single-article .page-header {
  display: none !important;
}

body.single-article .site-footer,
body.single-article .footer-bar-wrap,
body.single-article footer.site-info,
body.single-article .site-info,
body.single-article .footer-widgets-container {
  display: none !important;
}

/* ===== DIRECTION A v6 — DESIGN TOKENS ==================================== */
:root {
  --bg:          #FFFFFF;
  --bg-2:        #F5F5F3;
  --ink:         #0A0A0A;
  --ink-2:       #404040;
  --ink-3:       #7A7A7A;
  --line:        #9CA3A8;
  --line-soft:   #D4D8DC;
  --accent:      #1F4D5C;
  --accent-2:    #2D6B7F;
  --accent-soft: #E8EEF0;
}

body.single-article {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variation-settings: "opsz" 14;
  overflow-x: hidden;
}

body.single-article *,
body.single-article *::before,
body.single-article *::after {
  box-sizing: border-box;
}

body.single-article a    { color: inherit; text-decoration: none; }
body.single-article img  { max-width: 100%; display: block; }

/* ===== SCROLL PROGRESS ================================================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== REVEAL ANIMATIONS ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.in {
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
}
.stagger.in > * {
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.stagger.in > *:nth-child(1)  { animation-delay: 0.00s; }
.stagger.in > *:nth-child(2)  { animation-delay: 0.07s; }
.stagger.in > *:nth-child(3)  { animation-delay: 0.14s; }
.stagger.in > *:nth-child(4)  { animation-delay: 0.21s; }
.stagger.in > *:nth-child(5)  { animation-delay: 0.28s; }
.stagger.in > *:nth-child(6)  { animation-delay: 0.35s; }
.stagger.in > *:nth-child(n+7){ animation-delay: 0.40s; }

/* ===== ARTICLE ENTRY WRAPPER ============================================ */
.article-entry {
  max-width: 100%;
  overflow: hidden;
}

/* ===== BREADCRUMBS (mirrors hotel breadcrumbs) ========================== */
.breadcrumbs {
  padding: 20px 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  border-bottom: 0.5px solid var(--line-soft);
}
.breadcrumbs a {
  color: var(--ink-3);
  transition: color 0.15s;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep    { margin: 0 6px; }
.breadcrumbs .current { color: var(--ink-2); }

/* ===== ARTICLE HEADER =================================================== */
.article-header {
  padding: 64px 40px 56px;
  border-bottom: 0.5px solid var(--line-soft);
}
.article-header__inner {
  max-width: 760px;
}
.article-type-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.article-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.article-intro {
  font-family: 'Source Serif 4', serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 680px;
}
.article-intro p      { margin-bottom: 1em; }
.article-intro p:last-child { margin-bottom: 0; }

/* ===== SECTION ========================================================== */
.section {
  padding: 56px 40px;
  border-bottom: 0.5px solid var(--line-soft);
}
.section:last-child { border-bottom: none; }

.section__title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 36px;
  line-height: 1.15;
}
.section__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

/* ===== HOTEL CARDS GRID ================================================= */
.hotel-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.hotel-cards__empty {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-3);
  padding: 24px 0;
}

/* ===== HOTEL CARD (compact) ============================================= */
.hotel-card {
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--line-soft);
  background: var(--bg);
  transition: border-color 0.2s;
}
.hotel-card:hover {
  border-color: var(--line);
}

/* Image */
.hotel-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
}
.hotel-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hotel-card:hover .hotel-card__img-wrap img {
  transform: scale(1.03);
}

/* Body */
.hotel-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

/* Meta row: city · stars · rating */
.hotel-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.hotel-card__city::after {
  content: '·';
  margin-left: 10px;
  color: var(--line);
}
.hotel-card__stars {
  color: var(--accent);
  letter-spacing: 1px;
}
.hotel-card__rating {
  margin-left: auto;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* Title */
.hotel-card__title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hotel-card__title a {
  color: var(--ink);
  transition: color 0.15s;
}
.hotel-card__title a:hover { color: var(--accent); }

/* Description */
.hotel-card__desc {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 20px;
  flex: 1;
}

/* CTA */
.hotel-card__cta {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
  align-self: flex-start;
}
.hotel-card__cta:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

/* ===== OUTRO ============================================================ */
.section--outro .article-outro {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.section--outro .article-outro p      { margin-bottom: 1em; }
.section--outro .article-outro p:last-child { margin-bottom: 0; }

/* ===== FAQ ============================================================== */
.faq {
  max-width: 760px;
}
.faq-item {
  border-top: 0.5px solid var(--line-soft);
  padding: 0;
}
.faq-item:last-child {
  border-bottom: 0.5px solid var(--line-soft);
}
.faq-item summary {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item div,
.faq-item p {
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  padding-bottom: 20px;
  max-width: 660px;
}

/* ===== ARTICLE STUB (fallback for unsupported types) ==================== */
.article-stub {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px;
}
.article-stub__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 32px;
}
.article-stub__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ===== RESPONSIVE ======================================================= */
@media (max-width: 900px) {
  .hotel-cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .breadcrumbs       { padding: 16px 20px; }
  .article-header    { padding: 40px 20px 36px; }
  .section           { padding: 40px 20px; }
  .hotel-cards       { grid-template-columns: 1fr; gap: 16px; }
  .hotel-card__body  { padding: 16px 18px 20px; }
  .article-title     { font-size: 32px; }
}
