/* Fix Blog Page Container Width and Layout */
.blog-area .container,
.blog-details-area .container {
    max-width: 1320px !important;
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Ensure proper spacing for the grid */
.blog-area .row,
.blog-details-area .row {
    margin-right: -15px !important;
    margin-left: -15px !important;
}

.blog-area .col-lg-8,
.blog-details-area .col-lg-8,
.blog-area .col-lg-4,
.blog-details-area .col-lg-4 {
    padding-right: 15px !important;
    padding-left: 15px !important;
}

/* Ensure inner wrapper doesn't conflict */
.inner-blog-wrap {
    width: 100% !important;
}

/* Basic sidebar styling to ensure visibility */
.blog-sidebar {
    background-color: #f8faff;
    padding: 20px;
    border-radius: 10px;
}

.blog-sidebar .widget {
    margin-bottom: 30px;
}

.blog-sidebar .widget-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.blog-sidebar .widget-content p {
    color: #666;
}

@media (min-width: 992px) {
    /* Removed col-71 and col-29 in favor of Bootstrap classes */
}

@media (max-width: 991px) {
    /* Removed col-71 and col-29 in favor of Bootstrap classes */
}

/* Ensure images in blog details are responsive */
.blog-details-thumb img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
}

/* Ensure images in blog listing (style-2) are responsive and look good in list view */
.blog-post-thumb-two img {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

/* Ensure images in blog listing (style-5) are responsive and match reference */
.blog-post-thumb img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}

.blog-post-thumb {
    height: 200px !important;
    overflow: hidden !important;
}

.blog-post-content {
    padding: 18px 20px 20px !important;
}

/* Add spacing between grid items if needed */
.blog-post-item {
    margin-bottom: 30px !important;
}

.footer-area-two .footer-info .list-wrap li .icon,
.footer-area-two .footer-info .list-wrap li .icon i,
.footer-area-two .footer-info .list-wrap li .icon i:before {
    color: #ffffff !important;
}

.footer-area-two .footer-info .list-wrap li .icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-inline-end: 12px;
    flex: 0 0 38px;
}

header.header-top-sidebar-style-2,
header.header-top-sidebar-style-2.sticky-menu {
    background: #ffffff !important;
}

header.header-top-sidebar-style-2 .menu-area {
    background: transparent !important;
}

header.header-top-sidebar-style-2 .menu-nav .navigation > li > a {
    color: #00194c !important;
}

header.header-top-sidebar-style-2 .menu-nav .navigation > li.active > a,
header.header-top-sidebar-style-2 .menu-nav .navigation > li > a:hover {
    color: var(--tg-primary-color, #0055ff) !important;
}

header.header-top-sidebar-style-2 .header-search,
header.header-top-sidebar-style-2 .header-contact-two {
    display: none !important;
}

header.header-top-sidebar-style-2 .mobile-nav-toggler {
    color: #00194c !important;
}

header.header-top-sidebar-style-2 .menu-nav .header-action .header-btn {
    display: none !important;
}

header.header-top-sidebar-style-2 .menu-nav .header-action .header-btn--style2-consult {
    display: list-item !important;
}

.slider-area.has-video-bg {
    position: relative;
    min-height: 872px;
}

.slider-area.has-video-bg .slider-video-bg,
.slider-area.has-video-bg .slider-video-overlay {
    bottom: 0;
    inset-inline-start: 0;
    inset-inline-end: 0;
    position: absolute;
    top: 0;
}

.slider-area.has-video-bg .slider-video-bg {
    pointer-events: none;
    z-index: 0;
}

.slider-area.has-video-bg .slider-video {
    height: 100%;
    inset: 0;
    position: absolute;
    object-fit: cover;
    width: 100%;
}

.slider-area.has-video-bg .slider-video-overlay {
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
    z-index: 1;
}

.slider-area.has-video-bg .slider-active {
    position: relative;
    z-index: 2;
}

.slider-area.has-video-bg .slider-content .sub-title,
.slider-area.has-video-bg .slider-content .title,
.slider-area.has-video-bg .slider-content p {
    color: #fff;
}

.slider-area.has-video-bg .slider-content .sub-title:before {
    background: #fff;
}

.company-leaders-area .company-leaders-intro {
    margin-bottom: 24px;
}

.company-leaders-area .company-leader-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
}

.company-leaders-area .company-leader-header {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.company-leaders-area .leader-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 0, 0, 0.08);
    flex: 0 0 96px;
}

.company-leaders-area .leader-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-leaders-area .leader-label {
    display: inline-block;
    font-weight: 600;
    color: var(--tg-primary-color, #0055ff);
    margin-bottom: 6px;
}

.company-leaders-area .leader-name {
    font-size: 22px;
    margin: 0 0 6px;
}

.company-leaders-area .leader-title {
    color: #6c757d;
    font-weight: 500;
}

.company-leaders-area .leader-quote {
    color: #0A162E;
    font-size: 16px;
    line-height: 1.9;
}

@media (max-width: 575px) {
    .company-leaders-area .company-leader-card {
        padding: 20px;
    }

    .company-leaders-area .company-leader-header {
        gap: 14px;
    }

    .company-leaders-area .leader-avatar {
        width: 76px;
        height: 76px;
        flex: 0 0 76px;
    }

    .company-leaders-area .leader-name {
        font-size: 20px;
    }
}

@media (min-width: 992px) {
    html[dir="rtl"] .company-leaders-area .leaders-row {
        flex-direction: row-reverse;
    }
}
