/* Blog Grid & Single Page Styles extracted from inline styling */

/* Blog Meta List */
.blog-meta-list {
    list-style: none;
    padding: 0;
    display: flex;
    color: #666;
    font-size: 14px;
    gap: 20px;
}

.blog-meta-list li {
    display: flex;
    align-items: center;
}

.blog-meta-list i {
    color: #0779FF;
    margin-right: 5px;
}

/* Single Blog Page Styles */
.blog-details-content {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}

.blog-details-content img.feat-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-details-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #24406D;
    margin-bottom: 20px;
}

.blog-details-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #24406D;
    margin-top: 40px;
    margin-bottom: 15px;
}

.blog-details-content p {
    margin-bottom: 25px;
}

.blog-details-content ul.bullet-list {
    margin-bottom: 30px;
    padding-left: 20px;
}

.blog-details-content ul.bullet-list li {
    margin-bottom: 10px;
}

/* Callout Boxes */
.blog-callout {
    background: #fafafa;
    border-left: 4px solid #0779FF;
    padding: 15px 15px 15px 30px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
}

.blog-callout.red {
    border-left-color: #FF5A5F;
}

/* Ad Banners inside Article */
.blog-ad-banner {
    background-color: #e6f2ff;
    padding: 25px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}

.blog-ad-banner.red-dash {
    background-color: #fff5f5;
    border: 1px dashed #FF5A5F;
}

.blog-ad-banner h4 {
    color: #0779FF;
    margin-bottom: 15px;
}

.blog-ad-banner.red-dash h4 {
    color: #FF5A5F;
}

/* Sidebar Widgets */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.blog-sidebar .widget-form {
    background: #F9F9F9;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.blog-sidebar .widget-title {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #0779FF;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.blog-sidebar .widget-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.blog-sidebar .widget-related {
    background: #FFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    border-radius: 15px;
}

.blog-sidebar .widget-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar .widget-related ul li {
    margin-bottom: 15px;
}

.blog-sidebar .widget-related ul li a {
    color: #24406D;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.blog-sidebar .widget-related ul li a:hover {
    color: #0779FF;
}

/* Pagination Box */
.blog-pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
    justify-content: center;
}

.blog-pagination-list li a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #EDF3F5;
    color: #24406D;
    transition: 0.3s;
}

.blog-pagination-list li a:hover,
.blog-pagination-list li a.current_page {
    background-color: #0779FF;
    color: #fff;
    font-weight: bold;
}

/* Custom Table and Content Styles */
.blog-table {
    border: 1px solid #EDF3F5;
}

.blog-table thead.th-blue {
    background-color: #0779FF;
    color: #FFF;
}

.blog-table thead.th-red {
    background-color: #FF5A5F;
    color: #FFF;
}

.blog-details-content ol.bullet-list {
    line-height: 2;
    padding-left: 20px;
    margin-bottom: 30px;
}

.btn-red {
    background-color: #FF5A5F !important;
}

/* Banner Styling */
.breadcrumb {
    padding: 120px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: left;
}

.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 35, 60, 0.397);
}

.breadcrumb__content {
    position: relative;
    z-index: 2;
    display: inline-block;
}

.breadcrumb__title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.breadcrumb__list {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0px;
}

.breadcrumb-item {
    color: #EDF3F5;
    font-size: 18px;
    font-weight: 500;
    padding: 0 5px;
    cursor: pointer;
}

.breadcrumb-item a {
    color: #00d2ff;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    color: #2f497d;
}

.breadcrumb__list .breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    color: #EDF3F5;
    margin-right: 0px;
}

/* Ensure blog grid images have uniform dimensions */
.xb-blog .xb-item--img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Responsive Styles for Tablet and Mobile */
@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 50px;
    }

    .breadcrumb {
        padding: 80px 0;
    }

    .breadcrumb__title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .blog-details-content h2 {
        font-size: 26px;
    }

    .blog-details-content h3 {
        font-size: 22px;
    }

    .xb-blog .xb-item--img img {
        height: 200px;
    }

    .blog-meta-list {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .breadcrumb {
        padding: 60px 0;
    }

    .breadcrumb__title {
        font-size: 28px;
    }

    .blog-details-content h2 {
        font-size: 22px;
    }

    .blog-pagination-list li a {
        width: 35px;
        height: 35px;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Helper Classes replacing inline CSS */
.blog-details-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 25px;
    line-height: 1.3;
}
@media (max-width: 767px) {
    .blog-details-content h1 {
        font-size: 28px;
    }
}

.lead-text {
    font-size: 17px;
    font-weight: 500;
}

.text-color-primary {
    color: #0056b3;
}

.text-color-dark {
    color: #333;
}

.mt-40 { margin-top: 40px; }
.mt-30 { margin-top: 30px; }
.mb-25 { margin-bottom: 25px; }
.mb-15 { margin-bottom: 15px; }

/* Calculator Component */
.calculator-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-top: 5px solid #00CC99;
    margin: 25px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.calculator-box h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}
.calc-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}
.calc-flex-item {
    flex: 1;
    min-width: 200px;
}
.calc-flex-or {
    flex: 1;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
}
.calc-flex-or span {
    background: #eee;
    padding: 5px 15px;
    border-radius: 20px;
}
.calc-label {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 8px;
}
.calc-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.calc-btn-container {
    text-align: center;
    margin-bottom: 20px;
}
.calc-btn-primary {
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.calc-btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    color: #333;
}
.calc-result-box {
    display: none;
    background: #e8f4fd;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    border: 1px dashed #0056b3;
}
.calc-result-text {
    margin: 0;
    font-size: 18px;
    color: #003d82;
}
.calc-result-value {
    font-size: 24px;
    color: #e63946;
}
.calc-disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    text-align: center;
}

/* Callout variations */
.blog-callout.blue {
    background: #e8f4fd;
    border-left-color: #0056b3;
    border-radius: 8px;
    padding: 18px;
    margin: 20px 0 35px 0;
}
.blog-callout.blue h4 {
    color: #003d82;
    font-weight: bold;
    font-size: 18px;
    margin: 0 0 5px 0;
}
.blog-callout.blue p {
    margin: 0;
    color: #333;
}

.blog-ad-banner.yellow-dash {
    background: #fffbef;
    border: 2px dashed #ffc107;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}
.blog-ad-banner.yellow-dash h4 {
    color: #b8860b;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 20px;
}
.blog-ad-banner.yellow-dash p {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-whatsapp {
    background: #25D366 !important;
    border-color: #25D366 !important;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(37,211,102,0.3);
    padding: 12px 30px;
    color: white;
}
.btn-whatsapp:hover {
    background: #128C7E !important;
}

.blog-ad-banner.red-solid {
    background: #ffecec;
    border-radius: 10px;
    border: none;
    border-left: 6px solid #e63946;
    padding: 25px;
    margin-top: 40px;
    text-align: left;
}
.blog-ad-banner.red-solid h3 {
    color: #c1121f;
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}
.blog-ad-banner.red-solid ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.blog-ad-banner.red-solid li {
    margin-bottom: 8px;
    font-size: 16px;
}
.blog-ad-banner.red-solid h4 {
    color: #1d3557;
    font-weight: bold;
    margin-top: 20px;
}
.blog-ad-banner.red-solid h4 a {
    color: #e63946;
    text-decoration: none;
}
.badge-orange {
    background: #ffb703;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
}