/**
 * Theme Name:        IFNTUOG Website theme
 * Theme URI:         https://digital.nung.edu.ua
 * Description:       Wordpress theme for brand new IFNTUOG website
 * Version:           0.0.1
 * Author:            Marian Slabinoha & Tetiana Arshulik
 * Author URI:        https://digital.nung.edu.ua
 * Text Domain:       nung
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */
@font-face {
    font-family: 'SF Pro Display';
    src: url(assets/fonts/SFProDisplay-Regular.ttf);
  }
@font-face {
    font-family: 'Gilroy';
    src: url(assets/fonts/Gilroy-Regular.ttf);
  }
.mobile{
    display:none;
}
body{
    font-family: 'SF Pro Display';
    background-color: #fff;
    padding:32px;
    margin:0px;
    color:#1B1B1B;
    box-sizing: border-box;
}
.btn-outline{
    border:1px #1B1B1B solid;
    border-radius: 8px;
    text-decoration: none;
    color:#1b1b1b;
    text-align:center;
    transition: all .2s linear;
}
.btn-outline:hover{
    background-color:#DE6D1D;
    color:white;
    border:1px transparent solid;
}
.btn-small{
    padding:8px 16px;
    font-size: 12px;
    line-height: 16px;
}
.btn-main{
    border:1px #DE6D1D solid;
    background-color:#DE6D1D;
    border-radius: 8px;
    text-decoration: none;
    color:white;
    text-align:center;
    transition: all .2s linear;
}
.btn-link{
    border:1px transparent solid;
    border-radius: 8px;
    text-decoration: none;
    color:#0C61FF;
    text-align:center;
    transition: all .2s linear;
}
.btn-link:hover{
    background-color:transparent;
    color:#0C61FF;
    border:1px #1B1B1B solid;
}
.btn-main:hover{
    background-color:transparent;
    color:#1b1b1b;
    border:1px #1B1B1B solid;
}
.btn-large{
    padding:16px 32px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
}
.tiles-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap:32px;
    justify-content: center;
}
.tiles-container.centered{
    justify-content: center;
}
.tiles-container.spreaded{
    justify-content: space-between;
}
.tiles-container.spreaded .news-tile-item{
    width:300px;
}
.tiles-container.spreaded .news-tile-item:first-child{
    min-width:55%;
    flex-direction: row;
    gap:16px;
}
.tiles-container.spreaded .news-tile-item:first-child img{
    max-height: unset;
    max-width: 350px;
}
.tiles-container.spreaded .news-tile-item:first-child h4{
    font-size: 28px;
}
.tiles-container.spreaded .news-tile-item:first-child .news-excerpt{
    display:block;
}
h3{
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.4px;
}
h4{
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
}
h5{
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
}
h3.centered{
    text-align:center;
}
h3.backgrounded{
    padding:32px;
    background-color: #F9E4D5; 
    border-radius: 8px;   
}
.container{
    padding:0px 160px;
    margin-bottom:64px;
}
.container-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:32px;
    margin-top: 32px;
}
.image-tile{
    max-width: 200px;
}
.image-tile img{
    width: 100%;
}
.news-excerpt{
    display: none;
}
.pagination{
    margin-top:32px;
    display:flex;
    flex-direction: row;
    gap:16px;
    justify-content: center;
    align-items: center;
}
.pagination a{
    text-align: center;
    color: rgba(0, 0, 0, 0.88);
    text-decoration: none;
    font-size: 14px;
    line-height: 22px;
    padding:5px;
    text-align: center;
}
.pagination a{
    font-weight: 600;
    color: #1677FF;
}
.pagination a.current{
    color: rgba(0, 0, 0, 0.25);
}

.pagination a:hover{
    color: #1677FF;
}
/*HEADER*/
.header-mobile{
    top:0px;
    left:0px;
    width:100%;
    background-color: #1B1B1B;
    z-index:2;
    position:absolute;
    display: none;
    flex-direction: column;
    padding:32px;
    box-sizing: border-box;
    transition: all 0.5s ease;
}
.header-mobile-top{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top:40px;
}
.header-nav.mobile-nav ul{
    flex-direction: column;
}

