.ksr-page, .ksr-home {
    --ksr-ink: #322923;
    --ksr-accent: #644a37;
    --ksr-line: #dacfc4;
    color: var(--ksr-ink);
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.ksr-page *, .ksr-home * { box-sizing: border-box; }
.ksr-page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(40px, 6vw, 88px) 0;
}
.ksr-page h1, .ksr-page h2, .ksr-page h3, .ksr-home h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ksr-ink);
    text-transform: none;
    letter-spacing: normal;
    margin: 0 0 .4em;
}
.ksr-page h1, .ksr-home h2 { font-size: clamp(38px, 5vw, 68px); }
.ksr-page h2 { font-size: clamp(29px, 3.5vw, 42px); }
.ksr-page h3 { font-size: 27px; }
.ksr-page p, .ksr-home p { margin: 0 0 1em; }
.ksr-intro, .ksr-form { margin-bottom: clamp(44px, 6vw, 80px); }
.ksr-lead, .ksr-home p { max-width: 62ch; font-size: clamp(16px, 1.5vw, 20px); }
.ksr-actions, .ksr-own { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.ksr-page a, .ksr-home a, .ksr-link { color: var(--ksr-accent); text-underline-offset: .22em; }
.ksr-page .ksr-button, .ksr-home .ksr-button {
    display: inline-block;
    background: var(--ksr-accent);
    color: white;
    padding: 12px 24px;
    border: 1px solid var(--ksr-accent);
    border-radius: 2px;
    font: 600 15px/1.5 Montserrat, system-ui, sans-serif;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
}
.ksr-button:hover, .ksr-button:focus-visible { filter: brightness(.86); }
.ksr-back { display: inline-block; margin-bottom: 24px; }
.ksr-home {
    width: min(1120px, calc(100% - 40px));
    margin: clamp(40px, 6vw, 80px) auto;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    background: #f7f2ec;
    text-align: left;
}
.ksr-home > img { width: 100%; height: 100%; max-height: 500px; object-fit: cover; object-position: center 38%; }
.ksr-home > div { align-self: center; padding: clamp(26px, 5vw, 76px); }
.ksr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 32px 24px; margin: 24px 0 36px; }
.ksr-card { display: block; text-decoration: none; }
.ksr-card:hover h3, .ksr-card:focus-visible h3 { text-decoration: underline; }
.ksr-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 12px; }
.ksr-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); }
.ksr-gallery { display: grid; gap: 16px; }
.ksr-gallery img { width: 100%; height: auto; }
.ksr-page .ksr-price { font-size: 24px; margin-bottom: .35em; }
.ksr-description { white-space: pre-line; }
.ksr-page .ksr-hint { margin-top: 16px; font-size: 14px; }
.ksr-steps { max-width: 75ch; padding-left: 1.5em; margin: 32px 0; }
.ksr-steps li { padding: 16px 0 12px 12px; border-top: 1px solid var(--ksr-line); }
.ksr-steps h2 { font-size: 29px; }
.ksr-form { max-width: 720px; display: grid; gap: 20px; }
.ksr-form label { display: grid; gap: .3em; font-weight: 600; }
.ksr-form input:not([type=hidden]), .ksr-form textarea {
    width: 100%; min-width: 0; font: inherit; font-weight: 400; padding: 10px 12px;
    color: var(--ksr-ink); background: white; border: 1px solid #978b80; border-radius: 3px;
}
.ksr-form small { margin-top: -16px; line-height: 1.5; }
.ksr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ksr-notice { padding: 12px; border-left: 3px solid #916449; background: #fff3e8; }
.ksr-own { max-width: 720px; padding: 16px 0; border-top: 1px solid var(--ksr-line); justify-content: space-between; }
.ksr-own p { margin: 0; }
.ksr-link { border: 0; background: transparent; padding: 8px 0; cursor: pointer; font: inherit; text-decoration: underline; }
#moje-ogloszenia { scroll-margin-top: 140px; }
@media (max-width: 680px) {
    .ksr-home, .ksr-detail { grid-template-columns: 1fr; }
    .ksr-home > img { height: 250px; }
    .ksr-detail article { grid-row: 1; }
    .ksr-pair { grid-template-columns: 1fr; }
}
.ksr-story, .ksr-find { display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch; background: #f7f2ec; }
.ksr-story-copy, .ksr-find > div { align-self: center; padding: clamp(24px, 4.4vw, 64px); }
.ksr-story h1 { max-width: 10ch; }
.ksr-story > img, .ksr-find > img { width: 100%; height: 100%; min-height: 340px; max-height: 610px; object-fit: cover; object-position: center 36%; }
.ksr-story > img { object-position: center top; }
.ksr-editorial { margin: clamp(42px, 7vw, 88px) 0; }
.ksr-editorial > h2 { max-width: 21ch; }
.ksr-how { padding: 0; margin: 28px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; }
.ksr-how li { border-top: 1px solid var(--ksr-line); padding-top: 18px; }
.ksr-find { grid-template-columns: .75fr 1.25fr; }
.ksr-find > img { max-height: 380px; }
@media (max-width: 720px) {
    .ksr-story, .ksr-how, .ksr-find { grid-template-columns: 1fr; }
    .ksr-story > img { grid-row: 1; height: clamp(200px, 60vw, 290px); min-height: 0; }
    .ksr-find > img { height: 240px; min-height: 0; }
    .ksr-how { gap: 12px; }
}
