/* ============================================
   BREADCRUMBS & CONTAINER
   ============================================ */

/* Breadcrumbs */
.breadcrumbs {
    background: transparent;
    padding: 10px 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.breadcrumbs span {
    display: inline-flex;
    align-items: center;
    color: #666;
    font-size: 14px;
    padding: 0 8px;
}

.breadcrumbs span:first-child {
    padding-left: 0;
}

.breadcrumbs a {
    color: #5B7FD5;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: #4A6BB8;
    text-decoration: none;
}

.breadcrumbs strong {
    color: #333;
    font-weight: 600;
}

/* Breadcrumb separator › */
.breadcrumbs>.container>span:not([itemprop]) {
    color: #999;
    margin: 0 5px;
    font-weight: 300;
    padding: 0;
}

/* Container - Site Standard Width */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   MOBILE BACK BUTTON - Mobile Only
   ============================================ */

/* Mobile back button - Hidden on desktop by default */
.mobile-back-button {
    display: none;
}

/* ============================================
   END MOBILE BACK BUTTON
   ============================================ */

/* ============================================
   END BREADCRUMBS & CONTAINER
   ============================================ */

/* ============================================
   BLOG LAYOUT - 2 COLUMN GRID
   ============================================ */

/* Blog Layout Grid */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-top: 15px;
    align-items: start;
}

/* Ensure content column doesn't overflow */
.blog-layout>.post-content {
    min-width: 0;
    /* Prevents grid blowout */
}

/* ============================================
   END BLOG LAYOUT
   ============================================ */

/* Single Post Layout */
.blog-post-page {
    padding: 0px 0;
    background: #f8f9fa;
}

.post-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* Featured image at top of blog post
   Fixed height ensures consistency across all blog posts
   Matches the compact style of blog cards in listing page */
.post-featured-image {
    width: 100%;
    /* Full content width */
    max-height: 400px;
    /* Maximum height limit */
    height: 400px;
    /* Fixed consistent height */
    object-fit: cover;
    /* Crop to fit without distortion */
    object-position: center;
    /* Center the focal point */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
    /* Space before content */
    display: block;
    overflow: hidden;
    /* Ensure clean edges */
}

.post-content h1 {
    font-size: 32px;
    margin: 20px 0 30px;
    line-height: 1.3;
    color: #333;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.post-meta-left {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-meta i {
    color: #ff6b35;
    margin-right: 5px;
}

.post-share-facebook {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #1877f2;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.post-share-facebook i {
    color: #ffffff;
    margin-right: 0;
}

