.fg-popular {
    margin-bottom: 1.5rem;
}

.fg-popular__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fg-popular__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f172a;
}

.fg-popular__title-bar {
    display: inline-block;
    width: 4px;
    height: 1.35rem;
    border-radius: 4px;
    background: linear-gradient(180deg, #3b8beb 0%, #1a5fb4 100%);
    box-shadow: 0 2px 6px rgba(26, 95, 180, 0.35);
}

.fg-popular__view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #64748b;
    white-space: nowrap;
}

.fg-popular__view-all:hover {
    color: #1a5fb4;
}

.fg-popular__featured {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid rgba(10, 45, 92, 0.08);
    box-shadow:
        0 16px 36px rgba(10, 45, 92, 0.1),
        0 4px 12px rgba(10, 45, 92, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fg-popular__featured:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow:
        0 22px 44px rgba(10, 45, 92, 0.14),
        0 6px 16px rgba(10, 45, 92, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.fg-popular__featured-media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.fg-popular__featured-body {
    flex: 0 0 auto;
    padding: 1.25rem 1.35rem 1.25rem;
}

.fg-popular__category {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(180deg, #3b8beb 0%, #1a5fb4 100%);
    box-shadow: 0 3px 8px rgba(26, 95, 180, 0.25);
}

.fg-popular__featured-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.fg-popular__featured:hover .fg-popular__featured-title {
    color: #1a5fb4;
}

.fg-popular__featured-excerpt {
    margin: 0 0 0.75rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
}

.fg-popular__meta {
    font-size: 0.8rem;
    color: #94a3b8;
}

.fg-popular__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.fg-popular__list-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(10, 45, 92, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.fg-popular__list-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.fg-popular__list-item:hover {
    color: inherit;
    transform: translateX(4px);
}

.fg-popular__list-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(10, 45, 92, 0.1);
}

.fg-popular__list-category {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a5fb4;
}

.fg-popular__list-title {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.fg-popular__list-item:hover .fg-popular__list-title {
    color: #1a5fb4;
}

.fg-popular__list-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

.fg-popular-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.fg-popular-sidebar__search {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(10, 45, 92, 0.12);
    box-shadow: 0 4px 12px rgba(10, 45, 92, 0.06);
}

.fg-popular-sidebar__search input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    padding: 0.75rem 0.9rem;
    font-size: 0.92rem;
    outline: none;
    background: #ffffff;
}

.fg-popular-sidebar__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border: none;
    color: #ffffff;
    background: linear-gradient(180deg, #3b8beb 0%, #1a5fb4 100%);
}

.fg-popular-sidebar__ad,
.fg-popular-sidebar__card {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(10, 45, 92, 0.08);
    box-shadow: 0 8px 20px rgba(10, 45, 92, 0.06);
}

.fg-popular-sidebar__ad {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 1rem;
    text-align: center;
    border-style: dashed;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.fg-popular-sidebar__ad span {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.fg-popular-sidebar__ad small {
    color: #94a3b8;
    font-size: 0.75rem;
}

.fg-popular-sidebar__card {
    padding: 1.15rem 1.2rem;
}

.fg-popular-sidebar__card-title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
}

.fg-popular-sidebar__social {
    display: flex;
    flex-direction: column;
}

.fg-popular-sidebar__social-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(10, 45, 92, 0.08);
    transition: transform 0.2s ease;
}

.fg-popular-sidebar__social-item:last-child {
    border-bottom: none;
}

.fg-popular-sidebar__social-item:hover {
    color: inherit;
    transform: translateX(3px);
}

.fg-popular-sidebar__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.fg-popular-sidebar__social-icon--facebook { background: #1877f2; }
.fg-popular-sidebar__social-icon--twitter { background: #1da1f2; }
.fg-popular-sidebar__social-icon--pinterest { background: #e60023; }
.fg-popular-sidebar__social-icon--youtube { background: #ff0000; }

.fg-popular-sidebar__social-name {
    flex: 1 1 auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.fg-popular-sidebar__social-count {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

@media (min-width: 992px) {
    .fg-popular__featured-col,
    .fg-popular__list-col {
        display: flex;
    }

    .fg-popular__list {
        justify-content: space-between;
    }

    .fg-popular__list-item {
        flex: 1 1 0;
        min-height: 0;
        padding: 0.5rem 0;
    }
}

@media (max-width: 991px) {
    .fg-popular__list {
        gap: 0;
    }

    .fg-popular__featured-media img {
        height: 220px;
    }
}
