/* Merchant-specific additions: native blocks share the approved editorial skin.
 * Only card flow, source conditions and responsive offer grids need extra CSS. */
.wsc-merchants .wsc-merchant-reading{max-width:850px}
.wsc-merchants .wsc-merchant-reading h2{font-size:32px;margin:32px 0 16px}
.wsc-merchants .wsc-merchant-reading p{margin-bottom:20px}
.wsc-merchants .wsc-merchant-facts{border-top:1px solid var(--wsc-line);border-bottom:1px solid var(--wsc-line);padding:20px 0;margin:28px 0;gap:25px}
.wsc-merchants .wsc-merchant-facts p{font-size:14px;margin:0}
.wsc-merchants .wsc-offers-section{background:#f0e7da;border-top:1px solid var(--wsc-line);border-bottom:1px solid var(--wsc-line)}
.wsc-merchants .wsc-offers-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px;align-items:stretch;padding:0;list-style:none}
.wsc-merchants .wsc-offers-grid>li{display:flex;flex-direction:column;background:#fffaf3;border:1px solid #dfd1bd;padding:28px;min-width:0;box-shadow:0 4px 15px #4d382309}
.wsc-merchants .wsc-offers-grid>li>.wp-block-post-content{display:flex;flex:1;flex-direction:column}
.wsc-merchants .wsc-offers-grid .wp-block-post-content>*{margin-block:0 16px}
.wsc-merchants .wsc-offers-grid h3{font-size:29px;margin:0 0 18px}
.wsc-merchants .wsc-offers-grid .wsc-offer-code{background:#efe3d2;padding:12px 16px;font-size:16px;overflow-wrap:anywhere}
.wsc-merchants .wsc-offers-grid .wsc-offer-code code{font-size:17px;font-weight:700;white-space:normal}
.wsc-merchants .wsc-offers-grid details{font-size:14px;line-height:1.7;margin-block:20px}
.wsc-merchants .wsc-offers-grid summary{font-weight:600;cursor:pointer;min-height:44px;padding-block:10px;color:#71402e}
.wsc-merchants .wsc-offers-grid details p{white-space:pre-line;margin:12px 0 0;font-size:13px}
.wsc-merchants .wsc-offer-deadline{font-size:12px;color:#756b60}
.wsc-merchants .wsc-merchant-sources{font-size:12px;color:#756b60;border-top:1px solid var(--wsc-line);padding-top:18px;margin-top:28px}
.wsc-merchants .wsc-merchant-sources a{overflow-wrap:anywhere}
.wsc-merchants .wsc-merchant-steps{gap:20px;flex-wrap:wrap}
.wsc-merchants .wsc-merchant-steps a{min-height:44px;display:inline-flex;align-items:center}
.wsc-merchants .wsc-offers-grid .wp-block-buttons{margin-top:auto;padding-top:20px}
/* Directory: direct native card groups, equally high on desktop and tablet.
 * The class is also present in Gutenberg; no effect on other editorial grids. */
.wsc-merchants .wsc-merchant-directory{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr;align-items:stretch}
.wsc-merchants .wsc-merchant-directory>.wsc-grape-card .wp-block-buttons{margin-top:auto;padding-top:6px}
@media(max-width:1024px){.wsc-merchants .wsc-merchant-directory{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.wsc-merchants .wsc-merchant-directory{grid-template-columns:1fr!important;grid-auto-rows:auto}}
@media(max-width:1024px){.wsc-merchants .wsc-offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:781px){.wsc-merchants .wsc-merchant-reading h2{font-size:29px}.wsc-merchants .wsc-merchant-facts{gap:14px}}
@media(max-width:640px){.wsc-merchants .wsc-offers-grid{grid-template-columns:1fr!important}}
@media(max-width:540px){.wsc-merchants .wsc-offers-grid>li{padding:23px 20px}.wsc-merchants .wsc-offers-grid h3{font-size:26px}}