.post-share-facebook:hover {
    background: #1459b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Post Body */
.post-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.post-body h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

.post-body h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: #333;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-body iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 0;
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.post-body a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags strong {
    font-size: 14px;
    color: #333;
    margin-right: 10px;
}

.post-tags .tag {
    display: inline-block;
    padding: 5px 15px;
    background: #f1f3f5;
    color: #495057;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #dee2e6;
}

.post-tags .tag:hover {
    background: #4C5FD5;
    color: white;
    border-color: #4C5FD5;
    transform: translateY(-2px);
}

/* Related Services */
.related-services {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-services h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-service-card__image-wrap {
    position: relative;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 18px;
    margin: 0 0 15px;
}

.service-content h3 a {
    color: #333;
    text-decoration: none;
}

.service-content h3 a:hover {
    color: #007bff;
}

.service-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.service-meta i {
    color: #ff6b35;
    margin-right: 5px;
}

.price-action-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.service-price {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
    font-size: inherit !important;
    font-weight: normal !important;
    color: inherit !important;
}

.service-price .from-text {
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.service-price .amount {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a2b3c !important;
    line-height: 1.2 !important;
}

.book-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    height: 38px;
    background: #1a2b3c;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
    flex-shrink: 0;
    margin-left: auto;
}

.book-now-btn:hover {
    background: #2a3d4e;
}

/* Schema.org markup (hidden) */
.blog-post-schema {
    display: none;
}

/* Sidebar Widgets */
.blog-sidebar {
    width: 100%;
    /* Fill grid column instead of fixed width */
    position: sticky;
    top: 20px;
    align-self: start;
}

/* Search Widget */
.search-widget {
    margin-bottom: 30px;
}

.search-widget form {
    position: relative;
    display: flex;
}

.search-widget input[type="text"] {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
}

.search-widget button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    background: #FF6B35;
    border: none;
    border-radius: 0 5px 5px 0;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.search-widget button:hover {
    background: #e55a2b;
}

/* Widget General Styles */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

/* Category List Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 12px;
}

.categories-list a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.categories-list a:hover {
    background: #f8f9fa;
    color: #4A90E2;
    transform: translateX(5px);
}

.categories-list i {
    margin-right: 10px;
    color: #4A90E2;
    width: 18px;
}

/* Recent Stories Widget */
.recent-stories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-story-item {
    display: block;
}

.story-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.story-link:hover {
    transform: translateX(3px);
}

.story-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.story-date {
    font-size: 12px;
    color: #888;
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag-item {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f0f2f5;
    color: #333 !important;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tag-item:hover {
    background-color: #4C5FD5;
    color: #fff !important;
    border-color: #4C5FD5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 95, 213, 0.2);
}

/* Promo Banner */
.promo-banner {
    padding: 0;
    overflow: hidden;
}

.promo-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s;
}

.promo-banner:hover img {
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .blog-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr 280px;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-sidebar {
        width: 100%;
        margin-top: 40px;
        position: static;
        /* Remove sticky on mobile */
    }

    .sidebar-widget {
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .post-content {
        padding: 25px;
    }

    /* Mobile Back Button - Show on mobile */
    .mobile-back-button {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
        text-decoration: none;
        transition: background 0.3s ease-in-out;
        margin-bottom: 0;
        min-height: 44px;
        width: 100%;
    }

    .mobile-back-button:hover {
        background: #f1f5f9;
    }

    .mobile-back-button:active {
        background: #e2e8f0;
    }

    .mobile-back-button i {
        font-size: 16px;
        color: #2563eb;
    }

    .mobile-back-button span {
        font-size: 14px;
        font-weight: 500;
        color: #2563eb;
    }

    /* Hide full breadcrumbs on mobile */
    .breadcrumbs {
        display: none !important;
    }

    .container {
        padding: 0 15px;
    }

    .price-action-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .service-price {
        display: flex !important;
        flex-direction: column !important;
        line-height: 1.2 !important;
        padding-left: 20px !important;
        font-size: inherit !important;
        font-weight: normal !important;
        color: inherit !important;
    }

    .service-price .from-text {
        font-size: 12px !important;
        color: #888 !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }

    .service-price .amount {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1a2b3c !important;
        line-height: 1.2 !important;
    }

    .book-now-btn {
        height: 36px !important;
        font-size: 13px !important;
        padding: 0 12px !important;
        flex-shrink: 0 !important;
        align-self: center !important;
        white-space: nowrap !important;
        gap: 5px !important;
        display: inline-flex !important;
        align-items: center !important;
        margin-left: auto !important;
    }

    /* Mobile - Featured image within container */
    .post-featured-image {
        max-height: 250px;
        height: 180px;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
    }

    /* Meta row: allow wrapping, reduce gap */
    .post-meta {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .post-meta-left {
        gap: 12px;
        font-size: 13px;
    }

    /* Share button: compact pill, same visual weight as meta text */
    .post-share-facebook {
        padding: 4px 10px;
        font-size: 12px;
        border-radius: 14px;
        gap: 4px;
        margin-left: 0;
    }
}

/* Extra Small Mobile Optimization (≤375px) */
@media (max-width: 375px) {
    .mobile-back-button {
        padding: 10px 14px !important;
    }

    .mobile-back-button span {
        font-size: 13px !important;
    }

    .mobile-back-button i {
        font-size: 14px !important;
    }

    /* Extra small mobile - Even more compact featured image */
    .post-featured-image {
        max-height: 200px;
        height: 180px;
        margin-bottom: 16px;
        border-radius: 6px;
    }
}

/* =====================================================
   VENDOR CTA BLOCK
   ===================================================== */
.vendor-cta-block {
    margin: 40px 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    overflow: hidden;
}

.vendor-cta-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
}

.vendor-cta-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.15);
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    font-size: 24px;
}

.vendor-cta-content {
    flex: 1;
}

.vendor-cta-heading {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0 !important;
    line-height: 1.3;
}

.vendor-cta-body {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 0 0 24px 0 !important;
}

.vendor-cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vendor-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.vendor-cta-btn-email {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.vendor-cta-btn-email:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    text-decoration: none !important;
}

.vendor-cta-btn-register {
    background: #ff6b35;
    color: #ffffff !important;
    border: 1px solid #ff6b35;
}

.vendor-cta-btn-register:hover {
    background: #e55a27;
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .vendor-cta-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .vendor-cta-heading {
        font-size: 17px;
    }

    .vendor-cta-body {
        font-size: 14px;
    }

    .vendor-cta-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .vendor-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }
}

/* ============================================
   BLOG FEATURED IMAGE CAPTION & MAP LOCATION
   ============================================ */

.blog-featured-image-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.blog-image-credit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #777;
    font-style: italic;
}

.blog-image-credit i {
    font-size: 0.75rem;
    color: #999;
}

.blog-image-credit a {
    color: #777;
    text-decoration: none;
    font-style: italic;
}

.blog-image-credit a:hover {
    color: #333;
    text-decoration: none;
}

.blog-image-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.78rem;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.blog-image-map-btn i {
    color: #e74c3c;
    font-size: 0.82rem;
}

.blog-image-map-btn:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
    text-decoration: none;
}

@media (max-width: 600px) {
    .blog-featured-image-caption {
        flex-direction: column;
        align-items: flex-start;
        margin-top: -20px;
    }
}

/* Inline image figure wrapper */
.blog-inline-figure {
    margin: 1.5rem 0;
    display: block;
}

.blog-inline-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
}

/* Caption bar below inline content images */
.blog-inline-image-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 12px;
    background-color: #f4f4f4;
    border: 1px solid #e8e8e8;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    flex-wrap: wrap;
}

.blog-inline-image-caption .blog-image-credit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #777;
    font-style: italic;
}

.blog-inline-image-caption .blog-image-credit i {
    font-size: 0.74rem;
    color: #aaa;
}

.blog-inline-image-caption .blog-image-credit a {
    color: #666;
    text-decoration: none;
    font-style: italic;
}

.blog-inline-image-caption .blog-image-credit a:hover {
    color: #333;
    text-decoration: none;
}

.blog-inline-image-caption .blog-image-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.76rem;
    color: #444;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

.blog-inline-image-caption .blog-image-map-btn i {
    color: #e74c3c;
    font-size: 0.78rem;
}

.blog-inline-image-caption .blog-image-map-btn:hover {
    background-color: #f0f0f0;
    border-color: #bbb;
    text-decoration: none;
}

@media (max-width: 600px) {
    .blog-inline-image-caption {
        flex-direction: column;
        align-items: flex-start;
    }
}