/*
 Theme Name:   Labtechco Child
 Template:     labtechco
 Description:  Motyw potomny dla Labtechco
 Author:       Webmetric
 Version:      1.0.0
*/

.ts-header-style-3 .site-header-main.container{

}



.wpcf7-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.wpcf7-form input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}



.logo-link-text {
    display: none !important;
}
.eu-logos {
    display: block;
    margin: 40px auto;   /* wyśrodkowanie */
    max-width: 1200px;
	padding-bottom:83px;
    height: auto;
	padding-top:0px;
}
@media (max-width: 1024px) {
    .eu-logos {
        max-width: 960px;
        margin: 30px auto;
        padding-bottom: 60px;
    }
}
@media (max-width: 768px) {
    .eu-logos {
        max-width: 100%;
        margin: 25px auto;
        padding: 0 16px 48px;
    }
}
@media (max-width: 480px) {
    .eu-logos {
        margin: 20px auto;
        padding: 0 12px 32px;
    }
}


label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 400;
}
/* ===== ICON TEXT MODULE ===== */

.kd-icon-text {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    align-items: center;
    transition: all .3s ease;
}

.kd-icon-text:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* LEFT / RIGHT */
.kd-icon-text.icon-left {
    flex-direction: row;
}

.kd-icon-text.icon-right {
    flex-direction: row-reverse;
}

/* ICON */
.kd-icon {
    flex-shrink: 0;
    line-height: 1;
}

/* CONTENT */
.kd-content {
    flex: 1;
}

.kd-icon-text.icon-right .kd-content {
    text-align: right;
}

/* TITLE */
.kd-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

/* TEXT */
.kd-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

/* =====================================================
   CONTACT FORM 7 – MODERN CLEAN STYLE
===================================================== */

.wpcf7 form {
    max-width: 640px;
    margin: 0 auto;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- LABELS --- */
.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

/* --- INPUTS & TEXTAREA --- */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 15px;
    color: #111827;
    transition: all .25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

/* --- PLACEHOLDER --- */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #9ca3af;
}

/* --- FOCUS --- */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
}

/* --- FIELD SPACING --- */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 18px;
}

/* =====================================================
   ACCEPTANCE / RODO
===================================================== */

.wpcf7 .wpcf7-acceptance {
    display: block;
    margin: 16px 0;
}

.wpcf7 .wpcf7-acceptance label {
    display: flex;
    gap: 10px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #334155;
    cursor: pointer;
}

/* checkbox */
.wpcf7 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid #cbd5f5;
    accent-color: #2563eb;
    cursor: pointer;
    margin-top: 2px;
}

/* =====================================================
   SUBMIT BUTTON
===================================================== */

.wpcf7 input[type="submit"] {
    display: inline-block;
    width: 100%;
    margin-top: 24px;
    padding: 15px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(37,99,235,.35);
}

/* hover */
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 35px rgba(37,99,235,.45);
}

/* =====================================================
   ERRORS & SUCCESS
===================================================== */

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc2626;
    margin-top: 6px;
}

.wpcf7-response-output {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    margin-top: 20px;
}

.wpcf7-mail-sent-ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: #fef2f2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}




.align-items-center > div {
	align-items: center;
}

.d-none {
	display: none;
}

.vc_carousel-slideline .vc_inner {
	  text-align: center;
}

.single-entry-header.ts-hide {
	display: block;
	visibility: hidden;	
}
/* ===============================
   KDS COUNTERS – WPBAKERY
================================ */
.kds-counter-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

.kds-counter-heading {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
}

.kds-counter-desc {
    color: #666;
    margin-bottom: 50px;
}

.kds-counter-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.kds-counter-box {
    background: #fff;
    padding: 40px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.kds-counter-number {
    font-size: 46px;
    font-weight: 800;
    color: #443395;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .kds-counter-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
    .kds-counter-grid { grid-template-columns: 1fr; }
}














/* ==========================================================================
   Modern Service Card V3 - HOVER TYLKO NA POLU TEKSTOWYM
   ========================================================================== */

.kd-service-container {
    margin: 20px 0;
    perspective: 1000px;
}

.kd-card-main {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    min-height: 300px;
}

/* Układ Lewo (Obrazek) / Prawo (Tekst) */
.kd-card-main.img-right { flex-direction: row-reverse; }

/* 1. SEKCJA OBRAZKA (Żółte pole na schemacie) */
.kd-card-media {
    flex: 0 0 45%; /* Szerokość obrazka */
    overflow: hidden;
    position: relative;
}

.kd-media-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

/* 2. SEKCJA TREŚCI (Białe pole na schemacie) */
.kd-card-body {
    flex: 1;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff; /* Początkowo białe */
    z-index: 5;
    transition: all 0.4s ease; /* Płynna zmiana koloru tła */
}

/* Ikona */
.kd-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    object-fit: contain;
    transition: all 0.4s ease;
}

