/*
==============================================================
FIXYDO V6.7 - HIGH CONTRAST & ACCESSIBILITY FIX
Purpose: Fixed specific contrast failures in tables and sidebar status.
==============================================================
*/

/* --- 1. MAIN LAYOUT & STACKING CONTEXT --- */

.fixydo-single-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: -80px; /* Desktop Overlap */
    position: relative;
    z-index: 20; 
}

.single-main-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 25; 
    overflow: visible !important; 
}

.single-sidebar {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    z-index: 15;
}

/* --- 2. HERO SECTION (COVER PHOTO) --- */
.company-cover-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: #e5e7eb;
    z-index: 1;
    aspect-ratio: 16/5; 
}

.company-cover-photo { 
    width: 100%;
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
}

.company-cover-photo::before { 
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%); 
    z-index: 1; 
}

.company-cover-photo.no-cover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-cover-content {
    text-align: center;
    color: #4b5563; /* Darkened for contrast */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.no-cover-content .dashicons { font-size: 48px; width: 48px; height: 48px; }
.no-cover-content span { font-size: 1.2em; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Social Icons */
.cover-social-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    gap: 8px;
}

.cover-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.5);
    text-decoration: none;
}
.cover-social-link:hover { transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0,0,0,0.3); }
.cover-social-link .dashicons { font-size: 16px; }

