#page-builder {
    padding-bottom: 0 !important;
}

#featured-property {
    padding-top: 30px;
    padding-bottom: 20px;
}

#howto-rent {
    padding-top: 30px;
    padding-bottom: 20px;
}

#best-offer {
    padding-top: 30px;
    padding-bottom: 20px;
}

#berita-terbaru {
    padding: 30px 0 60px;
    background: transparent;
}

#berita-terbaru .blog-card {
    margin-bottom: 30px;
    height: 100%;
    flex: 1;
    width: 100%;
}

#berita-terbaru .blog-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    padding: 20px 22px 18px;
}

#berita-terbaru .blog-summary {
    margin-bottom: 12px;
    flex-grow: 1;
}

#berita-terbaru .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

#berita-terbaru .section-header .section-title {
    float: none;
    margin: 0;
}

#berita-terbaru .section-header .slide-control {
    float: none;
    margin-right: 0;
    margin-left: auto;
}

#berita-terbaru .slick-list {
    overflow: hidden !important;
    margin: -25px 0 !important;
    padding: 25px 0 !important;
}

#berita-terbaru .slick-track {
    display: flex !important;
}

#berita-terbaru .slick-slide {
    height: auto !important;
    display: flex !important;
}

#berita-terbaru .slick-slide>div {
    height: 100%;
    display: flex;
    flex: 1;
    width: 100%;
}

#berita-terbaru .slick-slide .form-group {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.berita-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #34438a;
    color: #fff !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(52, 67, 138, 0.25);
    text-decoration: none !important;
}

.berita-see-all-btn:hover {
    background: #485bb8;
    box-shadow: 0 5px 14px rgba(52, 67, 138, 0.35);
    color: #fff !important;
    text-decoration: none !important;
}

.berita-see-all-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.berita-see-all-btn:hover i {
    transform: translateX(4px);
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-img-wrapper {
    position: relative;
    padding-top: 62%;
    overflow: hidden;
}

.blog-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    z-index: 1;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-img-wrapper::after {
    opacity: 0.7;
}

.blog-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.08);
}

.blog-body {
    padding: 20px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-date {
    position: absolute;
    top: -16px;
    left: 20px;
    background: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #34438a;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.blog-date i {
    margin-right: 6px;
    color: #34438a;
    font-size: 1rem;
}

.blog-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: 15px;
    margin-bottom: 12px;
    line-height: 1.35;
    height: auto;
    color: #111827;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title a {
    color: #34438a;
}

.blog-summary {
    color: #6b7280;
    font-size: 13.5px;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 20px;
    height: auto;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #34438a;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.read-more-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #34438a, #447fc1);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
}

.blog-card:hover .read-more-link::after {
    width: calc(100% - 26px);
}

.read-more-link i {
    margin-left: 8px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 12px;
    font-weight: 900;
}

.read-more-link:hover {
    color: #447fc1;
    text-decoration: none;
}

.read-more-link:hover i {
    transform: translateX(6px);
}

/* ====== EMPTY STATE ====== */
.berita-empty-state {
    padding: 50px;
}

.berita-empty-state p {
    color: #b2bec3;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    #berita-terbaru .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    #berita-terbaru {
        padding: 30px 0 50px;
    }

    .blog-img-wrapper {
        padding-top: 58%;
    }

    .blog-card-title {
        font-size: 1.5rem;
    }

    .blog-body {
        padding: 22px 22px 20px;
    }
}