.blog-detail-page {
    --blog-blue: #0564a7;
    --blog-orange: #e75324;
    --blog-border: #e1e8ee;
    color: #243746;
}
.blog-detail-page .blog-detail-header {
    padding: 150px 0 0;
}
.blog-detail-page .blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
    font-size: 0.875rem;
    color: #586b79;
}
.blog-detail-page .blog-breadcrumb a:hover {
    color: var(--blog-orange);
}
.blog-detail-page .blog-category {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fceee8;
    color: #b83d16;
    font-size: 0.875rem;
    font-weight: 600;
}
.blog-detail-page h1 {
    margin: 24px 0 32px;
    color: var(--blog-blue);
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.blog-detail-page .blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--blog-border);
    font-size: 0.9375rem;
}
.blog-detail-page .blog-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.blog-detail-page .blog-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.blog-detail-page .blog-meta-label {
    display: block;
    color: #60717e;
    font-size: 0.875rem;
    margin-bottom: 3px;
}
.blog-detail-page .blog-meta strong {
    color: var(--blog-blue);
    font-weight: 600;
}
.blog-detail-page .blog-comment-link {
    margin-left: auto;
    color: var(--blog-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.blog-detail-page .blog-cover {
    margin: 40px 0 0;
    border-radius: 24px;
    overflow: hidden;
    background: #edf3f7;
}
.blog-detail-page .blog-cover img {
    display: block;
    width: 100%;
    max-height: 580px;
    object-fit: cover;
}
.blog-detail-page .blog-detail-content {
    padding: 48px 0 80px;
}
.blog-detail-page .blog-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.blog-detail-page .blog-content-grid > * {
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.blog-detail-page .blog-article {
    font-size: 1.0625rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.blog-detail-page .blog-article p {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin-bottom: 24px;
}
.blog-detail-page .blog-article :is(h1, h2, h3, h4, h5, h6) {
    color: var(--blog-blue);
    line-height: 1.35;
    font-weight: 600;
    margin: 32px 0 16px;
}
.blog-detail-page .blog-article h2 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
}
.blog-detail-page .blog-article h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}
.blog-detail-page .blog-article hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--blog-border);
    opacity: 1;
}
.blog-detail-page .blog-article > :first-child {
    margin-top: 0;
}
.blog-detail-page .blog-article :is(ul, ol) {
    padding-left: 24px;
    margin-bottom: 24px;
}
.blog-detail-page .blog-article ul {
    list-style: disc;
}
.blog-detail-page .blog-article ol {
    list-style: decimal;
}
.blog-detail-page .blog-article li {
    margin-bottom: 8px;
}
.blog-detail-page .blog-article a {
    color: var(--blog-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-detail-page .blog-article :is(img, video, iframe) {
    max-width: 100%;
    border-radius: 15px;
}
.blog-detail-page .blog-article img {
    height: auto;
}
.blog-detail-page .blog-article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.blog-detail-page .blog-article blockquote {
    margin: 32px 0;
    padding: 24px;
    border-left: 4px solid var(--blog-orange);
    background: #f5f8fa;
    border-radius: 0 15px 15px 0;
}
.blog-detail-page .blog-article pre {
    padding: 20px;
    background: #f5f8fa;
    overflow-x: auto;
    border-radius: 15px;
}
.blog-detail-page .blog-article-footer {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--blog-border);
}
.blog-detail-page .blog-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    min-height: 48px;
    padding: 12px 28px;
    border: 1px solid var(--blog-blue);
    border-radius: 40px;
    background: var(--blog-blue);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}