.cover-social-link.social-facebook { background: #3b5998; }
.cover-social-link.social-twitter { background: #000000; }
.cover-social-link.social-instagram { background: #c13584; }
.cover-social-link.social-linkedin { background: #0077b5; }
.cover-social-link.social-youtube { background: #ff0000; }
.cover-social-link.social-whatsapp { background: #25D366; }

/* --- 3. PROFILE HEADER --- */
.profile-header-card {
    background: var(--fixydo-white);
    padding: 20px 30px 25px 30px;
    border-radius: var(--fixydo-radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid var(--fixydo-border);
    z-index: 30;
    overflow: visible !important; 
}

.profile-header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--fixydo-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.company-logo-large {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--fixydo-radius-md);
    border: 4px solid var(--fixydo-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: -80px; 
    flex-shrink: 0;
    background-color: var(--fixydo-white);
    position: relative;
    z-index: 50; 
}

.no-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    color: #d1d5db;
}
.no-logo-placeholder .dashicons { font-size: 40px; width: 40px; height: 40px; }

.profile-title-group { flex-grow: 1; }
.entry-title { font-size: 2.2em; font-weight: 800; margin: 0 0 5px 0; line-height: 1.2; color: #0f172a; /* Darkest Slate */ }
.tagline-italic { color: #4b5563; font-size: 1.05em; margin: 0 0 10px 0; display: block; }

.profile-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-featured, .badge-verified { padding: 4px 10px; font-size: 0.8em; font-weight: 700; border-radius: 50px; display: inline-flex; align-items: center; gap: 5px; text-transform: uppercase; }
/* Contrast Fix: Darker text colors */
.badge-featured { background-color: #fffbe6; color: #78350f; border: 1px solid #fcd34d; }
.badge-verified { background-color: #f0fdf4; color: #14532d; border: 1px solid #86efac; }

.profile-header-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.meta-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.meta-badge-link { padding: 6px 14px; font-size: 0.85em; font-weight: 600; border-radius: 6px; text-decoration: none; transition: all 0.2s ease; display: inline-block; line-height: 1.2; }
.meta-badge-link.industry-badge { background-color: #0077b6; color: #ffffff; }
.meta-badge-link.location-badge { background-color: #f59e0b; color: #000000; }
.meta-badge-link.more-badge { background-color: #f3f4f6; color: #1f2937; border: 1px solid #d1d5db; cursor: default; }
.meta-badge-link:hover { opacity: 0.9; transform: translateY(-1px); }

.rating-summary { display: flex; align-items: center; font-weight: 600; color: #1f2937; }
.star-rating { color: #f59e0b; font-size: 1.1em; margin-right: 5px; }

/* --- 4. CONTENT SECTIONS --- */
.fixydo-section-card {
    background: var(--fixydo-white);
    padding: 25px 30px;
    border-radius: var(--fixydo-radius-md);
    border: 1px solid var(--fixydo-border);
    margin-top: 25px;
    content-visibility: auto;
    contain-intrinsic-size: 1000px; 
}

.section-title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fixydo-border);
    color: #111827;
}

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.stat-item { text-align: center; }
.stat-icon { width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.stat-icon .dashicons { font-size: 24px; }
.stat-item .stat-value { font-size: 1.2em; font-weight: 700; color: #1f2937; margin: 0; }
.stat-item .stat-label { font-size: 0.85em; color: #4b5563; margin: 2px 0 0 0; }
.stat-icon.experience { background: #e0f2fe; color: #0369a1; }
.stat-icon.founded { background: #fef3c7; color: #b45309; }
.stat-icon.employees { background: #e0e7ff; color: #4338ca; }
.stat-icon.views { background: #fce7f3; color: #be185d; }

/* Services & Pricing */
.service-category-group { margin-bottom: 15px; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.accordion-header { background-color: #f8fafc; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: background-color 0.3s ease; user-select: none; }
.accordion-header:hover { background-color: #f1f5f9; }
.service-group-title { margin: 0 !important; font-size: 1.1rem; font-weight: 600; color: #0f172a; }
.accordion-icon { transition: transform 0.3s ease; color: #64748b; }
.service-category-group.is-active .accordion-icon { transform: rotate(180deg); }
.accordion-content { display: none; padding: 20px; background: #fff; border-top: 1px solid #e2e8f0; }
.service-category-group.is-active .accordion-content { display: block; }

.service-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.service-product-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; transition: all 0.2s ease; position: relative; overflow: hidden; }
.service-product-card:hover { border-color: var(--fixydo-primary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transform: translateY(-2px); }
.sp-header { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px dashed #e2e8f0; }
.sp-title { font-size: 1.1em; font-weight: 700; color: #0f172a; margin: 0 0 5px 0; line-height: 1.3; }
.sp-price { display: block; color: #059669; font-weight: 700; font-size: 1.1em; }
.sp-price small { color: #64748b; font-weight: 400; font-size: 0.75em; margin-right: 3px; }
.sp-desc { font-size: 0.9em; color: #475569; line-height: 1.5; margin: 0 0 15px 0; flex-grow: 1; }
.sp-footer { margin-top: auto; }
.sp-book-btn { width: 100%; text-align: center; display: block; font-weight: 600; border-radius: 6px; padding: 10px; text-decoration: none; }
.button-outline-primary { background: transparent; border: 1px solid var(--fixydo-primary); color: var(--fixydo-primary); }
.button-outline-primary:hover { background: var(--fixydo-primary); color: #fff; }

/* --- 5. REVIEWS, FORMS & RELATED SERVICES --- */
.reviews-list .review-item { padding: 20px 0; border-bottom: 1px solid var(--fixydo-border); }
.reviews-list .review-item:last-child { border-bottom: none; padding-bottom: 0; }
.reviews-list .review-item:first-child { padding-top: 0; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; flex-wrap: wrap; gap: 10px; }
.review-title { font-size: 1.1em; font-weight: 700; margin: 0; color: #111827; }
.review-meta { font-size: 0.85em; color: #6b7280; margin-bottom: 10px; }
.review-meta .review-date { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--fixydo-border); }
.review-content p { margin: 0; line-height: 1.7; color: #374151; }

.review-form-wrapper { margin-top: 30px; }
.review-submission-form { background: #f9fafb; padding: 25px; border-radius: 8px; border: 1px solid #e5e7eb; }
.review-submission-form h3 { margin-top: 0; margin-bottom: 20px; color: #1f2937; }
.review-submission-form .form-group { margin-bottom: 15px; }
.review-submission-form label { display: block; font-weight: 600; margin-bottom: 8px; color: #374151; }
.review-submission-form input[type="text"], .review-submission-form select, .review-submission-form textarea { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 6px; font-family: inherit; font-size: 14px; background: #fff; color: #1f2937; }
.review-submission-form input:focus, .review-submission-form select:focus, .review-submission-form textarea:focus { border-color: var(--fixydo-primary); outline: none; }
.review-submission-form button { width: auto; padding: 12px 25px; }

.related-area-services .link-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.related-area-services .related-service-link { background: #fff; border: 1px solid #ddd; padding: 8px 15px; border-radius: 4px; font-size: 14px; text-decoration: none; color: #4b5563; transition: all 0.2s ease-in-out; }
.related-area-services .related-service-link:hover { border-color: var(--fixydo-primary); color: var(--fixydo-primary); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* --- 6. SIDEBAR STYLES --- */
.sidebar-card { background: var(--fixydo-white); border: 1px solid var(--fixydo-border); padding: 25px; border-radius: var(--fixydo-radius-md); margin-bottom: 25px; }
.sidebar-card h3 { font-size: 1.3em; margin: 0 0 15px 0; padding-bottom: 10px; border-bottom: 1px solid var(--fixydo-border); color: #111827; }

.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9em; border-bottom: 1px solid #f3f4f6; }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { color: #1f2937; font-weight: 500; }
.hours-list .time { color: #4b5563; }

/* CONTRAST FIX: Current Day */
.hours-list .current-day { background-color: #f0f9ff; padding: 8px 10px; margin: -8px -10px; border-radius: var(--fixydo-radius-sm); }
.hours-list .current-day .day { color: #0f172a; font-weight: 700; } /* Dark Slate */
.hours-list .current-day .time { color: #0f172a; } /* Dark Slate */

/* CONTRAST FIX: Status Indicators */
.status-open { color: #14532d; font-weight: 700; } /* Dark Green */
.status-closed { color: #7f1d1d; font-weight: 700; } /* Dark Red */

/* Sidebar Actions Card */
.sidebar-card.actions-card { 
    padding: 20px; 
    background-color: #f9fafb; 
    border-radius: 8px; 
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-card.actions-card .button-full-width { 
    width: 100%; 
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-card.actions-card .claim-btn { 
    background-color: var(--fixydo-primary); 
    color: #fff; 
    border: 1px solid var(--fixydo-primary);
}
.sidebar-card.actions-card .claim-btn:hover {
    background-color: #1d4ed8; 
    border-color: #1d4ed8;
}

.sidebar-card.actions-card .report-btn { 
    color: #991b1b; 
    border: 1px solid #991b1b; 
    background: transparent; 
}
.sidebar-card.actions-card .report-btn:hover { 
    background: #fef2f2; 
    color: #7f1d1d; 
}

/* --- 7. MODALS (Claim & Report) --- */
.fixydo-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.modal-content { background: #fff; padding: 30px; border-radius: 12px; width: 90%; max-width: 500px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.2); animation: slideDown 0.3s ease; }
@keyframes slideDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 15px; cursor: pointer; font-size: 24px; color: #9ca3af; line-height: 1; }
.close-modal:hover { color: #111827; }
.modal-content h3 { margin-top: 0; margin-bottom: 10px; color: #111827; }
.modal-content p { color: #6b7280; margin-bottom: 20px; }
.modal-content .form-group { margin-bottom: 15px; }
.modal-content input, .modal-content textarea, .modal-content select { width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 6px; font-family: inherit; color: #1f2937; }
.fixydo-modal .button-full-width { width: 100%; }
.fixydo-modal .modal-message { margin-top: 10px; font-size: 0.9em; }
.fixydo-modal .report-modal-title { color: #ef4444; display: flex; align-items: center; gap: 8px; }

/* --- MODAL BUTTON SPECIFIC COLORS --- */
#report-form button[type="submit"] {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
#report-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

#claim-form button[type="submit"] {
    background-color: #1e3a8a; 
    color: #fff;
    border: 1px solid #1e3a8a;
    font-weight: 700;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
#claim-form button[type="submit"]:hover {
    background-color: #172554; 
    border-color: #172554;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

/* --- 8. FLOATING ACTION BUTTONS (Global) --- */
.fixydo-floating-actions {
    position: fixed;
    right: 30px;
    bottom: 140px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.floating-btn .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.f-call { background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); }
.f-whatsapp { background: linear-gradient(135deg, #25d366 0%, #128c7e 100%); }

.wiggle-animation { animation: fixydo-wiggle 2.5s infinite; }
@keyframes fixydo-wiggle {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50% { transform: rotate(-12deg); }
    20%, 40%, 60% { transform: rotate(12deg); }
}

@media (min-width: 992px) {
    .floating-btn::before {
        content: attr(title);
        position: absolute;
        right: 75px;
        background: #1e293b;
        color: #fff;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .floating-btn:hover::before { opacity: 1; visibility: visible; }
}

/* --- 9. NEW STYLES MOVED FROM INLINE --- */

.seo-intro-paragraph { margin-bottom: 25px; font-size: 1rem; color: #475569; line-height: 1.7; }
.service-areas-table-wrapper { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 8px; }
.service-areas-table { width: 100%; border-collapse: collapse; }
.service-areas-table th, .service-areas-table td { padding: 15px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.service-areas-table th { background-color: #f8fafc; font-size: 0.9rem; color: #64748b; text-transform: uppercase; }
.service-areas-table td:first-child { width: 30%; font-weight: 600; color: #1e293b; }
.area-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.area-pill { background-color: #f1f5f9; color: #475569; padding: 5px 12px; border-radius: 50px; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: all 0.2s ease; }
.area-pill:hover { background-color: #e2e8f0; color: #1e293b; }
.all-areas-text { font-style: italic; color: #64748b; font-size: 0.9rem; }

/* New Interactive Services Table Styles */
.services-table-wrapper { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; }
.services-table.interactive-table { width: 100%; border-collapse: collapse; }
.services-table.interactive-table th, .services-table.interactive-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 0.95rem; vertical-align: middle; }
.services-table.interactive-table thead th { background-color: #f8fafc; font-size: 0.9rem; color: #64748b; text-transform: uppercase; }

/* CONTRAST FIX: Table Group Header Styling for TD */
.services-table.interactive-table .group-heading-cell { 
    background-color: white; 
    color: #000000; /* Darker Slate for Contrast */
    font-weight: 800; 
    font-size: 1rem; 
    padding: 15px; 
    border-top: 2px solid #e2e8f0;
}
.services-table.interactive-table .group-heading-cell.odd-group { background-color: white; }

.services-table.interactive-table .service-row-item { cursor: pointer; transition: background-color 0.2s; }
.services-table.interactive-table .service-row-item:hover { background-color: #f8fafc; }
.services-table.interactive-table .service-row-item.active { background-color: #eff6ff; }
.services-table.interactive-table .service-row-item th { font-weight: 600; color: #334155; display: flex; align-items: center; gap: 10px; border-bottom: none; }
.services-table.interactive-table .toggle-icon { transition: transform 0.3s ease; color: #94a3b8; }
.services-table.interactive-table .service-row-item.active .toggle-icon { transform: rotate(180deg); color: #2563eb; }
.services-table.interactive-table .service-row-item-static th { padding-left: 39px; font-weight: 500; color: #475569; border-bottom: none; }
.services-table.interactive-table td:last-child { font-weight: 700; color: #093D23; text-align: left; }

.price-on-request { color: #64748b; font-weight: 500; font-style: italic; }

.service-desc-row td { background-color: #f8fafc; padding: 0; }
.service-desc-content { padding: 20px 20px 20px 54px; font-size: 0.9rem; color: #475569; line-height: 1.6; border-top: 1px solid #e2e8f0; }

/* Verification Statement */
.verification-statement-card { background: #f8fafc; border-color: #e2e8f0; }
.verification-statement-card p { font-size: 0.9rem; color: #64748b; line-height: 1.6; margin: 0; }

/* Final FAQ Section (UPDATED) */
.final-faq-container .faq-item { border-bottom: 1px solid #e2e8f0; }
.final-faq-container .faq-item:last-child { border-bottom: none; }
.final-faq-container .faq-question { padding: 15px 0; font-weight: 600; color: #1e293b; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.final-faq-container .faq-question::after { content: '\f347'; font-family: 'dashicons'; transition: transform 0.3s; color: #94a3b8; }
.final-faq-container .faq-question.active::after { transform: rotate(180deg); }
.final-faq-container .faq-answer { display: none; padding-bottom: 15px; color: #475569; line-height: 1.6; }

/* --- 10. RESPONSIVE MEDIA QUERIES --- */
.mobile-only { display: none !important; }

@media (max-width: 992px) { 
    .desktop-only { display: none !important; } 
    .mobile-only { display: block !important; } 
    
    .fixydo-single-layout { flex-direction: column; margin-top: -60px; } 
    .single-sidebar { width: 100%; position: static; margin-top: 25px; } 
    .company-cover-wrapper { height: 250px; } 
    
    .profile-header-top { flex-direction: column; align-items: center; text-align: center; } 
    .entry-title { font-size: 1.8em; } 
    
    .cover-social-icons.desktop-only { display: flex !important; top: 15px; right: 15px; }
    .cover-social-link { width: 30px; height: 30px; }
    .cover-social-link .dashicons { font-size: 14px; }
}

@media (max-width: 768px) {
    .fixydo-floating-actions { right: 20px; bottom: 140px; gap: 12px; }
    .floating-btn { width: 55px; height: 55px; }
    .floating-btn .dashicons { font-size: 26px; }
}

@media (max-width: 600px) { 
    /* --- MOBILE SPECIFIC FIXES --- */
    
    .fixydo-single-layout { 
        margin-top: 0; 
        padding-bottom: 80px; 
        display: block; 
    } 
    
    .fixydo-container { 
        padding-left: 0; 
        padding-right: 0; 
        position: relative;
    } 
    
    .fixydo-section-card { 
        border-radius: 0; 
        border-left: none; 
        border-right: none; 
        padding-left: 15px; 
        padding-right: 15px; 
    } 
    
    .company-cover-wrapper { 
        height: 200px; 
    } 
    
    .profile-header-card { 
        margin-top: -50px; 
        border-radius: var(--fixydo-radius-md) var(--fixydo-radius-md) 0 0; 
        padding-left: 15px; 
        padding-right: 15px; 
        position: relative;
        background: #fff;
        border-bottom: 1px solid #eee;
    } 
    
    .profile-header-top {
        padding-top: 50px; 
        position: relative;
    }

    .company-logo-large { 
        width: 90px; 
        height: 90px; 
        position: absolute;
        top: -45px; 
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0 !important; 
        
        background-color: #fff; 
        border: 3px solid #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    } 
    
    .entry-title { font-size: 1.6em; margin-top: 10px; } 
    .profile-badges { justify-content: center; } 
    .profile-header-meta { flex-direction: column; align-items: flex-start; gap: 12px; } 
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 15px; } 
    .section-title { font-size: 1.3em; } 
    .review-header { flex-direction: column; align-items: flex-start; } 
    .service-product-grid { grid-template-columns: 1fr; }
}

/* Provider Reply on Single Page */
.provider-reply-box {
    margin-top: 15px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-left: 4px solid #0284c7;
    padding: 15px;
    border-radius: 4px;
}
.provider-reply-box .reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #0c4a6e;
    font-size: 0.9rem;
}
.provider-reply-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #334155;
    font-style: italic;
}


/* --- 6A. SIDEBAR LIVE STATUS --- */
.live-status-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.live-status-box.status-open {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.live-status-box.status-closed {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-open .status-indicator {
    background-color: #16a34a; /* Darker green */
    box-shadow: 0 0 8px #16a34a;
}
.status-closed .status-indicator {
    background-color: #dc2626; /* Darker red */
}
.status-text strong {
    display: block;
    font-size: 1.1rem;
}
.status-open .status-text strong {
    color: #14532d; /* Darker green text */
}
.status-closed .status-text strong {
    color: #7f1d1d; /* Darker red text */
}
.status-text p {
    margin: 2px 0 0 0;
    font-size: 0.85rem;
    color: #475569; /* Darker gray */
}
.hours-list {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

/*
==============================================================
--- 11. NEW: SIMILAR COMPANIES & INTERNAL LINKS ---
==============================================================
*/

/* A. Similar Companies Grid */
.similar-companies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
    gap: 20px;
}

/* B. Internal Links Section */
.internal-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 30px;
}

.internal-links-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.internal-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.internal-links-list a {
    display: block;
    padding: 10px 15px;
    background-color: #f8fafc;
    border-radius: 6px;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #f1f5f9;
}

.internal-links-list a:hover {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
    transform: translateX(5px);
}

/*
==============================================================
--- 12. NEW: COMPANY CARD STYLES (FOR SIMILAR COMPANIES) ---
==============================================================
*/
.fixydo-card-compact {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.fixydo-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #d1d5db;
}

.fc-header { display: flex; gap: 20px; align-items: flex-start; width: 100%; }
.fc-img-box { width: 90px; height: 90px; flex-shrink: 0; position: relative; }
.fc-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid #f3f4f6; display: block; }
.fc-initials-avatar { width: 100%; height: 100%; background-color: #F0F4F8; color: #003366; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; text-transform: uppercase; border: 1px solid #cbd5e1; }
.fc-status { position: absolute; bottom: -3px; right: -3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; z-index: 2; }
.fc-open { background-color: #10b981; }
.fc-closed { background-color: #ef4444; }
.fc-content { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.fc-top-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.fc-cat { font-size: 11px; text-transform: uppercase; font-weight: 700; color: #003366; background: #F0F4F8; padding: 3px 8px; border-radius: 4px; }
.fc-verified { font-size: 11px; color: #10b981; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.fc-title { font-size: 18px; font-weight: 600; color: #111827; margin: 0 0 6px 0; line-height: 1.3; }
.fc-title a { text-decoration: none; color: inherit; }
.fc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #6b7280; margin-bottom: 6px; }
.fc-rating { display: flex; align-items: center; color: #f59e0b; font-weight: 600; }
.fc-rating .dashicons { font-size: 16px; width: 16px; height: 16px; margin-right: 4px; }
.fc-rating-num { color: #374151; margin-left: 2px; }
.fc-no-rating { font-size: 0.8rem; color: #9ca3af; font-style: italic; }
.fc-loc { display: flex; align-items: center; color: #6b7280; }
.fc-loc .dashicons { font-size: 16px; width: 16px; height: 16px; margin-right: 4px; }
.fc-loc a { color: #6b7280; text-decoration: none; }
.fc-price-highlight { font-size: 14px; color: #059669; margin-top: 2px; }
.fc-price-highlight strong { font-weight: 700; font-size: 15px; }
.fc-services-container { width: 100%; overflow: hidden; }
.fc-services-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; }
.fc-services-scroll::-webkit-scrollbar { display: none; }
.fc-pill { background: transparent; color: #6B7280; border: 1px solid #E5E7EB; border-radius: 4px; padding: 5px 12px; font-size: 12px; font-weight: 500; white-space: nowrap; flex-shrink: 0; transition: all 0.2s ease; }
.fc-pill:hover { border-color: #003366; color: #003366; }
.fc-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #f3f4f6; gap: 10px; }
.fc-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.fc-social-badge { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; background: #f3f4f6; color: #9ca3af; }
.fc-social-badge .dashicons { font-size: 16px; width: 16px; height: 16px; }
.fc-social-badge:hover { color: #fff; transform: translateY(-3px); }
.fc-social-badge.social-facebook:hover { background: #3b5998; }
.fc-social-badge.social-twitter:hover { background: #000000; }
.fc-social-badge.social-instagram:hover { background: #c13584; }
.fc-social-badge.social-linkedin:hover { background: #0077b5; }
.fc-social-badge.social-youtube:hover { background: #ff0000; }
.fc-social-badge.social-whatsapp:hover { background: #25D366; }
.fc-btns { display: flex; gap: 12px; flex-shrink: 0; }
.fc-btn { padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: 0.2s; white-space: nowrap; }
.fc-btn-view { background: transparent; border: 1px solid #cbd5e1; color: #64748b; }
.fc-btn-view:hover { background: #F0F4F8; color: #003366; border-color: #003366; }
.fc-btn-book { background: #003366; border: 1px solid #003366; color: #ffffff; }
.fc-btn-book:hover { background: #002244; border-color: #002244; }

/*
==============================================================
--- 13. NEW: COMPACT CARD STYLES FOR SIMILAR COMPANIES ---
==============================================================
*/
.similar-companies-grid .fixydo-card-compact {
    padding: 15px;
    gap: 10px;
}
.similar-companies-grid .fc-socials {
    display: none; /* Hide social icons */
}
.similar-companies-grid .fc-title {
    font-size: 1rem; /* Smaller font size */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.similar-companies-grid .fc-btn {
    padding: 6px 12px; /* Smaller buttons */
    font-size: 0.85rem;
}
.similar-companies-grid .fc-header {
    gap: 15px;
}
.similar-companies-grid .fc-img-box {
    width: 70px;
    height: 70px;
}
.similar-companies-grid .fc-footer {
    padding-top: 10px;
}

/*
==============================================================
--- 14. RESPONSIVE FOR NEW SECTIONS ---
==============================================================
*/
@media (max-width: 768px) {
    .similar-companies-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }

    .internal-links-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 25px;
    }
}