
   
   .blog-single .container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1366px;
    width: 100%;
}

/* ── Reset for blog context ── */
.blog-single h1,
.blog-single h2,
.blog-single h3,
.blog-single h4,
.blog-single p {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}


.blog-hero {
    padding: 20px 0 0;
}

/* Breadcrumbs — same as product */
.blog-hero__breadcrumbs {
    padding: 12px 0 20px;
}

.blog-hero__breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.blog-hero__breadcrumbs li {
    display: flex;
    align-items: center;
    color: #333;
}

.blog-hero__breadcrumbs li + li::before {
    content: "|";
    margin: 0 8px;
    color: #999;
}

.blog-hero__breadcrumbs a {
    color: #1a5dab;
    text-decoration: none;
}

.blog-hero__breadcrumbs a:hover {
    text-decoration: underline;
}


.blog-hero__title {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 4vw, 40px);
    color: #004996;
    line-height: 1.2;
    margin: 0 0 20px;
    max-width: 860px;
}


.blog-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #808080;
    margin: 20px 0px;
}

.blog-hero__meta-updated {
    font-size: 13px;
    color: #808080;
}

.blog-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-hero__meta-item svg {
    flex-shrink: 0;
    color: #004996;
}

.blog-hero__meta-item a {
    color: #808080;
    text-decoration: none;
}

.blog-hero__meta-item a:hover {
    color: #004996;
    text-decoration: underline;
}


.blog-hero__image {
    border-radius: 20px;
    overflow: hidden;
}

.blog-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-body__main .blog-hero__image {
    margin-bottom: 32px;
    border-radius: 20px;
    overflow: hidden;
}

.blog-body {
    padding: 20px 0 48px;
}

.blog-body__grid {
    display: grid;
    grid-template-columns: 1fr 371px;
    gap: 40px;
    align-items: start;
}


.blog-body__main {
    min-width: 0;
}


.blog-body__sidebar {
    min-width: 0;
    align-self: start;
}

.blog-sidebar__inner {
    position: sticky;
    top: 120px;
}

.blog-sidebar__title {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #004996;
    margin-bottom: 16px;
}

.blog-body__sidebar .product-card-sidebar,
.blog-body__sidebar .related-product-item {
    border: 1px solid #808080;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 12px;
    background: #fff;
}

.blog-body__sidebar .product-card-sidebar + .product-card-sidebar,
.blog-body__sidebar .related-product-item + .related-product-item {
    margin-top: 0;
}

.blog-toc {
    border: 1px solid #c0c0c0;
    border-radius: 20px;
    margin-bottom: 40px;
    overflow: hidden;
}

.blog-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    background: #f3f7f9;
}

.blog-toc__label {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #004996;
}

.blog-toc__toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #004996;
    padding: 0;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.blog-toc__toggle.is-collapsed {
    transform: rotate(180deg);
}

.blog-toc__nav {
    padding: 16px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-toc__nav.is-hidden {
    display: none;
}

.blog-toc__nav a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    padding: 6px 0 6px 16px;
    border-left: 3px solid transparent;
    line-height: 1.4;
    transition: color 0.15s, border-color 0.15s;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.blog-toc__nav a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #004996;
    flex-shrink: 0;
    margin-top: 7px;
}

.blog-toc__nav a:hover {
    color: #004996;
}

.blog-toc__nav a.is-active {
    color: #004996;
    font-weight: 600;
    border-left-color: #004996;
}


.blog-body__content {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 156%;
    color: #000;
}

.blog-body__content h2 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #004996;
    line-height: normal;
    margin: 48px 0 20px;
    scroll-margin-top: 100px;
}

.blog-body__content h3 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #035296;
    line-height: normal;
    margin: 32px 0 16px;
    scroll-margin-top: 100px;
}

.blog-body__content p {
    margin: 0 0 24px;
    text-align: justify;
}


.blog-body__content ul li {
    list-style: disc;
}

.blog-body__content ol li {
    list-style: decimal;
}

.blog-body__content a {
    color: #004996;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-body__content a:hover {
    color: #eb9435;
}

