/**
 * Sidebar Blog — Estilos
 * Shortcode: [blog_sidebar]
 * Pensado para sidebar de 25% de largura
 *
 * @package Multimidia
 */

/* ══════════════════════════════════════
   Container principal
   ══════════════════════════════════════ */
.bsb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #E8F5E9;
    width: 100%;
    box-sizing: border-box;
}

/* ══════════════════════════════════════
   Widget genérico — contêiner de cada seção
   ══════════════════════════════════════ */
.bsb-widget {
    background: rgba(13, 38, 33, 0.6);
    border: 1px solid rgba(163, 230, 53, 0.08);
    border-radius: 14px;
    padding: 22px 18px;
    transition: border-color 0.3s ease;
}

.bsb-widget:hover {
    border-color: rgba(163, 230, 53, 0.15);
}

/* Título de seção */
.bsb-widget-title {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #A3E635;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(163, 230, 53, 0.12);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bsb-widget-title svg {
    flex-shrink: 0;
    opacity: 0.7;
    width: 12px;
    height: 12px;
}

/* ══════════════════════════════════════
   1. Sobre a Igreja
   ══════════════════════════════════════ */
.bsb-about {
    text-align: center;
    padding: 28px 18px;
}

.bsb-about-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
    border: 2px solid rgba(163, 230, 53, 0.2);
    box-shadow: 0 0 20px rgba(163, 230, 53, 0.08);
}

.bsb-about-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.bsb-about-slogan {
    font-size: 10px;
    font-weight: 500;
    color: #A3E635;
    margin: 0 0 10px 0;
    font-style: italic;
}

.bsb-about-desc {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(232, 245, 233, 0.65);
    margin: 0;
}

/* ══════════════════════════════════════
   2. Redes Sociais
   ══════════════════════════════════════ */
.bsb-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 6px;
}

.bsb-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(163, 230, 53, 0.06);
    border: 1px solid rgba(163, 230, 53, 0.15);
    color: #A3E635;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bsb-social-link:hover {
    background: rgba(163, 230, 53, 0.15);
    border-color: rgba(163, 230, 53, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 230, 53, 0.12);
}

.bsb-social-link svg {
    width: 18px;
    height: 18px;
}

/* ══════════════════════════════════════
   3. Posts Recentes
   ══════════════════════════════════════ */
.bsb-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bsb-recent-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bsb-recent-item a {
    text-decoration: none;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    transition: opacity 0.2s ease;
}

.bsb-recent-item a:hover {
    opacity: 0.85;
}

.bsb-recent-thumb {
    width: 64px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bsb-recent-thumb-placeholder {
    width: 64px;
    height: 52px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0D2621, #1a3a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.bsb-recent-info {
    flex: 1;
    min-width: 0;
}

.bsb-recent-title {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin: 0 0 3px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bsb-recent-date {
    font-size: 9px;
    color: rgba(163, 230, 53, 0.55);
    font-weight: 500;
    margin: 0;
}

/* ══════════════════════════════════════
   4. YouTube — wrapper para o shortcode
   ══════════════════════════════════════ */
.bsb-youtube-wrap {
    padding: 0;
}

.bsb-youtube-wrap .bsb-widget-title {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 18px;
}

.bsb-youtube-wrap .gcpyc-sidebar-wrap {
    margin: 0;
}

/* ══════════════════════════════════════
   5. Instagram — wrapper para o shortcode
   ══════════════════════════════════════ */
.bsb-instagram-wrap {
    padding: 0;
    overflow: hidden;
}

.bsb-instagram-wrap .bsb-widget-title {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 18px;
}

/* Ajuste do grid do Instagram para sidebar */
.bsb-instagram-wrap .fi-grid {
    gap: 3px !important;
}

.bsb-instagram-wrap .fi-item {
    border-radius: 4px !important;
}

/* ══════════════════════════════════════
   6. Categorias
   ══════════════════════════════════════ */
.bsb-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bsb-categories li {
    padding: 0;
    margin: 0;
}

.bsb-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: all 0.2s ease;
    color: rgba(232, 245, 233, 0.7);
    font-size: 11px;
    font-weight: 500;
}

.bsb-category-link:hover {
    color: #A3E635;
    padding-left: 6px;
}

.bsb-categories li:last-child .bsb-category-link {
    border-bottom: none;
}

.bsb-category-count {
    font-size: 9px;
    font-weight: 600;
    color: rgba(163, 230, 53, 0.5);
    background: rgba(163, 230, 53, 0.06);
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ══════════════════════════════════════
   7. Tags
   ══════════════════════════════════════ */
.bsb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bsb-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(163, 230, 53, 0.05);
    border: 1px solid rgba(163, 230, 53, 0.12);
    color: rgba(232, 245, 233, 0.6);
    font-size: 9px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.bsb-tag:hover {
    background: rgba(163, 230, 53, 0.12);
    border-color: rgba(163, 230, 53, 0.3);
    color: #A3E635;
}

/* ══════════════════════════════════════
   8. Newsletter CTA
   ══════════════════════════════════════ */
.bsb-newsletter {
    text-align: center;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.06), rgba(163, 230, 53, 0.02));
}

