/*
 * Eagle Overland Field Journal — rooftop tent vs lodge.
 * Page-specific editorial layer loaded after the reusable journal treatment.
 */

body.ej-stay-journal {
  --stay-camp: #235347;
  --stay-camp-soft: #daf1de;
  --stay-lodge: #8a6a32;
  --stay-lodge-soft: #f2ead8;
}

body.ej-stay-journal .article-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 4.65vw, 68px);
}

body.ej-stay-journal .article-hero-visual img {
  object-position: 34% 36%;
}

/* The two stay styles read as open editorial dossiers instead of cards. */
body.ej-stay-journal .setup-card {
  position: relative;
  margin: 34px 0 50px;
  padding: 34px 0 0;
  border: 0;
  border-top: 2px solid var(--stay-camp);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.ej-stay-journal .setup-card.setup-lodge {
  border: 0;
  border-top: 2px solid var(--stay-lodge);
  background: transparent;
}

body.ej-stay-journal .setup-card::before {
  content: "Camping rhythm";
  position: absolute;
  top: -13px;
  left: 0;
  padding-right: 15px;
  color: var(--stay-camp);
  background: var(--journal-paper);
  font: 700 9px/1.4 var(--font-sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}

body.ej-stay-journal .setup-card.setup-lodge::before {
  content: "Lodge rhythm";
  color: var(--stay-lodge);
}

body.ej-stay-journal .article-body .setup-card h3 {
  max-width: 650px;
  margin: 0;
  color: var(--journal-ink);
  font: 500 clamp(27px, 3vw, 36px)/1.2 var(--font-serif);
  letter-spacing: -.025em;
}

body.ej-stay-journal .setup-card h3 > i {
  padding-top: 7px;
  color: var(--stay-camp);
  font-size: 21px;
}

body.ej-stay-journal .setup-lodge h3 > i {
  color: var(--stay-lodge);
}

body.ej-stay-journal .setup-badge-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 25px 0 24px;
  padding: 0;
  border-block: 1px solid #c9d8c4;
}

body.ej-stay-journal .setup-lodge .setup-badge-row {
  border-bottom-color: #d9cdb4;
  border-top-color: #d9cdb4;
}

body.ej-stay-journal .setup-badge-row > span {
  min-height: 70px;
  padding: 16px 18px;
  border-right: 1px solid #c9d8c4;
  color: #41594b;
  font-size: 11px;
  line-height: 1.6;
}

body.ej-stay-journal .setup-lodge .setup-badge-row > span {
  border-right-color: #d9cdb4;
}

body.ej-stay-journal .setup-badge-row > span:first-child {
  padding-left: 0;
}

body.ej-stay-journal .setup-badge-row > span:last-child {
  padding-right: 0;
  border-right: 0;
}

body.ej-stay-journal .setup-badge-row i {
  color: var(--stay-camp);
  font-size: 16px;
}

body.ej-stay-journal .setup-lodge .setup-badge-row i {
  color: var(--stay-lodge);
}

body.ej-stay-journal .setup-card p {
  max-width: 720px;
  margin: 22px 0;
  color: #43564a;
  font-size: 15px;
  line-height: 1.92;
}

body.ej-stay-journal .article-body .setup-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
  margin: 28px 0 0;
  padding: 0;
}

body.ej-stay-journal .setup-card li,
body.ej-stay-journal .setup-lodge li {
  min-height: 70px;
  padding: 15px 0 15px 25px;
  border-top: 1px solid #d9e0d4;
  color: #4b5c50;
  font-size: 13px;
  line-height: 1.75;
}

body.ej-stay-journal .setup-lodge li {
  border-top-color: #e2d9c7;
}

body.ej-stay-journal .setup-card li::before {
  content: "—";
  top: 16px;
  color: var(--stay-camp);
}

body.ej-stay-journal .setup-lodge li::before {
  color: var(--stay-lodge);
}

/* Tables carry the same two-sided camping / lodge story. */
body.ej-stay-journal .table-scroll {
  background: transparent;
}

body.ej-stay-journal :is(.setup-comparison-table, .setup-cost-table) thead th:nth-child(2) {
  background: var(--stay-camp-soft);
}

