/*
Theme Name: Łukasz Boksa — Kadence
Description: Roboczy motyw potomny z edytowalnymi wzorcami portfolio.
Version: 0.2.0
Template: kadence
Text Domain: boksa-kadence
*/
.lb-site {
    --lb-paper: #e9e5d8;
    --lb-soft: #f5f2ea;
    --lb-ink: #1a1a1a;
    --lb-muted: #5f5a51;
    --lb-bronze: #c1a06a;
    color: var(--lb-ink);
    background: var(--lb-paper);
    font-family: Raleway, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: break-word;
}
.lb-site * { box-sizing: border-box; }
.lb-site h1, .lb-site h2, .lb-site h3 {
    font-family: "Gilda Display", Georgia, serif;
    font-weight: 400;
    color: inherit;
    line-height: 1.15;
    letter-spacing: -.025em;
    margin: 0 0 28px;
}
.lb-site h1 { font-size: clamp(44px, 6.5vw, 92px); max-width: 800px; }
.lb-site h2 { font-size: clamp(32px, 4vw, 54px); }
.lb-site h3 { font-size: clamp(23px, 2.3vw, 30px); margin-top: 22px; }
.lb-site p { margin: 0 0 20px; }
.lb-site .lb-inner { max-width: 1240px; margin: 0 auto; width: 100%; }
.lb-site .lb-section { padding: 86px 5vw; margin: 0; }
.lb-site .lb-soft { background: var(--lb-soft); }
.lb-site .lb-eyebrow {
    font: 500 11px/1.7 Raleway, Arial, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.lb-site .lb-hero {
    min-height: 80vh;
    min-height: 80svh;
    display: flex;
    align-items: center;
    padding: 110px 5vw;
    background: linear-gradient(110deg, #151515, #4a3e2e);
    color: #f5f2ea;
    margin: 0;
}
.lb-site .lb-hero p { max-width: 650px; }
.lb-site .lb-lead { font-size: clamp(20px, 2.3vw, 28px); }
.lb-site .wp-block-columns { gap: 32px; margin: 34px 0 0; }
.lb-site .wp-block-column { min-width: 0; }
.lb-site .lb-photo {
    min-height: 280px;
    background: #d3cec1;
    border: 1px solid #b7afa0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}
.lb-site .lb-photo .wp-block-image { margin: 0; }
.lb-site .lb-photo img { display: block; width: 100%; height: auto; }
.lb-site .lb-photo-note {
    text-align: center;
    color: #514a40;
    font-size: 13px;
    padding: 20px;
    margin: 0;
}
.lb-site .lb-quote { border-top: 1px solid #a99b84; padding-top: 25px; }
.lb-site .lb-quote p:first-child {
    font-family: "Gilda Display", Georgia, serif;
    font-size: 22px;
    line-height: 1.55;
}
.lb-site .lb-signature {
    font-family: "Gilda Display", Georgia, serif;
    font-style: italic;
    font-size: 34px;
}
.lb-site .lb-number { font-family: Georgia, serif; font-size: 28px; color: #665039; }
.lb-site .lb-small { font-size: 13px; color: var(--lb-muted); margin-top: 40px; }
.lb-site .lb-contact { background: #4a3e2e; color: #f5f2ea; }
.lb-site .wp-block-buttons { gap: 16px; margin-top: 30px; }
.lb-site .wp-block-button__link {
    background: #c1a06a;
    color: #1a1a1a;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 15px 25px;
    font: 500 14px/1.5 Raleway, Arial, sans-serif;
    text-decoration: none;
    transition: background-color .15s ease;
}
.lb-site .wp-block-button__link:hover { background: #d4b57e; color: #1a1a1a; }
.lb-site a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.lb-site .lb-form-placeholder {
    border: 1px dashed #c9c4b7;
    padding: 26px;
    margin-top: 36px;
    font-size: 14px;
}
.lb-page-shell { width: 100%; margin: 0; padding: 0; }
.lb-page-shell > .lb-site { margin: 0; }
.lb-site [id] { scroll-margin-top: 100px; }
@media (max-width: 781px) {
    .lb-site .lb-section { padding: 55px 24px; }
    .lb-site .lb-hero { padding: 80px 24px; min-height: 640px; }
    .lb-site .wp-block-columns { gap: 36px; }
    .lb-site .lb-photo { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
    .lb-site * { transition: none !important; }
}


/* Wersja 0.2: prawdziwe, edytowalne obrazy. */
.lb-site .lb-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.lb-site .lb-hero > .lb-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    z-index: -2;
}
.lb-site .lb-hero > .lb-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.lb-site .lb-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.48) 48%,
        rgba(0,0,0,.18) 100%
    );
    z-index: -1;
    pointer-events: none;
}
.lb-site .lb-hero > .lb-inner {
    position: relative;
}
.lb-site .lb-photo {
    min-height: 0;
    border: 0;
    background: transparent;
    display: block;
}
.lb-site .lb-photo .wp-block-image {
    width: 100%;
    margin: 0;
}
.lb-site .lb-photo .wp-block-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.lb-site #o-mnie .lb-photo .wp-block-image img {
    aspect-ratio: 4 / 5;
}
.lb-site .lb-photo-note {
    display: none;
}

/* W edytorze zdjęcie HERO jest widoczne i łatwe do zaznaczenia. */
.editor-styles-wrapper .lb-site .lb-hero {
    display: block;
    min-height: 0;
}
.editor-styles-wrapper .lb-site .lb-hero > .lb-hero-image {
    position: relative;
    inset: auto;
    height: auto;
    z-index: auto;
    margin-bottom: 24px;
}
.editor-styles-wrapper .lb-site .lb-hero > .lb-hero-image img {
    height: auto;
    aspect-ratio: 16 / 9;
}
.editor-styles-wrapper .lb-site .lb-hero::after {
    display: none;
}
.editor-styles-wrapper .lb-site .lb-photo-note {
    display: block;
    background: #f5f2ea;
}
@media (max-width: 781px) {
    .lb-site .lb-hero::after {
        background: rgba(0,0,0,.58);
    }
}
