.core-main {
    flex: 1 1 auto;
    margin: 0 10px 0 10px;
}

.grid-blog {
    display: grid;
    grid-template-columns: repeat(12, minmax(100px, 1fr));
    grid-auto-rows: minmax(0, auto);
    grid-auto-flow: row;
    justify-items: stretch;
    align-items: stretch;
    column-gap: 20px;
    row-gap: 10px;
}

.core-menu {
    grid-column: span 2;
    grid-row: span 4;
    padding: 0 20px 0 20px;
    font-size: var(--fs-400);
}

.core-hero {
    grid-column: span 6;
    grid-row: span 5;
    background: url(../../../../static/images/fanhub-entry-zone-1.png) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    & h1 span {
        text-decoration: overline;
    }

    & p {
        padding: 20px;
        color: transparent;
    }
}

.core-featured-1 {
    grid-column: span 4;
    grid-row: span 5;
    background: url(../../../../static/images/hero_banner_slipknot.png) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#moderator-section,
#playlists-preview {
    color: white;
    text-decoration: none;
}

#moderator-section:hover {
    color: red;
    -webkit-box-shadow: 0px 0px 6px 6px white;
    box-shadow: 0px 0px 6px 6px white;
}


#playlists-preview:hover {
    color: red;
    -webkit-box-shadow: 0px 0px 6px 6px white;
    box-shadow: 0px 0px 6px 6px white;
}

.core-featured-2 {
    grid-column: 1 / span 2;
    grid-row: 5 / span 6;
    background: url(../../../../static/images/slipknot-spacecraft-surface.png) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    opacity: 0.8;
}

.title-and-messages {
    grid-column: span 10;
    align-self: end;
    letter-spacing: 5px;

    & li {
        list-style-type: none;
    }
}

.pagination {
    color: white;
    text-align: center;
    letter-spacing: 2px;

    & a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.current {
    padding-left: 10px;
    padding-right: 10px;
}

.playlist-card-home {
    grid-column: span 2;
    grid-row: 7 / span 3;
    background-color: rgba(26, 29, 32, 0.7);
    border-radius: 5px;
    -webkit-box-shadow: 0px 0px 13px 3px #000000;
    box-shadow: 0px 0px 13px 3px #000000;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;

    & img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        border-radius: 5px;
    }
}

.playlist-card--content {
    width: 100%;

    & a {
        width: 100%;
        font-size: var(--fs-400);
        font-weight: var(--fw-500);
        background-color: black;
        text-decoration: underline;
        padding-bottom: 5px;
    }

    & a:hover {
        background-color: rgba(0, 0, 0, 0.449);
        border: 2px solid red;
    }

    & p {
        font-weight: var(--fw-300);
        font-size: var(--fs-300);
    }
}

.playlist-card--content > * {
    padding: 10px 0 0 15px;
}

/* Footer on the home page */
.home-footer {
    grid-column: 3 / span 10;
    background-color: black;
    padding: 10px 30px;
    align-items: center;
}

/* Playlist detail view */

.featured-image {
    max-width: 600px;

    & img {
        max-width: 100%;
        height: auto;
    }
}

#playlist-author-avatar {
    max-width: 40px;

    & img {
        width: 100%;
        object-fit: contain;
    }
}

.playlist-description {
    max-width: 60ch;
}

.playlist-items-container {
    & h2 {
        padding-bottom: 20px;
    }

    & ul {
        text-align: left;
        max-width: 80ch;
        list-style-position: inside;
    }

    & li {
        list-style-type: treble-clef;
        padding-bottom: 10px;
        position: relative;
    }

    & li::marker {
        font-size: 1.7em;
    }
}

.playlist-item--field-title {
    color: red;
    text-decoration: underline dashed red 1px;
    padding-bottom: 7px;
}

.playlist-item {
    & div {
        padding-bottom: 20px;
    }
}

.pop-down {
    position: absolute;
    max-width: 80dvw;
    width: 150%;
    padding: 20px 40px;
    top: 50px;
    right: -30px;
    background-color: black;
    border-radius: 5px;
    display: none;
    z-index: 99;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

.pop-down.show {
    display: block;
}

.nav-toggle--label {
    padding: 15px;
    font-size: 1.2em;
}

.nav-toggle--label:hover {
    font-size: 1.5em;
    border: 1px solid red;
}

.text-description p {
    padding-bottom: 8px;
}

.grid-post-detail,
.playlist-comment {
    padding: 20px 20px 40px 20px;
}

.playlist-comment {
    & h2 {
        text-align: center;
        margin-bottom: 30px;
    }
}

.comment-content {
    max-width: 60ch;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.7);
}

.label-for-comments {
    padding: 10px 0;
}

.comment-form-container {
    align-self: start;
    margin-top: 20px;
}

.add-comment-form {
    & label {
        display: block;
        margin-bottom: 5px;
    }

    & p {
        margin-bottom: 20px;
    }

    & textarea {
        width: clamp(200px, 80vw, 400px)
    }
}

.likes {
    padding: 5px 9px;
    border-radius: 50%;
    margin-top: 5px;
    font-size: 125%;
}

.likes:hover {
    background-color: dimgray;
}

.likes-comment {
    padding: 3px 6px;
    border-radius: 50%;
    margin-top: 5px;
}

.likes-comment:hover {
    background-color: dimgray;
}

