/*
Theme Name: Twenty Twenty-Four Child
Theme URI:
Description: Custom child theme for Twenty Twenty-Four
Author: Wartinlabs
Template: twentytwentyfour
Version: 1.0
*/

  /* ==================== */
        /* Base / Reset          */
        /* ==================== */
        * {
            font-family: 'Inter', sans-serif !important;
        }

        body {
            background: #fff;
            color: #1a1a1a;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .ctm-line{
            color: #E5E7EB;
            height: 2px;
            background: linear-gradient(
            to right,
            rgba(229, 231, 235, 0.5) 0%,
            rgba(207, 207, 207, 1) 50%,
            rgba(229, 231, 235, 0.5) 100%
  );
        }

        /* ==================== */
        /* Navbar               */
        /* ==================== */
        .navbar-main {        
            padding: 16px 0;
        }

        .navbar-main .navbar-brand {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
        }

        .navbar-main .navbar-brand svg {
            width: 32px;
            height: 32px;
        }

        .navbar-main .nav-link {
            color: #6B7280;
            font-size: 16px;
            font-weight: 600;
            padding: 6px 16px !important;
            transition: color 0.2s;
        }

        .navbar-main .nav-link:hover {
            color: #1F2937
        }

        .navbar-right {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .lang-switch {
            color: #cbd5e1;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            background: none;
            border: none;
        }

        .lang-switch:hover {
            color: #fff;
        }

        .btn-visit {
            background: transparent;
            border: 1px solid #E5E7EB;
            color: #6B7280;
            font-size: 16px;
            font-weight: 500;
            padding: 8px 20px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }

        .btn-visit:hover {
            border-color: #94a3b8;
            color: #fff;
            background: rgba(255, 255, 255, 0.05);
        }

        .btn-visit svg {
            width: 16px;
            height: 16px;
        }

        /* ==================== */
        /* Hero Section          */
        /* ==================== */
        .hero-section {
            padding: 64px 0 48px;
            text-align: center;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #F3F4F6;
            border-radius: 20px;
            padding: 8px 20px;
            font-size: 14px;
            font-weight: 500;
            color: #111827;
            margin-bottom: 24px;
            line-height: 130%;
        }
        .dot-cont{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 25px;
            height: 25px;
            border-radius: 73px;
            background-color: #B5D1FF66;
        }
        .hero-badge .dot {
            width: 8px;
            height: 8px;
            background: #3b82f6;
            border-radius: 50%;
        }

        .hero-title {
            font-size: 48px;
            font-weight: 600;
            line-height: 1.40;
            color: #111827;
            margin-bottom: 20px;
            letter-spacing: -0.5px;
        }

        .hero-subtitle {
            font-size: 20px;
            font-weight: 400;
            line-height: 1.5;
            color: #4B5563;
            max-width: 710px;
            margin: 0 auto;
        }

        /* ==================== */
        /* Search & Filters      */
        /* ==================== */
        .search-filters {
            padding: 0 0 8px;
        }

        .search-box {
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 12px 16px 12px 44px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 14px;
            color: #334155;
            background: #fff;
            outline: none;
            transition: border-color 0.2s;
        }

        .search-box input::placeholder {
            color: #94a3b8;
        }

        .search-box input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .search-box .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
        }

        .filter-select {
            padding: 10px 36px 10px 16px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            color: #1F2937;
            background: #fff;
            outline: none;
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            transition: border-color 0.2s;
        }

        .filter-select:focus {
            border-color: #3b82f6;
        }
        .search-width{
            max-width: 57.5%;
        }
        
        @media (max-width: 768px) {
  .search-width {
    width: 100% !important;
    max-width: 100% !important;
  }
}
        /* ==================== */
        /* Category Tabs         */
        /* ==================== */
        .category-tabs {
            display: flex;
            gap: 24px;
            padding: 16px 0 24px;
            border-bottom: none;
        }

        .category-tab {
            font-size: 16px;
            font-weight: 500;
            color: #6B7280;
            padding: 8px 0;
            border: none;
            background: none;
            cursor: pointer;
            position: relative;
            transition: color 0.2s;
        }

        .category-tab:hover {
            color: #1e293b;
        }

        .category-tab.active {
            color: #2158FC;
            font-weight: 600;
        }

        .category-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: #2158FC;
            border-radius: 2px;
        }

        /* ==================== */
        /* Blog Cards            */
        /* ==================== */
        .blog-card {
            border: 1px solid #E5E7EB;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 16px;
            transition: box-shadow 0.2s, border-color 0.2s;
            background: #fff;
        }

        .blog-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            border-color: #cbd5e1;
        }

        .blog-card__tags {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }

        .blog-tag {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 500;
            border: 1px solid #e2e8f0;
            color: #1D4ED8;
            background: #DBEAFE;
        }

        .blog-tag--blue {
            color: #2563eb;
            background: #DBEAFE;
            border-color: #bfdbfe;
        }

        .blog-card__title {
            font-size: 16px;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .blog-card__title a {
            color: #0f172a;
            text-decoration: none;
        }

        .blog-card__title a:hover {
            color: #2563eb;
        }

        .blog-card__excerpt {
            font-size: 14px;
            color: #6B7280;
            line-height: 1.6;
            margin-bottom: 14px;
            font-weight: 400;
        }

        .blog-card__meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #6B7280;
            font-weight: 400;
        }

        .blog-card__meta svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .blog-card__meta .meta-separator {
            margin: 0 4px;
        }

        .blog-card__meta .author-name {
            color: #6B7280;
            font-weight: 400;
        }

        /* ==================== */
        /* Sidebar               */
        /* ==================== */
        .sidebar-card {
            border: 1px solid #E5E7EB;
            border-radius: 12px;
            padding: 28px;
            margin-bottom: 24px;
            background: #fff;
        }

        .sidebar-card__title {
            font-size: 20px;
            font-weight: 600;
            color: #0f172a;
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .sidebar-card__desc {
            font-size: 14px;
            color: #6B7280;
            line-height: 1.3;
            font-weight: 400;
            
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0 0 24px;
        }

        .feature-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-weight: 400;
            margin-bottom: 14px;
            font-size: 14px;
            color: #1F2937;
            line-height: 1.3;
        }

        .feature-list li svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .btn-cta {
            display: block;
            width: 100%;
            padding: 14px 24px;
            background: #2563eb;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            transition: background 0.2s;
        }

        .btn-cta:hover {
            background: #1d4ed8;
            color: #fff;
        }

        .link-arrow {
            display: block;
            text-align: center;
            margin-top: 16px;
            font-size: 16px;
            font-weight: 500;
            color: #2563eb;
        }

        .link-arrow:hover {
            color: #1d4ed8;
        }

        /* Trust section */
        .trust-card__subtitle {
            font-size: 14px;
            color: #64748b;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .trust-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .trust-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 16px;
        }

        .trust-list li svg {
            width: 32px;
            height: 32px;
            padding: 5px;
            background: #EFF6FF;
            border-radius: 10px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .trust-list li strong {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #0f172a;
        }

        .trust-list li span {
            display: block;
            font-size: 13px;
            color: #64748b;
        }

        /* Recent Articles */
        .recent-articles-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .recent-articles-list li {
            margin-bottom: 12px;
        }

        .recent-articles-list li a {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
            font-weight: 500;
            color: #2563eb;
            line-height: 1.5;
            transition: color 0.2s;
        }

        .recent-articles-list li a:hover {
            color: #1d4ed8;
        }

        .recent-articles-list li a svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .sidebar-section-title {
            font-size: 16px;
            font-weight: 600;
            color: #1F2937;
            margin-bottom: 16px;
        }

        /* Popular Topics */
        .popular-topics-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .popular-topics-list li {
            margin-bottom: 10px;
        }

        .popular-topics-list li a {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 500;
            color: #2563eb;
            transition: color 0.2s;
        }

        .popular-topics-list li a:hover {
            color: #1d4ed8;
        }

        .popular-topics-list li a svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        /* ==================== */
        /* Footer                */
        /* ==================== */
        .footer-main {
            background: #0D0D0D;
            padding: 56px 0 0;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .footer-brand svg {
            width: 32px;
            height: 32px;
        }

        .footer-desc {
            font-size: 14px;
            color: #FFFFFFCC;
            line-height: 1.3;
            font-weight: 400;
            margin-bottom: 14px;
        }

        .footer-visit-link {
            font-size: 16px;
            font-weight: 500;
            color: #3b82f6;
            line-height: 1.5;
        }

        .footer-visit-link:hover {
            color: #60a5fa;
        }

        .footer-heading {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 16px;
            line-height: 1.5;
            text-transform: capitalize;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links li a {
            font-size: 14px;
            color: #FFFFFFCC;
            transition: color 0.2s;
            font-weight: 500;
        }

        .footer-links li a:hover {
            color: #fff;
        }

        .footer-bottom {
            border-top: 1px solid #1e293b;
            padding: 20px 0;
            margin-top: 48px;
        }

        .footer-bottom__text {
            font-size: 13px;
            color: #64748b;
        }

        .footer-bottom__right {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
        }

        .footer-bottom__right a {
            color: #64748b;
            transition: color 0.2s;
        }
  .footer-bottom__right p {
            color: #64748b;
            transition: color 0.2s;
            margin-top: 0px !important;
            margin-bottom: 0px !important;
        }
        .footer-bottom__right a:hover {
            color: #fff;
            
        }
 .footer-bottom__right p:hover {
            color: #fff;
        }
        .footer-bottom__right .lang-separator {
            color: #475569;
        }

        /* ==================== */
        /* Responsive            */
        /* ==================== */
        @media (max-width: 991px) {
            .hero-title {
                font-size: 34px;
            }

            .sidebar-wrapper {
                margin-top: 32px;
            }
        }

        @media (max-width: 767px) {
            .hero-title {
                font-size: 28px;
            }

            .hero-subtitle {
                font-size: 14px;
            }

            .filter-row {
                flex-direction: column;
            }

            .filter-selects {
                flex-direction: row;
                width: 100%;
            }

            .filter-select {
                width: 100%;
            }
        }

        /* ==================== */
        /* Breadcrumb            */
        /* ==================== */
        .breadcrumb-section {
            padding: 24px 0 16px;
        }

        .breadcrumb-nav {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            color: #6B7280;
        }

        .breadcrumb-nav a {
            color: #6B7280;
            transition: color 0.2s;
        }

        .breadcrumb-nav a:hover {
            color: #1F2937;
        }

        .breadcrumb-nav .breadcrumb-separator {
            color: #9CA3AF;
            font-size: 12px;
        }

        .breadcrumb-nav .breadcrumb-current {
            color: #1F2937;
        }

        /* ==================== */
        /* Single Post Card      */
        /* ==================== */
        .single-post-card {
            border: 1px solid #E5E7EB;
            border-radius: 16px;
            padding: 32px;
            background: #fff;
        }

        .single-post__tags {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
        }

        .single-post__title {
            font-size: 28px;
            font-weight: 600;
            color: #111827;
            line-height: 1.35;
            margin-bottom: 16px;
        }

        .single-post__meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #6B7280;
            font-weight: 400;
            margin-bottom: 24px;
        }

        .single-post__meta svg {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
        }

        .single-post__meta .meta-separator {
            margin: 0 4px;
        }

        /* Featured Image */
        .single-post__featured-image {
            margin-bottom: 28px;
            border-radius: 12px;
            overflow: hidden;
        }

        .single-post__featured-image img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        /* ==================== */
        /* Post Content          */
        /* ==================== */
        .single-post__content {
            font-size: 16px;
            font-weight: 400;
            color: #4B5563;
            line-height: 1.5;
        }

        .single-post__content p {
            margin-bottom: 20px;
        }

        .single-post__content h2 {
            font-size: 18px;
            font-weight: 700;
            /* color: #111827; */
            margin-top: 32px;
            margin-bottom: 14px;
            line-height: 1.4;
        }

        .single-post__content ul {
            margin-bottom: 20px;
            padding-left: 20px;
        }

        .single-post__content ul li {
            margin-bottom: 8px;
            font-size: 15px;
            color: #4B5563;
            line-height: 1.6;
        }

        .single-post__content ul li::marker {
            color: #4B5563;
        }

        /* ==================== */
        /* Bottom CTA Link       */
        /* ==================== */
        .single-post__bottom-cta {
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid #E5E7EB;
            font-size: 16px;
            color: #4B5563;
        }

        .single-post__bottom-cta a {
            color: #2563EB;
            font-weight: 600;
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .single-post__bottom-cta a:hover {
            color: #1D4ED8;
        }

        /* ==================== */
        /* View All Articles Btn */
        /* ==================== */
        .btn-view-all {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 12px 20px;
            border: 1px solid #E5E7EB;
            border-radius: 8px;
            background: #fff;
            color: #1F2937;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 16px;
            text-decoration: none;
        }

        .btn-view-all:hover {
            background: #F9FAFB;
            border-color: #D1D5DB;
            color: #1F2937;
        }

        .btn-view-all svg {
            width: 16px;
            height: 16px;
        }

        /* ==================== */
        /* Responsive            */
        /* ==================== */
        @media (max-width: 991px) {
            .single-post__title {
                font-size: 24px;
            }

            .single-post-card {
                padding: 24px;
            }
        }

        @media (max-width: 767px) {
            .single-post__title {
                font-size: 22px;
            }

            .single-post-card {
                padding: 20px;
            }
        }

        /* ==================== */
/* Pagination            */
/* ==================== */
.blog-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 4px 10px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-pagination .page-numbers:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.blog-pagination .page-numbers.current {
    background: #2563EB;
    color: #fff;
    border-color: #2563EB;
}

.blog-pagination .prev,
.blog-pagination .next {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    border: none;
    background: none;
    padding: 4px 8px;
}

.blog-pagination .prev:hover,
.blog-pagination .next:hover {
    color: #1F2937;
    background: none;
}

.blog-pagination .dots {
    border: none;
    background: none;
    color: #6B7280;
}
/* ==================== */
/* Mobile Menu           */
/* ==================== */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 0;
    border-top: 1px solid #E5E7EB;
    margin-top: 16px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu__link {
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: #6B7280;
    border-bottom: 1px solid #F3F4F6;
    transition: color 0.2s;
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
    color: #1F2937;
}

.mobile-menu__visit {
    margin-top: 16px;
    justify-content: center;
    width: 100%;
}
.legal-notice-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1a2332;
    padding: 64px 0;
    text-align: center;
    overflow: hidden;
}

.legal-notice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

}

.legal-notice-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-notice-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.legal-notice-heading h2 {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.legal-notice-icon {
    font-size: 36px;
}

.legal-notice-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.legal-notice-text p {
    font-size: 16px;
    font-weight:400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.legal-notice-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 48px;
    background: #fff;
    color: #1a2332;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.legal-notice-btn:hover {
    background: #f1f1f1;
    color: #1a2332;
}

@media (max-width: 767px) {
    .legal-notice-section {
        padding: 40px 0;
    }

    .legal-notice-heading h2 {
        font-size: 20px;
    }

    .legal-notice-text p {
        font-size: 16px;
    }

    .legal-notice-btn {
        padding: 12px 32px;
        font-size: 16px;
        min-width: 100%;
    }
}
@media (min-width: 1024px) {
  .legal-notice-btn {
    min-width: 540px;
  }
}
/* Search form layout */
.search-form-inline {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.search-form-inline input[type="text"] {
    flex: 1;
}

/* Search button */
.search-submit-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background-color: #2158FC;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.search-submit-btn:hover:not(:disabled) {
    background-color: #1a46d0;
}

.search-submit-btn:disabled {
    background-color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.5;
}