/*
 * Theme Name: Angry Metal Guy
 * Description: Angry Metal Guy theme
 * Author: Sam Lade
 * Template: bento
 * Version: 0.0.196
 * License: GNU General Public License v3 or later
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain: angrymetalguy
 */

/*
 * Documenting the manual configuration steps made here:
 * Disable the "amg-randomise-banner" plugin, it's no longer needed.
 * Set favicon.
 * Disable "author block below posts"
 * Set content width to 1020
 * Layout to "boxed"
 * Menu to "top, centered"
 * Set background image, centre, original size, repeat, don't scroll
 * Fonts: Body is Lato; Header/Menu is Catamaran; Menu text size is 18
 * Header colours: "text color on hover" based on background
 * Content colours: "content area background" white, "link text" as above
 * Remove aligncenter from sidebar widgets
 */
.site-content {
    padding-top: 4rem;
}

.site-content header.entry-header .entry-meta,
.site-content header.entry-header .entry-meta>a,
.site-content header.entry-header .entry-meta>span>a {
    color: #999;
    font-size: 1.1rem;
}

p {
    font-size: 15.5px;
}

h1 {
    font-size: 3em;
}

.mobile-menu-trigger {
    width: 2.4rem;
}

.logo {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -4rem;
    width: 100%;
}

.logo img,
.logo a {
    width: 100%;
}

.entry-header .entry-title a {
    color: #333;
}

.site-content .entry-header .entry-meta .authorname>a {
    color: #993300;
    font-weight: bold;
}

h1,h2 {
    margin-bottom: 0;
    overflow-wrap: break-word;
}

.entry-header-single {
    margin-bottom: 2rem;
}

.entry-next-prev {
    display: flex;
    /*flex-wrap: wrap;*/
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.entry-next-prev-mobile .entry-next,
.entry-next-prev-mobile .entry-prev {
    width: 50%;
}

.entry-next-prev-mobile .entry-next a,
.entry-next-prev-mobile .entry-prev a {
    border: 1px solid #333;
    border-radius: 0.5rem;
    padding: 1rem 0rem;
    text-align: center;
    width: 100%;
    display: inline-block;
    font-weight: bold;
}

.entry-next {
    margin-left: 1rem;
}

.entry-left {
    margin-right: 1rem;
}

.pagination {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pagination .pagination-break {
    height: 0;
    width: 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
}

.pagination .page-numbers.dots {
    padding-left: 0;
    padding-right: 0;
    margin-right: 0.3rem;
    margin-left: 0.3rem;
}

.pagination .page-numbers.current {
    margin-right: 0.3rem;
    margin-left: 0.3rem;
}

.pagination .nav-links a.page-numbers {
    font-size: 1.4rem;
    margin-right: 0.3rem;
    margin-left: 0.3rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.blog article,
.search article,
.archive article{
    padding-left: 0;
    margin-bottom: 3rem;
}

.blog .post-thumbnail,
.search .post-thumbnail,
.archive .post-thumbnail {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-right: 2rem;
}

.blog .entry-full,
.search .entry-full,
.archive .entry-full {
    flex-shrink: 1;
}

.blog .entry-content,
.search .entry-content,
.archive .entry-content {
    text-align: justify;
}

@media screen and (max-width: 68.75em) {
    /* disable for screens too narrow to see it */
    body.custom-background {
        background-image: none !important;
    }
}

@media screen and (min-width: 48em) {
    .blog .post-thumbnail,
    .search .post-thumbnail,
    .archive .post-thumbnail {
        width: 250px;
    }

    .blog article,
    .search article,
    .archive article {
        display: flex;
    }

    .entry-next-prev-mobile {
        display: none;
    }

    .header-centered header.site-header {
        padding-top: 0;
    }

    .right-sidebar .sidebar {
        width: 25rem;
        padding-left: 5rem;
    }

    .right-sidebar .content {
        width: calc(100% - 25rem);
    }

    .twocolumn {
        display: flex;
    }

    .twocolumn>div {
        flex: 1 1 50%;
        margin: 0 5px;
    }

    .twocolumn .spotify {
        align-self: stretch;
        display: flex;
        flex-direction: column;
    }

    .twocolumn iframe {
        flex-grow: 1;
    }
}

@media screen and (max-width: 48em) and (min-width: 10em) {
    .spotify iframe {
        height: 500px;
        width: 100%;
    }
    .blog .post-thumbnail,
    .search .post-thumbnail,
    .archive .post-thumbnail {
        width: 100%;
    }

    .site-main .entry-content img.alignleft:not(.ranking) {
        width: 100%;
        float: none;
    }

    .site-main .entry-content img.alignright:not(.ranking) {
        width: 100%;
        float: none;
        margin-left: 0;
    }

    .entry-next-prev-desktop {
        display: none;
    }

    .pagination .prev {
        order: 100;
    }
    .pagination .next {
        order: 101;
    }
    .pagination .nav-links a.page-numbers.next,
    .pagination .nav-links a.page-numbers.prev {
        border: 1px solid #333;
        border-radius: 0.5rem;
        padding: 1rem 0rem;
        text-align: center;
        flex-grow: 1;
    }

    .pagination .nav-links a.page-numbers.next {
        margin-right: 0;
    }

    .pagination .pagination-break {
        order: 99;
        height: 0;
        flex-basis: 100%;
    }
}

@media screen and (min-width: 64em) {
    header .bnt-container {
        max-width: 110rem;
        margin: 0;
    }

    .bnt-container {
        max-width: min(102rem, 90vw);
        padding: 0;
    }
}

/* Override Bento's weird slightly-wider layout for big screens */
@media screen and (min-width: 120em) {
    div.bnt-container {
        max-width: 102rem;
    }
    header .bnt-container {
        max-width: 110rem;
    }
    div.site-wrapper {
        max-width: 110rem;
    }
}

.entry-content select {
    appearance: menulist;
}

.mobile-menu-close:before,
.ham-menu-close:before {
    content: "x";
    font-family: "sans-serif";
}

.sidebar .widget_block {
    margin-bottom: 25px;
}

.sidebar .widget_media_image {
    margin-bottom: 0px;
}

.sidebar .widget_media_image figure {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.wp-block-search__inside-wrapper {
    display: flex;
}
.wp-block-search__button {
    margin: 0.6rem 0;
    border: none;
    background-color: black;
    fill: white;
}

/* hack lol */
.blogroll {
    font-size: 0;
}
.blogroll a {
    font-size: 1.4rem;
}

.widget_40 {
    text-align: center;
    border: 1px solid black;
    border-radius: 5px;
    max-width: 20rem;
    overflow: hidden;
}
.widget_40_header {
    background: green;
    color: white;
    font-size: 120%;
}
.widget_40_days {
    font-size: 200%;
    margin-top: 0.5rem;
}
.widget_40_days a {
    border: 1px solid black;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: cursive;
}

.im-feeling-angry {
    width: 100%;
}
.im-feeling-angry > a.wp-block-button__link {
    color: white;
    border-radius: 0;
    display: block;
    text-align: center;
    font-size: 14px;
    background-color: black;
}
.sidebar .widget_block.widget_search {
    margin-bottom: 0;
}
