/*
Theme Name: SlacklifeBC Landing
Template: twentytwentyfive
Version: 1.0.2
Description: The SlacklifeBC Split Screen homepage for Twenty Twenty-Five.
*/
.slbc-landing{--pad:clamp(20px,5vw,80px);--red:#bc1820;background:white;color:#141414;font:16px/1.45 Arial,Helvetica,sans-serif;width:100%;max-width:1800px;margin:auto}
.slbc-landing *{box-sizing:border-box}
.slbc-landing :where(p,h1,h2,h3,figure,.wp-block-group,.wp-block-buttons){margin:0}
.slbc-landing img{display:block;width:100%;height:100%;object-fit:cover}
.slbc-header,.slbc-footer,.slbc-notice{display:flex;align-items:center;justify-content:space-between;gap:18px}
.slbc-header,.slbc-footer{padding:12px var(--pad);border-bottom:1px solid #ddd}
.slbc-header figure{width:clamp(145px,16vw,200px)}.slbc-header img{height:auto}
.slbc-landing a{color:inherit;text-underline-offset:4px}.slbc-header a{font-weight:bold;text-decoration:none}.slbc-header a:hover{text-decoration:underline}
.slbc-notice{padding:clamp(30px,4vw,65px) var(--pad);background:#f5f5f2;border-left:10px solid var(--red);align-items:end}
.slbc-notice h1{font:900 clamp(42px,7vw,112px)/.96 'Arial Black',Arial,sans-serif;letter-spacing:-.07em}.slbc-notice em{font-style:normal;color:var(--red)}.slbc-notice p{font-size:clamp(18px,1.8vw,27px);max-width:19ch;line-height:1.2}
.slbc-rig,.slbc-shop{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:center}
.slbc-rig{min-height:380px}.slbc-rig>figure{position:relative;height:100%;min-height:320px}.slbc-rig>figure img{position:absolute;inset:0}
.slbc-rig .slbc-copy{padding:clamp(27px,4vw,68px) var(--pad)}
.slbc-copy h2{font:bold clamp(39px,5.7vw,90px)/.98 Arial,sans-serif;letter-spacing:-.065em}.slbc-copy p{margin:14px 0 20px;max-width:43ch}
.slbc-landing .wp-block-button__link{background:var(--red);color:white;border:0;border-radius:0;padding:12px 18px;font:bold 16px/1.45 Arial,sans-serif;text-decoration:none}
.slbc-landing .slbc-strip,
.slbc-strip > .block-editor-inner-blocks > .block-editor-block-list__layout {
  --tile-height: clamp(110px, 15vw, 240px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: var(--tile-height);
  align-items: stretch;
  gap: 5px;
}
.slbc-landing .slbc-strip { padding-top: 5px; }
.slbc-landing .slbc-strip:has(> .block-editor-inner-blocks) { display: block; }
.slbc-landing .slbc-strip > .block-editor-inner-blocks { grid-column: 1 / -1; }
.slbc-landing .slbc-strip .wp-block-image {
  width: 100%;
  height: var(--tile-height);
  min-width: 0;
  margin: 0;
  overflow: hidden;
}
.slbc-landing .slbc-strip .wp-block-image figure,
.slbc-landing .slbc-strip .wp-block-image :is(.components-resizable-box__container, .components-resizable-box__inner, a) {
  display: block;
  width: 100% !important;
  height: var(--tile-height) !important;
  margin: 0;
}
.slbc-landing .slbc-strip .wp-block-image img {
  display: block;
  width: 100% !important;
  height: var(--tile-height) !important;
  max-width: 100%;
  object-fit: cover;
}
.slbc-landing .slbc-credits { clear: both; background: white; }
.slbc-credits{padding:24px var(--pad);border-bottom:1px solid #ddd;text-align:center}.slbc-credits h3{font:bold 14px/1.45 Arial,sans-serif;margin:0 0 22px}
.slbc-marks{max-width:1040px;margin:auto!important;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));justify-items:center;align-items:center;gap:20px 24px}
.slbc-marks figure{width:100%;max-width:134px;height:62px}.slbc-marks img{object-fit:contain}.slbc-ink img{filter:brightness(0)}
.slbc-shop{padding:clamp(32px,5vw,78px) var(--pad);gap:4vw}.slbc-shop>figure{aspect-ratio:2}.slbc-shop h3{font:bold clamp(23px,2.5vw,40px)/1.22 Arial,sans-serif;color:var(--red);letter-spacing:-.04em}
.slbc-footer{border-top:1px solid #ddd;flex-wrap:wrap}
@media(max-width:700px){.slbc-notice{align-items:start;flex-direction:column}.slbc-notice p{max-width:none}.slbc-rig,.slbc-shop{display:flex;flex-direction:column;align-items:stretch}.slbc-rig>figure{order:-1;min-height:0;height:235px}.slbc-marks{display:flex;justify-content:center;flex-wrap:wrap;gap:16px 18px}.slbc-marks figure{width:100px;height:50px}}

/* Give the image block and its editor wrappers the same bounded logo canvas. */
.slbc-landing .slbc-marks {
  --credit-height: 72px;
  align-items: center;
  row-gap: 24px;
}
.slbc-landing .slbc-marks .wp-block-image {
  display: grid;
  place-items: center;
  height: var(--credit-height);
  min-width: 0;
  margin: 0 !important;
}
.slbc-landing .slbc-marks .wp-block-image :is(figure, a, .components-resizable-box__container, .components-resizable-box__inner) {
  display: grid;
  place-items: center;
  width: 100% !important;
  height: var(--credit-height) !important;
  max-width: 100%;
  margin: 0;
}
.slbc-landing .slbc-marks .wp-block-image img {
  display: block;
  width: 100% !important;
  height: var(--credit-height) !important;
  max-width: 100%;
  max-height: var(--credit-height);
  object-fit: contain;
  object-position: center;
  margin: 0;
}
.slbc-landing .slbc-marks:has(> .block-editor-inner-blocks) { display: block; }
.slbc-marks > .block-editor-inner-blocks > .block-editor-block-list__layout {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  place-items: center;
  gap: 24px;
}
@media (max-width: 700px) {
  .slbc-landing .slbc-marks { --credit-height: 54px; }
  .slbc-marks > .block-editor-inner-blocks > .block-editor-block-list__layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 18px;
  }
}
