@charset "UTF-8";
/* ==========================================================================
   TRAVELNEST — Reviews
   Loaded after style.css and destination.css: tokens, top bar, breadcrumb,
   page hero, the "Four answers" enquiry block and the footer come from those
   two. The page argues one thing — nothing filtered — so the complaint count
   and the three-star reviews are given the same weight as the rating.
   --------------------------------------------------------------------------
   01. Page tokens and shared section furniture
   02. Every review we have — the rating band
   03. Twelve of the three hundred
   04. The three-star ones
   05. Responsive — 1500 / 1200 / 1000 / 760 / 430
   --------------------------------------------------------------------------
   Authored in fixed pixels at any width (only the nav and footer scale).
   ========================================================================== */

/* ==========================================================================
   01. Page tokens and shared section furniture
   ========================================================================== */

.page-reviews {
  /* the ink panels: the rating band and two of the three reply panels */
  --rv-panel: #17435A;
  --rv-panel-ink: #FBF6EC;
  --rv-panel-rgb: 251, 246, 236;
}

[data-theme="dark"] .page-reviews {
  --rv-panel: rgba(16, 16, 16, 0.72);
  --rv-panel-ink: #EDE3D3;
  --rv-panel-rgb: 237, 227, 211;
}

/* on dark paper the structural ink rules soften to 45% */
[data-theme="dark"] .pstrip,
[data-theme="dark"] .critrows { border-top-color: rgba(var(--ink-rgb), 0.45); }

[data-theme="dark"] .rvcard { border-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .rvcard--hot { border-color: var(--accent); }
[data-theme="dark"] .critrow:last-child { border-bottom-color: rgba(var(--ink-rgb), 0.45); }
[data-theme="dark"] .railnote--top { border-top-color: rgba(var(--ink-rgb), 0.45); }

/* the enquiry block is the Europe planner frozen at the 1920 reference */
.page-reviews .planner { --u: 19.2px; }

@media (max-width: 1500px) {
  .page-reviews .planner { --u: 1.28vw; }
}

/* every section opens the same way: heading pair, script, right-hand note */
.secthead {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 var(--gutter);
  padding: 34px 0 24px;
}

.secthead__stack {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  min-width: 0;
}

.secthead .display--about { font-size: 92px; }

.secthead .script--about {
  font-size: 66px;
  padding-top: 0;
  padding-bottom: 18px;
}

.secthead__note {
  margin: 0 0 0 auto;
  max-width: 380px;
  padding-bottom: 10px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
  opacity: 0.8;
  text-wrap: pretty;
}

/* four figures under each heading */
.pstrip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 var(--gutter) 22px;
  padding: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.22);
  list-style: none;
}

.pcell2 {
  flex: 1 1 180px;
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 13px 20px;
  border-left: 1px solid rgba(var(--ink-rgb), 0.22);
}

.pcell2:first-child { padding-left: 0; border-left: 0; }
.pcell2:last-child { padding-right: 0; }

.pcell2__value {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
}

