/* Flyer category additions to the existing company category styles. */
.flyers-category .flc-hero { position:relative; display:grid; align-items:center; min-height:336px; overflow:hidden; background:#e6e6e8; isolation:isolate; }
.flyers-category .flc-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#eee 0%,rgba(238,238,238,.97) 28%,rgba(238,238,238,.82) 43%,transparent 60%); z-index:-1; }
.flyers-category .flc-hero-inner { padding-block:28px; }
.flyers-category .flc-hero-copy { width:43%; max-width:420px; padding:0; }
.flyers-category .flc-eyebrow { color:#3583c1; font-size:11px; font-weight:700; letter-spacing:.1em; margin-bottom:10px; }
.flyers-category .flc-hero h1 { font-size:clamp(28px,3vw,36px); margin-bottom:12px; }
.flyers-category .flc-hero-copy>p:not(.flc-eyebrow) { font-size:14px; line-height:1.65; margin-bottom:12px; }
.flyers-category .flc-hero-copy>p:last-child { margin-bottom:0; }
.flyers-category .flc-hero-image { position:absolute; inset:0; width:100%; max-width:none; height:100%; object-fit:cover; object-position:right center; z-index:-2; }
.flyers-category .flc-sizes { padding-block:30px 40px; }
.flyers-category .flc-section-heading { max-width:760px; margin-bottom:22px; }
.flyers-category .flc-section-heading h2 { margin-bottom:12px; }
.flyers-category .flc-section-heading p { font-size:14px; line-height:1.8; margin:0; }
.flyers-category .flc-cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.flyers-category .flc-price-note { font-size:12px; line-height:1.8; color:#65717b; max-width:880px; margin:26px 0 0; }
@media (max-width:1099px) {
    .flyers-category .flc-cards { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
}
@media (max-width:1099px) {
    .flyers-category .flc-hero { min-height:280px; }
    .flyers-category .flc-hero-copy { width:47%; }
    .flyers-category .flc-hero h1 { font-size:clamp(24px,3.3vw,32px); }
    .flyers-category .flc-hero-copy>p:not(.flc-eyebrow) { font-size:13px; line-height:1.5; }
}
@media (max-width:767px) {
    .flyers-category .flc-cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .flyers-category .flc-hero { min-height:240px; }
    .flyers-category .flc-hero-inner { padding-block:20px; }
    .flyers-category .flc-hero-copy { width:54%; }
    .flyers-category .flc-hero::before { background:linear-gradient(90deg,#eee 0%,rgba(238,238,238,.97) 36%,rgba(238,238,238,.87) 51%,transparent 72%); }
    .flyers-category .flc-hero h1 { font-size:clamp(22px,4vw,28px); margin-bottom:9px; }
    .flyers-category .flc-eyebrow { font-size:9px; letter-spacing:.04em; margin-bottom:8px; }
    .flyers-category .flc-hero-copy>p:not(.flc-eyebrow) { font-size:11px; line-height:1.45; margin-bottom:9px; }
}
@media (max-width:540px) {
    .flyers-category .flc-sizes { padding-block:24px 32px; }
}
@media (max-width:350px) {
    .flyers-category .flc-cards { grid-template-columns:minmax(0,1fr); }
}

.flyers-category .flc-paper { padding-top:0; padding-bottom:40px; }
.flyers-category .flc-paper-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
@media (max-width:767px) { .flyers-category .flc-paper-cards { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:350px) { .flyers-category .flc-paper-cards { grid-template-columns:minmax(0,1fr); } }

/* Fill the card height and crop wider photographs equally on both sides. */
.b2.flyers-category .flc-card .b2-card-image img { object-fit:cover; object-position:center; }

/* Use the same 4:3 photo crops on category and recommendation cards. */
[data-flyer-card-photo] { overflow:hidden; }
[data-flyer-card-photo] > img { scale:var(--flyer-card-photo-scale, none); }
[data-flyer-card-photo="a7"] { --flyer-card-photo-scale:1.44; }
[data-flyer-card-photo="a6"] { --flyer-card-photo-scale:1.32; }
[data-flyer-card-photo="a5"] { --flyer-card-photo-scale:1.31; }
[data-flyer-card-photo="a3"] { --flyer-card-photo-scale:1.56; }
[data-flyer-card-photo="a4-strip"] { --flyer-card-photo-scale:1.2; }
[data-flyer-card-photo="sq74"] { --flyer-card-photo-scale:1.42; }
[data-flyer-card-photo="sq105"] { --flyer-card-photo-scale:1.39; }
[data-flyer-card-photo="sq125"] { --flyer-card-photo-scale:1.15; }
[data-flyer-card-photo="sq148"] { --flyer-card-photo-scale:1.19; }
[data-flyer-card-photo="a7-strip"] { --flyer-card-photo-scale:1.23; }
[data-flyer-card-photo="a5-strip"] { --flyer-card-photo-scale:1.08; }
