/* Mainalo Ski Report */
.msr, .msr-bar {
	--msr-blue: var(--m-blue, #347bb0);
	--msr-navy: var(--m-navy, #0f1e33);
	--msr-red: var(--m-red, #ed1d23);
	--msr-ice: var(--m-ice, #eef4fa);
	--msr-line: var(--m-line, #d6e2ee);
	--msr-text: var(--m-text, #3b4a5c);
	--msr-green: #1f9d55;
	--msr-amber: #d97706;
	color: var(--msr-text);
}
.msr-ico { width: 22px; height: 22px; flex: 0 0 auto; color: var(--msr-blue); }

/* Pills */
.msr-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; font-style: normal; white-space: nowrap; line-height: 1.3; }
.msr-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.msr-pill--open { background: #e5f6ec; color: var(--msr-green); }
.msr-pill--chains, .msr-pill--limited { background: #fff3e0; color: var(--msr-amber); }
.msr-pill--closed { background: #fdeaea; color: var(--msr-red); }

/* ---------- Bar (under the hero) ---------- */
.msr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; background: #fff; border-radius: 16px; padding: 18px 24px; box-shadow: 0 18px 40px -18px rgba(15, 30, 51, .35); }
.msr-bar__item { display: flex; align-items: center; gap: 10px; }
.msr-bar__label { font-size: 14px; color: #64748b; }
.msr-bar__item strong { color: var(--msr-navy); font-size: 17px; }
.msr-bar__item strong.msr-pill { font-size: 13px; }
.msr-bar__cta { margin-left: auto; background: var(--msr-red); color: #fff !important; text-decoration: none !important; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .2s; }
.msr-bar__cta:hover { background: #c4141a; }
@media (max-width: 767px) {
	.msr-bar { display: grid; grid-template-columns: 1fr 1fr; padding: 16px; gap: 14px; }
	.msr-bar__item { flex-direction: column; align-items: flex-start; gap: 2px; }
	.msr-bar__item .msr-ico { display: none; }
	.msr-bar__cta { grid-column: 1 / -1; margin: 0; text-align: center; }
}

/* ---------- Full report ---------- */
.msr-head { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-bottom: 18px; }
.msr-season { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.msr-season--on { background: #e5f6ec; color: var(--msr-green); }
.msr-season--off { background: var(--msr-navy); color: #fff; }
.msr-updated { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #64748b; }
.msr-updated .msr-ico { width: 18px; height: 18px; }
.msr-offmsg { text-align: center; max-width: 640px; margin: 0 auto 28px; }

.msr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (min-width: 1100px) { .msr-grid { grid-template-columns: 1.15fr 1fr 1fr; } .msr-card--ann { grid-column: 1 / -1; } }
@media (max-width: 767px) { .msr-grid { grid-template-columns: 1fr; } }

.msr-card { background: #fff; border: 1px solid var(--msr-line); border-radius: 18px; padding: 24px; }
.msr-card__title { font-size: 18px !important; margin: 0 0 16px !important; color: var(--msr-navy); }

.msr-stats { display: grid; gap: 16px; }
.msr-stat { display: flex; align-items: center; gap: 14px; }
.msr-stat .msr-ico { width: 40px; height: 40px; padding: 9px; background: var(--msr-ice); border-radius: 12px; box-sizing: border-box; }
.msr-stat strong { display: block; font-size: 26px; line-height: 1.1; color: var(--msr-navy); }
.msr-stat strong small { font-size: 15px; font-weight: 600; color: #64748b; }
.msr-stat span { font-size: 14px; color: #64748b; }
.msr-stat--fresh .msr-ico { background: #e8f1ff; }

.msr-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.msr-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--msr-line); margin: 0 !important; }
.msr-list li:last-child { border-bottom: 0; }
.msr-list li span { flex: 1; color: var(--msr-navy); font-weight: 500; }

.msr-ann { display: grid; gap: 12px; }
.msr-ann__item { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--msr-ice); }
.msr-ann__item p { margin: 0 0 6px; }
.msr-ann__item p:last-child { margin: 0; }
.msr-ann__item--urgent { background: #fdeaea; }
.msr-ann__item--urgent .msr-ico { color: var(--msr-red); }
.msr-empty { margin: 0; color: #64748b; }

/* ---------- Weather in the bar ---------- */
.msr-bar__weather { display: flex; align-items: center; gap: 10px; padding-right: 28px; border-right: 1px solid var(--msr-line); }
.msr-wico { width: 34px; height: 34px; flex: 0 0 auto; color: var(--msr-blue); }
.msr-wico--clear, .msr-wico--partly { color: #e9a40d; }
.msr-wico--snow { color: #5aa7e0; }
.msr-bar__temp { font-family: var(--m-font-head, inherit); font-size: 28px; line-height: 1; color: var(--msr-navy); }
.msr-bar__wdesc { display: grid; font-size: 13px; line-height: 1.35; color: #64748b; }
.msr-bar__wdesc span:first-child { color: var(--msr-navy); font-weight: 600; }
.msr-pill--snow { background: #e8f3fd; color: #1f6fb2; }
.msr-pill--snow::before { display: none; }
.msr-bar__meta { flex: 1 0 100%; display: flex; align-items: center; gap: 6px; margin: -2px 0 0 !important; padding-top: 10px; border-top: 1px dashed var(--msr-line); font-size: 12.5px; color: #64748b; }
.msr-bar__meta .msr-ico { width: 15px; height: 15px; }
.msr-bar__sep { opacity: .6; }
.msr-credit { color: #64748b !important; text-decoration: none !important; }
.msr-credit:hover { color: var(--msr-blue) !important; }
@media (max-width: 1100px) and (min-width: 768px) {
	.msr-bar__weather { flex: 1 0 100%; border-right: 0; padding: 0 0 10px; border-bottom: 1px solid var(--msr-line); }
}
@media (max-width: 767px) {
	.msr-bar__weather { grid-column: 1 / -1; border-right: 0; padding: 0 0 12px; border-bottom: 1px solid var(--msr-line); flex-wrap: wrap; }
	.msr-bar__weather .msr-pill { margin-left: auto; }
	.msr-bar__meta { grid-column: 1 / -1; flex-wrap: wrap; padding-top: 10px; margin: 0 !important; }
}

/* ---------- Grid with the new cards ---------- */
@media (min-width: 1100px) {
	.msr-grid { grid-template-columns: 1.15fr 1fr 1fr; }
	.msr-card--weather { grid-column: span 2; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	.msr-card--weather, .msr-card--ann { grid-column: 1 / -1; }
}
.msr-card__title small { font-size: 13px; font-weight: 500; color: #64748b; margin-left: 6px; }
.msr-card__foot { margin: 14px 0 0 !important; font-size: 12.5px; color: #64748b; }

/* ---------- Weather card ---------- */
.msr-wnow { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--msr-line); }
.msr-wico--lg { width: 56px; height: 56px; }
.msr-wnow strong { display: block; font-family: var(--m-font-head, inherit); font-size: 40px; line-height: 1; color: var(--msr-navy); }
.msr-wnow span { font-size: 14px; color: #64748b; }
.msr-days { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px !important; }
.msr-days li { margin: 0 !important; display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; background: var(--msr-ice); text-align: center; }
.msr-days__name { font-size: 13px; font-weight: 600; color: var(--msr-navy); }
.msr-days .msr-wico { width: 30px; height: 30px; }
.msr-days__t { font-size: 15px; color: #64748b; }
.msr-days__t strong { color: var(--msr-navy); font-size: 17px; }
.msr-days__p { font-size: 13px; color: #1f6fb2; font-weight: 600; min-height: 18px; }
.msr-muted { color: #94a3b8; font-weight: 400; }

/* ---------- Before you go ---------- */
.msr-list--compact li { padding: 9px 0; }
.msr-list--compact em { font-style: normal; font-weight: 600; color: var(--msr-navy); }
.msr-note { font-size: 14px; margin: 8px 0 0 !important; }
.msr-actions { display: grid; gap: 8px; margin-top: 12px; }
.msr-action { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--msr-line); border-radius: 12px; color: var(--msr-navy) !important; text-decoration: none !important; font-weight: 500; font-size: 15px; transition: border-color .2s, background .2s; }
.msr-action:hover { border-color: var(--msr-blue); background: var(--msr-ice); }
.msr-action .msr-ico { width: 18px; height: 18px; }

/* Cards carry the same soft shadow the old status bar had */
.msr-card { border-color: #e6edf5; box-shadow: 0 18px 40px -18px rgba(15, 30, 51, .35); }

/* ---------- Slopes & lifts: each item with its own status ---------- */
.msr-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.msr-card__head .msr-card__title { margin: 0 !important; }
.msr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.msr-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--msr-ice); font-size: 13px; color: #64748b; }
.msr-chip strong { color: var(--msr-navy); font-size: 14px; }
.msr-chip .msr-ico { width: 16px; height: 16px; }
.msr-cols { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px 32px; }
.msr-sub { margin: 0 0 4px !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: #64748b !important; }
.msr-list--items li { padding: 9px 0; }
.msr-list--items li span small { color: #94a3b8; font-size: 12.5px; margin-left: 4px; white-space: nowrap; }
.msr-num { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.msr-diff--green { background: #1f9d55; }
.msr-diff--blue { background: #1f6fb2; }
.msr-diff--red { background: #e02424; }
.msr-diff--black { background: #111827; }
@media (max-width: 767px) { .msr-cols { grid-template-columns: 1fr; } .msr-card__head { flex-direction: column; align-items: flex-start; } }

/* Layout: desktop 3 columns, the big cards span two */
@media (min-width: 1100px) {
	.msr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.msr-card--slopes { grid-column: span 2; order: 1; }
	.msr-grid > .msr-card:nth-child(2) { order: 2; }            /* facilities */
	.msr-card--weather { grid-column: span 2; order: 3; }
	.msr-grid > .msr-card:nth-child(3) { order: 4; }            /* roads */
	.msr-card--visit { order: 5; }
	.msr-card--ann { grid-column: span 2 !important; order: 6; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	.msr-card--slopes { grid-column: 1 / -1; }
}

/* ==========================================================================
   v1.3 – compact layout
   Row 1: Slopes & lifts (full width)
   Row 2: Facilities & roads | Weather | Before you go
   Row 3: Announcements (full width)
   ========================================================================== */
.msr-grid { gap: 16px !important; }
.msr-card { padding: 20px 22px !important; border-radius: 16px; }
.msr-card__title { font-size: 16px !important; margin-bottom: 12px !important; }
.msr-card__head { margin-bottom: 8px; }
.msr-list li { font-size: 14px; }
.msr-list--items li { padding: 7px 0; gap: 10px; }
.msr-list .msr-ico { width: 18px; height: 18px; }
.msr-pill { font-size: 12px; padding: 3px 9px; }
.msr-sub--gap { margin-top: 14px !important; }
.msr-chip { padding: 5px 11px; }

/* Slopes & lifts: lifts | slopes in two columns */
.msr-cols { grid-template-columns: 1fr 2fr; gap: 4px 36px; }
.msr-cols > div:last-child .msr-list--items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }

/* Weather, compact for a 1/3 column */
.msr-wnow { gap: 12px; padding-bottom: 12px; }
.msr-wico--lg { width: 44px; height: 44px; }
.msr-wnow strong { font-size: 32px; }
.msr-wnow span { font-size: 13px; }
.msr-days { gap: 8px; margin-top: 12px !important; }
.msr-days li { padding: 10px 4px; gap: 4px; border-radius: 12px; }
.msr-days__name { font-size: 12px; }
.msr-days .msr-wico { width: 26px; height: 26px; }
.msr-days__t { font-size: 13px; }
.msr-days__t strong { font-size: 15px; }
.msr-card__foot { margin-top: 10px !important; font-size: 12px; }

/* Before you go, compact */
.msr-actions { gap: 6px; margin-top: 4px; }
.msr-action { padding: 9px 12px; font-size: 14px; }

/* Grid placement (overrides the earlier order-based layout) */
@media (min-width: 1100px) {
	.msr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.msr-grid > .msr-card { order: 0 !important; grid-column: auto !important; }
	.msr-grid > .msr-card--slopes, .msr-grid > .msr-card--ann { grid-column: 1 / -1 !important; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	.msr-grid { grid-template-columns: 1fr 1fr !important; }
	.msr-grid > .msr-card { order: 0 !important; grid-column: auto !important; }
	.msr-grid > .msr-card--slopes, .msr-grid > .msr-card--ann { grid-column: 1 / -1 !important; }
	.msr-cols { grid-template-columns: 1fr 1.6fr; }
}
@media (max-width: 767px) {
	.msr-cols { grid-template-columns: 1fr; }
	.msr-cols > div:last-child .msr-list--items { grid-template-columns: 1fr; }
	.msr-card { padding: 18px !important; }
}

/* Slopes fill top-to-bottom: 1–4 on the left, 5–7 on the right */
@media (min-width: 768px) {
	.msr-cols > div:last-child .msr-list--slopes { grid-auto-flow: column; grid-template-rows: repeat(var(--msr-rows, 4), auto); }
}

/* ==========================================================================
   Price list
   ========================================================================== */
.msr-prices { display: grid; gap: 18px; }
.msr-prices--lift { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msr-prices--season { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
@media (max-width: 921px) { .msr-prices--lift { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .msr-prices--season { grid-template-columns: 1fr; } }
.msr-price { background: #fff; border: 1px solid #e6edf5; border-radius: 18px; padding: 22px; box-shadow: 0 18px 40px -22px rgba(15, 30, 51, .35); color: var(--m-text, #3b4a5c); }
.msr-price__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.msr-price h3 { margin: 0 !important; font-size: 18px !important; color: var(--m-navy, #0f1e33); }
.msr-price__head p { margin: 0 !important; font-size: 13px; color: #64748b; }
.msr-price__head strong { font-size: 22px; color: var(--m-blue, #347bb0); font-family: var(--m-font-head, inherit); }
.msr-price table { width: 100%; border-collapse: collapse; margin: 0 !important; border: 0 !important; font-size: 14px; }
.msr-price th, .msr-price td { padding: 9px 6px !important; border: 0 !important; border-bottom: 1px solid #e6edf5 !important; text-align: center; background: none !important; }
.msr-price thead th { font-size: 12px; font-weight: 600; color: #64748b; text-transform: none; }
.msr-price tbody th { text-align: left; font-weight: 500; color: var(--m-navy, #0f1e33); }
.msr-price tbody tr:last-child th, .msr-price tbody tr:last-child td { border-bottom: 0 !important; }
.msr-price td { font-weight: 700; color: var(--m-navy, #0f1e33); font-variant-numeric: tabular-nums; }
.msr-price--big { text-align: center; display: grid; gap: 4px; padding: 28px 22px; }
.msr-price--big strong { font-family: var(--m-font-head, inherit); font-size: 44px; line-height: 1.1; color: var(--m-blue, #347bb0); }
.msr-price--big span { font-size: 14px; color: #64748b; }
.msr-price--table { max-width: 760px; margin: 0 auto; }
.msr-price--table tbody th { font-weight: 600; }
.msr-prices__note { text-align: center; font-size: 13px; color: #64748b; margin: 14px 0 0 !important; }
.msr-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.msr-chip--price { background: #fff; border: 1px solid var(--msr-line, #d6e2ee); font-size: 14px; color: #475569; }
.msr-chip--price strong { color: var(--m-red, #ed1d23); }
.msr-price--table thead th:first-child { text-align: left; }
.msr-price td.msr-same small { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--msr-ice, #eef4fa); font-size: 12px; font-weight: 600; color: #475569; vertical-align: 1px; }
