/* ===== Header & Navbar ===== */
#header .navbar .navbar-right .nav-item-v2 {
    margin-right: 15px;
}

.nav-main .navbar-nav .nav-link {
    padding: 20px 0 !important;
}

.navbar-right .profile-dropdown .dropdown-menu-v2 {
    left: 14px !important;
    min-width: 11rem !important;
    top: 60px !important;
}

.dropdown-toggle::after {
    display: none !important;
}

/* ===== Featured Post ===== */
.post-item-featured {
    display: flex !important;
    gap: 10px;
    align-items: start;
}

.post-item-featured .featured-content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-item-featured .featured-image {
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0 !important;
}

.post-item-featured .featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.post-item-featured .featured-title a {
    color: #333;
    text-decoration: none;
}

.post-item-featured .featured-title a:hover {
    color: #007bff;
    text-decoration: underline;
}

.post-item-featured .summary {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-item-featured .post-meta {
    font-size: 0.9rem;
    color: #888;
}

/* ===== Section 8 ===== */
.section-8 .post-item {
    margin: 0 !important;
}

/* ===== Ratio 16:9 ===== */
.ratio-16x9 {
    position: relative;
    width: 100%;
}

.ratio-16x9::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.ratio-16x9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* ===== Utilities ===== */
.color-white {
    color: #ffffff !important;
}

.gap-20 {
    gap: 20px !important;
}

.featured-sub-title {
    font-size: 15px;
    text-transform: none;
    font-weight: 600;
}

/* ===== Extra Summary Style ===== */
.summary-v2 {
    color: #666;
    line-height: 1.6;
}

.badge-position-abs {
    position: absolute;
    display: flex;
    justify-content: center;
    width: auto;
    height: 30px;
    align-items: center;
    bottom: 48%;
    left: 15px;
}

.badge-position-abs a {
    display: block;
    width: 100%;
    height: 100%;
}

.badge-position-abs a span {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.sub-badge-position-abs {
    position: absolute;
    display: flex;
    justify-content: center;
    width: auto;
    height: 30px;
    align-items: center;
    bottom: 10%;
    left: 15px;
}

.sub-badge-position-abs a {
    display: block;
    width: 100%;
    height: 100%;
}

.sub-badge-position-abs a span {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .post-item-featured {
        flex-direction: column;
        gap: 20px;
    }

    .post-item-featured .featured-content,
    .post-item-featured .featured-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .post-item-featured .featured-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .post-item-featured .featured-title {
        font-size: 1.3rem;
    }

    .post-item-featured .summary-v2 {
        font-size: 1rem;
    }
}

@media (max-width: 414px) {
    .badge-position-abs {
        bottom: 10%;
    }

    .sub-badge-position-abs {
        bottom: 8%;
    }
}