/* =============================================
   MODERN BLOG STYLES
   ============================================= */

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    padding: 60px 0;
    text-align: center;
}

.blog-header .breadcrumb {
    justify-content: center;
    margin-bottom: 20px;
}

.blog-header .breadcrumb a,
.blog-header .breadcrumb span {
    color: rgba(255,255,255,0.7);
}

.blog-page-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.blog-page-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-content-area {
    padding: 60px 0;
    background: #f8fafc;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

/* Blog Toolbar */
.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.posts-count {
    color: var(--gray);
    font-size: 14px;
}

/* Blog Grid */
.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Blog Card Modern */
.blog-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* Featured Card */
.blog-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.blog-card-featured .blog-card-image {
    height: 100%;
    min-height: 350px;
}

.blog-card-featured .blog-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-featured .blog-card-title {
    font-size: 1.5rem;
}

/* Card Image */
.blog-card-image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-card-modern:hover .blog-card-overlay {
    opacity: 1;
}

/* Card Content */
.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-cat {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-card-cat:hover {
    background: var(--primary);
    color: #fff;
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 13px;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-card-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.blog-card-author span {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.blog-card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-card-link:hover {
    gap: 10px;
}

/* Pagination */
.blog-pagination {
    margin-top: 50px;
}

.blog-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination li a,
.blog-pagination li span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.blog-pagination li a:hover {
    background: var(--primary);
    color: #fff;
}

.blog-pagination li span.current {
    background: var(--primary);
    color: #fff;
}

/* Empty State */
.blog-empty {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border-radius: 16px;
}

.blog-empty svg {
    color: var(--gray);
    margin-bottom: 20px;
}

.blog-empty h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.blog-empty p {
    color: var(--gray);
    margin-bottom: 20px;
}

/* =============================================
   SIDEBAR STYLES
   ============================================= */
.blog-sidebar,
.single-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Widget Title */
.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.widget-title svg {
    color: var(--primary);
}

/* Search Widget */
.sidebar-search {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #4f46e5));
    padding: 30px 24px;
}

.sidebar-search-form {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-search-form input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
}

.sidebar-search-form button {
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-search-form button:hover {
    background: #000;
}

/* CTA Widget */
.sidebar-cta {
    background: linear-gradient(135deg, var(--dark), #0f172a);
    text-align: center;
    color: #fff;
}

.sidebar-cta .cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary);
}

.sidebar-cta h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.sidebar-cta .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.sidebar-cta .cta-phone {
    background: var(--primary);
    color: #fff;
}

.sidebar-cta .cta-phone:hover {
    background: #fff;
    color: var(--primary);
}

.sidebar-cta .cta-whatsapp {
    background: #25d366;
    color: #fff;
}

.sidebar-cta .cta-whatsapp:hover {
    background: #fff;
    color: #25d366;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    transition: background 0.3s;
}

.popular-post-item:hover {
    background: #f8fafc;
}

.popular-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #4f46e5));
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-date {
    font-size: 12px;
    color: var(--gray);
}

/* Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    border-bottom: 1px solid #f1f5f9;
}

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

.sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-categories a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.sidebar-categories .cat-count {
    background: #f1f5f9;
    color: var(--gray);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
}

.recent-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.recent-post-item:hover .recent-content h4 {
    color: var(--primary);
}

.recent-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--gray);
}

/* Tags */
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 20px;
    color: var(--dark);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* Services Quick Links */
.services-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-quick-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.services-quick-links li:last-child a {
    border-bottom: none;
}

.services-quick-links li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.services-quick-links li a svg {
    color: var(--primary);
}

/* Newsletter Widget */
.sidebar-newsletter {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    text-align: center;
}

.sidebar-newsletter .newsletter-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
}

.sidebar-newsletter h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.sidebar-newsletter p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-dark, #4f46e5);
}

/* =============================================
   SINGLE POST STYLES
   ============================================= */

/* Single Hero */
.single-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    padding: 60px 0 80px;
}

.single-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.single-hero .breadcrumb {
    margin-bottom: 20px;
}

.single-hero .breadcrumb a,
.single-hero .breadcrumb span {
    color: rgba(255,255,255,0.6);
}

.single-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.single-cat {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.single-cat:hover {
    background: var(--primary);
    color: #fff;
}

.single-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.single-excerpt {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.single-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.single-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.single-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    color: #fff;
    font-weight: 600;
}

.post-date {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.single-share-mini {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-share-mini span {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.single-share-mini a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

.single-share-mini a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Single Hero Image */
.single-hero-image {
    position: relative;
}

.single-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Single Content Area */
.single-content-area {
    padding: 60px 0;
    background: #f8fafc;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

.single-main {
    min-width: 0;
}

/* TOC Box */
.toc-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-left: 4px solid var(--primary);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.toc-header svg {
    color: var(--primary);
}

.toc-toggle {
    margin-left: auto;
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.toc-toggle:hover {
    background: var(--primary);
    color: #fff;
}

.toc-toggle[aria-expanded="false"] svg {
    transform: rotate(-90deg);
}

.toc-list {
    margin: 0;
    padding-left: 20px;
    counter-reset: toc-counter;
}

.toc-list li {
    margin-bottom: 10px;
    counter-increment: toc-counter;
}

.toc-list li::marker {
    color: var(--primary);
    font-weight: 600;
}

.toc-list a {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
}

.toc-list a:hover {
    color: var(--primary);
}

.toc-sublist {
    margin-top: 8px;
    padding-left: 20px;
}

/* Entry Content */
.single-main .entry-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.single-main .entry-content h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.single-main .entry-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.single-main .entry-content h3 {
    font-size: 1.375rem;
    color: var(--dark);
    margin: 30px 0 15px;
}

.single-main .entry-content p {
    margin-bottom: 20px;
}

.single-main .entry-content ul,
.single-main .entry-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.single-main .entry-content li {
    margin-bottom: 8px;
}

.single-main .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.single-main .entry-content blockquote {
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

/* Tags */
.single-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #f1f5f9;
}

.single-tags .tags-icon {
    color: var(--gray);
}

.single-tags a {
    display: inline-block;
    padding: 6px 16px;
    background: #f1f5f9;
    color: var(--dark);
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.single-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* Share Box */
.single-share-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    text-align: center;
}

.share-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0077b5; }
.share-whatsapp { background: #25d366; }

/* Author Box */
.single-author-box {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.author-label {
    display: block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.single-author-box .author-name {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.author-bio {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.author-link:hover {
    gap: 10px;
}

/* Post Navigation */
.single-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.post-nav-item {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.post-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 8px;
}

.post-nav-next .nav-label {
    justify-content: flex-end;
}

.nav-title {
    display: block;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

.post-nav-next {
    text-align: right;
}

/* Related Posts */
.related-posts-section {
    margin-top: 40px;
}

.related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 24px;
}

.related-title svg {
    color: var(--primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-thumb {
    height: 140px;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-post-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-content {
    padding: 16px;
}

.related-cat {
    display: inline-block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
}

.related-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-date {
    font-size: 12px;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 1100px) {
    .blog-layout,
    .single-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar,
    .single-sidebar {
        position: static;
    }
    
    .single-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .single-hero-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .single-meta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .blog-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .blog-card-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    
    .blog-card-featured .blog-card-image {
        min-height: 200px;
    }
    
    .blog-card-featured .blog-card-content {
        padding: 24px;
    }
    
    .single-title {
        font-size: 1.75rem;
    }
    
    .single-main .entry-content {
        padding: 24px;
        font-size: 16px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-nav {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .single-author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   SERVICE PAGE STYLES
   ============================================= */

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    padding: 60px 0 80px;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-hero .breadcrumb {
    margin-bottom: 20px;
}

.service-hero .breadcrumb a,
.service-hero .breadcrumb span {
    color: rgba(255,255,255,0.6);
}

.service-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.service-excerpt {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.feature-item svg {
    color: #10b981;
}

.service-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Service Content Area */
.service-content-area {
    padding: 60px 0;
    background: #f8fafc;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    align-items: start;
}

.service-main {
    min-width: 0;
}

.service-main .entry-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    font-size: 17px;
    line-height: 1.8;
}

/* Service CTA Box */
.service-cta-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark, #4f46e5));
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    color: #fff;
}

.service-cta-box .cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-cta-box .cta-content {
    flex: 1;
}

.service-cta-box h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.service-cta-box p {
    opacity: 0.9;
    font-size: 14px;
    margin: 0;
}

.service-cta-box .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-cta-box .btn {
    white-space: nowrap;
}

/* Related Services */
.related-services {
    margin-top: 40px;
}

.related-services .related-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 24px;
}

.related-services .related-title svg {
    color: var(--primary);
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.related-service-card .related-thumb {
    height: 140px;
    overflow: hidden;
}

.related-service-card .related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-service-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-service-card .related-content {
    padding: 16px;
}

.related-service-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.related-service-card .related-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

/* =============================================
   SERVICE SIDEBAR STYLES
   ============================================= */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.service-widget {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.service-widget .widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.service-widget .widget-title svg {
    color: var(--primary);
}

/* Service CTA Widget */
.service-cta-widget {
    background: linear-gradient(135deg, var(--dark), #0f172a);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-cta-widget .cta-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ef4444;
    color: #fff;
    padding: 4px 40px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
}

.service-cta-widget h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    margin-top: 10px;
}

.service-cta-widget > p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.service-cta-btn:last-child {
    margin-bottom: 0;
}

.service-cta-btn.cta-phone {
    background: var(--primary);
    color: #fff;
}

.service-cta-btn.cta-phone span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-cta-btn.cta-phone small {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.service-cta-btn.cta-phone strong {
    font-size: 16px;
}

.service-cta-btn.cta-phone:hover {
    background: #fff;
    color: var(--primary);
}

.service-cta-btn.cta-whatsapp {
    background: #25d366;
    color: #fff;
}

.service-cta-btn.cta-whatsapp:hover {
    background: #fff;
    color: #25d366;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.service-list li {
    border-bottom: 1px solid #f1f5f9;
}

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

.service-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.service-list li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.service-list li a svg {
    color: var(--gray);
    transition: color 0.3s;
}

.service-list li a:hover svg {
    color: var(--primary);
}

.service-list li.current a {
    color: var(--primary);
    font-weight: 600;
}

.service-list li.current a svg {
    color: var(--primary);
}

.current-badge {
    margin-left: auto;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Why List */
.service-why-widget {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.why-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-list .why-icon {
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.why-list .why-text strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 2px;
}

.why-list .why-text span {
    font-size: 12px;
    color: var(--gray);
}

/* Hours Widget */
.service-hours-widget {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.hours-list .day {
    color: var(--dark);
    font-weight: 500;
}

.hours-list .time {
    color: var(--gray);
    font-weight: 600;
}

.hours-list li.highlight {
    background: #f59e0b;
    margin: 10px -24px -24px;
    padding: 12px 24px;
    border-radius: 0 0 16px 16px;
}

.hours-list li.highlight .day,
.hours-list li.highlight .time {
    color: #fff;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s;
}

.brand-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.brand-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

.brand-item span {
    font-size: 10px;
    color: var(--dark);
    text-align: center;
}

.view-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.view-all-link:hover {
    gap: 10px;
}

/* Contact Widget */
.service-contact-widget .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-contact-widget .contact-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-contact-widget .contact-list li:last-child {
    border-bottom: none;
}

.service-contact-widget .contact-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-contact-widget .contact-list li div {
    display: flex;
    flex-direction: column;
}

.service-contact-widget .contact-list li small {
    font-size: 11px;
    color: var(--gray);
    margin-bottom: 2px;
}

.service-contact-widget .contact-list li a,
.service-contact-widget .contact-list li span {
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
}

.service-contact-widget .contact-list li a:hover {
    color: var(--primary);
}

/* Service Responsive */
@media (max-width: 1100px) {
    .service-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-cta-widget {
        grid-column: span 2;
    }
    
    .service-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto 30px;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .service-hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .service-sidebar {
        grid-template-columns: 1fr;
    }
    
    .service-cta-widget {
        grid-column: span 1;
    }
    
    .service-title {
        font-size: 1.75rem;
    }
    
    .service-cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .service-cta-box .cta-buttons {
        width: 100%;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
