:root {
    --page-bg: #f7f7f5;
    --card-bg: #ffffff;
    --text-main: #171717;
    --text-muted: #686868;
    --border-soft: #e8e8e3;
}

body {
    background: var(--page-bg);
    color: var(--text-main);
}

a {
    text-decoration: none;
}

.hero {
    padding: 72px 0 48px;
}

.hero-title {
    letter-spacing: -0.04em;
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    line-height: .92;
}

.hero-text {
    max-width: 680px;
    color: var(--text-muted);
    font-size: 1.08rem;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 28px;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.article-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 18px;
    background: #f1f1ec;
}

.article-title {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.article-excerpt {
    color: var(--text-muted);
}

.badge-soft {
    background: #efefea;
    color: #555;
    font-weight: 500;
}

.article-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.75;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-main-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 28px;
    background: #f1f1ec;
}

.admin-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 24px;
}

.admin-thumb {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
    background: #f1f1ec;
    flex: 0 0 auto;
}

.admin-preview {
    max-width: 260px;
    max-height: 160px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-soft);
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: var(--border-soft);
}

.btn {
    border-radius: 14px;
}

.table {
    vertical-align: middle;
}
