/* =========================================================================
   SINGLE SERVICE (CPT: services) DEDICATED STYLES
   ========================================================================= */

/* GRID LAYOUT (ACTION-FIRST LEFT SIDEBAR) */
.service-single-wrapper {
    background-color: #ffffff;
    padding: 50px 0;
}

.service-single-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 340px 1fr; 
    grid-template-areas: "sidebar content";
    gap: 40px;
}

/* AREA BINDINGS */
.service-sidebar {
    grid-area: sidebar;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-main-content {
    grid-area: content;
}

/* ARTICLE STYLES */
.service-featured-media {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.service-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

.article-entry-content {
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
}

.article-entry-content p:first-of-type {
    font-size: 17px;
    font-weight: 600;
    color: #dc2626;
    line-height: 1.7;
}

.article-entry-content h2, 
.article-entry-content h3 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* SIDEBAR STYLES */
.service-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0f172a;
}

.widget-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.btn-sidebar-cta.primary {
    background-color: #0f172a;
    color: #ffffff;
}

.btn-sidebar-cta.whatsapp {
    background-color: #25d366;
    color: #ffffff;
    margin-bottom: 0;
}

.btn-sidebar-cta:hover {
    opacity: 0.9;
}

/* OTHER SERVICES LIST */
.sidebar-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-services-list li {
    border-bottom: 1px solid #e2e8f0;
}

.sidebar-services-list li:last-child {
    border-bottom: none;
}

.sidebar-services-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s, transform 0.2s;
}

.sidebar-services-list a:hover {
    color: #dc2626;
    transform: translateX(4px);
}

.sidebar-services-list .chevron {
    color: #94a3b8;
    font-weight: bold;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .service-single-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "content"
            "sidebar";
        gap: 30px;
    }
}