.main-content{
width: 90%;
display: flex;
flex-direction: column;
gap: 3rem;
margin: 0 auto;
margin-top: 3rem;
padding-bottom: 3rem;
}
.main-content .container{
display: grid;
grid-template-columns: repeat(2,1fr);
align-items: start;
gap: 2rem;
background-color: var(--white);
border-radius: 20px;
width: 100%;
height: auto;
padding: 48px 36px;
}
.img-wraper{
width: 100%;
aspect-ratio: 4 / 2;
border-radius: 20px;
overflow: hidden;
position: relative;
}
.img-wraper img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 20px;
display: block;
}
.text-wraper{
display: flex;
flex-direction: column;
gap: 1rem;
}
.text-wraper h2{
font-family: 'Archivo Expanded', sans-serif;
font-size: 20px;
font-weight: 700;
line-height: 28px;
color: var(--text);
}
.text-wraper span{
font-family: 'Poppins', sans-serif;
font-size: 16px;
font-weight: 600;
line-height: 24px;
letter-spacing: -1.1%;
color: var(--text);
}
.text-wraper .text-content p{
font-size: 16px;
font-weight: 400;
line-height: 24px;
letter-spacing: -1.1%;
color: var(--text-sub);
font-family: 'Poppins', sans-serif;
display: -webkit-box;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
overflow: hidden;
}
.text-wraper a{
font-family: 'Poppins', sans-serif;
font-size: 12px;
font-weight: 600;
line-height: 16px;
text-decoration: underline;
color: var(--primary);
cursor: pointer;
}
@media (max-width: 767px) {
.main-content .container{
display: flex;
flex-direction: column;
gap: 2rem;
}
} .pagination{
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
margin-top: 1rem;
}
.pagination .page-numbers{
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: 40px;
padding: 0 10px;
border-radius: 8px;
font-family: 'Poppins', sans-serif;
font-size: 14px;
font-weight: 600;
color: var(--text);
background-color: var(--white);
border: 1px solid #e5e5e5;
text-decoration: none;
transition: all 0.2s ease;
}
.pagination .page-numbers:hover{
background-color: var(--primary);
color: #fff;
border-color: var(--primary);
}
.pagination .page-numbers.current{
background-color: var(--primary);
color: #fff;
border-color: var(--primary);
}
.pagination .page-numbers.dots{
background: none;
border: none;
}
.news-content{
display: flex;
flex-direction: column;
gap: 3rem;
width: 90%;
margin: 0 auto;
margin-bottom: 3rem;
margin-top: 3rem;
}
.news-content .breadcrumb{
display: flex;
flex-direction: row;
gap: 1rem;
list-style: none;
}
.news-content .breadcrumb li{
font-size: 14px;
font-family: 'Poppins', sans-serif;
font-weight: 600;
letter-spacing: -1.1%;
color: var(--wp-text-sub-color);
}
.news-content .breadcrumb li::after{
content: '>';
margin-left: 1rem;
color: var(--wp-text-soft-color);
}
.news-content .breadcrumb li a:hover{
text-decoration: underline;
}
.news-content .breadcrumb li:last-child::after{
content: none;
}