/**
 * All custom CSS modifications should be kept in this file. When updating move this file
 * from the old installation to the updated one. This will preserve all your CSS customisations.
 *
 * This file gets included last, so any CSS rule written below will override a previously declared one.
 *
 * Add your CSS modifications below:
 */
/* /* =========================================
   TYPOGRAPHY
   Work Sans – tekst / menu / UI
   Gowun Batang – nagłówki
   ========================================= */


/* PODSTAWOWY FONT CAŁEJ STRONY */

body,
p,
ul,
ol,
li,
blockquote,
table,
td,
th,
label,
input,
textarea,
select,
button {
    font-family: 'Work Sans', Arial, sans-serif;
}


/* MENU */

.site-navigation,
.site-navigation a,
.primary-navigation,
.primary-navigation a,
.secondary-navigation,
.secondary-navigation a,
.footer-navigation,
.footer-navigation a {
    font-family: 'Work Sans', Arial, sans-serif;
}


/* BUTTONY I FORMULARZE */

.button,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    font-family: 'Work Sans', Arial, sans-serif;
}


/* NAGŁÓWKI */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Gowun Batang', Georgia, serif;
    font-weight: 400;
}


/* TYTUŁY STRON I WPISÓW */

.page-title,
.entry-title,
.post-title {
    font-family: 'Gowun Batang', Georgia, serif;
    font-weight: 400;
}


/* PORTFOLIO */

.project-title,
.project-title a,
.captioned-media__caption,
.captioned-media__caption a,
.grid-project__title,
.grid-project__title a {
    font-family: 'Gowun Batang', Georgia, serif;
    font-weight: 400;
}


/* DROBNE ELEMENTY PORTFOLIO */

.project-types,
.project-types a,
.portfolio-filter,
.portfolio-filter a,
.entry-meta,
.project-meta {
    font-family: 'Work Sans', Arial, sans-serif;
}

/* =========================================================
   DE LA CRÈME — SERVICES GRID
   ========================================================= */

.dc-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}


/* KAŻDY KAFEL */

.dc-services-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #faf5f3;
}


/* =========================================================
   KAFEL 1 — BRAND
   ========================================================= */

.dc-services-tile--brand {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf5f3;
}

.dc-services-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    font-family: 'Gowun Batang', Georgia, serif;
    font-size: clamp(32px, 3.2vw, 58px);
    line-height: .9;
    letter-spacing: -0.04em;
    font-weight: 400;
    text-align: center;
    color: #000;
}

.dc-services-brand span:last-child {
    margin-top: 6px;
}


/* =========================================================
   KAFEL 2 — SERVICES
   ========================================================= */

.dc-services-tile--content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #faf5f3;
}

.dc-services-content {
    width: 100%;
    height: 100%;
    padding: clamp(22px, 2.2vw, 42px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dc-services-eyebrow {
    font-family: 'Work Sans', Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #000;
}

.dc-services-content h2 {
    margin: 20px 0 30px;
    padding: 0;

    font-family: 'Gowun Batang', Georgia, serif;
    font-size: clamp(30px, 2.8vw, 48px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #000;
}

.dc-services-list {
    display: flex;
    flex-direction: column;
    gap: 7px;

    font-family: 'Work Sans', Arial, sans-serif;
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.25;
    font-weight: 400;
    color: #000;
}

.dc-services-list span {
    display: block;
}


/* =========================================================
   ZDJĘCIA
   ========================================================= */

.dc-services-tile--image {
    background: #eee;
}

.dc-services-tile--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform .55s cubic-bezier(.22, .61, .36, 1),
        filter .35s ease;
}


/* delikatny hover w klimacie portfolio */

@media (hover: hover) and (pointer: fine) {

    .dc-services-tile--image:hover img {
        transform: scale(1.025);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1100px) {

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

    .dc-services-brand {
        font-size: clamp(38px, 6vw, 60px);
    }

    .dc-services-content h2 {
        font-size: clamp(34px, 5vw, 50px);
    }

}


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

@media screen and (max-width: 640px) {

    .dc-services-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .dc-services-tile {
        aspect-ratio: 4 / 3;
    }

    /* pierwszy kafel może być trochę niższy */
    .dc-services-tile--brand {
        aspect-ratio: 16 / 9;
    }

    /* tekstowi dajemy więcej wysokości */
    .dc-services-tile--content {
        aspect-ratio: auto;
        min-height: 380px;
    }

    .dc-services-content {
        padding: 30px 24px;
    }

    .dc-services-brand {
        font-size: 44px;
    }

    .dc-services-content h2 {
        margin: 24px 0 36px;
        font-size: 40px;
    }

    .dc-services-list {
        gap: 9px;
        font-size: 15px;
    }

}


/* =========================================================
   BARDZO MAŁE TELEFONY
   ========================================================= */

@media screen and (max-width: 380px) {

    .dc-services-content {
        padding: 24px 20px;
    }

    .dc-services-brand {
        font-size: 38px;
    }

    .dc-services-content h2 {
        font-size: 35px;
    }

}

/* Portfolio pagination */
.navigation-paging .paging .current {
    background-color: #faf5f3 !important;
    border-color: #faf5f3 !important;
    color: #000000 !important;
}

/* Full Page Slider pagination */
.slider-navigation li a.active,
.slider-navigation li a:hover {
    background-color: #faf5f3 !important;
    border-color: #faf5f3 !important;
}
.slider-navigation li a {
    border-color: #faf5f3 !important;
}

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

@media screen and (max-width: 768px) {

    /* --- KATEGORIE NAD PORTFOLIO --- */

    #fluxus-project-types-widget-1.mobile-project-types {
        display: block !important;
        position: relative !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 0 20px 0 !important;
        padding: 0 20px !important;

        box-sizing: border-box;
    }

    #fluxus-project-types-widget-1 .widget-title {
        margin-bottom: 8px !important;
    }

    #fluxus-project-types-widget-1 ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 18px;

        margin: 0 !important;
        padding: 0 !important;

        list-style: none;

        overflow-x: auto;
        overflow-y: hidden;

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

    #fluxus-project-types-widget-1 ul::-webkit-scrollbar {
        display: none;
    }

    #fluxus-project-types-widget-1 li {
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }


    /* --- PORTFOLIO JAK SLIDER --- */

    .portfolio {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        max-width: none !important;

        overflow-x: auto !important;
        overflow-y: hidden !important;

        gap: 12px;

        padding-left: 20px !important;
        padding-right: 20px !important;

        box-sizing: border-box;

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }

    .portfolio::-webkit-scrollbar {
        display: none;
    }

    .portfolio .project {
        flex: 0 0 82vw !important;

        width: 82vw !important;
        max-width: 82vw !important;

        scroll-snap-align: start;
    }

    .portfolio .project img {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
    }

}

@media screen and (max-width: 768px) {
    #fluxus-project-types-widget-1 {
        background: red !important;
    }
}