/* ============================================
   iAdsClick – RSS Feed & Social Section Styles
   Premium Dark-Mode Ready Design
   ============================================ */

/* Section Wrapper */
#social-ggm,
.feeds-section {
    padding: 50px 0;
    background: #f8faff;
    border-top: 1px solid #e8eef8;
}

/* Responsive 2-column grid: RSS | Social */
.rss-social-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .rss-social-grid {
        grid-template-columns: 1fr;
    }
}

.feeds-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.feed-col h2,
.feed-col h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #12143a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.feed-col p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* === SCROLL BOX === */
.scroll-box {
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    position: relative;
}

/* === RSS ENTRY CARDS === */
.rss-entry {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    background: #fff;
}

.rss-entry:hover {
    background: #f0f7ff !important;
    border-left-color: #4f46e5;
    transform: translateX(2px);
}

.rss-entry-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.rss-entry-body {
    flex: 1;
}

.rss-entry h4 {
    margin: 0 0 4px 0;
    font-size: 13.5px;
    line-height: 1.4;
    font-weight: 600;
}

.rss-entry h4 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.rss-entry h4 a:hover {
    color: #4f46e5;
}

.rss-entry-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.rss-entry-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.rss-entry-tag {
    font-size: 10px;
    font-weight: 600;
    color: #4f46e5;
    background: #ede9fe;
    padding: 1px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rss-entry p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* === RSS SECTION HEADER === */
#feedTitle {
    font-size: 1.5rem;
    font-weight: 800;
    color: #12143a;
    margin-bottom: 6px;
}

/* Social Section */
#social-ggm h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #12143a;
    margin-bottom: 12px;
}

/* Follow Buttons */
.in-btn.in-btn-outline {
    display: block;
    padding: 10px 16px;
    border: 2px solid #4f46e5;
    color: #4f46e5;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.in-btn.in-btn-outline:hover {
    background: #4f46e5;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .feeds-grid,
    .in-grid[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    .scroll-box {
        height: 320px;
    }

    #social-ggm,
    .feeds-section {
        padding: 32px 0;
    }
}