/**
 * Revma Kostos - Providers Page Styles
 * /paroxoi/ page specific styles
 * Extends ui-system.css - only page-specific overrides here
 * Version: 1.6.3-final
 */

/* ============================================
   HIDE THEME ELEMENTS
============================================ */
body.page-revma-providers .site-header,
body.page-revma-providers .site-title,
body.page-revma-providers .page-header,
body.page-revma-providers .page-title,
body.page-revma-providers .entry-title,
body.page-revma-providers .entry-header,
body.page-revma-providers .site-footer {
    display: none !important;
}

/* Remove theme padding/margins */
body.page-revma-providers .site-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

body.page-revma-providers .page-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   HERO SECTION
============================================ */
.revma-providers-hero {
    background: linear-gradient(135deg, var(--revma-primary-bg) 0%, var(--revma-bg-white) 100%);
    padding: 60px 24px 80px;
    text-align: center;
}

.revma-providers-hero .revma-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.revma-providers-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    color: var(--revma-text-dark);
}

.revma-providers-hero h1 .highlight {
    background: linear-gradient(135deg, var(--revma-primary), var(--revma-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.revma-providers-hero .subtitle {
    font-size: 1.15rem;
    color: var(--revma-text-medium);
    margin: 0 0 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.revma-providers-hero .revma-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   PROVIDERS GRID SECTION
============================================ */
.revma-providers-grid-section {
    padding: var(--revma-section-spacing-md, 80px) 24px;
    background: linear-gradient(180deg, var(--revma-bg-light) 0%, var(--revma-bg-white) 100%);
    scroll-margin-top: 80px;
}

/* ============================================
   FILTER & SORT BAR (v1.6.0)
============================================ */
.revma-providers-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 16px 20px;
    background: var(--revma-glass-bg, rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--revma-radius-card, 22px);
    border: 1px solid var(--revma-glass-border, rgba(255, 255, 255, 0.5));
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.revma-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.revma-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--revma-text-medium, #64748b);
    background: var(--revma-bg-light, #f8fafc);
    border: 1px solid var(--revma-border-light, #e2e8f0);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.revma-filter-chip:hover {
    background: var(--revma-bg-white, #fff);
    border-color: var(--revma-primary-light, #93c5fd);
    color: var(--revma-primary, #3b82f6);
}

.revma-filter-chip.active {
    background: linear-gradient(135deg, var(--revma-primary, #3b82f6), var(--revma-primary-dark, #2563eb));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.revma-filter-chip svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

.revma-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100px;
}

.revma-filter-chip.active .revma-filter-count {
    background: rgba(255, 255, 255, 0.25);
}

.revma-sort-dropdown {
    flex-shrink: 0;
}

.revma-sort-select {
    padding: 10px 36px 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--revma-text-dark, #0f172a);
    background: var(--revma-bg-white, #fff);
    border: 1px solid var(--revma-border-light, #e2e8f0);
    border-radius: var(--revma-radius-input, 14px);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s ease;
}

.revma-sort-select:hover,
.revma-sort-select:focus {
    border-color: var(--revma-primary-light, #93c5fd);
    outline: none;
}

/* Filter animations */
.revma-provider-card-link {
    transition: all 0.3s ease;
}

.revma-provider-card-link.filtered-out {
    display: none !important;
}

/* Enhanced No Results (v1.6.1) */
.revma-no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: var(--revma-text-medium);
    background: linear-gradient(135deg, var(--revma-bg-light) 0%, var(--revma-bg-white) 100%);
    border-radius: var(--revma-radius-card, 22px);
    border: 1px dashed var(--revma-border-light);
}

.revma-no-results-icon {
    margin-bottom: 20px;
    color: var(--revma-text-light);
}

.revma-no-results-icon svg {
    opacity: 0.5;
}

.revma-no-results-text {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--revma-text-dark);
    font-weight: 600;
}

.revma-no-results-subtext {
    margin: 0 0 24px;
    font-size: 1rem;
    color: var(--revma-text-medium);
}

.revma-no-results-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.revma-no-results-actions .revma-btn {
    min-width: 180px;
}

.revma-no-results-actions .revma-btn-primary {
    background: linear-gradient(135deg, var(--revma-primary), var(--revma-primary-dark));
    box-shadow: var(--revma-shadow-cta-glow, 0 8px 24px rgba(37, 99, 235, 0.35));
}

.revma-no-results-actions .revma-btn-primary:hover {
    box-shadow: var(--revma-shadow-cta-glow-hover, 0 12px 32px rgba(37, 99, 235, 0.45));
    transform: translateY(-2px);
}

.revma-no-results-actions .revma-btn-primary svg {
    margin-right: 6px;
}

.revma-no-results-actions .revma-btn-secondary {
    background: var(--revma-bg-white);
    border: 2px solid var(--revma-border-light);
    color: var(--revma-text-medium);
}

.revma-no-results-actions .revma-btn-secondary:hover {
    border-color: var(--revma-primary);
    color: var(--revma-primary);
}

.revma-providers-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   PROVIDER CARD
============================================ */
.revma-provider-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    border-radius: var(--revma-radius-card, 22px);
}

/* ============================================
   MICRO-BADGES (v1.6.0)
============================================ */
.revma-provider-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    z-index: 2;
}

/* Single badge: align left */
.revma-provider-card-badges:has(:only-child) {
    justify-content: flex-start;
}

.revma-micro-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

/* Badge type: Σταθερή τιμή - Navy Blue */
.revma-micro-badge--fixed_price {
    background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
    color: #ffffff !important;
}

/* Badge type: Χωρίς ρήτρα - Teal */
.revma-micro-badge--no_clause {
    background: linear-gradient(135deg, #0d9488, #0f766e) !important;
    color: #ffffff !important;
}

/* Badge type: Best Value - Amber/Gold */
.revma-micro-badge--best_value {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
}

/* Badge type: 100% Πράσινη - Emerald */
.revma-micro-badge--green {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
}

/* Badge type: Νέα προσφορά - Rose/Pink */
.revma-micro-badge--new_offer {
    background: linear-gradient(135deg, #f43f5e, #e11d48) !important;
    color: #ffffff !important;
}

/* Badge type: Δημοφιλής - Purple/Violet */
.revma-micro-badge--popular {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: #ffffff !important;
}

/* Remove any underlines from links inside cards */
.revma-provider-card-link,
.revma-provider-card-link *,
.revma-provider-card a,
.revma-provider-card span,
.revma-provider-card h3,
.revma-provider-card p {
    text-decoration: none !important;
    color: inherit;
}

.revma-provider-card-link:hover .revma-provider-card,
.revma-provider-card-link:focus .revma-provider-card {
    border-color: var(--revma-primary-light);
    box-shadow: var(--revma-shadow-card-hover, 0 16px 40px rgba(15, 23, 42, 0.1)), 0 0 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-6px);
}

.revma-provider-card-link:focus-visible {
    outline: 3px solid var(--revma-primary-light);
    outline-offset: 2px;
    border-radius: var(--revma-radius-card, 22px);
}

.revma-provider-card {
    background: var(--revma-glass-bg, rgba(255, 255, 255, 0.7));
    backdrop-filter: var(--revma-glass-blur, blur(12px));
    -webkit-backdrop-filter: var(--revma-glass-blur, blur(12px));
    border-radius: var(--revma-radius-card, 22px);
    border: 1px solid var(--revma-glass-border, rgba(255, 255, 255, 0.5));
    padding: 40px 24px 32px; /* Extra top padding for badges */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    cursor: pointer;
    box-shadow: var(--revma-shadow-card, 0 8px 24px rgba(15, 23, 42, 0.06));
}

/* Cards with badges need extra top padding */
.revma-provider-card:has(.revma-provider-card-badges) {
    padding-top: 52px;
}

.revma-provider-card-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}

.revma-provider-card-logo img {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
}

.revma-provider-card-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--revma-text-dark);
    background: linear-gradient(135deg, var(--revma-bg-light) 0%, var(--revma-bg-white) 100%);
    border-radius: var(--revma-radius-sm);
    padding: 16px 20px;
    min-width: 100px;
    text-align: center;
    border: 1px solid var(--revma-border-light);
}

.revma-provider-card-content {
    flex: 1;
    margin-bottom: 20px;
    min-height: 60px;
}

/* Provider tagline (differentiator text under logo) */
.revma-provider-card-label {
    font-size: 0.8rem;
    color: var(--revma-primary, #3b82f6);
    display: block;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
    font-weight: 600;
}

/* Description - max 2 lines with ellipsis */
.revma-provider-card-desc {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--revma-text-medium);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.5em;
}

.revma-provider-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

/* Primary CTA button in cards */
.revma-provider-card-actions .revma-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--revma-primary), var(--revma-primary-dark));
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--revma-radius-input, 14px);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.revma-provider-card-link:hover .revma-provider-card-actions .revma-btn {
    background: linear-gradient(135deg, var(--revma-primary-dark), #1e40af);
    transform: scale(1.02);
    box-shadow: var(--revma-shadow-cta-glow, 0 8px 24px rgba(37, 99, 235, 0.35));
}

.revma-provider-card-actions .revma-btn svg {
    transition: transform 0.2s ease;
}

.revma-provider-card-link:hover .revma-provider-card-actions .revma-btn svg {
    transform: translateX(3px);
}

/* Secondary actions row */
.revma-provider-card-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

/* Ask AI Button (v1.6.0) */
.revma-ask-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--revma-primary, #3b82f6);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.revma-ask-ai-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.35);
    transform: scale(1.02);
}

.revma-ask-ai-btn:active {
    transform: scale(0.98);
}

.revma-ask-ai-btn svg {
    stroke: currentColor;
    animation: revma-ai-pulse 2s ease-in-out infinite;
}

@keyframes revma-ai-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* RAE Badge - uses ui-system .revma-badge-rae */
.revma-provider-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    background: var(--revma-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    cursor: help;
}

.revma-provider-card-badge svg {
    stroke: white;
    width: 12px;
    height: 12px;
}

/* Tooltip for RAE badge */
.revma-provider-card-badge::after {
    content: 'Αδειοδοτημένος από τη Ρυθμιστική Αρχή Ενέργειας';
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--revma-bg-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
    pointer-events: none;
}

.revma-provider-card-badge::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--revma-bg-dark);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.revma-provider-card-badge:hover::after,
.revma-provider-card-badge:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Disclaimer */
.revma-providers-disclaimer {
    text-align: center;
    margin-top: 40px;
    color: var(--revma-text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.revma-providers-disclaimer svg {
    stroke: var(--revma-text-light);
    flex-shrink: 0;
}

.revma-no-providers {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--revma-text-medium);
    padding: 40px;
}

/* ============================================
   HOW IT WORKS SECTION
============================================ */
.revma-how-section {
    padding: 80px 24px;
    background: var(--revma-bg-white);
}

.revma-how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.revma-how-step {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.revma-how-step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--revma-primary);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.revma-how-step-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    margin-top: 20px;
}

.revma-how-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--revma-text-dark);
    margin: 0 0 8px;
}

.revma-how-step p {
    font-size: 0.85rem;
    color: var(--revma-text-medium);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   PROVIDERS PAGE OVERRIDES FOR SHARED COMPONENTS
============================================ */

/* Breadcrumb extra spacing */
.revma-providers-page .revma-breadcrumb {
    padding-top: 20px;
}

/* FAQ softer active state */
.revma-providers-page details.revma-faq-item[open] {
    background: #f8fbff;
    border-color: #c7d9f0;
    border-left: 4px solid #6ba3eb;
}

/* ============================================
   RESPONSIVE - TABLET
============================================ */
@media (max-width: 1024px) {
    .revma-providers-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero */
    .revma-providers-hero {
        padding: 40px 20px 60px;
    }

    .revma-providers-hero .revma-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .revma-providers-hero .revma-hero-cta .revma-btn {
        width: 100%;
        max-width: 320px;
    }

    /* Providers grid */
    .revma-providers-grid-section {
        padding: 60px 20px;
    }

    .revma-providers-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .revma-provider-card {
        padding: 36px 16px 20px;
    }

    .revma-provider-card:has(.revma-provider-card-badges) {
        padding-top: 44px;
    }

    /* Micro-badges tablet */
    .revma-provider-card-badges {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 4px;
    }

    .revma-micro-badge {
        padding: 3px 8px;
        font-size: 0.62rem;
    }

    /* Filter bar tablet */
    .revma-providers-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 14px 16px;
    }

    .revma-filter-chips {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 4px;
        flex-wrap: nowrap;
    }

    .revma-filter-chips::-webkit-scrollbar {
        display: none;
    }

    .revma-filter-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .revma-sort-dropdown {
        width: 100%;
    }

    .revma-sort-select {
        width: 100%;
    }

    /* How it works */
    .revma-how-section {
        padding: 60px 20px;
    }

    .revma-how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
============================================ */
@media (max-width: 480px) {
    .revma-providers-cards-grid {
        grid-template-columns: 1fr;
    }

    .revma-how-steps {
        grid-template-columns: 1fr;
    }

    .revma-provider-card-logo {
        height: 60px;
    }

    .revma-provider-card-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    .revma-provider-card-fallback {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    /* Micro-badges mobile - larger cards, show more */
    .revma-micro-badge {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
}

/* Ensure no red/spellcheck underlines */
.revma-provider-card * {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

/* ============================================
   v3.0 - PROVIDER BADGES & COMPARISON ROWS
   Per-provider badges: "Χαμηλή τιμή", "Σταθερό πάγιο", etc.
   2-line comparison: Πάγιο, μέση τιμή kWh
   Hover state: reveal CTA
============================================ */

/* Provider-specific semantic badges */
.revma-provider-semantic-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
    min-height: 26px;
}

.revma-semantic-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

/* Badge: Χαμηλή τιμή - Green */
.revma-semantic-badge--low-price {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Badge: Σταθερό πάγιο - Blue */
.revma-semantic-badge--fixed-fee {
    background: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Badge: Χωρίς ρήτρα - Emerald */
.revma-semantic-badge--no-clause {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Badge: 100% Πράσινη - Teal */
.revma-semantic-badge--green-energy {
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

/* Badge: Δημοφιλής - Purple */
.revma-semantic-badge--popular {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Badge: Μεγάλος όμιλος - Slate */
.revma-semantic-badge--large-group {
    background: rgba(71, 85, 105, 0.1);
    color: #475569;
    border: 1px solid rgba(71, 85, 105, 0.3);
}

/* Badge: Best Value - Gold */
.revma-semantic-badge--best-value {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.4);
    font-weight: 700;
}

/* ============================================
   2-LINE COMPARISON ROW
   Shows: Πάγιο & μέση τιμή kWh
============================================ */
.revma-provider-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
}

.revma-comparison-item {
    text-align: center;
}

.revma-comparison-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.revma-comparison-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
}

.revma-comparison-value--highlight {
    color: #059669;
}

.revma-comparison-value--warning {
    color: #d97706;
}

/* ============================================
   HOVER STATE: REVEAL CTA
============================================ */
.revma-provider-card .revma-hover-cta {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
    margin-top: 16px;
}

.revma-provider-card-link:hover .revma-hover-cta,
.revma-provider-card-link:focus .revma-hover-cta {
    opacity: 1;
    transform: translateY(0);
}

/* CTA styling */
.revma-hover-cta .revma-btn-compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2563EB 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.revma-hover-cta .revma-btn-compare:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.revma-hover-cta .revma-btn-compare svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.revma-hover-cta .revma-btn-compare:hover svg {
    transform: translateX(3px);
}

/* ============================================
   ENHANCED CARD LAYOUT WITH NEW ELEMENTS
============================================ */
.revma-provider-card--enhanced {
    padding: 24px 20px 20px;
}

.revma-provider-card--enhanced .revma-provider-card-content {
    min-height: auto;
    margin-bottom: 0;
}

/* Hide comparison on mobile to keep cards compact */
@media (max-width: 480px) {
    .revma-provider-comparison {
        display: none;
    }

    .revma-provider-semantic-badges {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .revma-provider-semantic-badges::-webkit-scrollbar {
        display: none;
    }
}

/* Tablet: Show only first 2 badges */
@media (max-width: 768px) {
    .revma-semantic-badge:nth-child(n+3) {
        display: none;
    }
}

/* ============================================
   PROVIDERS LIST v3.0 DESIGN SYSTEM OVERRIDES
============================================ */

/* Apply new design tokens */
.revma-providers-page .revma-providers-filter-bar {
    border-radius: var(--radius, 14px);
    border: 1px solid var(--border-soft, #E5E7EB);
    box-shadow: var(--shadow-soft, 0 10px 25px rgba(0, 0, 0, 0.06));
}

.revma-providers-page .revma-provider-card {
    border-radius: var(--radius, 14px);
    border: 1px solid var(--border-soft, #E5E7EB);
    box-shadow: var(--shadow-soft, 0 10px 25px rgba(0, 0, 0, 0.06));
}

.revma-providers-page .revma-provider-card-link:hover .revma-provider-card {
    border-color: var(--primary, #2563EB);
    box-shadow: var(--shadow-hover, 0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Text colors per new tokens */
.revma-providers-page .revma-providers-hero h1 {
    color: var(--text-main, #0F172A);
}

.revma-providers-page .revma-providers-hero .subtitle {
    color: var(--text-muted, #475569);
}

.revma-providers-page .revma-provider-card-desc {
    color: var(--text-muted, #475569);
}

/* Hero min-height for providers list */
.revma-providers-page .revma-providers-hero {
    min-height: min(70vh, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   AI ANSWER SECTIONS (SEO/AI Snippets)
============================================ */
.revma-providers-page .revma-ai-answer-section {
    padding: 48px 24px;
    background: var(--revma-bg-white, #FFFFFF);
}

.revma-providers-page .revma-ai-answer-section.revma-ai-answer-alt {
    background: var(--revma-bg-light, #F8FAFC);
}

.revma-providers-page .revma-ai-answer-content {
    max-width: 800px;
    margin: 0 auto;
}

.revma-providers-page .revma-ai-answer-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main, #0F172A);
    margin: 0 0 16px;
}

.revma-providers-page .revma-ai-answer-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted, #475569);
    margin: 0;
}

@media (max-width: 768px) {
    .revma-providers-page .revma-ai-answer-section {
        padding: 32px 20px;
    }

    .revma-providers-page .revma-ai-answer-section h2 {
        font-size: 1.25rem;
    }

    .revma-providers-page .revma-ai-answer-section p {
        font-size: 1rem;
    }
}
