/**
 * Custom layout dla /tour-category/e-bike/
 */

.kw-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.kw-section {
    padding: 72px 0;
}

.kw-eyebrow {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c68a2d;
}

.kw-tour-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(22, 34, 26, 0.86), rgba(22, 34, 26, 0.42)),
        url('/wp-content/uploads/2025/10/Foto_JeziorkoBobrowe-5-scaled.jpg') center/cover no-repeat;
    color: #fff;
}

.kw-tour-hero__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 80px 0;
}

.kw-tour-hero h1 {
    max-width: 860px;
    margin: 0 0 24px;
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1.03;
    color: #fff;
}

.kw-tour-hero__lead {
    max-width: 700px;
    margin: 0 0 32px;
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.kw-tour-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.kw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.kw-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.kw-btn--primary {
    background: #d9942f;
    color: #fff;
}

.kw-btn--primary:hover {
    color: #fff;
    background: #c68125;
}

.kw-btn--secondary {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}

.kw-btn--secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, .22);
}

.kw-intro {
    background: #f5f1e8;
}

.kw-intro__grid,
.kw-pricing__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.kw-intro h2,
.kw-section-heading h2,
.kw-benefits__heading h2,
.kw-pricing h2,
.kw-seo h2,
.kw-cta h2 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    color: #17241c;
}

.kw-text p,
.kw-section-heading p,
.kw-seo p,
.kw-pricing p,
.kw-card p,
.kw-benefits p,
.kw-cta p {
    font-size: 17px;
    line-height: 1.75;
}

.kw-text p:first-child,
.kw-section-heading p:first-child,
.kw-seo p:first-child,
.kw-pricing p:first-child {
    margin-top: 0;
}

.kw-text p:last-child,
.kw-section-heading p:last-child,
.kw-seo p:last-child,
.kw-pricing p:last-child,
.kw-card p:last-child,
.kw-benefits p:last-child,
.kw-cta p:last-child {
    margin-bottom: 0;
}

.kw-why {
    background: #fff;
}

.kw-section-heading {
    max-width: 780px;
    margin-bottom: 36px;
}

.kw-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.kw-card,
.kw-benefits article,
.kw-pricing__rules article {
    padding: 28px;
    border: 1px solid #e4ded2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(30, 28, 22, 0.06);
}

.kw-card h3,
.kw-benefits h3,
.kw-pricing__rules h3 {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 1.25;
    color: #17241c;
}

.kw-benefits {
    background: #153325;
    color: #fff;
}

.kw-benefits__heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.kw-benefits__heading h2 {
    color: #fff;
}

.kw-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.kw-benefits article {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
    box-shadow: none;
}

.kw-benefits h3 {
    color: #fff;
}

.kw-benefits p {
    color: rgba(255, 255, 255, .82);
}

.kw-benefits span {
    display: inline-flex;
    margin-bottom: 18px;
    color: #d9942f;
    font-weight: 800;
}

.kw-pricing {
    background: #f5f1e8;
}

.kw-price-box {
    margin-top: 28px;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e4ded2;
}

.kw-price-box span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #746b5d;
}

.kw-price-box strong {
    display: block;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
    color: #153325;
}

.kw-pricing__note {
    margin-top: 18px;
    font-size: 15px;
    color: #746b5d;
}

.kw-pricing__rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.kw-seo {
    background: #fff;
}

.kw-seo__content {
    max-width: 920px;
}

.kw-seo__content h2:not(:first-child) {
    margin-top: 44px;
}

.kw-cta {
    background: #153325;
    color: #fff;
}

.kw-cta__inner {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.kw-cta h2 {
    color: #fff;
}

.kw-cta p {
    max-width: 620px;
    color: rgba(255, 255, 255, .82);
}

@media (max-width: 1024px) {
    .kw-why__grid,
    .kw-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kw-intro__grid,
    .kw-pricing__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .kw-section {
        padding: 48px 0;
    }

    .kw-tour-hero {
        min-height: 460px;
    }

    .kw-tour-hero__inner {
        padding: 64px 0;
    }

    .kw-tour-hero__lead {
        font-size: 18px;
    }

    .kw-why__grid,
    .kw-benefits__grid,
    .kw-pricing__rules {
        grid-template-columns: 1fr;
    }

    .kw-card,
    .kw-benefits article,
    .kw-pricing__rules article,
    .kw-price-box {
        padding: 22px;
    }

    .kw-btn {
        width: 100%;
    }
}
.kw-archive-loop {
    background: #fff;
}

.kw-tour-loop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kw-tour-loop__item {
    margin: 0;
}

.kw-tour-loop__link {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e4ded2;
    box-shadow: 0 12px 30px rgba(30, 28, 22, 0.06);
    text-decoration: none;
    color: inherit;
}

.kw-tour-loop__image img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.kw-tour-loop__content {
    padding: 24px;
}

.kw-tour-loop__content h2 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
    color: #17241c;
}

