/* Independent of the Go British Occasions calendar and theme navigation. */
.gbpl{--gbpl-navy:#101D3A;color:var(--gbpl-navy);font-family:"Manrope",Arial,sans-serif;width:100%;max-width:100%;margin:24px 0 32px;}
.gbpl .gbpl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3vw,38px) clamp(14px,2.4vw,28px);align-items:start;}
.gbpl .gbpl-card{min-width:0;margin:0;padding:0;border:0;box-shadow:none;background:transparent;overflow-wrap:anywhere;}
.gbpl .gbpl-image-link{display:block;aspect-ratio:1/1;overflow:hidden;background:#fff;text-decoration:none;}
.gbpl .gbpl-image{width:100%;height:100%;object-fit:contain;display:block;margin:0;}
.gbpl .gbpl-copy{padding:12px 0 0;}
.gbpl .gbpl-brand{font-family:"Manrope",Arial,sans-serif;font-size:11px;line-height:1.4;letter-spacing:.11em;text-transform:uppercase;font-weight:600;margin:0 0 6px;color:var(--gbpl-navy);}
.gbpl .gbpl-title{font-family:"Bodoni Moda",Georgia,serif!important;font-size:clamp(19px,2vw,25px)!important;line-height:1.17!important;font-weight:400!important;margin:0 0 7px!important;color:var(--gbpl-navy);}
.gbpl .gbpl-title a{color:inherit;text-decoration:none;}
.gbpl .gbpl-title a:hover{text-decoration:underline;}
.gbpl .gbpl-description{font-family:"Manrope",Arial,sans-serif;font-size:14px!important;line-height:1.5!important;margin:0 0 9px!important;color:var(--gbpl-navy);}
.gbpl .gbpl-view{display:inline-block;font-family:"Manrope",Arial,sans-serif;font-size:13px;font-weight:500;color:var(--gbpl-navy);text-decoration:underline;text-underline-offset:3px;}
.gbpl .gbpl-view:focus-visible,.gbpl .gbpl-image-link:focus-visible,.gbpl .gbpl-title a:focus-visible{outline:2px solid var(--gbpl-navy);outline-offset:3px;}
.gbpl .gbpl-disclosure,.gbpl .gbpl-empty{font-size:13px!important;line-height:1.5!important;margin:0 0 16px!important;}
.gbpl .gbpl-disclosure a{color:inherit;}
.gbpl .gbpl-card{position:relative;}
.gbpl-editorials .gbpl-image-link{aspect-ratio:4/5;}
.gbpl-editorials .gbpl-image{object-fit:cover;}
@media(max-width:950px){.gbpl .gbpl-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:781px){.gbpl .gbpl-grid{gap:26px 14px;}.gbpl .gbpl-title{font-size:19px!important;}.gbpl .gbpl-description{font-size:13px!important;}.gbpl .gbpl-brand{font-size:10px;}.gbpl .gbpl-copy{padding-top:10px;}}
/* The site's single-post H2/H3 and paragraph overrides must not enlarge product cards. */
.single-post .wp-block-post-content .gbpl h3.gbpl-title{font-size:clamp(19px,2vw,25px)!important;line-height:1.17!important;margin:0 0 7px!important;}
.single-post .wp-block-post-content .gbpl p.gbpl-description{font-size:14px!important;margin:0 0 9px!important;line-height:1.5!important;}
.single-post .wp-block-post-content .gbpl p.gbpl-disclosure,.single-post .wp-block-post-content .gbpl p.gbpl-empty{font-size:13px!important;margin:0 0 16px!important;line-height:1.5!important;}
@media(max-width:781px){.single-post .wp-block-post-content .gbpl h3.gbpl-title{font-size:19px!important;}.single-post .wp-block-post-content .gbpl p.gbpl-description{font-size:13px!important;}}
.gbpl .gbpl-affiliate-mark{font-size:inherit;line-height:inherit;font-weight:600;letter-spacing:0;white-space:nowrap;}

/* Gift Guru product refinements. Editorial index cards retain their own styling. */
.gbpl:not(.gbpl-editorials) .gbpl-grid {
    align-items: stretch;
}
.gbpl:not(.gbpl-editorials) .gbpl-card {
    display: flex;
    flex-direction: column;
}
.gbpl:not(.gbpl-editorials) .gbpl-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 6px;
}
.gbpl:not(.gbpl-editorials) .gbpl-view {
    margin-top: auto;
    align-self: flex-start;
    padding-top: 4px;
}
.gbpl:not(.gbpl-editorials) h3.gbpl-title,
.single-post .wp-block-post-content .gbpl:not(.gbpl-editorials) h3.gbpl-title {
    font-size: 21px !important;
    line-height: 1.2 !important;
}
/* Match the theme's constrained content width; retain the wider product grid. */
.single-post .wp-block-post-content .gbpl:not(.gbpl-editorials) p.gbpl-disclosure {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--wp--style--global--content-size, 800px) !important;
    margin: 0 auto 16px !important;
    text-align: left;
}
@media (max-width: 781px) {
    .gbpl:not(.gbpl-editorials) h3.gbpl-title,
    .single-post .wp-block-post-content .gbpl:not(.gbpl-editorials) h3.gbpl-title {
        font-size: 17px !important;
    }
    .gbpl:not(.gbpl-editorials) .gbpl-description {
        display: none !important;
    }
}

/* On desktop match the actual editorial text column, not just the theme preset.
   If JS is unavailable, the previous theme-width rule remains the fallback. */
@media (min-width: 782px) {
    .single-post .wp-block-post-content .gbpl:not(.gbpl-editorials) p.gbpl-disclosure {
        max-width: var(--gbpl-disclosure-width, var(--wp--style--global--content-size, 800px)) !important;
        margin-left: var(--gbpl-disclosure-inset, auto) !important;
        margin-right: auto !important;
    }
}