.bsb-newsletter-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.bsb-newsletter-text {
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(232, 245, 233, 0.6);
    margin: 0 0 16px 0;
}

.bsb-newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1.5px solid rgba(163, 230, 53, 0.35);
    border-radius: 24px;
    color: #A3E635;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
    cursor: pointer;
}

.bsb-newsletter-btn:hover {
    background: rgba(163, 230, 53, 0.1);
    border-color: #A3E635;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════
   9. Versículo do Dia
   ══════════════════════════════════════ */
.bsb-verse {
    text-align: center;
    background: linear-gradient(135deg, rgba(163, 230, 53, 0.04), rgba(9, 29, 24, 0.8));
    position: relative;
    overflow: hidden;
}

.bsb-verse::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 60px;
    color: rgba(163, 230, 53, 0.06);
    font-family: 'Georgia', serif;
    line-height: 1;
}

.bsb-verse-text {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(232, 245, 233, 0.75);
    margin: 0 0 12px 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.bsb-verse-ref {
    font-size: 11px;
    font-weight: 600;
    color: #A3E635;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════════
   10. Festividades
   ══════════════════════════════════════ */
.bsb-festivities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bsb-festivity-card {
    background: rgba(163, 230, 53, 0.03);
    border: 1px solid rgba(163, 230, 53, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.bsb-festivity-card:hover {
    border-color: rgba(163, 230, 53, 0.2);
}

.bsb-festivity-banner {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.bsb-festivity-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bsb-festivity-info {
    padding: 10px 12px;
}

.bsb-festivity-name {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.bsb-festivity-dates {
    font-size: 9px;
    color: rgba(163, 230, 53, 0.6);
    margin: 0 0 4px 0;
}

.bsb-festivity-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    font-weight: 600;
    color: #A3E635;
    background: rgba(163, 230, 53, 0.08);
    padding: 2px 8px;
    border-radius: 8px;
    margin-top: 4px;
}

.bsb-festivity-desc {
    font-size: 9px;
    color: rgba(232, 245, 233, 0.5);
    margin: 4px 0 0 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bsb-no-festivities {
    font-size: 10px;
    color: rgba(232, 245, 233, 0.4);
    text-align: center;
    font-style: italic;
    padding: 8px 0;
}

/* ══════════════════════════════════════
   11. Programação da Semana
   ══════════════════════════════════════ */
.bsb-schedule-days {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bsb-schedule-day-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px 12px;
    border-left: 3px solid rgba(163, 230, 53, 0.2);
}

.bsb-schedule-day-card.bsb-schedule-today {
    border-left-color: #A3E635;
    background: rgba(163, 230, 53, 0.04);
}

.bsb-schedule-day-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.bsb-schedule-day-name {
    font-size: 10px;
    font-weight: 700;
    color: #A3E635;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bsb-schedule-day-num {
    font-size: 9px;
    color: rgba(232, 245, 233, 0.4);
    font-weight: 500;
}

.bsb-schedule-badge-hoje {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    background: #A3E635;
    color: #0D2621;
    padding: 1px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.bsb-schedule-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bsb-schedule-event {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: rgba(232, 245, 233, 0.65);
    line-height: 1.3;
}

.bsb-schedule-event::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--event-color, rgba(163, 230, 53, 0.4));
    flex-shrink: 0;
}

.bsb-schedule-event-time {
    font-weight: 600;
    color: rgba(232, 245, 233, 0.8);
    min-width: 34px;
    font-size: 9px;
}

.bsb-schedule-event-title {
    font-size: 9px;
    color: rgba(232, 245, 233, 0.6);
}

.bsb-no-schedule {
    font-size: 10px;
    color: rgba(232, 245, 233, 0.4);
    text-align: center;
    font-style: italic;
    padding: 8px 0;
}

/* ══════════════════════════════════════
   Responsivo — quando sidebar vira full-width (mobile)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .bsb-sidebar {
        gap: 20px;
    }

    .bsb-widget {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .bsb-about-logo {
        width: 70px;
        height: 70px;
    }

    .bsb-recent-thumb,
    .bsb-recent-thumb-placeholder {
        width: 56px;
        height: 46px;
    }
}
