/*
 * Volume Where-to-Buy page (/series/{slug}/volume-{n}/where-to-buy/)
 *
 * Retail-partner links page — cover + volume identity on the left, retailer
 * button sections on the right. Loads alongside css/pages/volume.css.
 */

.volume-wtb {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.volume-wtb__hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
    align-items: start;
}

.volume-wtb__cover-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.volume-wtb__cover-image {
    display: block;
    width: 100%;
    max-width: 22rem;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.volume-wtb__series {
    font-size: 1.125rem;
    margin: 0 0 0.25rem;
}

.volume-wtb__title {
    font-family: "Maax Bold";
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.volume-wtb__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.volume-wtb__nav-arrow {
    margin-right: 0.375rem;
    text-decoration: none;
    display: inline-block;
}

.volume-wtb__heading {
    font-family: "Maax Bold";
    font-weight: 400;
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-black);
}

.volume-wtb__section {
    padding: 1.5rem 0;
}

.volume-wtb__section + .volume-wtb__section {
    border-top: 2px solid var(--color-line);
}

.volume-wtb__section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.volume-wtb__section-title {
    font-family: "Maax Medium";
    font-weight: 400;
    font-size: 1.25rem;
    margin: 0;
}

.volume-wtb__msrp {
    font-family: "Maax Medium";
    font-weight: 400;
    font-size: 1.125rem;
    margin: 0;
}

.volume-wtb__msrp-label {
    font-size: 0.813rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gray-dark);
    margin-right: 0.25rem;
}

.volume-wtb__retailers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Outlined button treatment — overrides the grey .kodansha--tag pill */
.volume-wtb__retailers a,
.volume-wtb__retailers a:visited {
    background: var(--color-background);
    border: 2px solid var(--color-black);
    border-radius: 0;
    color: var(--color-black);
    padding: 0.625rem 1.125rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.volume-wtb__retailers a:hover {
    background: var(--color-black);
    color: var(--color-white);
}

@media (max-width: 768px) {

    .volume-wtb__hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .volume-wtb__cover-inner {
        padding: 2rem;
    }

    .volume-wtb__cover-image {
        max-width: 16rem;
    }

    .volume-wtb__title {
        font-size: 1.5rem;
    }
}
