/* Shared Homepage Builder primitives; the default Hybrid layout remains unchanged. */
.cf5-home .cf5-home-section{min-width:0}
.cf5-home .cf5-home-offers .coupon-list-grid,
.cf5-home .cf5-home-offers .coupon-list-compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.cf5-home .cf5-home-offers .coupon-list-ribbon{display:grid;grid-template-columns:1fr;gap:17px}
.cf5-home .cf5-home-editorial{background:#fff;border-top:1px solid #e5e9ea;border-bottom:1px solid #e5e9ea}
.cf5-home .cf5-home-editorial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.cf5-home .cf5-home-editorial .review-card{background:#fff}
/* Label coupons use the existing ribbon markup and validated affiliate CTA behavior. */
.cf5-home .cf5-home-offers-label .coupon-list-ribbon{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.cf5-home .cf5-home-offers-label .coupon-ribbon{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;min-width:0;padding:22px;border:1px solid #dce6f4;border-left:5px solid #2563eb;border-radius:12px;background:linear-gradient(135deg,#fff,#f4f8ff)}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-mark{display:none}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-main{grid-column:1;grid-row:1;min-width:0}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-meta{padding-right:0}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-discount{margin:8px 0;color:#1d4ed8;font:800 32px/1.2 Arial,sans-serif}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-title{font-size:14px}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-action{grid-column:2;grid-row:1;width:auto;min-width:130px;margin:0;padding:0;border:0}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-visit{min-width:130px;min-height:51px;background:#2563eb;border-radius:7px}
.cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-visit:hover{background:#1d4ed8}
.cf5-home .cf5-home-offers-label .coupon-ribbon:before,
.cf5-home .cf5-home-offers-label .coupon-ribbon:after{display:none}
.cf5-home .cf5-home-offers .coupon-card{min-width:0}
.cf5-home .cf5-home-hero-coupon:before{display:none}
.cf5-home .cf5-home-featured-offer{position:relative;max-width:620px;margin:0 auto}
.cf5-home .cf5-home-featured-offer>.eyebrow{display:block;margin-bottom:13px;font-size:12px}
.cf5-home .cf5-home-featured-offer .coupon-list-ticket{display:block}
.cf5-home .cf5-home-featured-offer .coupon-ticket{min-height:278px;padding:29px}
.cf5-home .cf5-home-featured-offer .coupon-discount{font-size:49px}
.cf5-home .cf5-home-featured-offer .coupon-title{font-size:18px}
.cf5-home .cf5-home-featured-offer .coupon-visit{min-height:55px;font-size:13px}
@media(max-width:1100px){
 .cf5-home .cf5-home-offers-label .coupon-list-ribbon{grid-template-columns:1fr}
 .cf5-home .cf5-home-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .cf5-home .cf5-home-offers .coupon-list-grid,
 .cf5-home .cf5-home-offers .coupon-list-compact,
 .cf5-home .cf5-home-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cf5-home .cf5-home-featured-offer .coupon-ticket{min-height:220px;padding:21px}
}
@media(max-width:550px){
 .cf5-home .cf5-home-offers .coupon-list-grid,
 .cf5-home .cf5-home-offers .coupon-list-compact,
 .cf5-home .cf5-home-editorial-grid{grid-template-columns:1fr}
 .cf5-home .cf5-home-offers-label .coupon-ribbon{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:20px!important}
 .cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-action{width:100%;min-width:0;margin:0;padding:0}
 .cf5-home .cf5-home-offers-label .coupon-ribbon .coupon-visit{width:100%}
 .cf5-home .cf5-home-featured-offer .coupon-discount{font-size:37px}
}
