/*
Theme Name: Zmienny Horyzont
Theme URI: https://zmiennyhoryzont.com
Author: Zmienny Horyzont
Description: Custom theme for Zmienny Horyzont.
Version: 1.0
*/

/* =========================================================
   FONTS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');


/* =========================================================
   RESET / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333333;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   MAPA
========================================================= */

.world-map-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    background-color: #ffffff;
}

.world-map-wrapper svg {
    width: 100%;
    height: auto;
    display: block;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}



/* =========================================================
   ZOOM
========================================================= */

.world-map-wrapper.is-zoomed svg {
    cursor: grab;
}

.world-map-wrapper.is-dragging svg {
    cursor: grabbing;
}


/* =========================================================
   MAP CONTROLS
========================================================= */

.map-controls {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}


/* =========================================================
   IKONKI ZOOM
========================================================= */

.map-controls button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    aspect-ratio: 1 / 1;

    box-sizing: border-box;
    padding: 0 !important;
    margin: 0;

    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-radius: 50% !important;

    background: rgba(255, 255, 255, 0.78) !important;
    color: #777777;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 300;
    line-height: 1;


    opacity: 1;
    cursor: pointer;

    transition: transform 0.2s ease, color 0.2s ease;
}

.map-controls button:hover {
    background: rgba(255, 255, 255, 0.78) !important;
    border-radius: 50% !important;
    color: #9f765f;
    transform: scale(1.06);
}



/* =========================================================
   TOOLTIP
========================================================= */


#map-tooltip {
    position: fixed;
    display: none;
    z-index: 9999;

    padding: 8px 13px;

    background: rgba(255, 255, 255, 0.88);
    color: #3d3732;

    border: none;
    border-radius: 7px;

    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 500;

    letter-spacing: 0.3px;
    line-height: 1.4;

    pointer-events: auto;
    white-space: nowrap;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

    transform: translate(12px, 12px);
}

/* =========================================================
   SINGLE POST
========================================================= */

.single-post {
    background: #ffffff;
}

.post-top {
    display: flex;
    align-items: stretch;

    width: 100%;
    height: 500px;
}

.post-hero {
    align-self: start;
}

.post-hero-image {
    width: 100%;
    object-fit: cover;
}

/* =========================================================
   HEADER WPISU
========================================================= */

.post-header {
    width: 100%;
    max-width: 650px;
    padding: 80px 10px 0px 80px;
    box-sizing: border-box;
    position: relative;
    text-align: left;
}

.post-category {
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777777;
}

.post-title {
    max-width: 460px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.05;
    color: #333333;
}

.post-meta {
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    color: #777;
    letter-spacing: 0.5px;
}

.post-excerpt {
    max-width: 550px;
    font-family: "Merriweather", Georgia, serif;
    font-style: italic;
    font-weight: 100;
    font-size: 20px;
    line-height: 1.6;
    color: #5f554e;
}


/* =========================================================
   HERO WPISU
========================================================= */

.post-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.55 / 1;

    display: block;
    object-fit: cover;
    object-position: center center;

    clip-path: url(#organicPostShape);
}

.post-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.post-hero-clip {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* =========================================================
   TREŚĆ WPISU + SIDEBAR
========================================================= */

.post-body-layout {
    width: min(1500px, 90%);
    margin: 60px auto 0;

    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: clamp(30px, 3vw, 60px);

    align-items: start;
}

/* =========================================================
   LEWA KOLUMNA - TREŚĆ
========================================================= */

.post-content {
    max-width: 900px;

    margin: 0;

    padding: 0;

    font-family: "Nunito", sans-serif;
    font-size: 19px;
    line-height: 1.5;
    color: #38332f;
}


/* akapity */

.post-content p {
    margin: 0 0 30px;
}


/* nagĹĂłwki */

.post-content h2 {
    margin: 70px 0 25px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 32px;

    font-weight: 400;

    line-height: 1.25;

    color: #333333;
}


.post-content h3 {
    margin: 55px 0 20px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 24px;

    font-weight: 400;

    color: #333333;
}


/* zdjÄcia w tekĹcie */

.post-content img {
    width: 100%;
    height: auto;

    display: block;

    margin: 50px 0;
}


/* =========================================================
   PRAWA KOLUMNA
========================================================= */

.post-sidebar {
    width: 100%;
}


.post-sidebar-block {
    margin-bottom: 45px;
}


.post-sidebar-label {
    display: block;

    margin-bottom: 20px;

    font-family: "Nunito", sans-serif;

    font-size: 10px;

    letter-spacing: 2px;

    color: #777;
}


.post-sidebar-category {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 30px;

    background: #f4f1ed;

    font-family: "Nunito", sans-serif;

    font-size: 13px;

    color: #3d3732;

    text-decoration: none;
}


/* =========================================================
   POLECANE WPISY
========================================================= */

.post-sidebar-item {
    display: block;

    padding: 0 0 22px;
    margin-bottom: 22px;

}


.post-sidebar-image {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;

    overflow: hidden;

    border-radius: 15px;

    margin-bottom: 12px;
}

.post-sidebar-image-img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.post-sidebar-image:hover .post-sidebar-image-img {
    transform: scale(1.04);
}


.post-sidebar-item-content {
    min-width: 0;
}


.post-sidebar-title {
    font-family: "Merriweather", Georgia, serif;

    font-size: 14px;

    line-height: 1.45;

    color: #333333;

    text-decoration: none;
}


.post-sidebar-title:hover {
    color: #777777;
}


/* akapity */

.post-content p {
    margin: 0 0 30px;
}


/* nagĹĂłwki */

.post-content h2 {
    margin: 70px 0 25px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 32px;

    font-weight: 400;

    line-height: 1.25;

    color: #333333;
}


.post-content h3 {
    margin: 55px 0 20px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 24px;

    font-weight: 400;

    color: #333333;
}


/* linki */

.post-content a {
    color: #9f765f;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* listy */

.post-content ul,
.post-content ol {
    margin: 0 0 30px;

    padding-left: 25px;
}


/* =========================================================
   NAWIGACJA MIÄDZY WPISAMI
========================================================= */

.post-navigation {
    max-width: 1100px;

    margin: 110px auto 0;

    padding: 35px 30px 0;

    border-top: 1px solid #e8e3de;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}


.post-navigation a {
    font-family: "Nunito", sans-serif;

    font-size: 11px;

    letter-spacing: 0.8px;

    color: #3d3732;

    text-decoration: none;

    transition: color 0.2s ease;
}


.post-navigation a:hover {
    color: #9f765f;
}


.post-navigation-prev,
.post-navigation-next {
    max-width: 45%;
}


.post-navigation-next {
    text-align: right;
}

/* =========================================================
   MIEJSCA - MEGA MENU
========================================================= */

.places-menu-trigger {
    position: relative;

    border: 0;
    padding: 0;
    margin: 0;

    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;

    color: inherit;

    cursor: pointer;
}

/* =========================================================
   PRZYCIIEMNIENIE STRONY POD MENU
========================================================= */

.places-menu-backdrop {
    position: fixed;
    inset: 0;

    z-index: 0;

    background: rgba(25, 22, 19, 0.32);

    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .15s ease,
        visibility .15s ease;
}

.site-header.places-hover .places-menu-backdrop,
.site-header.inspirations-hover .places-menu-backdrop,
.site-header.nav-dim .places-menu-backdrop {
    opacity: 1;
    visibility: visible;
}
/* =========================================================
   AKTYWACJA — TYLKO HOME + CATEGORY
========================================================= */

.site-header.places-hover .places-menu-backdrop,
.site-header.inspirations-hover .places-menu-backdrop,
.site-header.nav-dim .places-menu-backdrop {
    opacity: 1;
    visibility: visible;
}
/* =========================================================
   ZAWARTOŚĆ HEADERA
========================================================= */

.site-header-inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 25px;
}


/* LOGO */
.site-logo {
    position: relative;
    z-index: 3;

    display: block;
}

.main-site-logo-image {
    width: 230px;
    height: auto;
}

/* =========================================================
   PRZESUNIĘCIE STRONY POD PASEK ADMINISTRACYJNY WORDPRESA
========================================================= */

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Poniżej 600 px pasek admina nie jest przyklejony (znika przy scrollu),
   więc header musi przylegać do samej góry */
@media screen and (max-width: 768px) {
    body.admin-bar .site-header {
        top: 0;
    }
}

/* =========================================================
   SINGLE POST - RESPONSIVE
========================================================= */

/* DUŻE EKRANY + TABLET */

.post-top {
    display: flex;
    align-items: stretch;
    width: 100%;

    height: clamp(500px, 32vw, 500px);
}

.post-copy {
    flex: 1 1 50%;
    width: 50%;
    max-width: 600px;

    height: 100%;

    padding: 0 10px 0 clamp(40px, 5vw, 80px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-sizing: border-box;
}


.post-header {
    width: 100%;
    max-width: none;

    height: auto;

    padding: 0;

    box-sizing: border-box;
}

.post-hero {
    flex: 1 1 50%;
    width: 50%;
    height: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.post-hero picture {
    display: block;
    width: 100%;
    height: 100%;
}

.post-hero-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    clip-path: url(#organicPostShape);
}

.post-title {
    max-width: 500px;

    font-size: clamp(38px, 3.2vw, 50px);
    line-height: 1.05;
}

.post-excerpt {
    max-width: 550px;

    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.6;

    margin-top: clamp(20px, 2vw, 30px);
}

/* =========================================================
   DESKTOP — POWYŻEJ 900 PX
   ========================================================= */

.post-top {
    display: flex;
    align-items: flex-start;

    width: 100%;
    height: 500px;
}

.post-copy {
    width: 50%;
    height: 500px;

    display: flex;
    flex-direction: column;
}

.post-header {
    flex: 0 0 500px;

    width: 100%;
    max-width: 600px;

    padding: 0 10px 0 clamp(40px, 5vw, 80px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-sizing: border-box;
}

.post-hero {
    flex: 0 0 50%;

    width: 50%;
    height: 500px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.post-hero-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    clip-path: url(#organicPostShape);
}

.post-excerpt {
    max-width: 550px;

    margin-top: 20px;

    font-family: "Merriweather", Georgia, serif;
    font-style: italic;
    font-weight: 100;

    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.6;

    color: #5f554e;
}

/* =========================================================
   TABLET + TELEFON — DO 900 PX
========================================================= */

@media (max-width: 1000px) {

    .post-top {
        display: flex;
        flex-direction: column;

        width: 100%;
        height: auto;
    }


    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .post-hero {
        order: 1;

        flex: none;

        position: relative;

        width: 100%;
        height: clamp(520px, 75vw, 740px);

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }
    
    .post-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.48) 25%,
    rgba(0, 0, 0, 0.22) 50%,
    rgba(0, 0, 0, 0.05) 75%,
    rgba(0, 0, 0, 0) 100%
);

    clip-path: url(#organicPostShapeMobile);
}

    .post-hero-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;

        clip-path: url(#organicPostShapeMobile);
    }


    /* -----------------------------------------
       HEADER — TYTUŁ NA ZDJĘCIU
    ----------------------------------------- */

    .post-header {
        position: absolute;

        top: 0;
        left: 0;

        z-index: 2;

        width: 100%;
        height: clamp(520px, 75vw, 740px);

        max-width: none;

        padding: 0 40px 40px;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        box-sizing: border-box;

        pointer-events: none;

    }


    /* Kategoria — nie pokazujemy na zdjęciu */

    .post-category {
        display: none;
    }


    /* Tytuł */

    .post-title {
        max-width: 700px;

        margin: 0;

        font-size: clamp(36px, 6vw, 48px);
        line-height: 1.05;

        color: #ffffff;
    }


    /* Data — również nie pokazujemy na zdjęciu */

    .post-meta {
        display: none;
    }


    /* -----------------------------------------
       ZAJAWKA — NORMALNY PRZEPŁYW
    ----------------------------------------- */

    .post-excerpt {
        order: 2;

        position: static;

        width: calc(100% - 80px);
        max-width: 650px;

        margin: 45px auto 0;

        font-size: clamp(17px, 2.5vw, 21px);
        line-height: 1.55;

        color: #5f554e;
    }




/* =========================================================
   OKNO WYSZUKIWANIA (HERO)
========================================================= */

.sm {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

        transition: visibility 0s linear .2s;
}

.sm.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 22, 19, .45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);

    opacity: 0;
    transition: opacity 0.0s ease;
}

.sm.is-open .sm-backdrop {
    opacity: 1;
}

.sm-panel {
    position: relative;

    width: min(1300px, 88vw);
    height: min(900px, 90vh);

    display: grid;
    grid-template-columns: 300px 1fr;

    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(14px) scale(.985);
    transition: transform .22s ease, opacity .18s ease;
}

.sm.is-open .sm-panel {
    transform: none;
        opacity: 1;
}


/* LEWA KOLUMNA */

.sm-sidebar {
    padding: 24px 22px 30px;
    background: #f5f1eb;

}

.sm-search {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 18px;
    height: 52px;

    background: #ffffff;
    border-radius: 15px;
    color: #8a8580;
}

.sm-search svg {
    flex-shrink: 0;
}

.sm-search input {
    flex: 1;
    min-width: 0;

    border: 0;
    outline: none;
    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.sm-search input::placeholder {
    color: #8a8580;
    font-weight: 400;
    font-family: "Nunito";
    font-size: 15px;
}

.sm-label {
    display: block;
    margin: 28px 0 12px;

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8a8580;
}

.sm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sm-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sm-chips-grid .sm-chip {
    flex: none;
    width: 100%;
}

.sm-chip {
    flex: 1 1 auto;
    padding: 12px 8px;
    border: 0;
    border-radius: 15px;
    background: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #2b2623;

    cursor: pointer;


}

.sm-chip:hover {
    background: #ebe4dc;
    transform: translateY(-1px);
}

.sm-chip.is-active {
    background: #333333;
    color: #ffffff;
}

.sm-clear {
    margin-top: 30px;
    padding: 0;

    border: 0;
    background: none;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #333333;

    cursor: pointer;
}

.sm-clear:hover {
    color: #777777;
}


/* PRAWA CZĘŚĆ */

.sm-results {
    padding: 24px 28px 30px;
    overflow-y: auto;
}

.sm-results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sm-count {
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8580;
}

.sm-close {
    width: 44px;
    height: 44px;

    border: 1px solid #f5f1eb ;
    border-radius: 50%;
    background: #fff;

    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    color: #ebe6de;

    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sm-close:hover {
    background: #f5f1eb ;
    color: #9f765f;
}

.sm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
}

.sm-card {
    position: relative;
    display: block;
    min-width: 0;

    aspect-ratio: 4 / 3;

    border-radius: 15px;
    overflow: hidden;
    background: #e9e6e2;
}

.sm-card[hidden] {
    display: none;
}

.sm-card-image,
.sm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.sm-card-image img {
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.sm-card:hover .sm-card-image img {
    transform: scale(1.04);
}

.sm-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;

    padding: 70px 18px 18px;

    background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
    color: #fff;

    pointer-events: none;
}

.sm-card-cat {
    font-family: "Nunito", sans-serif;
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #fff;
    opacity: .9;
}

.sm-card-title {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.sm-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 3px;

    padding: 5px 6px;

    border-radius: 10px;
    background: rgba(30, 27, 24, .35);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;

    pointer-events: none;
}

.sm-card-badge svg {
    flex-shrink: 0;
}

/* TABLET */

@media (max-width: 1000px) {
    .sm-panel {
        grid-template-columns: 280px 1fr;
    }

    .sm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* TELEFON */

@media (max-width: 700px) {
    .sm-panel {
        width: 100%;
        height: 100%;
        border-radius: 0;

        display: block;
        overflow-y: auto;
    }

    .sm-sidebar,
    .sm-results {
        overflow: visible;
    }

    .sm-results {
        padding: 20px 18px 30px;
    }

    .sm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sm-card-title {
        font-size: 15px;
    }
}



/* =========================================================
   STUDIO
========================================================= */

.studio-page {
    padding-bottom: 0;
}

.studio-wrap {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}


/* WSTĘP */

.studio-intro {
    width: min(900px, calc(100% - 80px));
    margin: 0 auto;
    padding: 170px 0 70px;

    text-align: center;
}

.studio-intro h1 {
    margin: 0;

    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(32px, 4.6vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: #333333;
}

.studio-intro p {
    max-width: 680px;
    margin: 26px auto 34px;

    font-family: "Nunito", sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #4a443f;
}


/* GALERIA */

.studio-gallery {
    width: min(1300px, calc(100% - 80px));
    margin: 0 auto;
    padding-bottom: 100px;
}

.studio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.studio-shot {
    position: relative;
    margin: 0;

    aspect-ratio: 4 / 3;

    border-radius: 10px;
    overflow: hidden;
    background: #e9e6e2;
}

.studio-shot:first-child {
    grid-column: span 2;
    aspect-ratio: auto;
}

.studio-shot img,
.studio-shot-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-shot img {
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.studio-shot:hover img {
    transform: scale(1.04);
}

.studio-shot-badge {
    position: absolute;
    top: 14px;
    left: 14px;

    padding: 5px 9px;

    border-radius: 6px;
    background: rgba(30, 27, 24, .4);

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #fff;
}

.studio-shot figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 60px 18px 16px;

    background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));

    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;

    opacity: 0;
    transition: color .3s ease;
}

.studio-shot:hover figcaption {
    opacity: 1;
}


/* OFERTA */

.studio-services {
    padding: 90px 0 100px;
    background: #f5f1eb;
}

.studio-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    margin-top: 45px;
}


/* JAK PRACUJEMY */

.studio-process {
    padding: 100px 0 20px;
}

.studio-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;

    margin-top: 45px;
}

.studio-step-num {
    display: block;
    margin-bottom: 14px;

    font-family: "Merriweather", Georgia, serif;
    font-size: 34px;
    color: #b08b73;
}

.studio-step h3 {
    margin: 0 0 10px;

    font-family: "Merriweather", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    color: #333333;
}

.studio-step p {
    margin: 0;

    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #6b635d;
}

.studio-cta-text {
    max-width: 520px;
    margin: 18px auto 0;

    font-family: "Nunito", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #6b635d;
}


/* TABLET */

@media (max-width: 1000px) {
    .studio-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* TELEFON */

@media (max-width: 800px) {
    .studio-intro {
        width: calc(100% - 40px);
        padding: 130px 0 50px;
    }

    .studio-gallery,
    .studio-wrap {
        width: calc(100% - 40px);
    }

    .studio-gallery {
        padding-bottom: 70px;
    }

    .studio-gallery-grid,
    .studio-services-grid,
    .studio-steps {
        grid-template-columns: 1fr;
    }

    .studio-shot:first-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .studio-shot figcaption {
        opacity: 1;
    }
}

/* =========================================================
   MIEJSCA — PASEK NA DOLE MENU
========================================================= */

.places-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 20px 28px;

    background: #f3ece9;

    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2b2623;

    transition: background .2s ease, color .2s ease;
}

.places-menu-footer:hover {
    background: #ece2de;
    color: #9f765f;
}

.places-menu-footer-arrow {
    width: 8px;
    height: 8px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    border-radius: 1px;

    transform: rotate(45deg);
    transition: transform .2s ease;
}

.places-menu-footer:hover .places-menu-footer-arrow {
    transform: rotate(45deg) translate(2px, -2px);
}

/* =========================================================
   HEADER — WERSJA MOBILNA
========================================================= */

.header-mobile-actions,
.mobile-menu {
    display: none;
}

.mobile-icon-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #f4f1ed;
    color: #333333;

    cursor: pointer;

    transition: background .2s ease, color .2s ease;
}

.mobile-icon-btn:active {
    background: #ebe4dc;
    color: #9f765f;
}


@media (max-width: 1000px) {

    /* górny pasek: tylko logo + 2 ikony */

    .site-header-inner {
        padding: 12px;
        padding-right: 10px;
        padding-left: 20px;
    }

.main-site-logo-image {
    width: 220px;
    height: auto;
}

    .site-navigation,
    .header-instagram,
    .places-mega-menu,
    .inspirations-mega-menu {
        display: none !important;
    }

    .header-mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }


    /* okno menu */

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 1500;

        display: flex;
        flex-direction: column;

        background: #ffffff;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity .2s ease, visibility .2s ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.admin-bar .mobile-menu {
        top: 46px;
    }

    .mobile-menu-top {
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 10px 20px;
    }

    .mobile-menu-body {
        flex: 1;
        overflow-y: auto;

        padding: 10px 25px 50px;
    }

    .mm-link,
    .mm-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 20px 0;

        border: 0;
        border-bottom: 1px solid #ebe5df;

        background: none;

        font-family: "Nunito", sans-serif;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
        text-align: left;

        color: #333333;

        cursor: pointer;
    }

    .mm-toggle .nav-arrow {
        transition: transform .25s ease;
    }

    .mm-item.is-open .mm-toggle {
        color: #777777;
    }

    .mm-item.is-open .mm-toggle .nav-arrow {
        transform: rotate(225deg) translateY(-2px);
    }

    .mm-sub {
        display: none;
        padding: 8px 0 22px;
        border-bottom: 1px solid #ebe5df;
    }

    .mm-item.is-open .mm-sub {
        display: block;
    }

    .mm-label {
        display: block;
        margin: 16px 0 10px;

        font-family: "Nunito", sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        color: #333333;
    }

    .mm-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mm-chip {
        padding: 10px 16px;

        border-radius: 999px;
        background: #f5f3f0;

        font-family: "Nunito", sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #2b2623;
    }

    .mm-all {
        display: block;
        margin-top: 24px;

        font-family: "Nunito", sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #333333;
    }

    .mm-sublink {
        display: block;
        padding: 15px 0;

        font-family: "Nunito", sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #333333;
    }

    .mm-instagram {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 46px;
        height: 46px;
        margin-top: 34px;

        border-radius: 50%;
        background: #f4f1ed;

        color: #2b2623;
    }

    .mm-instagram:active {
        background: #ebe4dc;
        color: #9f765f;
    }
}



    /* NAJNOWSZE WPISY: przesuwane palcem, z przyciąganiem */

    .latest-posts {
        padding: 60px 0 60px 20px;
    }

    .latest-posts-header {
        margin-bottom: 20px;
    }

    .latest-posts-grid {
        gap: 16px;
        padding-right: 20px;

        scroll-snap-type: x mandatory;

    }

    .latest-post {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .latest-post h3 {
        font-size: 19px;
    }


    /* MAPA */

    .travel-map {
        padding: 60px 0 120px;
    }

    .travel-map-header {
        margin-bottom: 28px;
    }

    .travel-map-header h2 {
        font-size: 26px;
    }

    .map-controls {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .map-controls button {
        padding: 8px;
        font-size: 24px;
    }

    /* pozwala przesuwać powiększoną mapę palcem bez przewijania strony */
    .world-map-wrapper.is-zoomed svg {
        touch-action: none;
    }


    /* INSTAGRAM */

    .instagram-strip {
        padding-top: 60px;
    }

    .instagram-link {
        font-size: 14px;
    }
}


/* ---------- MAŁE TELEFONY (do 400 px) ---------- */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 26px;
        line-height: 30px;
    }

    .latest-post {
        flex-basis: 85%;
    }
}


/* =========================================================
   STRONA KRAJU - RESPONSYWNOŚĆ
========================================================= */

/* ---------- TABLET (do 1000 px) ---------- */

@media (max-width: 1000px) {

    .country-hero {
        min-height: 70vh;
    }

    .country-hero-content {
        width: calc(100% - 60px);
        padding-bottom: 100px;
    }

    .country-hero-description {
        max-width: 520px;
        font-size: 18px;
    }

    .country-posts,
    .category-posts {
        width: calc(100% - 60px);
        padding-top: 60px;
        padding-bottom: 90px;
    }

    .country-posts-grid,
    .category-posts-grid {
        gap: 36px 20px;
    }
}


/* ---------- TELEFON (do 768 px) ---------- */

@media (max-width: 768px) {

    .country-hero {
        min-height: 65vh;
    }

    .country-hero-content {
        width: calc(100% - 40px);
        padding-bottom: 90px;   /* zostawia miejsce nad łukiem */
    }

    .country-hero h1 {
        font-size: 30px;
        letter-spacing: -.01em;
    }

    .country-hero-label {
        margin-bottom: 10px;
        font-size: 9px;
        letter-spacing: 2.2px;
    }

    .country-hero-description {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: .3px;
    }

    /* tekst jest na dole zdjęcia, więc przyciemnienie od dołu zamiast z boku */
.country-hero-overlay {
    background:
        /* GÓRA */
        linear-gradient(
            to bottom,
            rgba(20, 17, 14, .38) 0%,
            rgba(20, 17, 14, .22) 18%,
            rgba(20, 17, 14, .06) 38%,
            rgba(20, 17, 14, 0) 50%
        ),

        /* DÓŁ — miękkie przyciemnienie pod Cypr */
        linear-gradient(
            to top,
            rgba(20, 17, 14, .58) 0%,
            rgba(20, 17, 14, .38) 18%,
            rgba(20, 17, 14, .20) 32%,
            rgba(20, 17, 14, .08) 48%,
            rgba(20, 17, 14, 0) 65%
        );
}

    /* który fragment zdjęcia zostaje widoczny: 0% lewa, 50% środek, 100% prawa */
    .country-hero-image img {
        object-position: 50% center;
    }

    .country-posts,
    .category-posts {
        width: calc(100% - 40px);
        padding-top: 45px;
        padding-bottom: 70px;
    }

    .country-post-content h3 {
        font-size: 19px;
    }

    .country-post-content p {
        font-size: 16px;
        line-height: 1.6;
    }
}


/* ---------- MAŁE TELEFONY (do 400 px) ---------- */

@media (max-width: 400px) {

    .country-hero h1 {
        font-size: 38px;
    }

    .country-hero-description {
        font-size: 15px;
    }
}


/* ---------- TELEFON POZIOMO (niski ekran) ---------- */

