/* CSS VERSION 1.1 */
/* 2 Mar 2026 */


/* =============================== */
/* PAGE HOME */
/* =============================== */
/*  SECTION BANNER
/* =============================== */


#banner {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: start;
    /* padding: 5% 10%; */
    background-size: cover;
    background-position: center;
}

.banner-logo {
    max-width: 300px;
}

.banner-content {
    & h1 {
        font-size: 1.5rem;
        color: var(--navy-blue);
        margin-bottom: 50px;
    }
}


/* =============================== */
/*  SECTION ARTICLES
/* =============================== */

.home-articles-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.article-card-home {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    background: #fff;
    padding: 20px;

    & .article-card-image {
        width: 100%;
        height: 300px;
        overflow: hidden;

        & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    & h3 {
        color: var(--navy-blue);
        font-weight: 700;
    }

}


/* Categories box */

.articles-container {
    position: relative;
    padding-bottom: 60px;
}
.article-category-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    background: #fff;
    margin-bottom: 30px;

    & .category-item {
        padding: 20px 0;
        border-right: 2px solid var(--navy-blue);
        cursor: pointer;
        text-align: center;
        background: #fff;
        transition: all 0.3s ease;
    }

    & .category-item-active {
        background: var(--pale-grey);
    }

    & .category-item:first-child {
        border-left: 2px solid var(--navy-blue);
    }

    & .category-item:hover {
        background-color: var(--pale-grey);
    }

    & span {
        font-size: 1.2rem;
    }
}

/* Articles list */
.articles-group {
    display: grid;
    grid-template-columns: 33.33% 33.33% 33.33%;
    gap: 10px;
}



.articles-group.is-hidden {
    display: none;
  }

/*   #articlesList .article-card {
    display: block !important;
  } */
/* Article card */
.article-card {
    display: grid;
    grid-template-rows: 1fr 80px;
    background: #fff;

    & h3 {
        color: var(--navy-blue);
        font-weight: 600;
        font-size: 1.2rem;
        word-break: break-word;
    }

    & .article-content {
        display: flex;
        flex-direction: column;
        justify-content: start;
        background-color: #fff;
    }

    & .article-texts {
        padding: 15px 5%;
    }

    & .article-date {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

}

.article-image {
    height: 250px;
    overflow: hidden;
    padding: 5%;

    & img {
        object-fit: cover;
        width: 100%;
        height: 250px;
    }
}

.article-read-more {
    padding: 15px 5%;

    & a {
        display: inline-flex;
        font-size: 0.9rem;
        color: var(--navy-blue);
        font-weight: 600;
        border: 2px solid var(--navy-blue);
        padding: 10px 20px;
        transition: all 0.3s ease;

        & a:hover {
            background: var(--navy-blue);
            color: #fff;
        }

        & svg {
            width: 30px;
            height: 24px;
            margin-left: 10px;
        }

        &:hover svg path {
            stroke: #fff;
        }
    }
}

.articles-empty {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    padding: 20px 0;
}


/* PAGINATION */
.article-pagination {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: 30px;
    gap: 10px;
    
}
 
/* ================================================ */
/* SECTION HOME CONTENT */
/* ================================================ */

.media-text-container {
    margin-bottom: 10px;

    & img {
        max-width: 60px;
        margin: 0 auto;
    }

    & .wp-block-media-text__content {
    padding: 0 5%;
    }

    & p {
        margin-bottom: 0;
    }
}

/* STAGES */

.stages-columns .wp-block-column {
    min-height: 3.5rem

}

.disease-stage {
    position: relative;
    padding-left: 4em;

    &:before {
        position: absolute;
        content: '';
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        left: 0;
        width: 60px;
        height: 60px;
        top: 5px
    }
}

#stage-1:before {
    background-image: url('../images/1.svg');
}

#stage-2:before {
    background-image: url('../images/2.svg');
}

#stage-3:before {
    background-image: url('../images/3.svg');
}

#stage-4:before {
    background-image: url('../images/4.svg');
}


/* GOAL */

#goals {
    margin-top: min(10%, 30px);
}

.wp-block-quote {
    position: relative;
   font-size: 1.2rem;
   font-style: italic;
   padding-left: 5.5em;

   color: var(--navy-blue);
   margin-bottom: 0;

   & p {
    font-weight: 600;
   }

   &:before {
    content: '';
    position: absolute;
    background-image: url('../images/quote-marks.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 5rem;
    height: 5rem;
    left: 0;
    top: -20px;
   }
}

/* NANOKWIATY */

.nanokwiaty-wrapper .owl-stage-outer {
    max-height: 350px;

    & img {
        height: 100%;
        margin: 0;
    }
}

.n2-ss-section-main-content {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    overflow: visible !important;
}

/* Aparatura */

/* =============================== */
/*  PAGE NEWS
/* =============================== */



.article-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 30px;
}

