/*
    Theme Name: Slowtwitch News Theme
    Description: Slowtwitch's Custom Theme for their News website
    Text Domain: Slowtwitch
    Version: 2.4.0
    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 */
.st-header-new {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: Roboto, sans-serif;
}

.st-header-new-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* Logo */
.st-header-new-logo img {
    height: 28px;
    width: auto;
    display: block;
}

/* Main nav links */
.st-header-new-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.st-header-new-nav a {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 3px;
    transition:
        color 0.2s,
        background 0.2s;
    white-space: nowrap;
}

.st-header-new-nav a:hover {
    color: #3a8fd4;
    background: rgba(58, 143, 212, 0.06);
}

/* Right side actions */
.st-header-new-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.st-header-new-actions .st-header-new-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: #555;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition:
        color 0.2s,
        background 0.2s;
}

.st-header-new-actions .st-header-new-btn:hover {
    color: #3a8fd4;
    background: rgba(58, 143, 212, 0.06);
}

.st-header-new-actions .st-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.st-header-new-actions .st-header-avatar:hover {
    border-color: #3a8fd4;
}

/* Divider line between nav and actions */
.st-header-new-divider {
    width: 1px;
    height: 28px;
    background: #e2e4e8;
    margin: 0 8px;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
    .st-header-new-nav {
        display: none;
    }

    .st-header-new-divider {
        display: none;
    }

    .st-header-new-inner {
        height: 56px;
    }

    .st-header-new-logo img {
        height: 24px;
    }
}

/* ── MOBILE NAV OVERLAY ── */
.st-header-new-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 2000;
    padding: 24px;
    overflow-y: auto;
}

.st-header-new-mobile-nav.active {
    display: block;
}

.st-header-new-mobile-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.st-header-new-mobile-nav ul {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
}

.st-header-new-mobile-nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.st-header-new-mobile-nav ul li a {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #333;
    text-decoration: none;
    padding: 16px 0;
    transition: color 0.2s;
}

.st-header-new-mobile-nav ul li a:hover {
    color: #3a8fd4;
}

.st-header-new-mobile-nav .mobile-nav-secondary {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e4e8;
}

.st-header-new-mobile-nav .mobile-nav-secondary a {
    font-size: 16px;
    color: #888;
    letter-spacing: 1px;
}

/* ── SEARCH OVERLAY ── */
.st-header-new-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 2000;
    padding: 0 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.st-header-new-search-overlay.active {
    display: block;
}

.st-header-new-search-inner {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 12px;
}

.st-header-new-search-inner input {
    flex: 1;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    border: none;
    outline: none;
    color: #333;
    padding: 12px 0;
    background: transparent;
}

.st-header-new-search-inner input::placeholder {
    color: #bbb;
}

.st-header-new-search-close {
    font-size: 28px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

/* ── USER DROPDOWN ── */
.st-header-new-user-wrap {
    position: relative;
    display: flex;
}

.st-header-new-user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e4e8;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    z-index: 100;
    padding: 8px 0;
    margin-top: 0;
}

.st-header-new-user-wrap::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
}

.st-header-new-user-wrap:hover .st-header-new-user-dropdown {
    margin-top: 8px;
}

.st-header-new-user-wrap:hover .st-header-new-user-dropdown,
.st-header-new-user-wrap.active .st-header-new-user-dropdown {
    display: block;
}

.st-header-new-user-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    transition: background 0.15s;
}

.st-header-new-user-dropdown a:hover {
    background: #f7f8fa;
    color: #3a8fd4;
}

/* #endregion Header */

/* #region Footer */
.st-footer {
    background: #e8e8e8;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding: 0;
}

.st-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 32px 0;

    @media (max-width: 480px) {
        padding: 36px 20px 0;
    }
}

/* ── Top grid: brand + 3 columns ── */
.st-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    @media (max-width: 768px) {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    @media (max-width: 480px) {
        grid-template-columns: 1fr 1fr;
        gap: 24px 20px;
    }
}

/* Brand column */
.st-footer-brand {
    @media (max-width: 480px) {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    & .st-footer-site-title-img {
        max-height: 36px;
        max-width: 200px;
        width: auto;
        display: block;
        margin-bottom: 14px;

        @media (max-width: 768px) {
            max-height: 30px;
            max-width: 160px;
        }

        @media (max-width: 480px) {
            max-height: 28px;
            max-width: 150px;
        }
    }

    & p {
        font-size: 14px;
        color: #555;
        line-height: 1.6;
        max-width: 260px;
        margin: 0 0 18px;

        @media (max-width: 480px) {
            font-size: 13px;
            max-width: 100%;
        }
    }
}

/* Social icons */
.st-footer-socials {
    display: flex;
    gap: 10px;
}

.st-footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #444;
    font-size: 16px;
    text-decoration: none;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;

    &:hover,
    &:active {
        background: rgba(58, 143, 212, 0.12);
        border-color: rgba(58, 143, 212, 0.3);
        color: #0b4fa0;
    }
}

