/*
 * FAME+ v2 look for the public pages (homepage, Touchpoint, catalogue, brands, products, search,
 * trade fairs, about, contact) plus a light v2 finish for the hand-built event pages.
 * Uses the tokens in fameplus-v2.css. Loaded after it in tpl/main_template.php.
 *
 * Cards the existing scripts load in (catalogue "Load more" and filters, brands and Touchpoint
 * infinite scroll, search tabs) keep their old class names; they are styled here inside .fp-page.
 */

/* ---------- Layout ---------- */
.fp-page {
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
}

.fp-page *,
.fp-page *::before,
.fp-page *::after {
    box-sizing: border-box;
}

.fp-page h1,
.fp-page h2,
.fp-page h3,
.fp-page h4,
.fp-page h5,
.fp-page h6 {
    color: inherit;
    font-family: var(--fp-font-sans);
    letter-spacing: normal;
    text-transform: none;
}

.fp-page a {
    color: inherit;
}

.fp-page img {
    max-width: 100%;
}

.fp-container {
    width: 100%;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .fp-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .fp-container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1536px) {
    .fp-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.fp-container--narrow {
    max-width: 48rem;
}

.fp-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .fp-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.fp-section--mist {
    background-color: var(--fp-mist);
}

.fp-section--white {
    background-color: #fff;
}

.fp-section--sand {
    background-color: var(--fp-sand);
}

.fp-section--ink {
    background-color: var(--fp-ink);
    color: var(--fp-on-dark);
}

.fp-pt {
    padding-top: 1rem;
}

@media (min-width: 1024px) {
    .fp-pt {
        padding-top: 1.5rem;
    }
}

.fp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
    .fp-section-head {
        margin-bottom: 1.5rem;
    }
}

.fp-section-title,
.fp-page .fp-section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

@media (min-width: 640px) {
    .fp-section-title,
    .fp-page .fp-section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .fp-section-title,
    .fp-page .fp-section-title {
        font-size: 1.75rem;
    }
}

.fp-section-sub {
    margin: 0.375rem 0 0;
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .fp-section-sub {
        font-size: 0.875rem;
    }
}

