/* Przykład „Wypał” (fikcyjna pracownia ceramiki): siatka redakcyjna jak w gazecie.
   /inspiracje/ceramika/ i /en/inspiration/ceramics/. Newsreader (OFL, Fontsource, osie wght i opsz:
   tytuł gazety w optycznym rozmiarze 72, tekst w 12–16), łamy z liniami między kolumnami, nagłówek
   z datą wydania, rysunki naczyń w SVG zamiast zdjęć. Pasek Wumiko jest w /css/przyklad.css. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/newsreader-latin-opsz-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: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/newsreader-latin-ext-opsz-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;
}

:root {
  color-scheme: light dark;
  --paper: #FBFAF6;
  --ink: #1D2028;
  --ink-2: #4B4F59;
  --clay: #A9461F;
  --rule: #1D2028;
  --hair: #CFCBC2;
  --box: #EFE9DE;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #191A1D;
    --ink: #ECE7DD;
    --ink-2: #B9B3A8;
    --clay: #F0956C;
    --rule: #ECE7DD;
    --hair: #3C3D41;
    --box: #232428;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--serif);
  font-optical-sizing: auto;
}
a { color: inherit; text-underline-offset: 0.18em; text-decoration-color: var(--clay); }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.paper { max-width: 1240px; margin: 0 auto; padding: 0 16px 48px; }
@media (min-width: 700px) { .paper { padding: 0 32px 64px; } }

.kicker {
  margin: 0 0 6px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--clay);
}

/* Nagłówek gazety: data wydania, tytuł na całą szerokość, podtytuł i spis działów. */
.dateline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  padding: 14px 0 10px; border-bottom: 1px solid var(--rule);
  font-size: 0.875rem; color: var(--ink-2);
}
.dateline p { margin: 0; }
.masthead { text-align: center; padding: 8px 0 0; }
.masthead h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(5rem, 24vw, 17rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72;
}
.masthead p {
  margin: 4px auto 0; max-width: 40ch;
  font-style: normal; font-size: 1.125rem; color: var(--ink-2);
}
.sections {
  margin-top: 18px;
  border-block: 3px double var(--rule);
}
.sections ul {
  list-style: none; margin: 0; padding: 8px 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.sections a { text-decoration: none; }
.sections a:hover { text-decoration: underline; }

/* Strona główna wydania: tekst wiodący, rysunek, kolumna boczna. */
.front { display: grid; gap: 32px; padding-top: 32px; }
.lead h2 {
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.lead .standfirst { font-size: 1.375rem; line-height: 1.35; color: var(--ink-2); margin: 0 0 20px; }
.lead .body { columns: 2 16rem; column-gap: 32px; column-rule: 1px solid var(--hair); }
.lead .body p { margin: 0 0 14px; hyphens: auto; }
.lead .body p:first-child::first-letter {
  float: left;
  font-size: 4.6em; line-height: 0.82; font-weight: 500;
  padding: 0.06em 0.08em 0 0;
  color: var(--clay);
}
figure { margin: 0; }
.front > .fig { max-width: 300px; }
.fig svg { display: block; width: 100%; height: auto; }
.fig figcaption { font-size: 0.875rem; color: var(--ink-2); border-top: 1px solid var(--hair); padding-top: 6px; margin-top: 8px; }
.fig .clay-fill { fill: var(--box); stroke: var(--ink); stroke-width: 2; }
.fig .glaze { fill: var(--clay); }
.fig .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.fig .ground { stroke: var(--hair); stroke-width: 2; }

.side { display: grid; gap: 24px; align-content: start; }
.side h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 8px; }
.toc { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--hair); }
.toc li::before { content: counter(toc); color: var(--clay); font-weight: 700; min-width: 1.1em; }
.notice { background: var(--box); padding: 16px 18px; border-top: 3px solid var(--clay); }
.notice p { margin: 0; }
.notice .big { font-size: 2.6rem; line-height: 1; font-weight: 600; margin: 4px 0 6px; }

@media (min-width: 960px) {
  .front { grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
  .lead { grid-column: 1 / span 6; }
  .front > .fig { grid-column: 7 / span 3; padding-left: 32px; border-left: 1px solid var(--hair); max-width: none; }
  .side { grid-column: 10 / span 3; padding-left: 32px; border-left: 1px solid var(--hair); }
}

/* Działy niżej: tytuł działu z podwójną linią, potem łamy. */
.dept { padding-top: 48px; }
.dept > h2 {
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 20px; padding: 8px 0; border-block: 1px solid var(--rule);
}
.cols-2 { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .cols-2 { grid-template-columns: 7fr 5fr; }
  .cols-2 > * + * { padding-left: 32px; border-left: 1px solid var(--hair); }
}

.schedule { width: 100%; border-collapse: collapse; font-size: 1rem; }
.schedule caption { text-align: left; font-size: 1.6rem; font-weight: 500; line-height: 1.15; padding-bottom: 12px; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); }
.schedule thead th { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; border-bottom: 1px solid var(--rule); }
.schedule td:last-child, .schedule th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.schedule tbody th { font-weight: 600; white-space: nowrap; }
.schedule small { display: block; color: var(--ink-2); font-size: 0.875rem; }
@media (max-width: 599px) {
  .schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .schedule tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); }
  .schedule th, .schedule td { border: 0; padding: 0; }
  .schedule tbody th { grid-column: 1; }
  .schedule td:nth-child(2) { grid-column: 2; grid-row: 1; text-align: right; color: var(--ink-2); }
  .schedule td:nth-child(3) { grid-column: 1 / -1; padding-top: 4px; }
  .schedule td:last-child { grid-column: 1 / -1; text-align: left; font-weight: 600; padding-top: 4px; }
}

.kiln { list-style: none; margin: 0; padding: 0; }
.kiln li { padding: 10px 0; border-bottom: 1px solid var(--hair); }
.kiln strong { display: block; font-size: 1.25rem; font-weight: 600; }

.briefs { display: grid; gap: 28px; }
.briefs article h3 { font-size: 1.5rem; line-height: 1.1; font-weight: 500; margin: 0 0 8px; }
.briefs article p { margin: 0; }
@media (min-width: 800px) {
  .briefs { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .briefs article + article { padding-left: 32px; border-left: 1px solid var(--hair); }
}

.order p { margin: 0 0 14px; }
.order .pull {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.15; font-weight: 400;
  border-block: 1px solid var(--rule); padding: 16px 0; margin: 8px 0 18px;
}

.contact { display: grid; gap: 24px; }
.contact h3 { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; }
.contact p { margin: 0; }
.contact .phone { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.01em; }
@media (min-width: 800px) {
  .contact { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .contact > * + * { padding-left: 32px; border-left: 1px solid var(--hair); }
}

.colophon {
  margin-top: 56px; padding-top: 10px; border-top: 3px double var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  font-size: 0.875rem; color: var(--ink-2);
}
.colophon p { margin: 0; }
