/* ── WML-Style Magazine Stylesheet ── */

body {
    font-family: 'Georgia', serif;
}

.site-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Site title ── */
.site-title a {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #111;
    text-decoration: none;
}

/* ── Navigation ── */
.main-navigation {
    border-bottom: 2px solid #111;
}

.main-navigation ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.main-navigation a {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navigation a:hover {
    color: #c0392b;
}

/* ── Hero grid ── */
.wml-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background: #ddd;
    margin: 1px 0 24px;
}

.wml-hero-main {
    grid-row: 1 / 3;
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.wml-hero-main .wp-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.wml-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 48px 24px 24px;
}

.wml-hero-overlay .wml-cat-tag {
    background: #c0392b;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.wml-hero-overlay h2 {
    color: #fff;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.wml-hero-overlay h2 a {
    color: #fff;
    text-decoration: none;
}

.wml-hero-overlay .wml-excerpt {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-family: sans-serif;
}

/* ── Hero side cards ── */
.wml-side-card {
    background: #fff;
    padding: 16px;
    overflow: hidden;
}

.wml-side-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
}

.wml-side-card .wml-cat-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c0392b;
    font-weight: 700;
    font-family: sans-serif;
    display: block;
    margin-bottom: 4px;
}

.wml-side-card h3 {
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
}

.wml-side-card h3 a {
    color: #111;
    text-decoration: none;
}

.wml-side-card h3 a:hover {
    color: #c0392b;
}

/* ── Section headers ── */
.wml-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 3px solid #111;
    padding-top: 10px;
    margin: 28px 0 16px;
}

.wml-section-header h2 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0;
}

.wml-section-header a {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    font-family: sans-serif;
}

.wml-section-header a:hover {
    color: #c0392b;
}

/* ── Article cards ── */
.wml-article-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.wml-article-card .wml-cat-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c0392b;
    font-weight: 700;
    font-family: sans-serif;
    display: block;
    margin: 10px 0 4px;
}

.wml-article-card h3 {
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.wml-article-card h3 a {
    color: #111;
    text-decoration: none;
}

.wml-article-card h3 a:hover {
    color: #c0392b;
}

.wml-article-card .wml-card-meta {
    font-size: 12px;
    color: #888;
    font-family: sans-serif;
}

.wml-article-card .wml-card-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin-top: 6px;
    font-family: sans-serif;
}

/* ── Grids ── */
.wml-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.wml-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wml-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ── Divider ── */
.wml-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 28px 0 0;
}

/* ── Newsletter block ── */
.wml-newsletter {
    background: #111;
    padding: 40px;
    text-align: center;
    margin: 32px 0;
}

.wml-newsletter h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}

.wml-newsletter p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 20px;
    font-family: sans-serif;
}

.wml-newsletter input[type="email"] {
    padding: 10px 14px;
    font-size: 14px;
    border: none;
    width: 260px;
    font-family: sans-serif;
}

.wml-newsletter button {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    font-family: sans-serif;
}

.wml-newsletter button:hover {
    background: #a93226;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .wml-hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .wml-hero-main {
        grid-row: auto;
        min-height: 300px;
    }
    .wml-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wml-grid-4,
    .wml-grid-3,
    .wml-grid-2 {
        grid-template-columns: 1fr;
    }
    .wml-hero-overlay h2 {
        font-size: 20px;
    }
}