.post-detail-page {
    /* background: #f7f5f1; */
    padding: 56px 0 80px;
    color: #3f3934;
}

.post-detail-container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.post-detail-grid {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 36px;
    align-items: start;
}

.post-article {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #ece7e1;
    border-radius: 14px;
    padding: 34px 34px 40px;
}

.post-hero {
    margin-bottom: 28px;
}

.post-breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a938b;
}

.post-title {
    margin: 0 0 14px;
    font-size: clamp(24px, 5vw, 40px);
    line-height: 1.05;
    font-weight: 400;
    color: #2f2b28;
}

.post-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    color: #8a837c;
}

.post-excerpt {
    margin: 0;
    max-width: 860px;
    font-size: 17px;
    line-height: 1.9;
    color: #6f6861;
}

.post-featured-image {
    margin: 28px 0 32px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ece7e1;
    background: #ffffff;
}

.post-featured-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.post-content {

}

.post-content h2 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 400;
    color: #2f2b28;
}

.post-content h3 {
    margin: 28px 0 14px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 400;
    color: #2f2b28;
}

.post-content p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.95;
    color: #6f6861;
}

.post-content ul {
    margin: 0 0 18px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.85;
    color: #6f6861;
}

.post-blockquote {
    margin: 28px 0;
    padding: 22px 24px;
    border-left: 4px solid #6f6a66;
    background: #f6f2ec;
    border-radius: 8px;
    font-size: 26px;
    line-height: 1.45;
    font-style: italic;
    color: #4d4640;
}

.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.post-tags a {
    padding: 8px 14px;
    border-radius: 999px;
    background: #f2ede7;
    color: #6a635d;
    text-decoration: none;
    font-size: 13px;
}

.post-sidebar {
    min-width: 0;
}

.post-sidebar-inner {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 20px;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid #ece7e1;
    border-radius: 14px;
    padding: 22px;
}

.sidebar-title {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 400;
    color: #2f2b28;
}

.sidebar-search {
    display: flex;
    align-items: center;
    border: 1px solid #ddd6ce;
    border-radius: 10px;
    overflow: hidden;
    background: #faf8f5;
}

.sidebar-search input {
    width: 100%;
    height: 48px;
    border: 0;
    background: transparent;
    padding: 0 14px;
    outline: none;
    font-size: 14px;
    color: #4d4640;
}

.sidebar-search button {
    width: 52px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #7f7973;
}

.sidebar-search svg {
    width: 18px;
    height: 18px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li+li {
    margin-top: 12px;
}

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: #5f5953;
    font-size: 15px;
    line-height: 1.6;
}

.sidebar-list a:hover {
    color: #2f2b28;
}

.sidebar-list span {
    color: #9a938b;
    white-space: nowrap;
}

.sidebar-posts {
    display: grid;
    gap: 16px;
}

.sidebar-post {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    align-items: start;
}

.sidebar-post img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.sidebar-post h4 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    color: #3f3934;
}

.sidebar-post p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #8a837c;
}

@media (max-width: 980px) {
    .post-detail-grid {
        grid-template-columns: 1fr;
    }

    .post-sidebar-inner {
        position: static;
    }
}

@media (max-width: 640px) {
    .post-detail-page {
        padding: 40px 0 56px;
    }

    .post-detail-container {
        width: min(100% - 24px, 1280px);
    }
.post-article{
    padding: 15px;
}
.post-detail-container{
    width: 100%;
}

    .post-content h2 {
        font-size: 28px;
    }

    .post-blockquote {
        font-size: 22px;
        padding: 18px;
    }
}

.search-form {
    display: flex;
    align-items: center;
    max-width: 500px; /* Giới hạn chiều rộng form */
    margin: 20px 0;
    border: 2px solid #e1e1e1;
    border-radius: 15px; /* Bo tròn góc hiện đại */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hiệu ứng khi người dùng click vào form */
.search-form:focus-within {
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Căn chỉnh label và input */
.search-form label {
    flex-grow: 1;
    margin: 0;
}

/* Ẩn text hỗ trợ người khiếm thị nhưng vẫn giữ SEO */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Tùy chỉnh ô nhập liệu */
.search-field {
    width: 100%;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

/* Tùy chỉnh nút Tìm kiếm */
.search-submit {
    background-color: #333; /* Màu đen sang trọng cho trang sức bạc */
    color: #fff;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

/* Hiệu ứng khi di chuột qua nút */
.search-submit:hover {
    background-color: #555;
}