/* assets/css/portal.css - Estilos do Portal de Anúncios e Classificados */

:root {
    --portal-navy: #091a36;
    --portal-navy-dark: #050e1d;
    --portal-navy-light: #0f274e;
    --portal-blue: #1a73e8;
    --portal-blue-hover: #1557b0;
    --portal-orange: #ff5722;
    --portal-orange-hover: #e64a19;
    --portal-orange-light: #fff3e0;
    --portal-yellow: #ffb703;
    --portal-green: #10b981;
    --portal-purple: #7c3aed;
    --portal-purple-light: #f3e8ff;
    --portal-bg: #f8fafc;
    --portal-card-bg: #ffffff;
    --portal-text-dark: #1e293b;
    --portal-text-muted: #64748b;
    --portal-border: #e2e8f0;
    --portal-radius-sm: 8px;
    --portal-radius-md: 12px;
    --portal-radius-lg: 18px;
    --portal-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --portal-shadow-md: 0 4px 14px rgba(0,0,0,0.08);
    --portal-shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --portal-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.portal-body {
    background-color: var(--portal-bg);
    color: var(--portal-text-dark);
    font-family: var(--portal-font);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   1. HEADER & BUSCA DESKTOP & MOBILE
   ============================================================ */
.portal-header {
    background: var(--portal-navy);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.portal-header-top {
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.portal-logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.portal-logo-area img {
    height: 38px;
    max-width: 180px;
    object-fit: contain;
}

.portal-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.portal-logo-text span {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

/* Barra de Busca Integrada */
.portal-search-bar {
    flex: 1;
    max-width: 650px;
    background: #ffffff;
    border-radius: var(--portal-radius-md);
    padding: 4px;
    display: flex;
    align-items: center;
    box-shadow: var(--portal-shadow-md);
}

.portal-search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 12px;
    position: relative;
}

.portal-search-input-group i {
    color: var(--portal-text-muted);
    font-size: 16px;
    margin-right: 8px;
}

.portal-search-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--portal-text-dark);
    background: transparent;
    padding: 8px 0;
}

.portal-search-divider {
    width: 1px;
    height: 28px;
    background: #cbd5e1;
}

.portal-city-input-group {
    display: flex;
    align-items: center;
    width: 200px;
    padding: 0 12px;
}

.portal-city-input-group i {
    color: var(--portal-text-muted);
    font-size: 16px;
    margin-right: 8px;
}

.portal-city-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--portal-text-dark);
    background: transparent;
    padding: 8px 0;
}

.portal-btn-search {
    background: var(--portal-blue);
    color: #ffffff;
    border: none;
    border-radius: var(--portal-radius-sm);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.portal-btn-search:hover {
    background: var(--portal-blue-hover);
}

/* Ações do Header (Publicar & Usuário) */
.portal-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.portal-btn-publicar {
    background: linear-gradient(135deg, #ff5722, #f4511e);
    color: #ffffff;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: var(--portal-radius-md);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-btn-publicar:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 87, 34, 0.45);
    color: #fff;
}

.portal-btn-publicar small {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.9;
}

.portal-user-link {
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
    text-decoration: none;
}

.portal-user-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Sub-nav de links */
.portal-subnav {
    background: var(--portal-navy-light);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.portal-subnav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.portal-subnav-container::-webkit-scrollbar {
    display: none;
}

.portal-subnav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.portal-subnav-link:hover, .portal-subnav-link.active {
    color: #ffffff;
}

.portal-subnav-link i {
    font-size: 13px;
}

/* ============================================================
   2. HERO PRINCIPAL & DESTAQUES LATERAIS
   ============================================================ */
.portal-hero {
    background: linear-gradient(135deg, #07152b 0%, #0d2752 50%, #091b38 100%);
    color: #ffffff;
    padding: 36px 20px 48px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portal-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.18) 0%, transparent 50%),
                      radial-gradient(circle at 20% 80%, rgba(255, 87, 34, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.portal-hero-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.portal-hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.portal-hero-content h1 .highlight-orange {
    color: var(--portal-orange);
    text-shadow: 0 0 20px rgba(255, 87, 34, 0.3);
}

.portal-hero-content p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 28px;
    line-height: 1.5;
}

/* Badges de estatísticas */
.portal-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.portal-stat-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--portal-radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(8px);
}

.portal-stat-icon {
    font-size: 20px;
    color: var(--portal-blue);
    background: rgba(26, 115, 232, 0.15);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portal-stat-pill:nth-child(2) .portal-stat-icon { color: var(--portal-green); background: rgba(16, 185, 129, 0.15); }
.portal-stat-pill:nth-child(3) .portal-stat-icon { color: var(--portal-purple); background: rgba(124, 58, 237, 0.15); }
.portal-stat-pill:nth-child(4) .portal-stat-icon { color: var(--portal-orange); background: rgba(255, 87, 34, 0.15); }

.portal-stat-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.portal-stat-info span {
    font-size: 11px;
    color: #94a3b8;
}

/* Mini Card Destaques no Hero (Lado Direito Desktop) */
.portal-hero-featured-box {
    background: rgba(15, 39, 78, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--portal-radius-lg);
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.portal-hero-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.portal-hero-featured-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-hero-featured-header a {
    color: var(--portal-blue);
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

.portal-hero-featured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-mini-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--portal-radius-md);
    padding: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, background 0.15s ease;
}

.portal-mini-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.1);
}

.portal-mini-card-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--portal-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
}

.portal-mini-card-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--portal-yellow);
    color: #000;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
}