@media (max-height: 520px) and (orientation: landscape) {

    .country-hero {
        min-height: 100vh;
    }

    .country-hero-content {
        padding-bottom: 70px;
    }
}


/* =========================================================
   SINGLE POST — FINAL LAYOUT
========================================================= */


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 901px) {

    .post-top {
        display: flex;
        align-items: stretch;
        width: 100%;
        height: clamp(500px, 32vw, 500px);
    }


    /* LEWA STRONA — TYTUŁ + ZAJAWKA */

.post-copy {
    flex: 0 0 40%;
    width: 40%;
    max-width: none;
    height: 100%;

    padding: 0 10px 0 clamp(40px, 5vw, 80px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-sizing: border-box;
}


    .post-header {
        width: 100%;
        height: auto;

        padding: 0;

        box-sizing: border-box;
    }


    .post-excerpt {
        width: 100%;
        max-width: 550px;

        margin-top: 20px;

        font-family: "Merriweather", Georgia, serif;
        font-style: italic;
        font-weight: 100;

        font-size: clamp(17px, 1.35vw, 20px);
        line-height: 1.6;

        color: #5f554e;
    }


    /* PRAWA STRONA — ZDJĘCIE */

.post-hero {
    flex: 0 0 60%;
    width: 60%;
    height: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }


    .post-hero-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;

        clip-path: url(#organicPostShape);
    }
}


/* =========================================================
   TABLET + TELEFON
========================================================= */

@media (max-width: 900px) {

    .post-top {
        display: grid;

        width: 100%;
        height: auto;

        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "excerpt";
    }


    /* ZDJĘCIE */

    .post-hero {
        grid-area: hero;

        width: 100%;
        height: clamp(520px, 75vw, 740px);

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }

.post-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        /* GÓRA — delikatne przyciemnienie pod logo */
        linear-gradient(
            to bottom,
            rgba(20, 17, 14, .38) 0%,
            rgba(20, 17, 14, .22) 18%,
            rgba(20, 17, 14, .06) 38%,
            rgba(20, 17, 14, 0) 50%
        ),

        /* DÓŁ — delikatne przyciemnienie pod tytuł */
        linear-gradient(
            to top,
            rgba(20, 17, 14, .38) 0%,
            rgba(20, 17, 14, .20) 18%,
            rgba(20, 17, 14, .05) 38%,
            rgba(20, 17, 14, 0) 52%
        );

    clip-path: url(#organicPostShapeMobile);
}

    .post-hero-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;

        clip-path: url(#organicPostShapeMobile);
    }


    /* POST-COPY NIE TWORZY OSOBNEGO POZIOMU */

    .post-copy {
        display: contents;
    }


    /* TYTUŁ NA ZDJĘCIU */

.post-header {
    grid-area: hero;

    position: relative;
    align-self: end;

    z-index: 2;

    width: 100%;
    height: auto;

    padding: 0 40px 65px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    pointer-events: none;

    background: transparent;
}


    /* KATEGORIA */

.post-category {
    display: block;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.9);
}

.post-meta {
    display: block;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.8);
}


    /* TYTUŁ */

    .post-title {
        max-width: 700px;

        margin: 0;

        font-size: clamp(36px, 6vw, 48px);
        line-height: 1.05;
    }


    /* ZAJAWKA POD ZDJĘCIEM */

    .post-excerpt {
        grid-area: excerpt;

        width: calc(100% - 80px);
        max-width: 650px;

        margin: 45px auto 0;

        font-family: "Merriweather", Georgia, serif;
        font-style: italic;
        font-weight: 100;

        font-size: clamp(17px, 1.35vw, 20px);
        line-height: 1.6;

        color: #5f554e;
    }
}

/* =========================================================
   DARK HEADER — STAŁE KAPSUŁY MENU
   ========================================================= */

/* Na single, Studio i O Nas kapsuły są widoczne cały czas */
body.dark-header-page .site-navigation > a::after,
body.dark-header-page .site-navigation > .places-menu-trigger::after,
body.dark-header-page .site-navigation > .inspirations-menu-trigger::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.30);
}

/* =========================================================
   SINGLE POST — AKTYWNA POZYCJA MENU
   Po wejściu w menu wszystkie stałe kapsuły znikają,
   a zostaje tylko kapsuła aktywnej sekcji.
========================================================= */

/* MIEJSCA */
body.dark-header-page .site-header.places-hover
.site-navigation > a::after,

body.dark-header-page .site-header.places-hover
.site-navigation > .inspirations-menu-trigger::after {
    opacity: 0;
}

/* INSPIRACJE */
body.dark-header-page .site-header.inspirations-hover
.site-navigation > a::after,

body.dark-header-page .site-header.inspirations-hover
.site-navigation > .places-menu-trigger::after {
    opacity: 0;
}


/* aktywne MIEJSCA */
body.dark-header-page .site-header.places-hover
.site-navigation > .places-menu-trigger::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.68);
}


/* aktywne INSPIRACJE */
body.dark-header-page .site-header.inspirations-hover
.site-navigation > .inspirations-menu-trigger::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.68);
}
/* =========================================================
   SINGLE POST — KOLOR MENU NA HOVER
   ========================================================= */

body.dark-header-page .site-navigation > a:hover,
body.dark-header-page .site-navigation > .places-menu-trigger:hover,
body.dark-header-page .site-navigation > .inspirations-menu-trigger:hover {
    color: #333333;
}

/* =========================================================
   SINGLE POST — HOVER ZWYKŁYCH POZYCJI MENU
   Studio / O Nas
========================================================= */

/* Kiedy jesteśmy nad menu:
   wszystkie stałe kapsuły znikają */
body.dark-header-page .site-navigation:hover > a::after,
body.dark-header-page .site-navigation:hover > .places-menu-trigger::after,
body.dark-header-page .site-navigation:hover > .inspirations-menu-trigger::after {
    opacity: 0;
}


/* Pokazujemy tylko element, nad którym aktualnie jest kursor */
body.dark-header-page .site-navigation:hover > a:hover::after,
body.dark-header-page .site-navigation:hover > .places-menu-trigger:hover::after,
body.dark-header-page .site-navigation:hover > .inspirations-menu-trigger:hover::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.68);
}

/* =========================================================
   INSPIRACJE — TO SAMO CO MIEJSCA (nadpisanie)
========================================================= */

.inspirations-mega-menu,
.site-header.inspirations-hover .inspirations-mega-menu {
    transform: none;
}

/* kontener = punkt odniesienia dla podkategorii */
.inspirations-menu-inner {
    position: relative;

    display: grid;
    grid-template-columns: 180px 1fr;
    grid-auto-rows: 40px;
    row-gap: 6px;
    align-content: start;

    padding: 18px 0;
    min-height: 0;
}

/* wiersze NIE mogą być position: relative */
.inspirations-menu-inner .inspiration-category,
.inspirations-menu-inner .inspiration-category-link {
    position: static;

    grid-column: 1;
    width: auto;
    height: 52px;
    margin: 0 14px;
}

/* wygląd pozycji — jak .continent-button */
.inspirations-menu-inner .inspiration-category-toggle,
.inspirations-menu-inner .inspiration-category-link {
    display: flex;
    align-items: center;

    height: 52px;
    padding: 0 1px;

    border-radius: 15px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.inspirations-menu-inner .inspiration-category-toggle {
    width: 100%;
    padding: 0 !important;
}

/* link w środku wypełnia cały wiersz (klikalny na całej szerokości) */
.inspirations-menu-inner .inspiration-main-link {
    width: 100%;
    height: 100%;
    padding: 0 18px !important;
}

/* prawa część — jak .places-countries */
.inspirations-menu-inner .inspiration-subcategories {
    top: 0;
    bottom: 0;
    left: 180px;
    right: 0;

    width: auto;
    padding: 22px 28px 28px;

    gap: 10px;
}

/* panel podkategorii dotyka wierszy, więc hover się nie rwie */
.inspirations-menu-inner .inspiration-subcategories {
    left: 166px;                 /* 180px − margines wierszy 14px */
    padding: 22px 28px 28px 42px; /* 28px + 14px, żeby kapsuły zostały w tym samym miejscu */
}

/* =========================================================
   INSPIRACJE — STRZAŁKA + AKTYWNA KATEGORIA
   (klasę .is-active ustawia JS w header.php)
========================================================= */

.inspirations-menu-inner .inspiration-category-toggle {
    position: relative;
}

.inspirations-menu-inner .inspiration-category-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;

    width: 7px;
    height: 7px;

    border-top: 2px solid #2b2623;
    border-right: 2px solid #2b2623;
    border-radius: 1px;

    transform: translateY(-50%) rotate(45deg);

    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.inspirations-menu-inner .inspiration-category.is-active .inspiration-category-toggle {
    background: #f3f0ed;
}

.inspirations-menu-inner .inspiration-category.is-active .inspiration-category-toggle::after {
    opacity: 1;
}

.inspirations-menu-inner .inspiration-category.is-active .inspiration-subcategories {
    display: grid;
}

/* =========================================================
   INSPIRACJE — KAPSUŁKA O STAŁEJ SZEROKOŚCI
========================================================= */

.inspirations-menu-inner {
    --pill-width: 140px;   /* szerokość tła: zmieniaj tylko tu */
    --pill-height: 40px;   /* wysokość tła */
    --pill-left: 18px;     /* odstęp od lewej krawędzi menu */

    grid-auto-rows: var(--pill-height);
}

.inspirations-menu-inner .inspiration-category,
.inspirations-menu-inner .inspiration-category-link {
    justify-self: start;
    width: var(--pill-width);
    height: var(--pill-height);
    margin: 0 0 0 var(--pill-left);
}

.inspirations-menu-inner .inspiration-category-toggle,
.inspirations-menu-inner .inspiration-category-link {
    height: var(--pill-height);
}

.inspirations-menu-inner .inspiration-category-toggle {
    width: 100%;
}

/* tekst: stały odstęp od lewej, reszta wolna na strzałkę */
.inspirations-menu-inner .inspiration-main-link {
    width: 100%;
    padding: 0 14px !important;
}

.inspirations-menu-inner .inspiration-category-link {
    padding: 0 14px;
}

/* strzałka przy prawej krawędzi kapsułki */
.inspirations-menu-inner .inspiration-category-toggle::after {
    right: 14px;
}
/* kategorie i podkategorie w jednej linii */
.inspirations-menu-inner .inspiration-subcategories {
    padding-top: 18px;          /* tyle samo co padding-top kontenera */
}

.inspirations-menu-inner .inspiration-subcategories a {
    min-height: var(--pill-height, 40px);
    padding-top: 0;
    padding-bottom: 0;
}

/* =========================================================
   MIEJSCA — KAPSUŁKA O STAŁEJ SZEROKOŚCI (jak Inspiracje)
========================================================= */

.places-menu-inner {
    --pill-width: 140px;   /* szerokość tła: zmieniaj tylko tu */
    --pill-height: 40px;   /* wysokość tła */
    --pill-left: 18px;     /* odstęp od lewej krawędzi menu */
}

/* lewa kolumna: te same odstępy co w Inspiracjach */
.places-continents {
    gap: 6px;
    padding: 18px 0;
}

.places-continents .continent-button {
    width: var(--pill-width);
    height: var(--pill-height);
    margin-left: var(--pill-left);

    padding: 0 14px;
}

/* strzałka przy prawej krawędzi kapsułki, ten sam rozmiar co w Inspiracjach */
.continent-arrow {
    width: 7px;
    height: 7px;
    border-top-width: 2px;
    border-right-width: 2px;
    margin-right: 0;
}

/* kategorie i kraje w jednej linii */
.places-countries {
    padding-top: 18px;          /* tyle samo co padding-top kolumny */
}

.places-countries .country-link {
    min-height: var(--pill-height);
    padding-top: 0;
    padding-bottom: 0;
}

/* strzałka w Inspiracjach — taka sama jak w Miejsca */
.inspirations-menu-inner .inspiration-category-toggle::after {
    width: 7px;
    height: 7px;

    border-top: 2px solid #2b2623;
    border-right: 2px solid #2b2623;
    border-radius: 1px;

    right: 18px;
}

/* strzałka w Inspiracjach: liczona tak samo jak w Miejsca */
.inspirations-menu-inner .inspiration-category-toggle::after {
    box-sizing: border-box;
}


/* =========================================================
   INSPIRACJE — GRID 2 KOLUMNY
========================================================= */

.inspirations-menu-inner .inspiration-subcategories {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
}

.inspirations-menu-inner .inspiration-subcategories a {
    width: 100%;
    min-width: 0;
}

/* =========================================================
   FLAGI KRAJÓW — MIEJSCA
========================================================= */

.country-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.country-name {
    line-height: 1;
}

/* =========================================================
   INSPIRACJE — PRAWY PANEL: ZAJAWKA + "NA SKRÓTY"
========================================================= */

/* szersze menu, żeby zajawka miała miejsce */
.inspirations-mega-menu {
    width: min(560px, calc(100% - 80px));
}

.inspirations-menu-inner {
    min-height: 330px;
}

/* panel jako kolumna: zajawka u góry, skróty na dole */
.inspirations-menu-inner .inspiration-category.is-active .inspiration-subcategories,
.inspirations-menu-inner .inspiration-category:hover .inspiration-subcategories,
.inspirations-menu-inner .inspiration-subcategories:hover {
    display: flex;
}

.inspirations-menu-inner .inspiration-subcategories {
    flex-direction: column;
    padding: 20px 28px 24px 42px;
}


/* NA SKRÓTY — przyklejone do dołu panelu */
.inspiration-shortcuts {
    margin-top: auto;
    padding-top: 18px;
}

.inspiration-shortcuts-label {
    display: block;
    margin-bottom: 10px;

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8580;
}

.inspiration-shortcuts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* nadpisuje wcześniejsze style pigułek z panelu */
.inspirations-menu-inner .inspiration-subcategories .inspiration-shortcuts a {
    width: auto;
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
}


/* =========================================================
   INSPIRACJE — ZAJAWKA W OKIENKU
========================================================= */

.inspiration-excerpt {
    padding: 18px 20px;

    background: #f5f3f0;
    border-radius: 10px;
}


/* =========================================================
   RESET / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333333;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent !important;
    color: #fff;
}

.site-header-inner {
    position: relative;
    z-index: 102;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 25px;
}

.site-header.places-hover .site-header-inner {
    z-index: 2;
}

.main-site-logo {
    display: block;
}

.main-site-logo-image {
    width: 200px;
    height: auto;
}

.mobile-menu-logo {
    display: block;
}

.mobile-menu-logo img {
    width: 220px;
    height: auto;
    display: block;
}

.site-navigation {
    margin-left: 60px;
    margin-right: auto;

    display: flex;
    gap: 32px;

    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;

    color: white;
}

/* =========================================================
   HEADER — SINGLE POST
========================================================= */

body.dark-header-page .site-header .site-navigation a,
body.dark-header-page .site-header .places-menu-trigger,
body.dark-header-page .site-header .inspirations-menu-trigger {
    color: #333333;
}

/* =========================================================
   HEADER - AKCJE
========================================================= */


.header-search {
    position: relative;

    display: flex;
    align-items: center;

    width: 28px;
    height: 40px;

    margin-left: 0;

    transition:
        width .35s ease;
}


/* LUPA */

.header-search-toggle {
    position: relative;
    z-index: 2;

    width: 28px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0;

    border: 0;
    outline: none;

    background: transparent;

    color: #333333;

    cursor: pointer;

    transition:
        color .25s ease,
        transform .25s ease;
}


.header-search-toggle:hover {
    color: #9f765f;
}


/* POLE */

.header-search-input {
    position: absolute;

    right: 0;

    width: 0;
    height: 36px;

    padding: 0;

    border: 0;
    outline: none;

    background: transparent;

    opacity: 0;

    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .3px;

    color: #2b2623;

    transition:
        width .35s ease,
        opacity .25s ease,
        padding .35s ease;
}

/* Usunięcie natywnego X kasującego wpisany tekst */

.header-search-input::-webkit-search-cancel-button,
.header-search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.header-search-close {
    position: absolute;
    right: 0;

    width: 30px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    outline: none;

    background: transparent;

    color: #77716c;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    pointer-events: none;

    transition:
        opacity .2s ease,
        color .2s ease;
}

.header-search-close:hover {
    color: #9f765f;
}

.header-search.is-open .header-search-close {
    opacity: 1;
    pointer-events: auto;
}

/* OTWARTA WYSZUKIWARKA */

.header-search.is-open {
    width: 270px;
}


.header-search.is-open .header-search-input {
    width: 235px;

    padding: 0 38px 0 38px;

    opacity: 1;
}


/* LUPA NAD POLEM */

.header-search.is-open .header-search-toggle {
    position: absolute;

    left: 0;

    width: 36px;

    z-index: 3;
}

/* =========================================================
   HEADER - INSTAGRAM
========================================================= */

.header-instagram {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;
    background: #f4f1ed;

    color: #333333;

    text-decoration: none;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.header-instagram:hover {
    background: #ebe4dc;
    color: #333333;

    transform: translateY(-1px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 90vh;
    padding: 190px 30px 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;

    display: block;

    z-index: 0;
    overflow: hidden;
}

.hero-image-img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;
}

.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.25) 20%,
        rgba(0, 0, 0, 0.10) 40%,
        rgba(0, 0, 0, 0) 65%
    );

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;

    color: white;

    transform: translateY(-80px);
}

.hero-eyebrow {
    margin-bottom: 25px;

    font-size: 13px;
    letter-spacing: 3px;
}

.hero h1 {
    margin-bottom: 15px;

    font-family: "Nunito", Georgia, Serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 42px;
    letter-spacing: 1.2px;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 auto 5px;

    font-family: "Merriweather", Georgia, Serif;
    font-size: 15px;
    font-weight: 100;
    line-height: 24px;
    letter-spacing: 0.5px;
}


/* =========================================================
   HERO BOTTOM CURVE
========================================================= */

.hero-bottom {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 150px;

    z-index: 0;

    display: block;

    pointer-events: none;
}

.hero-bottom path {
    fill: #fff;
}
/* =========================================================
   HERO — WYSZUKIWARKA (otwiera okno search-modal)
========================================================= */

.hero-search {
    display: flex;
    align-items: center;
    gap: 14px;

    width: min(450px, calc(100vw - 40px));
    margin: 25px auto 0;
    padding: 7px 7px 7px 24px;

    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18);

    cursor: pointer;
    text-align: left;
}

.hero-search-icon {
    flex-shrink: 0;
    color: #777777;
}

.hero-search-input {
    flex: 1;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-family: "Merriweather", Georgia, serif;
    font-size: 14px;          
    font-weight: 100;  
    color: #777777;
    cursor: pointer;
    caret-color: transparent;  /* ukrywa migający kursor w polu "tylko do wyglądu" */
}

.hero-search-input::placeholder {
    color: #8a8580;
    opacity: 1;
}

.hero-search-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #7CA8A3;
    color: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background .25s ease;
}

.hero-search:hover .hero-search-button {
    background:  #7CA8A3;
}

.hero-search-button svg {
    transition: transform 0.25s ease;
}

.hero-search-button:hover svg {
    transform: translateX(2px);
}

@media (max-width: 1000px) {
    .hero-search {
        max-width: 450px;
        margin-top: 24px;
        padding: 6px 6px 6px 18px;
        gap: 10px;
    }

    .hero-search-input {
        font-size: 14px;    
    }

    .hero-search-button {
        height: 46px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    .hero-search {
        max-width: 340px;
        margin-top: 24px;
        padding: 6px 6px 6px 18px;
        gap: 10px;
    }

    .hero-search-input {
    font-size: 13px;          
    }

    .hero-search-button {
        height: 46px;
        padding: 0 20px;
    }
}

/* =========================================================
   GENERAL SECTIONS
========================================================= */

.home-section {
    padding: 120px 7%;
}

.section-heading p {
    margin-bottom: 15px;

    font-size: 12px;
    letter-spacing: 3px;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 70px);
    line-height: 1;
}


/* =========================================================
   LATEST POSTS
========================================================= */

