/* Blog detail two-column layout */
.blog-detail-layout {
    background: #ffffff;
    overflow-x: hidden;
    padding-bottom: 4rem;
}

.blog-detail-layout__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.blog-detail-layout__main > .margin-72 {
    margin-top: 0;
}

.blog-detail-layout__main {
    min-width: 0;
}

/* Unified article hero */
.blog-article-hero {
    padding: 2rem 0;
}

.blog-article-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #444444;
    margin-bottom: 0;
}

.blog-article-hero__lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
    max-width: 56rem;
}

.blog-article-featured {
    margin-bottom: 1rem;
    position: relative;
}

.blog-article-featured__frame {
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

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

/* Sidebar */
.blog-detail-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-detail-sidebar__sticky {
    display: grid;
    gap: 1.25rem;
}

.blog-detail-sidebar__block {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    padding: 1.25rem 1.35rem;
}


.blog-detail-sidebar__block--tags {
    border: none;
    border-radius: 4px;
}

.blog-detail-sidebar__block--share {
    border: none;
    border-radius: 4px;
}

.blog-detail-share {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-detail-share li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    font-size: 1rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.blog-detail-share li a:hover {
    border-color: var(--accent-primary);
    color: #1a1a1a;
    background: rgba(255, 210, 97, 0.15);
    text-decoration: none;
}

.blog-detail-sidebar__title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

/* Table of contents */
.blog-detail-toc__empty {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.blog-detail-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-detail-toc__item {
    margin-bottom: 0.35rem;
}

.blog-detail-toc__item--h3 {
    padding-left: 1.85rem;
}

.blog-detail-toc__link {
    display: block;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #4b5563;
    text-decoration: none;
    padding: 0.35rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.65rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.blog-detail-toc__link:hover{
    color: #1a1a1a;
}

.special-character{
    font-size: 50px !important;
}

.blog-card-details-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 35%, transparent 100%);
}

/* Tags */
.blog-detail-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-detail-tags__link {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    border-radius: 5px;
}

.blog-detail-tags__link:hover {
    color: #1a1a1a;
    border-color: var(--accent-primary);
    background: rgba(255, 210, 97, 0.15);
    text-decoration: none;
}

/* Sidebar related posts — single column stack */
.blog-detail-related-list {
    display: grid;
    gap: 1rem;
}

.blog-detail-related-link {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ececec;
}

.blog-detail-related-item:last-child .blog-detail-related-link {
    padding-bottom: 0;
    border-bottom: 0;
}

.blog-detail-related-link:hover {
    text-decoration: none;
    color: inherit;
}

.blog-detail-related-link:hover .blog-detail-related-title {
    color: var(--accent-primary);
}

.blog-detail-related-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-detail-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-detail-related-thumb--text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: #1a1a1a;
    text-align: center;
}

.blog-detail-related-thumb--text span {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-primary);
    line-height: 1.3;
}

.blog-detail-related-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #F2BA26;
    margin-bottom: 0.35rem;
}

.blog-detail-related-title {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: #444444;
    margin: 0;
    transition: color 0.2s ease;
}

@media (min-width: 992px) {
    .blog-detail-layout__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 2rem 2.5rem;
    }

    .blog-detail-layout__main {
        grid-column: span 4;
    }

    .blog-detail-sidebar {
        grid-column: span 2;
    }

    .blog-detail-sidebar__sticky {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}

@media (max-width: 991px) {
    .blog-detail-sidebar__sticky {
        position: static;
    }
}

/* Shared blog detail utilities */
.blog-article {
    background: #ffffff;
    overflow-x: hidden;
}

.blog-article a.blog-article-inline-link {
    color: #F2BA26 !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-primary); 
    text-underline-offset: 3px;
    background: transparent;
    color: #ffffff;
    padding: 0;
}

.blog-article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.blog-article-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.blog-article-breadcrumb a:hover {
    color: #1a1a1a;
}

.blog-article-breadcrumb span {
    color: #d1d5db;
}

.blog-article-breadcrumb strong {
    color: #444444;
    font-weight: 500;
}

.blog-article-byline {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8e8e8;
}

.blog-article-byline__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.blog-article-byline__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    color: #4b5563;
}

.blog-article-byline__item i {
    font-size: 0.8125rem;
    color: #c9a227;
    flex-shrink: 0;
}

.blog-article-byline__item--author .blog-author-link,
.blog-article-byline__item--author > span {
    font-weight: 600;
    color: #1a1a1a;
}

.blog-article-byline__item--author .blog-author-link {
    text-decoration: none;
}

.blog-article-byline__item--author .blog-author-link:hover {
    color: #c9a227;
    text-decoration: underline;
}

.blog-article-byline__divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .blog-article-byline__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.625rem;
    }

    .blog-article-byline__divider {
        display: none;
    }
}

/* End-of-article share — horizontal banner above CTA */
.blog-article-share-end {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #fff9e8 100%);
    border: 1px solid #ececec;
    border-left: 4px solid var(--accent-primary);
    border-radius: 8px;
}

.blog-article-share-end__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
}

.blog-article-share-end__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c9a227;
}

.blog-article-share-end__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.blog-article-share-end__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.blog-article-share-end__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.blog-article-share-end__btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.blog-article-share-end__btn--facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.08);
}

.blog-article-share-end__btn--linkedin:hover {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.08);
}

.blog-article-share-end__btn--twitter:hover {
    border-color: #000000;
    color: #000000;
    background: rgba(0, 0, 0, 0.06);
}

@media (max-width: 575.98px) {
    .blog-article-share-end {
        padding: 1.35rem 1.25rem;
    }

    .blog-article-share-end__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-article-share-end__actions {
        width: 100%;
    }

    .blog-article-share-end__btn {
        flex: 1 1 calc(50% - 0.35rem);
        justify-content: center;
    }

    .blog-article-share-end__btn--twitter {
        flex: 1 1 100%;
    }
}

.blog-article-cta {
    margin-top: 2rem;
    padding: 2.5rem;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 6px;
}

.blog-article-cta h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.blog-article-cta p {
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.blog-article-cta a {
    display: inline-block;
    background: var(--accent-primary);
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    text-decoration: none;
    font-size: 0.9375rem;
}

.blog-article-cta a:hover {
    background: #ffc94d;
    color: #1a1a1a;
    text-decoration: none;
}

.text-accent{
    color: #d59706 !important;
}