/* Styling for vanlige internlenker */
.robust-internal-link {
    border-bottom: 2px solid #cbd5e0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease;
}

.robust-internal-link:hover {
    border-bottom-color: #0073aa;
}

/* --- Premium Review Widget Styles --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

.robust-premium-widget {
    margin: 40px 0;
    padding: 30px;
    border-radius: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
    overflow: hidden;
    line-height: 1.5;
}

/* Header & Excellent Badge */
.robust-widget-header {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.robust-excellent-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.robust-excellent-text {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #374151;
    opacity: 0.8;
}

.robust-stars-row {
    display: flex;
    gap: 3px;
}

.robust-star-icon {
    color: #fbbc05;
    font-size: 20px;
}

.robust-reviews-count {
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.robust-reviews-count:hover {
    border-bottom-color: #2563eb;
    color: #1d4ed8;
}

/* Grid Layout */
.robust-layout-grid .robust-reviews-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Carousel Layout */
.robust-layout-carousel {
    position: relative;
    padding-left: 50px;
    padding-right: 50px;
}

.robust-layout-carousel .robust-reviews-wrapper {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 5px 30px 5px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.robust-layout-carousel .robust-reviews-wrapper::-webkit-scrollbar {
    display: none;
}

.robust-layout-carousel .robust-review-card {
    min-width: 320px;
    flex: 0 0 320px;
    scroll-snap-align: center;
}

/* Navigation Arrows */
.robust-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.robust-carousel-arrow:hover {
    background: #f9fafb;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.robust-carousel-arrow.prev {
    left: 0;
}

.robust-carousel-arrow.next {
    right: 0;
}

.robust-carousel-arrow svg {
    width: 20px;
    height: 20px;
    fill: #4b5563;
}

/* Card Styling */
.robust-review-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.robust-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.08);
}

.robust-google-logo {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 22px;
    height: 22px;
}

.robust-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.robust-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.robust-author-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
}

.robust-author-meta .robust-author-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.robust-review-date {
    font-size: 12px;
    color: #6b7280;
}

.robust-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}

.robust-star {
    font-size: 16px;
    color: #e5e7eb;
}

.robust-star.filled {
    color: #fbbc05;
}

.robust-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 20px;
    flex-grow: 1;
}

.robust-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.robust-source-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.robust-read-more {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.robust-read-more:hover {
    color: #111827;
}

/* --- Dark Theme --- */
.robust-theme-dark .robust-review-card {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.robust-theme-dark .robust-author-name {
    color: #f9fafb;
}

.robust-theme-dark .robust-review-text {
    color: #d1d5db;
}

.robust-theme-dark .robust-review-date {
    color: #9ca3af;
}

.robust-theme-dark .robust-excellent-text {
    color: #e5e7eb;
}

.robust-theme-dark .robust-card-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.robust-theme-dark .robust-widget-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* --- Badge / Button / Floating Layout --- */
.robust-layout-badge .robust-reviews-wrapper,
.robust-layout-button .robust-reviews-wrapper,
.robust-layout-floating .robust-reviews-wrapper {
    display: none;
}

.robust-badge-container {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.robust-excellent-badge-inline {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    display: inline-flex;
    padding: 16px 20px;
    gap: 16px;
    align-items: center;
}

.robust-badge-left {
    border-right: 1px solid #f3f4f6;
    padding-right: 16px;
    text-align: center;
}

.robust-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #9ca3af;
}

.robust-stars-tiny {
    color: #fbc02d;
    font-size: 12px;
    display: flex;
    justify-content: center;
    gap: 1px;
    margin: 4px 0;
}

.robust-stats-text {
    font-size: 9px;
    color: #9ca3af;
}

.robust-badge-right {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-style: italic;
    font-size: 18px;
    letter-spacing: -0.05em;
}

.robust-brand-indigo {
    color: #4f46e5;
}

.robust-brand-text {
    color: #111827;
}

.robust-theme-dark .robust-excellent-badge-inline {
    background: #1f2937;
    border-color: #374151;
}

.robust-theme-dark .robust-brand-text {
    color: #f9fafb;
}

/* --- Floating variation --- */
.robust-layout-floating {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border-radius: 0;
}

.robust-layout-floating .robust-excellent-badge-inline {
    animation: robustBounce 3s ease-in-out infinite;
}

@keyframes robustBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .robust-premium-widget {
        padding: 20px;
    }

    .robust-layout-grid .robust-reviews-wrapper {
        grid-template-columns: 1fr;
    }

    .robust-excellent-badge {
        flex-direction: column;
        text-align: center;
    }
}