.page-blog-detail {
    background: #fff;
}

.blog-detail-page {
    padding: 34px 0 86px;
    background: #fff;
}

.blog-detail-shell {
    display: grid;
    gap: 28px;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #78827f;
    font-size: 13px;
    line-height: 1.5;
}

.blog-breadcrumb a {
    color: #54615e;
}

.blog-breadcrumb a:hover,
.blog-breadcrumb a:focus-visible {
    color: #2b565e;
}

.blog-breadcrumb span:last-child {
    max-width: 52ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
    align-items: start;
}

.blog-detail-layout--single {
    grid-template-columns: minmax(0, 900px);
}

.blog-article {
    min-width: 0;
}

.blog-article__header {
    display: grid;
    gap: 18px;
    margin-bottom: 26px;
}

.blog-article__badge {
    width: max-content;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: #edf5f4;
    color: #2b565e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.blog-article h1 {
    max-width: 900px;
    margin: 0;
    color: #2b565e;
    font-size: clamp(42px, 4.7vw, 62px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.08;
}

.blog-article__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: center;
    color: #596461;
    font-size: 14px;
}

.blog-author {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.blog-author__avatar {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf5f4;
    color: #2b565e;
    font-size: 12px;
    font-weight: 700;
}

.blog-author span:not(.blog-author__avatar) {
    display: block;
    color: #253331;
    font-weight: 600;
    line-height: 1.25;
}

.blog-author time {
    display: block;
    color: #75817e;
    font-size: 13px;
    line-height: 1.35;
}

.blog-read-time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #596461;
    font-weight: 500;
}

.blog-read-time svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.blog-share > span {
    color: #596461;
    font-size: 13px;
    font-weight: 600;
}

.blog-share a,
.blog-share button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #dfe8e6;
    border-radius: 50%;
    background: #fff;
    color: #2b565e;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.blog-share a:hover,
.blog-share a:focus-visible,
.blog-share button:hover,
.blog-share button:focus-visible,
.blog-share button.is-copied {
    border-color: #2b565e;
    background: #edf5f4;
    transform: translateY(-1px);
}

.blog-share svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blog-share a svg {
    fill: currentColor;
    stroke: none;
}

.blog-article__featured {
    margin: 0 0 34px;
}

.blog-article__featured img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
}

.blog-article__content {
    color: #303836;
    font-size: 18px;
    line-height: 1.75;
}

.blog-article__content > *:first-child {
    margin-top: 0;
}

.blog-article__content h2 {
    margin: 42px 0 16px;
    color: #2b565e;
    font-size: clamp(30px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.18;
}

.blog-article__content h3 {
    margin: 32px 0 14px;
    color: #2b565e;
    font-size: clamp(23px, 2.3vw, 26px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.22;
}

.blog-article__content h4 {
    margin: 28px 0 12px;
    color: #2b565e;
    font-size: 21px;
    font-weight: 600;
}

.blog-article__content p {
    margin: 0 0 18px;
    color: #303836;
    font-size: inherit;
    line-height: inherit;
}

.blog-article__content ul,
.blog-article__content ol {
    margin: 0 0 22px;
    padding-left: 24px;
    color: #303836;
    font-size: 17px;
    line-height: 1.7;
}

.blog-article__content li + li {
    margin-top: 8px;
}

.blog-article__content a {
    color: #2b565e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article__content blockquote {
    margin: 34px 0;
    padding: 26px 28px;
    border-radius: 10px;
    background: #edf5f4;
    color: #2b565e;
}

.blog-article__content blockquote p {
    margin: 0;
    color: #2b565e;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.blog-faq {
    margin-top: 48px;
    padding-top: 34px;
    border-top: 1px solid #e4ebe9;
}

.blog-faq h2 {
    margin: 0 0 20px;
    color: #2b565e;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: 0;
}

.blog-faq__list {
    display: grid;
    gap: 9px;
    max-width: 980px;
}

.blog-faq__item {
    overflow: hidden;
    border: 1px solid #dfe8e6;
    border-radius: 11px;
    background: #fff;
}

.blog-faq__item summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 15px;
    color: #35413e;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.blog-faq__item summary::-webkit-details-marker {
    display: none;
}

.blog-faq__item > div {
    padding: 0 15px 15px;
    color: #5d6965;
    font-size: 15px;
    line-height: 1.65;
}

.blog-faq__item p {
    margin: 0;
}

.blog-faq__icon {
    color: #2b565e;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.blog-faq__item[open] .blog-faq__icon {
    transform: rotate(45deg);
}

.blog-recent {
    position: sticky;
    top: 108px;
}

.blog-recent h2 {
    margin: 0 0 18px;
    color: #2b565e;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
}

.blog-recent__list {
    display: grid;
    border-top: 1px solid #e4ebe9;
}

.blog-recent-card {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid #e4ebe9;
}

.blog-recent-card__thumb {
    display: grid;
    width: 80px;
    height: 65px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: #edf5f4;
    color: #2b565e;
    font-weight: 700;
}

.blog-recent-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-recent-card h3 {
    margin: 0 0 7px;
    color: #263331;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
}

.blog-recent-card h3 a:hover,
.blog-recent-card h3 a:focus-visible {
    color: #2b565e;
}

.blog-recent-card time {
    color: #7b8582;
    font-size: 12.5px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
    }
}

@media (max-width: 760px) {
    .blog-detail-page {
        padding: 26px 0 58px;
    }

    .blog-detail-shell {
        gap: 22px;
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .blog-breadcrumb {
        font-size: 12px;
    }

    .blog-breadcrumb span:last-child {
        max-width: 34ch;
    }

    .blog-article__header {
        gap: 15px;
        margin-bottom: 22px;
    }

    .blog-article h1 {
        font-size: clamp(30px, 8.4vw, 36px);
        line-height: 1.15;
    }

    .blog-article__meta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        font-size: 13px;
    }

    .blog-share {
        margin-left: 0;
    }

    .blog-share a,
    .blog-share button {
        width: 36px;
        height: 36px;
    }

    .blog-article__featured {
        margin-bottom: 28px;
    }

    .blog-article__featured img {
        height: auto;
        aspect-ratio: auto;
        border-radius: 10px;
    }

    .blog-article__content {
        font-size: 16px;
        line-height: 1.7;
    }

    .blog-article__content h2 {
        margin-top: 34px;
        font-size: clamp(24px, 6.8vw, 27px);
    }

    .blog-article__content h3 {
        margin-top: 28px;
        font-size: 22px;
    }

    .blog-article__content p {
        margin-bottom: 17px;
    }

    .blog-article__content ul,
    .blog-article__content ol {
        font-size: 16px;
    }

    .blog-article__content blockquote {
        margin: 28px 0;
        padding: 22px 20px;
    }

    .blog-article__content blockquote p {
        font-size: 18px;
    }

    .blog-recent {
        position: static;
    }

    .blog-recent-card {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
    }

    .blog-recent-card__thumb {
        width: 96px;
        height: 76px;
    }
}

@media (max-width: 430px) {
    .blog-detail-page .container {
        width: min(100% - 32px, var(--container));
    }

    .blog-breadcrumb span:last-child {
        max-width: 24ch;
    }

    .blog-recent-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .blog-recent-card__thumb {
        width: 90px;
        height: 72px;
    }
}
