:root {
    --etb-blog-ink: #111111;
    --etb-blog-muted: #666666;
    --etb-blog-line: #e9e9e9;
    --etb-blog-soft: #f7f7f7;
}

.etb-blog-main {
    background: #ffffff;
    color: var(--etb-blog-ink);
}

.etb-blog-hero {
    background: var(--etb-blog-soft);
    border-bottom: 1px solid var(--etb-blog-line);
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.etb-blog-hero.etb-managed-hero {
    color: #ffffff;
}

.etb-blog-hero.etb-managed-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.45));
}

.etb-blog-hero.etb-managed-hero p {
    color: #f3f3f3;
}

.etb-blog-hero h1 {
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
    max-width: 920px;
}

.etb-blog-hero p {
    max-width: 760px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--etb-blog-muted);
}

.etb-blog-card {
    border: 1px solid var(--etb-blog-line);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

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

.etb-blog-card-image {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    background: var(--etb-blog-soft);
}

.etb-blog-card-body {
    padding: 1.4rem;
}

.etb-blog-card-title {
    font-size: 1.35rem;
    line-height: 1.2;
}

.etb-blog-card-title a {
    color: var(--etb-blog-ink);
    text-decoration: none;
}

.etb-blog-meta {
    color: var(--etb-blog-muted);
    font-size: .9rem;
}

.etb-blog-category {
    display: inline-flex;
    border: 1px solid var(--etb-blog-ink);
    border-radius: 999px;
    padding: .28rem .75rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--etb-blog-ink);
    text-decoration: none;
}

.etb-article-header {
    padding: clamp(3rem, 7vw, 6.5rem) 0 2rem;
}

.etb-article-title {
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 1050px;
}

.etb-article-lead {
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    color: var(--etb-blog-muted);
    max-width: 850px;
}

.etb-article-cover {
    width: 100%;
    max-height: 720px;
    object-fit: cover;
    border-radius: 20px;
    background: var(--etb-blog-soft);
}

.etb-article-content {
    max-width: 840px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
}

.etb-article-content h2,
.etb-article-content h3,
.etb-article-content h4 {
    line-height: 1.2;
    margin-top: 2.2em;
    margin-bottom: .7em;
}

.etb-article-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.etb-article-content h3 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.etb-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.etb-article-content blockquote {
    border-left: 4px solid #111;
    padding: 1rem 1.4rem;
    margin: 2rem 0;
    background: var(--etb-blog-soft);
    font-size: 1.12em;
}

.etb-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.etb-article-content th,
.etb-article-content td {
    border: 1px solid var(--etb-blog-line);
    padding: .75rem;
    vertical-align: top;
}

.etb-blog-empty {
    border: 1px dashed #bbb;
    border-radius: 18px;
    padding: 4rem 2rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .etb-article-content {
        font-size: 1rem;
    }
}
