@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/playfair-display/playfair-display-latin-ext.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: "Playfair Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/playfair-display/playfair-display-latin.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;
}

:root {
    --analityk-gold: #c59b5f;
    --analityk-ink: #191914;
    --tg-primary-color: #b19062;
}

html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
h1,
h2,
h3,
h4 { font-family: "Playfair Display", serif; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 10000; padding: 12px 18px; color: #111; background: #fff; }
.skip-link:focus { top: 20px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Nagłówek korzysta z oryginalnych wymiarów i odjeżdża razem ze stroną. */
.mobile-nav-toggler { padding: 0; border: 0; background: transparent; }
.mobile-menu .navigation { display: block; margin: 0; padding: 0; list-style: none; }
.mobile-menu .navigation li a { display: block; padding: 11px 0; border-bottom: 1px solid #e5e5e5; font-weight: 600; text-transform: uppercase; }

/* Hero jest dokładnie jedną pełnoekranową sekcją, bez dodanej treści pod spodem. */
.home .main-area-wrapper { min-height: 100vh; }
.home .slider-area,
.home .slider-active,
.home .single-slider { min-height: 100vh; }
.single-slider.slider-bg { position: relative; background-position: center; background-size: cover; }
.single-slider.slider-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .52); }
.single-slider > .container { position: relative; z-index: 1; }
.slider-active .banner-content { padding-top: 95px; transform: translateY(-90px); }
.banner-content .title { margin: 0 0 24px; color: #fff; font-family: "Playfair Display", serif; font-size: clamp(76px, 8.1vw, 154px); font-weight: 400; line-height: .8; text-transform: uppercase; }
.banner-content .title::first-line { border-bottom: 1px solid #fff; }
.banner-content p { margin-bottom: 44px; color: #fff; font-size: clamp(20px, 1.45vw, 28px); }
.banner-content .btn { display: inline-flex; min-width: 174px; min-height: 70px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 10px; background: #a9c0cc; }
.banner-content .btn .btn_m { position: relative; display: block; width: 100%; height: 1rem; overflow: hidden; padding: 0 28px; }
.banner-content .btn_t1,
.banner-content .btn_t2 { color: #fff; font-size: 18px; }

.breadcrumb-content .breadcrumb a { color: var(--tg-secondary-color); }

.legacy-content { overflow: hidden; }
.legacy-content .elementor-section { width: 100%; }
.legacy-content a { color: inherit; }
.legacy-content .project-item img { width: 100%; }

/* Kontakt korzysta z oryginalnej siatki Elementora i zdjęcia. */
.elementor-83 .elementor-element-701b466 { padding-top: 0; }
.elementor-83 .elementor-element-701b466 > .elementor-container { min-height: 540px; }
.elementor-83 .elementor-element-6da5791 a { color: var(--analityk-gold); }
.elementor-83 .elementor-element-491e229 img { width: 100%; border-radius: 20px; }
.contact-social { justify-content: flex-start !important; }
.contact-form-wrap { max-width: 1100px; margin: 0 auto; }
.contact-form-wrap .form-grp input,
.contact-form-wrap .form-grp textarea { border-radius: 0; }
.contact-form-wrap .form-submit input[type="submit"] { border: 0; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { margin: 0 0 28px; padding: 14px 18px; border-left: 4px solid; }
.notice--error { border-color: #9d382b; background: #fae6df; }
.notice--success { border-color: #2f7350; background: #e2f0e8; }

/* Listy bloga używają tego samego rytmu i typografii co motyw. */
.archive-section { padding: 110px 0 140px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.archive-card { background: #fff; }
.archive-card img { width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; object-fit: cover; transition: transform .5s ease; }
.archive-card:hover img { transform: scale(1.025); }
.archive-card__image { overflow: hidden; border-radius: 18px; }
.archive-card__body { padding: 24px 4px; }
.archive-card time { color: var(--analityk-gold); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.archive-card h2 { margin: 12px 0; font-family: "Playfair Display", serif; font-size: 30px; font-weight: 400; }
.article-shell { padding: 100px 0 140px; }
.article-shell__image { width: 100%; max-height: 650px; margin-bottom: 55px; border-radius: 20px; object-fit: cover; }
.article-shell__body { max-width: 900px; margin: 0 auto; font-size: 18px; line-height: 1.8; }

/* Nagłówek motywu jest absolutny, więc wpis potrzebuje miejsca na menu i oddech. */
.blog-details-area { margin-top: 0; padding: 250px 0 140px; }
.blog-details-wrap > .blog-thumb { overflow: hidden; border-radius: 20px; }
.blog-details-wrap > .blog-thumb img,
.blog-details-content .post-text img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px !important;
}

.footer-area { background: #000; }
.footer-logo img { width: 180px; }

@media (max-width: 991px) {
    .banner-content .title { font-size: clamp(58px, 12vw, 100px); line-height: .9; }
    .slider-active .banner-content { transform: translateY(-35px); }
  .blog-details-area { padding: 202px 0 110px; }
    .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home .slider-area,
    .home .slider-active,
    .home .single-slider { min-height: 760px; }
    .banner-content { width: 100%; max-width: 100%; }
    .banner-content .title { font-size: clamp(46px, 13.5vw, 58px); line-height: .9; }
    .banner-content p { width: calc(100% - 40px); max-width: 350px; margin-right: auto; margin-left: auto; font-size: 16px; line-height: 1.5; }
    .archive-grid { grid-template-columns: 1fr; }
    .elementor-83 .elementor-container { max-width: 100%; }
    .elementor-83 .elementor-column { width: 100% !important; }
    .elementor-83 p { max-width: 100%; white-space: normal; overflow-wrap: break-word; }
    .blog-post-layout { display: block; }
    .blog-thumbnail { margin: 0 0 22px; }
  .blog-details-area { padding: 161px 0 80px; }
}
