/*
 * Rock Documented Tag Editorial v1.0.0
 * Scope: public WordPress tag archives only.
 */

body.rd-tag-editorial-v1 {
    --rd-tag-red: #d0222a;
    --rd-tag-cream: #f5eedb;
    --rd-tag-black: #000000;
    --rd-tag-ink: #111111;
    --rd-tag-muted: #666666;
    --rd-tag-rule: #d8d8d8;
}

/* Archive masthead */
body.rd-tag-editorial-v1 .archive56__titlebar {
    padding: 28px 0 0;
}

body.rd-tag-editorial-v1 .archive56__titlebar > .titlebar56 > .container {
    border-top: 4px solid var(--rd-tag-red);
    padding: 28px 0 22px;
}

body.rd-tag-editorial-v1 .titlebar56__main {
    margin: 0 !important;
    max-width: none !important;
    text-align: left !important;
    width: 100% !important;
}

body.rd-tag-editorial-v1 .titlebar56__main::before {
    color: var(--rd-tag-red);
    content: "ROCK DOCUMENTED ARCHIVE";
    display: block;
    font-family: Lato, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.2;
    margin-bottom: 9px;
}

body.rd-tag-editorial-v1 .titlebar56__main::after {
    color: var(--rd-tag-muted);
    content: "NEWS, REVIEWS, INTERVIEWS AND LIVE COVERAGE";
    display: block;
    font-family: Lato, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.45;
    margin-top: 12px;
}

body.rd-tag-editorial-v1 .titlebar56__title {
    color: var(--rd-tag-black) !important;
    font-family: norwester, Oswald, sans-serif !important;
    font-size: clamp(42px, 5.3vw, 78px) !important;
    font-weight: 700 !important;
    letter-spacing: -.025em;
    line-height: .95 !important;
    margin: 0 !important;
    max-width: 1000px;
    text-align: left !important;
    text-transform: uppercase;
}

/* Shared archive rhythm */
body.rd-tag-editorial-v1 .archive56__toparea > .toparea56 > .container,
body.rd-tag-editorial-v1 .archive56__main > .toparea56 > .container {
    padding-top: 18px;
}

body.rd-tag-editorial-v1 .blog56--group {
    column-gap: 28px !important;
    row-gap: 34px !important;
}

body.rd-tag-editorial-v1 .post56 .title56,
body.rd-tag-editorial-v1 .post56 .title56 a {
    font-family: norwester, Oswald, sans-serif !important;
    text-decoration: none;
    text-transform: uppercase;
}

body.rd-tag-editorial-v1 .post56 .title56 a {
    transition: color 160ms ease;
}

body.rd-tag-editorial-v1 .post56 .title56 a:hover,
body.rd-tag-editorial-v1 .post56 .title56 a:focus-visible {
    color: var(--rd-tag-red) !important;
}

body.rd-tag-editorial-v1 .post56 a:focus-visible {
    outline: 3px solid var(--rd-tag-red);
    outline-offset: 4px;
}

body.rd-tag-editorial-v1 .thumbnail56 {
    background: #111111;
    overflow: hidden;
}

body.rd-tag-editorial-v1 .thumbnail56 img {
    transition: transform 300ms ease;
}

body.rd-tag-editorial-v1 .post56:hover .thumbnail56 img {
    transform: scale(1.018);
}

