.lpre-top-rated-page {
    display: block;
    margin: 0 auto;
    padding: 0 24px 80px;
    max-width: 1200px;
    color: #1f2933;
}

.lpre-top-rated-page .lpre-top-rated-hero {
    position: relative;
    margin: 40px 0 48px;
    padding: 48px;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, #A65A3D 0%, #C67353 60%, #E9B199 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.lpre-top-rated-page .lpre-top-rated-hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    color: #fff;
}

.lpre-top-rated-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.lpre-top-rated-title {
    margin: 0 0 12px;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.1;
    font-weight: 700;
}

.lpre-top-rated-subtitle {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.lpre-top-rated-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.lpre-top-rated-results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.lpre-top-rated-results-count {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.lpre-top-rated-results-count strong {
    font-size: 32px;
    color: #fc4a1a;
}

.lpre-top-rated-results-count span {
    font-size: 16px;
    color: #52606d;
}

.lpre-top-rated-view-options {
    display: inline-flex;
    border-radius: 999px;
    background-color: #f1f5f9;
    padding: 4px;
}

.lpre-top-rated-view-toggle {
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #52606d;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.lpre-top-rated-view-toggle.active {
    background: #fff;
    color: #fc4a1a;
    box-shadow: 0 4px 10px rgba(252, 74, 26, 0.12);
}

.lpre-top-rated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.lpre-top-rated-grid.is-grid {
    display: grid;
}

.lpre-top-rated-grid.is-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lpre-top-rated-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lpre-top-rated-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.lpre-top-rated-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    height: 250px !important;
}

.lpre-top-rated-card-media img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lpre-top-rated-card:hover .lpre-top-rated-card-media img {
    transform: scale(1.05);
}

.lpre-top-rated-card-rating-badge {
    position: absolute;
    left: 20px;
    top: 20px;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(31, 41, 55, 0.85);
    color: #fff;
    font-weight: 600;
}

.lpre-top-rated-card-rating {
    font-size: 20px;
    line-height: 1;
}

.lpre-top-rated-card-rating-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.lpre-top-rated-card-save {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lpre-top-rated-card-save:hover {
    transform: scale(1.05);
    background: #fff;
}

.lpre-top-rated-card-save.saved {
    background: rgba(217, 140, 106, 0.95);
}

.lpre-top-rated-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.lpre-top-rated-card-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
}

.lpre-top-rated-card-title a {
    color: inherit;
    text-decoration: none;
}

.lpre-top-rated-card-title a:hover {
    color: #fc4a1a;
}

.lpre-top-rated-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #52606d;
}

.lpre-top-rated-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lpre-top-rated-card-meta-divider {
    color: #cbd2d9;
}

.lpre-top-rated-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #1f2933;
}

.lpre-top-rated-card-location-icon {
    color: #fc4a1a;
}

.lpre-top-rated-card-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #3e4c59;
}

.lpre-top-rated-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.lpre-top-rated-card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lpre-top-rated-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(252, 74, 26, 0.25);
}

.lpre-top-rated-card-status {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lpre-top-rated-card-status.status-open {
    color: #0d9488;
}

.lpre-top-rated-card-status.status-closed {
    color: #f97316;
}

.lpre-top-rated-no-results {
    margin: 64px auto;
    padding: 48px;
    max-width: 640px;
    text-align: center;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e4ebf3;
}

.lpre-top-rated-no-results h2 {
    margin-bottom: 12px;
    font-size: 26px;
    color: #1f2933;
}

.lpre-top-rated-no-results p {
    margin: 0;
    font-size: 16px;
    color: #52606d;
}

.lpre-top-rated-grid.is-list .lpre-top-rated-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 260px;
}

.lpre-top-rated-grid.is-list .lpre-top-rated-card-media {
    flex: 0 0 40%;
    aspect-ratio: auto;
    height: auto;
}

.lpre-top-rated-grid.is-list .lpre-top-rated-card-body {
    flex: 1 1 auto;
    padding: 28px;
}

.lpre-top-rated-grid.is-list .lpre-top-rated-card-footer {
    margin-top: auto;
}

.lpre-top-rated-grid.is-list .lpre-top-rated-card-excerpt {
    max-width: 80%;
}

@media (max-width: 992px) {
    .lpre-top-rated-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lpre-top-rated-page .lpre-top-rated-hero {
        padding: 36px;
        border-radius: 24px;
    }

    .lpre-top-rated-results-summary {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .lpre-top-rated-page .lpre-top-rated-hero {
        padding: 28px 24px;
    }

    .lpre-top-rated-meta {
        flex-wrap: wrap;
    }

    .lpre-top-rated-results-summary {
        align-items: stretch;
    }

    .lpre-top-rated-view-options {
        width: 100%;
        justify-content: space-between;
    }

    .lpre-top-rated-grid {
        grid-template-columns: 1fr;
    }

    .lpre-top-rated-card-body {
        padding: 20px;
    }

    .lpre-top-rated-grid.is-list .lpre-top-rated-card {
        flex-direction: column;
    }

    .lpre-top-rated-grid.is-list .lpre-top-rated-card-media {
        flex-basis: auto;
        aspect-ratio: 4 / 3;
    }

    .lpre-top-rated-grid.is-list .lpre-top-rated-card-excerpt {
        max-width: 100%;
    }
}

/* Pagination Styles */
.lpre-top-rated-pagination {
    margin: 48px 0 0;
    padding: 0;
    text-align: center;
}

.lpre-top-rated-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.lpre-top-rated-pagination .page-numbers li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lpre-top-rated-pagination .page-numbers a,
.lpre-top-rated-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2933;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.lpre-top-rated-pagination .page-numbers a:hover {
    background: #f9fafb;
    border-color: #D98C6A;
    color: #D98C6A;
}

.lpre-top-rated-pagination .page-numbers .current {
    background: #D98C6A;
    border-color: #D98C6A;
    color: #fff;
    font-weight: 600;
}

.lpre-top-rated-pagination .page-numbers .prev,
.lpre-top-rated-pagination .page-numbers .next {
    font-weight: 600;
}

.lpre-top-rated-pagination .page-numbers .dots {
    border: none;
    background: transparent;
    cursor: default;
}

.lpre-top-rated-pagination .page-numbers .dots:hover {
    background: transparent;
    border-color: #e5e7eb;
    color: #1f2933;
}

@media (max-width: 768px) {
    .lpre-top-rated-pagination .page-numbers {
        gap: 4px;
    }
    
    .lpre-top-rated-pagination .page-numbers a,
    .lpre-top-rated-pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 14px;
    }
}