.latest-posts {
    width: calc(100% - 80px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.latest-posts-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-label {
    display: block;
    margin-bottom: 20px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #777777;
}

.section-link {
    font-family: "Nunito", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #333333;
}


/* Latest posts grid */

.latest-posts-grid {
    display: flex;

    gap: 30px;

    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-snap-type: none !important;
    scrollbar-width: none;
    scroll-behavior: auto;
    cursor: grab;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    user-select: none;
    cursor: grab;
}

.latest-posts-grid.is-dragging {
    scroll-behavior: auto !important;
    scroll-snap-type: none !important;
    cursor: grabbing;
}

.latest-posts-slider .latest-posts-grid.is-dragging * {
    user-select: none;
    -webkit-user-select: none;
}

.latest-posts-grid::-webkit-scrollbar {
    display: none;
}


.latest-post {
    flex: 0 0 calc((100% - 60px) / 3);

    min-width: 0;
    scroll-snap-align: none !important;
    scroll-snap-align: start;
}


/* Latest post image */

.latest-post-image {
    display: block;

    overflow: hidden;

    aspect-ratio: 4 / 3;
    border-radius: 15px;
}

.latest-post-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.latest-post-image:hover img {
    transform: scale(1.03);
}


/* Latest post content */

.latest-post-content {
    padding-top: 20px;
}

.latest-post-category {
    font-family: "Nunito", sans-serif;
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #777777;
}

.latest-post h3 {
    margin: 9px 0 10px;

    font-family: "Merriweather", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.35;
}

.latest-post h3 a {
    color: #333333;
}

.latest-post p {
    margin: 0 0 15px;

    font-family: "Merriweather", Georgia, serif;
    font-size: 13px;
    line-height: 1.7;

    color: #666;
}


/* =========================================================
   TRAVEL MAP
========================================================= */

.travel-map {
    padding: 60px 40px 120px;
    background: #f5f1eb;
    box-sizing: border-box;
}

.travel-map-header {
    max-width: 1200px;
    margin: 0 auto 20px;
    text-align: left;
}

.travel-map-label {
    display: block;
    margin-bottom: 20px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #777777;
}

.travel-map-header h2 {
    font-family: "Merriweather", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    color: #333333;
}


/* =========================================================
   KRAJE
========================================================= */

.world-map-wrapper path {
    fill: #EBE6DE !important;
    stroke: #ffffff !important;
    stroke-width: 0.8;
    transition: fill 0.25s ease;
}

/* odwiedzone kraje */

.world-map-wrapper path.visited {
    fill: #A5CECA !important;
    stroke: #ffffff !important;
}

/* odwiedzony kraj po najechaniu */

.world-map-wrapper path.visited:hover {
    fill: #8FBCB7 !important;
    cursor: pointer;
}


/* =========================================================
   ZOOM
========================================================= */

.world-map-wrapper.is-zoomed svg {
    cursor: grab;
}

.world-map-wrapper.is-dragging svg {
    cursor: grabbing;
}


/* =========================================================
   MAP CONTROLS
========================================================= */

.map-controls {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;
}


/* =========================================================
   IKONKI ZOOM
========================================================= */

.map-controls button {
    width: auto;
    height: auto;

    padding: 2px;

    border: none;
    outline: none;

    background: transparent;

    color: #333333;

    font-family: Arial, sans-serif;

    font-size: 21px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.65;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}

.map-controls button:hover {
    opacity: 1;

    color: #333333;

    transform: scale(1.08);
}


/* =========================================================
   TOOLTIP
========================================================= */


#map-tooltip {
    position: fixed;
    display: none;
    z-index: 9999;

    padding: 4px 8px;

    background: #ffffff;
    color: #3d3732;

    border: none;
    border-radius: 30px;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.3px;
    line-height: 1.4;

    pointer-events: auto;
    white-space: nowrap;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

    transform: translate(12px, 12px);
}

/* =========================================================
   SINGLE POST
========================================================= */

.single-post {
    background: #ffffff;
}

.post-top {
    display: flex;
    align-items: stretch;

    width: 100%;
    height: 500px;
}

.post-hero {
    align-self: start;
}

.post-hero-image {
    width: 100%;
    object-fit: cover;
}

/* =========================================================
   HEADER WPISU
========================================================= */

.post-header {
    width: 100%;
    max-width: 650px;
    padding: 80px 10px 0px 80px;
    box-sizing: border-box;
    position: relative;
    text-align: left;
}

.post-category {
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #777777;
}

.post-title {
    max-width: 460px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.05;
    color: #333333;
}

.post-meta {
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    color: #777;
    letter-spacing: 0.5px;
}

.post-excerpt {
    max-width: 550px;
    font-family: "Merriweather", Georgia, serif;
    font-style: italic;
    font-weight: 100;
    font-size: 20px;
    line-height: 1.6;
    color: #5f554e;
}


/* =========================================================
   HERO WPISU
========================================================= */

.post-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.55 / 1;

    display: block;
    object-fit: cover;
    object-position: center center;

    clip-path: url(#organicPostShape);
}

.post-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.post-hero-clip {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* =========================================================
   TREŚĆ WPISU + SIDEBAR
========================================================= */

.post-body-layout {
    width: min(1500px, 90%);
    margin: 60px auto 0;

    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: clamp(40px, 5vw, 100px);

    align-items: start;
}

/* =========================================================
   LEWA KOLUMNA - TREŚĆ
========================================================= */

.post-content {
    max-width: 900px;

    margin: 0;

    padding: 0;

    font-family: "Nunito", sans-serif;
    font-size: 19px;
    line-height: 1.5;
    color: #38332f;
}


/* akapity */

.post-content p {
    margin: 0 0 30px;
}


/* nagłówki */

.post-content h2 {
    margin: 70px 0 25px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 32px;

    font-weight: 400;

    line-height: 1.25;

    color: #333333;
}


.post-content h3 {
    margin: 55px 0 20px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 24px;

    font-weight: 400;

    color: #333333;
}


/* zdjęcia w tekście */

.post-content img {
    width: 100%;
    height: auto;

    display: block;

    margin: 50px 0;
}


/* =========================================================
   PRAWA KOLUMNA
========================================================= */

.post-sidebar {
    width: 100%;
}


.post-sidebar-block {
    margin-bottom: 45px;
}


.post-sidebar-label {
    display: block;

    margin-bottom: 20px;

    font-family: "Nunito", sans-serif;

    font-size: 10px;

    letter-spacing: 2px;

    color: #777777;
}


.post-sidebar-category {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 30px;

    background: #f4f1ed;

    font-family: "Nunito", sans-serif;

    font-size: 13px;

    color: #3d3732;

    text-decoration: none;
}

/* =========================================================
   CHMURKA TAGÓW
========================================================= */

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.post-tag {
    display: inline-block;

    padding: 9px 15px;

    border-radius: 30px;

    background: #f5f1eb;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    line-height: 1;

    color: #333333;
    text-decoration: none;

    transition:
        background .2s ease,
        transform .2s ease;
}


.post-tag:hover {
    background: #ebe6de;
    transform: translateY(-1px);
}

/* =========================================================
   POLECANE WPISY
========================================================= */

.post-sidebar-item {
    display: block;
    margin-bottom: 15px;

}


.post-sidebar-image {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;

    overflow: hidden;

    border-radius: 15px;

    margin-bottom: 12px;
}

.post-sidebar-image-img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.post-sidebar-image:hover .post-sidebar-image-img {
    transform: scale(1.04);
}


.post-sidebar-item-content {
    min-width: 0;
}


.post-sidebar-title {
    font-family: "Merriweather", Georgia, serif;

    font-size: 14px;

    line-height: 1.45;

    color: #333333;

    text-decoration: none;
}


.post-sidebar-title:hover {
    color: #777777;
}


/* akapity */

.post-content p {
    margin: 0 0 30px;
}


/* nagłówki */

.post-content h2 {
    margin: 70px 0 25px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 32px;

    font-weight: 400;

    line-height: 1.25;

    color: #333333;
}


.post-content h3 {
    margin: 55px 0 20px;

    font-family: "Merriweather", Georgia, serif;

    font-size: 24px;

    font-weight: 400;

    color: #333333;
}


/* ZDJĘCIA W TEKŚCIE */

.post-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* POJEDYNCZY BLOK OBRAZKA */

.post-content figure.wp-block-image {
    margin: 30px 0;
}

/* PODPISY ZDJĘĆ */

.post-content figcaption {
    margin-top: -38px;
    margin-bottom: 0;
    font-family: "Merriweather", sans-serif;
    font-size: 10px;
    color: #ffffff;
    text-align: center;
}

/* CYTAT */

.post-content blockquote {
    margin: 55px 0;
    padding-left: 30px;
    border-left: 1px solid #b08b73;
    font-family: "Merriweather", Georgia, serif;
    font-size: 21px;
    font-style: italic;
    line-height: 1.6;
    color: #66584f;
}


/* linki */

.post-content a {
    color: #9f765f;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* listy */

.post-content ul,
.post-content ol {
    margin: 0 0 30px;

    padding-left: 25px;
}


/* =========================================================
   NAWIGACJA MIÄDZY WPISAMI
========================================================= */

.post-navigation {
    max-width: 1100px;

    margin: 110px auto 0;

    padding: 35px 30px 0;

    border-top: 1px solid #e8e3de;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}


.post-navigation a {
    font-family: "Nunito", sans-serif;

    font-size: 11px;

    letter-spacing: 0.8px;

    color: #3d3732;

    text-decoration: none;

    transition: color 0.2s ease;
}


.post-navigation a:hover {
    color: #9f765f;
}


.post-navigation-prev,
.post-navigation-next {
    max-width: 45%;
}


.post-navigation-next {
    text-align: right;
}

/* =========================================================
   INSTAGRAM
========================================================= */

.instagram-strip {
    width: 100%;
    padding: 100px 0 0;
    background: #ffffff;
}


/* Instagram Header */

.instagram-header {
    max-width: 1200px;
    margin: 0 auto 20px;
    display: flex;
    align-items: left;
    justify-content: space-between;
}


.instagram-label {
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2.5px;
    color: #777777;
}


.instagram-link {
    font-family: "Nunito", Georgia, serif;

    font-size: 15px;
    font-weight: 700;

    color: #333333;

    text-decoration: none;

    transition: color 0.2s ease;
}


.instagram-link:hover {
    color: #8fbcb7;
}


/* Instagram */

.instagram-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    width: 100%;

    text-decoration: none;
}


.instagram-photo {
    aspect-ratio: 4 / 5;

    overflow: hidden;
}


.instagram-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}


/* =========================================================
   HOVER
========================================================= */

.instagram-grid:hover .instagram-photo img {
    filter: brightness(0.88);
}


.instagram-photo:hover img {
    transform: scale(1.04);

    filter: brightness(1);
}

@media (max-width: 768px) {

    .instagram-strip {
        padding-top: 80px;
    }

    .instagram-header {
        padding: 0 25px;
        margin-bottom: 25px;
    }

    .instagram-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;

        gap: 0px;

        padding: 0 25px;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .instagram-grid::-webkit-scrollbar {
        display: none;
    }

    .instagram-photo {
        flex: 0 0 50vw;

        aspect-ratio: 4 / 5;

        scroll-snap-align: start;

        overflow: hidden;
    }

}

/* =========================================================
   MIEJSCA - MEGA MENU
========================================================= */

.places-menu-trigger {
    position: relative;

    border: 0;
    padding: 0;
    margin: 0;

    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;

    color: inherit;

    cursor: pointer;
}

/* =========================================================
   PRZYCIIEMNIENIE STRONY POD MENU
========================================================= */

.places-menu-backdrop {
    position: fixed;
    inset: 0;

    z-index: 0;

    background: rgba(25, 22, 19, 0.32);

    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .15s ease,
        visibility .15s ease;
}

.site-header.places-hover .places-menu-backdrop,
.site-header.inspirations-hover .places-menu-backdrop,
.site-header.nav-dim .places-menu-backdrop {
    opacity: 1;
    visibility: visible;
}
/* =========================================================
   AKTYWACJA — TYLKO HOME + CATEGORY
========================================================= */

.site-header.places-hover .places-menu-backdrop,
.site-header.inspirations-hover .places-menu-backdrop,
.site-header.nav-dim .places-menu-backdrop {
    opacity: 1;
    visibility: visible;
}
/* =========================================================
   ZAWARTOŚĆ HEADERA
========================================================= */

.site-header-inner {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 25px;
}


/* LOGO */
.site-logo {
    position: relative;
    z-index: 3;

    display: block;
}

.main-site-logo-image {
    width: 230px;
    height: auto;
}


/* =========================================================
   MEGA MENU
========================================================= */

.places-mega-menu {
    position: absolute;

    top: calc(100% + 10px);
    left: var(--places-menu-left);

    width: min(680px, calc(100% - 80px));

    background: #ffffff;

    border-radius: 15px;

    overflow: hidden;

    z-index: 4;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(0, 0);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .12);

transition:
        opacity 0.0s ease,
        transform 0.0s ease,
        visibility 0.0s ease;
}

.site-header.places-hover .places-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);

    z-index: 105;
}

/* =========================================================
   UKŁAD MENU
========================================================= */

.places-menu-inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 0;
}


/* =========================================================
   LEWA KOLUMNA
========================================================= */

.places-continents {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 18px 14px;

    background: #ffffff;
}

/* krótki separator zamiast linii na całość wysokośco */
.places-continents::after {
    content: "";

    position: absolute;
    top: 22px;
    right: 0;
    bottom: 22px;

    width: 1px;

    background: #ebe5df;
}


.continent-button {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border: 0;
    border-radius: 15px;

    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;

    color: #333333;

    text-align: left;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}


.continent-button:hover {
    background: #f5f1eb;
}


.continent-button.is-active {
    background: #f5f1eb;
}

.continent-arrow {
    /* ukrywa starÄ strzaĹkÄ z tekstu */
    font-size: 0;

    flex-shrink: 0;

    width: 9px;
    height: 9px;

    /* szewron ">" narysowany dwoma bokami kwadratu */
    border-top: 2px solid #2b2623;
    border-right: 2px solid #2b2623;
    border-radius: 1px;

    transform: rotate(45deg);

    /* lekkie przesuniÄcie, Ĺźeby znak wizualnie siedziaĹ na Ĺrodku */
    margin-right: 6px;

    opacity: 0;

    transition: opacity .2s ease;
}


.continent-button.is-active .continent-arrow {
    opacity: 1;
}


/* =========================================================
   PRAWA CZĘŚĆ
========================================================= */

.places-countries {
    padding: 22px 28px 28px;
}


.continent-panel {
    display: none;
}


.continent-panel.is-active {
    display: block;
}

.continent-panel-header,
.places-countries h3 {
    display: none;
}



/* =========================================================
   KRAJE
========================================================= */

.countries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.country-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 8px 14px;

    border-radius: 999px;

    background: #f5f1eb ;

    color: #333333;

    text-decoration: none;
    text-align: center;

    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background .2s ease,
        transform .2s ease;
}


.country-link:hover {
    background: #ebe6de;

    transform: translateY(-1px);
}


.no-countries {
    margin: 0;

    font-family: "Nunito", sans-serif;
    font-size: 13px;

    color: #888;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .places-mega-menu {
        width: calc(100% - 24px);

        top: 100%;
        left: 12px;
    }

}

@media (max-width: 768px) {

    .places-menu-inner {
        display: block;
    }


    /* kontynenty jako przewijany rzÄd */
    .places-continents {
        flex-direction: row;
        gap: 8px;

        padding: 16px 12px;

        overflow-x: auto;

        border-bottom: 1px solid #ebe5df;
    }

    .places-continents::after {
        display: none;
    }


    .continent-button {
        width: auto;

        padding: 12px 18px;

        border-radius: 999px;

        background: #f5f3f0;

        white-space: nowrap;
    }

    .continent-button.is-active {
        background: #ebe4dc;
    }

    .continent-button.is-active::after,
    .continent-arrow {
        display: none;
    }


    .places-countries {
        padding: 20px 16px 24px;
    }


    .countries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 50px 7%;

    font-family: "Nunito", sans-serif;
    font-size: 14px;
}

/* =========================================================
   PRZESUNIĘCIE STRONY POD PASEK ADMINISTRACYJNY WORDPRESA
========================================================= */

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Poniżej 600 px pasek admina nie jest przyklejony (znika przy scrollu),
   więc header musi przylegać do samej góry */
@media screen and (max-width: 768px) {
    body.admin-bar .site-header {
        top: 0;
    }
}

/* =========================================================
   NAWIGACJA - ANIMACJA NAJECHANIA
========================================================= */

.site-navigation > a,
.site-navigation > .places-menu-trigger,
.site-navigation > .inspirations-menu-trigger {
    position: relative;

    transition: color .3s ease;
}

/* =========================================================
   AKTYWNA POZYCJA MENU
   Aktywna również wtedy, gdy kursor jest nad rozwiniętym menu
========================================================= */

.site-navigation > a:hover,
.site-navigation > .places-menu-trigger:hover,
.site-navigation > .inspirations-menu-trigger:hover,

.site-header.places-hover .places-menu-trigger,
.site-header.inspirations-hover .inspirations-menu-trigger,

.site-header:has(.places-mega-menu:hover) .places-menu-trigger,
.site-header:has(.inspirations-mega-menu:hover) .inspirations-menu-trigger,

.site-navigation > a:focus-visible,
.site-navigation > .places-menu-trigger:focus-visible,
.site-navigation > .inspirations-menu-trigger:focus-visible {
    opacity: 1;
}
/* =========================================================
   MENU — WSPÓLNY HOVER
========================================================= */

.site-navigation > a,
.site-navigation > .places-menu-trigger,
.site-navigation > .inspirations-menu-trigger {
    position: relative;
}


/* wspólne przezroczyste tło */
.site-navigation > a::after,
.site-navigation > .places-menu-trigger::after,
.site-navigation > .inspirations-menu-trigger::after {

    content: "";

    position: absolute;

    top: -8px;
    bottom: -8px;
    left: -14px;
    right: -14px;

    border-radius: 999px;
    -webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);

    background: rgba(255, 255, 255, 0.10);

    opacity: 0;

    pointer-events: none;

    transition: opacity .25s ease;

    z-index: -1;
}


/* =========================================================
   AKTYWNE TŁO KAPSUŁY
   Pozostaje aktywne podczas przejścia do mega menu
========================================================= */

.site-navigation > a:hover::after,
.site-navigation > .places-menu-trigger:hover::after,
.site-navigation > .inspirations-menu-trigger:hover::after,

.site-header:has(.places-mega-menu:hover)
    .places-menu-trigger::after,

.site-header:has(.inspirations-mega-menu:hover)
    .inspirations-menu-trigger::after {

    opacity: 1;
}
/* =========================================================
   STRZAŁKI - GŁÓWNA NAWIGACJA
========================================================= */

.site-navigation .places-menu-trigger,
.site-navigation .inspirations-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nav-arrow {
    display: inline-block;

    width: 7px;
    height: 7px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    border-radius: 1px;

    transform: rotate(45deg) translateY(-2px);

    flex-shrink: 0;
}

/* =========================================================
   NAWIGACJA — POWIĘKSZONY OBSZAR NAJECHANIA
========================================================= */

.places-menu-trigger::before,
.inspirations-menu-trigger::before,
.site-navigation > .nav-link::before {
    content: "";

    position: absolute;

    top: -40px;
    bottom: -40px;
    left: -16px;
    right: -16px;

    pointer-events: auto;

}

/* =========================================================
   COUNTRY PAGE
========================================================= */

.country-page {
    background: #fff;
}

/* HERO */
.country-hero {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.country-hero-image,
.country-hero-placeholder,
.country-hero-overlay {
    position: absolute;
    inset: 0;
}

.country-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.country-hero-placeholder {
    background: #ded8d1;
}

.country-hero-overlay {
    background:

        /* GÓRA — jak wcześniej */
        linear-gradient(
            to bottom,
            rgba(20, 17, 14, .50) 0%,
            rgba(20, 17, 14, .25) 25%,
            rgba(20, 17, 14, .08) 45%,
            rgba(20, 17, 14, 0) 58%
        ),

        /* DÓŁ — ciemniejszy, szczególnie po lewej */
        linear-gradient(
            to top,
            rgba(20, 17, 14, .58) 0%,
            rgba(20, 17, 14, .42) 18%,
            rgba(20, 17, 14, .18) 38%,
            rgba(20, 17, 14, 0) 58%
        ),

        /* LEWY DÓŁ — dodatkowa czytelność tekstu */
        linear-gradient(
            100deg,
            rgba(20, 17, 14, .35) 0%,
            rgba(20, 17, 14, .20) 28%,
            rgba(20, 17, 14, 0) 55%
        );

}

.country-hero-content {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    padding: 0 0 120px;
    color: #ffffff;
    text-align: left;
}

.country-hero-label {
    display: block;
    margin-bottom: 12px;
    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,.92);
}

.country-hero h1 {
    margin: 0;
    font-family: "Nunito", Georgia, serif;
    font-size: 70px;
    font-weight: 700;
    line-height: .98;
    letter-spacing: 0px;
}

.country-hero-description {
    max-width: 600px;
    margin-top: 24px;
    font-family: "Nunito", Georgia, serif;
    font-weight: 200;
    font-size: 18px;
    line-height: 24px;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-wrap: pretty;
}

.country-hero-description p {
    margin: 0;
}

.country-hero-description p + p {
    margin-top: 10px;
}

/* POSTS */
.country-posts {
    width: min(1400px, 86%);
    margin: 0 auto;
    padding: 30px 0 100px;
}

.country-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 25px;
}

.country-post {
    min-width: 0;
}

.country-post-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    color: #ffffff;
    background: #f2efeb;
    text-decoration: none;
    border-radius: 15px;
}

.country-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.country-post-card:hover .country-post-image img {
    transform: scale(1.04);
}

.country-post-content {
    padding-top: 18px;
}

/* FALLBACK ARCHIVE */
.category-archive {
    padding: 150px 40px 120px;
    background: #fff;
}

.category-archive-header {
    width: min(760px, 100%);
    margin: 0 auto 60px;
    text-align: center;
}

.category-archive-label {
    display: block;
    margin-bottom: 12px;
    font-family: "Nunito", sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #777;
}

.category-archive-header h1 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 400;
}

.category-archive-description {
    margin-top: 25px;
    font-family: "Merriweather", Georgia, serif;
    font-size: 16px;
    line-height: 1.8;
    color: #665f59;
}

.category-posts {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 28px;
}

.category-post-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 18px;
}

.category-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-post-card-content {
    padding-top: 18px;
}

.category-post-card-date {
    font-family: "Nunito", sans-serif;
    font-size: 10px;
    color: #8d847d;
    letter-spacing: 1px;
}

.category-post-card-content h2 {
    margin: 8px 0 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

/* =========================================================
   MIEJSCA - STRONA WSZYSTKICH WPISÓW
========================================================= */


/* =========================================================
   INTRO
========================================================= */

.places-page {
    background: #f8f7f5;
    color: #292725;
}


.places-intro {
    padding: 100px 40px 20px;
    background: #f8f7f5;
}


.places-intro-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}


/* =========================================================
   MIEJSCA - MINIMALISTYCZNY FILTR
========================================================= */

.places-filters-section {
    padding: 0 40px 65px;
}

.places-filters-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.places-filter {
    text-align: center;
}


/* =========================================================
   KONTYNENTY
========================================================= */

.places-filter-continents {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.places-filter-continent-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333333;

    cursor: pointer;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.places-filter-continent-button:hover {
    color: #f5f1eb  ;
}

.places-filter-continent-button.is-active {
    color: #f5f1eb  ;
}

.places-filter-continent-button::after {
    content: "";
    display: inline-block;

    width: 6px;
    height: 6px;

    margin-left: 8px;

    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;

    transform: rotate(45deg) translateY(-2px);

    transition: transform 0.2s ease;
}

.places-filter-continent-button.is-active::after {
    transform: rotate(-135deg) translate(-1px, -2px);
}

/* =========================================================
   KRAJE
========================================================= */

.places-filter-countries {
    display: none;

    justify-content: center;
    flex-wrap: wrap;

    gap: 7px 18px;

    margin-top: 22px;
}

.places-filter-countries.is-visible {
    display: flex;
}

.places-country-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 400;

    color: #777;

    cursor: pointer;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.places-country-button:hover {
    color: #9f765f;
}

.places-country-button.is-active {
    color: #b08b73;
    font-weight: 500;
    position: relative;
}

.places-country-button.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 1px;
    background: #b08b73;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .places-filters-section {
        padding: 0 20px 50px;
    }

    .places-filter-continents {
        gap: 20px;
    }

    .places-filter-continent-button {
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .places-filter-countries {
        gap: 7px 14px;
        margin-top: 18px;
    }

    .places-country-button {
        font-size: 11px;
    }

}

/* =========================================================
   RESULTS HEADER
========================================================= */

.places-results {
    padding: 0 40px 120px;
}


.places-results-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}


.places-results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    margin-bottom: 38px;
}


.places-results-header h2 {
    margin: 0;

    font-size: 30px;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: 0.5px;
}


.places-results-count {
    font-size: 13px;
    color: #8a8580;
}


/* =========================================================
   GRID
========================================================= */

.places-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 55px 28px;
}


/* =========================================================
   CARD
========================================================= */

.place-card {
    min-width: 0;

    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.place-card.is-hidden {
    display: none;
}


.place-card-link {
    display: block;

    color: inherit;
    text-decoration: none;
}


/* =========================================================
   IMAGE
========================================================= */

.place-card-image {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #e9e6e2;

    border-radius: 10px !important;
}


.place-card-image img {
    display: block;

    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 0.7s cubic-bezier(.2,.7,.2,1);
}


.place-card-link:hover .place-card-image img {
    transform: scale(1.035);
}


.place-card-image-placeholder {
    width: 100%;
    height: 100%;

    background: #e5e1dc;
}


/* =========================================================
   NAPIS NA ZDJĘCIU
========================================================= */

.place-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 80px 24px 24px;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(0, 0, 0, 0) 100%
    );

    border-radius: 0 0 10px 10px;

    pointer-events: none;
}

.place-card-title {
    margin: 0;

    font-family: "Nunito", sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;

    color: #fff;
}

/* =========================================================
   NO RESULTS
========================================================= */

.places-no-results {
    padding: 80px 0;

    text-align: center;

    color: #77716c;
}


.places-no-results p {
    margin: 0;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .places-intro {
        padding: 110px 25px 75px;
    }


    .places-filters-section {
        padding: 0 25px 55px;
    }


    .places-results {
        padding: 0 25px 90px;
    }


    .places-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 45px 22px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 768px) {

    .places-intro {
        padding: 90px 20px 65px;
    }


    .places-intro h1 {
        font-size: 48px;
    }


    .places-intro p {
        margin-top: 28px;

        font-size: 16px;
        line-height: 1.6;
    }


    .places-filters-section {
        padding: 0 20px 45px;
    }


    .places-filters-inner {
        padding: 28px 0;
    }


    .places-filter-group + .places-filter-group {
        margin-top: 25px;
    }


    .places-filter-button,
    .places-country-button {
        padding: 9px 15px;

        font-size: 13px;
    }


    .places-results {
        padding: 0 20px 75px;
    }


    .places-results-header {
        margin-bottom: 25px;
    }


    .places-results-header h2 {
        font-size: 25px;
    }


    .places-results-count {
        font-size: 12px;
    }


    .places-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .place-card-title {
        font-size: 22px;
    }

}
/* =========================================================
   INSPIRACJE - PRZYCISK + MEGA MENU
========================================================= */

.inspirations-menu-trigger {
    position: relative;

    border: 0 !important;
    outline: none;
    box-shadow: none;

    padding: 0;
    margin: 0;

    background: transparent !important;

    font-family: "Nunito", sans-serif;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;

    color: inherit;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}

.inspirations-menu-trigger:hover,
.inspirations-menu-trigger:focus,
.inspirations-menu-trigger:active {
    border: 0 !important;
    outline: none;
    box-shadow: none;
    background: transparent !important;
}


/* =========================================================
   GŁÓWNE MENU
========================================================= */

.inspirations-mega-menu {
    position: absolute;

    top: calc(100% + 10px);
      left: var(--inspirations-menu-left);

    width: min(400px, calc(100% - 80px));

    background: #ffffff;
    border-radius: 15px;

    overflow: hidden;
    z-index: 105;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 0);

    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);

    transition:
        opacity 0.0s ease,
        visibility 0.0s ease;
}


/* =========================================================
   OTWARCIE PO NAJECHANIU
========================================================= */

.site-header.inspirations-hover .inspirations-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate(-50%, 0);

    z-index: 105;
}

/* =========================================================
   UKŁAD
========================================================= */

.inspirations-menu-inner {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 0;
}

.inspirations-menu-inner > .inspiration-category,
.inspirations-menu-inner > .inspiration-category-link {
    position: relative;
}

.inspirations-menu-inner::before {
    content: "";

    position: absolute;

    top: 22px;
    bottom: 22px;

    left: 180px;

    width: 1px;

    background: #ebe5df;

    z-index: 2;
}

/* =========================================================
   KATEGORIE
========================================================= */

.inspiration-category {
    position: relative;

    grid-column: 1;

    width: 100%;

    padding: 0;
    margin: 0;

    border: 0;
}

/* =========================================================
   WSPÓLNE USTAWIENIA GŁÓWNYCH POZYCJI
========================================================= */

.inspiration-category-toggle,
.inspiration-main-link,
.inspiration-category-link {
    height: 35px;
    box-sizing: border-box;

    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    grid-column: 1;
    color: #2b2623;
}


/* =========================================================
   W DRODZE / NATURA
========================================================= */

.inspiration-category-toggle {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 16px 18px;

    border: 0;
    border-radius: 15px;

    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;

    color: #333333;

    text-align: left;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.inspiration-category-toggle:hover {
    background: #f5f1eb;
}

/* =========================================================
   GŁÓWNY LINK
========================================================= */

.inspiration-main-link {
    display: flex;
    align-items: center;

    flex: 1;

    width: 100%;

    margin: 0;
    padding: 0 !important;

    text-decoration: none;

    cursor: pointer;
}


/* =========================================================
   STRZAŁKA
========================================================= */

.inspiration-arrow-toggle {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}




/* =========================================================
   PODKATEGORIE
========================================================= */

.inspiration-subcategories {
    position: absolute;

    top: 0;
    left: 180px;

    width: calc(100% - 180px);

    box-sizing: border-box;

    display: none;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;

    margin: 0;
    padding: 22px 28px 28px;

    gap: 10px;

    z-index: 20;
}

.inspiration-category:hover .inspiration-category-toggle {
    background: #f3f0ed;
}

.inspiration-category:hover .inspiration-subcategories,
.inspiration-subcategories:hover {
    display: grid;
}


.inspiration-subcategories a {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: fit-content;
    min-height: 46px;

    padding: 8px 14px;

    border-radius: 999px;

    background: #f5f3f0;

    color: #2b2623;

    text-decoration: none;
    text-align: center;

    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background .2s ease,
        transform .2s ease;
}


.inspiration-subcategories a:hover {
    background: #ece5dd;

    transform: translateY(-1px);
}

/* =========================================================
   MIASTA / HIKING / KUCHNIA / KULTURA
========================================================= */

.inspiration-category-link {
    display: flex;
    align-items: center;

    width: 100%;

    margin: 0;
    padding: 0 12px;

    border: 0;
    border-radius: 10px;

    text-decoration: none;

    transition:
        color .2s ease,
        background .2s ease;
}


.inspiration-category-link:hover {
    color: #2b2623;

    background: #f3f0ed;
}

/* =========================================================
   MIEJSCA I KRAJE JAKO KARTY ZE ZDJĘCIAMI
========================================================= */

.places-countries-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.places-countries-grid .place-country-card {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
}

.places-countries-grid .place-country-card:nth-child(1) {
    grid-column: span 7;
}

.places-countries-grid .place-country-card:nth-child(2) {
    grid-column: span 5;
}

.places-countries-grid .place-country-card:nth-child(3) {
    grid-column: span 4;
}

.places-countries-grid .place-country-card:nth-child(4) {
    grid-column: span 3;
}

.places-countries-grid .place-country-card:nth-child(5) {
    grid-column: span 5;
}

.places-countries-grid .place-country-card:nth-child(n+6) {
    grid-column: span 4;
}


.place-country-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 22px;
    background: #e9e6e2;
}

