* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f6f8f3;
    color: #172016;
}
.container { width: min(100% - 32px, 720px); margin: 0 auto; }
.hero {
    min-height: 100vh;
    display: grid;
    place-content: start center;
    padding-top: 48px;
    gap: 14px;
    background-image: url('../images/background_pupuk.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.eyebrow {
    color: #477b3f;
    font-weight: 700;
    letter-spacing: .04em;
}
h1 { margin: 0; font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.05; }
p { color: #5f685c; line-height: 1.7; }
.button {
    width: fit-content;
    display: inline-block;
    padding: 12px 18px;
    border-radius: 12px;
    background: #477b3f;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* Frontend Article List */

.article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.article-item {
    padding: 28px 0;
    border-bottom: 1px solid #e4e8e2;
}

.article-item:first-child {
    padding-top: 10px;
}

.article-item:last-child {
    border-bottom: 0;
}

.article-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.3;
}

.article-title a {
    color: #111b14;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-title a:hover {
    color: #3f7f3e;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.article-date {
    display: block;
    margin-bottom: 12px;
    color: #718076;
    font-size: 14px;
}

.article-preview {
    margin: 0 0 16px;
    max-width: 850px;
    color: #5f6d64;
    line-height: 1.7;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3f7f3e;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.article-read-more:hover {
    color: #2f6530;
    gap: 9px;
    text-decoration: none;
}

/* Footer Hero */
.footer-hero {
    margin-top: 14px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.footer-hero-link {
    display: block;
    color: #172016;
    font-weight: 700;
    text-decoration: none;
}

.footer-hero-link:hover {
    color: #3f7f3e;
    text-decoration: underline;
    text-underline-offset: 4px;
}
