/* ==========================================
   CHASING CITROENS
   CLEAN LAYOUT
   ========================================== */

.site {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */

.site-header {
    padding: 32px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-logo img {
    width: 72px !important;
    max-width: 72px !important;
    height: auto !important;
    display: block;
}

.site-title {
    margin: 0;
}

.site-description {
    margin: 4px 0 0;
    color: #666;
}

/* MAIN LAYOUT */

.site-main {
    display: block;
}

/* DESKTOP */

@media (min-width: 900px) {

    .site-main {
        display: grid;
        grid-template-columns: 1fr 260px;
        gap: 50px;
        align-items: start;
    }

    .posts,
    .pagination {
        grid-column: 1;
    }

    .primary-nav {
        grid-column: 2;
        grid-row: 1;
        position: sticky;
        top: 30px;
    }
}

/* MENU */

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav li {
    margin-bottom: 12px;
}

.primary-nav a {
    text-decoration: none;
}

.menu-toggle {
    display: none;
}

/* MOBILE */

@media (max-width: 899px) {

    .menu-toggle {
        display: block;
        margin-bottom: 10px;
    }

    .primary-nav ul {
        display: none;
    }

    .primary-nav.is-open ul {
        display: block;
    }
}

/* POSTS */

.posts,
.posts-list {
    display: block !important;
}

.post {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-bottom: 50px;
}

.post--featured {
    display: block !important;
}

.post-thumbnail {
    display: block;
    margin-bottom: 18px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.post-title {
    margin-top: 0;
}

.post-footer {
    margin-top: 12px;
}

/* PAGINATION */

.pagination {
    margin-top: 40px;
}

/* FOOTER */

.site-footer {
    clear: both;
    border-top: 1px solid #ddd;
    margin-top: 60px;
    padding: 24px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.posts-list .post {
    display: grid !important;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

.posts-list .post-thumbnail {
    margin-bottom: 0;
}