/* === OGÓLNE === */

body.agata-plech .ap-image {
    max-width: 100%;
    height: auto;
}

body.agata-plech .container {
    max-width: 1180px;
    margin: 0 auto;
}

/* === HEADER === */

body.agata-plech header {
    padding: 20px 0;
}

/* === FOOTER === */

body.agata-plech footer {
    padding: 30px 0 40px 0;
}

body.agata-plech .footer-cp {
    padding: 30px 0 30px 0;
    color: #bbb;
    font-size: 14px;
    letter-spacing: 2px;
}

/* === NAWIGACJA === */

body.agata-plech .ap-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

body.agata-plech .ap-nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-size: 17px;
    font-weight: 300;
    margin: 0;
    padding: 0;
    gap: 0;
}

body.agata-plech .ap-nav__list li {
    margin: 0;
    padding: 0;
}

body.agata-plech .ap-nav__list a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    padding: 0 12px;
}

body.agata-plech .ap-nav__list a:hover {
    opacity: 0.7;
}

body.agata-plech .ap-burger {
    display: none;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
}

body.agata-plech .ap-burger__bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 4px 0;
    background-color: #507553;
    border-radius: 5px;
}

.gotobeskidmed {
    border: 1px solid #83A381;
    padding: 15px 24px !important;
    border-radius: 100px;
}

.gotobeskidmed:hover {
    background-color: #f1f5f0;
}

@media (max-width: 769px) {

    body.agata-plech header {
        padding: 10px 0;
    }

    body.agata-plech .ap-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    body.agata-plech .ap-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 10002;
        padding: 12px 0;
    }

    body.agata-plech {
        padding-top: 74px;
    }

    body.agata-plech .ap-header .grid.container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    body.agata-plech .ap-header .col-4_sm-8,
    body.agata-plech .ap-header .col-8_sm-4 {
        width: auto !important;
        flex: 0 0 auto;
    }

    body.agata-plech .ap-brand img {
        max-height: 50px;
        width: auto;
        display: block;
        margin-left: 10px;
    }

    body.agata-plech .ap-burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        background: transparent;
        border: 0;
        padding: 7px;
        cursor: pointer;
        margin: 0;
    }

    body.agata-plech .ap-nav {
        display: none;
        position: fixed;
        top: 74px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 74px);
        background: #fff;
        z-index: 10001;
        overflow: auto;
        padding: 24px 20px;
    }

    body.agata-plech .ap-nav.is-open {
        display: block;
    }

    body.agata-plech .ap-nav__list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
        margin: 0;
        padding: 0;
        gap: 18px;
    }

    body.agata-plech .ap-nav__list li {
        width: 100%;
    }

    body.agata-plech .ap-nav__list a {
        width: 100%;
        display: inline-flex;
        align-items: center;
        padding: 8px 0;
        box-sizing: border-box;
    }

    body.agata-plech .ap-nav__list a img {
        width: 24px;
        height: 24px;
        display: inline-block;
    }

    body.agata-plech .gotobeskidmed {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        white-space: nowrap;
    }

    body.agata-plech .ap-burger.is-active .ap-burger__bar:nth-child(1) {
        transform: translateY(14px) rotate(45deg);
    }

    body.agata-plech .ap-burger.is-active .ap-burger__bar:nth-child(2) {
        opacity: 0;
    }

    body.agata-plech .ap-burger.is-active .ap-burger__bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    body.agata-plech .ap-burger__bar {
        transition: transform .2s ease, opacity .2s ease;
    }

    body.agata-plech.ap-menu-open {
        overflow: hidden;
    }
}


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

body.agata-plech .ap-hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.agata-plech .ap-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

body.agata-plech .ap-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

body.agata-plech .ap-hero-content-inter {
    background: #63726188;
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
    border-radius: 15px;
    padding: 30px;
    width: 45%;
    float: right;
}

body.agata-plech .ap-hero-content-inter h2,
body.agata-plech .ap-hero-content-inter h3,
body.agata-plech .ap-hero-content-inter p {
    color: #fff;
    font-weight: 200;
    font-size: 18px;
}

body.agata-plech .ap-hero-content-inter h2 {
    font-size: 50px;
    margin-bottom: 0;
    padding-bottom: 0;
}

body.agata-plech .ap-hero-content-inter h3 {
    font-size: 30px;
    margin-top: -11px;
    padding-top: 0;
}

@media (max-width: 769px) {

    body.agata-plech .ap-hero-content-inter {
        width: auto;
        float: none;
    }

}





body.agata-plech .ap-section {
    padding: 90px 0;
}

body.agata-plech .ap-section h2 {
    font-weight: 100;
    font-size: 50px;
}

body.agata-plech .ap-section p {
    font-size: 17px;
}