.fp-eyebrow {
    margin: 0;
    color: var(--fp-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fp-lead {
    font-size: 0.875rem;
    line-height: 1.6;
}

.fp-muted {
    color: var(--fp-muted);
}

.fp-icon--xs {
    width: 0.875rem;
    height: 0.875rem;
}

/* Secondary button (stone), used for "View all" links. */
.fp-btn--secondary,
.fp-btn--secondary:visited {
    border-color: rgb(47 47 47 / 0.6);
    background-color: var(--fp-stone);
    color: var(--fp-ink) !important;
}

.fp-btn--secondary:hover {
    background-color: var(--fp-stone-soft);
}

.fp-btn--light {
    border-color: #fff;
    background-color: #fff;
    color: var(--fp-ink) !important;
}

.fp-btn--light:hover {
    background-color: var(--fp-mist);
}

.fp-btn--wide {
    padding-left: 2rem;
    padding-right: 2rem;
}

.fp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

/* Breadcrumbs */
.fp-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--fp-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.fp-breadcrumbs a {
    color: var(--fp-muted) !important;
    text-decoration: none;
}

.fp-breadcrumbs a:hover {
    text-decoration: underline;
}

.fp-breadcrumbs [aria-current] {
    color: var(--fp-ink);
}

/* Pills (topic and category filters) */
.fp-pills {
    display: flex;
    gap: 0.5rem;
    margin: 0 -1rem 1rem;
    padding: 0 1rem 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.fp-pills::-webkit-scrollbar {
    display: none;
}

@media (min-width: 640px) {
    .fp-pills {
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

.fp-pills .fp-btn {
    flex-shrink: 0;
}

/* Badge */
.fp-badge {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 1;
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background-color: var(--fp-stone);
    color: var(--fp-ink);
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Woven placeholder where a photo is missing */
.fp-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background-color: var(--fp-mist);
    background-image:
        repeating-linear-gradient(45deg, rgb(0 0 0 / 0.035) 0 1px, transparent 1px 9px),
        repeating-linear-gradient(-45deg, rgb(0 0 0 / 0.035) 0 1px, transparent 1px 9px);
    color: var(--fp-stone);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ---------- Grids ---------- */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .fp-grid--4,
    .fp-grid--5 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fp-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .fp-grid {
        column-gap: 2rem;
    }
}

@media (min-width: 1536px) {
    .fp-grid--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.fp-grid--tiles {
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .fp-grid--tiles.fp-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fp-grid--tiles {
        gap: 1.25rem;
    }

    .fp-grid--tiles.fp-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1536px) {
    .fp-grid--tiles.fp-grid--5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ---------- Media frame ---------- */
.fp-card-media {
    position: relative;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
}

.fp-card-media > img,
.fp-card-media > a > img,
.fp-card-media picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Product card (also styles cards loaded by "Load more" and filters) ---------- */
.fp-page .product-holder,
.fp-page .fp-products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
}

@media (min-width: 768px) {
    .fp-page .product-holder,
    .fp-page .fp-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fp-page .fp-products--4,
    .fp-page .fp-products--wide {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .fp-page .product-holder,
    .fp-page .fp-products {
        column-gap: 2rem;
    }

    .fp-page .fp-products--wide {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1536px) {
    .fp-page .fp-products--wide {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.fp-page .product-holder > .product,
.fp-page .fp-products > .product {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
}

.fp-page .product > .image {
    position: relative;
    order: 0;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
}

.fp-page .product > .image a {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-page .product > .image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    margin: 0 !important;
    object-fit: cover;
    transition: transform 0.5s;
}

.fp-page .product:hover > .image img {
    transform: scale(1.03);
}

.fp-page .product > .brand {
    order: 1;
    margin: 0.625rem 0 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: var(--fp-ink) !important;
    font-size: 0.6875rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: none !important;
}

.fp-page .product > .brand a {
    color: inherit !important;
    text-decoration: none;
}

.fp-page .product > .brand a:hover {
    text-decoration: underline;
}

.fp-page .product > .product-name {
    order: 2;
    display: -webkit-box;
    margin: 0.125rem 0 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: var(--fp-ink) !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fp-page .product > .product-name:first-child {
    margin-top: 0.625rem !important;
}

.fp-page .product > .product-name a {
    color: inherit !important;
    text-decoration: none;
}

/* Whole card clickable (the product link covers it, the brand link stays on top). */
.fp-page .product > .product-name a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-page .product > .brand a {
    position: relative;
    z-index: 1;
}

.fp-page .product > .image + .product-name {
    margin-top: 0.625rem !important;
}

.fp-page .product > .image + .product-name + .brand {
    margin-top: 0.125rem !important;
}

/* ---------- Overlay card (categories, brands) ---------- */
.fp-overlay-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
    color: var(--fp-on-dark) !important;
    text-decoration: none !important;
}

.fp-overlay-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.fp-overlay-card:hover > img {
    transform: scale(1.03);
}

.fp-overlay-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 0.75rem 0.75rem;
    background-image: linear-gradient(to top, rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.35) 50%, transparent);
}

@media (min-width: 640px) {
    .fp-overlay-card__label {
        padding: 2.5rem 1rem 1rem;
    }
}

.fp-overlay-card__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .fp-overlay-card__title {
        font-size: 0.875rem;
    }
}

.fp-overlay-card__title.has-arrow {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fp-overlay-card__sub {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    font-weight: 500;
    opacity: 0.9;
}

.fp-overlay-card .fp-placeholder {
    font-size: 2.25rem;
}

.fp-tile {
    aspect-ratio: 4 / 5;
}

.fp-tile--square {
    aspect-ratio: 1 / 1;
}

/* ---------- Frosted card (featured stories, trade fairs) ---------- */
.fp-frosted-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
    color: var(--fp-ink) !important;
    text-decoration: none !important;
}

.fp-frosted-card__media {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.fp-frosted-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.fp-frosted-card:hover .fp-frosted-card__media img {
    transform: scale(1.03);
}

.fp-frosted-card__caption {
    position: relative;
    display: block;
    padding: 0.75rem;
    background-color: rgb(255 255 255 / 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
    .fp-frosted-card__caption {
        padding: 0.75rem 1rem;
    }
}

.fp-frosted-card.is-large .fp-frosted-card__caption {
    padding: 1rem 1.25rem;
}

.fp-frosted-card__meta {
    display: block;
    font-size: 0.625rem;
    font-weight: 500;
}

.fp-frosted-card__title {
    display: -webkit-box;
    margin-top: 0.25rem;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (min-width: 1024px) {
    .fp-frosted-card.is-large .fp-frosted-card__title {
        font-size: 1.125rem;
    }
}

/* ---------- Story rows ---------- */
.fp-story-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--fp-line);
    border-bottom: 1px solid var(--fp-line);
}

.fp-story-list > * + * {
    border-top: 1px solid var(--fp-line);
}

.fp-story-row {
    position: relative;
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

@media (min-width: 640px) {
    .fp-story-row {
        grid-template-columns: 9rem minmax(0, 1fr);
    }
}

.fp-story-row__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
}

.fp-story-row__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-story-row__meta {
    margin: 0;
    font-size: 0.625rem;
    font-weight: 500;
}

.fp-story-row__tag {
    font-weight: 600;
    text-transform: uppercase;
}

.fp-story-row__title {
    display: -webkit-box;
    margin: 0.25rem 0 0 !important;
    overflow: hidden;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fp-story-row__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.fp-story-row__title a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-story-row__excerpt {
    display: -webkit-box;
    margin: 0.5rem 0 0;
    overflow: hidden;
    font-size: 0.75rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fp-story-row__more {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fp-story-row:hover .fp-story-row__more {
    text-decoration: none;
}

/* Touchpoint cards loaded by infinite scroll / search (legacy .inspiration markup). */
.fp-page .inspiration-container,
.fp-page .touchpoint_load_data {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .fp-page .inspiration-container,
    .fp-page .touchpoint_load_data {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fp-page .inspiration-container,
    .fp-page .touchpoint_load_data {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.fp-page .inspiration {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left;
}

.fp-page .inspiration .image {
    position: relative;
    margin: 0 0 0.75rem !important;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
}

.fp-page .inspiration .image a {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-page .inspiration .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.fp-page .inspiration .title {
    margin: 0 !important;
    font-size: 0.625rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.fp-page .inspiration .subtitle {
    margin: 0.25rem 0 0 !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.fp-page .inspiration .title a,
.fp-page .inspiration .subtitle a {
    color: inherit !important;
    text-decoration: none;
}

.fp-page .inspiration .subtitle a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-page .inspiration .desc {
    display: -webkit-box;
    margin: 0.5rem 0 0 !important;
    overflow: hidden;
    font-size: 0.75rem !important;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Brand cards loaded by the brands page's infinite scroll (legacy .brand markup). */
.fp-page .brand-holder {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .fp-page .brand-holder {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fp-page .brand-holder {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 1536px) {
    .fp-page .brand-holder {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.fp-page .brand-holder > .brand,
.fp-page .brand_load_data > .result.brand {
    position: relative;
    display: block;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
}

.fp-page .brand-holder > .brand .featured,
.fp-page .brand_load_data > .result.brand .img-link {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

.fp-page .brand-holder > .brand .featured img,
.fp-page .brand_load_data > .result.brand img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s;
}

.fp-page .brand-holder > .brand:hover .featured img,
.fp-page .brand_load_data > .result.brand:hover img {
    transform: scale(1.03);
}

.fp-page .brand-holder > .brand .desc,
.fp-page .brand_load_data > .result.brand h4 {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 2.5rem 1rem 1rem !important;
    background: linear-gradient(to top, rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.35) 50%, transparent) !important;
    text-align: left !important;
}

.fp-page .brand-holder > .brand .brandname,
.fp-page .brand_load_data > .result.brand h4 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.fp-page .brand-holder > .brand .brandname a,
.fp-page .brand_load_data > .result.brand h4 a {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.fp-page .brand-holder > .brand .brandname a::after,
.fp-page .brand_load_data > .result.brand h4 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-page .brand-holder > .brand .category:empty,
.fp-page .brand_load_data > .result.brand .clear {
    display: none;
}

.fp-page .brand_load_data {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .fp-page .brand_load_data {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fp-page .brand_load_data {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

/* Loading / empty messages written by the page scripts. */
.fp-page #load_data_message,
.fp-page #load_data_message_inner,
.fp-page [id$='_load_data_message'] {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
}

.fp-page #load_data_message h3,
.fp-page #load_data_message h4,
.fp-page [id$='_load_data_message'] h3 {
    margin: 1.5rem 0 0 !important;
    color: var(--fp-muted) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

.fp-page .readmore .link,
.fp-page #load_data_message_inner .link {
    margin: 0;
}

.fp-page .readmore .link a,
.fp-page #load_data_message_inner .link a,
.fp-page .fp-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 2rem;
    border: 1px solid var(--fp-ink);
    border-radius: 9999px;
    background: #fff;
    color: var(--fp-ink) !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.fp-page .readmore .link a:hover,
.fp-page #load_data_message_inner .link a:hover,
.fp-page .fp-more:hover {
    background: var(--fp-mist);
}

.fp-page .content-placeholder {
    display: block;
    border-radius: var(--fp-radius-card);
    background: var(--fp-mist);
}

/* ---------- Homepage ---------- */
.fp-hero {
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--fp-shadow-card);
}

.fp-hero .carousel-item img {
    display: block;
    width: 100%;
    height: auto;
}

.fp-hero__controls {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .fp-hero__controls {
        right: 1.5rem;
        bottom: 1.25rem;
    }
}

.fp-hero__controls a {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgb(47 47 47 / 0.4);
    border-radius: 9999px;
    background: #fff;
    color: var(--fp-ink) !important;
}

.fp-hero__controls a:hover {
    background: var(--fp-mist);
}

.fp-hero .carousel-indicators {
    bottom: 0.5rem;
    margin-bottom: 0;
}

.fp-hero .carousel-indicators li {
    width: 0.5rem;
    height: 0.5rem;
    border: 0;
    border-radius: 9999px;
    background-color: #fff;
    box-shadow: 0 0 0 1px rgb(0 0 0 / 0.2);
}

.fp-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

@media (min-width: 640px) {
    .fp-stats {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .fp-stats {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.fp-stats > div {
    display: flex;
    flex-direction: column-reverse;
}

.fp-stats dt {
    margin-top: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 500;
}

.fp-stats dd {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .fp-stats dt {
        font-size: 1rem;
    }

    .fp-stats dd {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .fp-stats dt {
        font-size: 1.25rem;
    }

    .fp-stats dd {
        font-size: 4.5rem;
    }
}

.fp-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 1024px) {
    .fp-paths {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 2rem;
    }
}

.fp-paths li {
    position: relative;
}

.fp-paths .fp-card-media {
    aspect-ratio: 1 / 1;
}

.fp-paths img {
    transition: transform 0.5s;
}

.fp-paths li:hover img {
    transform: scale(1.03);
}

.fp-paths h3 {
    margin: 0.75rem 0 0 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

@media (min-width: 640px) {
    .fp-paths h3 {
        font-size: 0.875rem !important;
    }
}

.fp-paths h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.fp-paths h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-paths p {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    font-size: 0.6875rem;
    font-style: italic;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 640px) {
    .fp-paths p {
        font-size: 0.75rem;
    }
}

/* Category bento: two tall tiles over a wide one, beside three rows (desktop); an even grid on smaller screens. */
.fp-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .fp-bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.fp-bento > ul {
    display: contents;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-bento li {
    aspect-ratio: 1 / 1;
}

.fp-bento__left li:last-child {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

@media (min-width: 640px) {
    .fp-bento__left li:last-child {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1024px) {
    .fp-bento {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
        gap: 1rem;
        height: 34rem;
    }

    .fp-bento > ul {
        display: grid;
        gap: 1rem;
    }

    .fp-bento li {
        aspect-ratio: auto;
    }

    .fp-bento__left {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1.2fr 1fr;
    }

    .fp-bento__left li:last-child {
        grid-column: span 2;
        aspect-ratio: auto;
    }

    .fp-bento__right {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: 1.3fr 1fr 1fr;
    }

    .fp-bento__right li {
        grid-column: span 2;
    }

    .fp-bento__right li:nth-child(4) {
        grid-column: span 4;
    }

    .fp-bento__right li:nth-child(6),
    .fp-bento__right li:nth-child(7) {
        grid-column: span 3;
    }
}

@media (min-width: 1280px) {
    .fp-bento {
        height: 40rem;
    }
}

/* Featured brands: one large tile beside six. */
.fp-brands-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-brands-feature li {
    aspect-ratio: 1 / 1;
}

.fp-brands-feature li:first-child {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
    .fp-brands-feature {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .fp-brands-feature li:first-child {
        grid-row: span 2;
        aspect-ratio: auto;
    }
}

/* Lead story beside a list. */
.fp-stories-split {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .fp-stories-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: 2.5rem;
    }
}

.fp-lead-story {
    position: relative;
}

.fp-lead-story .fp-card-media {
    aspect-ratio: 16 / 10;
}

.fp-lead-story__meta {
    margin: 0.75rem 0 0;
    font-size: 0.625rem;
    font-weight: 500;
}

.fp-lead-story h3 {
    margin: 0.25rem 0 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

@media (min-width: 1024px) {
    .fp-lead-story h3 {
        font-size: 1.125rem !important;
    }
}

.fp-lead-story h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.fp-lead-story h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.fp-lead-story p.fp-lead {
    display: -webkit-box;
    margin: 0.5rem 0 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fp-lead-story .fp-btn {
    margin-top: 1rem;
}

/* Featured stories bento (Touchpoint). */
.fp-feature-bento {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-feature-bento li {
    aspect-ratio: 16 / 10;
}

.fp-feature-bento li:first-child {
    aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
    .fp-feature-bento {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(13rem, auto));
    }

    .fp-feature-bento li,
    .fp-feature-bento li:first-child {
        aspect-ratio: auto;
    }

    .fp-feature-bento li:first-child {
        grid-row: span 2;
        min-height: 28rem;
    }
}

@media (min-width: 1024px) {
    .fp-feature-bento {
        gap: 1.25rem;
    }
}

/* Two-column page body with an aside. */
.fp-with-aside {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .fp-with-aside {
        grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr);
    }
}

.fp-aside-title {
    margin: 0 0 1rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.fp-aside-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) and (max-width: 1023.98px) {
    .fp-aside-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fp-aside-list li {
    aspect-ratio: 4 / 3;
}

/* ---------- Article (story) ---------- */
.fp-article-cover {
    aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
    .fp-article-cover {
        aspect-ratio: 21 / 9;
    }
}

.fp-article-header {
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 0;
    text-align: center;
}

.fp-article-header .fp-story-row__meta {
    font-size: 0.6875rem;
}

.fp-article-title {
    margin: 0.5rem 0 0 !important;
    font-family: var(--fp-font-serif) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

@media (min-width: 640px) {
    .fp-article-title {
        font-size: 1.875rem !important;
    }
}

@media (min-width: 1024px) {
    .fp-article-title {
        font-size: 2.25rem !important;
    }
}

.fp-article-body {
    max-width: 48rem;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.fp-article-standfirst {
    margin: 0 0 2rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--fp-ink);
    font-family: var(--fp-font-serif);
    font-size: 1.125rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .fp-article-standfirst {
        font-size: 1.25rem;
    }
}

.fp-prose {
    color: var(--fp-ink);
    font-family: var(--fp-font-serif);
    font-size: 1.125rem;
    line-height: 1.65;
}

.fp-prose p {
    margin: 0 0 1.25rem;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.fp-prose h2 {
    margin: 2.5rem 0 1rem !important;
    font-family: var(--fp-font-serif) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.fp-prose h3 {
    margin: 2rem 0 0.75rem !important;
    font-family: var(--fp-font-serif) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

.fp-prose h4 {
    margin: 1.5rem 0 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

.fp-prose blockquote {
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 4px solid var(--fp-ink);
    font-size: 1.25rem;
}

.fp-prose a {
    color: inherit !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fp-prose a:hover {
    text-decoration: none;
}

.fp-prose ul,
.fp-prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.fp-prose li {
    margin-bottom: 0.375rem;
}

.fp-prose img {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    margin: 1.5rem 0;
    border-radius: var(--fp-radius-card);
    background-color: var(--fp-mist);
}

.fp-prose figure {
    margin: 2rem 0;
}

.fp-prose figure img {
    margin: 0;
}

.fp-prose figcaption {
    margin-top: 0.5rem;
    color: var(--fp-muted);
    font-family: var(--fp-font-sans);
    font-size: 0.75rem;
}

.fp-prose iframe {
    max-width: 100%;
    border-radius: var(--fp-radius-card);
}

.fp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fp-line);
}

/* ---------- Brand storefront ---------- */
.fp-store-hero {
    aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
    .fp-store-hero {
        aspect-ratio: 5 / 2;
    }
}

.fp-title-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--fp-ink);
}

.fp-title-bar h1 {
    margin: 0 auto 0 0 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

@media (min-width: 640px) {
    .fp-title-bar h1 {
        font-size: 1.875rem !important;
    }
}

.fp-rich {
    font-size: 0.875rem;
    line-height: 1.65;
}

.fp-rich img {
    height: auto !important;
    max-width: 100%;
    border-radius: var(--fp-radius-card);
}

.fp-rich p {
    margin: 0 0 1rem;
}

.fp-info {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fp-ink);
}

@media (min-width: 768px) {
    .fp-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fp-info h2 {
    margin: 0 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
}

.fp-info-list {
    display: grid;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.fp-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.fp-info-list .fp-icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
}

.fp-info-list a {
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

/* ---------- Product page ---------- */
.fp-product-page {
    display: grid;
    gap: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .fp-product-page {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 2.5rem;
        padding-bottom: 3.5rem;
    }
}

.fp-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .fp-gallery {
        flex-direction: row;
    }
}

.fp-gallery__thumbs {
    display: flex;
    gap: 0.75rem;
    margin: 0;
    padding: 0.25rem;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

@media (min-width: 768px) {
    .fp-gallery__thumbs {
        flex-direction: column;
        width: 6.5rem;
        max-height: 34rem;
        overflow-x: hidden;
        overflow-y: auto;
    }
}

.fp-gallery__thumbs button {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--fp-radius-card);
    background: var(--fp-mist);
    box-shadow: var(--fp-shadow-card);
    cursor: pointer;
}

@media (min-width: 768px) {
    .fp-gallery__thumbs button {
        width: 6rem;
        height: 6rem;
    }
}

.fp-gallery__thumbs button[aria-current='true'] {
    outline: 2px solid var(--fp-ink);
    outline-offset: 2px;
}

.fp-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-gallery__main {
    position: relative;
    flex: 1 1 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background: #fff;
    box-shadow: var(--fp-shadow-card);
}

.fp-gallery__main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fp-gallery__main img[hidden] {
    display: none;
}

.fp-gallery__zoom {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.375rem;
    background: rgb(255 255 255 / 0.9);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.15);
    color: var(--fp-ink);
    cursor: pointer;
}

.fp-gallery__zoom:hover {
    background: #fff;
}

.fp-viewer {
    position: fixed;
    inset: 0;
    z-index: 1070;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgb(0 0 0 / 0.95);
}

.fp-viewer[hidden] {
    display: none;
}

.fp-viewer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fp-viewer button {
    position: absolute;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.1);
    color: #fff;
    cursor: pointer;
}

.fp-viewer button:hover {
    background: rgb(255 255 255 / 0.2);
}

.fp-viewer__close {
    top: 1rem;
    right: 1rem;
}

.fp-viewer__prev {
    left: 1rem;
}

.fp-viewer__next {
    right: 1rem;
}

.fp-product-info__brand {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.fp-product-info__brand a {
    text-decoration: none;
}

.fp-product-info__brand a:hover {
    text-decoration: underline;
}

.fp-product-info__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--fp-ink);
}

.fp-product-info__head h1 {
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

@media (min-width: 640px) {
    .fp-product-info__head h1 {
        font-size: 1.875rem !important;
    }
}

.fp-product-info__tools {
    display: flex;
    flex-shrink: 0;
    gap: 0.25rem;
    padding-top: 0.25rem;
}

/* The site's own Share / Save links, shown as round icon buttons. */
.fp-product-info__tools .icon_btn {
    display: inline-grid !important;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9999px;
    background: transparent !important;
    color: var(--fp-ink) !important;
    font-size: 0 !important;
    text-decoration: none !important;
}

.fp-product-info__tools .icon_btn span {
    display: none !important;
}

.fp-product-info__tools .icon_btn:hover {
    background: var(--fp-mist) !important;
}

.fp-product-info__tools .icon_btn .fp-icon {
    display: block;
}

.fp-product-info__tools .like_btn.active .fp-icon {
    fill: currentColor;
}

.fp-specs {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.625rem 1rem;
    margin: 1.5rem 0 0;
    font-size: 0.8125rem;
}

.fp-specs dt {
    font-weight: 700;
    text-align: right;
}

.fp-specs dd {
    margin: 0;
}

.fp-rating {
    margin-top: 0.75rem;
}

.fp-review {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--fp-line);
}

.fp-review h2 {
    margin: 0 0 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.fp-textarea {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgb(47 47 47 / 0.3);
    border-radius: 0.5rem;
    background: #fff;
    font-family: var(--fp-font-sans);
    font-size: 0.875rem;
}

.fp-scroller {
    display: flex;
    gap: 1rem;
    margin: 0 -1rem;
    padding: 0 1rem 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.fp-scroller > * {
    flex: 0 0 10rem;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .fp-scroller {
        margin: 0 -1.5rem;
        padding: 0 1.5rem 0.5rem;
    }

    .fp-scroller > * {
        flex-basis: 12rem;
    }
}

@media (min-width: 1024px) {
    .fp-scroller {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

/* ---------- Catalogue with filters ---------- */
.fp-catalogue {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .fp-catalogue {
        grid-template-columns: 16rem minmax(0, 1fr);
        gap: 2.5rem;
    }
}

.fp-filters {
    align-self: start;
    padding: 1rem;
    border: 1px solid var(--fp-line);
    border-radius: 1rem;
    background: #fff;
}

@media (min-width: 1024px) {
    .fp-filters {
        position: sticky;
        top: 5rem;
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
    }
}

.fp-filters summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.fp-filters summary::-webkit-details-marker {
    display: none;
}

.fp-filter-group + .fp-filter-group {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--fp-line);
}

/* The legacy filter headings (h4[data-target]) toggle their list via ansible.js. */
.fp-filters h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.025em;
    text-transform: uppercase !important;
    cursor: pointer;
}

.fp-filters ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
}

.fp-filters ul[data-name] {
    max-height: 16rem;
    overflow-y: auto;
}

.fp-filters ul ul {
    padding-left: 0.75rem;
}

.fp-filters li {
    margin: 0;
    padding: 0.25rem 0;
}

.fp-filters li a {
    color: inherit !important;
    text-decoration: none;
}

.fp-filters li a:hover {
    text-decoration: underline;
}

.fp-filters label {
    display: inline-flex !important;
    align-items: center;
    gap: 0.25rem;
    margin: 0 0 0 0.375rem;
    white-space: normal !important;
    cursor: pointer;
}

.fp-filters label span {
    color: var(--fp-muted);
}

.fp-filters input[type='checkbox'] {
    accent-color: var(--fp-ink);
}

.fp-filters .button_holder {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.fp-filters .button_holder button {
    min-height: 2.25rem;
    padding: 0 1rem;
    border: 1px solid var(--fp-ink);
    border-radius: 9999px;
    background: #fff;
    color: var(--fp-ink);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.fp-filters .button_holder .filter_btn {
    background: var(--fp-ink);
    color: #fff;
}

.fp-filters .button_holder button:hover {
    background: var(--fp-stone);
    border-color: var(--fp-stone);
    color: var(--fp-ink);
}

.fp-filters .show_filter {
    display: none !important;
}

/* ---------- Search box (catalogue, brands, search page) ---------- */
.fp-searchbar {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .fp-searchbar {
        width: auto;
        min-width: 22rem;
    }
}

.fp-searchbar .twitter-typeahead {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
}

.fp-searchbar input {
    width: 100%;
    min-height: 2.5rem;
    padding: 0 1rem;
    border: 1px solid rgb(47 47 47 / 0.4);
    border-radius: 9999px;
    background: #fff !important;
    color: var(--fp-ink);
    font-family: var(--fp-font-sans);
    font-size: 0.875rem;
}

.fp-searchbar input:focus {
    border-color: var(--fp-ink);
    outline: none;
}

.fp-searchbar .tt-menu {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: var(--fp-radius-card);
    box-shadow: var(--fp-shadow-card);
}

/* Search results tabs */
.fp-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    border: 0 !important;
}

.fp-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0 1.25rem !important;
    border: 1px solid var(--fp-ink) !important;
    border-radius: 9999px !important;
    background: #fff;
    color: var(--fp-ink) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none;
}

.fp-tabs .nav-link.active {
    background: var(--fp-ink) !important;
    color: #fff !important;
}

.fp-tabs .nav-link:hover:not(.active) {
    background: var(--fp-mist);
}

/* Product page tabs (Bootstrap). */
.fp-product-tabs.nav-tabs {
    gap: 1.25rem;
    margin: 1.5rem 0 0;
    border-bottom: 1px solid var(--fp-line);
}

.fp-product-tabs .nav-link {
    margin: 0 0 -1px !important;
    padding: 0.5rem 0 !important;
    border: 0 !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--fp-muted) !important;
    font-size: 0.8125rem;
    font-weight: 600;
}

.fp-product-tabs .nav-link.active {
    border-bottom-color: var(--fp-ink) !important;
    color: var(--fp-ink) !important;
}

.fp-tab-body {
    padding-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ---------- Trade fairs ---------- */
.fp-event-row {
    display: grid;
    overflow: hidden;
    border-radius: var(--fp-radius-card);
    background: #fff;
    box-shadow: var(--fp-shadow-card);
}

@media (min-width: 768px) {
    .fp-event-row {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.4fr) minmax(0, 1.1fr);
    }
}

.fp-event-row__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--fp-mist);
}

@media (min-width: 768px) {
    .fp-event-row__media {
        aspect-ratio: auto;
        min-height: 12rem;
    }
}

.fp-event-row__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-event-row__body {
    padding: 1rem;
}

@media (min-width: 768px) {
    .fp-event-row__body {
        padding: 1.25rem;
    }
}

.fp-event-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 500;
}

.fp-dot {
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    margin-right: 0.25rem;
    border-radius: 9999px;
    background: var(--fp-ink);
    vertical-align: middle;
}

.fp-program {
    font-weight: 600;
    text-transform: uppercase;
}

.fp-event-row h3 {
    margin: 0.375rem 0 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.fp-event-row h3 a {
    color: inherit !important;
    text-decoration: none;
}

.fp-event-row h3 a:hover {
    text-decoration: underline;
}

.fp-event-row__place {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    margin: 0.25rem 0 0;
    color: var(--fp-muted);
    font-size: 0.75rem;
}

.fp-event-row__text {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
}

.fp-event-row__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}

@media (min-width: 768px) {
    .fp-event-row__actions {
        flex-direction: column;
        justify-content: center;
        padding: 1.25rem;
        border-left: 1px solid var(--fp-line);
    }

    .fp-event-row__actions .fp-btn {
        width: 100%;
        max-width: 11rem;
    }
}

.fp-stack {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Simple content pages (about, contact, policies) ---------- */
.fp-page-head {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

@media (min-width: 1024px) {
    .fp-page-head {
        padding-top: 2.5rem;
    }
}

.fp-page-head h1 {
    margin: 0.5rem 0 0 !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    line-height: 1.2 !important;
}

@media (min-width: 1024px) {
    .fp-page-head h1 {
        font-size: 2.5rem !important;
    }
}

.fp-page-head p {
    max-width: 48rem;
    margin: 0.75rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.fp-card {
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--fp-shadow-card);
}

@media (min-width: 1024px) {
    .fp-card {
        padding: 1.75rem;
    }
}

/* ---------- Light v2 finish for the hand-built event and campaign pages ---------- */
/* Fonts, colours and buttons only; their own layouts are left as they are. */
body.fp-skin {
    color: var(--fp-ink);
}

body.fp-skin #fp-main h1,
body.fp-skin #fp-main h2,
body.fp-skin #fp-main h3,
body.fp-skin #fp-main h4 {
    font-family: var(--fp-font-sans);
}

body.fp-skin #fp-main .btn:not(.btn-link):not(.close):not(.dropdown-toggle):not(.fp-btn) {
    border-radius: 9999px;
    font-family: var(--fp-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

body.fp-skin #fp-main .btn-dark,
body.fp-skin #fp-main .btn-primary {
    border-color: var(--fp-ink);
    background-color: var(--fp-ink);
    color: #fff;
}

body.fp-skin #fp-main .btn-dark:hover,
body.fp-skin #fp-main .btn-primary:hover {
    border-color: var(--fp-stone);
    background-color: var(--fp-stone);
    color: var(--fp-ink);
}

body.fp-skin #fp-main .btn-outline-dark,
body.fp-skin #fp-main .btn-outline-secondary,
body.fp-skin #fp-main .btn-light {
    border-color: var(--fp-ink);
    background-color: #fff;
    color: var(--fp-ink);
}

body.fp-skin #fp-main .btn-outline-dark:hover,
body.fp-skin #fp-main .btn-outline-secondary:hover,
body.fp-skin #fp-main .btn-light:hover {
    background-color: var(--fp-mist);
}

body.fp-skin #fp-main .card {
    overflow: hidden;
    border: 0;
    border-radius: var(--fp-radius-card);
    box-shadow: var(--fp-shadow-card);
}

body.fp-skin #fp-main .accordion .card {
    box-shadow: none;
    border-bottom: 1px solid var(--fp-line);
    border-radius: 0;
}

/* Manila FAME section tabs */
.fp-subnav {
    border-bottom: 1px solid var(--fp-line);
    background: #fff;
}

.fp-subnav__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.fp-subnav__brand {
    display: none;
    flex-shrink: 0;
    color: var(--fp-ink) !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-decoration: none !important;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .fp-subnav__brand {
        display: block;
    }
}

.fp-subnav ul {
    display: flex;
    flex: 1 1 auto;
    gap: 0.25rem;
    margin: 0 -1rem;
    padding: 0 1rem;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

@media (min-width: 1024px) {
    .fp-subnav ul {
        margin: 0;
        padding: 0;
    }

    /* Right-aligned when there is room; scrolls from the start (nothing clipped) when there isn't. */
    .fp-subnav li:first-child {
        margin-left: auto;
    }
}

.fp-subnav ul::-webkit-scrollbar {
    display: none;
}

.fp-subnav li {
    flex-shrink: 0;
}

.fp-subnav ul a {
    display: block;
    padding: 0.75rem;
    border-bottom: 2px solid transparent;
    color: var(--fp-muted) !important;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
}

@media (min-width: 640px) {
    .fp-subnav ul a {
        font-size: 0.8125rem;
    }
}

.fp-subnav ul a:hover {
    color: var(--fp-ink) !important;
}

.fp-subnav ul a[aria-current='page'] {
    border-bottom-color: #e858a0;
    color: var(--fp-ink) !important;
}

/* ---------- Additions: catalogue "What's new", story columns, about, contact, policies ---------- */
.fp-new-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-new-bento li {
    aspect-ratio: 6 / 5;
}

.fp-new-bento li:first-child {
    grid-column: span 2;
    aspect-ratio: 1 / 1;
}

@media (min-width: 640px) {
    .fp-new-bento li:first-child {
        aspect-ratio: 4 / 3;
    }
}

@media (min-width: 1024px) {
    .fp-new-bento {
        grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(13rem, auto));
        gap: 1.25rem;
    }

    .fp-new-bento li,
    .fp-new-bento li:first-child {
        aspect-ratio: auto;
    }

    .fp-new-bento li:first-child {
        grid-column: span 1;
        grid-row: span 2;
    }
}

@media (min-width: 1024px) {
    .fp-story-list--3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 2rem;
        border: 0;
    }

    .fp-story-list--3 > * + * {
        border-top: 0;
    }
}

.fp-about-row {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .fp-about-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 2.5rem;
    }

    .fp-about-row--flip > :first-child {
        order: 2;
    }
}

.fp-about-media {
    aspect-ratio: 4 / 3;
}

.fp-about-logo {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.fp-about-logo img {
    max-width: 22rem;
    width: 100%;
    height: auto;
}

.fp-contact__grid {
    display: grid;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
    .fp-contact__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 3rem;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.fp-contact__address {
    margin: 2rem 0 0;
    font-size: 0.875rem;
}

.fp-contact__address dt {
    font-weight: 600;
}

.fp-contact__address dd {
    margin: 0.25rem 0 0;
    color: var(--fp-muted);
    line-height: 1.6;
}

.fp-contact__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fp-contact__card h2 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
}

.fp-contact__card p {
    margin: 0.25rem 0 0;
    color: var(--fp-muted);
    font-size: 0.8125rem;
}

.fp-contact__card .fp-btn {
    text-transform: none;
    letter-spacing: 0;
}

.fp-policy {
    padding-bottom: 3.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.fp-policy h1 {
    margin: 0.5rem 0 1.5rem !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
    text-transform: none !important;
}

@media (min-width: 1024px) {
    .fp-policy h1 {
        font-size: 2.25rem !important;
    }
}

.fp-policy h2,
.fp-policy h3,
.fp-policy h4,
.fp-policy h5 {
    margin: 2rem 0 0.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.fp-policy a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Event pages: the campaign serif follows the v2 type (Abhaya Libre). */
body.fp-skin #fp-main .accent-font {
    font-family: var(--fp-font-serif) !important;
}

@media (min-width: 1024px) {
    /* Six tiles on the right (nine categories): the last one fills its row. */
    .fp-bento__right li:nth-child(6):last-child {
        grid-column: span 6;
    }
}

/* Sideways row of product cards (product page): scrolls on phones and tablets, five across on desktop. */
.fp-page .fp-products.fp-scroller {
    display: flex !important;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .fp-page .fp-products.fp-scroller {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.75rem 2rem;
    }
}

/* ---------- Event page (Manila FAME) ---------- */
.fp-btn--outline-light,
.fp-btn--outline-light:visited {
    border-color: rgb(255 255 255 / 0.7);
    background: transparent;
    color: #fff !important;
}

.fp-btn--outline-light:hover {
    background: rgb(255 255 255 / 0.1);
}

.fp-event-hero {
    position: relative;
    overflow: hidden;
    background: #0f1a36;
    color: #fff;
}

.fp-event-hero__glow {
    position: absolute;
    top: -6rem;
    left: -6rem;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: #e858a0;
    opacity: 0.3;
    filter: blur(64px);
    pointer-events: none;
}

.fp-event-hero__grid {
    position: relative;
    display: grid;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .fp-event-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 3rem;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.fp-event-hero .fp-breadcrumbs ol,
.fp-event-hero .fp-breadcrumbs a,
.fp-event-hero .fp-breadcrumbs [aria-current] {
    color: rgb(255 255 255 / 0.7) !important;
}

.fp-event-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.1);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fp-event-status .fp-dot {
    width: 0.5rem;
    height: 0.5rem;
    margin: 0;
    background: #e858a0;
}

.fp-page .fp-event-title {
    margin: 0.75rem 0 0;
    color: #fff;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.15;
}

@media (min-width: 640px) {
    .fp-page .fp-event-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .fp-page .fp-event-title {
        font-size: 3rem;
    }
}

/* The 2026 edition's "Bloom" wordmark, in the Manila FAME pink. */
.fp-event-bloom {
    margin: 0.75rem 0 0;
}

.fp-event-bloom svg {
    display: block;
    width: 12rem;
    height: auto;
    fill: #e858a0;
}

@media (min-width: 640px) {
    .fp-event-bloom svg {
        width: 15rem;
    }
}

.fp-event-tagline {
    max-width: 34rem;
    margin: 0.75rem 0 0;
    color: rgb(255 255 255 / 0.9);
    font-family: var(--fp-font-serif);
    font-size: 1.125rem;
    line-height: 1.45;
}

@media (min-width: 640px) {
    .fp-event-tagline {
        font-size: 1.25rem;
    }
}

.fp-event-facts {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .fp-event-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fp-event-facts > div {
    display: flex;
    gap: 0.75rem;
}

.fp-event-facts dt {
    color: rgb(255 255 255 / 0.7);
}

.fp-event-facts dd {
    margin: 0;
}

.fp-event-facts dd span {
    display: block;
    color: rgb(255 255 255 / 0.75);
    font-size: 0.75rem;
}

.fp-event-video {
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.fp-event-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* In-page navigation, kept under the header while scrolling. */
.fp-onpage {
    position: -webkit-sticky;
    position: sticky;
    top: var(--fp-header-h);
    z-index: 1020;
    border-bottom: 1px solid var(--fp-line);
    background: rgb(255 255 255 / 0.95);
}

.fp-onpage ul {
    display: flex;
    gap: 1.5rem;
    margin: 0 auto;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.fp-onpage ul::-webkit-scrollbar {
    display: none;
}

.fp-onpage a {
    display: block;
    padding: 0.75rem 0;
    color: var(--fp-ink) !important;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none !important;
}

.fp-onpage a:hover {
    text-decoration: underline !important;
    text-underline-offset: 6px;
}

.fp-anchor {
    scroll-margin-top: 8rem;
}

.fp-anchor-target {
    display: block;
    position: relative;
    top: -8rem;
}

.fp-event-numbers {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.fp-event-numbers__grid {
    display: grid;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .fp-event-numbers__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: 3rem;
    }
}

.fp-event-countdown p {
    margin: 0;
}

.fp-event-countdown__value {
    font-size: 3rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

@media (min-width: 640px) {
    .fp-event-countdown__value {
        font-size: 3.75rem;
    }
}

.fp-event-countdown__label {
    font-size: 0.875rem;
    font-weight: 600;
}

.fp-event-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.fp-event-stats > div {
    display: flex;
    flex-direction: column-reverse;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--fp-shadow-card);
    text-align: center;
}

.fp-event-stats dt {
    margin-top: 0.25rem;
    color: var(--fp-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fp-event-stats dd {
    margin: 0;
    font-family: var(--fp-font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .fp-event-stats dd {
        font-size: 2.25rem;
    }
}

.fp-event-about {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .fp-event-about {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 4rem;
    }
}

.fp-event-lead {
    margin: 1rem 0;
    font-family: var(--fp-font-serif);
    font-size: 1.125rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .fp-event-lead {
        font-size: 1.25rem;
    }
}

.fp-page .fp-event-subtitle {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.fp-event-map {
    margin-top: 0.75rem;
    aspect-ratio: 16 / 9;
}

.fp-event-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Feature rows: picture and text, alternating sides. */
.fp-feature-rows {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .fp-feature-rows {
        gap: 5rem;
    }
}

.fp-feature-row {
    display: grid;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .fp-feature-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
    }

    .fp-feature-row.is-flipped .fp-feature-row__media {
        order: 2;
    }
}

.fp-feature-row__media {
    aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
    .fp-feature-row__media {
        aspect-ratio: 16 / 10;
    }
}

.fp-feature-row__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-feature-row__body {
    max-width: 36rem;
}

.fp-page .fp-feature-row h3 {
    margin: 0.25rem 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .fp-page .fp-feature-row h3 {
        font-size: 1.875rem;
    }
}

.fp-feature-row__text {
    margin: 1rem 0 0;
    color: rgb(47 47 47 / 0.85);
    font-size: 1rem;
    line-height: 1.65;
}

/* Cards with a picture (or not), text and a button. */
.fp-cards {
    gap: 1.5rem;
}

@media (max-width: 767.98px) {
    .fp-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fp-info-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--fp-shadow-card);
}

.fp-info-card__media {
    position: relative;
    aspect-ratio: 3 / 2;
    background: var(--fp-mist);
}

.fp-info-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-info-card__media.is-logo {
    background: #fff;
}

.fp-info-card__media.is-logo img {
    padding: 2rem;
    object-fit: contain;
}

.fp-info-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .fp-info-card__body {
        padding: 1.5rem;
    }
}

.fp-page .fp-info-card h3 {
    margin: 0.25rem 0 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.fp-info-card p {
    margin: 0.5rem 0 0;
    color: rgb(47 47 47 / 0.85);
    font-size: 0.875rem;
    line-height: 1.6;
}

.fp-info-card .fp-eyebrow {
    margin: 0;
    color: var(--fp-muted);
    font-size: 0.6875rem;
}

.fp-info-card__body > .fp-btn {
    align-self: flex-start;
    margin-top: auto;
}

.fp-info-card__body > p + .fp-btn {
    margin-top: 1rem;
}

.fp-info-card__actions {
    display: grid;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.fp-info-card__actions p {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
}

.fp-info-card__actions p a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Full-width photo banner with a dark veil. */
.fp-event-banner {
    position: relative;
    background-color: #0f1a36;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.fp-event-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(15 26 54 / 0.85), rgb(15 26 54 / 0.55));
}

.fp-event-banner__inner {
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .fp-event-banner__inner {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.fp-page .fp-event-banner h2 {
    margin: 0;
    color: #fff;
    font-family: var(--fp-font-serif);
    font-size: 2rem;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .fp-page .fp-event-banner h2 {
        font-size: 3rem;
    }
}

.fp-event-banner p {
    max-width: 44rem;
    margin: 0.75rem auto 0;
    color: rgb(255 255 255 / 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Admission */
.fp-event-admission {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .fp-event-admission {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: start;
        gap: 3rem;
    }
}

.fp-prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 1024px) {
    .fp-prices {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.fp-prices li {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--fp-shadow-card);
}

.fp-prices__label {
    color: var(--fp-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.fp-prices__value {
    margin-top: 0.5rem;
    font-family: var(--fp-font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
}

.fp-prices__note {
    margin-top: 0.25rem;
    color: var(--fp-muted);
    font-size: 0.75rem;
}

.fp-page .fp-rules h2 {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.fp-rules ul {
    display: grid;
    gap: 0.875rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    line-height: 1.5;
}

.fp-rules li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.fp-rules .fp-icon {
    margin-top: 0.125rem;
    color: #e858a0;
}

/* Partner logos */
.fp-partners {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .fp-partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fp-partners ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.fp-partners img {
    max-width: 11rem;
    max-height: 4rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fp-event-stats dd {
    white-space: nowrap;
}

@media (max-width: 639.98px) {
    .fp-event-stats > div {
        padding: 0.875rem 0.5rem;
    }

    .fp-event-stats dd {
        font-size: 1.375rem;
    }
}

/* Category grid, phones (two columns): a last tile left on its own (e.g. Visual Arts) spans the full row. */
@media (max-width: 639.98px) {
    .fp-bento__right li:last-child:nth-child(odd) {
        grid-column: span 2;
        aspect-ratio: 2 / 1;
    }
}

/* Tablets (three columns): a last tile alone, or a pair, fills the row. */
@media (min-width: 640px) and (max-width: 1023.98px) {
    .fp-bento__right li:last-child:nth-child(3n + 1) {
        grid-column: span 3;
        aspect-ratio: 3 / 1;
    }

    .fp-bento__right li:last-child:nth-child(3n + 2) {
        grid-column: span 2;
        aspect-ratio: auto;
    }
}

/* Desktop with five tiles on the right: two rows instead of leaving the third empty. */
@media (min-width: 1024px) {
    .fp-bento__right:has(> li:nth-child(5):last-child) {
        grid-template-rows: 1.3fr 1fr;
    }
}

/* Serif paragraphs: !important because ansible.css forces the old font on every <p>. */
.fp-page p.fp-event-tagline,
.fp-page p.fp-event-lead,
.fp-page p.fp-article-standfirst {
    font-family: var(--fp-font-serif) !important;
}
