/*!
Theme Name: Infohub
Author: Dmytro Spektoruk
Author URI: http://dmytrospektoruk.pro
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: infohub
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

.related-news{
margin:30px 0;
padding:15px;
background:#f5f7fb;
border-radius:12px;
}

.related-title{
font-size:18px;
font-weight:700;
margin-bottom:10px;
}

.related-slider{
overflow:hidden;
}

.swiper-slide{
width:70%;
}

.related-card{
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.related-card img{
width:100%;
height:150px;
object-fit:cover;
display:block;
}

.related-text{
font-size:14px;
padding:10px;
line-height:1.4;
color:#222;
}
.swiper-slide{
width:70% !important;
}
.related-text{
font-size:14px;
padding:10px;
line-height:1.3;
height:44px;
overflow:hidden;
display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
}
.related-card{
transition:0.3s;
}

.related-card:hover{
transform:translateY(-3px);
box-shadow:0 6px 18px rgba(0,0,0,0.12);
}
.related-news{
margin:35px 0;
}

.related-news{
margin-top:40px !important;
padding:20px !important;
background:#f5f7fb !important;
border-radius:12px !important;
}

.related-title{
display:inline-block !important;
background:#2563eb !important;
color:#fff !important;
font-size:16px !important;
font-weight:600 !important;
padding:8px 16px !important;
border-radius:8px !important;
margin-bottom:15px !important;
}

.related-slider{
margin-top:10px !important;
}

.related-card{
background:#fff !important;
border-radius:10px !important;
overflow:hidden !important;
box-shadow:0 4px 12px rgba(0,0,0,0.08) !important;
transition:0.3s !important;
}

.related-card:hover{
transform:translateY(-3px) !important;
box-shadow:0 6px 18px rgba(0,0,0,0.15) !important;
}

.related-card img{
width:100% !important;
height:160px !important;
object-fit:cover !important;
}

.related-text{
padding:12px !important;
font-size:15px !important;
line-height:1.4 !important;
font-weight:500 !important;
color:#222 !important;
}

.related-news{
margin-top:35px;
}

.related-title{
font-size:18px;
font-weight:700;
margin-bottom:15px;
padding-bottom:8px;
border-bottom:3px solid #2563eb;
display:inline-block;
}

.related-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.related-item{
display:block;
background:#fff;
border-radius:10px;
overflow:hidden;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
text-decoration:none;
}

.related-item img{
width:100%;
height:120px;
object-fit:cover;
}

.related-text{
padding:10px;
font-size:14px;
font-weight:500;
color:#222;
line-height:1.4;
}

.related-item:hover{
transform:translateY(-3px);
box-shadow:0 6px 18px rgba(0,0,0,0.15);
}
.related-news{
margin-top:30px;
}

.related-title{
font-size:20px;
font-weight:700;
margin-bottom:15px;
position:relative;
}

.related-title:after{
content:"";
display:block;
width:60px;
height:3px;
background:#2563eb;
margin-top:6px;
border-radius:2px;
}

.related-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
}

.related-item{
display:block;
background:#fff;
border-radius:10px;
overflow:hidden;
text-decoration:none;
box-shadow:0 3px 10px rgba(0,0,0,0.08);
transition:0.3s;
}

.related-item img{
width:100%;
height:120px;
object-fit:cover;
}

.related-text{
padding:10px;
font-size:14px;
line-height:1.4;
font-weight:500;
color:#1a1a1a;
}

.related-item:hover{
transform:translateY(-3px);
box-shadow:0 6px 18px rgba(0,0,0,0.15);
}

.news-container{
max-width:900px;
margin:auto;
padding:20px;
}

.news-title{
font-size:28px;
font-weight:700;
margin-bottom:30px;
}

.news-card{
margin-bottom:40px;
border-bottom:1px solid #eee;
padding-bottom:30px;
}

.news-image img{
width:100%;
height:auto;
border-radius:6px;
}

.news-card-title{
font-size:22px;
margin:15px 0;
line-height:1.3;
}

.news-meta{
color:#777;
font-size:14px;
margin-bottom:10px;
}

.news-excerpt{
font-size:16px;
line-height:1.5;
}

#load-more{
display:block;
margin:40px auto;
padding:12px 25px;
background:#1a73e8;
color:white;
border:none;
border-radius:5px;
font-size:16px;
cursor:pointer;
}