.blogs_hero_image {
    width: 100%;
    min-height: 420px;
    margin: 100px 0 0 0;
    background-image:
        linear-gradient(95deg, rgba(0, 18, 36, 0.94) 15%, rgba(0, 26, 47, 0.82) 55%, rgba(0, 26, 47, 0.65) 100%),
        url('../../images/Whitelint-BLOG.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 -40px 80px rgba(0, 26, 47, 0.9);
    color: white;
    padding: 72px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(56, 189, 248, 0.16);
}

.blog_hero_heading {
    font-size: clamp(36px, 4.8vw, 62px);
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.blog_hero_byline {
    font-size: clamp(18px, 2vw, 24px);
    color: #4BC8FE;
    font-weight: 600;
    margin: 0 0 18px 0;
}

.blog_hero_para {
    max-width: 900px;
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.7;
    color: #dbeafe;
    text-align: left;
}

.blogs_wraper {
    width: 100%;
    min-height: 520px;
    background: linear-gradient(180deg, #001A2F 0%, #031f3d 100%);
}

.blogs_container {
    width: 1320px;
    max-width: 100%;
    margin: 0 auto;
    padding: 56px 30px 72px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.blogs_container_wrapper {
    width: 1260px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 30px 64px;
}

.left_side_pannel {
    width: 280px;
    flex-shrink: 0;
}

.category_buttons {
    width: 100%;
    padding: 22px 18px 14px;
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(21, 101, 192, 0.35), rgba(11, 34, 62, 0.92));
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.category_buttons a {
    text-decoration: none;
    color: inherit;
}

.Tops_Blogs_heading {
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.category_buttons_list {
    padding: 6px 0 0 0;
    display: flex;
    flex-direction: column;
}

.category_buttons_list button {
    width: 100%;
    text-align: left;
    background-color: transparent;
    border: 0;
    padding: 12px 10px;
    font-size: 16px;
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.category_buttons_list button:hover,
.category_buttons_list button.category_active {
    color: #fff;
    background: rgba(56, 189, 248, 0.16);
    padding-left: 14px;
}

.category_buttons_list button.category_active {
    color: #4BC8FE;
    font-weight: 700;
}

.white_seprator_line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin: 2px 0;
}

.tops_Blogs {
    margin: 20px 0 0;
    width: 100%;
    height: auto;
    max-height: 440px;
    overflow-y: auto;
    padding: 22px 18px 18px;
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(21, 101, 192, 0.28), rgba(11, 34, 62, 0.92));
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.tops_blogs_list p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #cbd5e1;
    padding: 10px 6px;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.tops_blogs_list p:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.tops_blogs_list p span {
    padding: 0;
}

.blogs_list_container {
    flex: 1;
    min-width: 0;
    width: auto;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog_box {
    height: auto;
    min-height: 390px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #07203b 0%, #05172b 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog_box:hover {
    transform: translateY(-4px);
    border-color: rgba(75, 200, 254, 0.55);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.blog_box_iamge {
    position: relative;
    width: 100%;
    height: 205px;
    overflow: hidden;
    background: #021120;
    flex-shrink: 0;
}

.blog_box_iamge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog_box:hover .blog_box_iamge img {
    transform: scale(1.04);
}

.blog_box_details {
    position: static;
    transform: none;
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 22px 22px;
    color: white;
    background: transparent;
}

.blog_box_category {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    margin-bottom: 10px;
}

.blog_box_heading {
    width: 100%;
    height: auto;
    min-height: 0;
    font-size: 20px;
    letter-spacing: 0.2px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    display: block;
    margin-bottom: 10px;
}

.blog_box_byline {
    width: 100%;
    height: auto;
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog_box_button {
    width: 100%;
    margin-top: auto;
}

.blog_box_button button {
    width: auto;
    padding: 9px 18px;
    text-align: center;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    border-radius: 7px;
    color: white;
    background: linear-gradient(90deg, #0284c7, #0a6cfe);
    box-shadow: 0 4px 14px rgba(10, 108, 254, 0.35);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.blog_box_button button:hover {
    opacity: 0.94;
}

/* Single blog article page */
.extra_styling {
    margin: 100px 0 0 0;
}

.single_blog_iamge {
    width: 100%;
    height: 430px;
    background-color: #031325;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.blog_image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.Single_blog_heading {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    color: white;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.25;
    padding: 64px 32px 28px;
    font-weight: 800;
    letter-spacing: 0.4px;
    background: linear-gradient(180deg, rgba(0, 18, 36, 0) 0%, rgba(0, 18, 36, 0.78) 45%, rgba(0, 18, 36, 0.96) 100%);
}

.blog_detail_container {
    flex: 1;
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    font-size: 18px;
    line-height: 1.8;
    color: #e2e8f0;
    background: rgba(7, 29, 54, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 14px;
    padding: 32px;
}

.blog_detail_container h1,
.blog_detail_container h2,
.blog_detail_container h3 {
    color: #fff;
    margin: 22px 0 12px;
    line-height: 1.3;
}

.blog_detail_container p {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 18px 0;
    color: #e2e8f0;
}

.blog_detail_container span {
    color: rgba(226, 232, 240, 0.92);
}

.blog_detail_container ul,
.blog_detail_container ol {
    color: #e2e8f0;
    font-size: 18px;
    margin: 0 0 20px 26px;
}

.blog_detail_container li {
    margin: 0 0 10px 0;
}

.blog_detail_container a {
    color: #4BC8FE;
}
