/*
Theme Name: EGO
Author: EGO Creative Marketing
Author URI:   https://egodetroit.com/
Description: A beautiful website displaying the marketing and creativity of EGO
Text Domain: ego
*/

/* Single Service Hero Styles for Default Pages */
.service-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #273039 0%, #1a2329 100%);
    color: #fff;
    overflow: hidden;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.service-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 73, 94, 0.5);
    z-index: 2;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Rating pill above H1 */
.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    letter-spacing: 0.03rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rating-pill i {
    color: #f5b301;
}

/* Service title */
.service-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

/* Service hook */
.service-hook {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero CTA buttons */
.service-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.service-cta-buttons .btn i { 
    transition: transform 200ms ease; 
}

.service-cta-buttons .btn:hover i,
.service-cta-buttons .btn:focus-visible i { 
    transform: translateX(6px); 
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-hero {
        min-height: 100vh;
    }
    
    .service-title {
        font-size: 2.5rem;
    }
    
    .service-hook {
        font-size: 1.1rem;
    }
    
    .service-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Featured Content Section */
body .featured-content-section {
    position: relative;
    padding: 4rem 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.featured-content-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 500px !important;
}

.featured-content-wrapper.image-left {
    grid-template-columns: 1fr 1fr;
}

.featured-content-wrapper.image-right {
    grid-template-columns: 1fr 1fr;
}

.featured-content-wrapper.image-left .featured-content-image {
    order: -1;
}

.featured-content-text {
    padding: 4rem 3rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    height: 100% !important;
}

.featured-content-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: #112739 !important;
    font-family: inherit !important;
}

.featured-content-description {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    color: #666 !important;
    font-family: inherit !important;
}

.featured-content-description p {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    color: #666 !important;
}

.featured-content-secondary {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    color: #666 !important;
    font-family: inherit !important;
}

.featured-content-secondary p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    color: #666 !important;
}

.featured-content-cta {
    margin-top: 2rem;
}

.featured-content-cta .btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 1rem 2rem !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 35px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

.featured-content-cta .btn i {
    transition: transform 0.3s ease;
}

.featured-content-cta .btn:hover i {
    transform: translateX(5px);
}

.featured-content-image {
    position: relative;
    text-align: center;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
    height: 100% !important;
}

.featured-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-content-image img:hover {
    transform: translateY(-5px);
}

.featured-content-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #495057, #343a40);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff;
    border: 2px dashed #6c757d;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #112739;
    color: white;
}

.btn-primary:hover {
    background: #1a2329;
    color: white;
}

.btn-secondary {
    background: white;
    color: #273039;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f8f9fa;
    color: #273039;
}

.btn-outline {
    background: transparent;
    color: #273039;
    border: 2px solid #273039;
}

.btn-outline:hover {
    background: #273039;
    color: white;
}

/* Background color variations */
.featured-content-section.white-bg {
    background-color: #ffffff;
}

.featured-content-section.light-gray-bg {
    background-color: #f8f9fa;
}

.featured-content-section.dark-bg {
    background-color: #112739;
    color: #ffffff;
}

.featured-content-section.dark-bg .featured-content-title,
.featured-content-section.dark-bg .featured-content-description,
.featured-content-section.dark-bg .featured-content-secondary {
    color: #ffffff;
}

.featured-content-section.dark-gray-bg {
    background-color: #343a40;
    color: white;
}

.featured-content-section.dark-gray-bg .featured-content-title,
.featured-content-section.dark-gray-bg .featured-content-description,
.featured-content-section.dark-gray-bg .featured-content-secondary {
    color: white;
}

.featured-content-section.primary-bg {
    background-color: #273039;
    color: white;
}

.featured-content-section.primary-bg .featured-content-title,
.featured-content-section.primary-bg .featured-content-description,
.featured-content-section.primary-bg .featured-content-secondary {
    color: white;
}

.featured-content-section.green-bg {
    background-color: #bdd653;
}

.featured-content-section.green-bg .featured-content-title {
    color: #273039 !important;
    font-weight: 700 !important;
}

.featured-content-section.green-bg .featured-content-description,
.featured-content-section.green-bg .featured-content-secondary {
    color: #1a2329 !important;
    font-weight: 500 !important;
}