.search-input{
    border:1px solid #CCC;
    color:#CCC;
    background-color: #5F5D5D;
    background-image: url('./assets/img/search-icon.svg');
    background-position: center right;
    background-repeat: no-repeat;
    border-radius: 4px;
    padding:8px 16px;
    min-width:200px;
}
.search-input::placeholder {
  color: #fff;
}
header{
    margin-bottom:8px;
    padding:8px 32px;
    background-color: #1b1b1b;
    border-radius: 8px;
    display:flex;
    flex-direction:row;
    align-items: center;
    justify-content: space-between;
}
.logo-container{
    display: flex;
    flex-direction: row;
    max-width:250px;
    align-items: center;
    gap:8px;
}
.logo-container img{
    height:80px;
}
.logo-container .logo-text{
    font-family: 'Gilroy';
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #FFFFFF;
    text-decoration: none;
}
.logo-container a{
    text-decoration: none;
}
.header-nav ul{
    display: flex;
    flex-direction: row;
    gap:32px;
    padding-inline-start:0px;
}
.header-nav ul li{
    list-style-type: none;
}
.header-nav ul li a{
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    transition: all .3s ease;
}
.header-icons{
    display:flex;
    flex-direction: row;
    gap:32px;
}
.header-icons img{
    height:32px;
}
/*ADS STRIP*/
.header-ads{
    border-radius: 8px;
    background-color: #FFE7C8;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap:16px;
    padding:16px;
    margin-bottom:8px;
}
.header-ads-text{
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
}

/*HERO*/
.hero{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background-color: #F9E4D5;
    margin-bottom:32px;
}
.hero-heading{
    padding:32px;
}
.hero-heading h1{
    font-size: 56px;
    font-family: 'Gilroy';
    font-weight: 600;
}
.hero-heading .hero-subtitle{
    font-size: 32px;
    font-family: 'Gilroy';
    margin-bottom:64px;
}
.hero-imagery{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap:0px;
}
.hero-imagery-item{
    display:flex;
    flex-direction:column;
    align-items: center;
    justify-content: flex-end;
    padding:64px 16px;
    height:500px;
    max-width: 250px;
    background-size: cover;
}
.hero-imagery-item p{
    font-weight: 700;
    font-size: 36px;
    line-height: 48px;
    color: #FFFFFF;
    text-shadow: 0px 0px 8.5px #000000;
}
.hero-imagery-item.first-item{
    background-image: url(./assets/img/hero-photo-1.jpeg);
    background-color: rgba(20, 20, 20, 0.3); 
    background-blend-mode: multiply;
    background-position:65% 30%;
    box-shadow: -8px 0px 24px rgba(0, 0, 0, 0.4);
}
.hero-imagery-item.second-item{
    background-image: url(./assets/img/hero-photo-2.jpg);
    background-color: rgba(20, 20, 20, 0.3);
    background-position:65% 30%; 
    background-blend-mode: multiply;
}
.hero-imagery-item.third-item{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background-image: url(./assets/img/hero-photo-3.jpg);
    background-color: rgba(20, 20, 20, 0.3);
    background-position:65% 30%; 
    background-blend-mode: multiply;
}
/*TILES*/
.tile-item{
    
    border-radius: 8px;
    width:180px;
    min-height: 180px;
    padding:16px;
}
.tile-item.background-tile-item{
    background-color: #F9E4D5;
}
.tile-item img{
    width:80px;
    height:80px;
}
.tile-item a{
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color:#1b1b1b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap:16px;
    text-align: center;
}
.tile-item a img{
     transition: all .3s ease-in-out;
}