.kw-tour-loop__content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .kw-tour-loop {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .kw-tour-loop {
        grid-template-columns: 1fr;
    }
}
/**
 * Poprawiony moduł przewag — lepszy kontrast i lżejszy wygląd
 */

.kw-ebike-page .kw-benefits {
    position: relative;
    overflow: hidden;
    background: #0f3324;
    color: #fff;
}

.kw-ebike-page .kw-benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 15%, rgba(217, 148, 47, 0.16), transparent 32%),
        radial-gradient(circle at 86% 80%, rgba(255, 255, 255, 0.08), transparent 28%);
    pointer-events: none;
}

.kw-ebike-page .kw-benefits .kw-container {
    position: relative;
    z-index: 2;
}

.kw-ebike-page .kw-benefits__heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.kw-ebike-page .kw-benefits__heading .kw-eyebrow {
    color: #d9942f;
}

.kw-ebike-page .kw-benefits__heading h2 {
    color: #fff !important;
}

.kw-ebike-page .kw-benefits__grid {
    gap: 20px;
}

.kw-ebike-page .kw-benefits article {
    position: relative;
    min-height: 230px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    box-shadow: none;
    backdrop-filter: blur(4px);
}

.kw-ebike-page .kw-benefits article::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
    height: 3px;
    background: #d9942f;
    opacity: 0.9;
}

.kw-ebike-page .kw-benefits span {
    display: inline-flex;
    margin-bottom: 20px;
    color: #d9942f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.kw-ebike-page .kw-benefits h3 {
    margin: 0 0 14px;
    color: #fff !important;
    font-size: 23px;
    line-height: 1.18;
}

.kw-ebike-page .kw-benefits p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 16px;
    line-height: 1.7;
}


/**
 * FAQ accordion
 */

.kw-faq {
    background: #f5f1e8;
}

.kw-faq__grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 56px;
    align-items: start;
}

.kw-faq__heading {
    position: sticky;
    top: 120px;
}

.kw-faq__heading h2 {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    color: #17241c;
}

.kw-faq__heading p {
    margin: 0;
    max-width: 420px;
    font-size: 17px;
    line-height: 1.75;
    color: #5d5a54;
}

.kw-faq__items {
    display: grid;
    gap: 14px;
}

.kw-faq__item {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4ded2;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(30, 28, 22, 0.06);
}

.kw-faq__item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 22px 64px 22px 26px;
    cursor: pointer;
    list-style: none;
    color: #17241c;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.kw-faq__item summary::-webkit-details-marker {
    display: none;
}

.kw-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f1e8;
    color: #d9942f;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.kw-faq__item[open] summary::after {
    content: "–";
    background: #d9942f;
    color: #fff;
}

.kw-faq__answer {
    padding: 0 26px 26px;
}

.kw-faq__answer p {
    margin: 0;
    max-width: 720px;
    color: #5d5a54;
    font-size: 16px;
    line-height: 1.75;
}

.kw-faq__item[open] {
    border-color: rgba(217, 148, 47, 0.45);
}

@media (max-width: 1024px) {
    .kw-faq__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .kw-faq__heading {
        position: static;
    }
}

@media (max-width: 640px) {
    .kw-ebike-page .kw-benefits article {
        min-height: auto;
    }

    .kw-faq__item summary {
        min-height: 64px;
        padding: 20px 58px 20px 20px;
        font-size: 18px;
    }

    .kw-faq__answer {
        padding: 0 20px 22px;
    }
}
.kw-tour-loop--products .kw-tour-loop__content {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.kw-tour-loop__badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f5f1e8;
    color: #9c681f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kw-tour-loop__price {
    margin-top: auto;
    margin-bottom: 16px;
    color: #17241c;
    font-size: 20px;
    font-weight: 800;
}

.kw-tour-loop__price .amount {
    color: #17241c;
    font-weight: 800;
}

.kw-tour-loop--products .kw-tour-loop__more {
    margin-top: 0;
}
.kw-text-link {
    color: #d9942f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.kw-text-link:hover {
    color: #b97821;
}

.kw-logistics {
    margin-top: 56px;
}

.kw-location-list {
    margin: 20px 0 0;
    padding-left: 20px;
}

.kw-location-list li {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.65;
}

.kw-price-box p {
    margin: 10px 0 0;
    color: #746b5d;
    font-size: 15px;
    line-height: 1.5;
}