.portal-mini-card-info {
    flex: 1;
    min-width: 0;
}

.portal-mini-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-mini-card-sub {
    font-size: 11px;
    color: #94a3b8;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-mini-card-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--portal-orange);
}

/* ============================================================
   3. BARRA DE CATEGORIAS
   ============================================================ */
.portal-categories-bar {
    max-width: 1320px;
    margin: -24px auto 30px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    width: 100%;
}

.portal-categories-container {
    background: #ffffff;
    border-radius: var(--portal-radius-lg);
    box-shadow: var(--portal-shadow-md);
    border: 1px solid var(--portal-border);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    box-sizing: border-box;
    width: 100%;
}

.portal-categories-container::-webkit-scrollbar {
    display: none;
}

.portal-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--portal-text-dark);
    flex-shrink: 0;
    width: 84px;
    text-align: center;
    transition: transform 0.15s ease;
}

.portal-category-item:hover {
    transform: translateY(-3px);
}

.portal-category-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--portal-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border: 1px solid var(--portal-border);
}

.portal-category-item:hover .portal-category-icon-wrapper {
    background: var(--portal-blue);
    color: #ffffff;
    border-color: var(--portal-blue);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.35);
}

.portal-category-name {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--portal-text-dark);
}

/* ============================================================
   4. BANNERS COMERCIAIS & PUBLICITÁRIOS
   ============================================================ */
.portal-banner-section {
    max-width: 1320px;
    margin: 0 auto 30px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.portal-promo-banner {
    background: linear-gradient(135deg, #091b38 0%, #153974 60%, #1a73e8 100%);
    border-radius: var(--portal-radius-lg);
    padding: 24px 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--portal-shadow-md);
}

.portal-promo-banner-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px;
}

.portal-promo-banner-content h2 span {
    color: var(--portal-yellow);
}

.portal-promo-banner-content p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}

.portal-promo-banner-btn {
    background: #ffffff;
    color: var(--portal-navy);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--portal-radius-md);
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.portal-promo-banner-btn:hover {
    transform: translateY(-2px);
    background: #f8fafc;
}

/* Banner Destaque Roxo / Rocket */
.portal-rocket-banner {
    background: linear-gradient(135deg, #2e1065 0%, #581c87 50%, #7c3aed 100%);
    border-radius: var(--portal-radius-lg);
    padding: 24px 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 36px 0;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
}

.portal-rocket-banner-text h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
}

.portal-rocket-banner-text p {
    margin: 0;
    font-size: 13px;
    color: #e9d5ff;
}

.portal-rocket-banner-btn {
    background: #9333ea;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 10px 22px;
    border-radius: var(--portal-radius-md);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.portal-rocket-banner-btn:hover {
    background: #a855f7;
    color: #ffffff;
}

/* ============================================================
   5. LAYOUT PRINCIPAL (2 COLUNAS: CONTEÚDO + SIDEBAR)
   ============================================================ */
.portal-main-layout {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
}

.portal-main-content {
    min-width: 0;
    max-width: 100%;
}

.portal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.portal-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--portal-text-dark);
    margin: 0;
}

