@font-face {
    src: url("font/JosefinSans-Bold.ttf");
    font-family: "JosefinSans-Bold";
    font-display: swap;
}

:root {
    --blog-red: #ed3038;
    --blog-dark: #252525;
    --blog-text: #333333;
    --blog-muted: #777777;
    --blog-light: #f7f7f7;
    --blog-border: #e8e8e8;
    --blog-white: #ffffff;
    --blog-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--blog-white);
    color: var(--blog-text);
}

/* ================================
   BREADCRUMB
================================ */

.blog-breadcrumb-wrap {
    padding: 13px 0;
    border-bottom: 1px solid var(--blog-border);
    background: var(--blog-white);
}

.blog-breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.blog-breadcrumb li {
    display: inline;
    color: var(--blog-muted);
}

.blog-breadcrumb li + li::before {
    content: "/";
    margin: 0 9px;
    color: #aaaaaa;
}

.blog-breadcrumb a {
    color: var(--blog-red);
    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #b9151d;
}

/* ================================
   HERO SECTION
================================ */

.blog-detail-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.blog-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.blog-detail-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 58px 0;
}

.blog-detail-hero h1 {
    margin: 0 0 18px;
    color: var(--blog-white);
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
}

.blog-detail-hero p {
    max-width: 780px;
    margin-bottom: 22px;
    color: #e4e4e4;
    font-size: 17px;
    line-height: 1.8;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #dddddd;
    font-size: 14px;
}

.blog-detail-meta i {
    margin-right: 6px;
    color: var(--blog-red);
}

/* ================================
   ARTICLE LAYOUT
================================ */

.blog-detail-layout {
    padding: 55px 0 75px;
}

.blog-detail-content {
    padding-right: 30px;
}

.blog-detail-content p,
.blog-detail-content li,
.blog-comparison-table td,
.blog-comparison-table th {
    color: var(--blog-text);
    font-size: 16px;
    line-height: 1.9;
    font-family: "JosefinSans-Bold", Arial, sans-serif;
}

.blog-detail-content a {
    color: var(--blog-red);
    text-decoration: none;
}

.blog-detail-content a:hover {
    color: #b9151d;
    text-decoration: underline;
}

.blog-detail-content h2 {
    position: relative;
    margin: 42px 0 18px;
    padding-bottom: 12px;
    color: var(--blog-dark);
    font-size: 30px;
    line-height: 1.35;
    font-weight: 700;
}

.blog-detail-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65px;
    height: 3px;
    background: var(--blog-red);
}

.blog-detail-content h3 {
    margin: 24px 0 10px;
    color: var(--blog-dark);
    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-detail-content ul {
    margin: 15px 0 25px;
    padding-left: 22px;
    font-family: "JosefinSans-Bold", Arial, sans-serif;
}

.blog-detail-content li {
    margin-bottom: 8px;
}

.blog-detail-intro {
    margin-bottom: 30px;
    padding: 26px;
    border-left: 5px solid var(--blog-red);
    background: var(--blog-light);
}

/* ================================
   SIDEBAR
================================ */

.blog-detail-sidebar {
    position: sticky;
    top: 25px;
}

.blog-sidebar-box {
    margin-bottom: 25px;
    padding: 24px;
    border: 1px solid var(--blog-border);
    background: var(--blog-white);
    box-shadow: var(--blog-shadow);
}

.blog-sidebar-box h3 {
    margin: 0 0 16px;
    padding-bottom: 11px;
    border-bottom: 2px solid var(--blog-red);
    color: var(--blog-dark);
    font-size: 21px;
}

.blog-sidebar-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-sidebar-box li {
    border-bottom: 1px solid #eeeeee;
}

.blog-sidebar-box li:last-child {
    border-bottom: 0;
}

.blog-sidebar-box a {
    display: block;
    padding: 10px 0;
    color: var(--blog-text);
    text-decoration: none;
}

.blog-sidebar-box a:hover {
    color: var(--blog-red);
}

/* ================================
   INFO CARDS
================================ */

.blog-info-grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 22px;
}

.blog-info-grid > [class*="col-"] {
    display: flex;
    float: none;
}

.blog-info-card {
    width: 100%;
    min-height: 210px;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--blog-border);
    background: var(--blog-white);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.blog-info-card .icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--blog-red);
    color: var(--blog-white);
    font-size: 22px;
    line-height: 52px;
    text-align: center;
}

.blog-info-card h3 {
    margin-top: 0;
}

/* ================================
   HIGHLIGHT BOX
================================ */

.blog-highlight {
    margin: 30px 0;
    padding: 26px;
    border-left: 5px solid var(--blog-red);
    background: var(--blog-light);
}

/* ================================
   COMPARISON TABLE
================================ */

.blog-comparison-table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
}

.blog-comparison-table th,
.blog-comparison-table td {
    padding: 13px 12px;
    border: 1px solid var(--blog-border);
    vertical-align: top;
}

.blog-comparison-table th {
    background: var(--blog-red);
    color: var(--blog-white);
    text-align: left;
}

