/**
 * Sidebar Styles
 *
 * @package TBC_News
 */

/* ===================================
   SIDEBAR LAYOUT
   =================================== */

.sidebar-area {
    background: transparent;
}

.sidebar-widget {
    background: #ffffff;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 4px;
    list-style: none !important;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget .widget-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--tbc-text);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--tbc-text);
    text-transform: uppercase;
}

/* ===================================
   TRENDING WIDGET
   =================================== */

.trending-widget .trending-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trending-widget .trending-item {
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.trending-widget .trending-item:first-child {
    padding-top: 0;
}

.trending-widget .trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-widget .trending-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--tbc-text);
    color: #ffffff;
    text-align: center;
    line-height: 32px;
    font-weight: 900;
    font-size: 14px;
    margin-right: 12px;
    border-radius: 2px;
}

.trending-widget .trending-title {
    display: inline;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.trending-widget .trending-title a {
    color: var(--tbc-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.trending-widget .trending-title a:hover {
    color: #666666;
} 













/* ===================================
   NEWSLETTER WIDGET
   =================================== */

.newsletter-widget {
    background: linear-gradient(135deg, var(--tbc-secondary) 0%, var(--tbc-primary) 100%);
    color: #ffffff;
}

.newsletter-widget .widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}
  
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button[type="submit"] {
    padding: 14px 24px;
    background: #ffffff;
    color: var(--tbc-secondary);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-privacy {
    font-size: 11px;
    margin-top: 12px;
    opacity: 0.8;
}

/* ===================================
   AD WIDGET
   =================================== */

.ad-widget {
    background: #f8f8f8;
    padding: 0;
    margin-bottom: 24px;
    border: 1px solid #e0e0e0;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ad-label {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-placeholder {
    padding: 40px 20px;
    color: #999999;
    font-size: 14px;
}

/* ===================================
   POPULAR CATEGORIES WIDGET
   =================================== */

.categories-widget .categories-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.categories-widget .category-item a {
    display: block;
    padding: 12px 16px;
    background: #F4F4F5;
    color: var(--tbc-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.categories-widget .category-item a:hover {
    background: var(--tbc-text);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ===================================
   SOCIAL FOLLOW WIDGET
   =================================== */

.social-follow-widget .social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-follow-widget .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--tbc-text);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-follow-widget .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-follow-widget .social-link.facebook { background: #1877f2; }
.social-follow-widget .social-link.twitter { background: #1da1f2; }
.social-follow-widget .social-link.instagram { background: #e4405f; }
.social-follow-widget .social-link.youtube { background: #ff0000; }
.social-follow-widget .social-link.linkedin { background: #0077b5; }
.social-follow-widget .social-link.tiktok { background: var(--tbc-text); }

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .sidebar-widget {
        padding: 20px 16px;
    }
    
    .categories-widget .categories-list {
        grid-template-columns: 1fr;
    }
    
    .social-follow-widget .social-links {
        grid-template-columns: repeat(6, 1fr);
    }
}




