/* Top navbar brand image adjustments */
/* #top {
    padding-top: 1rem;
    padding-bottom: 1rem;
} */

.custom-logo {
    max-height: 5rem;
}

.navbar-is-sticky .custom-logo {
    max-height: 3.5rem;
}

/* Pagination */
.pagination .page-numbers {
    padding-right: 2.3em;
    padding-left: 2.3em;
}
@media (max-width: 1199px) {
    .page-numbers:not(.current):not(.next):not(.prev) {
        display: none;
    }
}

/* Sidebar links */
.sidebar-box-link {
    color: var(--clr-black); /* It comes from style.css */
}
.sidebar-box-link:hover {
    text-decoration: none;
}

/* About */
.team .entry-image a:before {
    content: "\f18e"; /* Remove icon when hovering */
}

/* Big episode display */
.featured-content {
    background-color: #181818;
    background-image: linear-gradient(
        to bottom,
        #181818 0%,
        #181818 70%,
        #414141 100%
    );
}

.latest-episode-image {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 1.5em;
}

/* md breakpoint */
@media (min-width: 576px) and (max-width: 992px) {
    .latest-episode-image img {
        display: block;
        margin: 0 auto;
        width: 60%;
    }
}

/* Social navigation */
.social-navigation a[href*="google.com"]:before {
    content: "\f34b";
}
.social-navigation a[href*="spotify.com"]:before {
    font: normal normal 400 24px/30px "Font Awesome 5 Brands";
    content: "\f1bc";
}
.social-navigation a[href*="feed.xml"]:before {
    content: "\f3ea";
}

/* Header tag styling */
.title-tag {
    background-color: #efefef;
    display: inline-block;
    padding: 0.1em 0.4em;
    margin-bottom: 0.4em;
    color: var(--clr-primary);
    border-radius: 5px;
}
.title-tag:before {
    content: "#";
    color: rgb(38, 38, 38);
    opacity: 0.3;
}

/* Tag cloud more tags button */
.more-tags {
    margin: 1.3rem 0 0 0;
    display: block;
}

/* Tag styling */
.tags-listing {
    text-align: center;
}

.tag {
    background-color: #efefef;
    display: inline-block;
    padding: 0.2em 0.5em;
    margin: 0 0.2em 0.5em;
    color: #262626;
    border-radius: 3px;
    text-decoration: none;
    transition: color 0.2s, background-color 0.2s;
}

.tag:before {
    content: "#";
    opacity: 0.5;
}
.tag:hover,
.tag:focus {
    text-decoration: none;
    background-color: #262626;
    color: #ffffff;
}

@media (min-width: 1200px) {
    .tag {
        padding: 0.4em 0.9em;
    }
}

/* Latest from youtube aspect ratio class */
.aspect-ratio-16-9 {
    width: 100%;
    padding-bottom: calc(100% * 9 / 16);
    position: relative;
}
.aspect-ratio-16-9 > * {
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
/* Latest from youtube styling */
.youtube-video {
    box-shadow: 0 0 8px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5em;
}
/* Spinner */
@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}
.spinner-border {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
    color: var(--clr-primary);
}

/* Instafeed responsiveness */

@media (max-width: 767px) {
    #instafeed:not(.gallery) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 425px) {
    #instafeed:not(.gallery) {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}

/* New padding class */
.padding-top {
    padding-top: 3rem;
}

.home #featured.padding-top,
.single-episode #featured.padding-top,
.single-post #featured.padding-top,
.error404 #featured.padding-top {
    padding-top: 8rem;
}

@media (min-width: 992px) {
    .padding-top {
        padding-top: 4rem;
    }

    .home #featured.padding-top,
    .single-episode #featured.padding-top,
    .single-post #featured.padding-top,
    .error404 #featured.padding-top {
        padding-top: 10rem;
    }
}

@media (min-width: 1200px) {
    .padding-top {
        padding-top: 5.3333rem;
    }

    .home #featured.padding-top,
    .single-episode #featured.padding-top,
    .single-post #featured.padding-top,
    .error404 #featured.padding-top {
        padding-top: 12rem;
    }
}
