/*
    Theme Name: Slowtwitch News Theme
    Description: Slowtwitch's Custom Theme for their News website
    Text Domain: Slowtwitch
    Version: 2.3.1
    Author: Ross Trottier & Carly Beal
*/

/*
============================
CSS RESETS + GLOBALS
============================
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-size: 1.25rem;
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    overflow-anchor: none;
}

input,
button,
textarea,
select {
    font: inherit;
}

/*
============================
TYPOGRAPHY
============================
*/

h1 {
    font-size: 3rem;
}

/*
============================
LAYOUT
============================
*/

.st-main-grid {
    display: grid;
    grid-template-columns: minmax(1em, 1fr) minmax(260px, 725px) minmax(1em, 1fr);

    @media (min-width: 760px) {
        grid-template-columns: minmax(1em, 1fr) minmax(500px, 1400px) minmax(1em, 1fr);
    }
}

.st-main-grid>* {
    grid-column: 2;
}

/*
============================
SECTIONS
============================
*/

/* #region Header */
/*
============================
TYPOGRAPHY
============================
*/
.st-header .st-header-icon-bar a {
    text-decoration: none;
}

@media (min-width: 1200px) {
    .st-header-icon-bar a {
        font-size: 1.25rem;
    }
}

/*
============================
Layout
============================
*/
.st-header {
    position: sticky;
    top: 0;
    -webkit-transition: max-height 300ms;
    -moz-transition: max-height 300ms;
    -ms-transition: max-height 300ms;
    -o-transition: max-height 300ms;
    transition: max-height 300ms;
    max-height: 400px;
    z-index: 999;
    margin-bottom: 3em;
}

.st-header.scrolled {
    max-height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
}

.st-header-icon-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: black;
    margin-top: 1em;
    transition: margin 300ms;

    @media (min-width: 760px) {
        margin-top: 1.5em;
    }
}

.st-logo {
    width: 250px;
}

.st-logo a {
    display: flex;
}

.st-logo img {
    max-width: 100%;
}

.st-header .st-header-icon-bar a.ball.mobile {
    display: flex;
    width: 40px;

    @media (min-width: 760px) {
        display: none;
    }
}

.st-header .st-header-icon-bar a.ball.mobile img {
    width: 100%;
}

.st-header-avatar {
    display: flex;
    align-items: center;
    border-radius: 100%;
    max-width: 25px;
    max-height: 25px;

    @media (min-width: 1200px) {
        max-width: 35px;
        max-height: 35px;
    }
}

.st-header-icon-bar__item {
    @media (min-width: 760px) {
        margin-left: 2em;
    }
}

.st-header-icon-bar__item.mobile {
    @media (min-width: 760px) {
        display: none !important;
    }
}

.st-header-icon-bar__item.mobile i {
    color: rgb(11, 79, 160) !important;
}

.st-header-link {
    display: none;

    @media (min-width: 760px) {
        display: block;
    }
}

.st-header-icon-bar.sticky {
    margin-bottom: 1rem;

    @media (min-width: 760px) {
        justify-content: flex-end;
        margin-top: 1em;
        margin-bottom: 0;
    }

    @media (min-width: 1200px) {
        margin-top: .5em;
    }
}

.st-header-icon-bar.sticky .st-open-nav,
.st-header-icon-bar.sticky .st-open-search,
.st-header-icon-bar.sticky .st-nav-login {
    border-radius: 20%;
    padding: .1em .4em;
    background: #fff;
    box-shadow: 0 0 3px rgb(0 0 0 / 30%);
    pointer-events: auto;

    @media (min-width: 1200px) {
        box-shadow: none;
        background: none;
        padding: .6em .8em;
    }
}

@media (min-width: 760px) {
    .st-header-icon-bar.sticky .st-open-nav {
        margin-left: 1em;
    }

    .st-header-icon-bar.sticky .st-open-search {
        margin-right: 0;
    }
}

.st-desktop-nav-links {
    display: none;

    @media (min-width: 760px) {
        display: flex;
        padding: 0;
        align-self: center;
        list-style: none;
        margin: 0;
        margin-right: auto;
        transition: margin 300ms;
    }
}