/* ================================
   FAQ ACCORDION
================================ */

.blog-faq {
    margin-top: 52px;
}

.blog-faq .panel {
    border: 1px solid var(--blog-border);
    border-radius: 0;
    box-shadow: none;
}

.blog-faq .panel-heading {
    padding: 0;
    background: var(--blog-white);
}

.blog-faq .panel-title a {
    position: relative;
    display: block;
    padding: 17px 54px 17px 18px;
    color: var(--blog-dark);
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
}

.blog-faq .panel-title a:hover,
.blog-faq .panel-title a:focus {
    color: var(--blog-red);
}

.blog-faq .panel-title a::after {
    content: "−";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: var(--blog-red);
    color: var(--blog-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
}

.blog-faq .panel-title a.collapsed::after {
    content: "+";
    background: #efefef;
    color: var(--blog-dark);
}

.blog-faq .panel-body {
    color: var(--blog-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ================================
   CTA
================================ */

.blog-cta {
    margin-top: 45px;
    padding: 34px 26px;
    background: var(--blog-dark);
    color: var(--blog-white);
    text-align: center;
}

.blog-cta h2 {
    margin-top: 0;
    color: var(--blog-white);
}

.blog-cta p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: #dddddd;
}

.blog-cta a {
    display: inline-block;
    padding: 12px 24px;
    background: var(--blog-red);
    color: var(--blog-white);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-cta a:hover {
    background: var(--blog-white);
    color: var(--blog-red);
}

/* ================================
   NAVBAR DROPDOWN HOVER FIX
================================ */

.navbar-inverse .navbar-nav > li.dropdown {
    position: relative;
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-toggle {
    position: relative;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-toggle .caret {
    margin-left: 7px;
    border-top-color: currentColor;
    transition: transform 0.22s ease;
}

.navbar-inverse .navbar-nav > li.dropdown:hover > .dropdown-toggle,
.navbar-inverse .navbar-nav > li.dropdown:focus-within > .dropdown-toggle,
.navbar-inverse .navbar-nav > li.dropdown.open > .dropdown-toggle {
    background: #111111 !important;
    color: #ffffff !important;
}

.navbar-inverse .navbar-nav > li.dropdown:hover > .dropdown-toggle .caret,
.navbar-inverse .navbar-nav > li.dropdown:focus-within > .dropdown-toggle .caret,
.navbar-inverse .navbar-nav > li.dropdown.open > .dropdown-toggle .caret {
    transform: rotate(180deg);
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu {
    min-width: 220px;
    margin-top: 0;
    padding: 8px 0;
    border: 0;
    border-top: 3px solid var(--blog-red);
    border-radius: 0 0 7px 7px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a {
    position: relative;
    padding: 12px 20px 12px 24px;
    color: #2d2d2d;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease, background-color 0.2s ease, padding 0.2s ease;
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li + li > a {
    border-top: 1px solid #eeeeee;
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blog-red);
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a:hover,
.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a:focus {
    padding-left: 30px;
    background: #fff3f4 !important;
    color: var(--blog-red) !important;
}

.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a:hover::before,
.navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a:focus::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

@media (min-width: 768px) {
    .navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(10px);
        transition:
            opacity 0.22s ease,
            visibility 0.22s ease,
            transform 0.22s ease;
    }

    .navbar-inverse .navbar-nav > li.dropdown:hover > .dropdown-menu,
    .navbar-inverse .navbar-nav > li.dropdown:focus-within > .dropdown-menu,
    .navbar-inverse .navbar-nav > li.dropdown.open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
    .blog-detail-content {
        padding-right: 15px;
    }

    .blog-detail-sidebar {
        position: static;
        margin-top: 35px;
    }

    .blog-detail-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .blog-detail-hero {
        min-height: 390px;
    }

    .blog-detail-hero h1 {
        font-size: 31px;
    }

    .blog-detail-hero p {
        font-size: 15px;
    }

    .blog-detail-layout {
        padding: 40px 0 55px;
    }

    .blog-detail-content p,
    .blog-detail-content li,
    .blog-comparison-table td,
    .blog-comparison-table th {
        font-size: 15px;
    }

    .blog-detail-content h2 {
        font-size: 25px;
    }

    .blog-info-grid {
        /* display: block; */
    }

    .blog-info-grid > [class*="col-"] {
        /* display: block; */
    }

    .blog-comparison-table {
      
        overflow-x: auto;
    }

    .navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin: 0 15px 10px;
        padding: 5px 0;
        border-top-width: 2px;
        border-radius: 0 0 6px 6px;
        background: #222222;
        box-shadow: none;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a,
    .navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li > a {
        padding: 11px 18px 11px 24px;
        color: #f2f2f2;
    }

    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
        padding-left: 30px;
        background: #303030 !important;
        color: #ffffff !important;
    }

    .navbar-inverse .navbar-nav > li.dropdown > .dropdown-menu > li + li > a {
        border-top-color: #3e3e3e;
    }
}
