/* ==========================================
   RATED M
   OLD WORLD MAGAZINE EDITION
   For the Mature Christian Life
   ========================================== */


/* ==========================================
   01 — WEBSITE BACKGROUND
   ========================================== */

body {
    background: #302B27 !important;
}


/* ==========================================
   02 — OLD WORLD COLLECTION COLORS
   ========================================== */

/* Stories — Burnt Terracotta */

.home .homepage-post.articles,
.home .articles .homepage-post-wrapper,
.home .articles .stitching-content {
    background-color: #884A38 !important;
}

/* Merch — Oxford Blue */

.home .homepage-post.photos,
.home .photos .homepage-post-wrapper,
.home .photos .stitching-content {
    background-color: #435D70 !important;
}

/* Podcast — Antique Olive */

.home .homepage-post.links,
.home .links .homepage-post-wrapper,
.home .links .stitching-content {
    background-color: #5D6645 !important;
}

/* Music — Antique Bronze */

.home a.view-index[href*="/type/audio/"] .homepage-post,
.home a.view-index[href*="/type/audio/"] .homepage-post-wrapper,
.home a.view-index[href*="/type/audio/"] .stitching-content {
    background-color: #98733D !important;
}

/* YouTube — Aged Leather */

.home .homepage-post.videos,
.home .videos .homepage-post-wrapper,
.home .videos .stitching-content {
    background-color: #70504C !important;
}

/* Quotes — Turquoise */

.home .homepage-post.quotes,
.home .quotes .homepage-post-wrapper,
.home .quotes .stitching-content {
    background-color: #47877E !important;
}


/* ==========================================
   03 — COLLECTION PANEL DESIGN
   ========================================== */

.home .homepage-post,
.home .homepage-post-wrapper,
.home .homepage-post .stitching-content {
    background-image: none !important;
    filter: none !important;
    color: #FFFFFF !important;
}

/* Uniform panel dimensions */

.home .homepage-post-wrapper {
    height: 340px !important;
    box-sizing: border-box !important;
}

/* Center panel contents */

.home .homepage-post .stitching-content {
    height: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    border-color: rgba(255,255,255,0.55) !important;
}

/* White circular icons */

.home .post-format-icon {
    background-color: #FFFFFF !important;
    width: 140px !important;
    height: 140px !important;
    flex-shrink: 0;
    margin: 0 auto 20px !important;
}

/* Hide homepage excerpts */

.home .post-excerpt,
.home .homepage-custom-link {
    display: none !important;
}


/* ==========================================
   04 — COLLECTION TYPOGRAPHY
   ========================================== */

/* Collection titles */

.home .post-format-title {
    font-size: 0 !important;
    margin: 10px 0 !important;
}

.home .post-format-title::after {
    font-size: 28px !important;
    color: #FFFFFF !important;
}

/* Collection links */

.home .view-all {
    font-size: 0 !important;
    margin: 15px 0 0 !important;
}

.home .view-all::after {
    font-size: 12px !important;
    letter-spacing: 1px;
    color: #FFFFFF !important;
}

/* Center links and remove stray underlines */

.home .homepage-post .view-all {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 15px auto 0 !important;
    padding: 0 !important;
    border: none !important;
    text-decoration: none !important;
    background: none !important;
    box-shadow: none !important;
}

.home .homepage-post .view-all::before {
    content: none !important;
    display: none !important;
}

.home .homepage-post .view-all::after {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
    border: none !important;
    text-decoration: none !important;
}


/* ==========================================
   05 — COLLECTION NAMES AND LABELS
   ========================================== */

/* Stories */

.home .homepage-post.articles .post-format-title::after {
    content: "Stories" !important;
}

.home .homepage-post.articles .view-all::after {
    content: "EXPLORE THE STORIES" !important;
}

/* Merch */

.home .photos .post-format-title::after {
    content: "Merch" !important;
}

.home .photos .view-all::after {
    content: "SHOP MERCH" !important;
}

/* Podcast */

.home .links .post-format-title::after {
    content: "Podcast" !important;
}