@media (min-width: 760px) {
    .st-desktop-nav-links li {
        margin-right: 1em;
    }

    .st-desktop-nav-links li a {
        text-decoration: none;
        color: #0b4fa0;
    }

    .st-desktop-nav-links li a:hover {
        color: #FFDB12;
    }
}

/* #region nav */
.st-search-overlay,
.st-nav {
    position: fixed;
    background: #fff;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: -110%;
    transform: translateX(0);
    transition: transform ease-in-out 250ms;
    grid-template-rows: minmax(2.25rem, 3rem) 1fr;
    pointer-events: auto;
}

.st-nav-is-open,
.st-search-is-open {
    transform: translateX(110%);
}

@media (min-width: 760px) {
    .st-nav-is-open {
        text-align: center;
    }
}

.st-nav-btn {
    display: flex;
    align-items: center;
    background: 0;
    border: 0;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
}

.st-nav-btn i {
    color: black;

    @media (min-width: 1200px) {
        font-size: 2rem;
    }
}

.st-nav-links {
    padding: 0;
    margin-top: 0;

    @media (min-width: 760px) {
        margin-top: 2.5em;
        font-size: 2.5rem;
    }
}

.st-nav-links,
.st-nav-links ul {
    list-style: none;
}

.st-nav-links .menu-item a {
    text-decoration: none;
    cursor: pointer;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 1em;
    letter-spacing: 1px;
    color: #0b4fa0;
}

.st-nav-links .menu-item a:hover,
.st-nav-links .menu-item a:hover:active {
    color: #FFDB12;
}

.st-close-nav,
.st-close-search {
    text-align: right;
    font-size: 2rem;
    height: 3rem;
}

.st-search-form {
    margin-top: 2em;

    @media (min-width: 760px) {
        margin-top: 5em;
    }
}

.st-searchbar-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.st-search-box {
    outline: none;
    border: none;
    border-bottom: 2px solid #0b4fa0;
    color: #0b4fa0;

    @media (min-width: 760px) {
        width: 500px;
    }

    @media (min-width: 1200px) {
        width: 1000px;
    }
}

.st-btn-search {
    margin-left: 1em;
}

.st-btn-search i {
    color: #0b4fa0;
    font-size: 1.25em;
}

/* #endregion nav */
/* #endregion Header */

/* #region Footer */
.st-footer {
    color: #0b4fa0;
    background: rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: minmax(1em, 1fr) minmax(75px, 1400px) minmax(1em, 1fr);
    grid-template-areas:
        "lpad menu rpad"
        "lpad socials rpad"
        "lpad partners rpad"
        "lpad logo rpad"
        "lpad copy rpad";
    grid-auto-rows: max-content;
}

.st-footer-socials {
    grid-area: socials;
    display: flex;
    justify-content: flex-start;

}

.st-footer-icon {
    font-size: 1.5rem;
    margin-top: 1em;
    color: #0b4fa0;
    margin-right: .5em;

    @media (min-width: 760px) {
        font-size: 2rem;
    }
}

.st-footer-icon:hover,
.st-footer-icon:active {
    color: #FFDB12;
}

.st-footer-copyright {
    grid-area: copy;
    font-size: .6rem;
    text-align: right;
    color: white;
    background: #0b4fa0;
    padding: .2em .5em .2em;
    margin-bottom: 0;

    @media (min-width: 760px) {
        font-size: 1rem;
    }
}

.st-footer-copyright a {
    text-decoration: none;
    color: white;
}

.st-footer-copyright a:hover {
    color: #FFDB12;
}

.st-footer-site-title {
    grid-area: logo;
    align-self: end;
    margin-top: 1em;
}

.st-footer-site-title-img {
    width: 100%;
}

.st-footer-partners {
    grid-area: partners;
    display: flex;
    flex-direction: column;
}

.st-footer-partners__title {
    margin-bottom: 0;
}