.featured-content-section.green-bg .featured-content-description p,
.featured-content-section.green-bg .featured-content-secondary p {
    color: #1a2329 !important;
    font-weight: 500 !important;
}

.featured-content-section.green-bg .featured-content-cta .btn {
    background-color: #9bc23a !important;
    color: white !important;
    border: 2px solid #9bc23a !important;
}

.featured-content-section.green-bg .featured-content-cta .btn:hover {
    background-color: #8ab32f !important;
    border-color: #8ab32f !important;
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        min-height: auto !important;
    }
    
    .featured-content-wrapper.image-left .featured-content-image {
        order: 0;
    }
    
    .featured-content-text {
        padding: 2rem 1.5rem !important;
        min-height: 400px !important;
    }
    
    .featured-content-image {
        min-height: 300px !important;
    }
    
    .featured-content-title {
        font-size: 2rem !important;
    }
    
    .featured-content-description {
        font-size: 1rem !important;
    }
}

/* Awards Page Styles */
.awards-grid-section {
    background-color: #ffffff;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.award-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.award-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    width: 100%;
}

.award-logo img {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    display: block;
    width: auto;
    height: auto;
}

.award-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6c757d;
    border: 2px dashed #dee2e6;
}

.award-content {
    text-align: center;
}

.award-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #112739;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.award-organization {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.award-year {
    display: inline-block;
    background: #bdd653;
    color: #273039;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.award-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-top: 1rem;
}

/* Stats Section */
.awards-stats-section {
    background-color: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #bdd653, #9bc23a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #112739;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #112739;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .award-card,
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Team Page Styles */
.team-grid-section {
    background-color: #ffffff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member-photo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
}

.team-member-photo img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    border: 4px solid #f8f9fa;
}

.member-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6c757d;
    border: 4px solid #f8f9fa;
}

.team-member-content {
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #112739;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-role {
    font-size: 1.1rem;
    color: #bdd653;
    margin-bottom: 1rem;
    font-weight: 600;
}

.member-bio {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #666;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: #bdd653;
    color: #273039;
    transform: translateY(-2px);
}

/* Team Stats Section */
.team-stats-section {
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member-card {
        padding: 1.5rem;
    }
    
    .team-member-photo img,
    .member-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .member-placeholder {
        font-size: 3rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 1rem;
    }
}

/* Our Approach Page Styles */
.service-categories-section {
    background-color: #ffffff;
}

.service-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-category-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.category-icon {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #bdd653;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #112739;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.category-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Process Steps Section */
.process-steps-section {
    background-color: #f8f9fa;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #f0f0f0;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #bdd653, #a3c93a);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(189, 214, 83, 0.3);
}

.step-content {
    margin-top: 1rem;
}

.step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #112739;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.step-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-services {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #bdd653;
}

.service-name {
    font-weight: 600;
    color: #112739;
    font-size: 0.95rem;
}

.service-type {
    font-weight: 500;
    color: #bdd653;
    font-size: 0.9rem;
}

