.pp-blog {
background-color: #fff !important;
padding: 48px 0 !important;
}
.pp-blog__inner {
max-width: 1080px;
margin: 0 auto;
padding: 0 24px;
} .pp-blog__header {
max-width: 800px;
margin: 0 auto 32px;
text-align: center;
}
.pp-blog__badge {
display: inline-block;
padding: 4px 16px;
background: rgba(204, 255, 0, 0.2);
color: #002040;
border-radius: 9999px;
font-size: 14px;
margin-bottom: 16px;
}
.pp-blog__title {
font-size: 28px !important;
font-weight: 400 !important;
color: #1A1A1A !important;
margin: 0 0 16px !important;
text-align: center !important;
}
.pp-blog__desc {
font-size: 18px !important;
color: #4a5565 !important;
margin: 0 !important;
text-align: center !important;
} .pp-blog__grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
max-width: 1080px;
margin: 0 auto;
} .pp-blog__grid--1 {
grid-template-columns: 1fr;
max-width: 360px;
} .pp-blog__grid--2 {
grid-template-columns: repeat(2, 1fr);
max-width: 720px;
}
.pp-blog__card {
display: flex;
flex-direction: column;
background: #fff;
border-radius: 12px;
overflow: hidden;
text-decoration: none;
color: inherit;
transition: transform 0.3s, box-shadow 0.3s;
}
.pp-blog__card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
} .pp-blog__card-thumb {
position: relative;
padding-top: 56.25%;
overflow: hidden;
}
.pp-blog__card-thumb img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.pp-blog__card:hover .pp-blog__card-thumb img {
transform: scale(1.05);
}
.pp-blog__card-nothumb {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #f4f6f8;
display: flex;
align-items: center;
justify-content: center;
color: #9ca3af;
font-size: 14px;
} .pp-blog__card-body {
padding: 16px;
flex: 1;
display: flex;
flex-direction: column;
}
.pp-blog__card-meta {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 12px;
flex-wrap: wrap;
}
.pp-blog__cat-badge {
display: inline-block;
padding: 2px 10px;
background: rgba(204, 255, 0, 0.2);
color: #002040;
border-radius: 9999px;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
.pp-blog__date,
.pp-blog__read-time {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: #9ca3af;
}
.pp-blog__date svg,
.pp-blog__read-time svg {
width: 14px;
height: 14px;
color: #9ca3af;
}
.pp-blog__card-title {
font-size: 16px !important;
font-weight: 700 !important;
color: #1A1A1A !important;
margin: 0 0 8px !important;
line-height: 1.5 !important;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.pp-blog__card-excerpt {
font-size: 14px !important;
color: #6b7280 !important;
margin: 0 !important;
line-height: 1.6 !important;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
} .pp-blog__empty {
text-align: center;
color: #9ca3af !important;
font-size: 16px !important;
} .pp-blog__cta {
text-align: center;
margin-top: 32px;
}
.pp-blog__cta-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 32px;
background: #CCFF00;
color: #1A1A1A;
border-radius: 12px;
font-size: 18px;
font-weight: 700;
text-decoration: none;
transition: background-color 0.3s;
}
.pp-blog__cta-btn:hover {
background-color: #b8e600;
} .pp-blog.pp-dark-bg {
background-color: #002040 !important;
}
.pp-blog.pp-dark-bg .pp-blog__badge {
color: #CCFF00;
}
.pp-blog.pp-dark-bg .pp-blog__title {
color: #fff !important;
}
.pp-blog.pp-dark-bg .pp-blog__desc {
color: rgba(255, 255, 255, 0.8) !important;
}
.pp-blog.pp-dark-bg .pp-blog__empty {
color: rgba(255, 255, 255, 0.6) !important;
} @media only screen and (max-width: 640px) {
.pp-blog {
padding: 32px 0 !important;
}
.pp-blog__title {
font-size: 22px !important;
}
.pp-blog__desc {
font-size: 16px !important;
}
.pp-blog__grid {
grid-template-columns: 1fr !important;
gap: 16px;
}
}