@import url('https://fonts.googleapis.com/css?family=Inter:100,200,300,400,500,600,700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+3:200,300,400,500,600,700,800,900,200i,300i,400i,500i,600i,700i,800i,900i&display=swap');

body {
    font-family:"Source Sans 3",Helvetica,sans-serif;
    color:var(--charcoal-400);
    line-height:1.15;
    font-size:16px;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    position: relative;
    padding: 0;
    margin: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


* {
    box-sizing: border-box;
}


html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    display: block;
    height: 100%;
    position: relative;
    font-size: 16px;
}

:root {
    --charcoal-400: #596169;
    --charcoal-500: #454a4f;
}

header  {
    position: relative;
    padding-top: 80px;
}

header > h1  {
    margin: 8px auto;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -.02em;
    padding: 0;
    line-height: 1.4;
    text-align: left;
    text-wrap: pretty;
}

h1 {
    padding: 0;
    font-family: Inter,Helvetica,sans-serif;
    font-weight: 600;
    line-height: 1.4;
    color: var(--charcoal-500);
    letter-spacing: -.02em;
    font-size: 2.25rem;
}

li {
    margin-bottom: 4px;
}

p, li {
    line-height: 1.6;
    font-family: "Source Sans 3", Helvetica, sans-serif;
    font-size: 1rem;
}

header > p {
    font-family: Inter, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: var(--charcoal-500);
    letter-spacing: -.02em;
    padding: 0;
    line-height: 1.4;
}

article img {
    margin-top: 16px;
    border-radius: 4px;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
}


a {
    text-decoration: none;
    color: #000;
}

a:hover {
    opacity: 0.9;
    text-decoration: underline;
    color: #000;
}

.note {
    border-left: 4px solid #ddd;
    padding-left: 12px;;
    color: #aaaaaa;
}

.main-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

.post {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.post-content {
    flex: 1;
    padding-right: 20px;
}

.post-image img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.category {
    font-size: 0.9em;
    color: #666;
}

.title {
    font-size: 1.4em;
    font-weight: bold;
    margin: 5px 0;
}

.description {
    color: #444;
    margin: 10px 0;
}

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

.meta span {
    margin-right: 15px;
}

.topics h3,
.recommended-staff-picks h3 {
    color: #000;
    font-size: 16px;
    margin-bottom: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    background-color: #eee;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    cursor: pointer;
}

.source {
    font-size: 0.85em;
    color: #555;
}

.recommended-title {
    font-weight: bold;
    margin: 4px 0;
}

.recommended-date {
    font-size: 0.85em;
    color: #888;
}

.recommended-author {
    font-weight: 500;
}

.mini-logo {
    max-width: 18px;
    max-height: 16px;
}

@media (min-width: 768px){
    article {
        max-width: 700px;
    }

    h1 {
        font-size: 3rem;
    }

    header  {
        min-height: 320px;
        margin-bottom: 80px;
    }

    header > h1  {
        margin-bottom: 0;
        font-size: 2.5rem;
    }

    header > p  {
        margin-top: 12px;
        font-size: 24px;
        line-height: 2.3rem;
    }
}

@media (min-width: 480px){
    h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    p {
        font-size: 0.875rem;
    }

    .title {
        font-size: 1.2rem;
    }
}

@media (max-width: 550px) {
   .post {
       flex-wrap: wrap;
   }

    .post-content {
        order: 2;
    }

    .post-image img {
        width: 100%;
        height: auto;
        order: 1;
        margin-bottom: 16px;
    }
}