/* Approach CTA Section */
.approach-cta-section {
    background: linear-gradient(135deg, #bdd653, #a3c93a);
    color: #ffffff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-service-item {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button-wrapper {
    margin-top: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Design for Approach Page */
@media (max-width: 768px) {
    .service-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step-card {
        padding: 2rem 1.5rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-services-list {
        gap: 0.75rem;
    }
    
    .cta-service-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .step-service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.section-padding {
    padding: 5rem 0;
}

/* Google Business Reviews Styling */
.google-business-reviews-rating {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    font-family: inherit;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header Section */
.google-business-reviews-rating .heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem 1rem;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #273039;
    border-bottom: 1px solid #e9ecef;
}

.google-business-reviews-rating .heading .icon {
    display: flex;
    align-items: center;
}

.google-business-reviews-rating .heading .icon img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #bcd748;
}

/* Address */
.google-business-reviews-rating .vicinity {
    padding: 0 2.5rem 1rem;
    margin: 0;
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 400;
}

/* Rating Section */
.google-business-reviews-rating .rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2.5rem 2rem;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.google-business-reviews-rating .rating .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
}

.google-business-reviews-rating .rating .all-stars {
    display: flex;
    gap: 2px;
}

.google-business-reviews-rating .rating .star {
    width: 24px;
    height: 24px;
    background: #ffd700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.google-business-reviews-rating .rating .count {
    font-size: 1rem;
    color: #273039;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.google-business-reviews-rating .rating .count:hover {
    color: #bcd748;
}

/* Reviews List */
.google-business-reviews-rating .listing {
    list-style: none;
    margin: 0;
    padding: 0;
}

.google-business-reviews-rating .listing li {
    display: flex;
    gap: 1rem;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.3s ease;
}

.google-business-reviews-rating .listing li:hover {
    background-color: #f8f9fa;
}

.google-business-reviews-rating .listing li:last-child {
    border-bottom: none;
}

/* Author Avatar */
.google-business-reviews-rating .author-avatar {
    flex-shrink: 0;
}

.google-business-reviews-rating .author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.google-business-reviews-rating .author-avatar:hover img {
    border-color: #bcd748;
}

/* Review Meta */
.google-business-reviews-rating .review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

.google-business-reviews-rating .author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #273039;
}

.google-business-reviews-rating .author-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.google-business-reviews-rating .author-name a:hover {
    color: #bcd748;
}

.google-business-reviews-rating .rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.google-business-reviews-rating .rating:not(.rating .rating) {
    color: #ffd700;
    font-size: 1rem;
    letter-spacing: 2px;
}

.google-business-reviews-rating .relative-time-description {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Review Text */
.google-business-reviews-rating .text {
    margin-top: 1rem;
    line-height: 1.6;
    color: #273039;
    font-size: 1rem;
}

.google-business-reviews-rating .text-excerpt {
    position: relative;
}

.google-business-reviews-rating .review-more-link {
    color: #bcd748;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.google-business-reviews-rating .review-more-link:hover {
    color: #a3c93a;
    text-decoration: underline;
}

.google-business-reviews-rating .review-full-text {
    display: none;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
}

.google-business-reviews-rating .text-excerpt.expanded .review-snippet {
    display: none;
}

.google-business-reviews-rating .text-excerpt.expanded .review-full-text {
    display: block;
}

.google-business-reviews-rating .text-excerpt.expanded .review-more-link {
    display: none;
}

/* Attribution */
.google-business-reviews-rating .attribution {
    padding: 1.5rem 2.5rem;
    margin: 0;
    text-align: center;
    background: #f8f9fa;
    font-size: 0.8rem;
    color: #6c757d;
}

.google-business-reviews-rating .powered-by-google {
    display: inline-block;
    width: 100px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><text x="50" y="14" text-anchor="middle" font-family="Arial, sans-serif" font-size="10" fill="%236c757d">Powered by Google</text></svg>') no-repeat center;
    background-size: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .google-business-reviews-rating {
        margin: 0 1rem;
        padding: 2rem 0;
    }
    
    .google-business-reviews-rating .heading {
        padding: 1.5rem 1.5rem 1rem;
        font-size: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .google-business-reviews-rating .vicinity {
        padding: 0 1.5rem 1rem;
        text-align: center;
    }
    
    .google-business-reviews-rating .rating {
        padding: 0 1.5rem 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .google-business-reviews-rating .listing li {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .google-business-reviews-rating .author-avatar {
        align-self: center;
    }
    
    .google-business-reviews-rating .review-meta {
        width: 100%;
        text-align: center;
    }
    
    .google-business-reviews-rating .text {
        margin-top: 0.5rem;
        text-align: left;
    }
    
    .google-business-reviews-rating .attribution {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .google-business-reviews-rating .heading {
        font-size: 1.5rem;
        padding: 1rem 1rem 0.5rem;
    }
    
    .google-business-reviews-rating .heading .icon img {
        width: 40px;
        height: 40px;
    }
    
    .google-business-reviews-rating .rating .number {
        font-size: 2rem;
    }
    
    .google-business-reviews-rating .rating .star {
        width: 20px;
        height: 20px;
    }
    
    .google-business-reviews-rating .listing li {
        padding: 1rem;
    }
    
    .google-business-reviews-rating .author-avatar img {
        width: 40px;
        height: 40px;
    }
}