/* Teksty */
.kd-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.kd-card-headline {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.kd-card-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

/* Przycisk (Footer) */
.kd-card-footer {
    margin-top: 25px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kd-card-action-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #ffffff;
    color: #111 !important;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Warstwa koloru - dynamicznie sterowana przez PHP inline style */
.kd-card-hover-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

/* ==========================================================================
   EFEKTY HOVER (Tylko dla prawego bloku)
   ========================================================================== */

/* Podniesienie całej karty i mocniejszy cień */
.kd-card-main:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

/* Aktywacja tła koloru w bloku tekstowym */
.kd-card-main:hover .kd-card-hover-layer {
    opacity: 1;
}

/* Zmiana tekstów na białe w bloku tekstowym */
.kd-card-main:hover .kd-card-body .kd-card-title,
.kd-card-main:hover .kd-card-body .kd-card-text,
.kd-card-main:hover .kd-card-body .kd-card-headline {
    color: #ffffff;
}

/* Ikona na biało */
.kd-card-main:hover .kd-card-icon {
    filter: brightness(0) invert(1);
}

/* Wyjechanie przycisku */
.kd-card-main:hover .kd-card-footer {
    opacity: 1;
    transform: translateY(0);
}

/* Obrazek - tylko delikatny zoom, bez zmiany koloru */
.kd-card-main:hover .kd-media-bg {
    transform: scale(1.1);
}

/* Responsywność */
@media (max-width: 768px) {
    .kd-card-main, .kd-card-main.img-right { flex-direction: column; }
    .kd-card-media { height: 250px; flex: none; }
    .kd-card-body { padding: 30px; text-align: center; }
}
/* Stylizacja Nagłówka SEO */
.kd-heading-wrapper {
    margin-bottom: 30px;
    width: 100%;
}

.kd-custom-title {
    position: relative;
    display: block;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

/* Rozmiary zależne od tagu (możesz dostosować) */
h1.kd-custom-title { font-size: 48px; }
h2.kd-custom-title { font-size: 36px; }
h3.kd-custom-title { font-size: 28px; }
h4.kd-custom-title { font-size: 22px; }

/* Pasek akcentujący (Line) */
.kd-heading-line {
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 15px;
    border-radius: 2px;
}

/* Wyrównanie paska */
.align-center .kd-heading-line {
    margin-left: auto;
    margin-right: auto;
}

.align-right .kd-heading-line {
    margin-left: auto;
}

/* RWD */
@media (max-width: 768px) {
    h1.kd-custom-title { font-size: 32px; }
    h2.kd-custom-title { font-size: 28px; }
}
/* =====================================================
   JOB OFFERS PAGE
===================================================== */

.jobs-wrapper {
    padding: 80px 0;
}

.jobs-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 50px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.job-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
}

.job-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.job-meta span {
    display: block;
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}

.job-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin: 16px 0 24px;
    flex: 1;
}

.job-btn {
    align-self: flex-start;
    padding: 10px 18px;
    border-radius: 12px;
    background: #1e3a8a;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.job-btn:hover {
    background: #2563eb;
}
/* =====================================================
   ZAMÓWIENIA PUBLICZNE – HSG
===================================================== */

.zp-hero {
    background: #ffffff;
    overflow: hidden;
}

.zp-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

/* === LEFT === */
.zp-hero-content {
    background: #0a178f;
    color: #ffffff;
    padding: 70px 80px;
}

.zp-hero-content h1 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 24px;
}

.zp-hero-content h1 strong {
    font-weight: 800;
}

.zp-hero-content p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
}

.zp-muted {
    opacity: .85;
    margin-top: 14px;
}

/* === ICON BOXES === */
.zp-icons {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.zp-icon-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.zp-icon-box i {
    font-size: 34px;
    color: #ffffff;
}

.zp-icon-box strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.zp-icon-box span {
    font-size: 13px;
    opacity: .85;
}

/* === RIGHT IMAGE === */
.zp-hero-image {
    background-image: url('/wp-content/uploads/zamowienia-publiczne.jpg');
    background-size: cover;
    background-position: center;
}

/* === CONTENT === */
.zp-content {
    padding: 80px 0;
}

.zp-content .container {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #1e293b;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .zp-hero-inner {
        grid-template-columns: 1fr;
    }

    .zp-hero-content {
        padding: 50px 30px;
    }

    .zp-hero-content h1 {
        font-size: 32px;
    }
}
.kd-aktualnosci-grid {
    display: grid;
    gap: 30px;
}

.kd-aktualnosci-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.kd-aktualnosci-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.kd-aktualnosci-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.kd-aktualnosci-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .kd-aktualnosci-grid.cols-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .kd-aktualnosci-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .kd-aktualnosci-grid {
        grid-template-columns: 1fr !important;
    }
}
/* =====================================================
   AKTUALNOŚCI – LISTA WPBAKERY
   Styl: Clean / Science / Corporate
===================================================== */