body.rd-tag-editorial-v1 .meta56,
body.rd-tag-editorial-v1 .meta56 a {
    font-family: norwester, Oswald, sans-serif !important;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body.rd-tag-editorial-v1 .meta56__category a,
body.rd-tag-editorial-v1 .meta56__category--fancy a {
    color: var(--rd-tag-red) !important;
}

/* Remove ornamental separators that become dead vertical rules on sparse tags. */
body.rd-tag-editorial-v1 .blog56--group > .blog56__sep,
body.rd-tag-editorial-v1 .blog56--group > .blog56__sep__line,
body.rd-tag-editorial-v1 .row56__col > .blog56__sep__line {
    display: none !important;
}

/*
 * The Fox leaves four empty grid tracks when a tag has one story. Detect that
 * exact state and turn it into an intentional image-led editorial feature.
 */
body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) > .row56__col {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    width: 100% !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .blog56--grid {
    display: block !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .post56 {
    align-items: stretch;
    background: var(--rd-tag-black);
    border-top: 5px solid var(--rd-tag-red);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
    display: grid !important;
    grid-template-columns: minmax(0, 1.52fr) minmax(330px, .82fr);
    min-height: 500px;
    overflow: hidden;
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .thumbnail56 {
    height: 100%;
    margin: 0 !important;
    min-height: 500px;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .thumbnail56 > a {
    display: block;
    height: 100%;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .thumbnail56 img {
    display: block;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    width: 100% !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .post56__text {
    align-self: stretch;
    color: var(--rd-tag-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4vw, 58px);
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .title56 {
    font-size: clamp(30px, 3vw, 46px) !important;
    line-height: 1.02 !important;
    margin: 0 0 22px !important;
    order: 2;
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .title56 a {
    color: var(--rd-tag-cream) !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .title56 a:hover,
body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .title56 a:focus-visible {
    color: #ffffff !important;
    text-decoration-color: var(--rd-tag-red);
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 7px;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .meta56 {
    color: #ffffff !important;
    justify-content: flex-start !important;
    margin: 0 0 16px !important;
    order: 1;
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .meta56 a {
    color: #ffffff;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .meta56__category a,
body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .meta56__category--fancy a {
    color: var(--rd-tag-red) !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .excerpt56 {
    color: rgba(245, 238, 219, .86) !important;
    display: -webkit-box;
    font-family: Lato, sans-serif !important;
    font-size: 16px !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-height: 1.55 !important;
    margin: 0 !important;
    order: 3;
    overflow: hidden;
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .post56__sep__line {
    display: none !important;
}

/* Populated archives retain the proven editorial hierarchy with cleaner cards. */
body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .post56 {
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .post56__text,
body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .title56,
body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .excerpt56 {
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .row56__col--big .title56 {
    font-size: clamp(28px, 2.55vw, 40px) !important;
    line-height: 1.02 !important;
}

body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .row56__col--medium .title56 {
    font-size: 25px !important;
    line-height: 1.04 !important;
}

body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .row56__col--small .title56 {
    font-size: 20px !important;
    line-height: 1.06 !important;
}

body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) .excerpt56 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

body.rd-tag-editorial-v1 .blog56--grid--4cols,
body.rd-tag-editorial-v1 .blog56--grid--3cols {
    column-gap: 26px !important;
    row-gap: 36px !important;
}

body.rd-tag-editorial-v1 .blog56--grid--4cols .post56,
body.rd-tag-editorial-v1 .blog56--grid--3cols .post56 {
    border-top: 3px solid var(--rd-tag-black);
    padding-top: 12px;
    text-align: left !important;
}

body.rd-tag-editorial-v1 .blog56--grid--4cols .post56:hover,
body.rd-tag-editorial-v1 .blog56--grid--3cols .post56:hover {
    border-top-color: var(--rd-tag-red);
}

body.rd-tag-editorial-v1 .pagination56 {
    border-top: 1px solid var(--rd-tag-rule);
    margin-top: 46px;
    padding-top: 24px;
}

@media (max-width: 1024px) {
    body.rd-tag-editorial-v1 .archive56__titlebar {
        padding-top: 20px;
    }

    body.rd-tag-editorial-v1 .titlebar56__title {
        font-size: clamp(38px, 7vw, 60px) !important;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .post56 {
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
        min-height: 430px;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .thumbnail56 {
        min-height: 430px;
    }
}

@media (max-width: 767px) {
    body.rd-tag-editorial-v1 .archive56__titlebar {
        padding-top: 14px;
    }

    body.rd-tag-editorial-v1 .archive56__titlebar > .titlebar56 > .container {
        border-top-width: 3px;
        padding: 20px 0 16px;
    }

    body.rd-tag-editorial-v1 .titlebar56__main::before {
        font-size: 10px;
        letter-spacing: .15em;
        margin-bottom: 7px;
    }

    body.rd-tag-editorial-v1 .titlebar56__main::after {
        font-size: 10px;
        letter-spacing: .055em;
        margin-top: 9px;
    }

    body.rd-tag-editorial-v1 .titlebar56__title {
        font-size: clamp(34px, 11.5vw, 50px) !important;
        line-height: .98 !important;
    }

    body.rd-tag-editorial-v1 .archive56__toparea > .toparea56 > .container,
    body.rd-tag-editorial-v1 .archive56__main > .toparea56 > .container {
        padding-top: 12px;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .post56 {
        display: block !important;
        min-height: 0;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .thumbnail56 {
        aspect-ratio: 16 / 10;
        height: auto;
        min-height: 0;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .post56__text {
        padding: 28px 24px 32px;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .title56 {
        font-size: clamp(27px, 8.4vw, 38px) !important;
        margin-bottom: 17px !important;
    }

    body.rd-tag-editorial-v1 .blog56--group:not(:has(> .row56__col ~ .row56__col)) .excerpt56 {
        -webkit-line-clamp: 5;
        font-size: 15px !important;
    }

    body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) {
        display: block !important;
    }

    body.rd-tag-editorial-v1 .blog56--group:has(> .row56__col ~ .row56__col) > .row56__col {
        margin-bottom: 34px;
        width: 100% !important;
    }

    body.rd-tag-editorial-v1 .blog56--grid--4cols,
    body.rd-tag-editorial-v1 .blog56--grid--3cols {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rd-tag-editorial-v1 .thumbnail56 img,
    body.rd-tag-editorial-v1 .post56 .title56 a {
        transition: none;
    }
}