.home .links .view-all::after {
    content: "LISTEN TO PODCAST" !important;
}

/* Music */

.home a.view-index[href*="/type/audio/"] .post-format-title::after {
    content: "Music" !important;
}

.home a.view-index[href*="/type/audio/"] .view-all::after {
    content: "LISTEN TO MUSIC" !important;
}

/* YouTube */

.home .videos .post-format-title::after {
    content: "YouTube" !important;
}

.home .videos .view-all::after {
    content: "WATCH YOUTUBE" !important;
}

/* Quotes */

.home .quotes .post-format-title::after {
    content: "Quotes" !important;
}

.home .quotes .view-all::after {
    content: "VIEW ALL QUOTES" !important;
}


/* ==========================================
   06 — NAVIGATION
   ========================================== */

#nav a {
    color: #E5E5E5 !important;
}


/* ==========================================
   07 — RATED M UNIVERSAL MASTHEAD
   ========================================== */

/* Hide original theme lettering */

body .site-title {
    font-family: Baskerville, Georgia, serif !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
}

/* Signature Baskerville lettering */

body .site-title::before {
    content: "RATED" !important;
    display: inline-block !important;
    font-family: Baskerville, Georgia, serif !important;
    font-size: 42px !important;
    font-weight: 400 !important;
    color: #FFFFFF !important;
}

/* Signature antique-gold M */

body .site-title::after {
    content: "M" !important;
    display: inline-block !important;
    font-family: "Arial Black", Arial, sans-serif !important;
    font-size: 53px !important;
    font-weight: 900 !important;
    color: #BD985C !important;
    transform: rotate(-14deg) !important;
    margin-left: 8px !important;
    position: static !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
}


/* ==========================================
   08 — MAIN MAGAZINE MASTHEAD
   ========================================== */

#main-header .logo-wrapper {
    text-align: center !important;
}

#main-header .logo-wrapper h1.site-title {
    font-family: Baskerville, Georgia, serif !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-align: center !important;
}

/* Full-size RATED lettering */

#main-header .logo-wrapper h1.site-title::before {
    content: "RATED" !important;
    display: inline-block !important;
    font-family: Baskerville, Georgia, serif !important;
    font-size: 56px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 1px !important;
    color: #FFFFFF !important;
}

/* Full-size antique-gold M */

#main-header .logo-wrapper h1.site-title::after {
    content: "M" !important;
    display: inline-block !important;
    font-family: "Arial Black", Arial, sans-serif !important;
    font-size: 70px !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: #BD985C !important;
    transform: rotate(-14deg) !important;
    margin-left: 8px !important;
    position: static !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
}


/* ==========================================
   09 — GOLD DIVIDER AND MAGAZINE TAGLINE
   ========================================== */

#main-header .collections-tagline {
    display: block !important;
    font-family: Baskerville, Georgia, serif !important;
    font-size: 0 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    text-transform: none !important;
    letter-spacing: 1.2px !important;
    color: #FFFFFF !important;
    border-top: 1px solid #BD985C !important;
    padding-top: 12px !important;
    margin: 12px auto 0 !important;
    text-align: center !important;
    width: 80% !important;
    white-space: nowrap !important;
    container-type: inline-size !important;
}

/* Automatically sized single-line tagline */

#main-header .collections-tagline::after {
    content: "For the Mature Christian Life" !important;
    display: block !important;
    font-family: Baskerville, Georgia, serif !important;
    font-size: clamp(10px, 8cqw, 24px) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #FFFFFF !important;
}


/* ==========================================
   10 — MOBILE RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 600px) {

    .home .homepage-post-wrapper {
        height: 300px !important;
    }

    #main-header .logo-wrapper h1.site-title::before {
        font-size: 42px !important;
    }

    #main-header .logo-wrapper h1.site-title::after {
        font-size: 53px !important;
    }
}


/* ==========================================
   END — RATED M MASTER STYLESHEET
   ========================================== */

/* RATED M — Center Author Navigation */

#nav,
#nav ul {
    text-align: center !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#nav ul {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#nav li {
    float: none !important;
    display: inline-block !important;
}

