/* viagrakungen-css-fixes block 2 - extraherad 2026-07-29.
   Laddas pa exakt samma plats och med samma villkor som nar den lag inline.
   Redigera HAR, inte i mu-pluginen. */

.entry-content-wrap { max-width: 1200px; margin: 0 auto; }

    /* Grid layout like products */
    .glsr-reviews {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    @media (max-width: 768px) {
        .glsr-reviews { grid-template-columns: repeat(2, 1fr) !important; }
    }
    @media (max-width: 480px) {
        .glsr-reviews { grid-template-columns: 1fr !important; }
    }

    /* Review cards */
    .glsr-review {
        background: #fff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        padding: 22px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
        transition: all 0.2s ease !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    .glsr-review:hover {
        box-shadow: 0 6px 20px rgba(8,145,178,0.15) !important;
        transform: translateY(-2px) !important;
    }

    /* Stars top */
    .glsr-review .glsr-star-rating { margin-bottom: 10px !important; }

    /* Title */
    .glsr-review .glsr-review-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #083344 !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    /* Hide date for cleaner look */
    .glsr-review .glsr-review-date { display: none !important; }

    /* Product link */
    .glsr-review .glsr-review-assigned_links {
        margin-bottom: 10px !important;
    }
    .glsr-review .glsr-review-assigned_links a {
        color: #0891b2 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-decoration: none !important;
    }

    /* Review text */
    .glsr-review .glsr-review-content,
    .glsr-review .glsr-review-content p {
        color: #475569 !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        flex-grow: 1 !important;
    }

    /* Author at bottom */
    .glsr-review .glsr-review-author {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: auto !important;
        padding-top: 14px !important;
        border-top: 1px solid #f1f5f9 !important;
    }
    .glsr-review .glsr-review-author .glsr-review-avatar,
    .glsr-review .glsr-review-author > span:first-child {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #0891b2, #155e75) !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-weight: 700 !important;
        font-size: 13px !important;
    }

    /* Summary box */
    .glsr-summary {
        background: linear-gradient(135deg, #0891b2, #155e75) !important;
        border: none !important;
        border-radius: 16px !important;
        padding: 30px !important;
        margin-bottom: 30px !important;
        color: #fff !important;
        text-align: center !important;
    }
    .glsr-summary .glsr-summary-rating {
        font-size: 52px !important;
        font-weight: 800 !important;
        color: #fff !important;
    }
    .glsr-summary .glsr-star-rating .gl-star-full,
    .glsr-summary .glsr-star-rating { color: #fbbf24 !important; }
    .glsr-summary .glsr-summary-text { color: rgba(255,255,255,0.8) !important; }

    /* Pagination */
    .glsr-pagination {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        margin-top: 20px !important;
    }
    .glsr-pagination a, .glsr-pagination span {
        display: inline-block !important;
        padding: 8px 16px !important;
        margin: 0 4px !important;
        border-radius: 8px !important;
        font-weight: 500 !important;
        border: 1px solid #e2e8f0 !important;
    }
    .glsr-pagination .current {
        background: #0891b2 !important;
        color: #fff !important;
        border-color: #0891b2 !important;
    }