/* ============================================

    Spis treści:

    0. Globalne

    1. Nagłówek

    2. Featured Posts

    3. Posts - Grid

    4. Banners - Content

    5. Contact Section

    6. Breadcrumbs

    7. Pagination

    8. Share Socials

    9. Post tags

============================================ */



/* =========== [0. Globalne] =========== */



/* =========== [1. Nagłówek] =========== */



/* "Logo" position */

.tm-headerbar-default >.uk-container:first-of-type .uk-grid:first-of-type {

    justify-content: left;

}



.tm-headerbar-default >.uk-container .uk-grid:first-of-type >div:last-of-type {

    margin-left: auto;

}



.tm-headerbar-default .uk-search-input {

    margin-left: 30px;

    max-width: 380px;

    min-width: 380px;

    width: 100%;

}



/* "Navbar" position */

.uk-navbar-container >.uk-container {

    border-top: 1px solid #DCDCDC;

}



.uk-navbar .uk-navbar-center {

    margin-left: 0;

}



/* =========== [2. Featured Posts] =========== */



/* Grid */

.featured-posts {

    display: grid;

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

    grid-auto-rows: 1fr;

}



.featured-posts >div {

    width: 100%;

}



.featured-posts >div:first-of-type {

    grid-column: 1 / span 2;

}



/* Tiles */

.featured-tile {

    width: 100%;

    height: 100%;
    max-height: 360px;

}



.featured-tile >a {

    width: 100%;

    height: 100%;

}



.featured-tile img {

    width: 100%;

    height: 100%;

    object-fit: cover;
    object-position: top;

}



.featured-tile .uk-position-left {

    display: flex;

}



.featured-tile .uk-overlay {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

}



.featured-tile .el-meta {

    padding: 6px 16px;

    width: fit-content;

    font-size: 16px;

    font-weight: 500;

    color: #fff;

    background-color: #BE1117;

    border-radius: 25px;

    box-sizing: border-box;

}



.featured-tile .el-title {

    max-width: 450px;

}



/* Slider */

.featured-tile.slider {

    justify-content: flex-start;

}



.featured-tile.slider .el-title {

    margin-top: auto !important;

}



@media (max-width: 1050px) {

    .featured-posts {

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

    }

}



@media (max-width: 700px) {

    .featured-tile .el-meta {

        font-size: 12px;

    }

    .featured-tile .el-title {

        font-size: 16px;

    }

    .featured-tile .uk-overlay {

        padding: 15px;

    }

}



@media (max-width: 430px) {

    .featured-posts {

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

    }

    .featured-posts >div:first-of-type {

        grid-column: 1 / span 1;

    }

}



/* =========== [3. Posts - Grid] =========== */

.posts-grid img {

    height: 230px;

    width: 100%;

    object-fit: cover;

}



.posts-grid.large img {

    height: 340px;

}



@media (max-width: 800px) {

    .posts-grid .el-title {

        font-size: 16px;

    }

}



@media (max-width: 640px) {

    .posts-grid.large img {

        height: 260px;

    }

}



/* =========== [4. Banners - Content] =========== */

.banner-content .mod-banners {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-around;

    gap: 24px;

}



/* =========== [5. Contact Section] =========== */

@media (max-width: 640px) {

    .contact-section>div {

        padding-top: 30px !important;

    }

}



/* =========== [6. Breadcrumbs] =========== */

.uk-breadcrumb li>span {

    font-weight: 600;

}



/* =========== [7. Pagination] =========== */

.uk-pagination {

    margin: 0 auto;

    width: fit-content;

    background-color: #FAFAFA;

}



/* =========== [8. Share Socials] =========== */

.share-socials>div>div {

    flex: 1;

}



.share-socials a {

    display: flex;

    align-items: center;

    gap: 20px;

    width: 100%;

    min-width: 200px;

    height: 46px;

    border-radius: 4px;

    text-decoration: none !important;

}



.share-socials .facebook {

    background-color: #365396;

}



.share-socials .facebook:hover {

    color: #d3d3d3;

}



.share-socials .facebook:after {

    content: "Share on Facebook";

    

}



.share-socials .twitter {

    background-color: #111111;

}



.share-socials .twitter:hover {

    color: #d3d3d3;

}



.share-socials .twitter:after {

    content: "Share on X";

}



/* =========== [9. Post tags] =========== */

.post-tags .el-meta {

    padding: 8px 12px;

   

    font-weight: 600;

    color: #BE1117;

    background-color: #FAFAFA;

    border-radius: 9px;

    box-sizing: border-box;

}



.post-tags .el-meta:hover {

    background-color: #f0f0f0;

}