/* Author Review Schema - Premium Card v2.0 */

:root {
    --ars-accent: #4285f4;
}

.ars-premium-card {
    position: relative;
    margin: 40px 0;
    padding: 1px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    color: #333;
}

.ars-card-content {
    position: relative;
    padding: 30px;
    background: rgba(255,255,255,0.85);
    border-radius: 23px;
}

/* Summary Box */
.ars-summary-box {
    background: rgba(var(--ars-accent-rgb, 66, 133, 244), 0.1);
    border-left: 4px solid var(--ars-accent);
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ars-summary-box .dashicons { color: var(--ars-accent); }

/* Header & Score */
.ars-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.ars-biz-name { margin: 0; font-size: 24px; font-weight: 800; color: #111; }
.ars-biz-address { margin: 5px 0 0; font-size: 14px; color: #666; display: flex; align-items: center; gap: 5px; }

.ars-score-circle {
    background: var(--ars-accent);
    color: #fff;
    width: 65px; height: 65px;
    border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.ars-score-value { font-size: 22px; font-weight: 900; }
.ars-score-label { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }

/* Pros & Cons Grid */
.ars-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(0,0,0,0.02);
    border-radius: 15px;
}
.ars-pc-col h4 { margin: 0 0 10px 0; font-size: 16px; font-weight: 700; }
.ars-pc-col ul { list-style: none; padding: 0; margin: 0; }
.ars-pc-col li { font-size: 14px; margin-bottom: 8px; display: flex; align-items: flex-start; gap: 8px; }
.ars-pros h4 { color: #2e7d32; }
.ars-pros li .dashicons { color: #2e7d32; }
.ars-cons h4 { color: #d32f2f; }
.ars-cons li .dashicons { color: #d32f2f; }

/* Footer & CTA */
.ars-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.ars-cta-group { display: flex; align-items: center; gap: 15px; }

.ars-cta-btn {
    background: var(--ars-accent);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.ars-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.ars-gmap-link { color: #666; text-decoration: none; }
.ars-gmap-link:hover { color: var(--ars-accent); }

/* FAQ Section */
.ars-faq-section { margin-top: 30px; border-top: 2px dashed #eee; padding-top: 20px; padding-bottom: 10px; }
.ars-faq-accordion { margin-top: 15px; }
.ars-faq-item { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f5f5f5; }
.ars-faq-q { color: #111; margin-bottom: 5px; }
.ars-faq-a { color: #555; line-height: 1.6; }

/* HowTo Section */
.ars-howto-section { margin-top: 30px; border-top: 2px dashed #eee; padding-top: 20px; }
.ars-howto-time { color: #666; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.ars-howto-time .dashicons { font-size: 16px; width: 16px; height: 16px; line-height: 16px; }
.ars-howto-steps { list-style: none; padding: 0; margin: 0; counter-reset: ars-step; }
.ars-howto-step {
    counter-increment: ars-step;
    position: relative;
    padding-left: 44px;
    margin-bottom: 20px;
}
.ars-howto-step::before {
    content: counter(ars-step);
    background: var(--ars-accent);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}
.ars-howto-step-name { font-weight: 700; color: #111; margin-bottom: 4px; }
.ars-howto-step-text { color: #555; line-height: 1.6; }
.ars-howto-step-image { max-width: 100%; border-radius: 8px; margin-top: 10px; }

/* Stars Style */
.ars-stars-outer { position: relative; display: inline-block; font-family: "Dashicons"; font-size: 20px; color: #ddd; }
.ars-stars-outer::before { content: "\f155\f155\f155\f155\f155"; }
.ars-stars-inner { position: absolute; top: 0; left: 0; white-space: nowrap; overflow: hidden; color: #fbbc05; }
.ars-stars-inner::before { content: "\f155\f155\f155\f155\f155"; }

@media (max-width: 600px) {
    .ars-pros-cons-grid { grid-template-columns: 1fr; }
    .ars-card-footer { flex-direction: column; gap: 15px; }
}
/* Classic Style Card (Original Version) */
.ars-review-box-container {
    margin: 3em 0;
    padding: 1.5em;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.ars-review-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ars-reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ars-reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.ars-reviewer-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ars-reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ars-reviewer-name-line {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
}

.ars-reviewer-label {
    font-size: 16px;
    color: #333;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.ars-reviewer-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
}

.ars-stars-rating {
    position: relative;
    font-size: 22px;
    color: #ccc;
    display: inline-block;
    transition: all 0.3s ease;
}

.ars-stars-background {
    position: relative;
    z-index: 1;
}

.ars-stars-foreground {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffb300;
    z-index: 2;
}

.ars-rating-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-left: 1px solid #e0e0e0;
    padding-left: 25px;
    flex-shrink: 0;
}

.ars-rating-label {
    font-size: 14px;
    color: #666;
    display: block;
    transition: all 0.3s ease;
}

.ars-rating-score {
    font-size: 52px;
    font-weight: 300;
    color: #333;
    line-height: 1.1;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .ars-review-box-container { padding: 1em; }
    .ars-review-box { flex-direction: column; align-items: flex-start; gap: 15px; }
    .ars-rating-score-wrapper {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-left: 0;
        padding-top: 15px;
        width: 100%;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .ars-reviewer-avatar { width: 50px; height: 50px; }
    .ars-reviewer-label, .ars-reviewer-name { font-size: 15px; }
    .ars-stars-rating { font-size: 20px; }
    .ars-rating-label { font-size: 13px; }
    .ars-rating-score { font-size: 44px; }
}
.ars-rating-source-label {
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ars-rating-source-label span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
}
.ars-rating-source-label .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}
.ars-source-google { color: #4285f4; }
.ars-source-manual { color: #666; }
