/* table thead tr,
table tr:first-child,
.table thead tr,
.table tr:first-child,
.table-bordered thead tr,
.table-bordered tr:first-child,
.table-striped thead tr,
.table-striped tr:first-child,
.table-hover thead tr,
.table-hover tr:first-child {
    background-color: #334988 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
} */

table thead tr td span,
table tr:first-child td span,
.table thead tr td span,
.table tr:first-child td span,
.table-bordered thead tr td span,
.table-bordered tr:first-child td span,
.table-striped thead tr td span,
.table-striped tr:first-child td span,
.table-hover thead tr td span,
.table-hover tr:first-child td span {
    color: #ffffff;
}

.editor-content h2,
.editor-content h3,
.editor-content h4 {
    color: #025fa1 !important;
    /* blue */
    font-size: 2rem;
    font-weight: 600;
}

.editor-content p {
    color: #000000;
    /* dark grey */

    margin-bottom: 1rem;
    font-family: "Manrope", sans-serif;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.7;
    margin-right: 0px !important;
    margin-left: 0px !important;

}

.editor-content table {
    border: 1px solid #000 !important;
    box-shadow: none !important;
    border-collapse: collapse !important;
}

.editor-content table th,
.editor-content table td {
    border: 1px solid #000 !important;
    box-shadow: none !important;
    color: #000 !important;
}

.editor-content table th span {
    color: #ffffff;
    /* white */
    background-color: #334988;
    /* dark blue */
    font-weight: bold;
}

.editor-content h1 span,
.editor-content h2 span,
.editor-content h3 span,
.editor-content h4 span,
.editor-content h5 span,
.editor-content h6 span {
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    color: #0164ac !important;
    /* font-family: var(--font-poppins), sans-serif; */
    line-height: 1.4;
}

.editor-content li,
.editor-content ul,
.editor-content ol {

    margin-left: 25px !important;
}

.e table {
    display: table !important;
    width: 100% !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    color: #fff !important;
    font-weight: bold !important;
}

table th,
table td {
    /* padding: 12px 5px !important; */
    text-align: left !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    word-wrap: break-word !important;
}

table th:last-child,
table td:last-child {
    border-right: none !important;
}

table thead tr,
table tr:first-child {
    background-color: #334988 !important;
    color: #fff !important;

    font-weight: bold !important;
    text-transform: uppercase !important;
}

table tr:nth-child(n + 2):nth-child(odd) {
    background-color: #eeeeee !important;
}

table tr:nth-child(n + 2):nth-child(even) {
    background-color: #ffffff !important;
}

@media (max-width: 1024px) {
    .editor-content {
        overflow-x: unset !important;
        padding: 0px !important;
    }

    table {
        /* width: 100% !important; */
        min-width: unset !important;
    }

    table td,
    table th {
        /* white-space: normal !important; */
        min-width: unset !important;
        padding: 8px !important;
        font-size: 13px !important;
        word-break: break-word !important;
    }
}

/* FAQ styles from reference */
section.wehelp {
    background-color: #00254d;
    padding: 20px 0;
}

.faq-title {
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.faq-title sup {
    font-size: 18px;
}

.faq-accordion .accordion-item {
    background-color: #3498db;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.faq-accordion .accordion-header {
    background-color: #3498db;
}

.faq-accordion .accordion-button {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
    border: none;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question .icon {
        margin-top: 5px;
    }
}

/* Typography and section styling */
body,
p {
    font-size: 18px !important;
    font-weight: 400;
    line-height: 25px;
    margin-left: 0px !important;
    margin-right: 0px !important;

}

.single-content {
    /* background: #fafafa; */
    border-radius: 8px;
    /* padding: 30px;
    margin-bottom: 30px; */
}

.single-img img {
    max-width: 100%;
    border-radius: 8px;
}

/* Scrollable Tab Bar Fixes */
.tab-bar-container {
    display: flex;
    align-items: center;
    background-color: #0164ac;
    padding: 0;

    position: sticky;
    top: 80px;
    /* Desktop navbar height */
    width: 100%;
    height: 55px;
    /* Height of the tab bar */
    /* min-height: 40px; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    z-index: 900;
}

.scrollable-tabs-wrapper {
    position: relative;
    flex: 1;
    max-width: 40%;
    margin: 0 auto;
    overflow: hidden;
}

.scrollable-tabs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    white-space: nowrap;
    height: 60px;
    align-items: center;
}

.scrollable-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.scrollable-tabs li {
    flex-shrink: 0;
    /* margin: 0 5px; */
    height: 100%;
    display: flex;
    align-items: center;
}

.scrollable-tabs li a {
    display: block;
    /* padding: 10px 20px; */
    color: white;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    border-radius: 5px;
    height: 40px;
    line-height: 20px;

}

.scrollable-tabs li.active a,
.scrollable-tabs li a.active {
    background-color: #334988;
    color: #fff;
}

.scrollable-tabs li a:hover {
    background-color: #334988;
    color: #fff;
}

.scroll-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.2s;
    height: 60px;
    display: flex;
    align-items: center;
}

.scroll-btn:disabled {
    color: #888;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tab-bar-container {
        top: 64px;
        /* Match mobile header height */
        min-height: 48px;
    }

    .scrollable-tabs {
        height: 48px;
    }

    .scrollable-tabs li a {
        padding: 8px 10px;
        font-size: 13px;
        height: 32px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .scroll-btn {
        height: 48px;
    }
}

@media (max-width: 991.98px) {
    .tab-bar-container {
        top: 96px !important;
        /* Increased to clear mobile header */
        margin-top: 0 !important;
    }
}

/* Add margin to content below so it doesn't jump */
.sticky-tabbar-placeholder {
    height: 80px;
}

@media (max-width: 768px) {
    .sticky-tabbar-placeholder {
        height: 48px;
    }
}

.blog-scroll-wrapper {
    overflow: hidden;
    height: 500px;
    position: relative;
}

.blog-scroll-items {
    display: flex;
    flex-direction: column;
    /* animation: scrollBlogs 12s linear infinite; */
}

.blog-scroll-wrapper:hover .blog-scroll-items {
    animation-play-state: paused;
}

@keyframes scrollBlogs {
    0% {
        transform: translateY(0%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 767.98px) {
    .breadcrumb {
        min-height: 200px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}