.place-country-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.42),
        rgba(0, 0, 0, 0) 55%
    );
    pointer-events: none;
}


.place-country-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}


.places-countries-grid .place-country-card:hover
.place-country-image img {
    transform: scale(1.04);
}


.place-country-name {
    position: absolute;
    left: 24px;
    bottom: 20px;
    z-index: 2;

    margin: 0;

    color: #ffffff;
    font-family: inherit;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 500;

    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}


/* AKTYWNY KRAJ */

.places-countries-grid .place-country-card.is-active
.place-country-image::after {
    background:
        linear-gradient(
            to top,
            rgba(176, 139, 115, 0.65),
            rgba(176, 139, 115, 0.12)
        );
}


/* BRAK ZDJĘCIA */

.places-countries-grid .place-country-card:not(:has(.place-country-image img))
.place-country-image {
    background: #dedbd7;
}


/* TABLET */

@media (max-width: 900px) {

    .places-countries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .places-countries-grid .place-country-card {
        grid-column: span 1 !important;
    }

    .place-country-image {
        height: 260px;
    }

}


/* TELEFON */

@media (max-width: 768px) {

    .places-countries-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .places-countries-grid .place-country-card {
        grid-column: span 1 !important;
    }

    .place-country-image {
        height: 240px;
        border-radius: 18px;
    }

    .place-country-name {
        left: 18px;
        bottom: 16px;
        font-size: 22px;
    }

}

.place-card-subtitle {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;
    color: white;
    font-family: 'Merriweather';
}

.places-intro-text {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}

/* =========================================================
   STRONY TEMATYCZNE
========================================================= */

.theme-page {
    width: 100%;

    background: #fff;
    color: #292725;

    padding-bottom: 120px;
}


/* =========================================================
   HERO
========================================================= */

.theme-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    background-color: #333333;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 1;
}


/* =========================================================
   PRZYCIEMNIENIE
========================================================= */

.theme-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

background:

    /* GÓRA */
    linear-gradient(
        to bottom,
        rgba(20, 17, 14, .50) 0%,
        rgba(20, 17, 14, .25) 25%,
        rgba(20, 17, 14, .08) 45%,
        rgba(20, 17, 14, 0) 58%
    ),

    /* DÓŁ */
    linear-gradient(
        to top,
        rgba(20, 17, 14, .58) 0%,
        rgba(20, 17, 14, .42) 18%,
        rgba(20, 17, 14, .18) 38%,
        rgba(20, 17, 14, 0) 58%
    ),

    /* LEWY DÓŁ — pod tekstem */
    linear-gradient(
        100deg,
        rgba(20, 17, 14, .35) 0%,
        rgba(20, 17, 14, .20) 28%,
        rgba(20, 17, 14, 0) 55%
    );
}


/* =========================================================
   TEKST HERO
========================================================= */

.theme-hero-content {
    position: absolute;

    left: 7%;
    bottom: 10%;

    z-index: 2;

    max-width: 760px;

    color: #fff;
}


.theme-hero-label {
    display: block;

    margin-bottom: 18px;

    font-family: "Nunito", sans-serif;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
    line-height: 1.4;

    text-transform: uppercase;

    color: rgba(255, 255, 255, .9);
}


.theme-hero-content h1 {
    margin: 0;
    font-family: "Nunito", Georgia, serif;
    font-size: 70px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0px;
    color: #ffffff;
}


/* =========================================================
   FILTRY
========================================================= */

.theme-filters {
    width: min(1200px, 86%);
    margin: 0 auto;
    padding: 40px 0 10px;
}


.theme-filters-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 3px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

}


.theme-filter {
    display: inline-flex;
    margin-left: calc(var(--filter-depth, 0) * 12px);
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 0;
    border-radius: 30px;
    background: #f5f1eb;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #333333;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
    transition:
    background .2s ease,
    transform .2s ease;
}

.theme-filter:hover {
    position: relative;
    z-index: 5;
    background: #ebe6de;
    transform: translateY(-1px);
}


.theme-filter.is-active {
    background: #333333;
    color: #ffffff;
}

.theme-filters-inner::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   WPISY
========================================================= */

.theme-posts {
    width: min(1400px, 86%);
    margin: 0 auto;
    padding: 25px 0 100px;
}

.theme-posts-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px 25px;
}


.theme-post {
    min-width: 0;
}


/* =========================================================
   ZDJĘCIA WPISÓW
========================================================= */

.theme-post-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    color: #ffffff;
    background: #f2efeb;
    text-decoration: none;
    border-radius: 15px;
}


.theme-post-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 15px;

    transition: transform 0.5s ease;
}


.theme-post-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   TREŚĆ WPISÓW
========================================================= */

.theme-post-content {
    padding-top: 18px;
}


.theme-post-category {
    display: block;

    margin-bottom: 3px;

    font-family: "Nunito", sans-serif;

    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    color: #777777;
}


/* =========================================================
   TELEFON I TABLET
========================================================= */

@media (max-width: 1200px) {
    

.theme-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .theme-filters {
        width: calc(100% - 40px);
        padding: 40px 0 10px;
    }


    .theme-filters-inner {
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }


    .theme-filter {
        padding: 8px 13px;
        font-size: 13px;
                transform: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
        .theme-filter:hover {
        background: #f5f1eb;
        transform: none;
    }
    
        .theme-filter.is-active,
    .theme-filter.is-active:hover {
        background: #333333;
        color: #ffffff;
        transform: none;
    }


.theme-posts {
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 25px 0 80px;
}
}


@media (max-width: 768px) {

    .theme-page {
        padding-bottom: 40px;
    }


    .theme-hero {
        height: 35vh;
        min-height: 350px;

        /*
         * Fixed background na telefonach bywa
         * nieobsĹugiwany poprawnie.
         */
        background-attachment: scroll;
    }


    .theme-hero-content {
        left: 25px;
        right: 25px;
        bottom: 45px;

        max-width: none;
    }


    .theme-hero-label {
        margin-bottom: 14px;

        font-size: 9px;
        letter-spacing: 2.5px;
    }


    .theme-hero-content h1 {
        font-size: 40px;
        letter-spacing: 0.2px;
    }


    .theme-filters {
        width: calc(100% - 40px);
        padding: 40px 0 10px;
    }


    .theme-filters-inner {
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }


    .theme-filter {
        padding: 8px 13px;
        font-size: 13px;
                transform: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
        .theme-filter:hover {
        background: #f5f1eb;
        transform: none;
    }
    
        .theme-filter.is-active,
    .theme-filter.is-active:hover {
        background: #333333;
        color: #ffffff;
        transform: none;
    }


.theme-posts {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 25px 0 80px;
}

.theme-posts-grid {
    grid-template-columns: 1fr;
    gap: 25px 25px;
}


    .theme-post-content {
        padding-top: 15px;
    }


    .theme-post h2 {
        font-size: 20px;
    }

}

@media (max-width: 1000px) {

    .country-hero-content {
        width: calc(100% - 50px);
        padding-bottom: 60px;
    }

    .country-posts,
    .category-posts {
        width: calc(100% - 50px);
    }

    .country-posts-grid,
    .category-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .country-intro {
        padding: 55px 25px 20px;
    }
    
    .country-posts,
    .category-posts {
        width: calc(100% - 40px);
        padding-bottom: 80px;
    }

    .country-posts-grid,
    .category-posts-grid {
        grid-template-columns: 1fr;
    }

    .country-posts-header h2 {
        font-size: 28px;
    }
}

/* =========================================================
   STRONY TAGÓW
========================================================= */

.tag-page {
    width: 100%;

    background: #fff;

    padding-bottom: 120px;
}


/* =========================================================
   NAGŁÓWEK TAGU
========================================================= */

.tag-header {
    width: min(1200px, 86%);
    margin: 0 auto;
    padding: 150px 0 55px;
    text-align: left;
}


.tag-label {
    display: block;

    margin-bottom: 12px;

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 500;

    letter-spacing: 2.5px;
    line-height: 1;

    text-transform: uppercase;

    color: #9f765f;
}


.tag-header h1 {
    margin: 0;

    font-family: "Merriweather", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 1.2;
    letter-spacing: 0.5px;

    color: #333333;
}


.tag-count {
    display: block;

    margin-top: 12px;

    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 400;

    letter-spacing: .3px;

    color: #8a8580;
}

/* =========================================================
   KRAJE
========================================================= */


.tag-countries {
    width: min(1200px, 86%);
    margin: 0 auto;
    padding: 0px 0 30px;
}

.tag-countries-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tag-country {
    display: inline-flex;
    margin-left: calc(var(--filter-depth, 0) * 12px);
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 0;
    border-radius: 30px;
    background: #f5f1eb;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #333333;
    cursor: pointer;
    flex: 0 0 auto;
    white-space: nowrap;
}
 
 .tag-country:hover {
    background: #ebe6de;
    transform: translateY(-1px);
 }


.tag-country.is-active {
    background: #333333;
    color: #ffffff;
}

.theme-filters-inner::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   WPISY
========================================================= */

.tag-posts {
    width: min(1200px, 86%);
    margin: 0 auto;
    padding: 0px 0 100px;
}

.tag-posts-grid {
    display: grid;
    grid-template-columns:
    repeat(3, minmax(0, 1fr));
    gap: 25px 25px;
}

.tag-post {
    min-width: 0;
}


/* =========================================================
   ZDJĘCIA
========================================================= */

.tag-post-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f2efeb;
    border-radius: 15px;
}

.tag-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.tag-post:hover .tag-post-image img {
    transform: scale(1.03);
}

/* =========================================================
   TREŚĆ WPISU
========================================================= */

.tag-post-content {
    padding-top: 18px;
}

.tag-post-category {
    display: block;
    margin-bottom: 3px;
    font-family: "Nunito", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #777777;
}

.tag-post h2 {
    margin: 0;
    font-family: "Merriweather", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.4;
    color: #333333;
}

.tag-post h2 a {
    color: inherit;
}

.tag-post h2 a:hover {
    color: #9f765f;
}


/* =========================================================
   BRAK WPISÓW
========================================================= */

.tag-empty {
    font-family: "Merriweather", Georgia, serif;
    font-size: 15px;
    line-height: 1.7;
    color: #888;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {
    
        .tag-countries {
        width: calc(100% - 50px);
}

.tag-countries-inner {
        gap: 8px;
    
}

.tag-country {
    
        padding: 8px 13px;
        font-size: 13px;
                transform: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
}

    .tag-header {
        width: calc(100% - 50px);
        padding: 130px 0 60px;
    }


    .tag-posts {
        width: calc(100% - 50px);
    
    }

    .tag-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 25px;
    }
    
 
 .tag-country:hover {
        background: #f5f1eb;
        transform: none;
 }


.tag-country.is-active {
        background: #333333;
        color: #ffffff;
        transform: none;
}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
    
.tag-countries {
    width: calc(100% - 40px);
    margin: 0 auto;
    overflow: hidden;
}

    .tag-page {
        padding-bottom: 40px;
    }


    .tag-header {
        width: calc(100% - 40px);

        padding: 110px 0 50px;
    }


    .tag-header h1 {
        font-size: 32px;
    }


.tag-posts {
    width: calc(100% - 40px);

    }


.tag-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px 25px;
    }
    
    
.tag-countries-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;

    width: 100%;
    min-width: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.tag-countries-inner::-webkit-scrollbar {
    display: none;
}

.tag-country {
        padding: 8px 13px;
        font-size: 13px;
                transform: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
}

.tag-country:hover {
    background: #f5f1eb;
    transform: none;
 }


.tag-country.is-active {
    background: #333333;
    color: #ffffff;
    transform: none;
}

}

/* =========================================================
   SINGLE POST - RESPONSIVE
========================================================= */

/* DUŻE EKRANY + TABLET */

.post-top {
    display: flex;
    align-items: stretch;
    width: 100%;

    height: clamp(500px, 32vw, 500px);
}

.post-copy {
    flex: 1 1 50%;
    width: 50%;
    max-width: 600px;

    height: 100%;

    padding: 0 10px 0 clamp(40px, 5vw, 80px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-sizing: border-box;
}


.post-header {
    width: 100%;
    max-width: none;

    height: auto;

    padding: 0;

    box-sizing: border-box;
}

.post-hero {
    flex: 1 1 50%;
    width: 50%;
    height: 100%;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.post-hero picture {
    display: block;
    width: 100%;
    height: 100%;
}

.post-hero-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center center;

    clip-path: url(#organicPostShape);
}

.post-title {
    max-width: 500px;

    font-size: clamp(38px, 3.2vw, 50px);
    line-height: 1.05;
}

.post-excerpt {
    max-width: 550px;

    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.6;

    margin-top: clamp(20px, 2vw, 30px);
}

/* =========================================================
   DESKTOP — POWYŻEJ 900 PX
   ========================================================= */

.post-top {
    display: flex;
    align-items: flex-start;

    width: 100%;
    height: 500px;
}

.post-copy {
    width: 50%;
    height: 500px;

    display: flex;
    flex-direction: column;
}

.post-header {
    flex: 0 0 500px;

    width: 100%;
    max-width: 600px;

    padding: 0 10px 0 clamp(40px, 5vw, 80px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-sizing: border-box;
}

.post-hero {
    flex: 0 0 50%;

    width: 50%;
    height: 500px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

.post-hero-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    clip-path: url(#organicPostShape);
}

.post-excerpt {
    max-width: 550px;

    margin-top: 20px;

    font-family: "Merriweather", Georgia, serif;
    font-style: italic;
    font-weight: 100;

    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.6;

    color: #5f554e;
}

/* =========================================================
   TABLET + TELEFON — DO 1000 PX
========================================================= */

@media (max-width: 1000px) {

    .post-top {
        display: flex;
        flex-direction: column;

        width: 100%;
        height: auto;
    }


    /* -----------------------------------------
       HERO
    ----------------------------------------- */

    .post-hero {
        order: 1;

        flex: none;

        position: relative;

        width: 100%;
        height: clamp(520px, 75vw, 740px);

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }
    
    .post-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.18) 35%,
        rgba(0, 0, 0, 0) 70%
    );

    clip-path: url(#organicPostShapeMobile);
}

    .post-hero-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;

        clip-path: url(#organicPostShapeMobile);
    }


    /* -----------------------------------------
       HEADER — TYTUŁ NA ZDJĘCIU
    ----------------------------------------- */

    .post-header {
        position: absolute;

        top: 0;
        left: 0;

        z-index: 2;

        width: 100%;
        height: clamp(520px, 75vw, 740px);

        max-width: none;

        padding: 0 40px 40px;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        box-sizing: border-box;

        pointer-events: none;

    }


    /* Kategoria — nie pokazujemy na zdjęciu */

    .post-category {
        display: none;
    }


    /* Tytuł */

    .post-title {
        max-width: 700px;

        margin: 0;

        font-size: clamp(36px, 6vw, 48px);
        line-height: 1.05;

        color: #ffffff;
    }


    /* Data — również nie pokazujemy na zdjęciu */

    .post-meta {
        display: none;
    }


    /* -----------------------------------------
       ZAJAWKA — NORMALNY PRZEPŁYW
    ----------------------------------------- */

    .post-excerpt {
        order: 2;

        position: static;

        width: calc(100% - 80px);
        max-width: 650px;

        margin: 45px auto 0;

        font-size: clamp(17px, 2.5vw, 21px);
        line-height: 1.55;

        color: #5f554e;
    }


    /* -----------------------------------------
       TREŚĆ + SIDEBAR
    ----------------------------------------- */

    .post-body-layout {
        width: 88%;

        margin-top: 60px;

        grid-template-columns: 1fr;
        gap: 70px;
    }

    .post-content {
        max-width: none;
    }

    .post-sidebar {
        max-width: 600px;
    }
}

/* =========================================================
   OKNO WYSZUKIWANIA (HERO)
========================================================= */

.sm {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .2s;
    
}

.sm.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(25, 22, 19, .45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);

    opacity: 0;
    transition: opacity 0.0s ease;
}

.sm.is-open .sm-backdrop {
    opacity: 1;
}

.sm-panel {
    position: relative;

    width: min(1300px, 88vw);
    height: min(900px, 90vh);

    display: grid;
    grid-template-columns: 300px 1fr;

    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(14px) scale(.985);
    transition: transform .22s ease, opacity .18s ease;
}

.sm.is-open .sm-panel {
    transform: none;
        opacity: 1;
}


/* LEWA KOLUMNA */

.sm-sidebar {
    padding: 24px 22px 30px;
    background: #f5f1eb;
}

.sm-search {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 18px;
    height: 52px;

    background: #ffffff;
    border-radius: 15px;
    color: #8a8580;
}

.sm-search svg {
    flex-shrink: 0;
}

.sm-search input {
    flex: 1;
    min-width: 0;

    border: 0;
    outline: none;
    background: transparent;

    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.sm-search input::placeholder {
    color: #8a8580;
    font-weight: 400;
    font-family: "Nunito";
    font-size: 15px;
}

.sm-label {
    display: block;
    margin: 28px 0 12px;

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8580;
}

.sm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sm-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sm-chips-grid .sm-chip {
    flex: none;
    width: 100%;
}

.sm-chip {
    flex: 1 1 auto;
    padding: 12px 8px;
    border: 0;
    border-radius: 15px;
    background: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: #333333;
    cursor: pointer;

}

.sm-chip:hover {
    background: #ebe6de;
    transform: translateY(-1px);
}

.sm-chip.is-active {
    background: #333333;
    color: #ffffff;
}

.sm-clear {
    margin-top: 30px;
    padding: 0;

    border: 0;
    background: none;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #777777;

    cursor: pointer;
}

.sm-clear:hover {
    color: #333333;
}


/* PRAWA CZĘŚĆ */

.sm-results {
    padding: 24px 28px 30px;
    overflow-y: auto;
}

.sm-results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sm-count {
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8580;
}

.sm-close {
    width: 44px;
    height: 44px;

    border: 1px solid #f5f1eb;
    border-radius: 50%;
    background: #fff;

    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    color: #333333;

    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.sm-close:hover {
    background: #f5f1eb ;
    color: #333333;
}

.sm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
}

.sm-card {
    position: relative;
    display: block;
    min-width: 0;

    aspect-ratio: 4 / 3;

    border-radius: 15px;
    overflow: hidden;
    background: #e9e6e2;
}

.sm-card[hidden] {
    display: none;
}

.sm-card-image,
.sm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.sm-card-image img {
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.sm-card:hover .sm-card-image img {
    transform: scale(1.04);
}

.sm-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;

    padding: 70px 18px 18px;

    background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
    color: #fff;

    pointer-events: none;
}

.sm-card-cat {
    font-family: "Nunito", sans-serif;
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #fff;
    opacity: .9;
}

.sm-card-title {
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.sm-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 3px;

    padding: 5px 6px;

    border-radius: 10px;
    background: rgba(30, 27, 24, .35);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;

    pointer-events: none;
}

.sm-card-badge svg {
    flex-shrink: 0;
}

/* TABLET I TELEFON */

@media (max-width: 1000px) {
    .sm-panel {
        width: 100%;
        height: 100%;
        border-radius: 0;
        display: block;
        overflow-y: auto;
        grid-template-columns: 280px 1fr;
    }

    .sm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
        .sm-card-title {
        font-size: 15px;
    }
    
        .sm-sidebar,
    .sm-results {
        overflow: visible;
    }

    .sm-results {
        padding: 20px 18px 30px;
    }
    
}


/* =========================================================
   O NAS
========================================================= */

.about-label {
    display: block;
    margin-bottom: 20px;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #777777;
}

.about-page h2 {

    font-family: "Merriweather", Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    color: #333333;
}


/* WSTĘP */

.about-intro {
    width: min(1000px, calc(100% - 80px));
    margin: 0 auto;
    padding: 160px 0 30px;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro-left {
    display: flex;
    flex-direction: column;
    gap: 35px;
    min-width: 0;
}


.about-intro-text p {
    margin: 22px 0 0;
    font-family: "Merriweather";
    font-weight: 200;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

.about-intro-photo img,
.about-photo-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 15px;
    object-fit: cover;
}

.about-photo-placeholder {
    background: #e9e6e2;
}


/* =========================================================
   STUDIO
========================================================= */

.studio-page {
    padding-bottom: 0;
}

.studio-wrap {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}


/* WSTĘP */

.studio-intro {
    width: min(900px, calc(100% - 80px));
    margin: 0 auto;
    padding: 170px 0 70px;

    text-align: center;
}

.studio-intro h1 {
    margin: 0;

    font-family: "Merriweather", Georgia, serif;
    font-size: clamp(32px, 4.6vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    color: #333333;
}

.studio-intro p {
    max-width: 680px;
    margin: 26px auto 34px;

    font-family: "Nunito", sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #4a443f;
}


/* GALERIA */

.studio-gallery {
    width: min(1300px, calc(100% - 80px));
    margin: 0 auto;
    padding-bottom: 100px;
}

.studio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.studio-shot {
    position: relative;
    margin: 0;

    aspect-ratio: 4 / 3;

    border-radius: 10px;
    overflow: hidden;
    background: #e9e6e2;
}

.studio-shot:first-child {
    grid-column: span 2;
    aspect-ratio: auto;
}

.studio-shot img,
.studio-shot-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-shot img {
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.studio-shot:hover img {
    transform: scale(1.04);
}

.studio-shot-badge {
    position: absolute;
    top: 14px;
    left: 14px;

    padding: 5px 9px;

    border-radius: 6px;
    background: rgba(30, 27, 24, .4);

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #fff;
}

.studio-shot figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 60px 18px 16px;

    background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));

    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;

    opacity: 0;
    transition: color .3s ease;
}

.studio-shot:hover figcaption {
    opacity: 1;
}


/* OFERTA */

.studio-services {
    padding: 90px 0 100px;
    background: #f5f1eb;
}

.studio-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    margin-top: 45px;
}


/* JAK PRACUJEMY */

.studio-process {
    padding: 100px 0 20px;
}

.studio-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;

    margin-top: 45px;
}

.studio-step-num {
    display: block;
    margin-bottom: 14px;

    font-family: "Merriweather", Georgia, serif;
    font-size: 34px;
    color: #b08b73;
}

.studio-step h3 {
    margin: 0 0 10px;

    font-family: "Merriweather", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    color: #333333;
}

.studio-step p {
    margin: 0;

    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #6b635d;
}

.studio-cta-text {
    max-width: 520px;
    margin: 18px auto 0;

    font-family: "Nunito", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #6b635d;
}


/* TABLET */

@media (max-width: 1000px) {
    .studio-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* TELEFON */

@media (max-width: 800px) {
    .studio-intro {
        width: calc(100% - 40px);
        padding: 130px 0 50px;
    }

    .studio-gallery,
    .studio-wrap {
        width: calc(100% - 40px);
    }

    .studio-gallery {
        padding-bottom: 70px;
    }

    .studio-gallery-grid,
    .studio-services-grid,
    .studio-steps {
        grid-template-columns: 1fr;
    }

    .studio-shot:first-child {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }

    .studio-shot figcaption {
        opacity: 1;
    }
}

/* =========================================================
   MIEJSCA — PASEK NA DOLE MENU
========================================================= */

.places-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 20px 28px;

    background: #f3ece9;

    font-family: "Nunito", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2b2623;

    transition: background .2s ease, color .2s ease;
}

.places-menu-footer:hover {
    background: #ece2de;
    color: #9f765f;
}

.places-menu-footer-arrow {
    width: 8px;
    height: 8px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    border-radius: 1px;

    transform: rotate(45deg);
    transition: transform .2s ease;
}

.places-menu-footer:hover .places-menu-footer-arrow {
    transform: rotate(45deg) translate(2px, -2px);
}

/* =========================================================
   HEADER — WERSJA MOBILNA
========================================================= */

.header-mobile-actions,
.mobile-menu {
    display: none;
}

.mobile-icon-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #f4f1ed;
    color: #333333;

    cursor: pointer;

    transition: background .2s ease, color .2s ease;
}

.mobile-icon-btn:active {
    background: #ebe4dc;
    color: #9f765f;
}


@media (max-width: 1000px) {

    /* górny pasek: tylko logo + 2 ikony */

    .site-header-inner {
        padding: 12px;
        padding-right: 10px;
        padding-left: 20px;
    }

.main-site-logo-image {
    width: 220px;
    height: auto;
}

    .site-navigation,
    .header-instagram,
    .places-mega-menu,
    .inspirations-mega-menu {
        display: none !important;
    }

    .header-mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }


    /* okno menu */

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 1500;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.admin-bar .mobile-menu {
        top: 46px;
    }

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 20px;
}

    .mobile-menu-body {
        flex: 1;
        overflow-y: auto;

        padding: 10px 25px 50px;
    }

    .mm-link,
    .mm-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        padding: 20px 0;

        border: 0;
        border-bottom: 1px solid #ebe5df;

        background: none;

        font-family: "Nunito", sans-serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 1px;
        text-align: left;

        color: #333333;

        cursor: pointer;
    }

    .mm-toggle .nav-arrow {
        transition: transform .25s ease;
    }

    .mm-item.is-open .mm-toggle {
        color: #777777;
    }

    .mm-item.is-open .mm-toggle .nav-arrow {
        transform: rotate(225deg) translateY(-2px);
    }

    .mm-sub {
        display: none;
        padding: 8px 0 22px;
        border-bottom: 1px solid #f5f1eb;
    }

    .mm-item.is-open .mm-sub {
        display: block;
    }

    .mm-label {
        display: block;
        margin: 16px 0 10px;

        font-family: "Nunito", sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        color: #333333;
    }

    .mm-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .mm-chip {
        padding: 10px 16px;

        border-radius: 999px;
        background: #f5f3f0;

        font-family: "Nunito", sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #2b2623;
    }

    .mm-all {
        display: block;
        margin-top: 24px;

        font-family: "Nunito", sans-serif;
        font-size: 15px;
        font-weight: 700;
        color: #333333;
    }

    .mm-sublink {
        display: block;
        padding: 10px 0;

        font-family: "Nunito", sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #333333;
    }

    .mm-instagram {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 46px;
        height: 46px;
        margin-top: 34px;

        border-radius: 50%;
        background: #f4f1ed;

        color: #2b2623;
    }

    .mm-instagram:active {
        background: #ebe4dc;
        color: #9f765f;
    }
}

