:root {
    --brand-color: #124b65;
    --link-color: #000000;
    --hover-color: #124b65;
    --title-border: #e6eef2;
    --bg-gray: #eff3f6;

    --divider-border: #d5d4d4;
    --table-border: #000;
    --lead-left-border: #124b65;
    --title: #234e67;
    --title-border: #234e67;
    --title-left-border: #124b65;
    --quote-bg: #eee;
    --quote-footer-bg: #1e293b;
    --footer-bg: #eff5f4;
    --dark-bg: #28292c;
    --dark-divider-border: #ffffff33;
    --divider-border: #38313133;
    --dark-link-intro: #adadad;
    --dark-link-subhead: #00c2fd;
    --dark-lead-left-border: #124b65;
    --dark-title: #ffffff;
    --dark-title-border: #234e67;
    --button-hover: #25566d;
    --dark-title-left-border: #124b65;
    --dark-quote-bg: #475569;
    --dark-quote-footer-bg: #64748b;
    --dark-footer-bg: #131d24;
    --dark-header-bg: #131d24;
    --link-live: #dc2626;
    --dark-link-live: #dc2626;
}
:host,
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

@font-face {
    font-family: "SolaimanLipi";
    src: url("/frontend/css/SolaimanLipi_20-04-07.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html,
body {
    font-family: "SolaimanLipi", "SolaimanLipiNormal", "SolaimanLipi Fallback", sans-serif !important;
    
    background: var(--bg-gray);
    color: #222;
    margin: 0;
    overflow-x: hidden;
}
.title-blue{
    font-size:20px;
    color: #326a8b!important;
    font-weight: 500;
}


.mt-100 {
    margin-bottom: 100px;
}

.mySwiper{
  margin-top: 75px;
}

/* Typography */
.lead-left-border {
    border-left: 4px solid var(--brand-color);
    padding-left: 14px;
}
.bottom-border {
    border-bottom: 1px solid var(--divider-border);
    padding-bottom: 6px;
    /* margin: 12px; */
    margin: 12px 0 !important;
}
.right-border {
    /* border-bottom: 1px solid var(--divider-border);  */
    border-right: 1px solid var(--divider-border);
    padding-right: 6px;
    /* margin-left: 6px; */
}
.border-first {
    border-left: 3px solid #124b65;
    padding-left: 10px;
    margin-left: 5px;
    /* padding-top: 7px;  */
    /* padding-bottom: 15px;  */
}

.bottom-dark-border {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 10px !important;
}

.bottom-border {
    border-bottom: 1px solid var(--divider-border);
    padding-bottom: 6px;
    margin: 12px;
}
 .mt-80{
    margin-top:80px!important;
}
 .bottom-border-content {
  display: inline-block; /*  jtottuk lekha tototuk border */
  border-bottom: 1px solid #c3c0c0; 
  padding-bottom: 2px; 
}



.top-dark-border {
    border-top: 1px solid #000;
    padding-top: 12px;
    margin-top: 12px;
}
.top-border {
    border-top: 1px solid var(--divider-border);
    padding-top: 12px;
    margin-top: 12px;
}

.h1-title {
    color: #000;
    font-weight: 400;
    font-size: 2rem;
    cursor: pointer;
}

.news-row .row {
    display: flex;
}

.news-row .col-8,
.news-row .col-4 {
    display: flex;
    align-items: stretch;
}

.news-row img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.news-title:hover {
    color: var(--hover-color);
    /* text-decoration: underline; */
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    border-bottom: 2px solid var(--title-border);
    padding-bottom: 6px;
    margin-bottom: 12px;
}
.h1-title:hover {
    color: var(--hover-color);
}
.news-normal-title{
    font-size: 18px;
    line-height: 1.8rem;
    color: #1a1818;
    font-weight: 600;
}

/* Images */
.article-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.nav-tabs {
    border-bottom: 2px solid #e4e4e4;
    position: relative;
}

.nav-tabs .nav-item {
    position: relative;
}

.nav-tabs .nav-link {
    color: #1d1b1b !important;
    font-weight: 500;
    padding: 6px 20px;
    border: none !important;
    border-radius: 0;
    background: transparent !important;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #0b64c2 !important;
    background-color: rgba(0, 0, 0, 0.03);
}

/* Active tab underline animation */
.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 60%;
    height: 3px;
    background-color: #1a1d22; /* active border color */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* When active, animate underline */
.nav-tabs .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Active tab color + slight bg */
.nav-tabs .nav-link.active {
    color: #111214 !important;
    background-color: #f0f6ff !important;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}


/* Optional: smooth fade when switching tab content */
.tab-pane {
    transition: opacity 0.4s ease-in-out;
}
.tab-pane.fade {
    opacity: 0;
}
.tab-pane.fade.show {
    opacity: 1;
}
.heading-title {
    font-size: 23px;
    line-height: 2rem;
    font-weight: 600;
    margin-top: 12px;
}
.heading-title2 {
    font-size: 18px;
    line-height: 1.8rem;
    font-weight: 500;
}
.lead-content p {
    margin-top: 0;
    padding-top: 0;
}

.trending {
    margin-top: 80px;
}

/* Sidebar news */
.sidebar-news {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mySwiper {
    width: 100%;
    padding: 10px 0;
}

.swiper-slide {
    width: auto !important;
}

.swiper-slide a {
    display: inline-block;
    padding: 6px 15px;
    background: #f1f1f1;
    border-radius: 20px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    white-space: nowrap;
}

.swiper-slide a:hover {
    background: #007bff;
    color: #fff;
}
.trending-pill {
    background: var(--brand-color);
    color: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .lead-hero {
        flex-direction: column;
    }
    .lead-hero .lead-content {
        padding-left: 0;
        margin-top: 10px;
    }
}

@media (min-width: 768px) {
    .heading-title {
        font-size: 1.119rem;
        line-height: 1.369rem;
        /* font-weight: 500; */
        color: (var(--dark-header-bg));
    }
    .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}