.pcell2__label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* star ratings: filled glyphs, the remainder dimmed */
.stars {
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.stars__off { opacity: 0.28; }

/* the sentence + CTA that closes a section */
.railnote {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 28px var(--gutter) 0;
}

.railnote--top {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.railnote__text {
  max-width: 700px;
  font-size: 21px;
  font-weight: 500;
  opacity: 0.78;
  text-wrap: pretty;
}

.railnote__cta {
  margin-left: auto;
  border: 2px solid var(--accent);
  padding: 15px 32px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.railnote__cta:hover,
.railnote__cta:focus-visible {
  background: var(--accent);
  color: var(--cta-label);
}

/* ==========================================================================
   02. Every review we have — the rating band
   ========================================================================== */

.rband-sec { padding: 34px var(--gutter) 46px; }

.rband {
  background: var(--rv-panel);
  color: var(--rv-panel-ink);
}

.bandhead {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 30px;
  border-top: 4px solid var(--ab-panel-accent);
  border-bottom: 1px solid rgba(var(--rv-panel-rgb), 0.25);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.bandhead__place {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ab-panel-accent);
}

.bandhead__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentcolor;
}

.bandhead__note { opacity: 0.6; }

.bandhead__tag {
  margin-left: auto;
  border: 1px solid rgba(var(--rv-panel-rgb), 0.5);
  padding: 5px 13px;
  letter-spacing: 0.16em;
}

.rcells {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rcell {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 26px 30px;
  border-left: 1px solid rgba(var(--rv-panel-rgb), 0.3);
}

.rcell:first-child { border-left: 0; }

/* the complaint count is the most important number on the page */
.rcell--hot {
  flex: 1 1 300px;
  background: var(--accent);
  border-left: 0;
  color: var(--ab-on-accent-deep);
}

.rcell__figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.rcell__value {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 66px;
  font-weight: 600;
  line-height: 0.88;
  color: var(--ab-panel-accent);
}

.rcell--hot .rcell__value { color: inherit; }

.rcell__of {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: 500;
  opacity: 0.45;
}

.rcell__label {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rcell__sub {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.7;
  text-wrap: pretty;
}

.rcell--hot .rcell__sub { opacity: 0.92; }

.rband__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin: 0;
  padding: 16px 30px;
  border-top: 1px solid rgba(var(--rv-panel-rgb), 0.3);
}

.rband__text {
  max-width: 800px;
  font-size: 20px;
  font-weight: 500;
  opacity: 0.85;
  text-wrap: pretty;
}

.rband__cta {
  margin-left: auto;
  border: 2px solid var(--ab-panel-cta);
  padding: 13px 28px;
  color: var(--ab-panel-cta);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.16s ease-out, color 0.16s ease-out;
}

.rband__cta:hover,
.rband__cta:focus-visible {
  background: var(--ab-panel-cta);
  color: var(--ab-panel-cta-ink);
}

/* ==========================================================================
   03. Twelve of the three hundred
   ========================================================================== */

.reviews-sec { padding: 0 0 62px; }

.rgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 var(--gutter);
  padding: 0;
  list-style: none;
}

.rvcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 2px solid var(--ink);
  padding: 16px 20px 18px;
}

/* the returning traveller is the one card that carries the accent */
.rvcard--hot {
  border: 3px solid var(--accent);
  background: rgba(192, 82, 27, 0.05);
}

.rvcard__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.35);
}

.rvcard--hot .rvcard__head { border-bottom-color: rgba(192, 82, 27, 0.5); }

.rvcard__index {
  color: var(--accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.rvcard__date {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.5;
}

.rvchip {
  margin-left: auto;
  border: 2px solid var(--accent);
  padding: 2px 9px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rvcard__quote {
  margin: 0;
}

.rvcard__quote p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.42;
  text-wrap: pretty;
}

.rvcard__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 11px;
  border-top: 1px dashed rgba(var(--ink-rgb), 0.35);
}

.rvcard--hot .rvcard__foot { border-top-color: rgba(192, 82, 27, 0.5); }

.rvcard__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}

.rvcard__trip {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.rvcard__place {
  font-size: 17px;
  font-weight: 600;
  opacity: 0.6;
}

.rvcard__guide {
  margin-left: auto;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  white-space: nowrap;
}

/* a traveller's own photograph, two columns wide */
.rvphoto {
  position: relative;
  grid-column: span 2;
  min-height: 300px;
  overflow: hidden;
}

.rvphoto__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rvphoto__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.84) 0%, transparent 56%);
  pointer-events: none;
}

.rvphoto__tag {
  position: absolute;
  left: 18px;
  top: 16px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 3px 10px;
  color: #FFFFFF;
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  pointer-events: none;
}

.rvphoto__cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: #FFFFFF;
  pointer-events: none;
}

.rvphoto__by {
  color: var(--ab-panel-accent);
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
}

.rvphoto__line {
  font-family: "Oswald", "Helvetica Neue", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

/* ==========================================================================
   04. The three-star ones
   ========================================================================== */

.crit-sec { padding: 0 0 60px; }

.critrows {
  display: flex;
  flex-direction: column;
  margin: 0 var(--gutter);
  padding: 0;
  border-top: 3px solid var(--ink);
  list-style: none;
}

.critrow {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 26px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.22);
}

.critrow:last-child { border-bottom: 3px solid var(--ink); }

.critrow__review {
  flex: 1 1 620px;
  min-width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-right: 40px;
}

.critrow__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.critrow__head .stars { font-size: 18px; }

.critrow__quote { margin: 0; }

.critrow__quote p {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}

.critrow__by {
  margin: auto 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed rgba(var(--ink-rgb), 0.35);
}

.critrow__name {
  font-size: 19px;
  font-weight: 700;
}

.critrow__booked {
  font-size: 17px;
  font-weight: 600;
  opacity: 0.6;
}

/* our answer, beside the review it answers */
.reply {
  flex: 1 1 520px;
  min-width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--rv-panel);
  padding: 20px 24px;
  color: var(--rv-panel-ink);
}