/* =========================================================
   STRONA GŁÓWNA - RESPONSYWNOŚĆ
========================================================= */

/* ---------- TABLET (do 1000 px) ---------- */

@media (max-width: 1000px) {

    .hero {
    padding: 80px 20px 100px;

    height: auto;
    }

    .hero-content {
        transform: translateY(-20px);
    }
    

    .hero-bottom {
        height: 110px;
    }

    .latest-posts {
        padding: 80px 30px;
    }
    
    .latest-posts-grid {
        margin-right: calc(-1 * var(--gutter));
        padding-right: var(--gutter);
    }

    /* 2 karty na ekranie + kawałek trzeciej zachęca do przesuwania */
    .latest-post {
        flex: 0 0 calc((100% - 30px) / 2.3);
    } 
    
    .latest-posts-arrow {
    display: none !important;
}
    
    .travel-map {
        padding: 50px 30px 90px;
        box-sizing: border-box;
    }
    
.world-map-layout {
    width: 100%;
    min-width: 0;
    scrollbar-width: none;
}
    
.world-map-wrapper {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-sizing: border-box;
}

.world-map-wrapper > svg {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
}

    .world-map-wrapper .map-controls {
        display: none !important;
    }
    
    .world-map-wrapper path.visited:hover {
        fill: #A5CECA !important;
    }
    
    .world-map-wrapper path.visited.is-selected {
        fill: #8FBCB7 !important;
    }
    
#map-tooltip {
    padding: 4px 8px;
    border-radius: 30px;
}
    
#map-tooltip span {
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}
    
.map-tooltip-link {
    margin-left: 6px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    color: #8fbcb7;
    text-decoration: none;
    flex-shrink: 0;
}

.map-tooltip-link svg {
    display: block;
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-tooltip-anchor {
    display: inline-flex;
    align-items: center;

    /* link wypełnia cały tooltip (łatwiejsze trafienie palcem) */
    margin: -8px -13px;
    padding: 8px 13px;

    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.map-tooltip-link:hover {
    color: #b66f49;
}

    .world-map-layout::-webkit-scrollbar {
        display: none;
    }

    .world-map-layout * {
        scrollbar-width: none;
    }

    .world-map-layout *::-webkit-scrollbar {
        display: none;
    }
    
/* =========================================================
   MAPA — BEZ MIGNIĘCIA PRZY DOTKNIĘCIU
   Zostaje tylko zmiana koloru (hover)
========================================================= */

.world-map-wrapper,
.world-map-wrapper svg,
.world-map-wrapper svg path {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.world-map-wrapper svg:focus,
.world-map-wrapper svg path:focus,
.world-map-wrapper svg path:focus-visible,
.world-map-wrapper svg path:active {
    outline: none;
}

/* =========================================================
   TOOLTIP MAPY — CAŁY TOOLTIP JEST LINKIEM
========================================================= */


/* ikona jest teraz zwykłym span-em, więc hover dotyczy całego linku */
.map-tooltip-anchor:hover .map-tooltip-link,
.map-tooltip-anchor:active .map-tooltip-link {
    color: #b66f49;
}

.map-tooltip-anchor:hover span:first-child,
.map-tooltip-anchor:active span:first-child {
    color: #b66f49;
}



/* =========================================================
   INSTAGRAM
========================================================= */

    .instagram-header {
        padding: 0 30px;
    }
}


/* ---------- TELEFON  ---------- */


@media (max-width: 768px) {

    .hero {
        padding: 80px 20px 80px;
        min-height: 65vh;
        height: auto;
    }

    .hero-content {
        transform: translateY(-20px);
    }

    .hero h1 {
        font-size: 34px;
        line-height: 32px;
        font-weight:700;
        letter-spacing: 0.3px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 25px;
    }
    

    /* NAJNOWSZE WPISY: przesuwane palcem, z przyciąganiem */

    .latest-posts {
        padding: 30px 0 60px 20px;
    }

    .latest-posts-header {
        margin-bottom: 10px;
    }

    .latest-posts-grid {
        gap: 16px;
        margin-right: calc(-1 * var(--gutter));
        padding-right: var(--gutter);
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
    }


    .latest-post {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .latest-post h3 {
        font-size: 19px;
    }
.latest-posts-arrow {
    display: none !important;
}

    /* MAPA */
    
    .travel-map {
        padding: 40px 20px 60px;
    }

    .travel-map-header {
        margin-bottom: 28px;
    }

    .travel-map-header h2 {
        font-size: 26px;
    }

    .map-controls {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .map-controls button {
        padding: 8px;
        font-size: 24px;
    }

    /* pozwala przesuwać powiększoną mapę palcem bez przewijania strony */
    .world-map-wrapper.is-zoomed svg {
        touch-action: none;
    }
    
.world-map-layout {
    width: 100%;
    min-width: 0;
    scrollbar-width: none;
}
    
.world-map-wrapper {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-sizing: border-box;
}

.world-map-wrapper > svg {
    display: block !important;
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
}

    .world-map-wrapper path.visited:hover {
        fill: #A5CECA !important;
    }
    
    .world-map-wrapper path.visited.is-selected {
        fill: #8FBCB7 !important;
    }


    .world-map-wrapper .map-controls {
        display: none !important;
    }
    
#map-tooltip {
    padding: 4px 8px; 
    border-radius: 30px;
}
    
#map-tooltip span {
    color: #333333;
    font-size: 12px;
    font-weight: 700;
}
    
.map-tooltip-link {
    margin-left: 5px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    color: #333333;
    text-decoration: none;
    flex-shrink: 0;
}

.map-tooltip-link svg {
    display: block;
    width: 10px;
    height: 10px;
    fill: none;
    color: #333333;
    stroke: currentColor;
    stroke-width: 3.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-tooltip-anchor {
    display: inline-flex;
    align-items: center;

    /* link wypełnia cały tooltip (łatwiejsze trafienie palcem) */
    margin: -8px -13px;
    padding: 8px 13px;

    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.map-tooltip-link:hover {
    color: #b66f49;
}
    
    .world-map-layout::-webkit-scrollbar {
        display: none;
    }

    .world-map-layout * {
        scrollbar-width: none;
    }

    .world-map-layout *::-webkit-scrollbar {
        display: none;
    }
    
/* =========================================================
   MAPA — BEZ MIGNIĘCIA PRZY DOTKNIĘCIU
   Zostaje tylko zmiana koloru (hover)
========================================================= */

.world-map-wrapper,
.world-map-wrapper svg,
.world-map-wrapper svg path {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.world-map-wrapper svg:focus,
.world-map-wrapper svg path:focus,
.world-map-wrapper svg path:focus-visible,
.world-map-wrapper svg path:active {
    outline: none;
}

/* =========================================================
   TOOLTIP MAPY — CAŁY TOOLTIP JEST LINKIEM
========================================================= */


/* ikona jest teraz zwykłym span-em, więc hover dotyczy całego linku */
.map-tooltip-anchor:hover .map-tooltip-link,
.map-tooltip-anchor:active .map-tooltip-link {
    color: #b66f49;
}

.map-tooltip-anchor:hover span:first-child,
.map-tooltip-anchor:active span:first-child {
    color: #b66f49;
}
    

    /* INSTAGRAM */

    .instagram-strip {
        padding-top: 60px;
    }

    .instagram-link {
        font-size: 14px;
    }
}


/* ---------- MAŁE TELEFONY (do 400 px) ---------- */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 26px;
        line-height: 30px;
    }

    .latest-post {
        flex-basis: 85%;
    }
}


/* =========================================================
   STRONA KRAJU - RESPONSYWNOŚĆ
========================================================= */


/* ---------- TABLET (do 1000 px) ---------- */

@media (max-width: 1000px) {

    .country-hero {
        min-height: 70vh;
    }

    .country-hero-content {
        width: calc(100% - 60px);
        padding-bottom: 100px;
    }

    .country-hero-description {
        max-width: 520px;
        font-size: 18px;
    }

    .country-posts,
    .category-posts {
        width: calc(100% - 60px);
        padding-top: 60px;
        padding-bottom: 90px;
    }

    .country-posts-grid,
    .category-posts-grid {
        gap: 36px 20px;
    }
}


/* ---------- TELEFON (do 768 px) ---------- */

@media (max-width: 768px) {

    .country-hero {

        min-height: 65vh;
        height: auto;
    }

    .country-hero-content {
        width: calc(100% - 40px);
        padding-bottom: 90px;   /* zostawia miejsce nad łukiem */
    }

    .country-hero h1 {
        font-size: 40px;
        letter-spacing: 0px;
    }

    .country-hero-label {
        margin-bottom: 10px;
        font-size: 10px;
        letter-spacing: 2.2px;
    }

    .country-hero-description {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: .3px;
    }

    /* tekst jest na dole zdjęcia, więc przyciemnienie od dołu zamiast z boku */
.country-hero-overlay {
    background:
        /* GÓRA — delikatne przyciemnienie */
        linear-gradient(
            to bottom,
            rgba(20, 17, 14, .38) 0%,
            rgba(20, 17, 14, .22) 18%,
            rgba(20, 17, 14, .06) 38%,
            rgba(20, 17, 14, 0) 50%
        ),

        /* DÓŁ — mocniejsze przyciemnienie pod tekstem */
linear-gradient(
    to top,
    rgba(20, 17, 14, .78) 0%,
    rgba(20, 17, 14, .62) 22%,
    rgba(20, 17, 14, .38) 40%,
    rgba(20, 17, 14, .16) 58%,
    rgba(20, 17, 14, 0) 75%
);
}

    /* który fragment zdjęcia zostaje widoczny: 0% lewa, 50% środek, 100% prawa */
    .country-hero-image img {
        object-position: 50% center;
    }

    .country-posts,
    .category-posts {
        width: calc(100% - 40px);
        padding-top: 45px;
        padding-bottom: 70px;
    }

    .country-post-content h3 {
        font-size: 19px;
    }

    .country-post-content p {
        font-size: 16px;
        line-height: 1.6;
    }
}


/* ---------- MAŁE TELEFONY (do 400 px) ---------- */

@media (max-width: 400px) {

    .country-hero h1 {
        font-size: 38px;
    }

    .country-hero-description {
        font-size: 15px;
    }
}


/* ---------- TELEFON POZIOMO (niski ekran) ---------- */

@media (max-height: 520px) and (orientation: landscape) {

    .country-hero {
        min-height: 100vh;
    }

    .country-hero-content {
        padding-bottom: 70px;
    }
}


/* =========================================================
   SINGLE POST — FINAL LAYOUT
========================================================= */


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 901px) {

    .post-top {
        display: flex;
        align-items: stretch;
        width: 100%;
        height: clamp(500px, 32vw, 500px);
    }


    /* LEWA STRONA — TYTUŁ + ZAJAWKA */

.post-copy {
    flex: 0 0 40%;
    width: 40%;
    max-width: none;
    height: 100%;

    padding: 0 10px 0 clamp(40px, 5vw, 80px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    box-sizing: border-box;
}


    .post-header {
        width: 100%;
        height: auto;

        padding: 0;

        box-sizing: border-box;
    }


    .post-excerpt {
        width: 100%;
        max-width: 550px;

        margin-top: 20px;

        font-family: "Merriweather", Georgia, serif;
        font-style: italic;
        font-weight: 100;

        font-size: clamp(17px, 1.35vw, 20px);
        line-height: 1.6;

        color: #5f554e;
    }


    /* PRAWA STRONA — ZDJĘCIE */

.post-hero {
    flex: 0 0 60%;
    width: 60%;
    height: 100%;

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }


    .post-hero-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;

        clip-path: url(#organicPostShape);
    }
}


/* =========================================================
   TABLET + TELEFON
========================================================= */

@media (max-width: 1000px) {

    .post-top {
        display: grid;

        width: 100%;
        height: auto;

        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "excerpt";
    }


    /* ZDJĘCIE */

    .post-hero {
        grid-area: hero;

        width: 100%;
        height: clamp(520px, 75vw, 740px);

        margin: 0;
        padding: 0;

        box-sizing: border-box;
    }

.post-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

background:
    /* GÓRA — delikatne przyciemnienie pod logo */
    linear-gradient(
        to bottom,
        rgba(20, 17, 14, 0.28) 0%,
        rgba(20, 17, 14, 0.16) 20%,
        rgba(20, 17, 14, 0.05) 40%,
        rgba(20, 17, 14, 0) 55%
    ),

    /* DÓŁ — mocniejsze przyciemnienie pod tytuł */
    linear-gradient(
        to top,
        rgba(20, 17, 14, 0.72) 0%,
        rgba(20, 17, 14, 0.58) 15%,
        rgba(20, 17, 14, 0.35) 30%,
        rgba(20, 17, 14, 0.12) 45%,
        rgba(20, 17, 14, 0) 60%
    );

    clip-path: url(#organicPostShapeMobile);
}

    .post-hero-image {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;

        clip-path: url(#organicPostShapeMobile);
    }


    /* POST-COPY NIE TWORZY OSOBNEGO POZIOMU */

    .post-copy {
        display: contents;
    }


    /* TYTUŁ NA ZDJĘCIU */

.post-header {
    grid-area: hero;

    position: relative;
    align-self: end;

    z-index: 2;

    width: 100%;
    height: auto;

    padding: 0 40px 65px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    pointer-events: none;

    background: transparent;
}


    /* KATEGORIA */

.post-category {
    display: block;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.9);
}

.post-meta {
    display: block;

    margin-top: 18px;

    color: rgba(255, 255, 255, 0.8);
}


    /* TYTUŁ */

    .post-title {
        max-width: 700px;

        margin: 0;

        font-size: clamp(36px, 6vw, 48px);
        line-height: 1.05;
    }


    /* ZAJAWKA POD ZDJĘCIEM */

    .post-excerpt {
        grid-area: excerpt;

        width: calc(100% - 80px);
        max-width: 650px;

        margin: 45px auto 0;

        font-family: "Merriweather", Georgia, serif;
        font-style: italic;
        font-weight: 100;

        font-size: clamp(17px, 1.35vw, 20px);
        line-height: 1.6;

        color: #5f554e;
    }
}

/* =========================================================
   DARK HEADER — STAŁE KAPSUŁY MENU
   ========================================================= */

/* Na single, Studio i O Nas kapsuły są widoczne cały czas */
body.dark-header-page .site-navigation > a::after,
body.dark-header-page .site-navigation > .places-menu-trigger::after,
body.dark-header-page .site-navigation > .inspirations-menu-trigger::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.30);
}

/* =========================================================
   SINGLE POST — AKTYWNA POZYCJA MENU
   Po wejściu w menu wszystkie stałe kapsuły znikają,
   a zostaje tylko kapsuła aktywnej sekcji.
========================================================= */

/* MIEJSCA */
body.dark-header-page .site-header.places-hover
.site-navigation > a::after,

body.dark-header-page .site-header.places-hover
.site-navigation > .inspirations-menu-trigger::after {
    opacity: 0;
}

/* INSPIRACJE */
body.dark-header-page .site-header.inspirations-hover
.site-navigation > a::after,

body.dark-header-page .site-header.inspirations-hover
.site-navigation > .places-menu-trigger::after {
    opacity: 0;
}


/* aktywne MIEJSCA */
body.dark-header-page .site-header.places-hover
.site-navigation > .places-menu-trigger::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.68);
}


/* aktywne INSPIRACJE */
body.dark-header-page .site-header.inspirations-hover
.site-navigation > .inspirations-menu-trigger::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.68);
}
/* =========================================================
   SINGLE POST — KOLOR MENU NA HOVER
   ========================================================= */

body.dark-header-page .site-navigation > a:hover,
body.dark-header-page .site-navigation > .places-menu-trigger:hover,
body.dark-header-page .site-navigation > .inspirations-menu-trigger:hover {
    color: #333333;
}

/* =========================================================
   SINGLE POST — HOVER ZWYKŁYCH POZYCJI MENU
   Studio / O Nas
========================================================= */

/* Kiedy jesteśmy nad menu:
   wszystkie stałe kapsuły znikają */
body.dark-header-page .site-navigation:hover > a::after,
body.dark-header-page .site-navigation:hover > .places-menu-trigger::after,
body.dark-header-page .site-navigation:hover > .inspirations-menu-trigger::after {
    opacity: 0;
}


/* Pokazujemy tylko element, nad którym aktualnie jest kursor */
body.dark-header-page .site-navigation:hover > a:hover::after,
body.dark-header-page .site-navigation:hover > .places-menu-trigger:hover::after,
body.dark-header-page .site-navigation:hover > .inspirations-menu-trigger:hover::after {
    opacity: 1;
    background: rgba(255, 255, 255, 0.68);
}

/* =========================================================
   INSPIRACJE — TO SAMO CO MIEJSCA (nadpisanie)
========================================================= */

.inspirations-mega-menu,
.site-header.inspirations-hover .inspirations-mega-menu {
    transform: none;
}

/* kontener = punkt odniesienia dla podkategorii */
.inspirations-menu-inner {
    position: relative;

    display: grid;
    grid-template-columns: 180px 1fr;
    grid-auto-rows: 40px;
    row-gap: 6px;
    align-content: start;

    padding: 18px 0;
    min-height: 0;
}

/* wiersze NIE mogą być position: relative */
.inspirations-menu-inner .inspiration-category,
.inspirations-menu-inner .inspiration-category-link {
    position: static;

    grid-column: 1;
    width: auto;
    height: 52px;
    margin: 0 14px;
}

/* wygląd pozycji — jak .continent-button */
.inspirations-menu-inner .inspiration-category-toggle,
.inspirations-menu-inner .inspiration-category-link {
    display: flex;
    align-items: center;

    height: 52px;
    padding: 0 1px;

    border-radius: 15px;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
}

.inspirations-menu-inner .inspiration-category-toggle {
    width: 100%;
    padding: 0 !important;
}

/* link w środku wypełnia cały wiersz (klikalny na całej szerokości) */
.inspirations-menu-inner .inspiration-main-link {
    width: 100%;
    height: 100%;
    padding: 0 18px !important;
}

/* prawa część — jak .places-countries */
.inspirations-menu-inner .inspiration-subcategories {
    top: 0;
    bottom: 0;
    left: 180px;
    right: 0;

    width: auto;
    padding: 22px 28px 28px;

    gap: 10px;
}

/* panel podkategorii dotyka wierszy, więc hover się nie rwie */
.inspirations-menu-inner .inspiration-subcategories {
    left: 166px;                 /* 180px − margines wierszy 14px */
    padding: 22px 28px 28px 42px; /* 28px + 14px, żeby kapsuły zostały w tym samym miejscu */
}

/* =========================================================
   INSPIRACJE — STRZAŁKA + AKTYWNA KATEGORIA
   (klasę .is-active ustawia JS w header.php)
========================================================= */

.inspirations-menu-inner .inspiration-category-toggle {
    position: relative;
}

.inspirations-menu-inner .inspiration-category-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;

    width: 7px;
    height: 7px;

    border-top: 2px solid #2b2623;
    border-right: 2px solid #2b2623;
    border-radius: 1px;

    transform: translateY(-50%) rotate(45deg);

    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.inspirations-menu-inner .inspiration-category.is-active .inspiration-category-toggle {
    background: #f3f0ed;
}

.inspirations-menu-inner .inspiration-category.is-active .inspiration-category-toggle::after {
    opacity: 1;
}

.inspirations-menu-inner .inspiration-category.is-active .inspiration-subcategories {
    display: grid;
}

/* =========================================================
   INSPIRACJE — KAPSUŁKA O STAŁEJ SZEROKOŚCI
========================================================= */

.inspirations-menu-inner {
    --pill-width: 140px;   /* szerokość tła: zmieniaj tylko tu */
    --pill-height: 40px;   /* wysokość tła */
    --pill-left: 18px;     /* odstęp od lewej krawędzi menu */

    grid-auto-rows: var(--pill-height);
}

.inspirations-menu-inner .inspiration-category,
.inspirations-menu-inner .inspiration-category-link {
    justify-self: start;
    width: var(--pill-width);
    height: var(--pill-height);
    margin: 0 0 0 var(--pill-left);
}

.inspirations-menu-inner .inspiration-category-toggle,
.inspirations-menu-inner .inspiration-category-link {
    height: var(--pill-height);
}

.inspirations-menu-inner .inspiration-category-toggle {
    width: 100%;
}

/* tekst: stały odstęp od lewej, reszta wolna na strzałkę */
.inspirations-menu-inner .inspiration-main-link {
    width: 100%;
    padding: 0 14px !important;
}

.inspirations-menu-inner .inspiration-category-link {
    padding: 0 14px;
}

/* strzałka przy prawej krawędzi kapsułki */
.inspirations-menu-inner .inspiration-category-toggle::after {
    right: 14px;
}
/* kategorie i podkategorie w jednej linii */
.inspirations-menu-inner .inspiration-subcategories {
    padding-top: 18px;          /* tyle samo co padding-top kontenera */
}

.inspirations-menu-inner .inspiration-subcategories a {
    min-height: var(--pill-height, 40px);
    padding-top: 0;
    padding-bottom: 0;
}

/* =========================================================
   MIEJSCA — KAPSUŁKA O STAŁEJ SZEROKOŚCI (jak Inspiracje)
========================================================= */

.places-menu-inner {
    --pill-width: 140px;   /* szerokość tła: zmieniaj tylko tu */
    --pill-height: 40px;   /* wysokość tła */
    --pill-left: 18px;     /* odstęp od lewej krawędzi menu */
}

/* lewa kolumna: te same odstępy co w Inspiracjach */
.places-continents {
    gap: 6px;
    padding: 18px 0;
}

.places-continents .continent-button {
    width: var(--pill-width);
    height: var(--pill-height);
    margin-left: var(--pill-left);

    padding: 0 14px;
}

/* strzałka przy prawej krawędzi kapsułki, ten sam rozmiar co w Inspiracjach */
.continent-arrow {
    width: 7px;
    height: 7px;
    border-top-width: 2px;
    border-right-width: 2px;
    margin-right: 0;
}

/* kategorie i kraje w jednej linii */
.places-countries {
    padding-top: 18px;          /* tyle samo co padding-top kolumny */
}

.places-countries .country-link {
    min-height: var(--pill-height);
    padding-top: 0;
    padding-bottom: 0;
}

/* strzałka w Inspiracjach — taka sama jak w Miejsca */
.inspirations-menu-inner .inspiration-category-toggle::after {
    width: 7px;
    height: 7px;

    border-top: 2px solid #2b2623;
    border-right: 2px solid #2b2623;
    border-radius: 1px;

    right: 18px;
}

/* strzałka w Inspiracjach: liczona tak samo jak w Miejsca */
.inspirations-menu-inner .inspiration-category-toggle::after {
    box-sizing: border-box;
}

/* =========================================================
   HEADER — LUPA OBOK INSTAGRAMA
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    margin-left: 0;
    gap: 12px;
}

.header-search-btn {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: #f4f1ed;
    color: #333333;

    cursor: pointer;

    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.header-search-btn:hover {
    background: #ebe4dc;
    color: #333333;
    transform: translateY(-1px);
}

@media (max-width: 1000px) {
    .header-actions {
        display: none !important;
    }
}

@media (max-width: 1000px) {
    body.single .single-post-logo {
        content: url('../images/logo-white.png');
    }
}

/* =========================================================
   INSPIRACJE — GRID 2 KOLUMNY
========================================================= */

.inspirations-menu-inner .inspiration-subcategories {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
}

.inspirations-menu-inner .inspiration-subcategories a {
    width: 100%;
    min-width: 0;
}

/* =========================================================
   FLAGI KRAJÓW — MIEJSCA
========================================================= */

.country-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.country-name {
    line-height: 1;
}

/* =========================================================
   INSPIRACJE — PRAWY PANEL: ZAJAWKA + "NA SKRÓTY"
========================================================= */

/* szersze menu, żeby zajawka miała miejsce */
.inspirations-mega-menu {
    width: min(550px, calc(100% - 80px));
}

/* panel jako kolumna: zajawka u góry, skróty na dole */
.inspirations-menu-inner .inspiration-category.is-active .inspiration-subcategories,
.inspirations-menu-inner .inspiration-category:hover .inspiration-subcategories,
.inspirations-menu-inner .inspiration-subcategories:hover {
    display: flex;
}

.inspirations-menu-inner .inspiration-subcategories {
    flex-direction: column;
    padding: 20px 28px 24px 42px;
}


/* NA SKRÓTY — przyklejone do dołu panelu */
.inspiration-shortcuts {
    margin-top: auto;
    padding-top: 18px;
}

.inspiration-shortcuts-label {
    display: block;
    margin-bottom: 10px;

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8a8580;
}

.inspiration-shortcuts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* nadpisuje wcześniejsze style pigułek z panelu */
.inspirations-menu-inner .inspiration-subcategories .inspiration-shortcuts a {
    width: auto;
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
}

/* =========================================================
   INSPIRACJE — KARTA (tytuł + zajawka + CTA)
========================================================= */

.inspiration-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;

    padding: 22px 24px;

    background: #f5f1eb;
    border-radius: 10px;

    transition: background .2s ease;
}

.inspiration-card:hover {
    background: #efe8df;
}

.inspiration-card-title {
    font-family: "Merriweather", Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: #333333;
}

.inspiration-card-cta {
    margin-top: auto;
    padding-top: 14px;

    font-family: "Nunito", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #9f765f;

    transition: transform .2s ease;
}