body.ej-stay-journal :is(.setup-comparison-table, .setup-cost-table) thead th:nth-child(3) {
  background: var(--stay-lodge-soft);
}

body.ej-stay-journal :is(.setup-comparison-table, .setup-cost-table) tbody td:nth-child(2) {
  background: rgba(218, 241, 222, .25);
}

body.ej-stay-journal :is(.setup-comparison-table, .setup-cost-table) tbody td:nth-child(3) {
  background: rgba(242, 234, 216, .34);
}

body.ej-stay-journal .setup-route-table tbody tr {
  transition: background-color .2s ease;
}

@media (hover: hover) {
  body.ej-stay-journal .setup-route-table tbody tr:hover {
    background: rgba(218, 241, 222, .28);
  }
}

/* Final choice becomes a clean two-column ledger. */
body.ej-stay-journal .style-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 50px;
  padding-block: 28px;
  border-block: 1px solid #c9d8c4;
}

body.ej-stay-journal .style-choice-panel,
body.ej-stay-journal .style-choice-panel.choice-lodge {
  padding: 0 32px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.ej-stay-journal .style-choice-panel.choice-lodge {
  padding: 0 0 0 32px;
  border-left: 1px solid #c9d8c4;
}

body.ej-stay-journal .article-body .style-choice-panel h3 {
  margin: 0 0 20px;
  color: var(--stay-camp);
  font-size: 28px;
  line-height: 1.25;
}

body.ej-stay-journal .article-body .style-choice-panel.choice-lodge h3 {
  color: var(--stay-lodge);
}

body.ej-stay-journal .article-body .style-choice-panel ul {
  margin: 0;
  padding-left: 18px;
}

body.ej-stay-journal .style-choice-panel li {
  margin: 12px 0;
  color: #4b5c50;
  font-size: 13px;
  line-height: 1.75;
}

body.page-article.ej-article-journal.ej-stay-journal .article-faq-block > h2::before {
  content: "11";
}

/* Hash navigation already has a highlighted chapter in the rail; headings stay clean. */
body.ej-stay-journal .article-body > h2[id]:focus {
  outline: 0;
}

@media (max-width: 900px) {
  body.ej-stay-journal .article-hero h1 {
    font-size: clamp(39px, 6vw, 53px);
  }

  body.ej-stay-journal .article-hero-visual img {
    object-position: 28% 38%;
  }
}

@media (max-width: 600px) {
  body.ej-stay-journal .article-hero h1 {
    font-size: clamp(33px, 9.2vw, 41px);
  }

  body.ej-stay-journal .setup-card {
    margin-block: 31px 45px;
    padding-top: 30px;
  }

  body.ej-stay-journal .article-body .setup-card h3 {
    font-size: 27px;
  }

  body.ej-stay-journal .setup-badge-row {
    grid-template-columns: 1fr;
  }

  body.ej-stay-journal .setup-badge-row > span,
  body.ej-stay-journal .setup-badge-row > span:first-child,
  body.ej-stay-journal .setup-badge-row > span:last-child {
    min-height: 0;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid #d7e1d3;
  }

  body.ej-stay-journal .setup-lodge .setup-badge-row > span {
    border-bottom-color: #e2d9c7;
  }

  body.ej-stay-journal .setup-badge-row > span:last-child {
    border-bottom: 0;
  }

  body.ej-stay-journal .article-body .setup-card ul {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  body.ej-stay-journal .setup-card li,
  body.ej-stay-journal .setup-lodge li {
    min-height: 0;
  }

  body.ej-stay-journal .style-choice-grid {
    grid-template-columns: 1fr;
    padding-block: 0;
  }

  body.ej-stay-journal .style-choice-panel,
  body.ej-stay-journal .style-choice-panel.choice-lodge {
    padding: 27px 0;
    border: 0;
  }

  body.ej-stay-journal .style-choice-panel.choice-lodge {
    border-top: 1px solid #c9d8c4;
  }

  body.ej-stay-journal .article-body .style-choice-panel h3 {
    font-size: 26px;
  }
}