/* the middle case is the serious one, so its panel is terracotta */
.reply--hot {
  background: var(--accent);
  color: var(--ab-on-accent-deep);
}

.reply__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0;
}

.reply__label {
  color: var(--ab-panel-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.reply--hot .reply__label {
  color: inherit;
  opacity: 0.85;
}

.reply__when {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.reply--hot .reply__when { opacity: 0.75; }

.reply__text {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.42;
  opacity: 0.92;
  text-wrap: pretty;
}

.reply--hot .reply__text { opacity: 0.95; }

.reply__changed {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 13px;
  border-top: 2px dotted rgba(var(--rv-panel-rgb), 0.45);
}

.reply--hot .reply__changed { border-top-color: rgba(255, 255, 255, 0.55); }

.reply__changed-title {
  margin: 0;
  color: var(--ab-panel-accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.reply--hot .reply__changed-title { color: inherit; }

.reply__changed-text {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

/* ==========================================================================
   05. Responsive
   ========================================================================== */

@media (max-width: 1500px) {
  .secthead .display--about { font-size: 74px; }
  .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rcell { flex: 1 1 220px; padding: 20px 22px; }
  .rcell--hot { flex: 1 1 240px; }
  .rcell__value { font-size: 54px; }
  .critrow__review { padding-right: 26px; }
}

@media (max-width: 1000px) {
  .rband-sec { padding: 24px var(--gutter) 32px; }
  .reviews-sec { padding-bottom: 40px; }
  .crit-sec { padding-bottom: 40px; }

  .secthead { padding: 26px 0 20px; gap: 14px; }

  .secthead__note {
    margin-left: 0;
    padding-bottom: 0;
    text-align: left;
    font-size: 18px;
  }

  .pcell2 { flex: 1 1 150px; padding: 10px 14px; }
  .pcell2__label { font-size: 14px; }

  .bandhead { gap: 12px; padding: 12px 20px; font-size: 14px; }
  .bandhead__tag { margin-left: 0; }

  .rcell { padding: 18px 20px; }
  .rcell__label { font-size: 17px; }
  .rcell__sub { font-size: 16px; }

  .rband__foot { gap: 14px; padding: 14px 20px; }
  .rband__text { font-size: 18px; }
  .rband__cta { margin-left: 0; padding: 12px 22px; font-size: 15px; }

  /* the photo cells stop spanning once the grid narrows to two columns */
  .rvphoto { min-height: 260px; }

  /* review then reply, the reply keeping its panel */
  .critrow__review {
    flex: 1 1 100%;
    min-width: 0;
    padding: 0 0 18px;
  }

  .reply { flex: 1 1 100%; min-width: 0; }

  .railnote { gap: 14px; }
  .railnote__text { font-size: 18px; }
  .railnote__cta { margin-left: 0; padding: 13px 24px; font-size: 16px; }
}

@media (max-width: 760px) {
  .rgrid { grid-template-columns: minmax(0, 1fr); }
  .rvphoto { grid-column: span 1; min-height: 220px; }
  .rvphoto__line { font-size: 22px; }

  /* stacked cells are divided top to bottom, never by a stray left rule */
  .pstrip { display: block; }

  .pcell2 {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(var(--ink-rgb), 0.22);
  }

  .pcell2:first-child { border-top: 0; }

  .rcell {
    flex: 1 1 100%;
    border-left: 0;
    border-top: 1px solid rgba(var(--rv-panel-rgb), 0.3);
  }

  .rcell:first-child { border-top: 0; }
  .rcell--hot { flex: 1 1 100%; border-top: 0; }
  .rcell__value { font-size: 46px; }

  .critrow__quote p { font-size: 19px; }
}

@media (max-width: 430px) {
  .secthead .display--about { font-size: clamp(30px, 8.5vw, 48px); }
  .secthead .script--about { font-size: clamp(30px, 9vw, 46px); }
  .rvcard__head { flex-wrap: wrap; gap: 6px 10px; }
  .rvchip,
  .rvcard__date { margin-left: 0; }
  .rvcard__trip { flex-wrap: wrap; gap: 2px 10px; }
  .rvcard__guide { margin-left: 0; }
  .bandhead__tag { align-self: flex-start; }
  .reply { padding: 16px 18px; }

  /* the trip line takes its own row rather than squeezing beside the stars */
  .critrow__head { flex-wrap: wrap; gap: 4px 12px; }
  .critrow__head .rvcard__date { margin-left: 0; }
  .critrow__quote p { font-size: 18px; }
}