.inspiration-card:hover .inspiration-card-cta {
    transform: translateX(3px);
}

/* NA SKRÓTY — lżejsze, z linią oddzielającą */
.inspiration-shortcuts {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ebe5df;
}

.inspirations-menu-inner .inspiration-subcategories .inspiration-shortcuts a {
    min-height: 40px;
    padding: 8px 14px;
    background: #f5f1eb;
    border: none;
    font-size: 14px;
    font-weight: 700;
    font-family: "Nunito", sans-serif;
}

.inspirations-menu-inner .inspiration-subcategories .inspiration-shortcuts a:hover {
    background: #ebe6de;

}

/* =========================================================
   INSPIRACJE — KARTA (nadpisanie stylów pigułek)
========================================================= */

.inspirations-menu-inner .inspiration-subcategories a.inspiration-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 22px 24px !important;

    border-radius: 10px !important;
    background-color: #f5f1eb !important;

    text-align: left !important;
    white-space: normal !important;
    font-weight: 400 !important;
    transform: none !important;
}

.inspirations-menu-inner .inspiration-subcategories a.inspiration-card:hover {
    background-color: #efe8df !important;
}

.inspiration-card .inspiration-card-title {
    display: block;
    font-family: "Nunito", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
    white-space: normal;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.inspiration-card .inspiration-card-cta {
    display: block;
    padding-top: 0px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    white-space: normal;
    color: #ffffff;
}

/* =========================================================
   INSPIRACJE — KARTA ZE ZDJĘCIEM
========================================================= */

.inspirations-menu-inner .inspiration-subcategories a.inspiration-card {
    position: relative;
    overflow: hidden;
    justify-content: flex-end !important;
    padding: 20px 24px !important;
    background-color: #f5f1eb !important;
    background-size: cover !important;
    background-position: center !important;
}

/* przyciemnienie pod tekstem */
.inspirations-menu-inner .inspiration-subcategories a.inspiration-card.has-image::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(20, 17, 14, .70) 0%,
        rgba(20, 17, 14, .30) 55%,
        rgba(20, 17, 14, .08) 100%
    );

    transition: opacity .3s ease;
}

.inspirations-menu-inner .inspiration-subcategories a.inspiration-card > * {
    position: relative;
}


.inspirations-menu-inner .inspiration-subcategories a.inspiration-card.has-image:hover {
    background-size: 106% !important;
}

/* teksty na zdjęciu */
.inspiration-card.has-image .inspiration-card-title {
    color: #ffffff;
    font-size: 24px;
}

.inspiration-card.has-image .inspiration-card-cta {
    margin-top: 6px;
    color: rgba(255, 255, 255, .92);
}

/* bez zdjęcia: ciemne teksty jak dotąd */
.inspiration-card:not(.has-image) .inspiration-card-cta {
    margin-top: 6px;
}

.inspirations-menu-inner {
    min-height: 385px;
}


/* INSPIRACJE — stała wysokość karty ze zdjęciem */
.site-header .inspirations-mega-menu
.inspirations-menu-inner
.inspiration-subcategories > a.inspiration-card {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end !important;

    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;

    flex: 0 0 150px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    background-size: cover !important;
    background-position: center !important;
    border-radius: 15px !important;
}

/* INSPIRACJE — efekt hover dla linków „Na skróty” */
.site-header .inspirations-menu-inner .inspiration-shortcuts-list a {
    border: none;
}

.site-header .inspirations-menu-inner .inspiration-shortcuts-list a:hover,
.site-header .inspirations-menu-inner .inspiration-shortcuts-list a:focus-visible {
    background: #ebe6de !important;
    box-shadow: none !important;
    outline: none;
}


/* =========================================================
   MAPA — PRZYCISKI W STAŁYM POŁOŻENIU
   ========================================================= */

.travel-map .world-map-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: 100%;
}

/* Mapa */

.travel-map .world-map-wrapper {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
}

/* Przyciski nad mapą — wyrównane do jej lewej krawędzi */

.travel-map .map-continent-controls {
    order: 1;
    align-self: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;

    overflow-x: auto;
}

/* Wygląd przycisków */

.travel-map .map-continent-controls button {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 9px 18px;

    border: none;
    border-radius: 15px;
    background: #ffffff;
    color: #2b2623;

    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;

    transition: background-color 0.2s ease;
}

/* Hover i aktywny przycisk */
.travel-map .map-continent-controls button:hover {
    background: #ffffff;
    color: #8FBCB7;
}

.travel-map .map-continent-controls button.is-active {
    background: #ffffff;
    color: #8FBCB7;
}

/* Mapa zachowuje proporcje */

.travel-map .world-map-wrapper svg {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   O NAS — OŚ CZASU PODRÓŻY
========================================================= */

.about-timeline {
    padding: 80px 0 90px;
    
}

.about-timeline-header {
    max-width: 1000px;
    margin: 0 auto 85px;
    text-align: center;
}

.about-timeline-header h2 {
    margin: 12px 0 16px;
    font-family: "Nunito";
    font-size: 30px;
    font-weight: 700;
}

.about-timeline-header p {
    margin: 0;
    color: #625d58;
    line-height: 1.8;
}

    .about-timeline-content p {
        font-size: 15px;
        font-family: 'Nunito';
        font-weight: 400;
    }

.about-timeline-list {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.about-timeline-list::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 3px;
    background: #f5f1eb;
    transform: translateX(-50%);
}

.about-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin-bottom: 80px;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-photo {
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4 / 3;
    background: #f5f1eb;
}

.timeline-left .about-timeline-photo {
    grid-column: 1;
}

.timeline-right .about-timeline-photo {
    grid-column: 3;
}

.about-timeline-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-timeline-photo:hover img {
    transform: scale(1.035);
}

.about-timeline-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #f5f1eb;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.about-timeline-marker {
    grid-column: 2;
    grid-row: 1;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-self: stretch;
    align-items: center;
}

.about-timeline-marker span {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border: none;
    border-radius: 50%;
    background: #A5CECA;
    box-shadow: 0 0 0 3px #ffffff;
    position: relative;
    z-index: 2;
}

.about-timeline-content {
    grid-row: 1;
    min-width: 0;
    padding: 10px 0;
}

.timeline-left .about-timeline-content {
    grid-column: 3;
}

.timeline-right .about-timeline-content {
    grid-column: 1;
    text-align: right;
}

.about-timeline-year {
    display: block;
    margin-bottom: 7px;
    color: #A5CECA;
    font-family: 'Nunito', Georgia, serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
}

.about-timeline-period {
    display: block;
    margin-bottom: 15px;
    color: #777777;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.about-timeline-content h3 {
    margin: 0 0 12px;
    color: #333333;
    font-family: "Nunito", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.about-timeline-content p {
    margin: 0 0 15px;
    color: #333333;
    font-size: 15px;
    line-height: 1.85;
}

.about-timeline-countries {
    display: block;
    color: #777777;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* TABLETY I TELEFONY */

@media (max-width: 768px) {
    .about-timeline {
        padding: 75px 0 55px;
    }

    .about-timeline-header {
        margin-bottom: 45px;
        text-align: left;
    }
    
    .about-timeline-header h2 {
        font-size: 30px;
        text-align: center;

    }

    .about-timeline-list::before {
        left: 7px;
    }

    .about-timeline-item {
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 48px;
        align-items: start;
        
    }

    .about-timeline-marker {
        grid-column: 1 !important;
        grid-row: 1 / span 2;
        justify-content: flex-start;
        padding-top: 7px;
    }

    .about-timeline-photo,
    .timeline-left .about-timeline-photo,
    .timeline-right .about-timeline-photo {
        grid-column: 2;
        grid-row: 1;
    }

    .about-timeline-content,
    .timeline-left .about-timeline-content,
    .timeline-right .about-timeline-content {
        grid-column: 2;
        grid-row: 2;
        padding: 8px 0 0;
        text-align: left;
    }

    .about-timeline-content h3 {
        font-size: 23px;
                font-weight: 700;
    }

    .about-timeline-content p {
        font-size: 15px;
        font-family: 'Nunito';
        font-weight: 400;
    }
}


/* NASZA IDEA — beżowe tło i węższa kolumna tekstu */

.about-page .about-story-section {
    width: 100%;
    background: #f5f1eb;
    box-sizing: border-box;
}

.about-page .about-mission {
    width: 100%;
    margin: 0;
    padding: 50px 0 25px;
    background: transparent;
    box-sizing: border-box;
}

.about-page .about-mission-inner {
    width: calc(100% - 80px);
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-page .about-mission .about-label {
    display: block;
    margin-bottom: 20px;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2.5px;
    color: #777777;
}

.about-page .about-mission p {
    margin: 0 0 18px;
    font-family: "Merriweather";
    font-weight: 200;
    font-size: 16px;
    line-height: 1.6;
    color: #4a443f;
}

.about-page .about-mission p:last-child {
    margin-bottom: 0px;
}

/* Telefon */

@media (max-width: 768px) {
    .about-page .about-mission {
        padding: 45px 0 25px;
    }

    .about-page .about-mission-inner {
        width: calc(100% - 32px);
    }

    .about-page .about-mission p {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* JAK TWORZYMY NASZE TREŚCI — szarobeżowe tło */

.about-page .about-process {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.about-page .about-process-inner {
    width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

.about-page .about-process .about-label {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #777777;
}

.about-page .about-process p {
    margin: 0 0 18px;
    font-family: "Merriweather";
    font-weight: 200;
    font-size: 16px;
    line-height: 1.6;
    color: #4a443f;
}


@media (max-width: 768px) {
    .about-page .about-process {
        padding: 45px 0 25px;
    }

    .about-page .about-process-inner {
        width: calc(100% - 32px);
    }

    .about-page .about-process p {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* Węższe sekcje opisowe — większe marginesy boczne */

.about-page .about-mission-inner,
.about-page .about-process-inner {
    width: 900px;
    box-sizing: border-box;
}

.about-page .about-process {
    padding-top: 30px;
    padding-bottom: 40px;
}

/* Telefon */

@media (max-width: 768px) {
    .about-page .about-mission-inner,
    .about-page .about-process-inner {
        width: calc(100% - 40px);
    }
}


/* WSPÓŁPRACUJ Z NAMI */
.about-collaboration {
    width: 100%;
    box-sizing: border-box;
    padding-top: 60px;
    padding-bottom: 80px;
    background: #ffffff; 
}

.about-collaboration-inner {
    max-width: 1000px;
    margin: 0 auto !important;
    text-align: left !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

.about-collaboration h2,
.about-contact h2 {
    margin: 0 0 28px !important;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.15 !important;

}

.about-collaboration p,
.about-contact-heading p {
    line-height: 1.8;
    font-size: 16px;
    font-family: 'Merriweather';
    font-weight: 200;
    color: #333333;
    line-height: 25.6px !important;
    margin: 0 0 22px !important;
}



/* FORMULARZ */


.about-contact-inner {
    max-width: 680px;
    margin: 0 auto;
}

.about-contact-heading {
    margin-bottom: 0px;
    text-align: center;
}

.about-contact-form {
    display: grid;
    gap: 22px;
}

.about-contact-field {
    display: grid;
    gap: 9px;
}

.about-contact-field label {
    font-size: 14px;
}

.about-contact-field input,
.about-contact-field select,
.about-contact-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #DEDEDE;
    border-radius: 2px;
    background: transparent;
    color: #333333;
    font-family: 'Nunito';
}

.about-contact-field textarea {
    resize: vertical;
}

.about-contact-field input:focus,
.about-contact-field select:focus,
.about-contact-field textarea:focus {
    outline: 1px solid #DEDEDE;
    font-family: 'Nunito';
    outline-offset: 2px;
}

.about-contact-submit {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 24px;
    border: 0;
    border-radius: 2px;
    background: #8d7865;
    color: #ffffff;
    font-family: 'Nunito';
    cursor: pointer;
    transition: background .2s ease;
}

.about-contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {

    .about-contact {
        padding: 55px 20px 70px;
    }

    .about-contact-submit {
        width: 100%;
        justify-content: center;
    }
}


/* ========================================
   KONTAKT — ZMIENNY HORYZONT
======================================== */

.about-contact {
    --contact-bg: #f5f1eb;
    --contact-input-bg: #f5f1eb;
    --contact-text: #383638;
    margin-top: 0;
    padding: 70px 24px 70px;
    background: var(--contact-bg);
    color: var(--contact-text);
}

.about-contact-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-contact-heading h2 {
    font-family: 'Nunito';
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 20px !important;
}

.about-contact-heading p {

    font-family: 'Nunito';
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    line-height: 1;
}

.about-contact-heading a,
.about-contact-agreement a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #a9d6d2;
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
}

/* BIAŁY PANEL */

.about-contact-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 42px 38px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 3px 14px rgba(40, 30, 40, 0.06);
}

/* POLA FORMULARZA */

.about-contact-form {
    display: grid;
    gap: 24px;
}

.about-contact-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.about-contact-field label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.about-contact-field input,
.about-contact-field select,
.about-contact-field textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px 20px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--contact-input-bg);
    color: var(--contact-text);
    font-size: 15px;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color .2s ease,
                background-color .2s ease;
}

.about-contact-field input,
.about-contact-field select {
    min-height: 45px;
}

.about-contact-field select {
    cursor: pointer;
}

.about-contact-field textarea {
    min-height: 200px;
    resize: vertical;
}

.about-contact-field input:focus,
.about-contact-field select:focus,
.about-contact-field textarea:focus {
    outline: none;
    border-color: #a9d6d2;
    background: #ffffff;
}

/* ZGODA */

.about-contact-agreement label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
}

.about-contact-agreement input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 4px;
    accent-color: #8d7865;
}

.about-contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



.about-contact-note {
    margin: -10px 0 0;
    color: #777777;
    font-size: 12px;
}

/* TELEFONY */

@media (max-width: 768px) {
    .about-contact {
        padding: 58px 16px 65px;
    }

    .about-contact-heading {
        margin-bottom: 28px;
    }

    .about-contact-heading h2 {
        font-size: 30px;
    }

    .about-contact-heading p {
        font-size: 16px;
    }

    .about-contact-card {
        padding: 26px 20px;
        border-radius: 12px;
    }

    .about-contact-form {
        gap: 21px;
    }

    .about-contact-field input,
    .about-contact-field select,
    .about-contact-field textarea {
        font-size: 16px;
    }

    .about-contact-submit {
        width: 100%;
    }
}

/* KONTAKT — JEDEN SPÓJNY ZESTAW STYLÓW */

.about-contact .about-contact-card {
    display: block !important;
    width: 100% !important;
    max-width: 1040px !important;
    margin: 0 auto !important;
    padding: 44px 40px !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .07) !important;
    box-sizing: border-box !important;
}

.about-contact .about-contact-card form {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    gap: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.about-contact .about-contact-field {
    display: grid !important;
    gap: 8px !important;
    width: 100% !important;
}

.about-contact .about-contact-field input,
.about-contact .about-contact-field select,
.about-contact .about-contact-field textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 15px 22px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: #f4f4f4 !important;
    box-shadow: none !important;
}

.about-contact .about-contact-field input,
.about-contact .about-contact-field select {
    height: 62px !important;
}

.about-contact .about-contact-field textarea {
    height: 260px !important;
    min-height: 260px !important;
}

@media (max-width: 768px) {
    .about-contact {
        padding: 55px 16px 65px !important;
    }

    .about-contact .about-contact-card {
        padding: 26px 20px !important;
    }
}


/* Formularz kontaktowy — proporcje jak we wzorze */

.about-contact .about-contact-inner {
    width: 100% !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.about-contact .about-contact-card {
    width: 100% !important;
    max-width: 900px !important;
    padding: 35px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-radius: 14px !important;
}

.about-contact .about-contact-form {
    width: 100% !important;
    gap: 24px !important;
}

.about-contact .about-contact-field {
    width: 100% !important;
    gap: 8px !important;
}

.about-contact .about-contact-field input:not([type="checkbox"]),
.about-contact .about-contact-field select,
.about-contact .about-contact-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    background: #f4f4f4 !important;
    border: 1px solid transparent !important;
    font-size: 14px !important;
}

.about-contact .about-contact-field input:not([type="checkbox"]),
.about-contact .about-contact-field select {
    height: 48px !important;
}

.about-contact .about-contact-field textarea {
    height: 240px !important;
    min-height: 240px !important;
}

.about-contact .about-contact-agreement input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
}

@media (max-width: 768px) {
    .about-contact .about-contact-card {
        padding: 22px 18px !important;
    }
}


/* Przycisk formularza — kształt jak we wzorze */

.about-contact .about-contact-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 50px !important;
    padding: 0 20px !important;

    border: none !important;
    border-radius: 999px !important;

    background: #333333 !important;
    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color .2s ease !important;
}

.about-contact .about-contact-submit:hover {
    background: #A5CECA !important;
}

.about-contact-note {
    margin: -10px 0 0;
    color: #777777;
    font-size: 12px;
}

@media (max-width: 768px) {
    .about-contact .about-contact-submit {
        min-height: 55px !important;
        padding: 0 30px !important;
        font-size: 16px !important;
    }
}



/* Własna strzałka w polu wyboru */
.about-contact .about-contact-field select {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-right: 20px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23383638' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
}


/* Wielkość etykiety nad nagłówkiem */
.about-collaboration .about-label {
    font-size: 14px !important;
    letter-spacing: 3px !important;
    margin-bottom: 16px !important;
}

/* Współpracuj z nami — duże kropki */

.about-collaboration-points {
    list-style: none !important;
    margin: 30px 0 !important;
    padding: 0 !important;
}

.about-collaboration-points li {
    position: relative;
    padding-left: 30px;
    margin: 0 0 18px !important;
    font-size: 16px;
    font-family: 'Merriweather';
    font-weight: 200;
    color:#333333;
    line-height: 1.6;
}

.about-collaboration-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b4d8d4;
}