.article-item:nth-child(even) {
    position: relative;
    background: var(--pale-grey);

    &:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--pale-grey);
        top: 0;
        left: -100%;
    }

    &:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: var(--pale-grey);
        top: 0;
        left: 100%;
    }
}

.article-title {
color: var(--navy-blue);
margin-top: 15px;
margin-bottom: 30px;

& h2 {
    font-weight: 600;
    font-size: 1.5rem;
}
}

/* =============================== */
/*  PAGE SINGLE POST
/* =============================== */

#single-post {
    padding-top: 50px;
}

.post-content {
    background-color: #fff;
    padding: min(5%, 30px);
}

.article-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
}

.blog-title-wrapper {
    padding: 20px 30px;
}

.blog-title {
    color: var(--navy-blue);
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: none;
}

.post-read-more {
    min-width: 300px;
    text-align: center;
    font-weight: 600;
}

.post-date {
    text-align: left;
    padding-left: 15px;
}


/* =============================== */
/*  PAGE  SEMINARS
/* =============================== */

.mcb-years {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mcb-year {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 50px;
    border: 2px solid var(--navy-blue);
    transition: all 0.3s ease;

    &:hover {
        background: var(--navy-blue);
        color: #fff;
    }
}

/* Seminar list */

.mcb-seminaria__subtitle {
    position: relative;
    display: block;
    width: 100%;

    &:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #000;
        bottom: -20px;
        left: 0;
    }
}

.mcb-seminaria-grid table {
    width: 100%;
    margin-bottom: 30px;

    & td {
        padding: 5px 15px;
    }

    & h3 {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

/* SINGLE SEMINAR */
/* Details table */
.seminar-details__table {
    width: 100%;
    border-collapse: collapse;

    & tr {
        height: 60px;
    }

    & tr:nth-child(even) {
        background: #F8F9FA;
    }
}

.seminar-details__img {
    width: 100%;
    height: auto;
}

/* Download file button */
.wp-block-file .wp-block-file__button {
    background: var(--navy-blue);
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    
    &:hover {
        background: var(--navy-blue-hover);
    }
}

/* =============================== */
/* PAGE CONFERENCE ROOMS */
/* =============================== */

.conf-rooms-page .wp-block-heading {
    display: block;
}

.conf-rooms-page .col-12 {
    padding: 0 !important;
}

.conf-rooms-page .col-12 div,
.conf-rooms-page .wp-block-heading,
.conf-rooms-page p {
    max-width: 1200px;
    margin: auto;
}

.conference-room.is-reversed {
    background: var(--pale-grey);
}

.conference-room__grid {
    max-width: 1200px;
    margin: auto;
}

/* =============================== */
/* PAGE CONFERENCE PRICING
/* =============================== */

.table-pricing thead,
.table-pricing tbody,
.table-pricing table {
    border: none !important;
}

.table-pricing {

    & table {
        border: 1px solid #000;
    }

    & thead {
        border-bottom: none;
    }

    & th {
        background: var(--navy-blue);
        color: #fff;
        font-weight: 600;
        font-size: 1.2rem;
        padding-inline: 15px;
        border: 1px solid #000;
    }

    & td {
        padding: 10px 15px;
        border: 1px solid #000;
    }
}

/* =============================== */
/* PAGE CARRIER AND EDUCATION
/* =============================== */

.phd-schools {

    & .wp-block-column {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        min-height: 150px;
    }

    & p {
        margin-bottom: 0;
        font-weight: 600;
        color: var(--navy-blue);
    }
}


/* =============================== */
/* PAGE COUNCIL
/* =============================== */

.table-striped-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;

    &:before {
        content: '';
        position: absolute;
        width: 200vw;
        height: 2px;
        background: var(--navy-blue);
        top: 0;
        left: -100%;
    }
}

.council-title {
    width: 100%;
}


.member-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    position: relative;

}

.member-row:nth-child(even) {
    background: #f5f6f8;

    &:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: #f5f6f8;
        top: 0;
        left: -100%;
        z-index: -1;
    }

    &:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: #f5f6f8;
        top: 0;
        left: 100%;
    }
}

.member-item {
    max-width: 600px;
    padding: 16px 0;
    line-height: 1.5rem;
}

.member-role {
    font-weight: 600;
}


/* =============================== */
/* PAGE HISTORY
/* =============================== */