.kd-aktualnosci-grid {
    display: grid;
    gap: 32px;
    margin: 40px 0;
}

/* ===============================
   KOLUMNY
================================ */

.kd-aktualnosci-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.kd-aktualnosci-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.kd-aktualnosci-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.kd-aktualnosci-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ===============================
   KARTA
================================ */

.kd-aktualnosci-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow:
        0 10px 30px rgba(0,0,0,.06),
        0 1px 0 rgba(0,0,0,.03);
    transition: all .35s cubic-bezier(.25,.8,.25,1);
}

/* efekt hover */
.kd-aktualnosci-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 25px 60px rgba(0,0,0,.14),
        0 3px 0 rgba(0,0,0,.05);
}

/* ===============================
   THUMBNAIL
================================ */

.kd-aktualnosci-card .thumb {
    display: block;
    position: relative;
    overflow: hidden;
}

.kd-aktualnosci-card .thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .6s ease;
}

/* zoom image on hover */
.kd-aktualnosci-card:hover .thumb img {
    transform: scale(1.08);
}

/* gradient overlay */
.kd-aktualnosci-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,.35)
    );
    opacity: .8;
    pointer-events: none;
}

/* ===============================
   CONTENT
================================ */

.kd-aktualnosci-card .content {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* tytuł */
.kd-aktualnosci-card h3 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    margin: 0 0 12px;
}

.kd-aktualnosci-card h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color .3s ease;
}

.kd-aktualnosci-card h3 a:hover {
    color: #1e3a8a;
}

/* opis */
.kd-aktualnosci-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 22px;
}

/* ===============================
   CTA
================================ */

.kd-aktualnosci-card .read-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #1e3a8a;
    text-decoration: none;
    letter-spacing: .2px;
    transition: all .3s ease;
}

.kd-aktualnosci-card .read-more::after {
    content: "→";
    font-size: 18px;
    transition: transform .3s ease;
}

.kd-aktualnosci-card .read-more:hover {
    color: #2563eb;
}

.kd-aktualnosci-card .read-more:hover::after {
    transform: translateX(4px);
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1400px) {
    .kd-aktualnosci-grid.cols-5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .kd-aktualnosci-grid.cols-4,
    .kd-aktualnosci-grid.cols-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .kd-aktualnosci-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .kd-aktualnosci-grid {
        grid-template-columns: 1fr !important;
    }

    .kd-aktualnosci-card .thumb img {
        height: 180px;
    }
}
/* ===============================
   1 KOLUMNA – LAYOUT LISTY
================================ */

.kd-aktualnosci-grid.cols-1 {
    grid-template-columns: 1fr;
}

/* karta w 1 kolumnie – bardziej „contentowa” */
.kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card {
    flex-direction: row;
    align-items: stretch;
}

/* obrazek po lewej */
.kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card .thumb {
    width: 38%;
    flex-shrink: 0;
}

.kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card .thumb img {
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

/* treść po prawej */
.kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card .content {
    padding: 30px;
}

/* RESPONSIVE – na mobile wraca do kolumny */
@media (max-width: 768px) {
    .kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card {
        flex-direction: column;
    }

    .kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card .thumb {
        width: 100%;
    }

    .kd-aktualnosci-grid.cols-1 .kd-aktualnosci-card .thumb img {
        height: 180px;
    }
}
/* =====================================================
   META – DATA + CZAS CZYTANIA
===================================================== */

.kd-aktualnosci-card .meta,
.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    letter-spacing: .2px;
}

.kd-aktualnosci-card .meta .dot,
.post-meta .dot {
    opacity: .6;
}

/* lekki akcent koloru */
.kd-aktualnosci-card .meta .reading-time,
.post-meta .reading-time {
    color: #1e3a8a;
}

/* pojedynczy wpis */
.post-meta {
    margin: 12px 0 30px;
}
/* =====================================================
   POST META – DATA + CZAS CZYTANIA
===================================================== */

.ts-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 16px 0 24px;
    letter-spacing: .2px;
}

.ts-post-meta .ts-post-reading-time {
    color: #1e3a8a;
}

.ts-post-meta .ts-post-separator {
    opacity: .6;
}
/* =====================================================
   SINGLE POST – SOFT FEATURED IMAGE (PRO LOOK)
===================================================== */

.single-post .kd-single-featured {
    float: right;
    margin: 6px 0 28px 36px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 40px rgba(0,0,0,.18);
    background: #0f172a; /* fallback */
}

/* overlay wygaszający */
.single-post .kd-single-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,23,42,.25),
        rgba(15,23,42,.35)
    );
    pointer-events: none;
}