.close {
    font-size: 2em;
    cursor: pointer;
    text-align: right;
}

#deleteConfirm {
    padding: 6px 20px;
    margin-top: 20px;
    font-size: var(--fs-500);
    font-weight: var(--fw-500);
    border-radius: 10px;
}

#deleteConfirm:hover,
#deleteConfirm:focus,
#deleteConfirm:active {
    background-color: black;
}


/* Author profile presentation styles */
#fanhub-presentation {
    max-width: 1600px;
    margin-inline: auto;

    & img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    & b {
        color: red;
    }
}

#fanhub-presentation:last-child {
    max-width: 220ch;
    & div {
        padding: 10px;
    }
}

#playlist-full-list {
    & a {
        font-size: var(--fs-500);
        padding-bottom: 10px;
    }

    & li {
        padding: 20px 0;
    }

    & p {
        padding-bottom: 5px;
    }
}

/* moderator section */

.policy-quidelines {
    padding-top: 30px;
    line-height: 2;
    max-width: 100ch;
}


/* Media Queries */
@media (max-width: 1600px) {

    .grid-blog {
        grid-template-columns: repeat(10, 1fr);
    }

    .core-menu {
        grid-column: span 10;
        grid-row: span 1;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        font-size: var(--fs-500);
        padding: 7px 0;

        & div {
            background-color: #000000cb;
            border: 0.5px solid white;
            border-radius: 5px;
            width: 230px;
            text-align: center;
        }
    }

    .core-featured-2 {
        grid-column: 1 / span 2;
        grid-row: 2 / span 5;
    }

    .core-hero {
        grid-column: span 5;
        grid-row: span 5;
    }

    .core-featured-1 {
        grid-column: span 3;
        grid-row: span 5;
    }

    .title-and-messages {
        grid-column: span 10;
        grid-row-start: 7;
    }

    .playlist-card-home {
        grid-column: span 2;
        grid-row-start: 8;
    }

    .home-footer {
        grid-column: span 10;
    }

    #fanhub-presentation {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 1250px) {
    .grid-blog {
        grid-template-columns: repeat(6, 1fr);
    }

    .core-menu :nth-child(3) {
        display: none;
    }

    .core-menu {
        grid-column: span 6;
    }

    .core-hero {
        display: none;
    }

    .core-featured-1 {
        grid-column: span 6;
        grid-row: 2 / span 1;
        border: 0.8px solid white;
        padding: 5px;
    }

    .title-and-messages {
        grid-column: span 6;
        grid-row-start: 3;
    }

    .core-featured-2 {
        grid-column: 1 / span 2;
        grid-row: 4 / span 3;
    }

    .playlist-card-home {
        grid-column: span 2;
        grid-row-start: 4;
    }

    .home-footer {
        grid-column: span 6;
    }

    .core-main :nth-last-child(4),
    .core-main :nth-last-child(3),
    .core-main :nth-last-child(2) {
        grid-row-start: 7;
    }

    #fanhub-presentation {
        align-items: start;
    }
}

@media (max-width: 780px) {
    .grid-blog {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    #round-about {
        display: none;
    }

    .core-menu {
        grid-column: 1 / span 4;
        grid-row: 1 / span 1;
    }

    .core-featured-1 {
        grid-column: 1 / span 4;
        grid-row: 2 / span 1;
    }

    .title-and-messages {
        grid-column: 1 / span 4;
        grid-row: 3 / 4;
    }

    .core-featured-2 {
        grid-column: 1 / span 2;
        grid-row: 4 / span 3;
    }

    .playlist-card-home {
        grid-column: span 2;
        padding-bottom: 10px;
    }

    .home-footer {
        grid-column: span 4;
        grid-row-start: 13;
    }

    .core-main :nth-last-child(6) {
        grid-column: 3 / span 2;
        grid-row-start: 4;
    }

    .core-main :nth-last-child(5),
    .core-main :nth-last-child(4) {
        grid-row-start: 7;
    }

    .core-main :nth-last-child(3),
    .core-main :nth-last-child(2) {
        grid-row-start: 10;
    }
}

@media (max-width: 600px) {
    #round-about {
        display: none;
    }

    .core-menu {
        font-size: var(--fs-400);

        & .nav-item {
            width: 150px;
        }

        & .navigation-btn {
            padding: 5px 10px;
        }
    }

    .core-featured-1 {
        & h2 {
            font-size: var(--fs-500);
        }

        & p {
            font-size: var(--fs-400);
        }

        opacity: 0.8;
    }

    .core-featured-2 {
        grid-column: 1 / span 4;
        grid-row: 19 / span 1;
    }

    .playlist-card-home {
        grid-column: span 4;
    }

    .home-footer {
        grid-column: span 4;
        grid-row-start: 20;
    }

    .core-main :nth-last-child(6) {
        grid-column: span 4;
        grid-row-start: 4;
    }

    .core-main :nth-last-child(5) {
        grid-row-start: 7;
    }

    .core-main :nth-last-child(4) {
        grid-row-start: 10;
    }

    .core-main :nth-last-child(3) {
        grid-row-start: 13;
    }

    .core-main :nth-last-child(2) {
        grid-row-start: 16;
    }

    .playlist-item audio {
        padding-left: 0;
        max-width: 100%;
    }

    .playlist-item {
        padding: 10px;
        top: 80px;
    }
}