* {
    --buzzfeed-red: #ee3322;
    --buzzfeed-blue: #0f65ef;
    --buzzfeed-pink: #f43192;
    --buzzfeed-yellow: #ffee00;
    --buzzfeed-black: #222;
    --buzzfeed-gray: #666;
    --buzzfeed-lightgray: #f4f4f4;
    
    font-family: proxima-nova, sans-serif;
    color: var(--buzzfeed-black);
    line-height: 1;
    
    --min-side-margin: 32px;
    --std-border-radius: 3px;
}

body {
    margin: 0;
    background: var(--buzzfeed-lightgray);
}

/**     NAVBAR     */
.navbar {
    background: white;
    width: 100%;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 32px;
}

.navbar-content {
    width: calc(100% - (var(--min-side-margin) * 2));
    max-width: 1130px;
    
    position: relative;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    
    padding: 15px 0;
}

.topbar {
    display: grid;
    grid-template-columns: 134px auto;
    padding-bottom: 15px;
}

.topbar .logo-container svg {
    width: 134px;
    fill: var(--buzzfeed-red);
}

.topbar .navbar-pages {
    --inner-padding: 40px;
    width: calc(100% - var(--inner-padding) * 2);
    max-width: 520px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    list-style: none;
    margin: 0;
    padding: 0 var(--inner-padding);
    padding-top: 5px;
}

.navbar-pages li a {
    font-weight: 600;
    font-size: 16px;
}

.navbar-pages li span,.trending-links li span {
    color: var(--buzzfeed-black);
    -webkit-transition: color 0.09s;
    transition: color 0.09s;
}
.navbar-pages li:hover span,.trending-links li:hover span {
    color: var(--buzzfeed-blue);
}

.bottombar::before {
    position: absolute;
    content: '';
    width: 100vw;
    height: 1px;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    background: #e3e3e3;
}

.bottombar {
    position: relative;
}

.bottombar .trending-links {
    padding: 15px 0 0;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.trending-links li {
    font-size: 14px;
    margin: 0 12px;
}


/**     MAIN STORY LIST CONTAINER    */
.main-body-container {
    width: calc(100% - (var(--min-side-margin) * 2));
    max-width: 1130px;
    
    position: relative;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    
    --column-gap: 24px;
    display: grid;
    grid-template-columns: [main-content-start] 65% [gap-start] 24px [side-bar-start] calc(35% - var(--column-gap));
}

.content-section {
    grid-column: main-content-start / gap-start;
    margin-bottom: 32px;
}

.content-card {
    background: #fff;
    border-radius: var(--std-border-radius);
    -webkit-box-shadow: 0 1px 2px 0 rgb(173, 168, 168, 0.2);
    box-shadow: 0 1px 2px 0 rgb(173, 168, 168, 0.2);
    margin-bottom: 8px;
}

.headline-content h2 {
    --content-padding: 24px;
    
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    padding: var(--content-padding);
    margin: 2px;
}

.headline-image-container {
    height: 232px;
}

.story-container {
    border: 1px solid rgba(0,0,0,0.1);
    min-height: 132px;
    max-height: 164px;
    height: auto;
    overflow: hidden;
    display: grid;
    grid-template-columns: [image-start] calc(100% / 3) [details-start] auto;
}

.story-container .preview-image-container {
    grid-column: image-start / details-start;
}

.story-container .article-details {
    grid-column: details-start;
    padding: 16px;
}

.article-details h4 {
    font-size: 22px;
    margin: 0 0 8px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

a:hover {
    color: var(--buzzfeed-blue);
}

.article-details p.story-preview-text {
    font-size: 16px;
    margin: 0 0 8px;
    line-height: 1.3;
    color: var(--buzzfeed-gray);
}

.article-details p.story-post-details, .story-post-details a {
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
    color: var(--buzzfeed-gray);
}

img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.side-section {
    grid-column: side-bar-start;
}