.blog-body__content strong,
.blog-body__content b {
    font-weight: 700;
}

.blog-body__content > p img,
.blog-body__content > figure img,
.blog-body__content > div:not(.blog-related__grid) img {
    max-width: 100%;
    border-radius: 20px;
    height: auto;
    display: block;
    margin: 32px 0;
}

/*.blog-body__content img {*/
/*    max-width: 100%;*/
/*    border-radius: 20px;*/
/*    height: auto;*/
/*    display: block;*/
/*    margin: 32px 0;*/
/*}*/


.blog-section-title {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #004996;
    line-height: normal;
    margin: 0 0 32px;
}


.blog-author {
    padding: 48px 0;
    border-top: 1px solid #c0c0c0;
}

.blog-author__card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    border: 1px solid #c0c0c0;
    border-radius: 20px;
    padding: 28px 32px;
    max-width: 860px;
}

.blog-author__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
}
.blog-author__photo-wrap {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
}

.blog-author__label {
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #808080;
    margin-bottom: 6px;
}

.blog-author__name {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #004996;
    margin-bottom: 2px;
}

.blog-author__position {
    font-size: 15px;
    color: #004996;
    font-weight: 400;
    margin-bottom: 14px;
}

.blog-author__bio {
    font-size: 15px;
    line-height: 1.65;
    color: #808080;
    margin-bottom: 16px;
}

.blog-author__links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-author__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #004996;
    text-decoration: none;
}

.blog-author__linkedin:hover {
    color: #eb9435;
}

.blog-author__location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #808080;
}


.blog-bibliography {
    padding: 48px 0;
    border-top: 1px solid #c0c0c0;
    background: #f3f7f9;
}

.blog-bibliography__content {
    font-size: 15px;
    color: #000;
    line-height: 1.7;
    max-width: 860px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.blog-bibliography__content ol,
.blog-bibliography__content ul {
    padding-left: 20px;
    margin: 0;
}

.blog-bibliography__content li {
    margin-bottom: 10px;
}

.blog-bibliography__content a {
    color: #004996;
    text-decoration: underline;
}


.blog-related {
    padding: 48px 0 80px;
    border-top: 1px solid #c0c0c0;
}

.blog-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-related__card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #808080;
    text-decoration: none !important;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.blog-related__card:hover {
    box-shadow: 0 8px 24px rgba(0,73,150,.12);
    transform: translateY(-3px);
    text-decoration: none !important;
}

.blog-related__card-img-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-related__card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.blog-related__card:hover .blog-related__card-img-wrap img {
    transform: scale(1.04);
}

.blog-related__card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.blog-related__card-cat {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #004996;
}

.blog-related__card-title {
    font-family: "Lato", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #004996;
    line-height: 1.4;
    margin: 0 !important;
}

.blog-related__card-date {
    font-size: 13px;
    color: #808080;
    margin-top: auto;
}


@media screen and (max-width: 1200px) {
    .blog-body__grid {
        grid-template-columns: 1fr 320px;
        gap: 32px;
    }
}

@media screen and (max-width: 980px) {
    .blog-body__grid {
        grid-template-columns: 1fr;
    }


    .blog-body__sidebar {
        order: 2;
    }
    
    .blog-body__main {
        order: 1;
    }


    .blog-sidebar__inner {
        position: static;
    }

    .blog-body__sidebar .blog-sidebar__inner {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .blog-hero__title {
        font-size: 26px;
    }

    .blog-hero__image {
        border-radius: 10px;
    }

    .blog-related__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-author__card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
    }

    .blog-author__links {
        justify-content: center;
    }

    .blog-body__content h2 {
        font-size: 24px;
    }

    .blog-body__content h3 {
        font-size: 20px;
    }

    .blog-section-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 540px) {
    .blog-hero {
        padding: 10px 0 0;
    }

    .blog-body {
        padding: 24px 0 40px;
    }

    .blog-toc {
        border-radius: 10px;
    }

    .blog-related__grid {
        grid-template-columns: 1fr;
    }
}