.st-footer-partners__list {
    list-style: none;
    margin-top: .2em;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.st-footer-partners__list-item {
    font-size: .80rem;
    margin-right: .5em;

    @media (min-width: 760px) {
        font-size: 1.2rem;
    }
}

.st-footer-partners__list-item a,
.st-footer-nav-links a {
    text-decoration: none;
    color: #0b4fa0;
    margin-right: .5em;
}

@media (min-width: 760px) {
    .st-footer-nav-links a {
        font-size: 2rem;
    }
}

.st-footer-partners__list-item a:hover,
.st-footer-partners__list-item a:active,
.st-footer-nav-links a:hover,
.st-footer-nav-links a:active {
    color: #FFDB12;
}

.st-footer-menu {
    grid-area: menu;
    align-self: start;
    display: flex;
    flex-direction: column;
}

.st-footer-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* #endregion Footer */

/* #region article section */

.st-article-section,
.st-ad-section {
    border-bottom: 1px #cec9c2 solid;
}

.st-article-section:last-of-type,
.st-ad-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.st-article-section-title {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    margin-bottom: .5em;
    color: black;
    font-weight: 800;
    text-transform: uppercase;
}

.st-article-section-title>a {
    text-decoration: none;
    color: black;
}

.st-article-section-topper {
    margin-bottom: 10px;
    transition: margin 300ms;
}

@media (min-width: 760px) {
    .st-article-section-topper.scrolled {
        margin-bottom: 125px;
    }

    .st-article-section-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1em;
    }

    .st-article-section-grid-premium {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1em;
    }

    .st-article-section-grid__article-page {
        grid-template-columns: repeat(3, 1fr);
    }

    .st-article-section-highlight,
    .st-article-section-bottom {
        grid-column: 1 / span 3;
    }

    .st-article-section-highlight {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 1em;
        align-content: flex-start;
    }

    .st-article-section-title {
        width: 100%;
        margin-bottom: 0;
    }

    .st-article-section {
        border: none;
        margin-bottom: 0;
    }

    .st-article-section-bottom {
        grid-column: 1 / span 3;
        display: flex;
        flex-wrap: wrap;
        gap: 1em;
    }

    .st-article-section-main-article__bottom {
        display: none;
    }

    .st-article-section-wide {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .st-article-section-wide .st-article-section-title {
        grid-column: 1 / span 2;
    }

    .st-ad-section__article-page {
        position: -webkit-sticky;
        position: sticky;
        top: 85px;
        left: 0;
        align-self: start;
        /* z-index: -1000; */
    }
}

@media (min-width: 1200px) {
    .st-article-section-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
            "article-main article-main article-main ad"
            "article-main article-main article-main ad"
            "article-secondary article-secondary article-secondary ad"
            "article-secondary article-secondary article-secondary ad";
        gap: 1em;
    }

    .st-article-section-grid-premium {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "article-main article-main article-main"
            "article-main article-main article-main"
            "article-secondary article-secondary article-secondary"
            "article-secondary article-secondary article-secondary";
        gap: 1em;
    }

    .st-article-section-highlight {
        flex-direction: row;
        grid-area: article-main;
        padding-bottom: 0;
    }

    .st-article-section-bottom {
        grid-area: article-secondary;
    }

    .st-article-section-wide {
        grid-template-columns: repeat(4, 1fr);
    }

    .st-article-section-wide .st-article-section-title {
        grid-column: 1 / span 3;
    }

    .st-article-section-title {
        font-size: 2.6rem;
    }
}

/* #endregion article section */

/* #region ad section */
.st-ad-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.st-ad-section-long {
    grid-area: ad-long;
}

