/* Short pages on tall screens: the footer sits at the bottom of the window, not above an empty grey strip. */
#page.site{display:flex;flex-direction:column;min-height:calc(100vh - var(--wp-admin--admin-bar--height,0px))}
#page.site>.site-content{flex:1 0 auto}
.site-footer .widget-area{padding-top:36px;padding-bottom:0}
.site-footer .widget_custom_html{margin:0}
.skf a{color:#bbb;text-decoration:none}
.skf a:hover,.skf a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.skf a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.skf-row1{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.09)}
.skf-brand{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center}
.skf-brand a{display:block}
/* Smush lazy load sizes its placeholder from the 300px width attribute; --smush-image-width keeps it at the real
   logo width, so the footer does not jump when the logo loads. */
.skf-logo{display:block;width:230px;max-width:100%;height:auto;--smush-image-width:230px}
.skf-about{margin:0;color:#bbb;font-size:14px;line-height:1.65;max-width:48ch}
.skf a.skf-fb{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:4px;background:#1151d3;color:#fff;font-size:14px;font-weight:500;line-height:1.4}
.skf a.skf-fb:hover,.skf a.skf-fb:focus-visible{background:#0e45b4;color:#fff;text-decoration:none}
.skf-fb svg{width:18px;height:18px;fill:currentColor;flex:none}
.skf-row2{display:flex;flex-wrap:wrap;gap:14px 40px;justify-content:space-between;padding:20px 0 22px;font-size:14px}
.site-footer .skf ul.skf-links{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;margin:0;padding:0}
.site-footer .skf ul.skf-links li{margin:0}
.site-footer .skf .skf-links-secondary a{color:#8a8ea3}
.site-footer .skf .skf-links-secondary a:hover,.site-footer .skf .skf-links-secondary a:focus-visible{color:#fff}
.bottom-footer .copyright.text-lg-left{text-align:center!important;font-size:13px;color:#8a8ea3}
/* Keep links clear of the theme's fixed back-to-top button (right 15-30px, 40px wide, bottom:70px) when scrolled
   to the end: reserve 80px from the viewport edge minus whatever margin the container already leaves. */
.skf-row2{padding-right:max(0px,calc(80px - (100vw - 100%) / 2))}
@media (min-width:768px){.skf-row1{padding-right:max(0px,calc(80px - (100vw - 100%) / 2))}}
@media (max-width:767.98px){
.skf-row1,.skf-brand{flex-direction:column;align-items:flex-start}
.skf-logo{width:200px;--smush-image-width:200px}
.skf-row2{flex-direction:column;gap:20px}
.site-footer .skf ul.skf-links{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px}
}
/* skoki-narciarskie.pl homepage, layout "B - czolowka" - Eighty9.pl, 18.11.2026.
   Loaded only on the front page. Colours from MagazineNP: navy #202f5b, blue #1151d3. */

/* The theme's white page box and visible page title are not used here; the H1 stays for search engines. */
.home .post-wrap { margin-left: 0; margin-right: 0; }
.home .post-wrap > .page { flex: 0 0 100%; max-width: 100%; background: none; padding: 0; box-shadow: none; margin-bottom: 0; }
.home .post-wrap > .page > .entry-header { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.skg { container: skg / inline-size; --skg-navy: #202f5b; --skg-blue: #1151d3; --skg-ink: #222; --skg-text: #555; --skg-muted: #6b7080;
       --skg-line: #e6e8ee; --skg-gap: 20px; color: var(--skg-text); font-size: 15px; }
.skg *, .skg *::before, .skg *::after { box-sizing: border-box; }
.skg a { color: inherit; text-decoration: none; }
.skg a:focus-visible { outline: 2px solid var(--skg-blue); outline-offset: 2px; }
.skg img { display: block; max-width: 100%; margin: 0; }
.skg .skg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skg h2, .skg h3 { font-family: inherit; letter-spacing: normal; text-transform: none; }
.skg h2::before, .skg h2::after, .skg h3::before, .skg h3::after { content: none; }

/* boxes and section headings */
.skg .skg-box { container: box / inline-size; background: #fff; padding: 22px; margin: 0 0 var(--skg-gap); box-shadow: 0 1px 2px rgba(16, 24, 40, .06); }
.skg .skg-head { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.skg .skg-head h2 { flex: 1; display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; font-size: 22px; font-weight: 500; line-height: 1.2; color: var(--skg-ink); }
.skg .skg-head h2::after { content: ""; flex: 1; height: 2px; background: var(--skg-blue); }
.skg .skg-head h2 a:hover { color: var(--skg-blue); }
.skg .skg-more { font-size: 14px; font-weight: 500; color: var(--skg-blue); white-space: nowrap; }
.skg .skg-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.skg .skg-box-title { margin: 0 0 14px; padding: 0; font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--skg-ink); }
.skg .skg-label { display: inline-block; padding: 3px 8px; background: var(--skg-blue); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.3; border-radius: 2px; }
.skg .skg-date { display: block; font-size: 13px; line-height: 1.4; color: var(--skg-muted); }
.skg .skg-excerpt { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }

/* post without a featured image */
.skg .skg-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--skg-navy); }
.skg .skg-noimg img { width: 55%; max-width: 260px; height: auto; opacity: .3; }

/* image tiles with the title over the photo */
.skg .skg-tile { position: relative; overflow: hidden; background: var(--skg-navy); min-height: 0; margin: 0; }
.skg .skg-tile > a { display: block; height: 100%; }
.skg .skg-tile > a > img, .skg .skg-tile > a > .skg-noimg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s ease; }
.skg .skg-tile > a:hover > img { transform: scale(1.03); }
.skg .skg-tile-text { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 40px 16px 14px;
                      background: linear-gradient(to top, rgba(9, 12, 30, .9) 0, rgba(9, 12, 30, .6) 55%, rgba(9, 12, 30, 0) 100%); }
.skg .skg-tile-title { margin: 0; padding: 0; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.3; }
.skg .skg-tile .skg-date { color: rgba(255, 255, 255, .8); font-size: 12.5px; }
.skg .skg-tile.is-lead .skg-tile-text { padding: 80px 26px 22px; gap: 10px; }
.skg .skg-tile.is-lead .skg-tile-title { font-size: 30px; line-height: 1.2; }
.skg .skg-tile > a:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }

/* top stories: one big post and four tiles */
.skg .skg-hero { display: grid; gap: 10px; margin: 0 0 var(--skg-gap); grid-template-columns: 1fr 1fr; }
.skg .skg-hero .is-lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.skg .skg-hero .skg-tile:not(.is-lead) { aspect-ratio: 1 / 1; }
@container skg (min-width: 768px) {
  .skg .skg-hero { grid-template-columns: repeat(4, 1fr); }
  .skg .skg-hero .is-lead { aspect-ratio: 16 / 9; }
  .skg .skg-hero .skg-tile:not(.is-lead) { aspect-ratio: 4 / 3; }
}
@container skg (min-width: 1100px) {
  .skg .skg-hero { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 235px 235px; }
  .skg .skg-hero .is-lead { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
  .skg .skg-hero .skg-tile:not(.is-lead) { aspect-ratio: auto; }
}
@container skg (max-width: 767.98px) {
  .skg .skg-tile-title { font-size: 15px; }
  .skg .skg-tile-text { padding: 30px 12px 10px; }
  .skg .skg-tile.is-lead .skg-tile-title { font-size: 22px; }
  .skg .skg-tile.is-lead .skg-tile-text { padding: 50px 16px 14px; }
  .skg .skg-tile:not(.is-lead) .skg-date { display: none; }
}

/* news + side column. The side column comes first in the HTML so that on a phone the next competition sits
   right under the top stories; the widgets (Facebook) move below the news there. */
.skg .skg-page { display: flex; flex-direction: column; }
.skg .skg-side, .skg .skg-main { display: contents; }
.skg .skg-side-widgets { order: 2; }
@container skg (min-width: 992px) {
  .skg .skg-page { display: grid; gap: 0 var(--skg-gap); grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
  .skg .skg-side, .skg .skg-main { display: block; min-width: 0; }
  .skg .skg-main { grid-column: 1; grid-row: 1; }
  .skg .skg-side { grid-column: 2; grid-row: 1; }
}

/* news cards */
.skg .skg-card { min-width: 0; margin: 0; }
.skg .skg-card-img { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--skg-navy); margin-bottom: 12px; }
.skg .skg-card-img > img, .skg .skg-card-img > .skg-noimg { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s ease; }
.skg .skg-card-img:hover > img { transform: scale(1.03); }
.skg .skg-card-img .skg-label { position: absolute; left: 10px; top: 10px; }
.skg .skg-card-title { margin: 0 0 6px; padding: 0; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--skg-ink); }
.skg .skg-card-title a:hover { color: var(--skg-blue); }
.skg .skg-cards2 { display: grid; gap: 26px var(--skg-gap); }
@container box (min-width: 600px) { .skg .skg-cards2 { grid-template-columns: 1fr 1fr; } }

/* rows of four tiles */
.skg .skg-tiles4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skg .skg-tiles4 .skg-tile { aspect-ratio: 1 / 1; }
@container box (min-width: 900px) { .skg .skg-tiles4 { grid-template-columns: repeat(4, 1fr); } .skg .skg-tiles4 .skg-tile { aspect-ratio: 4 / 3; } }
@container box (max-width: 599.98px) { .skg .skg-tiles4 .skg-tile-title { font-size: 14px; } .skg .skg-tiles4 .skg-date { display: none; } }
/* a section with only one or two posts: wider tiles instead of a half-empty row */
.skg .skg-tiles4.is-n2 { grid-template-columns: 1fr 1fr; }
.skg .skg-tiles4.is-n1 { grid-template-columns: 1fr; }
.skg .skg-tiles4.is-n2 .skg-tile { aspect-ratio: 4 / 3; }
.skg .skg-tiles4.is-n1 .skg-tile { aspect-ratio: 16 / 9; }
@container box (min-width: 900px) { .skg .skg-tiles4.is-n2 .skg-tile { aspect-ratio: 16 / 9; } .skg .skg-tiles4.is-n1 .skg-tile { aspect-ratio: 21 / 9; } }

/* next competition */
.skg .skg-next { background: var(--skg-navy); color: #c9d1ea; }
.skg .skg-next .skg-box-title { color: #fff; }
.skg .skg-next p { margin: 0; }
.skg .skg-next .skg-next-place { font-size: 28px; font-weight: 700; line-height: 1.15; color: #fff; }
.skg .skg-next-place span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: #c9d1ea; }
.skg .skg-next .skg-next-kind { margin-top: 12px; font-size: 15px; color: #fff; }
.skg .skg-next .skg-next-when { margin-top: 2px; font-size: 15px; }
.skg .skg-next .skg-countdown { display: inline-block; margin-top: 14px; padding: 8px 12px; background: var(--skg-blue); color: #fff; font-size: 16px; font-weight: 500; border-radius: 3px; }
.skg .skg-next .skg-countdown:empty { display: none; }
.skg .skg-cal-title { margin: 22px 0 6px; padding: 0; font-size: 13px; font-weight: 500; color: #fff; }
.skg .skg-cal { list-style: none; margin: 0; padding: 0; }
.skg .skg-cal li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: baseline; margin: 0; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; line-height: 1.35; list-style: none; }
.skg .skg-cal li::before { content: none; }
.skg .skg-cal small { display: block; font-size: 12px; color: #9fa9c9; }
.skg .skg-cal-date, .skg .skg-cal-time, .skg .skg-cal-place { font-weight: 500; color: #fff; }
.skg .skg-next-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.skg .skg-btn { display: inline-block; padding: 9px 14px; background: var(--skg-blue); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.4; border-radius: 3px; }
.skg .skg-btn:hover { background: #0e45b4; color: #fff; }
.skg .skg-btn.is-ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.skg .skg-btn.is-ghost:hover { background: rgba(255, 255, 255, .1); }
.skg .skg-next a:focus-visible { outline-color: #fff; }

/* widgets under the next competition (Facebook) */
.skg .skg-widget .textwidget > :last-child { margin-bottom: 0; }
.skg .skg-widget iframe { max-width: 100%; }

/* Facebook card: styles in the snippet "Karta Facebooka w kolumnach bocznych" (shared with the right sidebar). */

/* text of the front page ("O serwisie") */
.skg .skg-seo { font-size: 15px; line-height: 1.7; }
.skg .skg-seo h2 { margin: 22px 0 8px; padding: 0; font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--skg-ink); }
.skg .skg-seo h2:first-child { margin-top: 0; }
.skg .skg-seo p { margin: 0 0 10px; }
.skg .skg-seo p:last-child { margin-bottom: 0; }
.skg .skg-seo a { color: var(--skg-blue); text-decoration: underline; text-underline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .skg .skg-tile > a > img, .skg .skg-card-img > img { transition: none; } }
/* Button blue #0866ff (Facebook) gives 4.8:1 with white text. */
.skg-fb { display: grid; gap: 16px; }
.skg-fb .skg-fb-head { display: flex; align-items: center; gap: 14px; }
.skg-fb .skg-fb-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0866ff; }
.skg-fb .skg-fb-icon svg { width: 30px; height: 30px; fill: #fff; }
.skg-fb .skg-fb-name { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; color: #222; }
.skg-fb .skg-fb-sub { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: #6b7080; }
.skg-fb .skg-fb-count { margin: 0; padding: 14px 0; border-top: 1px solid #e6e8ee; border-bottom: 1px solid #e6e8ee; font-size: 15px; line-height: 1.5; color: #555; }
.skg-fb .skg-fb-count strong { display: block; font-size: 28px; font-weight: 700; line-height: 1.15; color: #222; }
.skg-fb .skg-fb-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; background: #0866ff; color: #fff;
                      font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; border-radius: 3px; }
.skg-fb .skg-fb-btn svg { width: 20px; height: 20px; fill: currentColor; }
.skg-fb .skg-fb-btn:hover, .skg-fb .skg-fb-btn:focus { background: #0757d6; color: #fff; }
.skg-fb .skg-fb-btn:focus-visible { outline: 2px solid #1151d3; outline-offset: 2px; }