/* ============================================================
   SNUBmonkey™ — BEST PICKS PAGE HEADER
============================================================ */

.gh-article-header.gh-canvas {
    padding: max(12vmin, 64px) 0 max(3.2vmin, 28px);
    text-align: center;
}

/* Main "Best Picks" title */

.gh-article-header .gh-article-title {
    margin: 0 auto;

    background: linear-gradient(
        94deg,
        #0090F7,
        #BA62FC,
        #F2416B,
        #F55600,
        #0090F7
    );

    background-size: 300% 300%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: gradientMove 8s ease infinite;

    font-size: clamp(3.2rem, 5vw, 5.2rem) !important;
    line-height: 1.05;
    letter-spacing: -0.08em !important;
}

/* ============================================================
   GRADIENT ANIMATION
============================================================ */

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ============================================================
   BEST PICKS — EDITION STATUS
============================================================ */

#best-picks-status {
    margin: -27px 0 24.8vmin !important;

    text-align: center;

    color: var(--color-secondary-text);

    font-size: 1.3rem;
    line-height: 1.4;
}


/* ============================================================
   PAGE CONTENT
============================================================ */

#best-picks {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Edition status */

#best-picks-status {
    margin: 0 0 4.8vmin;

    color: var(--color-secondary-text);

    font-size: 1.3rem;
    line-height: 1.4;
}

/* ============================================================
   PICKS FEED
============================================================ */

#best-picks-list {
    display: grid;
    gap: 10.8vmin 4vmin;
    grid-template-columns: repeat(6, 1fr);
}

/* ============================================================
   PICK
============================================================ */

.best-pick {
    position: relative;
    grid-column: span 2;

    display: flex;
    flex-direction: column;

    background-size: cover;
    word-break: break-word;

    padding: 0;
    border: 0;
}

/* Rank */

.best-pick-rank {
    margin-bottom: 10px;

    color: var(--color-secondary-text);

    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}

/* Content */

.best-pick-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ============================================================
   PICK TITLE
============================================================ */

.best-pick-content h2 {
    margin: 0;

    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
}

.best-pick-content h2 a {
    color: var(--color-darkgrey);
    text-decoration: none;
}

.best-pick-content h2 a:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* ============================================================
   META
============================================================ */

.best-pick-meta {
    display: flex;
    align-items: center;

    margin-top: 12px;
    padding: 0;

    color: var(--color-secondary-text);

    font-size: 1.3rem;
    line-height: 1.4;
}

/* ============================================================
   SUMMARY
============================================================ */

.best-pick-summary {
    display: -webkit-box;
    overflow-y: hidden;

    margin: 12px 0 0;
    max-width: 720px;

    font-size: 1.6rem;
    line-height: 1.5;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    word-break: break-word;
}

/* ============================================================
   WHY IT MATTERS
============================================================ */

.best-pick-why {
    margin: 16px 0 0;
    padding: 0 0 0 14px;

    border-left: 3px solid var(--ghost-accent-color);

    color: var(--color-secondary-text);

    font-size: 1.4rem;
    line-height: 1.5;
}

/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1001px) {

    .best-pick:first-child {
        grid-column: span 6;
    }

    .best-pick:first-child .best-pick-rank {
        margin-bottom: 12px;
    }

    .best-pick:first-child .best-pick-content h2 {
        font-size: 4.4rem;
        line-height: 1.05;
    }

    .best-pick:first-child .best-pick-summary {
        margin-top: 16px;
        font-size: 1.8rem;
    }

    .best-pick:not(:first-child) {
        grid-column: span 2;
    }
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1000px) {

    #best-picks-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .best-pick {
        grid-column: span 2;
    }

    .best-pick:first-child {
        grid-column: span 4;
    }

    .best-pick:first-child .best-pick-content h2 {
        font-size: 3.8rem;
    }
}

/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 767px) {

    #best-picks-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .best-pick,
    .best-pick:first-child {
        grid-column: span 1;
    }

    .best-pick-content h2,
    .best-pick:first-child .best-pick-content h2 {
        font-size: 2.6rem;
        line-height: 1.2;
    }

    .best-pick-summary,
    .best-pick:first-child .best-pick-summary {
        font-size: 1.6rem;
    }
}

/* ============================================================
   DARK MODE
============================================================ */

html.dark-mode .best-pick-content h2 a {
    color: #fff;
}

html.dark-mode .best-pick-meta,
html.dark-mode .best-pick-rank,
html.dark-mode .best-pick-summary,
html.dark-mode .best-pick-why {
    color: var(--color-secondary-text);
}

/* ============================================================
   AUTO COLOR
============================================================ */

@media (prefers-color-scheme: dark) {

    html.auto-color .best-pick-content h2 a {
        color: #fff;
    }

    html.auto-color .best-pick-meta,
    html.auto-color .best-pick-rank,
    html.auto-color .best-pick-summary,
    html.auto-color .best-pick-why {
        color: var(--color-secondary-text);
    }
}

/* ============================================================
   CENTER BEST PICKS CONTENT
============================================================ */

.best-pick {
    align-items: center;
    text-align: center;
}

.best-pick-content {
    align-items: center;
}

.best-pick-meta {
    justify-content: center;
}

.best-pick-summary {
    text-align: center;
}

.best-pick-why {
    padding: 0;
    border-left: 0;
    text-align: center;
}



/* ============================================================
   SNUBmonkey™ — BEST PICKS PAGE FOOTER
============================================================ */

.page-template .site-footer {
    margin-top: 87px;
}