.portal-section-link {
    color: var(--portal-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.portal-section-link:hover {
    text-decoration: underline;
}

/* ============================================================
   6. GRID DE ANÚNCIOS (RECENTES / DESTAQUES)
   ============================================================ */
.portal-ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.portal-ad-card {
    background: var(--portal-card-bg);
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.portal-ad-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--portal-shadow-md);
    border-color: #cbd5e1;
}

.portal-ad-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 145px;
    background: #e2e8f0;
    overflow: hidden;
}

.portal-ad-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portal-ad-card:hover .portal-ad-thumb {
    transform: scale(1.04);
}

.portal-ad-category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.portal-ad-fav-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.15s ease, transform 0.15s ease;
    z-index: 5;
}

.portal-ad-fav-btn:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.portal-ad-fav-btn.active {
    color: #ef4444;
}

.portal-ad-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portal-ad-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--portal-text-dark);
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-ad-location {
    font-size: 11px;
    color: var(--portal-text-muted);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.portal-ad-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--portal-orange);
    margin: auto 0 4px;
}

.portal-ad-date {
    font-size: 10px;
    color: #94a3b8;
    margin: 0;
}

/* ============================================================
   7. CATEGORIAS POPULARES
   ============================================================ */
.portal-popular-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}

.portal-popular-cat-card {
    background: #ffffff;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.portal-popular-cat-card:hover {
    transform: translateY(-2px);
    border-color: var(--portal-blue);
    box-shadow: var(--portal-shadow-sm);
}

.portal-popular-cat-icon {
    font-size: 20px;
    color: var(--portal-blue);
}

.portal-popular-cat-info strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--portal-text-dark);
}

.portal-popular-cat-info span {
    font-size: 10px;
    color: var(--portal-text-muted);
}

/* ============================================================
   8. OFERTAS & PROMOÇÕES
   ============================================================ */
.portal-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.portal-deal-card {
    background: #ffffff;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-deal-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--portal-shadow-md);
}

.portal-deal-thumb-box {
    position: relative;
    height: 135px;
    background: #e2e8f0;
}

.portal-deal-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-deal-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.portal-deal-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portal-deal-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--portal-text-dark);
}

.portal-deal-company {
    font-size: 11px;
    color: var(--portal-text-muted);
    margin: 0 0 8px;
}

.portal-deal-prices {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.portal-deal-current-price {
    font-size: 15px;
    font-weight: 800;
    color: #dc2626;
}

.portal-deal-old-price {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

.portal-deal-discount-pill {
    background: #fee2e2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

/* ============================================================
   9. SIDEBAR DESKTOP
   ============================================================ */
.portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portal-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-lg);
    padding: 20px;
    box-shadow: var(--portal-shadow-sm);
}

/* CTA Publicar Grátis */
.portal-cta-publish-card {
    background: #ffffff;
    border-top: 4px solid var(--portal-orange);
}

.portal-cta-publish-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--portal-text-dark);
}

.portal-cta-publish-card p {
    font-size: 12px;
    color: var(--portal-text-muted);
    margin: 0 0 16px;
}

.portal-cta-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-cta-benefits-list li {
    font-size: 13px;
    color: var(--portal-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-cta-benefits-list li i {
    color: var(--portal-green);
    font-size: 14px;
}

.portal-btn-sidebar-publish {
    display: block;
    text-align: center;
    background: var(--portal-orange);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: var(--portal-radius-md);
    transition: background 0.15s ease;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}

.portal-btn-sidebar-publish:hover {
    background: var(--portal-orange-hover);
    color: #fff;
}

/* Empresas em Destaque Sidebar */
.portal-companies-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 14px 0 16px;
}

.portal-company-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 6px;
    border-radius: var(--portal-radius-sm);
    transition: background 0.15s ease;
}

.portal-company-item:hover {
    background: #f8fafc;
}

.portal-company-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--portal-border);
}

.portal-company-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.06);
}

.portal-company-info {
    flex: 1;
    min-width: 0;
}

