:root {
    --main-color: #50b19c;
}

.btn-border-base {
    color: var(--main-color);
}
.section-title .sub-title {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
    color: var(--main-color);
    text-transform: uppercase;
    font-weight: 600;
}
.single-team-inner .team-social-inner {
    background: var(--main-color);
}
.single-team-inner .team-social-inner a {
    color: #fff;
}

/* Obrazek wieży – tylko ogólne rzeczy */
.tower-gif {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* kontener ze środka */
.service-thumb.service-middle-section {
    height: 637px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;             /* przytnij nadmiar góra/dół */
}

/* sam GIF */
.service-thumb.service-middle-section .tower-gif {
    width: 100% !important;       /* wykorzystaj całą szerokość kolumny */
    height: auto !important;      /* proporcje OK */
}
/* Środkowy kontener z wieżą – biały box */
/* Środkowy biały box z wieżą */
.service-thumb.service-middle-section {
    background-color: #fff;
    border-radius: 5px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 1;                 /* środkowy box POD ikonami */
}

/* === XFortis – środkowa kolumna z wieżą === */

/* Biały box w środku */
.service-area .col-lg-4.bg-blue-right .service-middle-section {
    background-color: #fff;
    border-radius: 5px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 637px;
    position: relative;
    z-index: 1; /* środkowa kolumna niżej niż kafelki */
}

/* GIF z wieżą */
.service-area .col-lg-4.bg-blue-right .tower-gif {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* Logo XFortis pod wieżą */
.service-area .col-lg-4.bg-blue-right .tower-logo {
    margin-top: 20px;
    max-width: 180px;
    width: 100%;
    height: auto;
}

/* Lewe i prawe kafelki ZAWSZE nad środkową kolumną */
.service-area .single-service-inner-3 {
    position: relative;
    z-index: 5 !important;
}
/* ŚRODKOWA KOLUMNA – tło całe na biało */
.service-area .col-lg-4.bg-blue-right {
    background-color: #fff !important;   /* nadpisuje bg-blue-right z tematu */
}

/* Wewnętrzny box może już być bez własnego tła */
.service-area .col-lg-4.bg-blue-right .service-middle-section {
    background-color: transparent;
}

/* Pasek tła pod napisami w galerii (case-study) */
.case-study-area .single-case-study-inner.style-2 {
    position: relative;
    overflow: hidden;
}

.case-study-area .single-case-study-inner.style-2 .details {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #50AF9B;          /* tło pod napisem */
    padding: 10px 16px;
}

/* Kolor tekstu na białe / jasne */
.case-study-area .single-case-study-inner.style-2 .details h5,
.case-study-area .single-case-study-inner.style-2 .details h5 a,
.case-study-area .single-case-study-inner.style-2 .details .cat {
    color: #fff !important;
}

/* Opcjonalnie: usuń podkreślenie linku po hoverze */
.case-study-area .single-case-study-inner.style-2 .details h5 a:hover {
    text-decoration: none;
    opacity: 0.9;
}




/* BLOG META – pełna szerokość paska w karcie */
/* Karta bloga – wyrównanie paddingów, żeby meta-bar miał równe marginesy */
.blog-area .single-blog-list.style-3 .details {
    padding: 24px 24px 24px 24px !important; /* równo z lewej i prawej */
}

/* Niebieski pasek meta – pełna szerokość w obrębie .details */
.blog-area .single-blog-list.style-3 .blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: #50AF9B;
    padding: 8px 16px;      /* 16px z lewej i prawej – symetrycznie */
    border-radius: 12px;
    margin: 0 0 16px 0;     /* bez żadnych przesunięć w lewo/prawo */
}

.blog-area .single-blog-list.style-3 .blog-meta li {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-area .single-blog-list.style-3 .blog-meta li i,
.blog-area .single-blog-list.style-3 .blog-meta li span {
    color: #fff;
}

/* Blog Details – wymuszone mniejsze H1 */
.blog-details-area .single-blog-inner .details h1.blog-title {
    font-size: 24px !important;   /* ustaw jak chcesz: 26–32px */
    line-height: 1.4 !important;
    font-weight: 500 !important;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-details-area .single-blog-inner .details h1.blog-title {
        font-size: 22px !important;
    }
}
