/*
  Statyczny critical CSS (public/) — klasyczny <link>, bez Vite.
  Fonty + layout artykułu od pierwszego painta (bez mignięcia).
*/

/* Poppins — latin + latin-ext (ąęćłńóśźż). swap: po doładowaniu zawsze Poppins, nie fallback. */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/fonts/poppins-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/fonts/poppins-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/poppins-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/fonts/poppins-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('/fonts/poppins-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('/fonts/poppins-latin-ext-800-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html,
body,
.v-application {
  font-family: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Seed Vuetify v-container zanim dojdzie pełny CSS frameworka */
.v-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
}

.article-page {
  position: relative;
}

.article-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #070610;
}

.article-hero--cover {
  min-height: clamp(20rem, 52vw, 30rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.article-hero--cover .article-hero__container {
  display: flex;
  justify-content: center;
}

.article-hero--cover .article-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  max-width: 42rem;
}

.article-hero--cover .article-page__crumbs,
.article-hero--cover .article__meta,
.article-hero--cover .article__tags {
  justify-content: center;
}

.article-hero--cover .article__title {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.article-hero--cover .article__lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.article-hero__container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  width: 100%;
}

.article-hero__copy {
  max-width: 42rem;
}

.article-page__container {
  max-width: 1200px;
}

.article-page__crumbs,
.article__meta,
.article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.article-page__layout {
  display: grid;
  gap: 2rem;
}

.article-page__toc {
  display: none;
}

.article-page__toc-toggle {
  display: inline-flex;
}

.article {
  max-width: 760px;
}

.article__eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article__title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.article__lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  line-height: 1.55;
}

.article__meta {
  gap: 0.35rem 0.5rem;
  font-size: 0.92rem;
}

.article__tags {
  gap: 0.5rem;
}

@media (min-width: 960px) {
  .article-hero--cover .article__title {
    max-width: 22ch;
  }

  .article-page__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
  }

  .article-page__toc {
    display: block;
  }

  .article-page__toc-toggle,
  .article-page__toc-mobile {
    display: none !important;
  }
}

/*
  Minimalny zestaw utility Vuetify używanych w hubie.
  Prod nie ładuje pełnego vuetify.min.css / main.css (Lighthouse unused CSS).
*/
.d-flex {
  display: flex !important;
}
.d-none {
  display: none !important;
}
.align-center {
  align-items: center !important;
}
.ga-1 {
  gap: 4px !important;
}
.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.py-10 {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.py-12 {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.py-16 {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.px-2 {
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.pa-4 {
  padding: 16px !important;
}
.mr-2 {
  margin-right: 8px !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 4px !important;
}
.text-center {
  text-align: center !important;
}
.text-white {
  color: #fff !important;
}
.text-body-2 {
  font-family: Poppins, sans-serif;
  font-size: 0.875rem !important;
  font-weight: 400;
  line-height: 1.425;
  letter-spacing: 0.0178571429em !important;
  text-transform: none !important;
}

@media (min-width: 960px) {
  .d-md-flex {
    display: flex !important;
  }
  .d-md-none {
    display: none !important;
  }
  .py-md-14 {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  .py-md-16 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}