.portal-company-name {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--portal-text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-company-cat {
    font-size: 11px;
    color: var(--portal-text-muted);
    margin: 0 0 3px;
}

.portal-company-stars {
    color: var(--portal-yellow);
    font-size: 10px;
}

.portal-btn-sidebar-viewall {
    display: block;
    text-align: center;
    background: #eff6ff;
    color: var(--portal-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 10px;
    border-radius: var(--portal-radius-sm);
    transition: background 0.15s ease;
}

.portal-btn-sidebar-viewall:hover {
    background: #dbeafe;
}

/* Cidades em Destaque Sidebar */
.portal-cities-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 16px;
}

.portal-city-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.portal-city-item:hover {
    color: var(--portal-blue);
}

.portal-city-item i {
    color: var(--portal-blue);
    margin-right: 6px;
}

.portal-city-count {
    font-size: 11px;
    color: var(--portal-text-muted);
}

/* ============================================================
   10. SEÇÃO INFERIOR PARA EMPRESAS
   ============================================================ */
.portal-bottom-business-bar {
    max-width: 1320px;
    margin: 30px auto 40px;
    padding: 0 20px;
}

.portal-business-box {
    background: #ffffff;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-lg);
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--portal-shadow-sm);
}

.portal-business-text strong {
    display: block;
    font-size: 16px;
    color: var(--portal-text-dark);
}

.portal-business-text span {
    font-size: 13px;
    color: var(--portal-text-muted);
}

.portal-business-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.portal-business-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-business-benefit-item i {
    font-size: 18px;
    color: var(--portal-blue);
}

.portal-business-benefit-item strong {
    font-size: 13px;
    display: block;
    color: var(--portal-text-dark);
}

.portal-business-benefit-item span {
    font-size: 11px;
    color: var(--portal-text-muted);
}

.portal-btn-business-cta {
    background: var(--portal-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--portal-radius-md);
    transition: background 0.15s ease;
}

.portal-btn-business-cta:hover {
    background: var(--portal-blue-hover);
    color: #fff;
}

/* ============================================================
   11. RODAPÉ PORTAL
   ============================================================ */
.portal-footer {
    background: var(--portal-navy-dark);
    color: #94a3b8;
    padding: 48px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.portal-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr;
    gap: 32px;
    margin-bottom: 36px;
}

.portal-footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
}

.portal-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.portal-footer-col ul li a:hover {
    color: #ffffff;
}

.portal-newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.portal-newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--portal-radius-sm);
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.portal-newsletter-btn {
    background: var(--portal-blue);
    color: #fff;
    border: none;
    border-radius: var(--portal-radius-sm);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.portal-footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* WhatsApp Flutuante */
.portal-float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.portal-float-whatsapp:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ============================================================
   12. MOBILE NAVIGATION BAR & AJUSTES RESPONSIVOS
   ============================================================ */
.portal-mobile-bottom-nav {
    display: none;
}

.portal-mobile-header {
    display: none;
}

@media (max-width: 1024px) {
    .portal-hero-container {
        grid-template-columns: 1fr;
    }
    .portal-main-layout {
        grid-template-columns: 1fr;
    }
    .portal-ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .portal-popular-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .portal-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portal-footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .portal-header-top {
        display: none;
    }
    .portal-subnav {
        display: none;
    }

    /* Mobile Header */
    .portal-mobile-header {
        display: block;
        background: var(--portal-navy);
        padding: 12px 16px;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .portal-mobile-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .portal-mobile-search-box {
        background: #ffffff;
        border-radius: var(--portal-radius-md);
        padding: 4px 8px;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .portal-mobile-search-row {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px 0;
    }

    .portal-mobile-search-row:first-child {
        border-bottom: 1px solid #e2e8f0;
    }

    .portal-mobile-search-row input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 13px;
    }

    .portal-mobile-search-row i {
        color: var(--portal-text-muted);
        font-size: 14px;
    }

    /* Hero Mobile */
    .portal-hero {
        padding: 20px 16px 36px;
    }
    .portal-hero-content h1 {
        font-size: 26px;
    }
    .portal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portal-hero-featured-box {
        display: none;
    }

    .portal-categories-bar {
        margin-top: -18px;
        padding: 0 16px;
    }

    .portal-ads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .portal-ad-thumb-wrapper {
        height: 110px;
    }

    .portal-popular-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    .portal-rocket-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }

    /* Mobile Bottom Navigation Bar */
    .portal-mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        z-index: 1001;
        justify-content: space-around;
        padding: 6px 0;
    }

    .portal-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #64748b;
        font-size: 10px;
        font-weight: 500;
        gap: 3px;
        flex: 1;
    }

    .portal-mobile-nav-item.active, .portal-mobile-nav-item:hover {
        color: var(--portal-blue);
    }

    .portal-mobile-nav-item i {
        font-size: 18px;
    }

    .portal-mobile-nav-item.portal-mobile-nav-center {
        position: relative;
        top: -12px;
    }

    .portal-mobile-nav-center-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--portal-blue);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    }

    .portal-float-whatsapp {
        bottom: 74px;
        right: 16px;
        width: 46px;
        height: 46px;
        font-size: 24px;
    }

    body.portal-body {
        padding-bottom: 60px;
    }
}

