/* =====================================================================
   SKI GUIDE — /ski/guide (views/frontend/ski/guide.blade.php).

   Two dark search bands, each opening a half of the page, over dense rows of
   small photo tiles: the layout of a specialist ski-gear and resort guide, in
   the ski landing page's own navy, gold and white. Stars come from
   css/ski-resorts.css. Prefix .skg- throughout.
   ===================================================================== */

/* ---- the page head: title and in-page links ---- */
.skg-intro { padding: clamp(28px, 3.4vw, 46px) 0 clamp(18px, 2vw, 26px); }
.skg-intro__kicker {
  margin: 0;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--skl-gold);
}
.skg-intro__title {
  margin: 4px 0 14px;
  font-family: var(--skl-head);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--skl-navy);
}
.skg-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.skg-jump a {
  padding: 7px 14px;
  border: 1.5px solid var(--skl-line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--skl-navy);
  text-decoration: none;
  transition: border-color .2s var(--skl-ease);
}
.skg-jump a:hover { border-color: var(--skl-navy); }
.skg-page .skg-sec,
.skg-page .skg-band { scroll-margin-top: 80px; }

/* ---- a dark band with its title and a search box ---- */
.skg-band {
  background:
    linear-gradient(rgba(20, 34, 44, .9), rgba(20, 34, 44, .9)),
    repeating-linear-gradient(115deg, #22394a 0 2px, #1b2f3d 2px 9px);
  color: #FFFFFF;
}
.skg-band__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-block: clamp(14px, 1.8vw, 22px);
}
.skg-band__h {
  margin: 0;
  font-family: var(--skl-head);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.skg-find {
  position: relative;
  display: block;
  width: min(460px, 100%);
}
.skg-find svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--skl-muted); pointer-events: none; }
.skg-find input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 0;
  border-radius: 4px;
  background: #FFFFFF;
  font: inherit;
  font-size: .88rem;
  color: var(--skl-ink);
}
.skg-find input:focus-visible { outline: 3px solid var(--skl-gold); outline-offset: 1px; }

.skg-body { padding-block: clamp(20px, 2.4vw, 30px); }
.skg-sec { padding-block: clamp(14px, 1.8vw, 24px); }

.skg-h {
  margin: 0 0 14px;
  font-family: var(--skl-head);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--skl-navy);
}
.skg-h--sm { font-size: 1.1rem; margin-bottom: 8px; }

/* Stand-in text: italic and muted, so a placeholder is recognisable at a
   glance and never passes for real content. */
.skg-stand { font-style: italic; color: var(--skl-muted); }

/* ---- the gear guide's article wall ---- */
.skg-articles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0 0 clamp(18px, 2vw, 26px);
  padding: 0;
  list-style: none;
}
.skg-article { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--skl-ink); }
.skg-article__img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: var(--skl-sky-soft);
  box-shadow: 0 2px 8px rgba(20, 34, 44, .14);
}
.skg-article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--skl-ease); }
.skg-article:hover img { transform: scale(1.05); }
.skg-article b { font-size: .86rem; line-height: 1.35; }
.skg-article:hover b { color: var(--skl-gold); }

/* ---- grids of small centred tiles ---- */
.skg-grid { display: grid; gap: 22px 16px; margin: 0; padding: 0; list-style: none; }
.skg-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.skg-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.skg-gear { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; text-align: center; text-decoration: none; color: var(--skl-ink); }
.skg-gear__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; background: #F3F5F6; }
.skg-gear__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--skl-ease); }
.skg-gear:hover .skg-gear__img img { transform: scale(1.05); }
.skg-gear__img--icon { color: var(--skl-navy); }
.skg-gear__img--icon svg { width: 46%; height: 46%; }
.skg-gear__name { margin-top: 6px; font-size: .9rem; line-height: 1.3; }
.skg-gear:hover .skg-gear__name { color: var(--skl-gold); }
.skg-gear__quote {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .76rem;
  line-height: 1.45;
  color: var(--skl-muted);
}
.skg-resort .skg-gear__img { aspect-ratio: 1; }

.skg-empty { margin: 14px 0 0; font-size: .88rem; color: var(--skl-muted); }

/* ---- plan promo ---- */
.skg-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-block: clamp(10px, 1.4vw, 20px);
  padding: clamp(24px, 3.2vw, 42px) clamp(20px, 3vw, 40px);
  border-radius: 12px;
  background: linear-gradient(115deg, #1f3441, #3c5564);
  color: #FFFFFF;
  text-decoration: none;
}
.skg-promo__txt { display: flex; flex-direction: column; gap: 10px; }
.skg-promo__txt b { font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 800; line-height: 1.15; }
.skg-promo__txt small { font-size: .88rem; opacity: .85; }
.skg-promo__go { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #FFFFFF; color: var(--skl-ink); transition: transform .25s var(--skl-ease); }
.skg-promo__go svg { width: 20px; height: 20px; }
.skg-promo:hover .skg-promo__go { transform: translateX(4px); }
.skg-promo:focus-visible { outline: 3px solid var(--skl-gold); outline-offset: 3px; }

/* ---- skis, snowboards and the kit tiles ---- */
.skg-equip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.skg-equip__big { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 6px; background: #F3F5F6; }
.skg-equip__art { flex: none; display: grid; place-items: center; width: 84px; height: 64px; border-radius: 4px; background: #FFFFFF; color: var(--skl-navy); }
.skg-equip__art svg { width: 40px; height: 40px; }
.skg-equip__name { font-family: var(--skl-head); font-size: 1.4rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--skl-navy); text-decoration: none; }
.skg-equip__name:hover { color: var(--skl-gold); }
.skg-equip__sub { margin: 2px 0 0; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--skl-muted); }
.skg-equip__sub a { color: inherit; text-decoration: none; }
.skg-equip__sub a:hover { color: var(--skl-navy); text-decoration: underline; }

.skg-kit__tile {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 14px 12px;
  border-radius: 6px;
  background: #F3F5F6;
  color: var(--skl-navy);
  text-decoration: none;
  transition: background-color .2s var(--skl-ease);
}
.skg-kit__tile:hover { background: var(--skl-sky-soft); }
.skg-kit__icon { flex: none; width: 34px; height: 34px; }
.skg-kit__tile b { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---- the snow report ---- */
.skg-snow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); align-items: start; }
.skg-snow__note { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--skl-muted); }
.skg-snow__caption { margin: 0 0 8px; font-size: .8rem; color: var(--skl-muted); }
.skg-table { margin: 0; padding: 0; list-style: none; border: 1px solid var(--skl-line); }
.skg-table li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 12px; font-size: .84rem; }
.skg-table li:nth-child(odd) { background: #F6F8F9; }
.skg-table li + li { border-top: 1px solid var(--skl-line); }
.skg-table em { font-style: normal; color: var(--skl-muted); white-space: nowrap; }
.skg-table em.skg-stand { font-style: italic; }
.skg-table a { color: var(--skl-navy); text-decoration: none; }
.skg-table a:hover { color: var(--skl-gold); text-decoration: underline; }
.skg-dir { flex: none; font-size: .76rem; font-weight: 600; }

/* ============================== responsive ============================== */
@media (max-width: 1024px) {
  .skg-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .skg-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skg-snow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .skg-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skg-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skg-equip { grid-template-columns: minmax(0, 1fr); }
  .skg-snow { grid-template-columns: minmax(0, 1fr); }
  .skg-promo { align-items: flex-end; }
}
@media (max-width: 480px) {
  .skg-grid--5, .skg-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .skg-article__img img, .skg-gear__img img, .skg-promo__go { transition: none; }
}