.blog-detail-page .blog-button::after {
    content: none;
}
.blog-detail-page .blog-button:hover {
    background: var(--blog-orange);
    border-color: var(--blog-orange);
    color: #fff;
}
.blog-detail-page .blog-button-outline {
    color: var(--blog-blue);
    background: transparent;
}
.blog-detail-page :is(a, button, input, textarea):focus-visible {
    outline: 2px solid var(--blog-blue);
    outline-offset: 4px;
}
.blog-detail-page .blog-comment-card {
    margin-top: 48px;
    padding: 32px;
    border: 1px solid var(--blog-border);
    border-radius: 20px;
    background: #f7f9fb;
    scroll-margin-top: 110px;
}
.blog-detail-page .blog-comment-card h2 {
    margin: 12px 0;
    color: var(--blog-blue);
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 600;
}
.blog-detail-page .blog-comment-card p {
    color: #586b79;
    margin-bottom: 28px;
    font-size: 1rem;
}
.blog-detail-page .blog-field {
    margin-bottom: 24px;
}
.blog-detail-page .blog-field label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--blog-blue);
    margin-bottom: 8px;
}
.blog-detail-page .blog-field :is(input, textarea) {
    padding: 14px 16px;
    border: 1px solid #cbd8e2;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    color: #243746;
}
.blog-detail-page .blog-field textarea {
    resize: vertical;
}
.blog-detail-page .blog-widget {
    padding: 26px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid var(--blog-border);
    border-radius: 20px;
}
.blog-detail-page .blog-widget h2 {
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--blog-border);
    color: var(--blog-blue);
    font-size: 1.25rem;
    font-weight: 600;
}
.blog-detail-page .blog-search {
    display: flex;
    border: 1px solid #cbd8e2;
    border-radius: 40px;
    padding: 5px;
    background: #f7f9fb;
}
.blog-detail-page .blog-search input {
    width: 100%;
    min-width: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 30px;
    background: transparent;
    font-size: 1rem;
}
.blog-detail-page .blog-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--blog-blue);
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}
.blog-detail-page .blog-search button:hover {
    background: var(--blog-orange);
}
.blog-detail-page .blog-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}
.blog-detail-page .blog-categories li + li {
    margin-top: 10px;
}
.blog-detail-page .blog-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 30px;
    background: #f5f8fa;
    font-size: 0.9375rem;
}
.blog-detail-page .blog-count {
    padding: 2px 10px;
    background: #fff;
    border-radius: 20px;
    color: var(--blog-blue);
}
.blog-detail-page .blog-recent {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.blog-detail-page .blog-recent + .blog-recent {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--blog-border);
}
.blog-detail-page .blog-recent img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    object-fit: cover;
}
.blog-detail-page .blog-recent-category {
    font-size: 0.8125rem;
    color: #b83d16;
}
.blog-detail-page .blog-recent h3 {
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    color: var(--blog-blue);
    margin: 4px 0;
    overflow-wrap: anywhere;
}
.blog-detail-page .blog-recent time {
    color: #60717e;
    font-size: 0.8125rem;
}
.blog-detail-page .blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.blog-detail-page .blog-tags a {
    padding: 7px 14px;
    border: 1px solid var(--blog-border);
    border-radius: 30px;
    font-size: 0.875rem;
}
.blog-detail-page :is(.blog-tags a, .blog-categories a):hover {
    color: var(--blog-blue);
    background: #eaf2f8;
}
.blog-detail-page .blog-recent:hover h3 {
    color: var(--blog-orange);
}
@media (max-width: 991px) {
    .blog-detail-page .blog-content-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}
@media (max-width: 767px) {
    .blog-detail-page .blog-detail-header {
        padding-top: 120px;
    }
    .blog-detail-page .blog-breadcrumb {
        margin-bottom: 28px;
    }
    .blog-detail-page .blog-meta {
        gap: 20px;
    }
    .blog-detail-page .blog-comment-link {
        margin-left: 0;
    }
    .blog-detail-page .blog-cover {
        margin-top: 28px;
        border-radius: 15px;
    }
    .blog-detail-page .blog-detail-content {
        padding: 32px 0 60px;
    }
    .blog-detail-page :is(.blog-comment-card, .blog-widget) {
        padding: 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .blog-detail-page .blog-button {
        transition: none;
    }
}
