.detail-hero {
    border: 1px solid #e4dac8;
    border-radius: 16px;
    background: #fffdf8;
    padding: 20px;
    margin-bottom: 16px;
}

.content-with-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 16px;
}

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

.reading-content {
    max-width: 860px;
    line-height: 1.85;
}

.reading-content p {
    line-height: 1.9;
}

.person-hero {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #7b5f40, #a07e45);
}

.person-avatar {
    overflow: hidden;
    background: #f3e8d6;
}

.person-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.detail-card {
    padding: 18px;
    margin-bottom: 16px;
}

.detail-card h1,
.detail-card h2 {
    margin-top: 0;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #7b6c5e;
    margin-bottom: 10px;
    font-size: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.mini-tag {
    display: inline-block;
    border-radius: 999px;
    background: #f2ebde;
    color: #6d5943;
    padding: 3px 9px;
    font-size: 12px;
}

.content-block {
    margin-top: 8px;
    color: #5e5246;
    line-height: 1.8;
}

.cover-placeholder {
    height: 180px;
    border-radius: 12px;
    border: 1px dashed #cabda7;
    background: repeating-linear-gradient(45deg, #f8f3eb, #f8f3eb 10px, #f2eadf 10px, #f2eadf 20px);
    display: grid;
    place-items: center;
    color: #7e6f5f;
    margin: 12px 0;
}

.related-block h2 {
    margin-bottom: 10px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.related-item {
    border: 1px solid #dfd3bf;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fefaf2;
    color: #5a4329;
}

.action-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d8caaf;
    background: #fbf7ef;
    color: #5b4125;
}

.note {
    margin-top: 8px;
    color: #776757;
    font-size: 13px;
}

.placeholder-card {
    border-style: dashed;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.gallery-grid figure {
    margin: 0;
}

.gallery-grid figcaption {
    margin-top: 4px;
    font-size: 12px;
    color: #7c6f61;
}

.comment-panel h2 {
    margin-bottom: 8px;
}

.comment-tip {
    margin: 0 0 10px;
    color: #746658;
    font-size: 13px;
}

.comment-form {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.comment-form textarea {
    min-height: 90px;
    border: 1px solid #ddcfbc;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.comment-form button {
    width: fit-content;
    min-width: 110px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #6f5438, #9a7a3e);
    cursor: pointer;
}

.comment-form button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.comment-list {
    display: grid;
    gap: 10px;
}

.comment-item {
    border: 1px solid #e3d7c4;
    border-radius: 12px;
    background: #fffaf1;
    padding: 12px;
}

.comment-item header {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 13px;
    color: #7b6e60;
}

.comment-item p {
    margin: 0;
    color: #5b4e41;
}

.reply-list {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.reply-item {
    border: 1px dashed #d8c8b0;
    border-radius: 10px;
    background: #fdf7ec;
    padding: 8px 10px;
}

.reply-item strong {
    margin-right: 8px;
}

.reply-item span {
    color: #8a7b6b;
    font-size: 12px;
}

.reply-item p {
    margin: 6px 0 0;
}

@media (max-width: 780px) {
    .content-with-side {
        grid-template-columns: 1fr;
    }

    .person-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}
