.wrapping-container {
    display: flex;
    justify-content: space-between;
}
.wrapping-container section {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.main-content {
    padding: 2rem 0;    
}
.main-content section {
    padding: 0 1rem;
} 

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.post-wrapper {
    display: flex;
    gap: 4rem;
    flex-direction: row;
    align-items: flex-start;
}
.post-wrapper .post-content {

}
.post-wrapper .sidebar {
    min-width: 240px;
    position: sticky;
    top: 6rem;
    background: var(--bg-color-contrast);
    border-radius: 12pt;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.post-wrapper .sidebar h4 {
    margin: 0;
    font-size: 1.125rem;
}
.post-wrapper .sidebar ul {
    padding-left: 1rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.post-wrapper .sidebar li {
    list-style: none;
}

.post-wrapper img {
    max-width: 100%;
}

.info-box {
    margin: 1rem 0;
    padding: 1.5rem;
    border: 3px solid var(--border-color);
    border-radius: 6px;
}
.info-box h3 {
    margin-top: 1rem;
}


.note-block, blockquote {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 6pt;
    border: 1pt solid var(--note-border-color);
    background: var(--note-bg-color);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    padding-left: 3.5rem;
}
.note-block img, blockquote img {
    width: 1.75rem;
}
.note-block p, blockquote p {
    margin: 0;
}
blockquote:before {
    content: "";
    display: block;
    height: 1rem;
    left: 1rem;
    width: 1rem;
    position: absolute;
    top: 1.5rem;
    z-index: 3;
    background-image: url(/wp-content/themes/tech-blog/tech-blog/assets/images/note-icon.svg);
    width: 1.5rem;
    height: 1.5rem;
}

.card-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.card-container.wrap {
    flex-wrap: wrap;
}
.card-container.wrap .card {
    box-sizing: border-box;
    flex-grow: 1;
    flex-basis: calc(50% - 2rem);
}
.page-banner .card {
    background: var(--bg-color);
}
.card {
    background: var(--bg-color-contrast);
    padding: 1rem;
    border-radius: 12pt;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
}
.card h3 {
    font-size: 1.75rem;
    margin: 0 0 1rem 0;
    margin: 0;
}
.card p {
    margin: 0;
}
.card .card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

section {
    padding: 3rem 0;
}

.page-banner {
    background: var(--bg-color-contrast);
    padding: 4.5rem 0;
}
.banner-heading {
    text-align: center;
    margin: 2rem;
}
.banner-heading p, .banner-heading h1 {
    margin: 0;
}
.page-banner .card-container {
    margin: 2rem 0;
}

.featured-resource {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 3rem 1rem;
}

div.error-404 {
    margin: 2rem;
}
h1.error-404 {
    font-size: 8rem;
    font-weight: bolder;
    margin: 0;
    line-height: 100%;
}
.error-404 {
    text-align: center;
}
.error-404 .error-heading {
    font-weight: bold;
    font-size: 1.125rem;
}


/* Post Cards */
.post-card {
    padding: 1rem;
    border: 1px solid #fff;
    border-radius: 1rem;
}