/*
Theme Name: CupSticks Website
Theme URI: https://cupsticks.com/
Author: CupSticks
Description: CupSticks tea and coffee catalog website.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cupsticks
*/

.wp-content-header {
    position: relative;
}

.wp-content-header .nav-wrap {
    box-sizing: border-box;
}

.wp-content-header .wp-menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #321d22;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.wp-content-header .wp-mobile-menu {
    display: none;
}

.wp-content-shell {
    width: min(900px, calc(100% - 48px));
    min-height: 45vh;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 96px) 0;
}

.wp-content-article {
    color: #35272b;
}

.wp-article-header {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.wp-article-eyebrow {
    margin: 0 0 14px;
    color: #bf3b68;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.wp-article-header h1 {
    margin: 0;
    color: #2c161c;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.wp-article-date {
    margin: 18px 0 0;
    color: #827579;
    font-size: 13px;
}

.wp-article-featured-image {
    max-width: 860px;
    margin: 0 auto 42px;
    overflow: hidden;
    border-radius: 16px;
}

.wp-article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.wp-article-content {
    max-width: 760px;
    margin: 0 auto;
    color: #594d50;
    font-size: 16px;
    line-height: 1.85;
}

.wp-article-content h2,
.wp-article-content h3 {
    margin: 1.8em 0 .55em;
    color: #2c161c;
    letter-spacing: -.035em;
    line-height: 1.2;
}

.wp-article-content p,
.wp-article-content ul,
.wp-article-content ol {
    margin: 0 0 1.25em;
}

.wp-article-content a {
    color: #b52d5c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.wp-content-footer .footer-inner {
    grid-template-columns: 1.2fr .7fr .8fr .7fr .8fr 1.25fr;
}

.wp-content-footer .footer-brand-mark {
    width: min(100%, 225px);
}

.wp-content-footer .footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.wp-content-footer .footer-tagline {
    display: block;
    margin-top: 6px;
    color: #bf3b68;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .035em;
    text-align: center;
}

.wp-content-footer .footer-bottom {
    grid-column: 1 / -1;
}

@media (max-width: 680px) {
    .wp-content-header .nav-wrap {
        width: calc(100% - 34px);
        min-height: 68px;
        padding: 0;
    }

    .wp-content-header .header-brand-mark {
        width: 160px;
        transform: translateX(-28px);
    }

    .wp-content-header .brand {
        padding: 0;
    }

    .wp-content-header .brand img {
        height: 48px;
        max-height: 48px;
        object-position: center;
    }

    .wp-content-header .nav-links {
        display: none;
    }

    .wp-content-header .header-actions {
        display: flex;
        align-items: center;
    }

    .wp-content-header .wp-menu-toggle {
        display: block;
    }

    .wp-content-header .wp-mobile-menu.is-open {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        z-index: 4;
        top: 100%;
        right: 0;
        left: 0;
        padding: 8px 22px 18px;
        border-bottom: 1px solid #eadfe3;
        background: #fcf8f6;
        box-shadow: 0 18px 28px #2c161c12;
    }

    .wp-content-header .wp-mobile-menu a {
        padding: 15px 3px;
        border-bottom: 1px solid #eadfe3;
        color: #321d22;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
    }

    .wp-content-shell {
        width: calc(100% - 36px);
        padding: 42px 0 56px;
    }

    .wp-article-header {
        margin-bottom: 28px;
        text-align: left;
    }

    .wp-article-header h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .wp-article-featured-image {
        margin-bottom: 28px;
        border-radius: 12px;
    }

    .wp-article-content {
        font-size: 15px;
    }

    .wp-content-footer .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wp-content-footer .footer-brand-mark {
        display: none;
    }
}
