﻿#site-header .title-logo {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

#site-header .title-logo img {
    max-height: 70px;
    width: auto;
    height: auto;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Tighten header vertical spacing */
#site-header .wrap-inner-logo {
    padding-top: 14px;
    padding-bottom: 14px;
}

#site-header .right-bar {
    padding: 16px 0;
}

#site-header .services-dropdown-menu {
    width: 280px;
    max-height: 420px;
    overflow-y: auto;
}

#site-header .services-dropdown-menu li a {
    white-space: normal;
    line-height: 1.4;
}

/* Prevent the About overlay card from overlapping the next section */
.row-aboutus {
    position: relative;
    padding-bottom: 160px;
}

.appointment-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.appointment-field {
    margin-bottom: 22px;
}

.appointment-field .title-small {
    margin-bottom: 6px;
}

.appointment-picker button {
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1;
    background: #ff4e4e;
    color: #ffffff;
    cursor: pointer;
}

.appointment-picker button.selected {
    background: #042c71;
}

.appointment-picker button:disabled {
    background: #d7dbe0;
    color: #5b5b5b;
    cursor: not-allowed;
}

.appointment-thumb {
    width: 90px;
    height: auto;
    margin: 12px 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(4, 44, 113, 0.15);
}

.row-services .themesflat-image-box .thumb {
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}

.row-services .themesflat-image-box .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.row-blog-standard {
    margin-left: 0;
}

.row-blog-details {
    margin-left: 0;
}

.blog-standard-post .entry-img a {
    display: block;
}

.blog-standard-post .entry-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.blog-standard-post .post-title .post {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}

.blog-detail-post .entry-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.blog-detail-post .post-title .post-details {
    font-size: clamp(28px, 3.2vw, 35px);
    line-height: 1.2;
}

.blog-detail-lead {
    font-size: 18px;
    line-height: 1.8;
    color: #565872;
}

.blog-detail-body {
    margin-top: 18px;
}

.blog-detail-body,
.blog-detail-body p,
.blog-detail-body li,
.blog-detail-body blockquote {
    font-size: 17px;
    line-height: 1.9;
    color: #565872;
}

.blog-detail-body h1,
.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4 {
    color: #052336;
    line-height: 1.2;
    margin: 28px 0 14px;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 18px 0;
}

.blog-detail-body ul,
.blog-detail-body ol {
    padding-left: 22px;
    margin: 10px 0 18px;
}

.blog-related-grid {
    padding: 56px 0 36px;
}

.blog-related-card {
    background: #ffffff;
    border: 1px solid rgba(4, 44, 113, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(4, 44, 113, 0.08);
    margin-bottom: 24px;
}

.blog-related-card .thumb {
    display: block;
}

.blog-related-card .thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-related-card .content {
    padding: 18px 18px 20px;
}

.comment-empty {
    border: 2px solid #e2eeff;
    border-radius: 10px;
    padding: 22px 24px;
    margin-top: 24px;
}

.comment-note {
    padding-top: 18px;
    padding-right: 5%;
}

.blog-standard-sidebar .widget-search-box .search-field {
    width: 100%;
}

.row-map .map iframe {
    display: block;
}

.row-owner .our-inner .list-info a {
    word-break: break-word;
}

.row-contact .themesflat-headings.contact .title-small p:last-child {
    margin-bottom: 0;
}

.row-contact .contact-form.style-1 .wpcf7-form-control-wrap.your-address {
    width: 100%;
}

.blog-standard-sidebar .search-submit {
    border: 0;
}

.wrap-category .item-category a.active,
.widget-button .fixmo-button.active {
    font-weight: 600;
    color: #ff4e4e;
}

.widget-button .fixmo-button.active {
    background-color: #ff4e4e;
    color: #ffffff;
}

.widget-page .fixmo-button.page.current,
.widget-page .fixmo-button.page.dots {
    background-color: #042c71;
    color: #ffffff;
}

.widget-page .fixmo-button.page.disabled {
    pointer-events: none;
    opacity: 0.45;
}

/* Keep sticky header visible when fixed */
#site-header.is-fixed {
    top: 0;
    visibility: visible;
    opacity: 1;
}

.service-detail-media {
    border: 6px solid #042c71;
    border-radius: 14px;
    padding: 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    box-shadow: 0 18px 30px rgba(4, 44, 113, 0.12);
}

.service-detail-media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.row-footer .wrap-our-footer.style-1 {
    margin: 0 -23px 0 -6px !important;
}

.home-trust-grid .themesflat-testimonials {
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    #site-header .title-logo img {
        max-height: 55px;
    }

    #site-header .services-dropdown-menu {
        width: 100%;
        max-height: none;
        overflow-y: visible;
    }

    .row-aboutus {
        padding-bottom: 80px;
    }

    .row-services .themesflat-image-box .thumb {
        height: 180px;
    }

    .blog-standard-post .entry-img img {
        height: 260px;
    }

    .row-owner .our-inner {
        min-height: auto;
    }

    .blog-detail-post .entry-img img {
        max-height: 300px;
    }

    .blog-related-grid {
        padding: 40px 0 24px;
    }

    .service-detail-media {
        min-height: 260px;
        padding: 16px;
    }

    .service-detail-media img {
        max-height: 300px;
    }

    .row-footer .wrap-our-footer.style-1 {
        margin: 0 -15px 0 -15px !important;
    }
}
