/* Malacina – strona główna. Zmienne kolorów w site.css. */
.mlc-front { background: var(--mlc-snow); }
.mlc-front section { padding: clamp(2.4rem, 5vw, 3.8rem) 0; }
.mlc-front .container { min-width: 0; }
.mlc-h2 { font: 700 clamp(1.45rem, 2.6vw, 1.95rem)/1.2 var(--mlc-head); color: var(--mlc-slate); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .7rem; }
.mlc-h2::before { content: ''; flex: 0 0 auto; width: 30px; height: 16px; background: linear-gradient(#fff 0 33%, var(--mlc-red) 33% 67%, #fff 67%); border: 1px solid var(--mlc-line); border-radius: 2px; }
.mlc-note { font-size: .9rem; color: var(--mlc-muted); }

/* Hero: zdjęcie Tatr z nakładką. */
.mlc-front .mlc-hero { position: relative; padding: 0; min-height: clamp(420px, 52vw, 600px); display: grid; align-items: center; color: #fff; overflow: hidden; }
.mlc-hero picture, .mlc-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.mlc-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 33, 43, .35) 0%, rgba(21, 33, 43, .72) 100%); }
.mlc-hero__in { position: relative; z-index: 1; text-align: center; padding-top: 3rem; padding-bottom: 6rem; max-width: 860px; }
.mlc-hero__kicker { display: inline-block; font: 600 .78rem/1 var(--mlc-head); letter-spacing: .2em; text-transform: uppercase; padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; margin: 0 0 1rem; }
.mlc-hero h1 { font: 700 clamp(1.9rem, 4.6vw, 3.2rem)/1.12 var(--mlc-head); color: #fff; margin: 0 0 .9rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.mlc-hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); margin: 0 auto 1.6rem; max-width: 640px; color: #eef2ef; }
.mlc-hero__search { display: flex; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 999px; padding: .3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.mlc-hero__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 1.1rem; font: inherit; color: var(--mlc-ink); }
.mlc-hero__search input:focus { outline: none; }
.mlc-hero__search button { border: 0; border-radius: 999px; background: var(--mlc-red); color: #fff; font: 600 1rem var(--mlc-head); padding: .65rem 1.4rem; cursor: pointer; }
.mlc-hero__search button:hover { background: var(--mlc-red-d); }
.mlc-hero__credit { position: absolute; right: .8rem; bottom: .4rem; z-index: 1; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .75); }
.mlc-tiles { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: -3.6rem; }
.mlc-tiles a { display: grid; gap: .25rem; padding: 1.1rem 1.2rem; background: #fff; border-radius: 16px; border-bottom: 4px solid var(--mlc-pine); text-decoration: none; color: var(--mlc-ink); box-shadow: 0 6px 20px rgba(31, 46, 59, .12); transition: transform .2s, border-color .2s; }
.mlc-tiles a:hover { transform: translateY(-3px); border-color: var(--mlc-red); }
.mlc-tiles b { font: 700 1.15rem var(--mlc-head); color: var(--mlc-slate); }
.mlc-tiles span { font-size: .9rem; color: var(--mlc-muted); }

/* Kalkulator + numery ratunkowe. */
.mlc-plan__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.mlc-walk { background: #fff; border: 1px solid var(--mlc-line); border-radius: 16px; padding: 1.6rem; }
.mlc-walk__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .8rem; margin: 1rem 0; }
.mlc-walk__fields label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--mlc-slate); }
.mlc-walk__fields input, .mlc-walk__fields select { width: 100%; min-width: 0; padding: .55rem .6rem; border: 1px solid var(--mlc-line); border-radius: 10px; font: inherit; background: var(--mlc-snow); }
.mlc-walk__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.mlc-walk__out div { background: var(--mlc-mist); border-radius: 12px; padding: .8rem; text-align: center; }
.mlc-walk__out span { display: block; font-size: .8rem; color: var(--mlc-muted); }
.mlc-walk__out b { font: 700 1.25rem var(--mlc-head); color: var(--mlc-slate); }
.mlc-sos { background: var(--mlc-slate); color: #e8eeea; border-radius: 16px; padding: 1.6rem; }
.mlc-sos h2 { color: #fff; font: 700 1.3rem var(--mlc-head); margin: 0 0 1rem; }
.mlc-sos ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; }
.mlc-sos li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; }
.mlc-sos li b { font: 700 1.25rem var(--mlc-head); background: var(--mlc-red); color: #fff; padding: .25rem .6rem; border-radius: 8px; white-space: nowrap; }
.mlc-sos li span { font-size: .9rem; }
.mlc-sos p { font-size: .92rem; margin: 0; }
.mlc-sos a { color: #fff; }

/* Działy ze znakami szlaku. */
.mlc-desks { background: #fff; }
.mlc-desks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.mlc-desk { border: 1px solid var(--mlc-line); border-radius: 16px; padding: 1.2rem 1.3rem; background: var(--mlc-snow); }
.mlc-desk header { display: flex; align-items: center; gap: .7rem; }
.mlc-desk h3 { margin: 0; font: 700 1.1rem var(--mlc-head); }
.mlc-desk h3 a { color: var(--mlc-slate); text-decoration: none; }
.mlc-desk h3 a:hover { color: var(--mlc-red); }
.mlc-desk > p { font-size: .92rem; color: var(--mlc-muted); margin: .5rem 0 .6rem; }
.mlc-desk ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.mlc-desk li a { font-size: .92rem; color: var(--mlc-ink); text-decoration: none; display: block; padding-left: .9rem; position: relative; }
.mlc-desk li a::before { content: '›'; position: absolute; left: 0; color: var(--mlc-red); font-weight: 700; }
.mlc-desk li a:hover { text-decoration: underline; }
.mlc-desk__soon { font-style: italic; }
.mlc-mark { flex: 0 0 auto; width: 26px; height: 18px; border: 1px solid var(--mlc-line); border-radius: 2px; --c: var(--mlc-red); background: linear-gradient(#fff 0 33%, var(--c) 33% 67%, #fff 67%); }
.mlc-mark--blue { --c: #1f5fa8; } .mlc-mark--green { --c: #2e7d46; } .mlc-mark--yellow { --c: #e2b419; } .mlc-mark--black { --c: #1a1a1a; }

/* Schemat Podhala. */
.mlc-map__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem; align-items: center; }
.mlc-map svg { width: 100%; height: auto; background: linear-gradient(#eaf0ec, #dfe8e2); border-radius: 16px; border: 1px solid var(--mlc-line); }
.mlc-map__ridge { fill: #9fb0a5; }
.mlc-map__river { fill: none; stroke: #5f93c2; stroke-width: 4; stroke-linecap: round; }
.mlc-map__label { font: italic 600 15px var(--mlc-body); fill: #4d5f55; }
.mlc-pt { cursor: pointer; outline: none; }
.mlc-pt circle { fill: #fff; stroke: var(--mlc-slate); stroke-width: 3; transition: r .15s; }
.mlc-pt.is-spa circle { stroke: #1f8a99; } .mlc-pt.is-ski circle { stroke: #1f5fa8; } .mlc-pt.is-peak circle, .mlc-pt.is-trail circle { stroke: var(--mlc-red); }
.mlc-pt text { font: 600 14px var(--mlc-body); fill: var(--mlc-ink); paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 4px; }
.mlc-pt:hover circle, .mlc-pt:focus circle { r: 11; }
.mlc-pt.is-on circle { fill: var(--mlc-red); stroke: var(--mlc-red); r: 11; }
.mlc-map__card { background: #fff; border-radius: 16px; border-left: 5px solid var(--mlc-red); padding: 1rem 1.2rem; margin: 1rem 0; box-shadow: 0 4px 16px rgba(31, 46, 59, .08); }
.mlc-map__card b { font: 700 1.2rem var(--mlc-head); color: var(--mlc-slate); }
.mlc-map__card p { margin: .3rem 0 .5rem; }
.mlc-map__card a { color: var(--mlc-red); font-weight: 600; }
.mlc-map__legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--mlc-muted); }
.mlc-map__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--mlc-slate); margin-right: .35rem; vertical-align: -1px; }
.mlc-map__legend .is-spa { border-color: #1f8a99; } .mlc-map__legend .is-ski { border-color: #1f5fa8; } .mlc-map__legend .is-peak { border-color: var(--mlc-red); }

/* Najnowsze (karty motywu). */
.mlc-latest { background: #fff; }
.mlc-latest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }

/* Rok w Tatrach – poziomy pas miesięcy. */
.mlc-year { background: var(--mlc-slate); color: #dfe7e2; }
.mlc-year .mlc-h2 { color: #fff; }
.mlc-year__lead { margin: 0 0 1.2rem; }
.mlc-year__track { list-style: none; margin: 0; padding: 0 0 .6rem; display: grid; grid-template-columns: repeat(12, minmax(150px, 1fr)); gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.mlc-year__track li { scroll-snap-align: start; background: rgba(255, 255, 255, .06); border-top: 4px solid var(--mlc-pine-l); border-radius: 0 0 12px 12px; padding: .8rem .9rem; }
.mlc-year__track li:nth-child(-n+3), .mlc-year__track li:nth-child(12) { border-top-color: #9cc3e6; }
.mlc-year__track li:nth-child(n+6):nth-child(-n+8) { border-top-color: #e2b419; }
.mlc-year__track li:nth-child(9), .mlc-year__track li:nth-child(10) { border-top-color: #d9773b; }
.mlc-year__track time { font: 700 .8rem var(--mlc-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: .75; }
.mlc-year__track b { display: block; font: 700 1rem var(--mlc-head); color: #fff; margin: .2rem 0 .3rem; }
.mlc-year__track p { margin: 0; font-size: .86rem; line-height: 1.45; }

/* Mity i fakty. */
.mlc-myths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mlc-myth { background: #fff; border-radius: 16px; border: 1px solid var(--mlc-line); overflow: hidden; }
.mlc-myth p { margin: 0; padding: .9rem 1.1rem; }
.mlc-myth span { display: inline-block; font: 700 .72rem/1 var(--mlc-head); letter-spacing: .12em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 6px; margin-right: .6rem; vertical-align: 1px; }
.mlc-myth__m { background: #f6e9e6; text-decoration: line-through; text-decoration-color: rgba(178, 58, 43, .45); }
.mlc-myth__m span { background: var(--mlc-red); color: #fff; }
.mlc-myth__f span { background: var(--mlc-pine); color: #fff; }

/* Wybór redakcji: siatka 4×2. */
.mlc-picks { background: #fff; }
.mlc-picks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mlc-picks__grid a { display: grid; gap: .3rem; text-decoration: none; color: var(--mlc-ink); }
.mlc-picks__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.mlc-picks__grid em { font: 600 .74rem var(--mlc-head); text-transform: uppercase; letter-spacing: .08em; color: var(--mlc-pine); font-style: normal; }
.mlc-picks__grid span { font: 600 .98rem/1.35 var(--mlc-head); }
.mlc-picks__grid a:hover span { color: var(--mlc-red); }

/* Co spakować. */
.mlc-pack__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.mlc-pack__col { background: #fff; border: 1px solid var(--mlc-line); border-radius: 16px; padding: 1.2rem 1.4rem; }
.mlc-pack__col h3 { font: 700 1.15rem var(--mlc-head); margin: 0 0 .6rem; display: flex; justify-content: space-between; color: var(--mlc-slate); }
.mlc-pack__col small { font-weight: 600; color: var(--mlc-muted); }
.mlc-pack__col ul { list-style: none; margin: 0 0 .8rem; padding: 0; columns: 2; column-gap: 1rem; }
.mlc-pack__col li { break-inside: avoid; padding: .25rem 0; font-size: .94rem; }
.mlc-pack__col input { accent-color: var(--mlc-pine); margin-right: .3rem; }
.mlc-pack__col button { background: none; border: 1px solid var(--mlc-line); border-radius: 999px; padding: .35rem .9rem; font: inherit; font-size: .85rem; cursor: pointer; color: var(--mlc-muted); }

/* Słowniczek – akordeon w dwóch kolumnach. */
.mlc-words { background: var(--mlc-mist); }
.mlc-words__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.2rem; }
.mlc-words details { background: #fff; border-radius: 12px; padding: .7rem 1rem; }
.mlc-words summary { cursor: pointer; font: 600 1rem var(--mlc-head); color: var(--mlc-slate); list-style: none; display: flex; justify-content: space-between; }
.mlc-words summary::-webkit-details-marker { display: none; }
.mlc-words summary::after { content: '+'; color: var(--mlc-red); font-weight: 700; }
.mlc-words details[open] summary::after { content: '–'; }
.mlc-words details p { margin: .5rem 0 0; font-size: .93rem; }

/* FAQ w zakładkach. */
.mlc-faq__bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.mlc-faq__bar button { border: 1px solid var(--mlc-line); background: #fff; border-radius: 999px; padding: .5rem 1.1rem; font: 600 .95rem var(--mlc-head); color: var(--mlc-slate); cursor: pointer; }
.mlc-faq__bar button.is-on { background: var(--mlc-slate); border-color: var(--mlc-slate); color: #fff; }
.mlc-faq__panel { background: #fff; border-radius: 16px; border: 1px solid var(--mlc-line); padding: .4rem 1.4rem 1rem; }
.mlc-faq__panel h3 { font: 700 1.05rem var(--mlc-head); color: var(--mlc-slate); margin: 1rem 0 .3rem; }
.mlc-faq__panel p { margin: 0; }

/* O redakcji. */
.mlc-about__box { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: center; background: #fff; border-radius: 16px; border: 1px dashed var(--mlc-pine); padding: 1.6rem 2rem; }
.mlc-about__box img { max-width: 100%; height: auto; }
.mlc-about__box h2 { font: 700 1.35rem var(--mlc-head); color: var(--mlc-slate); margin: 0 0 .5rem; }
.mlc-about__box a { color: var(--mlc-red); }

@media (max-width: 1100px) {
	.mlc-desks__grid, .mlc-latest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mlc-picks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.mlc-plan__grid, .mlc-map__grid, .mlc-pack__cols, .mlc-myths__grid, .mlc-words__grid, .mlc-about__box { grid-template-columns: minmax(0, 1fr); }
	.mlc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.mlc-desks__grid, .mlc-latest__grid { grid-template-columns: minmax(0, 1fr); }
	.mlc-walk__out { grid-template-columns: minmax(0, 1fr); }
	.mlc-pack__col ul { columns: 1; }
	.mlc-hero__search button { padding: .65rem 1rem; }
	.mlc-about__box { padding: 1.2rem; }
}