/* ============================================================
   14. CARROSSÉIS E SLIDERS HARMONIZADOS COM O TEMA DO PORTAL
   ============================================================ */

/* Sistema de Botões do Portal */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.2;
}

.btn-primary {
    background: var(--portal-blue);
    color: #ffffff !important;
    border-color: var(--portal-blue);
}

.btn-primary:hover {
    background: var(--portal-blue-dark);
    border-color: var(--portal-blue-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--portal-text-dark) !important;
    border-color: var(--portal-border);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-purple {
    background: #7c3aed;
    color: #ffffff !important;
    border-color: #7c3aed;
}

.btn-purple:hover {
    background: #6d28d9;
    color: #ffffff !important;
    border-color: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-sm {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 8px;
}

.w-100 {
    width: 100%;
    box-sizing: border-box;
}

.carrossel-section {
    position: relative;
    margin-bottom: 36px;
    width: 100%;
    max-width: 100%;
}

.carrossel-horizontal {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 4px 0 8px;
}

.carrossel-track,
.carrossel6-track,
.carrossel5-track,
.carrossel7-track,
.carrossel8-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 2px;
    will-change: transform;
}

/* Setas de navegação circulares e minimalistas */
.carrossel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid var(--portal-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--portal-text-dark);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    outline: none;
    padding: 0;
    line-height: 1;
}

.carrossel-arrow:hover {
    background: var(--portal-blue);
    color: #ffffff;
    border-color: var(--portal-blue);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.35);
}

.carrossel-arrow-prev { left: 4px; }
.carrossel-arrow-next { right: 4px; }

/* Todos os Cards de Carrossel alinhados à grade de 4 colunas (100% harmonizados com a estrutura) */
.carrossel-card,
.carrossel6-card,
.carrossel5-card,
.carrossel7-card,
.carrossel8-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    box-sizing: border-box;
    background: var(--portal-card-bg);
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    position: relative;
}

.carrossel-card:hover,
.carrossel6-card:hover,
.carrossel5-card:hover,
.carrossel7-card:hover,
.carrossel8-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--portal-shadow-md);
    border-color: #cbd5e1;
}

/* Capa / Imagem nos Cards */
.carrossel-card .card-cover,
.carrossel6-img-link {
    width: 100%;
    height: 155px;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrossel-card .card-cover-img,
.carrossel6-img-link img,
.carrossel6-card img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    background-color: #ffffff;
    display: block;
    transition: transform 0.3s ease;
}

.carrossel-card:hover .card-cover-img,
.carrossel6-card:hover img {
    transform: scale(1.04);
}