.calendarium {
    td:first-child {
        font-size: 1.4rem;
        text-align: right;
        font-weight: 600;
        color: var(--navy-blue);
        width: 200px;
    }
}

/* =============================== */
/* PAGE FINANCIAL REPORTS
/* =============================== */

.table-financial {
    td:first-child {
        font-size: 1.4rem;
        text-align: center;
        font-weight: 600;
        color: var(--navy-blue);
    }
}

/* =============================== */
/* PAGE FINANCIAL APARATURE
/* =============================== */
.btn-aparature.btn-active a {
    background: var(--navy-blue);
    color: #fff !important;
}

.btn-aparature.btn-active a:hover {
    background: var(--navy-blue-hover);
}


.table-aparature td:first-child {
    width: 80%;
}

.table-aparature td:last-child {
    min-width: 220px;
}


/* =============================== */
/* PAGE WYDAWNICTWA / PUBLISHING
/* =============================== */

.publishing-links .wp-block-button {
    min-width: 250px;
}

/* =============================== */
/* PAGE NAUKA
/* =============================== */

.table-countries tr td:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    width: 200px;
}

/* =============================== */
/* PAGE PROJECTS
/* =============================== */

.project-details {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    margin-bottom: 30px;
}

.additional-info {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* =============================== */
/* PAGE PHDs
/* =============================== */

.academic-list {
    display: flex;
    flex-direction: column;
}

.academic-item:nth-child(even) {
    background: #f5f6f8;
}

.academic-item {
    display: grid;
    grid-template-columns: 30% 70%;
    padding: 20px 15px;
}

.academic-basic-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    padding: min(5%, 15px);
    padding-right: 25px;

    & .academic-name, .academic-year {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--navy-blue);
        text-align: right;
    }

}

.academic-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    & p {
        margin-bottom: 0;
    }
}

/* PHD YEARS */

.phd-years-inner {
    display: flex;
    justify-content: center;
    gap: 10px;
}
/* =============================== */
/* PAGE EMPLOYEES
/* =============================== */

.contact-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px 15px;

    &:nth-child(even) {
        background: #f5f6f8;
    }   
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 15px 5%;
}

/* Search box */
.search-box-wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    background: var(--pale-grey);
    padding: 5px 10px;

    & input {
        height: 45px;
        padding: 5px 10px;
        background: transparent;
        border: 1px solid #000;
        transition: all 0.3s ease;

        &:focus {
            outline: none;
            background: #fff;
        }
    }

    & button {
        height: 45px;
        padding: 5px 15px;
        color: #fff;
        border: none;
        

        &:hover {
            border: 2px solid var(--navy-blue);
            cursor: pointer;
        }
    }
}

/* =============================== */
/*  PAGE  JOBS
/* =============================== */

/* JOBS LIST */


/* SINGELE JOB */

.table-jobs {
    width: 100%;

    & td {
        padding: 15px 15px;
    }
    & th {
        padding: 10px 15px;
    }

    & td:first-child {
        font-weight: 600;
        color: var(--navy-blue);
    }

    & tbody tr:nth-child(odd) {
        background: #f5f6f8;
    }

    & a {
        /* text-decoration: none; */
        transition: all 0.3s ease;

        &:hover {
            color: var(--navy-blue-hover);
        }
    }
}

#single-job section {
    padding-bottom: 15px;
    padding-top: 0;
}

/* SECTION MEDIA QUERIES   /////////////////////////////// */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width: 992px) {


    /* Articles list */
    .articles-group {
        grid-template-columns: 50% 50%;
    }
    /* Categories box */
    .article-category-box {
        & span {
            font-size: 1rem;
        }
    }

    /* Articles list */
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
    }

}



@media (max-width: 768px) {

    /* BANNER */
    .banner-logo {
        margin-bottom: 50px;
    }


.home-articles-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .article-card-home {
        width: 100%;
    }

    /* Articles list */
    .articles-group {
        grid-template-columns: 100%;
    }

    /* Seminaria list */

    .mcb-years {
        justify-content: center;
    }

    /* FOOTER SECTION */
    .footer-logo {
        text-align: center;
        margin-bottom: 20px;

        & img {
            max-height: 140px;
        }
    }



    .footer-widget {
        margin-bottom: 20px;

        & h3,
        & p,
        & a {
            text-align: center;
        }
    }

    /* CONTACT EMPLOYEES */
    .contact-card {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 576px) {
    .banner-content {
        margin-top: 120px;
    }

    .article-category-box {
        & span {
            font-size: 0.9rem;
        }
    }

    /* History calendarium */
    .calendarium {
        td:first-child {
            font-size: 1.2rem;
            width: 140px;
        }
    }
}