/* oferty_pracy tile display and sub-pages ======================================== */
.tiles_wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.oferty_pracy {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    flex-basis: calc(33.333% - 16px); 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    position: relative; 
    transition: transform 0.2s ease; 
}

.image_tile {
    width: 100%;
    overflow: hidden; 
    border-radius: 5px;
}



.image_tile img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.2s ease; 
}

.oferty_pracy:hover .image_tile img {
    /* transform: scale(1.1);  */
}

.full-tile-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.full-tile-link:hover {
    cursor: pointer;
}

/* Dodatkowo, opcjonalnie możesz dodać efekt hover na całym kafelku */
.oferty_pracy_tile:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease-in-out;
}


.tile_title {
    margin: 15px 0;
    color: #000;
    font-weight: 600;
    font-size: 23px;
}

.realizacje_tile:hover .tile_title {
    /* color: #e67612 !important; */
}

h5.tile_title:hover {
    text-decoration: none !important;
    color: #000 !important;
}

div.tile_description {
    color: #000 !important;
}


div.tile_description:hover {
    color: #000 !important;
}


.tile_title a {
    color: #000;
    text-decoration: none; 
}

@media (max-width: 1024px) {
    .oferty_pracy {
        flex-basis: calc(50% - 16px); 
    }
}

@media (max-width: 768px) {
    .oferty_pracy {
        flex-basis: 100%; 
    }
}

/* OFERTY PRACY SINGLE PAGE ============================================================================ */
.single_page_tile_header {
    width: 100%;
}

.background_OfertaPracy {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.background_OfertaPracy .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75); 
    z-index: 1;
}

.background_OfertaPracy .content-wrapper {
    position: relative; 
    z-index: 2;
    color: white;
	width: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.header_content {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center; 
}

.background_OfertaPracy .content-wrapper .oferta_pracy_logo {
    width: 100%;
    max-width: 315px;
    min-width: 250px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; 
}

.background_OfertaPracy .content-wrapper img {
	width: 55%;
	min-width: 250px;
	height: auto;
}

.background_OfertaPracy .entry-title {
    color: white;
	text-align: center;
}

@media (min-width: 960px) {
    .header_content {
        flex-direction: row;
        align-items: flex-end; 
    }

    .background_OfertaPracy .content-wrapper .oferta_pracy_logo {
        margin-top: 0; 
    }

	.background_OfertaPracy .entry-title {
		text-align: left;
	}
	
}

.background_OfertaPracy {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    /* align-items: flex-end; */
    color: white;
	border-radius: 5px;
}

.background_OfertaPracy .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75); 
    z-index: 1;
}

.background_OfertaPracy .content-wrapper {
    position: relative; 
    z-index: 2;
    color: white;
	width: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.header_content_realisation {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center; 
	padding: 16px 0;
}

.background_OfertaPracy .content-wrapper .oferta_pracy_logo {
    width: 100%;
    max-width: 315px;
    min-width: 250px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; 
	margin: 0 !important;
}

.background_OfertaPracy .content-wrapper img {
	width: 55%;
	min-width: 250px;
	height: auto;
}

.background_OfertaPracy .entry-title {
    color: white;
	text-align: center;
}

/* ============================================================================================ */
/* realizacje tile display and sub-pages  ============================================================================================ */
.realizacje_tile {
    border-radius: 5px;
    text-decoration: none !important;
    padding: 10px;
    border: 2px solid #EDEDED;
    transition: transform 0.2s ease; 
}

.realizations_wrapper .realizacje_tile {
    position: relative;
    transition: transform .2s ease; 
}

.realizations_wrapper .realizacje_tile:hover {
    transform: scale(102%);
    transition-timing-function: cubic-bezier(.4,0,.2,1) !important;
}

.realizations_wrapper .image_tile {
    height: 250px;
}

.realizations_wrapper .image_tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.2s ease;
}

.realizations_wrapper .tile_title_wrapper {
    color: #000 !important;
    z-index: 2;
    text-align: center;
}

.header_single_page {
    border-radius: 5px;
    margin: 0 16px;
    margin-top: 80px;
    max-width: 1050px;
}

.link_whole_tile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
}

.tile_btn {
    color: #fff !important;
    padding: 10px;
    background: #e67612 !important;
    max-width: 100%;
    min-width: 100%;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    border: 2px solid #e67612;
    text-decoration: none !important;
    transition: .2s;
}

.tile_btn:hover {
    text-decoration: none !important;
    border: 2px solid #e67612 !important;
    opacity: 0.85;
}

.tile_btn i {
    margin-left: 5px;
}

@media (min-width: 575px) {
    .tiles_wrapper{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 625px) {
    .header_single_page {
        margin-left: auto;
        margin-right: auto;
    }
}
@media (min-width: 991px) {
    .tiles_wrapper{
        grid-template-columns: repeat(3, 1fr);
    }
}


@media(min-width: 1280px){
    .realizations_wrapper.realization-related .image_tile{
        height: 320px;
    }
}

@media (min-width: 1340px) {
    .tiles_wrapper{
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================================================ */
/* OFERTY tile display page styles  ============================================================================================ */
.content_with_sidebar {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.content_with_sidebar .icon-text-elements-wrapper {
    padding: 0px !important;
}

.content_with_sidebar .wp-block-columns {
    padding: 0px !important;
}

@media (max-width: 768px) {
    .content_wrapper.content_nextTo_aside .custom-text:nth-of-type(2) .custom-text-content-component h2 {
        text-align: center;
        width: 100%;
        
    }

    .custom-text-content-component h2:has(span.text_align_resp) {
        text-align: center;
    }
    
}


.content_nextTo_aside {
    width: 100%;
}

.aside_wrapper {
    width: 100%;
}

@media (min-width: 1024px) {
    .content_with_sidebar {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

    .content_nextTo_aside {
        width: 69%;
    }
    
    .aside_wrapper {
        width: 28%;
        position: sticky;
        top: 200px; 
        align-self: flex-start;
    }
}

/* aside similar offers */
.aside_wrapper {
    padding: 25px;
    background: #F9F9F9;
    border-radius: 5px;
}

.widget_offers_widget .widget-title {
    text-align: left;
}

.aside_offers_listWrapper li {
    text-decoration: none;
    list-style-type: none;
    background: var(--primary-color);
    padding: 8px;
    margin: 10px 0;
    color: #000 !important;
    text-align: center;
    border-radius: 10px;
    transition: .2s;
    min-height: 65px;
}

.aside_offers_listWrapper li:hover {
    background: #fcd84b;
}

.aside_offers_listWrapper li a {
    color: #000 !important;
    font-weight: 600;
    text-align: left !important;
    text-decoration: none;
    padding-left: 8px;
}

.aside_offers_listWrapper li img {
    width: 40px !important;
}



/* global ================== */
.tiles_main {
    margin-top: -85px !important;
}

.tile_description {
    margin-bottom: 15px;
    color: #000;
}

.realizacje_tile:hover .tile_description {
    color: #000 !important;
}

.tile_btn {
    
}