.carrossel-card .card-cover-img--empty,
.carrossel6-card-placeholder {
    width: 100%;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

/* Corpo e Tipografia dos Cards */
.carrossel-card .card-info,
.carrossel6-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.carrossel-card .card-name,
.carrossel6-card-titulo {
    font-size: 13px;
    font-weight: 700;
    color: var(--portal-text-dark);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.carrossel-card .card-desc {
    font-size: 11px;
    color: var(--portal-text-muted);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.carrossel6-card-visitas {
    font-size: 11px;
    color: #7c3aed;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

/* Rodapé / Botão de Ação nos Cards */
.carrossel-card .card-footer,
.carrossel6-card-footer {
    padding: 0 12px 12px;
    margin-top: auto;
}

.carrossel6-card-footer .btn {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff !important;
}

.carrossel6-card-footer .btn:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Banners Verticais e Horizontais */
.carrossel5-card img,
.carrossel7-card img,
.carrossel8-card img {
    width: 100%;
    height: 155px;
    object-fit: contain !important;
    background-color: #ffffff;
    display: block;
    transition: transform 0.3s ease;
}

.carrossel5-card:hover img,
.carrossel7-card:hover img,
.carrossel8-card:hover img {
    transform: scale(1.04);
}

/* Responsividade Harmoniosa */
@media (max-width: 1024px) {
    .carrossel-card,
    .carrossel6-card,
    .carrossel5-card,
    .carrossel7-card,
    .carrossel8-card {
        flex: 0 0 calc((100% - 32px) / 3);
    }
}

@media (max-width: 640px) {
    .carrossel-card,
    .carrossel6-card,
    .carrossel5-card,
    .carrossel7-card,
    .carrossel8-card {
        flex: 0 0 calc((100% - 12px) / 2);
    }
    .carrossel-track,
    .carrossel6-track,
    .carrossel5-track,
    .carrossel7-track,
    .carrossel8-track {
        gap: 12px;
    }
    .carrossel-card .card-cover,
    .carrossel-card .card-cover-img,
    .carrossel-card .card-cover-img--empty,
    .carrossel6-img-link,
    .carrossel6-card-placeholder,
    .carrossel5-card img,
    .carrossel7-card img,
    .carrossel8-card img {
        height: 120px;
    }
    .carrossel-arrow {
        display: none !important;
    }
    .carrossel-horizontal {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .carrossel-horizontal::-webkit-scrollbar {
        display: none;
    }
/* ============================================================
   15. VÍDEO EM DESTAQUE NA SIDEBAR & CARROSSEL DE BANNERS DO PORTAL
   ============================================================ */

/* Carrossel de Banners Superiores (1 Imagem por Vez 100% no Tema do Portal) */
.portal-banner-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--portal-radius-lg);
    border: 1px solid var(--portal-border);
    background: #ffffff;
    box-shadow: var(--portal-shadow-md);
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;
}

.portal-banner-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100%;
    margin: 0;
    padding: 0;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.portal-banner-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

.portal-banner-slide a {
    display: block;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    line-height: 0;
}

.portal-banner-slide img {
    width: 100%;
    height: 190px;
    max-height: 220px;
    object-fit: cover;
    display: block;
    border: none;
    transition: transform 0.3s ease;
}

.portal-banner-slide:hover img {
    transform: scale(1.012);
}

@media (max-width: 768px) {
    .portal-banner-slide img {
        height: 135px;
    }
}

.portal-banner-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(9, 26, 54, 0.78);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.portal-banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 6;
}

.portal-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.portal-banner-dot:hover {
    background: #ffffff;
}

.portal-banner-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--portal-blue);
    border-color: var(--portal-blue);
}

.portal-banner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--portal-border);
    color: var(--portal-navy);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
    outline: none;
}

.portal-banner-nav-btn:hover {
    background: var(--portal-blue);
    color: #ffffff;
    border-color: var(--portal-blue);
    transform: translateY(-50%) scale(1.08);
}

.portal-banner-nav-prev { left: 12px; }
.portal-banner-nav-next { right: 12px; }

/* Card de Vídeo Alinhado no Tema da Sidebar */
.portal-sidebar-video-box {
    border-radius: var(--portal-radius-md);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--portal-border);
    margin-bottom: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-sidebar-video-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--portal-shadow-md);
    border-color: #cbd5e1;
}

.portal-sidebar-video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 180px;
    background: #000000;
    overflow: hidden;
    display: block;
}

.portal-sidebar-video-player video,
.portal-sidebar-video-player iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-sidebar-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.portal-sidebar-video-player:hover .portal-sidebar-video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.portal-sidebar-video-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--portal-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding-left: 3px;
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
    transition: transform 0.15s ease, background 0.15s ease;
}

.portal-sidebar-video-player:hover .portal-sidebar-video-play-btn {
    transform: scale(1.1);
    background: var(--portal-blue-dark);
}

.portal-sidebar-video-views {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.portal-sidebar-video-info {
    padding: 12px;
    background: #ffffff;
}

.portal-sidebar-video-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--portal-text-dark);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.portal-sidebar-video-empresa {
    font-size: 11px;
    color: var(--portal-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Radio Player Sidebar Widget */
.portal-sidebar-radio-card {
    border: 1px solid var(--portal-border);
    background: #ffffff;
}

.portal-radio-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fee2e2;
    color: #ef4444;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portal-radio-live-dot {
    width: 7px;
    height: 7px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: portalRadioPulse 1.6s infinite;
}

@keyframes portalRadioPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.portal-sidebar-radio-player {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--portal-radius-md);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portal-sidebar-radio-player iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    border: 0;
    border-radius: var(--portal-radius-sm);
}

.portal-sidebar-radio-player audio {
    width: 100% !important;
    border-radius: var(--portal-radius-sm);
}
