* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f7f7f5;
    color: #171717;

    font-family: Arial, Helvetica, sans-serif;
}

header {
    max-width: 1200px;
    margin: auto;
    padding: 42px 24px 24px;

    border-bottom: 3px solid #111;
}

header h1 {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 3.5rem;
    letter-spacing: -0.06em;
}

header p {
    margin: 6px 0 0;
    color: #777;
}

/* -------------------------
   MAIN
------------------------- */

main {
    max-width: 1200px;
    margin: auto;
    padding: 28px 24px 60px;
}


/* -------------------------
   FRONT PAGE
------------------------- */

.front {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;

    padding-bottom: 32px;
    border-bottom: 2px solid #111;
}


/* LEAD */

.lead-story img {
    width: 100%;
    height: 380px;
    object-fit: cover;

    margin-bottom: 14px;
}

.lead-story h2 {
    margin: 8px 0 12px;

    font-family: Georgia, serif;
    font-size: 2.6rem;
    line-height: 1.04;
}

.lead-story h2 a {
    color: inherit;
    text-decoration: none;
}

.lead-story p {
    max-width: 700px;

    margin: 0;

    color: #555;
    font-family: Georgia, serif;
    font-size: 1rem;
    line-height: 1.5;
}


/* SIDE STORIES */

.side-stories {
    border-left: 1px solid #ccc;
    padding-left: 24px;
}

.side-stories article {
    padding-bottom: 14px;
    margin-bottom: 14px;

    border-bottom: 1px solid #ccc;
}

.side-stories article:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.side-stories h3 {
    margin: 5px 0 0;

    font-family: Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.15;
}

.side-stories a {
    color: inherit;
    text-decoration: none;
}


/* -------------------------
   META
------------------------- */

.meta {
    color: #777;

    font-size: .68rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.masthead-meta {
    margin-bottom: 8px;

    color: #777;
    font-size: .65rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .1em;
}


/* -------------------------
   SECTION TITLE
------------------------- */

.section-title {
    margin: 32px 0 18px;
    padding-bottom: 8px;

    border-bottom: 1px solid #111;

    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}


/* -------------------------
   STORY GRID
------------------------- */

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 24px;
}

.story-grid article {
    padding-bottom: 24px;
    border-bottom: 1px solid #ccc;
}

.story-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;

    margin-bottom: 12px;
}

.story-grid h3 {
    margin: 7px 0 8px;

    font-family: Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.12;
}

.story-grid h3 a {
    color: inherit;
    text-decoration: none;
}

.story-grid p {
    margin: 0;

    color: #555;
    font-family: Georgia, serif;
    font-size: .88rem;
    line-height: 1.45;
}


/* -------------------------
   LATEST NEWS
------------------------- */

.latest-news {
    margin-top: 40px;
}

.latest-item {
    display: grid;
    grid-template-columns: 60px 130px 1fr;
    gap: 12px;

    padding: 11px 0;

    border-bottom: 1px solid #ddd;

    color: inherit;
    text-decoration: none;
}

.latest-item time {
    color: #888;
    font-size: .75rem;
}

.latest-source {
    font-size: .72rem;
    font-weight: bold;
    text-transform: uppercase;
}

.latest-title {
    font-family: Georgia, serif;
    font-size: .95rem;
}

.latest-item:hover .latest-title,
.lead-story a:hover,
.side-stories a:hover,
.story-grid a:hover {
    text-decoration: underline;
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 700px) {

    .front {
        grid-template-columns: 1fr;
    }

    .lead-story img {
        height: 240px;
    }

    .lead-story h2 {
        font-size: 2rem;
    }

    .side-stories {
        padding-left: 0;
        border-left: 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .latest-item {
        grid-template-columns: 50px 90px 1fr;
    }

}


.categories {
    max-width: 1200px;
    margin: auto;
    padding: 12px 24px;

    display: flex;
    gap: 24px;

    border-bottom: 1px solid #ccc;
}

.categories a {
    color: #222;
    text-decoration: none;

    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.categories a:hover {
    text-decoration: underline;
}