/* HT Offers: quiet partner variant of the hiking-guide-cta look.
   No !important, no @import, no JS: the same file is valid AMP custom CSS. */

.hiking-offer {
  --ht-offer-ink: #203126;
  --ht-offer-muted: #56635b;
  --ht-offer-green: #2f8063;
  --ht-offer-line: #e2ded4;
  box-sizing: border-box;
  max-width: 760px;
  margin: 1.9rem auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ht-offer-ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hiking-offer--card,
.hiking-offer--compare,
.hiking-offer--strip,
.hiking-offer--uses {
  padding: 1rem 1.2rem 0.85rem;
  border: 1px solid var(--ht-offer-line);
  border-left: 3px solid rgba(47, 128, 99, 0.55);
  border-radius: 8px;
  background: #fbfaf5;
}

.hiking-offer p { margin: 0; }
.hiking-offer ul { margin: 0; padding: 0; list-style: none; }
.hiking-offer li { margin: 0; padding: 0; }
.hiking-offer li::before { content: none; }

.hiking-offer p.hiking-offer__label {
  margin: 0 0 0.3rem;
  color: var(--ht-offer-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hiking-offer p.hiking-offer__title {
  margin: 0 0 0.35rem;
  color: var(--ht-offer-ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.hiking-offer p.hiking-offer__why,
.hiking-offer p.hiking-offer__skip {
  color: var(--ht-offer-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hiking-offer p.hiking-offer__skip { -webkit-line-clamp: 1; margin-top: 0.15rem; }
.hiking-offer p.hiking-offer__skip strong { color: var(--ht-offer-ink); font-weight: 600; }

.hiking-offer p.hiking-offer__disclosure {
  margin-top: 0.6rem;
  color: #7a817c;
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Card row: meta + button */
.hiking-offer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 0.6rem;
}

.hiking-offer p.hiking-offer__meta {
  color: var(--ht-offer-ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.hiking-offer__sep { margin: 0 0.4rem; color: #a3a89f; font-weight: 400; }

.hiking-offer a.hiking-offer__button,
.hiking-offer a.hiking-offer__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--ht-offer-green);
  border-radius: 999px;
  background: #fff;
  color: var(--ht-offer-green);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.hiking-offer a.hiking-offer__button:hover,
.hiking-offer a.hiking-offer__button:focus {
  background: var(--ht-offer-green);
  color: #fff;
}

/* C. Compare */
.hiking-offer__options { border-top: 1px solid var(--ht-offer-line); }

.hiking-offer li.hiking-offer__option {
  display: grid;
  grid-template-columns: minmax(8rem, 1.1fr) 2fr auto auto;
  align-items: center;
  gap: 0.25rem 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--ht-offer-line);
}

.hiking-offer__option-name { font-weight: 700; }
.hiking-offer__option-why { color: var(--ht-offer-muted); font-size: 0.88rem; }
.hiking-offer__option-price { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }

.hiking-offer a.hiking-offer__option-link,
.hiking-offer a.hiking-offer__uses-link,
.hiking-offer a.hiking-offer__strip-link {
  color: var(--ht-offer-green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hiking-offer a.hiking-offer__option-link { white-space: nowrap; font-size: 0.9rem; }

/* D. Strip */
.hiking-offer--strip { padding-top: 0.8rem; padding-bottom: 0.7rem; }
.hiking-offer--strip p.hiking-offer__title { font-size: 0.95rem; }

.hiking-offer ul.hiking-offer__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.3rem;
}

.hiking-offer a.hiking-offer__strip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  font-size: 0.92rem;
}

.hiking-offer__icon { flex: 0 0 auto; width: 20px; height: 20px; }

/* E. What I use */
.hiking-offer--uses { background: #fff; }
.hiking-offer ul.hiking-offer__uses li { padding: 0.25rem 0; }
.hiking-offer__uses-note { color: var(--ht-offer-muted); font-size: 0.9rem; }

/* A. Inline link */
a.hiking-offer-link { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }
.hiking-offer-link__mark { margin-left: 0.2em; color: #7a817c; font-size: 0.72em; vertical-align: super; }
p.hiking-offer-page-disclosure { margin-top: 1.6rem; color: #7a817c; font-size: 0.8rem; }

/* Editors only */
.hiking-offer__editor-note {
  display: block;
  margin-top: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: #fff3cd;
  color: #6b4e00;
  font-size: 0.72rem;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .hiking-offer { margin: 1.5rem 0; }
  .hiking-offer--card,
  .hiking-offer--compare,
  .hiking-offer--strip,
  .hiking-offer--uses { padding: 0.85rem 0.95rem 0.75rem; }
  .hiking-offer p.hiking-offer__title { font-size: 1.02rem; }
  .hiking-offer p.hiking-offer__why { -webkit-line-clamp: 2; }
  .hiking-offer__row { margin-top: 0.5rem; }
  .hiking-offer a.hiking-offer__button { min-height: 38px; padding: 0.45rem 0.95rem; }

  .hiking-offer li.hiking-offer__option {
    grid-template-columns: 1fr auto;
    gap: 0.1rem 0.75rem;
  }
  .hiking-offer__option-why { grid-column: 1; grid-row: 2; }
  .hiking-offer__option-price { grid-column: 1; grid-row: 3; }
  .hiking-offer a.hiking-offer__option-link { grid-column: 2; grid-row: 1 / span 3; align-self: center; }

  .hiking-offer ul.hiking-offer__strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 0.8rem; }
}

/* GetYourGuide widget variant: reserve height so the page does not jump while it loads */
.hiking-offer--gyg { border: 0; border-radius: 0; background: transparent; padding: 0; }
.hiking-offer--gyg p.hiking-offer__disclosure { margin-top: 0.2rem; }
/* Theme style.min.css draws a 1px #e5e5e5 line via `aside::before` (sidebar separator)
   on screens >= 1024px; our blocks are <aside>, so switch it off. */
aside.hiking-offer::before { display: none; content: none; border: 0; }
.hiking-offer__gyg { min-height: 450px; overflow: hidden; margin: 0.3rem 0 0; }

/* Theme adds paragraph spacing inside articles; keep cards compact */
.hiking-offer p.hiking-offer__why + p.hiking-offer__skip { margin-top: 0.15rem; }
article .hiking-offer p, .text .hiking-offer p, .entry-content .hiking-offer p { margin-bottom: 0; }

/* Travelpayouts hotel widgets (Trip.com search form, Ostrovok selection) */
.hiking-offer--widget { border: 0; border-radius: 0; background: transparent; padding: 0; }
.hiking-offer__widget { margin: 0.3rem 0 0; min-height: 120px; }
.hiking-offer__widget--ostrovok-hotels { min-height: 380px; }
.hiking-offer__widget--vio-hotels { min-height: 360px; }
/* Crop Vio's in-frame "Powered by vio · Become a Partner" footer (~52-56px). Resets theme div.text iframe padding-top/margin-bottom. */
aside.hiking-offer .hiking-offer__widget--vio-hotels { overflow: hidden; }
aside.hiking-offer .hiking-offer__widget--vio-hotels iframe { display: block; padding: 0; margin: 0 0 -54px; }
.hiking-offer__widget--ostrovok-map { min-height: 400px; }
.hiking-offer__widget + .hiking-offer__widget { margin-top: 1rem; }
.hiking-offer__widget--discovercars-search { min-height: 380px; }
/* Widget iframes come with fixed pixel widths (Ostrovok map: 760px); keep them fluid. */
.hiking-offer__widget iframe { max-width: 100%; }
.hiking-offer__widget--ostrovok-map iframe { width: 100%; }

/* F. Button (hotels, car hire) */
.hiking-offer--button { border: 0; border-radius: 0; background: transparent; padding: 0; margin: 1rem 0 1.4rem; }
.hiking-offer-button { margin: 0; }
.hiking-offer-button__link,
.hiking-offer-button__link:visited { display: inline-block; background: rgb(79, 142, 71); color: #fff !important; padding: 0.7rem 1.3rem; border-radius: 6px; font-weight: 600; line-height: 1.3; text-decoration: none !important; }
.hiking-offer-button__link:hover,
.hiking-offer-button__link:focus { background: rgb(62, 115, 56); color: #fff !important; }
.hiking-offer--button p.hiking-offer__disclosure { margin-top: 0.3rem; }