/* Link columns */
.st-footer-col {
    & h4 {
        font-family: "Barlow Condensed", sans-serif;
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #0b4fa0;
        margin: 0 0 14px;

        @media (max-width: 480px) {
            font-size: 11px;
            margin-bottom: 10px;
        }
    }

    & ul {
        list-style: none;
        margin: 0;
        padding: 0;

        & li {
            margin: 0;
            padding: 0;

            & a {
                display: block;
                color: #333;
                text-decoration: none;
                font-size: 14px;
                padding: 3px 0;
                transition: color 0.2s;
                max-width: fit-content;

                @media (max-width: 480px) {
                    font-size: 13px;
                    padding: 2px 0;
                }

                &:hover,
                &:active {
                    color: #0b4fa0;
                }
            }
        }
    }
}

/* ── Partners row ── */
.st-footer-partners {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.st-footer-partners__title {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin: 0 0 12px;
}

.st-footer-partners__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    @media (max-width: 480px) {
        gap: 6px;
    }

    & li {
        margin: 0;
        padding: 0;

        & a {
            display: inline-block;
            font-family: "Barlow Condensed", sans-serif;
            font-weight: 600;
            font-size: 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #444;
            text-decoration: none;
            padding: 5px 12px;
            border: 1px solid rgba(0, 0, 0, 0.12);
            border-radius: 3px;
            transition:
                color 0.2s,
                border-color 0.2s;

            @media (max-width: 480px) {
                font-size: 11px;
                padding: 4px 10px;
            }

            &:hover,
            &:active {
                color: #0b4fa0;
                border-color: #0b4fa0;
            }
        }
    }
}

/* ── Bottom bar ── */
.st-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 13px;
    color: #666;

    @media (max-width: 600px) {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    & a {
        color: #666;
        text-decoration: none;
        transition: color 0.2s;

        &:hover {
            color: #333;
        }
    }
}

/* #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: 0.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: 0.3em 0.75em;
    background: #0b4fa0;
    font-size: 0.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: 0.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: 0.5em;
}

.st-article-section-main-article__datetime {
    color: #8b8680;
    font-size: 0.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: 0.3em 0.75em;
    background: #0b4fa0;
    font-size: 0.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: 0.5em;
}

.st-article-section-sub-article__title {
    font-size: 0.75rem;
    text-decoration: none;
    color: #454545;
    font-weight: 500;
}

.st-article-section-sub-article__title h3 {
    margin-top: 0.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: 0.3em 0.75em;
    background: #0b4fa0;
    font-size: 0.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: 0.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: 0.5em;
}

.st-article-section-wide-article__plus-logo-container {
    width: 100px;
}

/* chips */

.st-chip {
    padding: 0.25em 0.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: 0.5em;
}

.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;
}

/* shop card */

.st-ad-section-shop-card,
.st-ad-section-classifieds-card {
    background-color: #ffdb12;
    margin-top: 1em;
    border-radius: 5px;
    padding: 0.3em 0.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: 0.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: 0.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: 0.25em 0.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;
}

.st-mailchimp-signup label {
    display: inline-block;
    margin-bottom: 0.5em;
}

.st-mailchimp-signup__button {
    background-color: #0b4fa0;
    border: none;
    color: white;
    padding: 0.25em 0.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: 320px;
        height: 200px;
    }
}

.crp_related ul li a figure img {
    width: 100%;
    height: 100%;
}

.crp_related .crp_primary_term {
    text-decoration: none;
    color: #fff;
    padding: 0.3em 0.75em;
    background: #0b4fa0;
    font-size: 0.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 */

/* #region Directorist Styling */
.directorist-type-nav__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (max-width: 1280px) {
    .directorist-type-nav__wrapper {
        flex-direction: column;
        align-items: unset;
        gap: 20px;
    }

    .directorist-type-nav__submit {
        position: relative !important;
    }
}

.directorist-type-nav__submit {
    position: absolute;
    right: 0;
}

.directorist-start-chat .directorist-start-chat-btn {
    background: #0b4fa0;
}

.directorist-user-dashboard-tabcontent .directorist-listing-table tr:last-child .directorist-dropdown .directorist-dropdown-menu {
    bottom: auto;
}

.directorist-archive-contents::after {
    display: none !important;
}

/* #endregion Directorist Styling */