.blog-hero {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: flex-end;
    padding: 150px 0 76px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #0a0b0a;
    background-position: center;
    background-size: cover;
}

.blog-hero::before {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    content: "";
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero .section-eyebrow {
    justify-content: flex-start;
}

.blog-hero .section-eyebrow::before {
    display: none;
}

.blog-hero h1 {
    max-width: 760px;
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 55px;
    font-weight: 800;
    line-height: 1.12;
}

.blog-hero p {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    line-height: 1.75;
}

.blog-index-section,
.blog-details-shell {
    padding: 92px 0 100px;
    background: #080908;
}

.blog-index-heading {
    margin-bottom: 28px;
}

.blog-index-heading > span,
.category-label {
    display: block;
    margin-bottom: 8px;
    color: #5bd6d0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.blog-index-heading h2 {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
}

.blog-card {
    display: grid;
    min-height: 260px;
    grid-template-columns: minmax(230px, 0.86fr) minmax(0, 1.5fr);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: #111312;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 189, 57, 0.46);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.blog-image {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    background-color: #1a1c1b;
    background-position: center;
    background-size: cover;
}

.blog-image::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    content: "";
    transition: background-color 0.2s ease;
}

.blog-card:hover .blog-image::after {
    background: rgba(0, 0, 0, 0.26);
}

.blog-image-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #ffbd39;
    color: #111111;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.blog-card:hover .blog-image-arrow {
    opacity: 1;
    transform: translateY(0);
}

.blog-card-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 27px;
}

.blog-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #ffbd39;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-meta time,
.article-meta time {
    color: rgba(255, 255, 255, 0.5);
}

.blog-card h2 {
    margin: 13px 0 12px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.28;
}

.blog-card h2 a {
    color: #ffffff;
}

.blog-card h2 a:hover {
    color: #ffbd39;
}

.blog-card p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: auto;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.read-btn:hover {
    color: #ffbd39;
}

.category-panel,
.blog-list {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: #111312;
}

.category-panel {
    padding: 24px;
}

.category-panel h3,
.blog-list h2 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}

.category-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
}

.category-panel a:last-of-type {
    border-bottom: 0;
}

.category-panel a span:last-child {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
}

.category-panel a:hover,
.category-panel a.active {
    color: #ffbd39;
}

.category-panel a.active span:last-child {
    border-color: rgba(255, 189, 57, 0.4);
    background: rgba(255, 189, 57, 0.1);
    color: #ffbd39;
}

.category-empty,
.blog-list-empty {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.blog-empty {
    padding: 62px 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: #111312;
    text-align: center;
}

.blog-empty > span {
    display: block;
    margin-bottom: 16px;
    color: #5bd6d0;
    font-size: 36px;
}

.blog-empty h2 {
    color: #ffffff;
    font-size: 25px;
}

.blog-empty p {
    margin-bottom: 0;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.blog-pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-bottom: 0;
}

.blog-pagination .page-link {
    display: flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 6px;
    background: #111312;
    color: #ffffff;
}

.blog-pagination .page-item.active .page-link,
.blog-pagination .page-link:hover {
    border-color: #ffbd39;
    background: #ffbd39;
    color: #111111;
}

.blog-details-shell {
    min-height: 100vh;
    padding-top: 124px;
}

.content-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
}

.content-back-link:hover {
    color: #ffbd39;
}

.blog-list {
    max-height: calc(100vh - 140px);
    padding: 22px;
    overflow-y: auto;
    scrollbar-color: #3b3d3c transparent;
    scrollbar-width: thin;
}

.blog-list > a {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-list > a:last-of-type {
    border-bottom: 0;
}

.blog-list .thumb {
    display: block;
    width: 76px;
    height: 58px;
    border-radius: 5px;
    background-color: #1b1d1c;
    background-position: center;
    background-size: cover;
}

.blog-list-copy {
    min-width: 0;
}

.blog-list strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
}

.blog-list time {
    color: #ffbd39;
    font-size: 11px;
}

.blog-list > a:hover strong {
    color: #ffbd39;
}

.article-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: #111312;
}

.article-hero {
    display: block;
    width: 100%;
    max-height: 570px;
    aspect-ratio: 16 / 10;
    background: #1b1d1c;
    object-fit: cover;
}

.article-body {
    padding: 38px;
}

.article-body h1 {
    margin: 15px 0 24px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.18;
}

.article-content,
.article-content p,
.article-content li {
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.9;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 700;
}

.article-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 22px 0;
    border-radius: 6px;
}

.article-content a {
    color: #ffbd39;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
    .category-panel,
    .blog-list {
        position: static;
        max-height: none;
        margin-top: 30px;
    }

    .blog-details-shell .article-panel {
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .blog-hero {
        min-height: 410px;
        padding: 124px 0 62px;
    }

    .blog-hero h1 {
        font-size: 40px;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .blog-index-section {
        padding: 70px 0 80px;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-image {
        min-height: 230px;
        aspect-ratio: 16 / 10;
    }

    .blog-image-arrow {
        opacity: 1;
        transform: none;
    }

    .article-body {
        padding: 27px;
    }

    .article-body h1 {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .blog-hero {
        min-height: 390px;
        padding-top: 116px;
    }

    .blog-hero h1 {
        font-size: 34px;
    }

    .blog-hero .container,
    .blog-index-section .container,
    .blog-details-shell .container {
        max-width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .blog-hero h1,
    .blog-hero p {
        max-width: 100%;
    }

    .blog-card-body {
        padding: 22px;
    }

    .blog-card h2 {
        font-size: 23px;
    }

    .blog-image {
        min-height: 200px;
    }

    .category-panel,
    .blog-list {
        padding: 20px;
    }

    .article-body {
        padding: 22px;
    }

    .article-body h1 {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card:hover,
    .blog-image-arrow {
        transform: none;
    }
}
