/* The resort guides keep their native document tabs, maps and booking controls. */
.ski-profile {
  --ski-pine: #123b36;
  --ski-deep: #0d302c;
  --ski-mint: #d9f3d9;
  --ski-frost: #f5f7f3;
  --ski-rule: #cedbd3;
  --ski-accent: #f69f6b;
  background: var(--ski-frost);
}
.ski-profile .ski-main { max-width: 1180px; }
.ski-profile .ski-breadcrumb { align-items: center; gap: 5px 9px; line-height: 1.35; }
.ski-profile .ski-breadcrumb a { padding: 5px 0; color: #31554c; }
.ski-profile .ski-breadcrumb [aria-current] { color: var(--ski-pine); font-weight: 700; }

.ski-profile .ski-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.ski-profile .ski-hero-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4.1vw, 55px);
  border-radius: 22px;
  color: white;
  background: var(--ski-pine);
}
.ski-profile .ski-hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, var(--ski-pine) 16%, rgb(18 59 54 / .85) 56%, transparent),
    repeating-radial-gradient(ellipse at 113% -32%, transparent 0 19px, rgb(202 242 216 / .14) 20px 21px, transparent 22px 32px),
    linear-gradient(135deg, #123b36 45%, #1e5348);
}
.ski-profile .ski-hero-copy .ski-kicker {
  margin: 0 0 12px;
  color: #cae9d3;
  font-size: .72rem;
  line-height: 1.55;
  letter-spacing: .1em;
}
.ski-profile .ski-hero h1 {
  max-width: 24ch;
  font-size: clamp(2.4rem, 5.8vw, 4.9rem);
  line-height: 1.01;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.ski-profile .ski-hero h1 em { color: var(--ski-mint); }
.ski-profile .ski-hero h1 br + em {
  display: inline-block;
  margin-top: .22em;
  font-size: .55em;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.ski-profile .ski-lead {
  max-width: 67ch;
  margin: 16px 0 0;
  color: #ebf2ed;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.55;
}
.ski-profile .ski-hero .ski-actions { gap: 8px; margin-top: 20px; }
.ski-profile .ski-hero .ski-button {
  border: 1px solid var(--ski-mint);
  background: var(--ski-mint);
  color: var(--ski-deep);
  min-height: 44px;
  padding: 9px 17px;
  line-height: 1.35;
  text-align: center;
}
.ski-profile .ski-hero .ski-button.secondary { background: transparent; border-color: #88a79b; color: white; }
.ski-profile .ski-hero .ski-button:hover { background: #f1fff0; color: var(--ski-deep); }
.ski-profile .ski-hero-copy a:focus-visible { outline-color: var(--ski-accent); }
.ski-profile .ski-nav#smucisce-vsebina {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  margin: 12px 0;
  padding: 4px;
  border: 1px solid var(--ski-rule);
  border-radius: 16px;
  background: white;
}
.ski-profile .ski-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 10px;
  min-height: 44px;
  border: none;
  border-radius: 11px;
  color: var(--ski-pine);
  background: transparent;
  text-align: center;
  line-height: 1.2;
}
.ski-profile .ski-nav a:hover { background: #e6f0e8; }
.ski-profile .ski-nav a[aria-current="page"] { background: var(--ski-pine); color: white; }
.ski-profile .ski-nav a:focus-visible { outline-offset: -3px; }
.ski-profile .ski-profile-conditions { display: grid; align-items: start; gap: 16px; min-width: 0; }
.ski-profile [data-ski-weather] { min-width: 0; }
.ski-profile .ski-weather-fallback {
  padding: 22px;
  margin: 0;
  border: 1px solid var(--ski-rule);
  border-radius: 16px;
  background: white;
}
.ski-profile .ski-map-hero .ski-art {
  width: 100%;
  min-width: 0;
  max-height: none;
  border: 1px solid var(--ski-rule);
  border-radius: 18px;
  overflow: hidden;
  background: white;
}
.ski-profile .ski-map-hero .ski-art img { max-height: 340px; object-fit: contain; }
.ski-profile .ski-map-hero .ski-art img[src*="karta-povezava"] { max-height: 160px; }
.ski-profile .ski-map-hero .ski-art figcaption {
  padding: 16px 19px;
  color: #435d52;
  background: white;
  overflow-wrap: anywhere;
  line-height: 1.48;
}
.ski-profile .ski-map-caption-title { font-size: 1rem; color: var(--ski-pine); margin-bottom: 4px; }
.ski-profile .ski-map-caption-links { gap: 0 14px; }
.ski-profile .ski-map-caption-links a { padding-block: 7px; color: #195a4a; }
.ski-profile .ski-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0 0;
  border: 1px solid var(--ski-rule);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ski-rule);
}
.ski-profile .ski-stat { border: 0; border-radius: 0; padding: 18px; background: white; }
.ski-profile .ski-stat strong { color: var(--ski-pine); font-size: clamp(1.22rem, 2.3vw, 2rem); overflow-wrap: anywhere; }
.ski-profile .ski-stat span { color: #495e56; font-size: .83rem; line-height: 1.45; }
.ski-profile .ski-note { color: #243f37; }
.ski-profile .ski-note.warm { border-left-color: #aa5b26; background: #fff4e5; color: #523b29; }
.ski-profile .ski-hero .ski-note { margin: 0 0 12px; }
.ski-profile .ski-section { margin-block: clamp(34px, 4.2vw, 56px); }
.ski-profile .ski-section > h2,
.ski-profile .ski-heading h2 { color: var(--ski-pine); text-wrap: balance; }
.ski-profile .ski-cta h2 { color: white; }
.ski-profile .ski-grid { gap: 14px; }
.ski-profile .ski-card,
.ski-profile .ski-faq details,
.ski-profile .ski-table-wrap { background: white; border-color: var(--ski-rule); border-radius: 16px; box-shadow: none; }
.ski-profile .ski-card-link { border-top: 3px solid #89b69a; }
.ski-profile .ski-card-link:hover { border-color: #326d57; }
.ski-profile .ski-table-wrap { overscroll-behavior-inline: contain; }
.ski-profile .ski-table-wrap:focus-visible { outline: 3px solid #b85d24; outline-offset: 2px; }
.ski-profile .ski-table td { font-variant-numeric: tabular-nums; }
.ski-profile .ski-table thead th { background: #e4efe6; color: var(--ski-pine); }
.ski-profile .ski-section > p, .ski-profile .ski-card p, .ski-profile .ski-list { color: #425a51; }
.ski-profile .ski-section.ski-cta { background: var(--ski-pine); }
.ski-profile .ski-section.ski-cta p { color: #d6e7de; }

@media (min-width: 880px) {
  .ski-profile-guide .ski-hero {
    grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr);
  }
  .ski-profile-guide .ski-hero-copy { grid-column: 1; grid-row: 1; border-radius: 22px 0 0 22px; }
  .ski-profile-guide .ski-hero > .ski-stats {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 24px;
    border: 0;
    border-radius: 0 22px 22px 0;
    background: #17443c;
    gap: 0;
    align-content: center;
  }
  .ski-profile-guide .ski-stat { padding: 18px 14px; background: transparent; }
  .ski-profile-guide .ski-stat:nth-child(n + 3) { border-top: 1px solid #4b7163; }
  .ski-profile-guide .ski-stat strong { color: var(--ski-mint); }
  .ski-profile-guide .ski-stat span { color: #e4f0e7; }
  .ski-profile-guide .ski-hero > :is(.ski-nav, .ski-note, .ski-profile-conditions) { grid-column: 1 / -1; }
  .ski-profile .ski-profile-conditions { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .ski-profile-subpage .ski-hero h1 { font-size: clamp(2.15rem, 4.15vw, 3.7rem); max-width: 32ch; }
  .ski-profile-subpage .ski-hero-copy { padding-block: 28px; }
}
@media (max-width: 700px) {
  .ski-profile .ski-main { width: min(calc(100% - 24px), 1180px); }
  .ski-profile .ski-hero-copy { padding: 22px 20px; border-radius: 18px; }
  .ski-profile .ski-breadcrumb { padding: 10px 2px; }
  .ski-profile .ski-hero h1 { font-size: clamp(2.15rem, 8.8vw, 3.4rem); }
  .ski-profile .ski-lead { margin-top: 12px; font-size: 1rem; }
  .ski-profile .ski-hero .ski-actions { margin-top: 14px; }
  .ski-profile .ski-hero .ski-button { flex: 1 1 auto; padding-inline: 10px; font-size: .84rem; }
  .ski-profile .ski-nav#smucisce-vsebina { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
  .ski-profile .ski-nav a { grid-column: span 2; padding: 6px; font-size: .84rem; }
  .ski-profile .ski-nav a:nth-child(n + 4) { grid-column: span 3; }
  .ski-profile .ski-map-hero .ski-art img { max-height: 280px; }
  .ski-profile .ski-map-hero .ski-art img[src*="karta-povezava"] { max-height: 146px; }
  .ski-profile .ski-card { padding: 20px; }
  .ski-profile .ski-feature { padding: 0; }
  .ski-profile .ski-note { margin: 12px 0; padding: 13px 16px; }
  .ski-profile .ski-table th, .ski-profile .ski-table td { padding: 12px; }
  .ski-profile .ski-table:not(:has(tr > :nth-child(4))) { min-width: 100%; }
}