/* CTA — poprawa kontrastu i spójności */

.kw-ebike-page .kw-cta {
    background: #103426;
    color: #fff;
    padding: 64px 0;
}

.kw-ebike-page .kw-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 680px) auto;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.kw-ebike-page .kw-cta .kw-eyebrow {
    color: #d9942f;
    margin-bottom: 16px;
}

.kw-ebike-page .kw-cta h2 {
    margin: 0 0 20px;
    color: #fff !important;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.kw-ebike-page .kw-cta p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 19px;
    line-height: 1.75;
}

.kw-ebike-page .kw-cta .kw-btn {
    min-width: 190px;
    min-height: 52px;
    padding: 0 30px;
    background: #d9942f;
    color: #fff !important;
    border: 0;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.kw-ebike-page .kw-cta .kw-btn:hover {
    background: #c68125;
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .kw-ebike-page .kw-cta {
        padding: 52px 0;
    }

    .kw-ebike-page .kw-cta__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kw-ebike-page .kw-cta .kw-btn {
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .kw-ebike-page .kw-cta .kw-btn {
        width: 100%;
    }
}
/* E-Jacht — listing i sekcje */

.kw-yacht-page {
    background: #fff;
}

.kw-yacht-offer {
    background: #fff;
}

.kw-section-heading--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.kw-tour-loop--yachts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.kw-tour-loop--yachts .kw-tour-loop__content {
    display: flex;
    flex-direction: column;
    min-height: 230px;
}

.kw-tour-loop--yachts .kw-tour-loop__image img {
    height: 240px;
}

.kw-tour-loop__badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f5f1e8;
    color: #9c681f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kw-yacht-charter {
    background: #f5f1e8;
}

.kw-why__grid--five {
    grid-template-columns: repeat(5, 1fr);
}

.kw-section-cta {
    margin-top: 32px;
}

.kw-text-link {
    color: #d9942f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.kw-text-link:hover {
    color: #b97821;
}

/* CTA dla jachtów — ten sam poprawiony styl co przy e-bike */

.kw-yacht-page .kw-cta {
    background: #103426;
    color: #fff;
    padding: 64px 0;
}

.kw-yacht-page .kw-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 680px) auto;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.kw-yacht-page .kw-cta .kw-eyebrow {
    color: #d9942f;
    margin-bottom: 16px;
}

.kw-yacht-page .kw-cta h2 {
    margin: 0 0 20px;
    color: #fff !important;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
}

.kw-yacht-page .kw-cta p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 19px;
    line-height: 1.75;
}

.kw-yacht-page .kw-cta .kw-btn {
    min-width: 190px;
    min-height: 52px;
    padding: 0 30px;
    background: #d9942f;
    color: #fff !important;
    border: 0;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.kw-yacht-page .kw-cta .kw-btn:hover {
    background: #c68125;
    color: #fff !important;
    transform: translateY(-2px);
}

@media (max-width: 1180px) {
    .kw-why__grid--five {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .kw-tour-loop--yachts {
        grid-template-columns: repeat(2, 1fr);
    }

    .kw-why__grid--five {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kw-yacht-page .kw-cta {
        padding: 52px 0;
    }

    .kw-yacht-page .kw-cta__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .kw-yacht-page .kw-cta .kw-btn {
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .kw-tour-loop--yachts,
    .kw-why__grid--five {
        grid-template-columns: 1fr;
    }

    .kw-tour-loop--yachts .kw-tour-loop__image img {
        height: 230px;
    }
}

@media (max-width: 480px) {
    .kw-yacht-page .kw-cta .kw-btn {
        width: 100%;
    }
}
/* Video — e-bike */

.kw-ebike-page .kw-video {
    background: #fff;
    padding: 72px 0;
}

.kw-ebike-page .kw-video__grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 56px;
    align-items: center;
}

.kw-ebike-page .kw-video__content h2 {
    margin: 0 0 20px;
    color: #17241c;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.kw-ebike-page .kw-video__content p {
    margin: 0;
    max-width: 460px;
    color: #5d5a54;
    font-size: 17px;
    line-height: 1.75;
}

.kw-ebike-page .kw-video__embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 22px;
    background: #103426;
    box-shadow: 0 18px 44px rgba(30, 28, 22, 0.12);
}

.kw-ebike-page .kw-video__embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .kw-ebike-page .kw-video__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .kw-ebike-page .kw-video__content p {
        max-width: 720px;
    }
}

@media (max-width: 640px) {
    .kw-ebike-page .kw-video {
        padding: 52px 0;
    }

    .kw-ebike-page .kw-video__embed {
        border-radius: 16px;
    }
}