/* ================================================================
   Talk Radio Europe – Sidebar
   File: assets/css/sidebar.css
   ================================================================ */

/* ── Hard reset — kills theme-injected dots ── */
.tre-sidebar,
.tre-sidebar *,
.tre-sidebar *::before,
.tre-sidebar *::after {
    box-sizing: border-box;
    list-style: none !important;
    list-style-type: none !important;
}
.tre-sidebar *::before,
.tre-sidebar *::after {
    content: none !important;
    display: none !important;
}

/* ── Wrapper ── */
.tre-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #1a2d5a;
    border-radius: 6px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

/* ================================================================
   PHONE PANEL — white background, blue border, dark text
   ================================================================ */
.tre-sidebar__phone-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: center;            /* ← centres content horizontally */
    gap: 12px;
    padding: 5px 5px;
    background: #ffffff !important;
    border-radius: 6px;
    margin: 8px 8px 0 8px;
}
.tre-sidebar__phone-icon svg {
    stroke: #1a2d5a !important;         /* navy icon */
    display: block;
}
.tre-sidebar__phone-label {
    font-size: 11px;
    color: #5a6a8a;                     /* muted navy-grey label */
    letter-spacing: .2px;
    font-family: Arial, Helvetica, sans-serif;
}
.tre-sidebar__phone-number {
    font-size: 16px;
    font-weight: 700;
    color: #1a2d5a;                     /* dark navy number */
    text-decoration: none;
    letter-spacing: -.3px;
    transition: opacity .2s;
    white-space: nowrap;
    font-family: Arial, Helvetica, sans-serif;
}
.tre-sidebar__phone-number:hover { opacity: .7; }


/* ================================================================
   NAV MENU
   ================================================================ */
.tre-sidebar__nav {
    background: #1a2d5a;
    display: block;
}
.tre-sidebar__menu {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: block;
}
.tre-sidebar__item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: block;
}

/* Kill any theme ::before bullets with maximum specificity */
.tre-sidebar .tre-sidebar__menu li::before,
.tre-sidebar .tre-sidebar__item::before,
.tre-sidebar ul li::before,
.tre-sidebar li::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: none !important;
    position: static !important;
}

.tre-sidebar__link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    text-decoration: none !important;
    color: #ffffff !important;
    background: transparent;
    transition: background .2s;
    width: 100%;
}
.tre-sidebar__link:hover {
    background: rgba(255,255,255,0.07);
    color: #ffffff !important;
    text-decoration: none !important;
}
.tre-sidebar__link.is-active {
    background: rgba(255,255,255,0.1);
    border-left: 3px solid #e85113;
}
.tre-sidebar__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
}
.tre-sidebar__link-icon svg {
    display: block;
    flex-shrink: 0;
}
.tre-sidebar__link-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #e8eef8;
    flex: 1;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3;
}

/* ── Badges ── */
.tre-sidebar__badge {
    display: inline-block !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .3px;
    flex-shrink: 0;
    font-family: Arial, Helvetica, sans-serif;
}
.tre-sidebar__badge--live { background: #fff; color: #1a2d5a; }
.tre-sidebar__badge--now  { background: #fff; color: #1a2d5a; }
.tre-sidebar__badge--get  { background: #fff; color: #1a2d5a; }

/* ================================================================
   LAYOUT HELPER
   ================================================================ */
.tre-page-with-sidebar {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}
.tre-page-with-sidebar .tre-main-content {
    flex: 1;
    min-width: 0;
}

/* ================================================================
   TABLET  ≤ 1024px
   ================================================================ */
@media (max-width: 1024px) {
    .tre-sidebar { width: 200px; }
    .tre-sidebar__phone-number { font-size: 14px; }
    .tre-sidebar__link-label  { font-size: 13px; }
}

/* ================================================================
   MOBILE  ≤ 768px
   ================================================================ */
@media (max-width: 768px) {
    .tre-page-with-sidebar {
        flex-direction: column;
        padding: 16px;
        gap: 20px;
    }
    .tre-sidebar {
        width: 100%;
        border-radius: 6px;
    }
    .tre-sidebar__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .tre-sidebar__menu {
        display: flex !important;
        flex-direction: row;
    }
    .tre-sidebar__item {
        border-top: none;
        border-right: 1px solid rgba(255,255,255,0.08);
        flex-shrink: 0;
    }
    .tre-sidebar__link {
        flex-direction: column;
        gap: 6px;
        padding: 12px 14px;
        text-align: center;
        min-width: 80px;
        justify-content: center;
    }
    .tre-sidebar__link.is-active {
        border-left: none;
        border-bottom: 3px solid #e85113;
    }
    .tre-sidebar__link-label { font-size: 11px; }
    .tre-sidebar__badge { font-size: 9px; padding: 2px 5px; }
}
