/* ==========================================================================
MODERN & ELEGANT BLOG SIDEBAR (2026 DESIGN)
========================================================================== */

/* --- 1. GENERAL WIDGET CARD STYLE --- */
.sidebar-column .widget {
    background-color: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden; /* Ads safety */
}

/* Har widget ka title */
.sidebar-column .widget-title {
    margin: 0 0 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- 2. RECENT POSTS WIDGET --- */
.pg-post-list-widget {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: posts-counter;
}

.post-widget-item {
    padding: 15px 0;
    border-bottom: 1px solid #F3F4F6;
}

.post-widget-item:last-child { border-bottom: none; padding-bottom: 0; }
.post-widget-item:first-child { padding-top: 0; }

.post-widget-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Post ka chota sa number circle */
.post-widget-link::before {
    counter-increment: posts-counter;
    content: counter(posts-counter);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background-color: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #6B7280;
    transition: all 0.2s ease;
}

.post-widget-thumb img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.post-widget-content { flex: 1; }

.post-widget-category {
    font-size: 10px;
    font-weight: 700;
    color: #FF3366;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.post-widget-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1F2937;
    margin: 0;
    transition: color 0.2s ease;
}

.post-widget-link:hover .post-widget-title { color: #FF3366; }
.post-widget-link:hover::before {
    background-color: #FF3366;
    color: #FFFFFF;
    border-color: #FF3366;
}

/* --- 3. CATEGORIES WIDGET --- */
.styled-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 5px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-bottom: none;
}

.styled-category-list li:last-child a { margin-bottom: 0; }
.styled-category-list li a:hover {
    color: #FF3366;
    background-color: #FFF5F7;
}

.styled-category-list .cat-count {
    font-size: 12px;
    background-color: #F3F4F6;
    color: #4B5563;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* --- 4. NEWSLETTER WIDGET --- */
.widget_profilegrid_newsletter {
    background-color: #FFF5F7;
    text-align: center;
}

.newsletter-widget .newsletter-icon {
    font-size: 32px;
    color: #FF3366;
    margin-bottom: 15px;
}

.newsletter-widget .widget-title {
    color: #1F2937;
    border-bottom: none;
    padding-bottom: 0;
}

.newsletter-widget .newsletter-desc {
    font-size: 14px;
    color: #6B7280;
    margin: -10px 0 20px 0;
    line-height: 1.6;
}

.newsletter-widget .newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    background-color: #FFFFFF;
    color: #1F2937;
    border-radius: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.newsletter-widget .newsletter-form input[type="email"]:focus {
    border-color: #FF3366;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

.newsletter-widget .newsletter-form input[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #FF3366;
    color: #fff;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.newsletter-widget .newsletter-form input[type="submit"]:hover {
    background-color: #E0244B;
}

/* --- 5. SOCIAL FOLLOW WIDGET --- */
.social-follow-widget {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 0 0;
}

.social-follow-widget .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-follow-widget .social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.social-icon.social-facebook { background-color: #1877F2; }
.social-icon.social-twitter { background-color: #1DA1F2; }
.social-icon.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icon.social-youtube { background-color: #FF0000; }