:root {
    --text-colour: #222222;
    --accent-colour: rgb(255, 0, 106);
    --bg-colour: #f7f7f7f5;
    --paper-colour: #D4B186;
    --red-highlight: #ef9d9d5c;
    --blue-highlight: #9DD4EF5c;
    --green-highlight: #97eb8f5c;
    --yellow-highlight: #ecef9d5c;
    --pink-highlight: #EF9DE75c;
}

header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr;
    margin: 2rem;
}

header>:first-child {
    grid-column: 1;
}

header>:nth-child(2) {
    grid-column: 2;
    place-self: center;
    width: fit-content;
    height: fit-content;
    text-align: center;
    text-transform: uppercase;
    font-size: 75px;
    letter-spacing: 15%;
    padding: 0 18px;
    background-color: var(--paper-colour);
}

.main-content {
    margin: auto;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tape-bar:last-child {
    transform: rotateY(180deg);
}

.article-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 1rem 0;
}

.post-link {
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 95%;
    height: 175px;
    box-shadow: 0 2px 6px #00000016;
    border: 2px solid #303030;
    border-radius: 10px;
    background-color: whitesmoke;
    will-change: transform;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 9px #0000001f;
}

.post-info {
    position: relative;
    grid-column: 1;
    padding: 1rem 0.5rem 0.5rem 1rem;
}

.post-title {
    letter-spacing: 5%;
    line-height: 78%;
    text-transform: uppercase;
    font-size: 48px;
}

.post-blurb {
    margin-top: 9px;
    font-size: 24px;
    letter-spacing: 3%;
}

.post-bottom {
    position: absolute;
    bottom: 10px;
    width: 95%;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    line-height: 22px;
}

.post-tags {
    display: flex;
    gap: 10px;
    list-style-type: none;
}

.post-tags>* {
    background-color: var(--red-highlight);
    padding: 0 4px;
    border-radius: 1px;
}

.post-thumbnail {
    grid-column: 2;
    background-color: #C8C8C8;
    width: 300px;
    height: 145px;
    border-radius: 10px;
    position: relative;
    margin-top: 0.5rem;
    margin-right: 1.5rem;
}

.post-thumbnail::before {
    content: "";
    background-color: var(--paper-colour);
    width: 300px;
    height: 145px;
    position: absolute;
    top: 10px;
    left: 11px;
    z-index: -1;
}

.red {
    background-color: var(--red-highlight);
}

.blue,
.design {
    background-color: var(--blue-highlight);
}

.green,
.figma {
    background-color: var(--green-highlight);
}

.yellow {
    background-color: var(--yellow-highlight);
}

.pink,
.technical {
    background-color: var(--pink-highlight);
}