:root {
    --accent: #0a7d45;
    --bg: #f7f8f9;
    --text: #1d1d1f;
    --muted: #6b6b6f;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}
.site-header {
    background: #fff;
    border-bottom: 1px solid #e4e6ea;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}
.brand {
    font-weight: 700;
    font-size: 1.25rem;
}
.main-nav a {
    margin-right: 1rem;
    font-weight: 500;
}
.search-form input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d0d3d8;
    border-radius: 6px;
}
.hero {
    background: linear-gradient(135deg, rgba(10,125,69,0.1), rgba(10,125,69,0.02));
    padding: 3rem 0;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}
.post-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin: 1.5rem 0;
}
.post-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.read-more {
    margin-top: auto;
    font-weight: 600;
}
.site-footer {
    background: #0a0a0f;
    color: #fff;
    padding: 2.5rem 0;
    margin-top: 3rem;
}
.footer-layout {
    display: grid;
    gap: 2.5rem;
}
.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}
.site-footer a { color: #9de2bd; }
.footer-latest h2 {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}
.footer-latest__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-latest__list li a {
    color: #fff;
    font-weight: 500;
}
.footer-latest__list li a:hover {
    color: #9de2bd;
}
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.post-body table th,
.post-body table td { border: 1px solid #d0d3d8; padding: 0.75rem; }
.post-tags { list-style: none; padding: 0; display: flex; gap: 0.75rem; }
.post-tags a { background: #eef5f0; padding: 0.35rem 0.75rem; border-radius: 999px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0 2rem; }
.tag { background: #fff; padding: 0.5rem 0.9rem; border-radius: 999px; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; padding: 2rem 0; }
.button { background: var(--accent); color: #fff; padding: 0.75rem 1.5rem; border-radius: 999px; display: inline-block; }
@media (max-width: 640px) {
    .site-header .container { flex-direction: column; align-items: flex-start; }
    .search-form { width: 100%; }
    .search-form input { width: 100%; }
}

.amc-page {
    margin: 2.5rem auto;
}

.amc-ad {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
}

.amc-ad__label {
    align-self: flex-start;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.amc-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amc-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    color: inherit;
    text-decoration: none;
}

.amc-card__figure {
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
    background: #101010;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amc-card__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.amc-card__title {
    font-weight: 600;
    text-align: center;
}

.amc-card:hover .amc-card__figure {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

@media (max-width: 768px) {
    .amc-ad {
        display: flex;
    }
}

.amc-card__message {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