.about-collaboration-contact a {
    text-decoration: none !important;
    background-image: linear-gradient(#b8dedd, #b8dedd);
    background-repeat: no-repeat;
    background-position: 0 95%;
    background-size: 100% 0.25em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 2px;
    position: relative;
    z-index: 0;
}

.about-collaboration-contact a:hover {
    background-size: 100% 0.35em;
}

@media (max-width: 768px) {
    .about-collaboration-points li {
        padding-left: 25px;
        font-size: 17px;
        margin-bottom: 14px !important;
    }

    .about-collaboration-points li::before {
        width: 9px;
        height: 9px;
    }

    .about-collaboration-contact {
        font-size: 17px;
    }
}


/* SPIS TREŚCI — STRONA O NAS */

html {
    scroll-behavior: auto;
}


/* SPIS TREŚCI — STRONA O NAS */

.about-contents {
    width: 100%;
    margin: 0;
    align-self: start;
    text-align: left;
}

.about-page .about-contents {
    width: 100%;
    margin: 0px 0 45px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
    
}

.about-page .about-contents a {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 20px;
    border-bottom: 3px solid #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #333333;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;

}

.about-page .about-contents a:last-child {
    border-bottom: none;
}

.about-page .about-contents a:hover {
    color: #777777;
}

.about-page .about-contents-emoji {
    display: inline-block;
    margin-right: 6px;
}

/* Strzałka SVG po prawej stronie */
.about-page .about-contents .about-contents-arrow {
    display: inline-block;
        margin-left: 0;
        flex-shrink: 0;
    width: 9px;
    height: 9px;

    background-color: #333333;
    -webkit-mask: url("/wp-content/themes/zmienny-horyzont/images/arrow333-thick.svg") center / contain no-repeat;
    mask: url("/wp-content/themes/zmienny-horyzont/images/arrow333-thick.svg") center / contain no-repeat;

    border: none;
    border-radius: 0;
    transform: none;
    transition: background-color .2s ease, transform .2s ease;
}

/* Hover — kolor #777777 i delikatne przesunięcie */
.about-page .about-contents a:hover .about-contents-arrow {
    background-color: #777777;
    transform: translateX(2px);
}




/* Telefon */

@media (max-width: 768px) {
    .about-page .about-contents {
        width: calc(100% - 40px);
    }

    .about-page .about-contents a {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* =========================================================
   NAJNOWSZE WPISY — SLIDER I STRZAŁKI SVG
========================================================= */

/* Kontener slidera */
.latest-posts-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
}


/* =========================================================
   O NAS - FORMULARZ — KOMUNIKATY 
========================================================= */

.about-contact-form .about-contact-field {
    position: relative;
}

.about-contact-form .about-field-error {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    padding: 0;
    color: #777777;
    font-size: 13px;
    line-height: 1.4;
    z-index: 5;
    white-space: normal;
}

/* Formularz — obrys aktywnego pola */
.about-contact-form input:focus,
.about-contact-form select:focus,
.about-contact-form textarea:focus {
    outline: 1px solid #DEDEDE !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
}

/* Zachowanie obrysu błędu */
.about-contact-form [aria-invalid="true"]:focus {
    outline-color: #DEDEDE;
}

/* Czcionka i rozmiar tekstu */

.about-contact-form input,
.about-contact-form select,
.about-contact-form textarea {
    font-family: 'Nunito', sans-serif !important;
    color: #333333 !important;
}

/* Tekst podpowiedzi w pustych polach */
.about-contact-form input::placeholder,
.about-contact-form textarea::placeholder {
    color: #333333 !important;
    opacity: 1;
}

/* Opcje w polu wyboru */
.about-contact-form select option {
    font-family: 'Nunito', sans-serif !important;
    color: #333333 !important;
}



/* =========================================================
   SINGLE POST — KOMENTARZE
========================================================= */

.single-comments {
    width: 100%;
    max-width: 100%;
    margin: 100px auto 0;
    padding: 60px 0 30px;
    border-top: 1px solid #e8e2dc;
    box-sizing: border-box;
}

.single-comments-inner {
    width: min(700px, calc(100% - 40px));
    margin: 0 auto;
    box-sizing: border-box;
}

.single-comments-content {
    width: 100%;
    color: #333333;
    font-family: 'Nunito', sans-serif;
}

/* =========================================================
   NAGŁÓWKI I TEKSTY POMOCNICZE
========================================================= */

.single-comments .comments-title {
    margin: 0 0 18px;
    color: #333333;
    font-family: 'Nunito', sans-serif;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.single-comments #reply-title {
    margin: 40px 0 10px;
    color: #333333;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.single-comments .comment-notes,
.single-comments .logged-in-as,
.single-comments .must-log-in {
    margin: 0 0 32px;
    color: #777777;
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 1;
}

/* =========================================================
   LISTA I KARTY KOMENTARZY
========================================================= */

.single-comments-content .comment-list {
    margin: 32px 0 0;
    padding: 0;
    list-style: none !important;
}

.single-comments-content .comment-list li.comment {
    margin: 0 0 24px;
    padding: 0;
    list-style: none !important;
    background: transparent;
}

.single-comments-content .comment-body {
    position: relative;
    box-sizing: border-box;
    padding: 22px 26px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: #f8f7f5;
}


/* =========================================================
   AUTOR I DATA — FORMAT: Ewa • 17/10/2026
========================================================= */

.single-comments-content .comment-author-date {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    color: #333333;
    margin: 0 0 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.single-comments-content .comment-author-name {
    color: #333333;
    font-weight: 700;
}

.single-comments-content .comment-date {
    color: #333333;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

.comment-meta-dot {
    font-size: 10px;
    vertical-align: middle;
}

/* Oryginalne elementy WordPressa — ukrywane po utworzeniu nowego nagłówka */
.single-comments-content .comment-author-date ~ .comment-author,
.single-comments-content .comment-author-date ~ .comment-metadata {
    display: none !important;
}

.single-comments-content .comment-author .avatar {
    display: none;
}

.single-comments-content .comment-author a,
.single-comments-content .comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.single-comments-content .comment-edit-link {
    display: none !important;
}

/* =========================================================
   TREŚĆ KOMENTARZA
========================================================= */

.single-comments-content .comment-content {
    margin: 0;
    color: #333333;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.single-comments-content .comment-content p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ODPOWIEDZI NA KOMENTARZE
========================================================= */

.single-comments-content .comment-list .children {
    margin: 24px 0 0 38px !important;
    padding: 0 0 0 24px !important;
    border-left: 2px solid #eeeae5;
    list-style: none !important;
}

.single-comments-content .children > li.comment {
    margin: 0 0 20px;
    padding: 0;
}

.single-comments-content .children .comment-body {
    padding: 20px 24px;
    border: 1px solid #eeeae5;
    border-radius: 22px;
    background: #ffffff;
}

/* =========================================================
   PRZYCISK ODPOWIEDZI
========================================================= */

.single-comments-content .comment-reply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    background: transparent;
    color: #777777;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.single-comments-content .comment-reply-link:hover {
    background: rgba(180, 216, 212, 0.25);
    border-color: #b4d8d4;
}

.single-comments #cancel-comment-reply-link {
    margin-left: 12px;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
}

/* =========================================================
   PODGLĄD KOMENTARZY — ZWIJANIE I GRADIENT
========================================================= */

.single-comments-content .comments-preview {
    position: relative;
    height: var(--comments-preview-height, auto);
    max-height: none;
    overflow: hidden;
    margin: 0 0 60px;
    padding: 0;
    box-sizing: border-box;
    transition: height .3s ease;
}

/* Stopniowe rozmycie komentarzy */

.single-comments-content .comments-preview:not(.is-expanded)::after {
    content: "";
    position: absolute;
    top: var(--comments-fade-start, 160px);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0px,
        rgba(255, 255, 255, 0.12) 35px,
        rgba(255, 255, 255, 0.30) 85px,
        rgba(255, 255, 255, 0.55) 145px,
        rgba(255, 255, 255, 0.78) 210px,
        rgba(255, 255, 255, 0.93) 275px,
        #fff 340px
    );
    pointer-events: none;
    z-index: 2;
}

/* Przycisk „Zobacz wszystkie” */

.single-comments-content .comments-preview-overlay {
    position: absolute;
    top: calc(var(--comments-fade-start, 160px) + 170px);
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    z-index: 3;
    pointer-events: none;
}

.single-comments-content .comments-show-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border: none;
    border-radius: 40px;
    background: #b4d8d4;
    color: #353535;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color .2s ease;
}

.single-comments-content .comments-show-all:hover {
    background: rgba(180, 216, 212, 0.75);
}

/* Stan rozwinięty */

.single-comments-content .comments-preview.is-expanded {
    height: auto;
    max-height: none;
    overflow: visible;
}

.single-comments-content .comments-preview.is-expanded::after,
.single-comments-content .comments-preview.is-expanded .comments-preview-overlay {
    display: none;
}

.single-comments-content .comments-preview.is-expanded
> .comment-list > li.comment {
    opacity: 1;
}

/* =========================================================
   FORMULARZ KOMENTARZY
========================================================= */

.single-comments .comment-form label {
    display: block;
    margin-bottom: 10px;
    color: #333333;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.single-comments .comment-form textarea,
.single-comments .comment-form input[type="text"],
.single-comments .comment-form input[type="email"] {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: #f4f4f4;
    color: #333333;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 200;
    box-sizing: border-box;
    box-shadow: none;
}

.single-comments .comment-form textarea {
    min-height: 220px;
    resize: vertical;
}

.single-comments .comment-form textarea:focus,
.single-comments .comment-form input[type="text"]:focus,
.single-comments .comment-form input[type="email"]:focus {
    outline: 1px solid #DEDEDE;
    outline-offset: 0;
    border-color: transparent;
    box-shadow: none;
}

.single-comments .comment-form p {
    margin: 0 0 24px;
}

/* Ukryj pole witryny i zgodę na zapamiętanie danych */

.single-comments .comment-form-url,
.single-comments .comment-form-cookies-consent {
    display: none !important;
}

/* Przycisk wysyłania */

.single-comments .form-submit {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.single-comments .form-submit input[type="submit"] {
    margin-left: auto;
padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: #b4d8d4;
    color: #353535;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s ease;
}

.single-comments .form-submit input[type="submit"]:hover {
    background: rgba(180, 216, 212, 0.75);
}

/* =========================================================
   RESPONSYWNOŚĆ
========================================================= */

@media (max-width: 768px) {
    .single-comments {
        margin-top: 60px;
        padding: 40px 0 30px;
    }

    .single-comments-inner {
        width: 100%;
        padding: 0 20px;
    }

    .single-comments .comments-title {
        font-size: 30px;
    }

    .single-comments-content .comment-body {
        padding: 22px;
        border-radius: 18px;
    }

    .single-comments-content .comment-list .children {
        margin: 20px 0 0 10px !important;
        padding-left: 12px !important;
    }

    .single-comments-content .children .comment-body {
        padding: 20px;
        border-radius: 18px;
    }

    .single-comments-content .comment-author-date {
        font-size: 15px;
    }

    .single-comments .comment-form textarea {
        min-height: 180px;
    }

    .single-comments-content .comments-show-all {
        gap: 10px;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* =========================================================
   WSPÓLNE MARGINESY — NAJNOWSZE WPISY, MAPA, INSTAGRAM
   Zmieniasz tylko wartości --gutter
========================================================= */

:root {
    --gutter: 40px;
    --content-max: 1200px;
}

@media (max-width: 1024px) {
    :root { --gutter: 30px; }
}

@media (max-width: 768px) {
    :root { --gutter: 20px; }
}

/* NAJNOWSZE WPISY — ta sama szerokość treści co mapa */
.latest-posts {
    width: min(var(--content-max), calc(100% - 2 * var(--gutter)));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* MAPA — ten sam boczny odstęp */
.travel-map {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* INSTAGRAM (nagłówek) — też spójnie */
.instagram-header {
    width: min(var(--content-max), calc(100% - 2 * var(--gutter)));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* KARTY W OKNIE WYSZUKIWANIA:
   tytuł = 1 linia z "...", podtytuł = maksymalnie 2 linie z "..." */

.sm-card-overlay {
    min-width: 0;
}

.sm-card-title {
    display: block;
    min-width: 0;
    max-width: 100%;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-card-subtitle {
    display: -webkit-box;
    min-width: 0;
    max-width: 100%;
    font-family: 'Nunito', sans-serif;
    font-size:12px;
    font-weight: 300;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;

    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 1024px) {
    .sm-card {
        aspect-ratio: 1 / 1;   /* odwrotnie niż 4 / 3 na komputerze */
    }
        .sm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (max-width: 1200px) {
        .sm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}


/* =========================================================
   OKNO WYSZUKIWANIA — TELEFON I TABLET (do 1000 px)
========================================================= */

@media (max-width: 1000px) {

    /* jedna kolumna, całe okno przewijane */
    .sm-panel {
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding-top: 0px;
        background: transparent;
        display: block;
        overflow-y: auto;
    }

    .sm-sidebar,
    .sm-results {
        overflow: visible;
    }
    
        .sm-results {
        background: #ffffff;
        min-height: 100vh;   /* gdy wpisów jest mało, biel i tak wypełnia ekran */
    }

    /* 1. KRZYŻYK PO PRAWEJ OD SZUKAJKI, NA SAMEJ GÓRZE */

    .sm-search {
        margin-right: 56px;          /* 44 px krzyżyk + 12 px odstępu */
    }

    .sm-results-top {
        position: static;            /* krzyżyk odnosi się do .sm-panel */
    }

    .sm-close {
        position: absolute;
        top: 28px;                   /* 24 px padding + (52 − 44) / 2 */
        right: 22px;                 /* tyle samo co padding sidebaru */
        z-index: 5;
    }

    /* 2. REGION I TEMAT: JEDNA LINIA, PRZEWIJANA PALCEM */

    .sm-chips,
    .sm-chips-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;

        overflow-x: auto;
        overflow-y: hidden;

        /* przewijanie sięga do krawędzi ekranu */
        margin: 0 -22px;
        padding: 0 22px;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sm-chips::-webkit-scrollbar,
    .sm-chips-grid::-webkit-scrollbar {
        display: none;
    }

    .sm-chips .sm-chip,
    .sm-chips-grid .sm-chip {
        flex: 0 0 auto;
        width: auto;
        padding: 10px 18px;
        white-space: nowrap;
    }
    
    
}

@media (max-width: 1000px) {

    /* szukajka zostawia miejsce na krzyżyk po prawej */
    .sm-search {
        margin-right: 64px;          /* 52 px krzyżyk + 12 px odstępu */
    }

    /* krzyżyk: ten sam kształt, wysokość i tło co szukajka */
    .sm-close {
        position: absolute;
        top: 24px;                   /* tyle samo co padding-top sidebaru */
        right: 22px;                 /* tyle samo co padding sidebaru */
        z-index: 5;

        width: 52px;
        height: 52px;

        border: 0;
        border-radius: 14px;         /* jak .sm-search */
        background: #ffffff;

        font-size: 24px;
        font-weight: 400;
        line-height: 1;
        color: #333333;              /* jak ikona lupy w szukajce */
    }
    
    
}

/* =========================================================
   BRAK AUTOMATYCZNEGO ZOOMU PRZY KLIKNIĘCIU W POLE (iOS)
   Każde pole formularza min. 16 px, na każdym urządzeniu
========================================================= */

input,
select,
textarea,
.sm-search input,
.header-search-input,
.about-contact .about-contact-field input:not([type="checkbox"]),
.about-contact .about-contact-field select,
.about-contact .about-contact-field textarea,
.about-contact-form input,
.about-contact-form select,
.about-contact-form textarea,
.single-comments .comment-form textarea,
.single-comments .comment-form input[type="text"],
.single-comments .comment-form input[type="email"] {
    font-size: 16px !important;
}

/* OKNO WYSZUKIWANIA — TELEFON I TABLET: BEZ ETYKIET "REGION" I "TEMAT" */
@media (max-width: 1000px) {
    .sm-label {
        display: none;
    }

    /* etykiety dawały odstęp nad chipami, więc dodajemy go z powrotem */
    .sm-search {
        margin-bottom: 18px;
    }

    .sm-chips-grid {
        margin-bottom: 10px;
    }
}

/* =========================================================
   OKNO WYSZUKIWANIA — TELEFON I TABLET:
   tylko zmiana koloru, bez animacji i poświat
========================================================= */

@media (max-width: 1000px) {

    /* bez podświetlenia dotykowego, obrysu i animacji */
    .sm-chip,
    .sm-clear,
    .sm-close {
        -webkit-tap-highlight-color: transparent;
        outline: none;
        box-shadow: none;
        transition: none;
        transform: none;
    }

    /* hover nie zostaje "przyklejony" po dotknięciu */
    .sm-chip:hover,
    .sm-chip:focus,
    .sm-chip:active {
        background: #ebe6de;
        color: #333333;
        transform: none;
    }

    .sm-close:hover,
    .sm-close:focus,
    .sm-close:active {
        background:#ebe6de;
        color: #333333;
    }

    .sm-clear:hover,
    .sm-clear:focus,
    .sm-clear:active {
        color: #333333;
    }

    /* jedyna zmiana po wyborze: kolor aktywnego chipa
       (musi być PO regułach hover powyżej) */
    .sm-chip.is-active,
    .sm-chip.is-active:hover,
    .sm-chip.is-active:focus,
    .sm-chip.is-active:active {
        background: #333333;
        color: #ffffff;
    }
    
    
}

/* =========================================================
   MENU MOBILNE — MIEJSCA: KONTYNENTY + KRAJE
========================================================= */

@media (max-width: 1000px) {

    /* pasek kontynentów: jedna linia, przewijana, do krawędzi ekranu */
    .mm-tabs {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;

        margin: 0 -25px;
        padding: 0 25px;

        overflow-x: auto;
        overflow-y: hidden;
        border-bottom: 1px solid #ffffff;

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .mm-tabs::-webkit-scrollbar {
        display: none;
    }

    .mm-tab {
        position: relative;
        flex: 0 0 auto;

        padding: 14px 12px;

        border: 0;
        background: none;

        font-family: "Nunito", sans-serif;
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
        color: #8a8580;

        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mm-tab.is-active {
        color: #333333;
    }

    .mm-tab.is-active::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 0px;
        height: 3px;

        border-radius: 999px;
        background: #333333;
    }

    /* kraje wybranego kontynentu */
    .mm-panel {
        display: none;
        padding-top: 20px;
    }

    .mm-panel.is-active {
        display: block;
    }

    .mm-countries {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .mm-country {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        min-width: 0;
        min-height: 38px;
        padding: 0 8px;

        border-radius: 999px;
        background: #f5f3f0;

        font-family: "Nunito", sans-serif;
        font-size: 12px;
        font-weight: 800;
        color: #2b2623;

        -webkit-tap-highlight-color: transparent;
    }

    .mm-country-flag {
        flex-shrink: 0;
        font-size: 14px;
        line-height: 1;
    }

    .mm-country-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* tablet: 4 kolumny */
@media (min-width: 600px) and (max-width: 1000px) {
    .mm-countries {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =========================================================
   MENU MOBILNE — MIEJSCA: KROPKI + PRZESUWANIE
========================================================= */

@keyframes mmPanelIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 1000px) {

    /* pionowe przewijanie działa, poziome obsługuje JS */
    .mm-panels {
        touch-action: pan-y;
        min-height: 300px; /* <-- dopasuj do kontynentu z największą liczbą krajów */
    }

    /* delikatne pojawienie się krajów po zmianie kontynentu */
    .mm-panel.is-active {
        animation: mmPanelIn .25s ease;
    }

    .mm-dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        margin-top: 24px;
    }

    .mm-dot {
        width: 10px;
        height: 10px;
        padding: 0;

        border: 0;
        border-radius: 999px;
        background: #e4e0db;

        cursor: pointer;
        -webkit-tap-highlight-color: transparent;

        transition: width .25s ease, background-color .25s ease;
    }

    .mm-dot.is-active {
        width: 32px;
        background: #333333;
    }
}


/* =========================================================
   SLIDER WPISÓW
========================================================= */

.country-posts-slider {
    position: relative;
    width: 100%;
    min-width: 0;
}

.country-posts-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.country-posts-track::-webkit-scrollbar {
    display: none;
}

.country-posts-track > .country-post-card {
    display: flex;
    flex: 0 0 calc((100% - 48px) / 3);
    flex-direction: column;
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}

.country-post-card[hidden] {
    display: none !important;
}

/* Zdjęcia kart */

.country-post-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.country-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.country-post-card:hover .country-post-image img {
    transform: scale(1.03);
}



/* =========================================================
   TABLET I TELEFON
========================================================= */

@media (max-width: 1000px) {
    .country-posts-track > .country-post-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .country-slider-prev {
        left: 6px;
    }

    .country-slider-next {
        right: 6px;
    }
}

@media (max-width: 768px) {

    .country-posts-track {
        gap: 16px;
    }

    .country-posts-track > .country-post-card {
        flex-basis: 85%;
    }
}


/* Slider przewijany dotykiem i gestem */

.country-posts-slider {
    position: relative;
    width: 100%;
    min-width: 0;
}

.country-posts-track {
    display: flex;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
}

.country-posts-track::-webkit-scrollbar {
    display: none;
}

.country-posts-track > .country-post-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.country-post-card[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .country-posts-track > .country-post-card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .country-posts-track {
        gap: 16px;
    }

    .country-posts-track > .country-post-card {
        flex-basis: 85%;
    }
}

/* Przeciąganie sliderów myszką */

@media (hover: hover) and (pointer: fine) {
    .country-posts-track,
    .country-category-filters {
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }

    .country-posts-track.is-dragging,
    .country-category-filters.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto !important;
        scroll-snap-type: none !important;
    }

    .country-posts-track.is-dragging *,
    .country-category-filters.is-dragging * {
        pointer-events: none;
    }

    .country-posts-track img {
        -webkit-user-drag: none;
    }
}

.country-hero-subtitle {
    max-width: 680px;
    margin: 20px 0 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .country-hero-subtitle {
        margin-top: 14px;
        font-size: 16px;
    }
}


/* =========================================================
   KARTY WPISÓW — TYTUŁ I PODTYTUŁ NA ZDJĘCIU
========================================================= */

.country-post-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    color: #ffffff;
    text-decoration: none;
}

.country-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.country-post-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.25) 40%,
        rgba(0, 0, 0, 0) 75%
    );
}

.country-post-content {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.country-post-title {
    display: block;
    margin-bottom: 5px;
    font-size: 22px;
    font-family: 'Nunito';
    font-weight: 700;
    color: #ffffff;
    line-height: 30px;
}

.country-post-subtitle {
    display: block;
    max-width: 520px;
    font-family: 'Nunito';
    font-weight: 200;
    font-size: 15px;
    line-height: 18px;
    color: #ffffff;
}

.country-post-image:hover img {
    transform: scale(1.0);
}

@media (max-width: 768px) {

    .country-post-content {
        right: 16px;
        bottom: 18px;
        left: 16px;
        gap: 7px;
    }

}


/* Karty na stronie tematu — tekst na zdjęciu */

.theme-post-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.76) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0) 75%
    );
}

.theme-post-content {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff;
}

.theme-post-category {
    font-size: 11px;
    font-weight: 500;
    font-family: 'Nunito';
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff;
}

.theme-post-title {
    display: block;
    margin-bottom: 5px;
    font-size: 22px;
    font-family: 'Nunito';
    font-weight: 700;
    line-height: 30px;
}

.theme-post-subtitle {
    display: block;
    max-width: 520px;
    font-family: 'Nunito';
    font-weight: 200;
    font-size: 15px;
    line-height: 18px;
    color: #ffffff
}

@media (max-width: 768px) {
    .theme-post-content {
        right: 16px;
        bottom: 18px;
        left: 16px;
        gap: 7px;
    }

}


/* Siatka wpisów */
.country-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px 25px;
    width: 100%;
}

.country-posts-grid .country-post-card[hidden],
.country-posts-more-wrapper[hidden] {
    display: none !important;
}

.country-posts-grid .country-post-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f2f0ed;
}

.country-posts-grid .country-post-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    color: #ffffff;
    text-decoration: none;
}

.country-posts-grid .country-post-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.country-posts-grid .country-post-image:hover img {
    transform: scale(1.03);
}

.country-posts-grid .country-post-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.05) 75%
    );
}

.country-posts-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.country-posts-more {
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    background: #8fbcb7;
    color: #ffffff;
    font: inherit;
    cursor: pointer;
}

.country-posts-more:hover {
    background: #8fbcb7;
    color: #ffffff;
}

@media (max-width: 1200px) {
    
    .country-posts {
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 30px 0 80px;
}

    .country-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 768px) {
    
    .country-posts{
        width: calc(100% - 40px);
        margin: 0 auto;
        padding: 25px 0 80px;
        
    }
    
    .country-posts-grid {
        grid-template-columns: 1fr;
        gap: 25px 25px;
    }

    .country-posts-grid .country-post-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* =========================================================
   OKNO WYSZUKIWANIA — "WYCZYŚĆ FILTRY" W LINII Z LICZNIKIEM
   (tylko telefon i tablet)
========================================================= */

/* komputer: ten przycisk jest zawsze ukryty */
.sm-clear-mobile {
    display: none;
}

@media (max-width: 1000px) {

    /* telefon i tablet: ukryj przycisk z sidebaru */
    .sm-sidebar .sm-clear {
        display: none;
    }

    /* przycisk w linii z licznikiem, po prawej */
    .sm-clear-mobile {
        margin: 0 0 0 auto;
        padding: 0;

        font-family: "Nunito", sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: none;
        color: #8a8580;

        -webkit-tap-highlight-color: transparent;
    }

    .sm-clear-mobile:hover,
    .sm-clear-mobile:active {
        color: #8a8580;
        text-decoration: none;
    }

    /* widoczny tylko, gdy są wybrane filtry */
    .sm.has-filters .sm-clear-mobile {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
}

/* =========================================================
   OKNO WYSZUKIWANIA (KOMPUTER) — "WYCZYŚĆ FILTRY" PRZY "REGION"
========================================================= */

.sm-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 0 12px;
}

.sm-label-row .sm-label {
    margin: 0;
}

.sm-clear.sm-clear-desktop {
    display: none;
    align-items: center;
    gap: 6px;

    margin: 0;
    padding: 0;

    font-family: "Nunito", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: #8a8580;

    cursor: pointer;
}

.sm-clear.sm-clear-desktop:hover {
    color: #333333;
}

.sm-clear-desktop svg {
    flex-shrink: 0;
}

/* widoczny tylko, gdy są wybrane filtry */
.sm.has-filters .sm-clear.sm-clear-desktop {
    display: inline-flex;
}

/* telefon i tablet: etykiety są ukryte, a przycisk jest w linii z licznikiem */
@media (max-width: 1000px) {
    .sm-label-row {
        display: none;
    }
}

/* ikona × w przyciskach "Wyczyść filtry" */
.sm-clear svg {
    flex-shrink: 0;

    width: 7px;            /* rozmiar ikony */
    height: 7px;
}

.sm-clear svg path {
    stroke-width: 2.4;     /* grubość kreski */
}

.sm-empty {
    margin: 120px 0;
    text-align: center;
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 200;
    line-height: 1.5;
    color: #8a8580;
}


/* =========================================================
   OKNO WYSZUKIWANIA (KOMPUTER) — PASEK PRZEWIJANIA NIŻEJ
========================================================= */

@media (min-width: 1001px) {

    /* prawa część nie przewija się sama, tylko układa elementy w kolumnie */
    .sm-results {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding-bottom: 30px;
        min-height: 0;
    }

    .sm-results-top {
        flex: 0 0 auto;
    }

    /* kontener wpisów: tu jest przewijanie, więc pasek zaczyna się pod licznikiem */
    .sm-results-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding-right: 14px;
        padding-bottom: 0px;

        scrollbar-width: thin;
        scrollbar-color: #d9d3cb transparent;
    }

    .sm-results-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .sm-results-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .sm-results-scroll::-webkit-scrollbar-thumb {
        background: #d9d3cb;
        border-radius: 999px;
    }

    .sm-results-scroll::-webkit-scrollbar-thumb:hover {
        background: #c4bcb2;
    }
}

/* napis "Wyszukaj..." znika po kliknięciu w pole */
.sm-search input:focus::placeholder {
    color: transparent;
}

.sm-search input {
    caret-color: #333333;
}

/* krzyżyk zamykający okno: zaokrąglone końce kresek */
.sm-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sm-close svg {
    width: 13px;           /* rozmiar krzyżyka */
    height: 13px;
}

.sm-close svg path {
    stroke-width: 1.4;     /* grubość kreski */
}

/* =========================================================
   OKNO WYSZUKIWANIA (TELEFON I TABLET) - BEZ PASKA PRZEWIJANIA
========================================================= */

@media (max-width: 1000px) {

    .sm-panel,
    .sm-results {
        scrollbar-width: none;          /* Firefox */
        -ms-overflow-style: none;       /* stary Edge */
    }

    .sm-panel::-webkit-scrollbar,
    .sm-results::-webkit-scrollbar {
        display: none;                  /* Chrome, Safari, iOS */
        width: 0;
        height: 0;
    }
}

/* =========================================================
   STRZAŁKI SVG (maska) — kolor z currentColor
========================================================= */

:root {
    --arrow-svg: url("/wp-content/themes/zmienny-horyzont/images/arrow333-thick.svg");
}

/* 1. Menu główne + menu mobilne (strzałka w dół) */
.nav-arrow {
    width: 10px;
    height: 10px;

    border: 0;
    border-radius: 0;

    background-color: currentColor;
    -webkit-mask: var(--arrow-svg) center / contain no-repeat;
            mask: var(--arrow-svg) center / contain no-repeat;

    transform: rotate(90deg);              /* w prawo -> w dół */
}

/* menu mobilne, rozwinięte: strzałka w górę
   (ta sama specyficzność co stara reguła z rotate(225deg),
   a ta jest później w pliku, więc wygrywa) */
.mm-item.is-open .mm-toggle .nav-arrow {
    transform: rotate(-90deg);
}

/* 2. Mega menu Miejsca (kontynenty, w prawo) */
.continent-arrow {
    width: 8px;
    height: 8px;

    border: 0;
    border-radius: 0;

    background-color: currentColor;
    -webkit-mask: var(--arrow-svg) center / contain no-repeat;
            mask: var(--arrow-svg) center / contain no-repeat;

    transform: none;
}

/* 3. Mega menu Inspiracje (kategorie, w prawo) */
.inspirations-menu-inner .inspiration-category-toggle::after {
    width: 8px;
    height: 8px;

    border: 0;
    border-radius: 0;

    background-color: currentColor;
    -webkit-mask: var(--arrow-svg) center / contain no-repeat;
            mask: var(--arrow-svg) center / contain no-repeat;

    transform: translateY(-50%);
}

/* strzałka SVG przy "Zobacz wszystko" */
.inspiration-card-cta::after {
    content: "";
    display: inline-block;

    width: 6px;               /* rozmiar strzałki */
    height: 6px;
    margin-left: 4px;         /* odstęp od napisu */

    background-color: #ffffff;
    -webkit-mask: var(--arrow-svg) center / contain no-repeat;
            mask: var(--arrow-svg) center / contain no-repeat;

}

/* =========================================================
   MENU MOBILNE — BEZ MIGNIĘCIA PRZY ROZWIJANIU
========================================================= */

@media (max-width: 1000px) {

    /* bez szarego podświetlenia po dotknięciu */
    .mm-toggle,
    .mm-link,
    .mm-sublink,
    .mm-country,
    .mm-tab,
    .mm-dot {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        outline: none;
    }

    /* bez animacji krajów przy rozwijaniu menu */
    .mm-panel.is-active {
        animation: none;
    }

    /* płynny pozostaje tylko obrót strzałki */
    .mm-toggle {
        user-select: none;
        -webkit-user-select: none;
    }
}

/* =========================================================
   MENU MOBILNE — MIEJSCA: PŁYNNE PRZESUWANIE KONTYNENTÓW
========================================================= */

@media (max-width: 1000px) {

    /* poziomy pas z panelami, przewijany natywnie z przyciąganiem */
    .mm-panels {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;

        scrollbar-width: none;
    }

    .mm-panels::-webkit-scrollbar {
        display: none;
    }

    /* wszystkie panele leżą obok siebie, każdy na pełną szerokość */
    .mm-panel,
    .mm-panel.is-active {
        display: block;
        flex: 0 0 100%;
        min-width: 0;

        scroll-snap-align: start;
        scroll-snap-stop: always;     /* szybki ruch nie przeskoczy dwóch kontynentów */

        animation: none;
    }
}

@media (max-width: 1000px) {

    .mm-panels {
        min-height: 0;          /* wysokość = najwyższy panel (Europa) */
    }

    .mm-dots {
        margin-top: 18px;       /* odstęp kropek od krajów */
    }
}



@media (max-width: 1000px) {
    #mobile-menu,
    #mobile-menu.is-open {
        transition: none !important;
        animation: none !important;
            -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    #mobile-menu .mobile-menu-top,
    #mobile-menu .mobile-menu-body {
        animation: none !important;
        transition: none !important;
            -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* iOS Safari — tło wyszukiwarki a dolny pasek adresu */
@supports (-webkit-touch-callout: none) {
    #search-modal {
        position: fixed;
        inset: 0;
        height: 100%;
        transition: none !important;
    }

    #search-modal .sm-backdrop {
        transition: none !important;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (max-width: 1000px) {
.sm-backdrop {
    background: #ffffff;
}}

@media (max-width: 1000px) {
    #search-modal .sm-chip:hover {
        background: #ffffff;
        transform: none;
    }

    #search-modal .sm-chip.is-active,
    #search-modal .sm-chip.is-active:hover {
        background: #eae5df;
        color: #2b2623;
    }
}

@media (max-width: 1000px) {
    #search-modal .sm-search input {
        color: #333333 !important;
        -webkit-text-fill-color: #333333 !important;
        opacity: 1 !important;
    }

    #search-modal .sm-search input::placeholder {
        color: #8a8580 !important;
        -webkit-text-fill-color: #8a8580 !important;
        opacity: 1 !important;
    }
}