.st-ad-section-long-post-end a,
.st-ad-section-long-post-end img,
.st-ad-section-long-post-end video {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

.st-ad-section-long-post-end video,
.st-ad-section-long-post-end img,
.st-ad-section-long-post-end a {
    margin-bottom: 0;
}

@media (min-width: 760px) {
    .st-ad-section {
        margin-top: 3.2em;
        justify-content: space-between;
        border-bottom: none;
        padding-left: 1em;
        padding-bottom: 0;
        border-left: 1px #0b4fa0 solid;
        margin-bottom: 0;
    }

    .st-ad-section__article-page {
        grid-column: 3 / span 2;
        border: 0;
        padding-bottom: 3em;
        justify-content: start;
        gap: 1em;
    }

    .st-ad-section-long-post-end {
        grid-column: 1 / span 3;
        margin-top: 1em;
    }
}

@media (min-width: 1200px) {
    .st-ad-section {
        grid-area: ad;
    }

    .st-ad-section__article-page {
        grid-column: 4 / span 1;
    }
}

.st-ad-section img,
.st-ad-section a,
.st-ad-section video,
.st-ad-section-long img,
.st-ad-section-long a {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

@media (min-width: 760px) {

    .st-ad-section img,
    .st-ad-section a,
    .st-ad-section video,
    .st-ad-section-long img,
    .st-ad-section-long a {
        margin-bottom: 0;
    }
}

.st-ad-section-long-archive a,
.st-ad-section-long-archive img,
.st-ad-section-long-archive video {
    width: 100%;
    height: auto;
}

.slowt-in-content-ad img,
.local-in-content-ad img {
    max-width: 100%;
    height: auto;
}

.slowt-article-mid-roll a,
.slowt-article-mid-roll img {
    width: 100%;
    height: auto;
}

/* #endregion ad section */

/*
============================
COMPONENTS
============================
*/
/* main article card */

.st-article-section-main-article__image-link img {
    width: 100%;
    max-height: 100%;
    height: 200px;
    border-radius: 5px;
    object-fit: contain;

    @media(min-width: 460px) {
        height: 300px;
    }

    @media(min-width: 760px) {
        height: 700px;
    }
}

.st-article-section-main-article__category-link {
    text-decoration: none;
    color: #fff;
    padding: .3em .75em;
    background: #0b4fa0;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.st-article-section-main-article__title {
    text-decoration: none;
    color: #454545;
    font-size: 1.2rem;
    line-height: 1.2;
}

.st-article-section-main-article__title h3 {
    margin: .25em 0;
}

.st-article-section-main-article__excerpt {
    font-size: 0.75em;
    margin: 0;
}

.st-article-section-main-article__author-link {
    text-decoration: none;
    color: #8b8680;
    font-size: .5em;
}

.st-article-section-main-article__datetime {
    color: #8b8680;
    font-size: .5em;
}

.st-article-section-main-article__plus-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-article-section-main-article__plus-logo-container {
    width: 100px;
}

@media (min-width: 760px) {
    .st-article-section-main-article {
        width: 100%;
    }

    .st-article-section-bottom .st-article-section-main-article {
        width: 45%;
    }

    .st-article-section-bottom .st-article-section-sub-article-stack {
        width: 100%;
    }
}

@media (min-width: 1200px) {

    .st-article-section-main-article {
        width: 100%;
        text-align: center;
    }

    .st-article-section-bottom .st-article-section-main-article {
        width: 55%;
    }
}

/* sub article card */

.st-article-section-sub-article {
    display: flex;
    flex-direction: row;
    margin-top: 1em;
}

.st-article-section-sub-article__image-link img {
    width: 160px;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
    object-position: bottom right;
    border-radius: 4px;
}

.st-article-section-sub-article__category-link {
    text-decoration: none;
    color: #fff;
    padding: .3em .75em;
    background: #0b4fa0;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.st-article-section-sub-article__text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: .5em;
}

.st-article-section-sub-article__title {
    font-size: .75rem;
    text-decoration: none;
    color: #454545;
    font-weight: 500;
}

.st-article-section-sub-article__title h3 {
    margin-top: .2em;
}

.st-article-section-sub-article__plus-logo-container {
    width: 100px;
    margin-top: -20px;
}

@media (min-width: 760px) {
    .st-article-section-sub-article-stack {
        margin-top: 0;
    }

    .st-article-section-sub-article:first-of-type {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .st-article-section-sub-article-stack {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* sub article wide card */

.st-article-section-wide-article {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
}

.st-article-section-wide-article__image-link img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.st-article-section-wide-article__category-link {
    text-decoration: none;
    color: #fff;
    padding: .3em .75em;
    background: #0b4fa0;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.st-article-section-wide-article__title {
    text-decoration: none;
    color: #454545;
    font-size: 1.2rem;
    line-height: 1.2;
}

.st-article-section-wide-article__title h3 {
    margin: .25em 0;
}

.st-article-section-wide-article__excerpt {
    font-size: 1em;
    margin: 0;
}

.st-article-section-wide-article__author-link {
    text-decoration: none;
    color: #8b8680;
    font-size: .5em;
}

.st-article-section-wide-article__plus-logo-container {
    width: 100px;
}

/* chips */

.st-chip {
    padding: .25em .75em;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border-radius: 15px;
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
}

.st-chip-tag-cloud {
    margin-right: .5em;
}

@media (min-width: 1200px) {
    .st-header-icon-bar.sticky .st-chip {
        margin-top: auto;
        margin-bottom: auto;
    }
}

.st-chip-primary {
    background: #0b4fa0;
}

.st-chip-secondary {
    background: #FFDB12;
    color: #454545;
}

.st-chip-secondary:hover,
.st-chip-secondary:active {
    background: #0b4fa0;
    color: #fff;
}

.st-chip-primary:hover,
.st-chip-primary:active {
    background: #FFDB12;
    color: #454545;
}

.st-plus-logo {
    display: block;
    width: 100%;
    max-width: 45px;
    min-width: 45px;
    padding: 0;
    position: relative;
    display: inline-block;

    @media (min-width: 1200px) {
        max-width: 59px;
        min-width: 59px;
    }
}

.st-plus-logo .dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #edeef0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    left: 0;
    z-index: 1000;

    @media (min-width: 1200px) {
        right: 0;
        left: initial;
        top: 100%;
        min-width: 200px;
        padding: 10px 0;
    }
}

.st-plus-logo .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 12%;
    width: 10px;
    height: 10px;
    background: #edeef0;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);

    @media (min-width: 1200px) {
        left: initial;
        right: 14%;
    }
}

.st-plus-logo:hover .dropdown-menu,
.st-plus-logo:focus-within .dropdown-menu {
    display: flex;
}

.st-nav-login {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.st-nav-login::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: -10px;
    left: -30px;
    background: transparent;
}


.st-nav-login .dropdown-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #edeef0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    border-radius: 5px;
    z-index: 1000;
}

.st-nav-login-loggedout .dropdown-menu {
    right: 0;
}

.st-nav-login-loggedin .dropdown-menu {
    right: 0;
    top: 35px;
}

@media (min-width: 760px) {
    .st-nav-login-loggedout .dropdown-menu {
        right: -29px;
        top: 100%;
    }

    .st-nav-login-loggedin .dropdown-menu {
        right: -28px;
        top: 100%;
    }
}

@media (min-width: 1200px) {
    .st-nav-login .dropdown-menu {
        min-width: 200px;
        padding: 10px 0;
    }

    .st-nav-login-loggedout .dropdown-menu {
        right: -34px;
        top: 100%;
    }

    .st-nav-login-loggedin .dropdown-menu {
        right: -31px;
        top: 100%;
    }
}

.st-header-icon-bar.sticky .st-nav-login-loggedout .dropdown-menu {
    right: -13px;
    top: 40px
}

.st-header-icon-bar.sticky .st-nav-login-loggedin .dropdown-menu {
    right: -13px;
    top: 40px
}

@media (min-width: 760px) {
    .st-header-icon-bar.sticky .st-nav-login-loggedout .dropdown-menu {
        right: -27px;
        top: 40px
    }

    .st-header-icon-bar.sticky .st-nav-login-loggedin .dropdown-menu {
        right: -24px;
        top: 40px
    }
}

@media (min-width: 1200px) {
    .st-header-icon-bar.sticky .st-nav-login-loggedout .dropdown-menu {
        right: -30px;
        top: 50px
    }

    .st-header-icon-bar.sticky .st-nav-login-loggedin .dropdown-menu {
        right: -29px;
        top: 52px
    }
}

.st-nav-login .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 5%;
    width: 10px;
    height: 10px;
    background: #edeef0;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);

    @media (min-width: 760px) {
        right: 15%;
    }
}

.st-nav-login:hover .dropdown-menu,
.st-nav-login:focus-within .dropdown-menu {
    display: flex;
    opacity: 1;
    transform: translateX(-20px) translateY(5px);
}

.st-plus-logo .dropdown-menu .st-plus-dropdown-text,
.st-nav-login .dropdown-menu .st-plus-dropdown-text {
    text-align: left;
    color: black;
    font-weight: 500;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border: none;
    transition: background 0.2s ease-in-out;
}

.st-plus-logo .dropdown-menu .st-plus-dropdown-text:hover,
.st-nav-login .dropdown-menu .st-plus-dropdown-text:hover {
    background: #ffffff;
    border: none;
}

/* shop card */

.st-ad-section-shop-card,
.st-ad-section-classifieds-card {
    background-color: #FFDB12;
    margin-top: 1em;
    border-radius: 5px;
    padding: .3em .5em;
    padding-bottom: 0;
    flex-direction: column;
    display: flex;
    justify-content: center;
}

.st-ad-section-shop-card__title,
.st-ad-section-classifieds-card__title {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-top: 0;
}

.st-ad-section-shop-card-link,
.st-ad-section-classifieds-card-link {
    text-decoration: none;
    color: #414b4c;
}

.st-ad-section-shop-card__img,
.st-ad-section-classifieds-card__img {
    max-width: 100%;
    margin-bottom: 0;
}

.st-ad-section-classifieds-card {
    background-color: #270BA1;
}

.st-ad-section-classifieds-card__title {
    color: white;
}

/* breadcrumbs */

.breadcrumbs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumbs li {
    margin-left: .25em;
}

.st-article .breadcrumbs li:nth-last-child(2),
.st-article .breadcrumbs li:nth-last-child(1) {
    display: none;
}

.st-article-page__author-link {
    text-decoration: none;
    color: black;
}

.st-article-page__author-link:hover {
    color: #FFDB12;
}

.breadcrumbs li:first-child {
    margin-left: 0;
}

.breadcrumbs li a {
    text-decoration: none;
}

.breadcrumbs li a:visited {
    color: inherit;
}

/* article */

.st-article__title {
    font-size: 2rem;
    margin-top: 0;
}

.st-article .img-responsive,
.st-article iframe {
    max-width: 100%;
}

.wp-block-embed.is-type-video iframe {
    height: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}

@media (min-width: 760px) {
    .st-article__title {
        font-size: 2.5rem;
    }

    .st-article {
        grid-column: 1 / span 2;
    }

    .st-article-premium {
        grid-column: 1 / span 3;
    }
}

@media (min-width: 1200px) {
    .st-article {
        max-width: 1000px;
        grid-column: 1 / span 3;
    }

    .st-article-premium {
        max-width: 100%;
    }

    .st-article__title {
        font-size: 2.75rem;
    }
}


/* Four oh Four */

.st-four-oh-four__title {
    font-size: 2rem;
    margin: 0;
}

.st-four-oh-four__subtitle {
    font-size: 1.5rem;
}

.st-article-archive-article-featured .st-article-section-main-article__author-link,
.st-article-archive-article-featured__articles-page .st-article-section-main-article__author-link {
    display: none;
}

@media (min-width: 760px) {

    .st-article-section-four-oh-four,
    .st-article-archives {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .st-article-archives .breadcrumbs,
    .st-article-archives .pagination,
    .st-author-page-breadcrumb-placeholder {
        grid-column: 1/span 2;
    }

    .st-article-archive-article-featured {
        grid-column: 1/span 2;
        grid-row: 2/span 2;
    }

    .st-article-archive-article-featured img {
        width: 100%;
    }

    .st-article-archive-article-featured .st-article-section-main-article__author-link {
        display: initial;
    }

    .st-article-archive-article-featured__articles-page {
        grid-column: 1/span 2;
        grid-row: 1/span 2;
    }

    .st-article-archive-article-featured__articles-page img {
        width: 100%;
    }

    .st-article-archive-article-featured__articles-page .st-article-section-main-article__author-link {
        display: initial;
    }
}

@media (min-width: 1200px) {
    .st-four-oh-four__title {
        font-size: 4rem;
    }

    .st-article-section-four-oh-four,
    .st-article-archives {
        grid-template-columns: repeat(4, 1fr);
    }

    .st-article-archives .breadcrumbs,
    .st-article-archives .pagination,
    .st-author-page-breadcrumb-placeholder {
        grid-column: 1/span 4;
    }

    .st-article-archive-article-featured img {
        height: 73.25%;
    }
}

/* Pagination */

ul.page-numbers {
    list-style: none;
    margin: 0;
    margin-bottom: .75em;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.page-numbers li {
    min-width: 40px;
    display: flex;
    justify-content: center;
    background-color: #0b4fa0;
}

.page-numbers a {
    text-decoration: none;
    margin: 0;
}

.page-numbers a,
.page-numbers .dots,
.page-numbers .current {
    padding: .25em .4em;
    background-color: #0b4fa0;
}

.page-numbers .dots,
.page-numbers .current,
.st-nav-arrow,
a.page-numbers,
.page-numbers a:visited {
    color: #fff;
}

.page-numbers .current {
    background-color: #FFDB12;
    color: #414b4c;
}

li:has(> .current) {
    /* styles to apply to the li tag */
    background-color: #FFDB12;
}

@media (min-width: 760px) {
    ul.page-numbers {
        justify-content: center;
        gap: 1em;
        margin: 1em 0;
    }
}

.discourse-comments-area {
    margin: 1em 0;
}

@media (min-width: 760px) {

    .discourse-comments-area,
    .comments-area {
        grid-column: 1 / span 3;
    }
}

@media (min-width: 1200px) {
    .discourse-comments-area {
        max-width: 1000px;
    }
}

.st-disable-link {
    pointer-events: none;
}

.st-activate-child-link {
    pointer-events: auto;
}

.st-send-to-back {
    z-index: -1000;
}

.st-shrink {
    width: 1;
    height: 1;
}

/* Hidden home header link */

.st-hidden-home-header-link {
    position: fixed;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
}

.st-hidden-home-header-link-scrolled {
    height: 75px;
    width: 100px;
}

@media (min-width: 1327px) {
    .st-hidden-home-header-link-scrolled {
        left: 10px;
    }
}

@media (min-width: 1449px) {
    .st-hidden-home-header-link-scrolled {
        left: 20px;
    }
}

@media (min-width: 1483px) {
    .st-hidden-home-header-link-scrolled {
        left: 40px;
    }
}

@media (min-width: 1523px) {
    .st-hidden-home-header-link-scrolled {
        left: 60px;
    }
}

@media (min-width: 1550px) {
    .st-hidden-home-header-link-scrolled {
        left: 80px;
    }
}

@media (min-width: 1600px) {
    .st-hidden-home-header-link-scrolled {
        left: 100px;
    }
}

@media (min-width: 1640px) {
    .st-hidden-home-header-link-scrolled {
        left: 120px;
    }
}

@media (min-width: 1675px) {
    .st-hidden-home-header-link-scrolled {
        left: 140px;
    }
}

@media (min-width: 1700px) {
    .st-hidden-home-header-link-scrolled {
        left: 160px;
    }
}

@media (min-width: 1750px) {
    .st-hidden-home-header-link-scrolled {
        left: 180px;
    }
}

@media (min-width: 1800px) {
    .st-hidden-home-header-link-scrolled {
        left: 200px;
    }
}

@media (min-width: 1850px) {
    .st-hidden-home-header-link-scrolled {
        left: 220px;
    }
}

@media (min-width: 1900px) {
    .st-hidden-home-header-link-scrolled {
        left: 250px;
    }
}

.st-mailchimp-signup label {
    display: inline-block;
    margin-bottom: .5em;
}

.st-mailchimp-signup__button {
    background-color: #0b4fa0;
    border: none;
    color: white;
    padding: .25em .75em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 15px;
}

.st-mailchimp-signup__button:hover {
    background-color: #FFDB12;
    color: #414b4c;
}

.wp-forms-hidden-name {
    display: none;
}

/* #region front-page */
.st-hide-mobile {
    display: none;
}

@media (min-width: 760px) {
    .st-hide-mobile {
        display: block;
    }
}

/* Default Layout */
.st-fp-grid {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(1, 1fr);
    grid-template-areas:
        "article-main"
        "article-secondary"
        "ad-sidebar";

    @media (min-width: 760px) {
        padding-bottom: 2em;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "article-main article-main article-main"
            "ad-top ad-top ad-sidebar"
            "article-secondary article-secondary ad-sidebar"
            "ad-bottom ad-bottom ad-sidebar";
    }
}



/* Premium Layout */
.st-fp-grid-premium {
    grid-template-areas:
        "article-main"
        "article-secondary";

    @media (min-width: 760px) {
        grid-template-areas:
            "article-main article-main article-main"
            "article-secondary article-secondary article-secondary"
            "article-secondary article-secondary article-secondary";
    }


}

/* #endregion front-page */


/* #region ads */
.st-ad-top {
    grid-area: ad-top;
}

.st-ad-bottom {
    grid-area: ad-bottom;
}

.st-ad-sidebar {
    grid-area: ad-sidebar;
    padding: 0 0 2em 0;

    @media (min-width: 760px) {
        padding: 0 0 0 1em;
    }
}

.st-ad-sidebar.widgets {
    @media (min-width: 760px) {
        max-height: 1100px;
        overflow-y: auto;
    }
}

.st-ad-sidebar:not(.widgets)>div {
    position: sticky;
    top: 80px;
    width: 100%;
}

/* #endregion ads */

/* #region Related Articles */
.crp_related h3 {
    margin-bottom: 0;
}

.crp_related ul {
    display: flex;
    flex-direction: column;
    gap: 1em;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 760px) {
    .crp_related ul {
        flex-direction: row;
        justify-content: space-between;
    }
}

.crp_related ul li {
    display: flex;
    flex-direction: column;
}

.crp_related ul li a {
    font-size: 16px;
    text-decoration: none;
    color: #000;
}

.crp_related ul li a figure {
    margin: 0;

    @media (min-width: 760px) {
        width: 350px;
        height: 200px;
    }
}

.crp_related ul li a figure img {
    width: 100%;
    height: 100%;
}

.crp_related .crp_primary_term {
    text-decoration: none;
    color: #fff;
    padding: .3em .75em;
    background: #0b4fa0;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    max-width: fit-content;
}

/* #endregion Related Articles */


/* #region shortcodes */
/* #region Curated Threads */
/*
============================
Typography
============================
*/
.st-curated-threads h2 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    margin: 0 0 5px 0;
}

/*
============================
Layout
============================
*/
.st-curated-threads-widget {
    margin: 24px 0;
}

.st-curated-threads .list .link {
    display: block;
    width: 100%;
    padding: 7px 3px 7px 0;
}

.st-curated-threads .list .link div {
    display: table-cell;
    position: relative;
    top: -3px;
}

.st-curated-threads .list span {
    display: block;
    text-align: center;
    font-size: 12px;
    width: 29px;
    background: #0b4fa0;
    color: #fff;
    font-weight: 500;
}

.st-curated-threads .list a {
    display: table-cell;
    padding-left: 10px;
    color: #272727;
    text-decoration: none;
    outline: 0;
}


/* #endregion Curated Listings */
/* #region Local Listings */
/*
============================
Typography
============================
*/
.st-local-listings h2 {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.st-local-listings .listings a {
    text-decoration: none;
    outline: 0;
    color: #0b4fa0;
}

/*
============================
Layout
============================
*/
.st-local-listings {
    margin: 24px 0;
}

.st-local-listings .listings {
    font-size: 16px;
    text-transform: uppercase;
    width: 100%;
    display: block;
    text-align: center;
}

.st-local-listings .listings>div {
    display: inline-block;
    text-align: center;
    position: relative;
    max-width: 20%;
}

.st-local-listings .justify>div {
    vertical-align: top;
    zoom: 1;
}

.st-local-listings .listings [class*="sprite-"] {
    display: block;
    text-indent: -99999px;
    text-align: left;
    background-repeat: no-repeat;
    background-image: url(https://slowtwitch.com/wp-content/uploads/2025/10/sprite.svg);
    width: 52px;
    height: 52px;
    margin: 10px auto 3px auto;
}

.st-local-listings .listings .icon-divider {
    width: 0;
    height: 30px;
    border-right: 1px dotted #332F2F;
    position: relative;
    top: 20px;
    margin: 0 1.5%;
}

.sprite-coaches {
    background-position: -595px -365px;
}

.sprite-races {
    background-position: -528px -291px;
}

.sprite-fitters {
    background-position: -456px -292px;
}

/* #endregion Local Listings */
/* #endregion shortcodes */