body.agata-plech .ap-section .button {
    border: 1px solid #83A381;
    padding: 16px 44px !important;
    border-radius: 100px;
    background-color: transparent;
    color: #507553;
    font-size: 17px;
    margin-top: 30px;
}

body.agata-plech .ap-section .button:hover {
    background-color: #f1f5f0;
}

body.agata-plech .ap-section .button-white {
    border: 1px solid #fff;
    padding: 16px 44px !important;
    border-radius: 100px;
    background-color: transparent;
    color: #fff;
    font-size: 17px;
    margin-top: 30px;
}

body.agata-plech .ap-section .button-white:hover {
    background-color: #5075534f;
}


.ap-image-omnie {
    max-width: 150px;
    height: auto;
}

.ap-cytat {
    font-family: 'Times New Roman', Times, serif;
    font-size: 15px;
    color: #999;
    font-style: italic;
    padding: 20px 30px;
    margin: 10px 20px;
    letter-spacing: 1px;
    line-height: 16px;
    background-color: #dae5da4f;
    border-radius: 15px;
}




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

body.agata-plech .ap-page-header {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

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

    position: relative;
}

body.agata-plech .ap-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #637261a9;
    z-index: 1;
}

body.agata-plech .ap-page-header__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0;
    text-align: center;
}

body.agata-plech .ap-page-header__title {
    margin: 0;
    color: #fff;
    font-size: 50px;
}

@media (max-width: 769px) {
    body.agata-plech .ap-page-header__title {
        font-size: 35px;
    }
}    

/* ===== PAGE CONTENT ===== */

body.agata-plech .ap-page-content__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px;
}


/* ==== GALERIE ===== */


body.agata-plech .ap-masonry {
    column-count: 6;
    column-gap: 8px;
}

@media (max-width: 1200px) {
    body.agata-plech .ap-masonry {
        column-count: 6;
    }
}

@media (max-width: 1024px) {
    body.agata-plech .ap-masonry {
        column-count: 3;
    }
}

@media (max-width: 769px) {
    body.agata-plech .ap-masonry {
        column-count: 2;
    }
}

body.agata-plech .ap-masonry__item {
    display: block;
    margin: 0 0 8px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    text-decoration: none;
}

body.agata-plech .ap-masonry__item img {
    display: block;
    width: 100%;
    height: auto;
    transition:
        transform .25s ease,
        filter .25s ease;
}

body.agata-plech .ap-masonry__item:hover img {
    filter: brightness(1.15);
    transform: scale(1.02);
}


/* =============== O MNIE ================== */

.ap-omnie-div {
    margin-bottom: 60px;
}

.ap-omnie h2 {
    font-size: 40px;
    font-weight: 200;
    line-height: 42px;
    margin: 50px 0;
}

.ap-omnie h3 {
    font-weight: 200;
}

.ap-omnie p {
    font-size: 18px;
    margin: 20px 0;
}


/* ======= WYKŁADY ======== */

.ap-wyklad-div {
    margin-bottom: 60px;
}

.ap-wyklady h2 {
    font-size: 40px;
    font-weight: 200;
    line-height: 42px;
}

.ap-wyklady p {
    font-size: 18px;
    margin: 20px 0;
}

.ap-wyklady ul {
    color: #888;
    font-weight: 300;
    list-style: disc;
}

.ap-wyklady ul li {
    margin-left: 30px;
    line-height: 22px;
}

.ap-wyklad-div {
    border-bottom: 1px solid #eee;
    padding-bottom: 60px;
}


/* ====== REKOMENDACJE ===== */


body.agata-plech .ap-rekom {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "tresc tresc"
        "img   meta";
    column-gap: 20px;
    row-gap: 25px;
    align-items: start;
    margin: 20px;
}

body.agata-plech .ap-rek-tresc {
    grid-area: tresc;
    background: #f1f1f1;
    border-radius: 18px;
    padding: 24px;
    position: relative;
}

body.agata-plech .ap-rek-tresc::after {
    content: "";
    position: absolute;
    left: 38px;
    bottom: -14px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #f1f1f1;
}

body.agata-plech .ap-rek-tresc p {
    margin: 0 0 14px;
}

body.agata-plech .ap-rek-tresc p:last-child {
    margin-bottom: 0;
}

body.agata-plech .ap-rek-img {
    grid-area: img;
    width: 100px;
}

body.agata-plech .ap-rek-img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 300px;
    border: 1px solid #eee;
}

/* ===== Meta (autor + info) ===== */
body.agata-plech .ap-rek-autor,
body.agata-plech .ap-rek-info {
    grid-area: meta;
}

body.agata-plech .ap-rek-autor {
    color: #507553;
    font-weight: 700;
    margin-bottom: 6px;
    margin-top: 30px;
    font-size: 17px;
}

body.agata-plech .ap-rek-info {
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 769px) {
    body.agata-plech .ap-rekom {
        margin: 2px;
    }
}