.content-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ad-placeholder {
    flex: 1;
    /* Adjust as needed */
    margin: 0 20px;
    /* position: fixed; */

}

.article-content {
    flex: 3;
    /* Adjust as needed */
}

summary {
    list-style: none;
    /* margin: 5px; */
}

#dates {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

#social-box {
    margin-top: 10px;
    margin-bottom: 10px;
    /* allign two a tags inline */
    display: flex;

}

#fb-root{
    margin-left: 5px;
}

.tag {
    align-self: flex-start;
    padding: .25em .75em;
    /* border-radius: 1em; */
    font-size: .75rem;
    font-weight: bold;
}

.tag+.tag {
    margin-left: .5em;
}

.tag-green {
    background: #009688;
    /* background: linear-gradient(to bottom, #2F80ED, #56CCF2); */
    color: #fafafa;
}

h5{
    border-bottom: 1px solid #999;
    /* height: 100%; */
    width: 40%;
    padding-bottom: 5px;
    margin-top: 40px;
} 
 #recommended-posts{

   margin-bottom: 40px;
}

/* links not marked as visited, but underlined on hover */
a:link {
   
    text-decoration: none;
    color: inherit;
}

.tag a {
    text-decoration: none;
    /* Remove underlines */
    color: inherit;
    /* Inherit text color from parent element */
}

#comment-button {
    color: white;
}

/* Style visited links */
.tag a:visited {
    color: inherit;
}

/* Style hovered links */
.tag a:hover {
    text-decoration: underline;
}

/* style total number of comments as a box */
#comments-total {
    display: inline-block;
    padding: 5px;
    border: 1px solid #999;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#social-paragraph {
   font-style: italic;
   font-weight: bold;
   font-family: 'Roboto', sans-serif;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #009688;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.contentful-image{
    /* add border */
    border: 1px solid #ccc;
    /* allign centrally with flex */
    margin: auto;
    margin-top: 30px;
    /* make image responsive */
    max-width: 100%;
    height: auto;
    display: block;
}

.card__image {
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

@media (min-width: 768px) {
    .card__image {
        max-width: 480px;
        display: inline;
    }
}

@media screen and (min-width: 768px) {
    .content-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .ad-placeholder {
        flex: 1;
        margin: 0 20px;
    }

    .article-content {
        flex: 3;
    }
}

@media screen and (max-width: 768px) {
    .ad-placeholder {
        display: none;
    }
}