* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F5F3F0;
    color: #1A1A1A;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10%;
    background-color: #ffffff;
}

.logo {
    font-weight: bold;
    font-size: 1.6rem;
    font-family: 'Georgia', serif;
}

nav {
    display: flex;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
}

.btn-subscribe {
    background: #1A1A1A;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 60px 10%;
    max-width: 900px;
}

.badge {
    font-size: 0.75rem;
    color: #888;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 8px 12px;
    display: inline-block;
    border: 1px solid #ccc;
}

.hero h1 {
    font-size: 3.5rem;
    font-family: 'Georgia', serif;
    margin: 15px 0;
}

.hero p {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 30px;
    max-width: 600px;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #C0392B;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.link-alt {
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 600;
}

/* Stories */
.latest-stories {
    padding: 60px 10%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #E0E0E0;
    padding-top: 15px;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: 'Georgia', serif;
    font-weight: bold;
}

.section-header a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.grid-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}
.card-img {
    width: 100%;
    height: 300px;
    border-radius: 0;
    margin-bottom: 0;
}

/* image colors */
.img1 { background-color: #d3b29c; }
.img2 { background-color: #92a7c9; }
.img3 { background-color: #b0ccb0; }

.category {
    font-size: 0.7rem;
    color: #C0392B;
    font-weight: bold;
    padding: 20px 20px 0 20px;
}

.card h3 {
    font-family: 'Georgia', serif;
    margin: 10px 0 5px 0;
    padding: 0 20px;
}

.card p {
    color: #999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    padding: 0 20px;
    font-size: 0.95rem;
    margin: 0;
}

.meta {
    font-size: 0.85rem;
    color: #777;
}

/* Footer */
.footer {
    background: #0A0A0A;
    color: #fff;
    padding: 35px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-left {
    max-width: 400px;
}

.footer .logo {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.footer .copyright {
    font-size: 0.85rem;
    color: #aaa;
}

/* Links styling */
.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

/* Dot separator */
.footer-links a:not(:last-child)::after {
    content: " ·";
    margin-left: 10px;
    color: #666;
}

/* Hover effect */
.footer-links a:hover {
    color: #fff;
}
/* Improved card styling */
.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
}
/* Hover effect */
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Meta layout */
.meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
    padding: 15px 20px 0 20px;
}

/* First card meta - keep at bottom */
.card:first-child .meta {
    margin-top: auto;
    padding: 0 20px 20px 20px;
}

/* Author section */
.author {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Avatar circle */
.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ccc;
}

/* Different avatar tones per card */
.card:nth-child(1) .avatar { background-color: #E1ddd7; }
.card:nth-child(2) .avatar { background-color: #E1ddd7; }
.card:nth-child(3) .avatar { background-color: #E1ddd7; }

.read-time {
    font-size: 0.8rem;
}
.card:first-child {
    flex: 2; /* bigger */
}
.card:nth-child(2),
.card:nth-child(3) {
    flex: 1; /* smaller */
}

/* Adjust image height for smaller cards */
.card:nth-child(2) .card-img,
.card:nth-child(3) .card-img {
    height: 150px;
}