/*
 * /buy-osrs-items: answer capsule under the H1 and the blocks rendered by
 * App\View\Components\ItemsPageSection. Tables reuse the gold page styles
 * (buy-osrs-gold.css), which those blocks load.
 */
.items-hub-intro {
    max-width: 46rem;
    margin: 0.75rem auto 0;
    font-family: "Epilogue", sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    color: #bdbdbd;
}

@media (min-width: 640px) {
    .items-hub-intro { font-size: 17px; }
}

.items-facts,
.items-safe {
    padding: 0 16px;
}

.items-safe__body {
    max-width: 760px;
    margin: 0 auto;
    font-family: "Epilogue", sans-serif;
    color: #bdbdbd;
    font-size: 15px;
    line-height: 1.65;
}

.items-safe__body p { margin: 0 0 14px; }

.items-safe__body a {
    color: #FFC43A;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.items-facts__card {
    max-width: 760px;
    margin: 0 auto;
}

/* [*items-steps*]: the hero's steps, below the listing */
.items-steps {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.items-steps__title {
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .items-steps { padding-top: 3.5rem; padding-bottom: 2rem; }
    .items-steps__title { margin-bottom: 5rem; }
}

/* Popular item chips above the grid (ItemsWidget) */
.items-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 78rem;
    margin: 8px auto 0;
    font-family: "Epilogue", sans-serif;
}

.items-popular__label {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-right: 4px;
}

.items-popular__chip {
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: #FFC43A;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(255, 196, 58, 0.16) 0%, rgba(255, 196, 58, 0.06) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 196, 58, 0.55);
    transition: background 200ms, color 200ms, transform 200ms;
}

.items-popular__chip:hover,
.items-popular__chip:focus-visible {
    background: linear-gradient(180deg, #FFCF4A 0%, #FFBB01 100%);
    color: #111;
    transform: translateY(-1px);
}

/* Review badges in the hero, in place of the step cards (same as the accounts hub) */
.items-hub-trust {
    margin-bottom: 0.5rem;
    font-family: "Epilogue", sans-serif;
    font-weight: 300;
}

.items-hub-trust a div {
    white-space: nowrap;
}

@media (max-width: 1023px) {
    .items-hub-trust a {
        width: auto !important;
    }
}

/* Phones: the filter pills' scroll rail sits below the pills, so the chips start under it */
@media (max-width: 639px) {
    .items-popular { margin-top: 44px; }
}

/* The reviews carousel's own badges: the hero already shows them on this page */
.items-buyers-say .tp-reviews__footer {
    display: none;
}

/* H1 on the hub: "Buy OSRS" in white, the last word keeps the hero yellow */
.items-hub-title-main {
    color: #fff;
}

/* The CMS wrapper of the badge shortcode stays empty here (the badges render
   in the hero), and the listing starts closer to them. */
.items-gold-page div.lg\:pb-12:has(> div.lg\:mt-12):not(:has(a, img, iframe, button, input, h2, h3)) {
    display: none;
}

.items-gold-page .osrs-items-section {
    padding-top: 2rem;
}