@media (max-width: 1000px) {

    /* EMOJI PRZED NAZWAMI */
    #mobile-menu .mm-inspiracje .mm-sublink[href*="/natura/"]::before {
        content: "🌿";
    }

    #mobile-menu .mm-inspiracje .mm-sublink[href*="/miasta/"]::before {
        content: "🏙️";
    }

    #mobile-menu .mm-inspiracje .mm-sublink[href*="/w-drodze/"]::before {
        content: "🧭";
    }

    #mobile-menu .mm-inspiracje .mm-sublink[href*="/hiking/"]::before {
        content: "⛰️";
    }

    #mobile-menu .mm-inspiracje .mm-sublink[href*="/kuchnia/"]::before {
        content: "🍜";
    }

    #mobile-menu .mm-inspiracje .mm-sublink[href*="/kultura/"]::before {
        content: "🎭";
    }

    #mobile-menu .mm-inspiracje .mm-sublink::before {
        display: inline-block;
        flex-shrink: 0;
        margin-right: 6px;
        font-size: 12px;
        line-height: 1;
    }

    /* UKŁAD CHMUREK */
    #mobile-menu .mm-inspiracje {
        display: none;
        flex-wrap: wrap;
        gap: 16px 8px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    #mobile-menu .mm-item.is-open .mm-inspiracje {
        display: flex;
    }

    /* WYGLĄD JAK CHMURKI KRAJÓW */
    #mobile-menu .mm-inspiracje .mm-sublink {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;

        flex: 0 0 calc((100% - 16px) / 3);
        min-width: 0;
        min-height: 35px;

        padding: 10px 6px;
        border-radius: 999px;
        background: #f5f3f0;

        font-family: "Nunito", sans-serif;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.2;
        color: #2b2623;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
    }
}


/* ZOBACZ RÓWNIEŻ — tekst na zdjęciu */

.post-sidebar-item {
  margin-bottom: 0px;
}

.post-sidebar-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    isolation: isolate;
    text-decoration: none;
}

.post-sidebar-image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-sidebar-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.18) 45%,
        transparent 75%
    );
}

.post-sidebar-item-content {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-sidebar-title {
    display: block;
    color: #ffffff;
    font-family: 'Nunito';
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.post-sidebar-subtitle {
    display: block;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
}

.post-sidebar-image:hover .post-sidebar-image-img {
    transform: scale(1.04);
}


/* ZOBACZ RÓWNIEŻ — mniejsze odstępy między kartami */
.post-sidebar .post-sidebar-block:last-child {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-sidebar .post-sidebar-item {
    margin: 0 !important;
    padding: 0 !important;
}

.post-sidebar .post-sidebar-image {
    margin: 0;
    aspect-ratio: 4 / 3;
}

/* Podtytuł na zdjęciu */
.post-sidebar-subtitle {
    line-height: 1.4;
}

/* Mniejszy odstęp pod nagłówkiem ZOBACZ RÓWNIEŻ */
.post-sidebar-block:last-child .post-sidebar-label {
    display: block;
    margin-bottom: 10px;
}

.post-sidebar-block:last-child {
    gap: 0;
}


/* SINGLE POST — tytuł na zdjęciu na telefonie */
@media screen and (max-width: 1000px) {

    .single-post .post-sidebar-item {
        position: relative !important;
        margin: 0 0 8px !important;
        padding: 0 !important;
    }

    .single-post .post-sidebar-image {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        overflow: hidden;
    }

    .single-post .post-sidebar-image-img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    .single-post .post-sidebar-item-content {
        position: absolute !important;
        right: 20px;
        bottom: 20px;
        left: 20px;
        z-index: 2;
    }

    .single-post .post-sidebar-title {
        display: block !important;
        font-family: "Nunito", sans-serif !important;
        font-size: 24px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

.single-post .post-sidebar-subtitle {
    display: block !important;
    margin-top: 6px;
    font-family: "Nunito", sans-serif !important;
    font-size: 14px !important;
    font-weight: 100 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
}
}


/* STRONA TAGU — tekst na zdjęciach */
.tag-post-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    text-decoration: none;
    isolation: isolate;
}

.tag-post-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tag-post-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.18) 45%,
        transparent 75%
    );
}

.tag-post-content {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.tag-post-category {
    color: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 11px;
    font-weight: 500;
}

.tag-post-title {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}

.tag-post-subtitle {
    display: block;
    color: #ffffff;
    max-width: 520px;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 200;
    line-height: 18px;
}

.tag-post-image:hover > img {
    transform: scale(1.0);
}



@media (max-width: 1000px) {
    
    .tag-post-content {
        right: 16px;
        bottom: 16px;
        left: 16px;
        gap: 5px;
    }
    
}


@media (max-width: 950px) {

    .about-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "text photo"
            "contents contents";
        align-items: start;
        column-gap: 30px;
        row-gap: 35px;
        padding: 100px 0 0;
    }

    /* Pozwala rozmieścić elementy wewnętrzne w głównej siatce */
    .about-intro-left {
        display: contents;
    }

    /* Tekst po lewej */
    .about-intro-text {
        grid-area: text;
        width: 100%;
        min-width: 0;
    }

    /* Zdjęcie po prawej */
    .about-intro-photo {
        grid-area: photo;
        width: 100%;
        min-width: 0;
    }

    .about-intro-photo img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Spis treści pod tekstem i zdjęciem */
    .about-contents {
        grid-area: contents;
        width: 100% !important;
        max-width: none;
        margin: 0 0 40px;
        display: flex;
        flex-direction: column;
        border-radius: 15px;
        overflow: hidden;
        box-sizing: border-box;
        background: #f5f1eb;
    }

    .about-page .about-contents a {
        display: flex;
        align-items: center;
        text-align: left;
        justify-content: flex-start;
        gap: 12px;
        padding: 8px 20px;
        border-bottom: 3px solid #ffffff;
        font-family: "Nunito", sans-serif;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        letter-spacing: 0.5px;
        color: #333333;
        text-decoration: none;
        transition: background-color .2s ease, color .2s ease;
    }

    .about-page .about-contents .about-contents-arrow {
        margin-left: auto;
    }
}

@media (max-width: 820px) {

    .about-intro {
        display: flex;
        flex-direction: column;
        padding: 100px 0 0px;
        gap: 40px;
    }

    .about-intro-left {
        display: contents;
    }

    .about-intro-text {
        order: 1;
        width: 100%;
    }

    .about-intro-photo {
        order: 2;
        width: 100%;
    }

    .about-contents {
        order: 3;
        width: 100%;
        margin: 0 0 40px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
    background: #f5f1eb; 
        
    }
    
    .about-page .about-contents a {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 20px;
    border-bottom: 3px solid #ffffff;
    font-family: "Nunito", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #333333;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;

}

.about-page .about-contents .about-contents-arrow {
    margin-left: auto; /* strzałka po prawej */
}

}

@media (min-width: 769px) and (max-width: 1000px) {

    .about-page .about-mission-inner,
    .about-page .about-process-inner,
    .about-page .about-timeline-header,
    .about-page .about-timeline-list {
        width: calc(100% - 60px);
        max-width: 900px;
        box-sizing: border-box;
    }

    .about-page .about-timeline-item {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
    }

    .about-page .about-timeline-content {
        overflow-wrap: break-word;
    }

    .about-page .about-contents {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {

    .about-page .about-collaboration {
        padding: 60px 30px;
    }

    .about-page .about-collaboration-inner {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
    }

    .about-page .about-collaboration h2 {
        font-size: 38px;
        line-height: 1.2;
    }

    .about-page .about-collaboration p,
    .about-page .about-collaboration li {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {

    .about-page .about-collaboration {
        padding: 20px 20px;
        padding-top: 0px;
        padding-bottom: 70px;
    }

    .about-page .about-collaboration-inner {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    .about-page .about-collaboration h2 {
        font-size: 25px;
        line-height: 1.2;
    }

    .about-page .about-collaboration h3 {
        font-size: 21px;
        line-height: 1.35;
    }

    .about-page .about-collaboration p,
    .about-page .about-collaboration li {
        font-size: 15px;
        line-height: 1.6;
        overflow-wrap: anywhere;
    }

    .about-page .about-collaboration-points {
        padding-left: 0;
    }

    .about-page .about-collaboration-points li {
        padding-left: 25px;
        margin-bottom: 14px;
    }

    .about-page .about-collaboration-contact {
        font-size: 15px;
        line-height: 1.6;
    }
    

    .about-intro-text p {
        font-size: 15px;
    }
    
    .about-page h2 {
    font-size: 25px;
    line-height: 1.2;
}

}

@media (max-width: 768px) {

    .about-page .about-mission-inner,
    .about-page .about-process-inner {
        width: calc(100% - 40px) !important;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

}

@media (max-width: 1000px) {

    .about-page .about-contents {
        width: 100% !important;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

}


@media (max-width: 768px) {

    /* Nagłówek — margines 20 px */
    body .about-page .about-timeline-header {
        width: auto !important;
        max-width: none !important;
        margin: 0 20px 35px !important;
        text-align: left;
        
        
    }

    /* Kontener osi czasu — marginesy po bokach */
    body .about-page .about-timeline-list {
        width: auto !important;
        max-width: none !important;
        margin: 0 20px !important;
    }

    /* Usunięcie linii */
    body .about-page .about-timeline-list::before {
        display: none !important;
        content: none !important;
    }

    /* Usunięcie kropek */
    body .about-page .about-timeline-marker {
        display: none !important;
    }

    /* Zdjęcie nad tekstem */
    body .about-page .about-timeline-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        margin: 0 0 45px !important;
        width: 100% !important;
    }

    body .about-page .about-timeline-photo {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    body .about-page .about-timeline-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Zapobieganie poziomemu przewijaniu na telefonie */
@media (max-width: 768px) {

    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .about-page,
    .about-page main,
    .about-page section {
        max-width: 100%;
        box-sizing: border-box;
    }

    .about-page img {
        max-width: 100%;
    }
}

@media (max-width: 1000px) {

    .about-page .about-intro-photo,
    .about-page .about-intro-photo img {
        border-radius: 15px !important;
    }

    .about-page .about-intro-photo {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        overflow: hidden !important;
    }

    .about-page .about-intro-photo img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 4 / 5 !important;
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {

    .about-page .about-intro-photo {
        aspect-ratio: 1 / 1 !important;
    }

    .about-page .about-intro-photo img {
        aspect-ratio: 1 / 1 !important;
    }
}

/* O NAS — marginesy sekcji na telefonie */
@media (max-width: 768px) {
    .about-page .about-intro {
        width: auto !important;
        max-width: none !important;
        margin-left: 20px !important;
        margin-right: 20px !important;
        box-sizing: border-box !important;
    }

    .about-page .about-intro-text,
    .about-page .about-intro-photo,
    .about-page .about-contents {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .about-page .about-intro-photo img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        
        
    }
    
        /* Nagłówek — margines 20 px */
    .about-timeline-header {
        font-size:25;
    }
}


/* Formularz O NAS — pole wyboru tematu */
.about-page .about-contact-form #contact-subject {
    display: block !important;
    font-size:16px !important;
    min-height: 50px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.about-contact-form label {
    font-family: 'Nunito';

}

.about-page ul {
    list-style: none;
    padding-left: 28px;
    margin-left: 0;
}

.about-page ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 16px;
}

.about-page ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #A5CECA;
}

@media (min-width: 1001px) {
    .about-timeline,
    .about-collaboration {
        width: auto;
        max-width: none;
        margin-left: max(40px, calc((100% - 1292px) / 2));
        margin-right: max(40px, calc((100% - 1292px) / 2));
    }}

.single-comments .comment-form textarea {
    padding: 14px 20px 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #f4f4f4;
    resize: vertical;
}



/* SPIS TREŚCI — stabilny wygląd na ekranach dotykowych */
@media (hover: none) and (pointer: coarse) {

    .about-page .about-contents,
    .about-page .about-contents a,
    .about-page .about-contents a:hover,
    .about-page .about-contents a:focus,
    .about-page .about-contents a:active,
    .about-page .about-contents .about-contents-arrow {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .about-page .about-contents a,
    .about-page .about-contents a:hover,
    .about-page .about-contents a:focus,
    .about-page .about-contents a:active {
        background-color: transparent !important;
        color: #333333 !important;
        -webkit-tap-highlight-color: transparent;
    }

    .about-page .about-contents .about-contents-arrow,
    .about-page .about-contents a:hover .about-contents-arrow,
    .about-page .about-contents a:focus .about-contents-arrow,
    .about-page .about-contents a:active .about-contents-arrow {
        background-color: #333333 !important;
    }
}



/* LINIA NAD KOMENTARZAMI — wspólne marginesy strony */



/* SINGLE POST — linia nad komentarzami */

.single-comments {
    width: min(1500px, 90%);
    max-width: none;
    margin: 100px auto 0;
    padding: 60px 0 30px;
    border-top: 1px solid #e8e2dc;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .single-comments {
        width: 88%;
        margin-top: 60px;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .single-comments {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .single-comments {
        width: auto;
        margin: 70px 20px 0;
        padding: 40px 0 30px;
        box-sizing: border-box;
    }

    .single-comments-inner {
        width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
}

/* SINGLE — ZOBACZ RÓWNIEŻ */
.single-related {
    margin-top: 80px;
}

.single-related h2 {
    margin-bottom: 35px;
}

.single-related-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.single-related-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: center;
    text-decoration: none;
}

.single-related-item img {
    display: block;
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 7px;
}

.single-related-title {
    margin: 0;
    color: #383838;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.2s ease;
}

.single-related-item:hover .single-related-title {
    color: #9b8170;
}

/* Telefon */
@media (max-width: 768px) {
    .single-related {
        margin-top: 60px;
    }

    .single-related h2 {
        margin-bottom: 28px;
    }

    .single-related-list {
        gap: 22px;
    }

    .single-related-item {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 16px;
    }

    .single-related-item img {
        width: 110px;
        height: 85px;
    }

    .single-related-title {
        font-size: 16px;
        line-height: 1.4;
    }
}






/* =====================================================
   SINGLE — ZOBACZ RÓWNIEŻ: JEDNA WERSJA STYLÓW
===================================================== */

.single-post .single-related {
    display: block;
    width: min(1500px, 90%);
    max-width: none;
    margin: 80px auto 0;
    padding: 0;
    box-sizing: border-box;
}

.single-post .single-related > .post-sidebar-label {
    display: block;
    margin: 0 0 24px;
}

.single-post .single-related-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.single-post .single-related-item {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.single-post .single-related-link {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.single-post .single-related-image {
    display: block;
    position: static;
    width: 100% !important;
    height: 230px !important;
    margin: 0;
    object-fit: cover;
    border-radius: 0;
}

.single-post .single-related-title {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    margin: 0;
    padding: 50px 16px 16px;
    box-sizing: border-box;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65),
        transparent
    );
}


/* ZOBACZ RÓWNIEŻ — PROSTY UKŁAD */

.single-post .post-sidebar .single-related {
    width: 100%;
    max-width: 100%;
    margin: 50px 0 0;
    padding: 0;
    box-sizing: border-box;
}

.single-post .post-sidebar .single-related-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.single-post .post-sidebar .single-related-item {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

.single-post .post-sidebar .single-related-link {
    display: grid !important;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    width: 100%;
    text-decoration: none;
}

.single-post .post-sidebar .single-related-image {
    display: block;
    position: static !important;
    width: 130px !important;
    height: 90px !important;
    margin: 0;
    object-fit: cover;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.single-post .post-sidebar .single-related-title {
    position: static !important;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-family: "Nunito", sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #333333 !important;
    background: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    overflow-wrap: break-word;
    word-break: normal;
}

.single-post .post-sidebar .single-related-link:hover {
    text-decoration: none;
    box-shadow: none;
    transform: none;
}

.single-post .post-sidebar .single-related-link:hover .single-related-image {
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .single-post .post-sidebar .single-related-link {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
    }

    .single-post .post-sidebar .single-related-image {
        width: 110px !important;
        height: 85px !important;
    }
}

/* TABLET — ZOBACZ RÓWNIEŻ W OBRĘBIE MARGINESÓW */

@media (min-width: 700px) and (max-width: 1100px) {

    .single-post .post-sidebar .single-related {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-item {
        width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-link {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .single-post .post-sidebar .single-related-image {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 15px !important;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-title {
        font-family: "Nunito", sans-serif !important;
        color: #333333 !important;
        font-size: 16px;
        line-height: 1.4;
    }
}

/* TELEFON — WIĘKSZE ZDJĘCIA W SEKCJI ZOBACZ RÓWNIEŻ */

@media (max-width: 699px) {
    .single-post .post-sidebar .single-related {
        width: 100% !important;
        max-width: none !important;
    }

    .single-post .post-sidebar .single-related-list {
        width: 100% !important;
    }

    .single-post .post-sidebar .single-related-link {
        display: grid !important;
        grid-template-columns: 50% minmax(0, 1fr) !important;
        gap: 12px;
        width: 100% !important;
        align-items: center;
    }

    .single-post .post-sidebar .single-related-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1.4 / 1 !important;
        object-fit: cover;
        border-radius: 15px !important;
    }

    .single-post .post-sidebar .single-related-title {
        min-width: 0;
        font-family: "Nunito", sans-serif !important;
        color: #333333 !important;
        font-size: 17px !important;
        overflow-wrap: break-word;
    }
    
}

@media (min-width: 700px) and (max-width: 1100px) {

    .single-post .post-sidebar .single-related {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-item {
        width: 100%;
        min-width: 0;
    }

    .single-post .post-sidebar .single-related-link {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .single-post .post-sidebar .single-related-image {
        display: block;
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 15px !important;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-title {
        font-family: "Nunito", sans-serif !important;
        color: #333333 !important;
        font-size: 16px;
        line-height: 1.4;
    }
}

/* TABLET — ZOBACZ RÓWNIEŻ NA CAŁĄ SZEROKOŚĆ KONTENERA */

@media (min-width: 700px) and (max-width: 1100px) {

    .single-post .post-body-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .single-post .post-sidebar {
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
    }

    .single-post .post-sidebar .single-related {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .single-post .post-sidebar .single-related-item {
        width: 100%;
        min-width: 0;
    }

    .single-post .post-sidebar .single-related-link {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .single-post .post-sidebar .single-related-image {
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 15px !important;
    }

    .single-post .post-sidebar .single-related-title {
        font-family: "Nunito", sans-serif !important;
        font-size: 16px;
        line-height: 1.4;
        color: #333333 !important;
    }
}

/* DESKTOP — MNIEJSZA ODLEGŁOŚĆ MIĘDZY TREŚCIĄ A TAGAMI */

@media (min-width: 1100px) {
    body.single-post .post-body-layout {
        grid-template-columns: minmax(0, 3fr) minmax(0, 1fr) !important;
        column-gap: 100px !important;
    }

    body.single-post .post-content {
        max-width: 100% !important;
        min-width: 0;
    }

    body.single-post .post-sidebar {
        min-width: 0;
    }
}

/* TREŚĆ WPISU + SIDEBAR — UKŁAD DESKTOPOWY */

@media (min-width: 1100px) {

    body.single-post .post-body-layout {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
        column-gap: 35px;
        align-items: start;
    }

    body.single-post .post-content {
        max-width: 100%;
        min-width: 0;
    }

    body.single-post .post-sidebar {
        width: 100%;
        max-width: none;
        min-width: 0;
    }
}

/* SINGLE POST — PRZEJŚCIE DO JEDNEJ KOLUMNY */

@media (max-width: 1100px) {
    body.single-post .post-body-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 50px !important;
    }

    body.single-post .post-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    body.single-post .post-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
}


.comments-show-all .comments-toggle-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

/* MAPA — DYMek I IKONA TYLKO NA KOMPUTERZE */
@media (min-width: 1000px) {

    #map-tooltip {
        pointer-events: none;
    }

    #map-tooltip .map-tooltip-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 6px;
        color: #333333;
        flex-shrink: 0;
    }

    #map-tooltip .map-tooltip-link svg {
        display: block;
        width: 12px;
        height: 12px;
        fill: none;
        stroke: #333333;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    #map-tooltip .map-tooltip-link svg path {
        fill: none;
        stroke: #333333;
    }
}

/* IKONA LINKU NA MAPIE — KOMPUTER */
@media (min-width: 1000px) {
    #map-tooltip {
        pointer-events: none;
    }

    #map-tooltip .map-tooltip-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin: 0;
        line-height: 0;
        color: #333333;
    }

    #map-tooltip .map-tooltip-link svg {
        display: block;
        width: 12px;
        height: 12px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

@media (max-width: 768px) {
    .hero-search {
        padding-top: 8px;    
        padding-bottom: 8px;      
        padding-right: 8px;
    }

    .hero-search-button {
        width: 45px;
        height: 45px;
        padding: 0;
        flex: 0 0 45px;
        justify-content: center;
        gap: 0;
        font-size: 0;
        border-radius: 50%;
    }

    .hero-search-button svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
}

.hero-search {
    display: flex;
    align-items: center;
}

.hero-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-search-button svg {
    display: block;
    flex-shrink: 0;
    margin: 0;
}

.hero-search-button {
    margin-left: auto;
}

@media (max-width: 768px) {
    .hero-search-button svg {
        transition: none !important;
    }

    .hero-search-button:hover svg {
        transform: none !important;
    }
}


@media (max-width: 768px) {
    .hero-search-button {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .hero-search-button svg {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
    }

    .hero-search-button:hover svg {
        transform: translate(-50%, -50%) !important;
    }
}

.hero-content {
    opacity: 0;
    animation: heroFadeIn 0.9s ease-out forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
        opacity: 1;
    }
}

.site-footer {
    background-color: #f5f1eb;
}

/* Usunięcie białej przerwy pod formularzem */
.about-page {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}

.about-contact {
    margin-bottom: 10px !important;
}

/* HERO: stała wysokość, niezależna od chowania pasków przeglądarki */
@media (max-width: 1000px) {
    .hero {
        min-height: 0;
        height: 520px;          /* dopasuj do wyglądu, jaki chcesz */
    }

    .hero-image,
    .hero-image-img {
        height: 100%;
        transform: none;
    }
}

/* HERO STRONY GŁÓWNEJ I KRAJU: stała wysokość na telefonie i tablecie */
@media (max-width: 1000px) {
    .hero {
        min-height: 0;
        height: 520px;      /* zapas dla WebView bez obsługi svh */
    }

    .country-hero {
        min-height: 0;
        height: 560px;      /* zapas */
    }

    .hero-image,
    .hero-image-img,
    .country-hero-image,
    .country-hero-image img {
        height: 100%;
        transform: none;
    }
}

@media (max-width: 768px) {
    .country-hero {
        height: 540px;
    }
}

/* Galerie: bez marginesów obrazków i podpisów z .post-content img */
.post-content .wp-block-gallery img {
    margin: 0;
    width: 100%;
    height: 100%;
}

.post-content .wp-block-gallery figcaption {
    margin: 0;
}

/* Odstępy wokół galerii */
.post-content .wp-block-gallery {
    margin: 0 0 30px !important;
}

/* Mniejszy odstęp między dwiema galeriami */
.post-content .wp-block-gallery + .wp-block-gallery {
    margin-top: -20px !important;
}

/* Zdjęcia wewnątrz galerii bez dodatkowych marginesów */
.post-content .wp-block-gallery img {
    margin: 0 !important;
}

/* Odstępy w nagłówku wpisu */
.post-category {
    margin: 0 0 8px;
}

.post-title {
    margin: 0 0 14px;
}

.post-meta {
    margin: 0;
}

/* =====================================================
   SINGLE POST – FULL WIDTH IMAGES MOBILE
===================================================== */

@media screen and (max-width: 768px) {

    /* BLOK KOLUMN – PEŁNA SZEROKOŚĆ */
    .single-post .post-content .wp-block-columns {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc((100% - 100vw) / 2) !important;
        margin-right: calc((100% - 100vw) / 2) !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px;
    }

    /* DWIE KOLUMNY OBOK SIEBIE */
    .single-post .post-content .wp-block-columns > .wp-block-column {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: 50% !important;
    }

    /* ZDJĘCIA W KOLUMNACH */
    .single-post .post-content .wp-block-columns img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* GALERIE WORDPRESS */
    .single-post .post-content .wp-block-gallery {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc((100% - 100vw) / 2) !important;
    }

    .single-post .post-content .wp-block-gallery.columns-2 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

/* POJEDYNCZY OBRAZEK – PEŁNA SZEROKOŚĆ */
@media screen and (max-width: 768px) {

    .single-post .post-content > figure.wp-block-image {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc((100% - 100vw) / 2) !important;
        margin-right: calc((100% - 100vw) / 2) !important;
    }

    .single-post .post-content > figure.wp-block-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* GALERIE – ZACHOWANIE DWÓCH KOLUMN */
    .single-post .post-content .wp-block-gallery.columns-2 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* POJEDYNCZY OBRAZEK – PEŁNA SZEROKOŚĆ NA TELEFONIE */
@media screen and (max-width: 768px) {

    .single-post .post-content > figure.wp-block-image {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc((100% - 100vw) / 2) !important;
        margin-right: calc((100% - 100vw) / 2) !important;
    }

    .single-post .post-content > figure.wp-block-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 !important;
    }
}

/* ODSTĘPY MIĘDZY ZDJĘCIAMI I GALERIAMI */
.single-post .post-content figure.wp-block-image,
.single-post .post-content .wp-block-gallery {
    margin-bottom: 30px;
}

/* Dwa bloki zdjęć lub galerii bezpośrednio po sobie */
.single-post .post-content figure.wp-block-image + figure.wp-block-image,
.single-post .post-content figure.wp-block-image + .wp-block-gallery,
.single-post .post-content .wp-block-gallery + figure.wp-block-image,
.single-post .post-content .wp-block-gallery + .wp-block-gallery {
    margin-top: -20px;
}
