/**
 * GC Theme — Sidebar Widgets
 *
 * Two related sidebar widgets shown on singular posts:
 *
 *   1. Sidebar Subscribe Widget (.gc-sidebar-subscribe)
 *      Inline subscribe form in the sticky sidebar, shown
 *      on news posts, guides, case studies, podcasts.
 *      Different from the modal subscribe popup.
 *
 *   2. "Mentioned in this Article" widget (.gc-in-article-widget)
 *      Auto-detected company/brand list rendered inline
 *      in articles based on tags.
 *
 * @package GC_Theme
 */


/* ═══════════════════════════════════════════════════════
 * SIDEBAR SUBSCRIBE WIDGET
 * Inline form in single post sidebar.
 * ═══════════════════════════════════════════════════════ */

.gc-sidebar-subscribe {
    background: var(--gc-bg);
    border: 0.5px solid var(--gc-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-top: 30px;
}

.gc-sidebar-sub-top {
    border-bottom: 0.5px solid var(--gc-border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-sidebar-sub-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gc-primary);
}

.gc-sidebar-sub-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gc-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.gc-sidebar-sub-body {
    padding: 16px 14px;
}

.gc-sidebar-sub-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gc-navy);
    line-height: 1.4;
    margin-bottom: 6px;
}

.gc-sidebar-sub-title span {
    color: var(--gc-primary);
}

.gc-sidebar-sub-text {
    font-size: 12px;
    color: var(--gc-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.gc-sidebar-sub-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
    padding: 0;
}

.gc-sidebar-sub-list li {
    font-size: 12px;
    color: var(--gc-text-muted);
    line-height: 1.45;
    padding-left: 14px;
    position: relative;
}

.gc-sidebar-sub-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gc-primary);
}

.gc-sidebar-sub-list li a {
    color: var(--gc-primary-dark);
    text-decoration: none;
}

.gc-sidebar-sub-input {
    width: 100%;
    padding: 8px 12px;
    border: 0.5px solid var(--gc-border);
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.gc-sidebar-sub-btn {
    width: 100%;
    padding: 9px;
    background: var(--gc-primary);
    color: var(--gc-text-inverse);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
}

.gc-sidebar-sub-fine {
    font-size: 10px;
    color: var(--gc-text-faint);
    text-align: center;
    margin-top: 8px;
}


/* ═══════════════════════════════════════════════════════
 * IN-ARTICLE / MENTIONED WIDGET
 * Inline brand/company widget rendered in article body.
 * ═══════════════════════════════════════════════════════ */

.gc-in-article-widget {
    background: var(--gc-bg);
    border: 1px solid var(--gc-border-soft);
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .gc-in-article-widget {
        padding: 12px 14px !important;
        margin-top: 20px !important;
    }
}

.gc-iaw-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gc-navy);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gc-border-soft);
}

.gc-iaw-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gc-iaw-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid var(--gc-border-soft);
    text-decoration: none !important;
    color: var(--gc-text) !important;
    font-size: 12.5px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.gc-iaw-item:hover {
    background: var(--gc-bg-soft);
    border-color: var(--gc-primary-dark);
    color: var(--gc-navy) !important;
}

.gc-iaw-favicon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid var(--gc-border-soft);
    padding: 2px;
    background: var(--gc-bg);
}