@import url(https://fonts.googleapis.com/css?family=Poiret+One|Lobster|Anton|Shadows+Into+Light|Open+Sans|Roboto|Orbitron|Oswald|Raleway|Montserrat|Roboto+Slab|Indie+Flower|Fjalla+One|Bree+Serif|Pacifico|Abril+Fatface);

body {
    background: #e8ebf3;
    font: 400 16px 'Poppins', sans-serif;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

.poiret{font-family:Poiret One;}
.lobster{font-family:lobster;}
.anton{font-family:Anton;}
.Shadows{font-family:'Shadows Into Light';}
.open{font-family:open sans;}
.roboto{font-family:roboto;}
.slabo{font-family:"Orbitron";}
.oswald{font-family:Oswald;}
.raleway{font-family:raleway;}
.Montserrat{font-family:Montserrat;}
.roboto2{font-family:roboto slab;}
.indie{font-family:indie flower;}
.fjalla{font-family:fjalla one;}
.bree{font-family:bree serif;}
.pacifico{font-family:pacifico;}
.abril{font-family:'Abril Fatface';font-size:16px;}

header {
    background-color: #4161e8;
    color: white;
    padding: 12px;
}

.blog-container {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}

@media (min-width: 768px) {
.blog-container {
    grid-template-columns: repeat(3, 1fr);
}
}

.blog-card {
background: white;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
overflow: hidden;
display: flex;
flex-direction: column;
text-decoration: none;
color: inherit;
display: block;
transition: transform 0.2s ease;
}
  
.blog-card:hover {
transform: scale(1.02);
}

.blog-card img {
width: 100%;
height: 250px;
object-fit: cover;
}

.blog-card .content {
padding: 15px;
}

.blog-card .title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}  

.blog-card .description {
    font-size: 0.95em;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;           /* Batasi ke 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
  

.blog-card .post-date {
font-size: 0.8em;
color: #888;
margin-top: 10px;
}

/* Tombol Load More */
.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    background-color: #a0b0c1;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    padding: 10px 30px;
}

.btn-load-more:hover {
    background-color: #8aa1b9;
}
  