.tile-item a:hover img{
    transform: scale(1.2);
}
/*NEWS*/
.news-tile-item{
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    width:350px;
    padding:16px;
    border-radius: 16px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.16);
}
.news-tile-item img{
    object-fit: cover;
    margin-bottom:16px;
    max-height: 180px;
}
.tag-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap:16px;
}
.tag-container.standalone{
    padding-bottom:16px
}
.tag-container span{
    border-radius: 16px;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    color: #309C68;
    padding:8px;
    background-color: #E2F5EC;
}
.tag-container span a{
    color: #309C68;
    text-decoration: none;
}
.read-more-link{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color:#1b1b1b;
}
.news-date{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.5);
}
/*singular*/
/*single post*/
.single-page-content{
    margin-top: 40px;
}
.single-header{
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    padding:30px;
}
.single-header h2{
    padding:0px;
    margin:0px;
    margin-right:20px;
    color:#111111;
}
.single-header .blog-tags-block{
    padding-top:0px;
}
.single-page-content .image-container{
    width:100%;
    height:450px;
    margin-bottom: 40px;
}
.single-page-content .image-container img{
    object-fit: cover;
    width:100%;
    height:100%;
}
.single-page-content .text-container,
.single-page-content .text-container p,
.single-page-content .text-container ul li,
.single-page-content .text-container a{
    font-family: 'SF Pro Display';
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
}
.single-page-content .text-container{
    margin-bottom: 40px;
}
.text-container a{
	text-decoration:underline;
	font-weight:bold;
}
.single-image-container{
    width: 100%;
    height: 250px;
}
.single-image-container img{
    object-fit: cover;
    width: 100%;
    height: 250px;
}
/*FOOTER*/
footer{
    background-color: #1B1B1B;
    border-radius:8px;
    padding:32px;
}
.footer-nav{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 64px;
    gap:32px;
}
.footer-nav ul{
    list-style-type: none;
    padding-inline-start:0px;
    display: flex;
    flex-direction: column;
    gap:8px;

}
.footer-nav ul li a, .footer-contacts a{
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color:#B9B9B9;
    transition: all 0.2s ease;
}
.footer-contacts{
    max-width: 400px;
    display:flex;
    flex-direction: column;
    gap:8px;
}
.footer-social-icons{
    display: flex;
    flex-direction: row;
    gap:8px;
    align-items: center;
}
@media screen and (max-width: 1600px) {
    .container{
        padding:0 64px;
    }
}

@media screen and (max-width: 1280px) {
    .hero-heading h1{
        font-size: 40px;
    }
    .hero-imagery-item p{
        font-size: 28px;
    }
    .tiles-container.spreaded .news-tile-item:first-child{
        width:100%
    }
    .tiles-container.spreaded{
        justify-content: center;
    }
}
@media screen and (max-width: 991px) {
    .mobile{
        display:inline-block;
    }
    .header-nav.desktop-nav{
        display:none;
    }
    .hero{
        flex-direction: column;
    }
    .hero-imagery{
        padding:32px;
    }
    .tiles-container.spreaded .news-tile-item{
        width:100%
    }
    .tiles-container{
        justify-content: center;
    }
    .tile-item{
        width: 120px;
    }
    .single-header{
        flex-direction: column;
        align-items:flex-start;
        justify-content: flex-start;
    }
}
@media screen and (max-width: 768px) {
    body{
        padding:16px;
    }
    .container{
        padding:0 16px;
    }
    .header-icons{
        gap:16px;
    }
    .hero-heading{
        text-align: center;
    }
    .hero-heading h1{
        font-size:32px;
    }
    .hero-heading .hero-subtitle{
        font-size:24px;
    }
    .hero-imagery{
        flex-direction: column;
        width:100%;
        align-items: stretch;
        padding:0px;
    }
    .hero-imagery-item {
        max-width: unset;
        height:100px;
    }
    .hero-imagery-item.first-item{
        border-bottom-left-radius: 0px;
        border-top-right-radius: 8px;
    }
    .hero-imagery-item.third-item{
        border-bottom-left-radius: 8px;
        border-top-right-radius: 0px;
    }
    h3{
        text-align: center;
    }
    .image-tile{
        max-width: 150px;
    }
    .tiles-container.spreaded .news-tile-item:first-child{
        flex-direction: column;
    }
    .tiles-container.spreaded .news-tile-item:first-child img{
        max-width:unset;
    }
}