/* obraz – uspokojony */
.single-post .kd-single-featured img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;

    /* 🔥 KLUCZOWE FILTRY */
    filter:
        brightness(.92)
        contrast(.92)
        saturate(.85);
}

/* delikatny hover (opcjonalnie) */
.single-post .kd-single-featured:hover img {
    filter:
        brightness(.96)
        contrast(.95)
        saturate(.9);
}

/* czyszczenie float */
.single-post .themestek-common-box-shadow::after {
    content: "";
    display: block;
    clear: both;
}
@media (max-width: 768px) {
    .single-post .kd-single-featured {
        float: none;
        width: 100%;
        margin: 0 0 24px;
    }

    .single-post .kd-single-featured img {
        max-height: 260px;
        filter:
            brightness(.95)
            contrast(.95)
            saturate(.9);
    }
}
.themestek-box-blog-classic .ts-featured-meta-wrapper{
	display:none;
}
.kd-documents-hero {
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.kd-documents-hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.kd-documents-wrapper {
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:flex-end;
    position:relative;
}

.kd-documents-box {
    padding:50px;
    max-width:520px;
    border-radius:6px;
	      background-color: rgba(255, 255, 255, 0.85) !important;
}

.kd-documents-title {
    font-size:28px;
    margin-bottom:35px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.kd-documents-buttons {
    display:flex;
    flex-direction:column;
    gap:16px;
}

.kd-doc-btn {
    display: flex;
    align-items: center;
    gap: 16px;

    width: 100%;          /* ⬅️ KLUCZ */
    box-sizing: border-box;

    min-height: 60px;
    padding: 18px 26px;

    border: 2px solid #1e73be;
    border-radius: 8px;

    color: #1e73be;
    background: #fff;
    text-decoration: none;

    font-weight: 600;
    font-size: 15px;
    letter-spacing: .2px;

    transition: all .25s ease;
}


.kd-doc-btn:hover {
    background:#1e73be;
    color:#fff;
    transform:translateY(-2px);
}
/* ================================
   FULL WIDTH – WPBAKERY SAFE
================================ */

.kd-documents-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.kd-documents-hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:0;
}

.kd-documents-wrapper {
    max-width:1200px;
    margin:0 auto;
    display:flex;
    justify-content:flex-end;
    position:relative;
    z-index:1;
}

/* =====================================================
   FIX Widoczności menu na podstronach (Labtechco Child)
===================================================== */

/* 1. Tło sekcji tytułowej pod menu na podstronach */
/*body:not(.home) .ts-titlebar-wrapper,
body:not(.home) .ts-header-titlebar {
    background-color: #0a178f !important;
}
*/
/* 2. Odstęp od góry, zapewniający czytelność białych napisów w menu */
/*body:not(.home) .ts-titlebar-wrapper {
    padding-top: 140px !important;
}

body:not(.home) .ts-titlebar-wrapper .ts-titlebar.entry-header {background: #fff !important;}

*/

/* zmiana koloru tła i czcionki na menu górnym */
/*
.menu-menu-glowne li a {color:#333;}
*/

/* =====================================================
   Ujednolicenie menu na podstronach (Labtechco Child)
===================================================== */

/* 1. Białe tło dla paska nagłówka na podstronach */
body:not(.home) .site-header,
body:not(.home) .site-header-main {
    background-color: #ffffff !important;
}

/* 2. Przesunięcie treści podstrony pod nagłówek (likwidacja nakładania) */
body:not(.home) #main,
body:not(.home) .site-content,
body:not(.home) #content {
    padding-top: 100px !important;
}

/* 3. Czarny kolor dla linków w menu (zwykły stan) */
body:not(.home) .nav-menu > li > a {
    color: #000000 !important;
}

/* 4. Kolor rgb(3, 27, 78) dla aktywnego menu oraz po najechaniu kursorem (hover) */
body:not(.home) .nav-menu > li:hover > a,
body:not(.home) .nav-menu > li.current-menu-item > a,
body:not(.home) .nav-menu > li.current_page_item > a,
body:not(.home) .nav-menu > li.current-menu-ancestor > a {
    color: rgb(3, 27, 78) !important;
}

/* 5. Ramka dla logo (obrazek <img> w logo) */
body:not(.home) .site-branding img,
body:not(.home) .ts-logo-img img {
    /*border: 1px solid #ccc !important;*/
}

/* =====================================================
   FIX: Wyświetlanie tylko jednego logo (Labtechco Child)
===================================================== */

/* 1. Ukrywamy białe logo oraz alternatywne crosslogo na wszystkich podstronach */
body:not(.home) .headerlogo img.standardlogo,
body:not(.home) .headerlogo img.crosslogo {
    display: none !important;
}

/* 2. Wymuszamy wyświetlanie TYLKO stickylogo na podstronach */
body:not(.home) .headerlogo img.stickylogo {
    display: inline-block !important;
}