/* =========================================================
   Sonic News Weekly — Homepage module
   Uses Sonic City's existing homepage shell language.
   ========================================================= */

.sc-home-row--weekly{
  margin: 18px 0 0;
}

.sc-news-weekly-promo.sc-card{
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    0 12px 26px rgba(0,0,0,.10);
}

/* Same section rail as Featured Coverage / Community / Media. */
.sc-news-weekly-promo__head{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 12px 14px 10px;
  background: linear-gradient(180deg, rgb(2 18 111) 0%, rgb(23 32 210) 100%);
  border: 1px solid rgba(255,255,255,.14);
}

.sc-news-weekly-promo__head::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:0;
  height:2px;
  background: linear-gradient(
    90deg,
    rgba(11,95,255,0) 0%,
    rgba(11,95,255,.55) 20%,
    rgba(24,242,255,.95) 50%,
    rgba(11,95,255,.55) 80%,
    rgba(11,95,255,0) 100%
  );
  box-shadow: 0 0 12px rgba(24,242,255,.25);
  opacity:.95;
  pointer-events:none;
}

.sc-news-weekly-promo__head-left{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.sc-news-weekly-promo__spark{
  color:#feeb4a;
  font-size:11px;
  line-height:1;
}

.sc-news-weekly-promo__label{
  margin:0;
  color:#fff;
  font-size:22px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:.2px;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
}

.sc-news-weekly-promo__schedule{
  flex:0 0 auto;
  color:rgba(255,255,255,.86);
  font-size:11px;
  line-height:1;
  font-weight:900;
  letter-spacing:.55px;
  text-transform:uppercase;
}

.sc-news-weekly-promo__preview{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 7px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:#a60304;
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.45px;
  text-transform:uppercase;
}

/* Match the 14px inner padding used by other homepage modules. */
.sc-news-weekly-promo__body{
  display:grid;
  grid-template-columns:minmax(0, 40%) minmax(0, 60%);
  gap:14px;
  align-items:stretch;
  padding:14px;
  background:transparent;
}

.sc-news-weekly-promo__media{
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(20,55,120,.16);
  background:#061642;
  box-shadow:0 10px 18px rgba(0,0,0,.06);
}

.sc-news-weekly-promo__media img{
  display:block;
  width:100%;
  height:100%;
  min-height:230px;
  object-fit:cover;
  transform:scale(1.01);
  transition:transform 220ms ease;
}

.sc-news-weekly-promo__media:hover img{
  transform:scale(1.035);
}

.sc-news-weekly-promo__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:14px 16px;
  border:1px solid rgba(20,55,120,.16);
  background:#fff;
  box-shadow:0 10px 18px rgba(0,0,0,.06);
}

.sc-news-weekly-promo__date{
  margin:0 0 7px;
  color:#a60304;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.65px;
  text-transform:uppercase;
}

.sc-news-weekly-promo h2{
  margin:0 0 8px;
  color:#0b1220;
  font-size:clamp(24px,2.2vw,32px);
  line-height:1.04;
  font-weight:900;
  letter-spacing:-.2px;
}

.sc-news-weekly-promo h3{
  margin:0 0 9px;
  color:#0b1220;
  font-size:15px;
  line-height:1.25;
  font-weight:900;
}

.sc-news-weekly-promo h3 a{
  color:inherit;
  text-decoration:none;
}

.sc-news-weekly-promo h3 a:hover{
  color:#0B5FFF;
  text-decoration:underline;
  text-underline-offset:3px;
}

.sc-news-weekly-promo__excerpt{
  margin:0 0 14px;
  color:rgba(11,18,32,.74);
  font-size:12px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.sc-news-weekly-promo__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:auto;
}

/* Size only. Visual treatment comes from the global .sc-btn system. */
.sc-news-weekly-promo__archive{
  color:#0B5FFF !important;
  font-size:11px;
  font-weight:900;
  text-decoration:none;
}

.sc-news-weekly-promo__archive:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.sc-news-weekly-promo__body.no-media{
  grid-template-columns:1fr;
}

.sc-news-weekly-promo__body.no-media .sc-news-weekly-promo__content{
  min-height:170px;
}

/* Homepage-style hover, kept subtle. */
.sc-news-weekly-promo__media,
.sc-news-weekly-promo__content{
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.sc-news-weekly-promo__media:hover,
.sc-news-weekly-promo__content:hover{
  border-color:rgba(11,95,255,.35);
  box-shadow:0 14px 26px rgba(0,0,0,.10);
}

/* Tablet */
@media (max-width:1024px){
  .sc-news-weekly-promo__body{
    grid-template-columns:minmax(0, 43%) minmax(0, 57%);
  }

  .sc-news-weekly-promo__label{
    font-size:20px;
  }

  .sc-news-weekly-promo__media img{
    min-height:210px;
  }
}

/* Mobile */
@media (max-width:640px){
  .sc-news-weekly-promo__head{
    align-items:flex-start;
    padding:10px 12px;
  }

  .sc-news-weekly-promo__head-left{
    flex-wrap:wrap;
  }

  .sc-news-weekly-promo__label{
    font-size:18px;
  }

  .sc-news-weekly-promo__schedule{
    margin-top:4px;
    font-size:9px;
  }

  .sc-news-weekly-promo__body{
    grid-template-columns:1fr;
    gap:10px;
    padding:10px;
  }

  .sc-news-weekly-promo__media img{
    min-height:0;
    aspect-ratio:16 / 9;
  }

  .sc-news-weekly-promo__content{
    padding:13px 12px 14px;
  }

  .sc-news-weekly-promo h2{
    font-size:24px;
  }

  .sc-news-weekly-promo h3{
    font-size:14px;
  }

  .sc-news-weekly-promo__actions{
    align-items:flex-start;
  }
}

@media (prefers-reduced-motion:reduce){
  .sc-news-weekly-promo__media,
  .sc-news-weekly-promo__content,
  .sc-news-weekly-promo__media img{
    transition:none !important;
  }
}


/* =========================================================
   Sonic News Weekly — Article body
   Matches Sonic City's current homepage module language.
   ========================================================= */

.sc-weekly-edition{
  --sc-weekly-blue:#0B5FFF;
  --sc-weekly-deep:#02126f;
  --sc-weekly-royal:#1720d2;
  --sc-weekly-yellow:#feeb4a;
  --sc-weekly-red:#a60304;
  --sc-weekly-border:rgba(20,55,120,.16);
  --sc-weekly-ink:#0b1220;
  --sc-weekly-muted:rgba(11,18,32,.72);
}

.sc-weekly-edition a{
  text-underline-offset:2px;
}

.sc-weekly-deck{
  position:relative;
}

.sc-weekly-section-head{
  position:relative;
  overflow:hidden;
  min-height:42px;
  display:flex;
  align-items:center;
  background:linear-gradient(180deg,var(--sc-weekly-deep) 0%,var(--sc-weekly-royal) 100%) !important;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
  color:#fff !important;
  font-size:13px;
  font-weight:900;
  letter-spacing:.35px;
  text-transform:uppercase;
}

.sc-weekly-section-head::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg,rgba(11,95,255,0),rgba(11,95,255,.55) 20%,rgba(24,242,255,.95) 50%,rgba(11,95,255,.55) 80%,rgba(11,95,255,0));
  box-shadow:0 0 12px rgba(24,242,255,.25);
}

.sc-weekly-section-head__spark{
  color:var(--sc-weekly-yellow) !important;
  font-size:10px;
}

.sc-weekly-story{
  overflow:hidden;
  border-color:var(--sc-weekly-border) !important;
  color:var(--sc-weekly-ink);
}

.sc-weekly-story--lead,
.sc-weekly-story--feature{
  box-shadow:0 8px 18px rgba(0,0,0,.065);
  transition:transform 180ms ease,box-shadow 180ms ease,border-color 180ms ease;
}

.sc-weekly-story--lead:hover,
.sc-weekly-story--feature:hover{
  border-color:rgba(11,95,255,.34) !important;
  box-shadow:0 12px 22px rgba(0,0,0,.09);
  transform:translateY(-1px);
}

.sc-weekly-story__image{
  overflow:hidden;
  background:#061642;
}

.sc-weekly-story__image img{
  display:block;
  width:100%;
  height:auto;
  transition:transform 220ms ease;
}

.sc-weekly-story--lead:hover .sc-weekly-story__image img,
.sc-weekly-story--feature:hover .sc-weekly-story__image img{
  transform:scale(1.012);
}

.sc-weekly-story__meta{
  text-transform:uppercase;
}

.sc-weekly-story__title a{
  color:var(--sc-weekly-ink);
  text-decoration:none;
}

.sc-weekly-story__title a:hover{
  color:var(--sc-weekly-blue);
  text-decoration:underline;
  text-underline-offset:3px;
}

.sc-weekly-story__excerpt{
  color:var(--sc-weekly-muted);
}

.sc-weekly-story__button.sc-btn{
  min-height:34px;
  padding:0 14px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:var(--sc-weekly-blue) !important;
  color:#fff !important;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.3px;
  text-transform:uppercase;
}

.sc-weekly-story__button.sc-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
}

.sc-weekly-feature-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  align-items:start;
  margin:0 0 16px;
}

.sc-weekly-feature-grid > .sc-weekly-story{
  margin-bottom:0 !important;
}

.sc-weekly-story-list{
  box-shadow:0 8px 18px rgba(0,0,0,.045);
}

.sc-weekly-story--compact:last-child{
  border-bottom:0 !important;
}

.sc-weekly-story--compact .sc-weekly-story__meta{
  margin-bottom:4px !important;
}

.sc-weekly-story--compact .sc-weekly-story__excerpt{
  margin-bottom:5px !important;
  font-size:12px;
  line-height:1.45 !important;
}

.sc-weekly-quick-list{
  overflow:hidden;
  border:1px solid var(--sc-weekly-border);
  background:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.045);
}

.sc-weekly-quick-list li{
  margin:0 !important;
  padding:11px 14px;
  border-bottom:1px solid var(--sc-weekly-border);
  color:var(--sc-weekly-ink);
  font-size:13px;
}

.sc-weekly-quick-list li:last-child{
  border-bottom:0;
}

.sc-weekly-quick-list li > span{
  color:#fecc00;
  margin-right:6px;
  font-size:9px;
}

.sc-weekly-quick-list a{
  color:var(--sc-weekly-ink);
  text-decoration:none;
}

.sc-weekly-quick-list a:hover{
  color:var(--sc-weekly-blue);
  text-decoration:underline;
}

.sc-weekly-coming-up{
  border:1px solid var(--sc-weekly-border);
  border-left:4px solid #fecc00 !important;
  background:#fff !important;
  box-shadow:0 8px 18px rgba(0,0,0,.045);
}

.sc-weekly-signoff{
  color:var(--sc-weekly-muted);
  font-size:13px;
}

@media (max-width:700px){
  .sc-weekly-feature-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .sc-weekly-story--lead .sc-weekly-story__title{
    font-size:22px !important;
  }
}

@media (prefers-reduced-motion:reduce){
  .sc-weekly-story--lead,
  .sc-weekly-story--feature,
  .sc-weekly-story__image img,
  .sc-weekly-story__button.sc-btn{
    transition:none !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.7.2 — final visual polish
   ========================================================= */

.sc-weekly-story__image{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

.sc-weekly-story__image > a{
  display:block !important;
  width:100% !important;
  line-height:0;
}

.sc-weekly-story__image img{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  margin:0 !important;
}

.sc-weekly-story--lead{
  position:relative;
  border-top:3px solid #a60304 !important;
}

.sc-weekly-story--feature{
  position:relative;
  border-top:3px solid #0B5FFF !important;
}

.sc-weekly-story--feature .sc-weekly-story__image{
  aspect-ratio:16 / 9;
}

.sc-weekly-story--feature .sc-weekly-story__image > a,
.sc-weekly-story--feature .sc-weekly-story__image img{
  width:100% !important;
  height:100% !important;
}

.sc-weekly-story--feature .sc-weekly-story__image img{
  object-fit:cover;
}

.sc-weekly-section-head{
  padding-left:12px !important;
  font-size:12px !important;
  letter-spacing:.45px !important;
}

.sc-weekly-section-head__spark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#feeb4a !important;
  font-size:9px !important;
  transform:translateY(-.5px);
}

.sc-weekly-story--lead .sc-weekly-story__content{
  padding:15px 16px 16px !important;
}

.sc-weekly-story--feature .sc-weekly-story__content{
  padding:12px 13px 14px !important;
}

.sc-weekly-story--compact{
  position:relative;
  padding:13px 4px 12px 20px !important;
}

.sc-weekly-story--compact::before{
  content:"";
  position:absolute;
  left:2px;
  top:17px;
  width:4px;
  height:calc(100% - 33px);
  min-height:24px;
  background:linear-gradient(180deg,#0B5FFF 0%,#1720d2 100%);
  border-radius:4px;
}

.sc-weekly-story--compact .sc-weekly-story__title{
  display:flex;
  align-items:flex-start;
  gap:6px;
  font-size:15px !important;
  line-height:1.24 !important;
}

.sc-weekly-story__marker{
  flex:0 0 auto;
  color:#fecc00;
  font-size:8px;
  line-height:1.7;
}

.sc-weekly-story--compact .sc-weekly-story__excerpt{
  color:rgba(11,18,32,.68);
  font-size:12px !important;
}

.sc-weekly-story-list{
  border-top:3px solid #0B5FFF !important;
}

.sc-weekly-deck{
  background:linear-gradient(90deg,#ffffff 0%,#f7f9ff 100%);
  padding-left:10px !important;
  padding-right:10px !important;
  border-top-width:2px !important;
}

.sc-weekly-signoff{
  padding:4px 0 2px;
}

@media (max-width:700px){
  .sc-weekly-story--compact{
    padding-left:18px !important;
  }

  .sc-weekly-story--compact .sc-weekly-story__title{
    font-size:14px !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.7.3 — final micro-polish
   ========================================================= */

.sc-weekly-section-head{
  min-height:36px !important;
  padding:8px 12px !important;
  background:linear-gradient(180deg,#1432d9 0%,#071c88 100%) !important;
  border-color:rgba(255,255,255,.12) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.12) !important;
}

.sc-weekly-section-head::after{
  left:12px !important;
  right:12px !important;
  height:2px !important;
  background:linear-gradient(
    90deg,
    rgba(11,95,255,0) 0%,
    rgba(18,143,255,.75) 18%,
    #21f4ff 50%,
    rgba(18,143,255,.75) 82%,
    rgba(11,95,255,0) 100%
  ) !important;
  box-shadow:0 0 9px rgba(33,244,255,.3) !important;
}

.sc-weekly-section-head__spark{
  color:#ffe600 !important;
  font-size:8px !important;
  margin-right:7px !important;
  text-shadow:0 0 4px rgba(255,230,0,.18);
}

.sc-weekly-story__meta{
  color:#741c1e !important;
  font-size:9px !important;
  letter-spacing:.42px !important;
  line-height:1.25 !important;
  margin-bottom:5px !important;
}

.sc-weekly-story--compact{
  padding-top:11px !important;
  padding-bottom:10px !important;
}

.sc-weekly-story--compact .sc-weekly-story__title{
  margin-bottom:4px !important;
  font-size:14px !important;
  line-height:1.22 !important;
}

.sc-weekly-story--compact .sc-weekly-story__excerpt{
  margin-bottom:4px !important;
  font-size:11px !important;
  line-height:1.4 !important;
  color:rgba(11,18,32,.64) !important;
}

.sc-weekly-story--compact .sc-weekly-story__action{
  margin-top:3px !important;
}

.sc-weekly-story--feature{
  display:flex;
  flex-direction:column;
  height:100%;
}

.sc-weekly-story--feature .sc-weekly-story__content{
  display:flex;
  flex:1;
  flex-direction:column;
}

.sc-weekly-story--feature .sc-weekly-story__action{
  margin-top:auto !important;
  padding-top:6px;
}

.sc-weekly-feature-grid{
  align-items:stretch !important;
}

.sc-weekly-signoff{
  margin-bottom:12px !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}

.sc-weekly-edition > .wp-block-separator:last-of-type{
  margin-top:18px !important;
  margin-bottom:10px !important;
}

@media (max-width:700px){
  .sc-weekly-section-head{
    min-height:34px !important;
    padding:7px 10px !important;
  }

  .sc-weekly-story--compact .sc-weekly-story__title{
    font-size:13px !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.7.4 — homepage promo balance
   ========================================================= */

/* Centre the entire right-hand content stack instead of pinning its CTA low. */
.sc-news-weekly-promo__content{
  justify-content:center !important;
  padding:18px 22px !important;
}

/* Stronger module headline, still subordinate to the page hero above it. */
.sc-news-weekly-promo h2{
  margin-bottom:7px !important;
  font-size:clamp(27px,2.35vw,35px) !important;
  line-height:1.02 !important;
  letter-spacing:-.35px !important;
}

/* Edition title becomes supporting information rather than a second headline. */
.sc-news-weekly-promo h3{
  margin-bottom:6px !important;
  font-size:13px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
  color:rgba(11,18,32,.82) !important;
}

.sc-news-weekly-promo h3 a{
  color:inherit !important;
}

/* Small utility line uses the empty horizontal space without adding clutter. */
.sc-news-weekly-promo__meta{
  margin:0 0 9px !important;
  color:rgba(11,18,32,.56) !important;
  font-size:10px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  letter-spacing:.25px !important;
  text-transform:uppercase;
}

.sc-news-weekly-promo__meta span{
  margin:0 5px;
  color:#fecc00;
}

/* Keep the description compact so the whole block sits around its visual centre. */
.sc-news-weekly-promo__excerpt{
  max-width:680px;
  margin-bottom:13px !important;
  line-height:1.5 !important;
}

/* The CTA belongs with the copy, not at the bottom edge of the card. */
.sc-news-weekly-promo__actions{
  margin-top:2px !important;
  gap:11px !important;
}

/* Match Sonic City's rounded blue homepage CTAs more closely. */
/* Admin-only edit control should visually disappear unless you need it. */
.sc-news-weekly-promo__archive{
  color:rgba(11,18,32,.48) !important;
  font-size:10px !important;
  font-weight:700 !important;
}

.sc-news-weekly-promo__archive:hover{
  color:#0B5FFF !important;
}

/* Let the art determine the module height while retaining a healthy minimum. */
.sc-news-weekly-promo__media img{
  min-height:245px;
}

@media (max-width:1024px){
  .sc-news-weekly-promo__content{
    padding:16px 18px !important;
  }

  .sc-news-weekly-promo h2{
    font-size:28px !important;
  }

  .sc-news-weekly-promo__media img{
    min-height:220px;
  }
}

@media (max-width:640px){
  .sc-news-weekly-promo__content{
    padding:14px 13px 15px !important;
  }

  .sc-news-weekly-promo h2{
    font-size:24px !important;
  }

  .sc-news-weekly-promo__meta{
    font-size:9px !important;
  }

  
}


/* =========================================================
   Sonic News Weekly v1.7.5 — homepage size + title normalization
   ========================================================= */

/* Match the title treatment used by other Sonic City homepage modules. */
.sc-news-weekly-module__title,
.sc-news-weekly-heading,
.sc-news-weekly-promo__module-title,
.sc-news-weekly-promo__header h2,
.sc-news-weekly-promo__header-title{
  font-size:inherit !important;
  line-height:inherit !important;
  letter-spacing:normal !important;
  text-transform:none !important;
}

/* If the module header itself is the title row, keep it compact like Latest News/Reviews. */
.sc-news-weekly-promo__header{
  min-height:34px !important;
  padding-top:6px !important;
  padding-bottom:6px !important;
}

.sc-news-weekly-promo__header,
.sc-news-weekly-promo__header *{
  text-transform:none !important;
}

/* Shrink the whole promo substantially. */
.sc-news-weekly-promo{
  min-height:0 !important;
}

.sc-news-weekly-promo__inner{
  min-height:0 !important;
}

.sc-news-weekly-promo__media{
  min-height:0 !important;
}

.sc-news-weekly-promo__media img{
  min-height:0 !important;
  height:210px !important;
  object-fit:cover !important;
}

/* Keep the right side compact and slightly narrower internally. */
.sc-news-weekly-promo__content{
  justify-content:center !important;
  padding:12px 34px 12px 20px !important;
}

.sc-news-weekly-promo h2{
  margin-bottom:5px !important;
  font-size:24px !important;
  line-height:1.05 !important;
  letter-spacing:-.2px !important;
}

.sc-news-weekly-promo h3{
  margin-bottom:5px !important;
  font-size:11px !important;
  line-height:1.25 !important;
}

.sc-news-weekly-promo__meta{
  margin-bottom:6px !important;
  font-size:9px !important;
}

.sc-news-weekly-promo__excerpt{
  margin-bottom:9px !important;
  max-width:610px !important;
  font-size:11px !important;
  line-height:1.35 !important;
}

.sc-news-weekly-promo__actions{
  margin-top:0 !important;
}

/* Keep the image/text split compact and balanced. */
.sc-news-weekly-promo__grid{
  align-items:stretch !important;
}

/* Tablet */
@media (max-width:1024px){
  .sc-news-weekly-promo__media img{
    height:190px !important;
  }

  .sc-news-weekly-promo__content{
    padding:11px 22px 11px 16px !important;
  }

  .sc-news-weekly-promo h2{
    font-size:22px !important;
  }
}

/* Mobile: let it stack naturally, but keep it much shorter than before. */
@media (max-width:640px){
  .sc-news-weekly-promo__media img{
    height:auto !important;
    max-height:220px !important;
  }

  .sc-news-weekly-promo__content{
    padding:11px 13px 12px !important;
  }

  .sc-news-weekly-promo h2{
    font-size:21px !important;
  }

  .sc-news-weekly-promo__excerpt{
    font-size:10px !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.7.6 — homepage seam + CTA correction
   ========================================================= */

/* The image and copy are one module, so they should touch. */
.sc-news-weekly-promo__body{
  gap:0 !important;
}

.sc-news-weekly-promo__media{
  border-right:0 !important;
  box-shadow:none !important;
}

.sc-news-weekly-promo__content{
  border-left:0 !important;
  box-shadow:none !important;
}

/* Keep the hover from making the two halves look like separate floating cards. */
.sc-news-weekly-promo__media:hover,
.sc-news-weekly-promo__content:hover{
  transform:none !important;
  box-shadow:none !important;
}

/*
 * Match Sonic City's usual square/compact blue CTA treatment rather than
 * the capsule/pill style introduced in the earlier Weekly iterations.
 */
/* Preserve the joined-card treatment when the module stacks on mobile. */
@media (max-width:640px){
  .sc-news-weekly-promo__media{
    border-right:1px solid rgba(20,55,120,.16) !important;
    border-bottom:0 !important;
  }

  .sc-news-weekly-promo__content{
    border-left:1px solid rgba(20,55,120,.16) !important;
    border-top:0 !important;
  }
}




/* =========================================================
   Sonic News Weekly v1.7.8 — stable homepage CTA
   ========================================================= */

/*
 * Dedicated Weekly CTA. It intentionally does not inherit .sc-btn, because
 * that global class is not the button system used by the homepage modules.
 */
.sc-news-weekly-promo__actions{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:0 !important;
}

.sc-news-weekly-promo__primary{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  min-width:112px !important;
  height:29px !important;
  padding:0 15px !important;
  margin:0 !important;
  border:0 !important;
  border-radius:15px !important;
  background:#0B5FFF !important;
  box-shadow:none !important;
  color:#ffffff !important;
  font-size:9px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.35px !important;
  text-align:center !important;
  text-decoration:none !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  appearance:none !important;
}

.sc-news-weekly-promo__primary:link,
.sc-news-weekly-promo__primary:visited{
  color:#ffffff !important;
  text-decoration:none !important;
}

.sc-news-weekly-promo__primary:hover,
.sc-news-weekly-promo__primary:focus{
  background:#064fd8 !important;
  color:#ffffff !important;
  text-decoration:none !important;
  transform:none !important;
  filter:none !important;
  outline:none;
}

.sc-news-weekly-promo__primary:focus-visible{
  box-shadow:0 0 0 2px #ffffff,0 0 0 4px #0B5FFF !important;
}

@media(max-width:640px){
  .sc-news-weekly-promo__primary{
    min-width:104px !important;
    height:28px !important;
    padding:0 13px !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.9.0 — progressive web enhancement only
   The generated post now carries its core design in native Gutenberg blocks
   so Jetpack Newsletter does not depend on this file.
   ========================================================= */

.sc-weekly-feature-columns{
  align-items:stretch;
}

.sc-weekly-feature-columns > .wp-block-column{
  display:flex;
  min-width:0;
}

.sc-weekly-feature-columns > .wp-block-column > .sc-weekly-story{
  width:100%;
}

.sc-weekly-story__actions .wp-block-button__link{
  text-decoration:none;
}

.sc-weekly-story__actions .wp-block-button__link:hover{
  filter:brightness(1.06);
  transform:translateY(-1px);
}

@media (max-width:781px){
  .sc-weekly-feature-columns{
    gap:12px !important;
  }

  .sc-weekly-feature-columns > .wp-block-column{
    flex-basis:100% !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.9.1 — website enhancement layer
   Core post markup is intentionally semantic/plain for Jetpack email.
   ========================================================= */

.sc-weekly-edition .sc-weekly-period{
  margin:0 0 5px;
  color:#a60304;
  font-size:10px;
  font-weight:900;
  letter-spacing:.6px;
  text-transform:uppercase;
}

.sc-weekly-edition .sc-weekly-intro{
  margin:0 0 18px;
  padding:12px 14px 13px;
  border-top:3px solid #0B5FFF;
  border-bottom:1px solid #d9e0ef;
  background:#f7f9ff;
  font-size:15px;
  line-height:1.55;
}

.sc-weekly-edition .sc-weekly-section-head{
  margin:24px 0 13px !important;
  padding:9px 13px !important;
  border-bottom:2px solid #18f2ff;
  background:#1026b8;
  color:#fff !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  letter-spacing:.35px;
  text-transform:uppercase;
}

.sc-weekly-edition .sc-weekly-story{
  background:#fff;
}

.sc-weekly-edition .sc-weekly-story--lead{
  margin:0 0 18px;
  border:1px solid #d9e0ef;
  border-top:4px solid #a60304;
}

.sc-weekly-edition .sc-weekly-story--feature{
  margin:0 0 16px;
  border:1px solid #d9e0ef;
  border-top:4px solid #0B5FFF;
}

.sc-weekly-edition .sc-weekly-story--lead > :not(.sc-weekly-story__image),
.sc-weekly-edition .sc-weekly-story--feature > :not(.sc-weekly-story__image){
  margin-left:14px;
  margin-right:14px;
}

.sc-weekly-edition .sc-weekly-story--lead > :last-child,
.sc-weekly-edition .sc-weekly-story--feature > :last-child{
  margin-bottom:14px;
}

.sc-weekly-edition .sc-weekly-story--compact{
  padding:11px 8px 10px 14px;
  border-left:4px solid #0B5FFF;
}

.sc-weekly-edition .sc-weekly-story__meta{
  margin:10px 0 5px;
  color:#741c1e;
  font-size:10px;
  letter-spacing:.45px;
  text-transform:uppercase;
}

.sc-weekly-edition .sc-weekly-story--compact .sc-weekly-story__meta{
  margin-top:0;
}

.sc-weekly-edition .sc-weekly-story__title{
  margin:0 0 7px;
  font-weight:900;
  line-height:1.18;
}

.sc-weekly-edition .sc-weekly-story--lead .sc-weekly-story__title{
  font-size:25px;
}

.sc-weekly-edition .sc-weekly-story--feature .sc-weekly-story__title{
  font-size:18px;
}

.sc-weekly-edition .sc-weekly-story--compact .sc-weekly-story__title{
  font-size:15px;
  margin-bottom:5px;
}

.sc-weekly-edition .sc-weekly-story__excerpt{
  margin:0 0 10px;
  color:#4b5563;
  font-size:13px;
  line-height:1.5;
}

.sc-weekly-edition .sc-weekly-story--compact .sc-weekly-story__excerpt{
  margin-bottom:0;
  font-size:12px;
}

.sc-weekly-edition .sc-weekly-story__actions{
  margin:10px 0 14px;
}

.sc-weekly-edition .sc-weekly-story__read{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 14px;
  border-radius:3px;
  background:#0B5FFF;
  color:#fff !important;
  font-size:10px;
  font-weight:900;
  letter-spacing:.25px;
  text-decoration:none !important;
  text-transform:uppercase;
}

.sc-weekly-edition .sc-weekly-story__read:hover{
  background:#064fd8;
}

.sc-weekly-edition .sc-weekly-story-separator{
  margin:0;
  border:0;
  border-top:1px solid #d9e0ef;
}

.sc-weekly-edition .sc-weekly-quick-list,
.sc-weekly-edition .sc-weekly-coming-up{
  margin:0 0 18px;
  padding:12px 16px 12px 34px;
  border-left:4px solid #fecc00;
  background:#f7f9ff;
}

.sc-weekly-edition .sc-weekly-coming-up{
  padding-left:15px;
}

.sc-weekly-edition .sc-weekly-coming-up p:last-child{
  margin-bottom:0;
}


/* =========================================================
   Sonic News Weekly v1.9.2 — concise remaining-stories list
   ========================================================= */

.sc-weekly-edition .sc-weekly-other-stories{
  margin:0 0 20px;
  padding:12px 18px 12px 36px;
  border-left:4px solid #0B5FFF;
  background:#f7f9ff;
}

.sc-weekly-edition .sc-weekly-other-stories li{
  margin:0;
  padding:7px 0;
  border-bottom:1px solid #d9e0ef;
  line-height:1.35;
}

.sc-weekly-edition .sc-weekly-other-stories li:last-child{
  border-bottom:0;
}

.sc-weekly-edition .sc-weekly-other-stories li::marker{
  color:#fecc00;
}

.sc-weekly-edition .sc-weekly-other-stories a{
  text-decoration:none;
}


/* =========================================================
   Sonic News Weekly v1.9.4 — web-only article presentation
   Jetpack email does not load this stylesheet.
   ========================================================= */

body.single-post .sc-weekly-edition{
  --scw-blue:#0B5FFF;
  --scw-deep:#1026b8;
  --scw-yellow:#fecc00;
  --scw-red:#a60304;
  --scw-border:#d9e0ef;
  --scw-soft:#f7f9ff;
}

body.single-post .sc-weekly-edition .sc-weekly-period{
  margin:0 0 5px !important;
  color:var(--scw-red) !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.55px;
  text-transform:uppercase;
}

body.single-post .sc-weekly-edition .sc-weekly-intro{
  margin:0 0 16px !important;
  padding:11px 13px 12px !important;
  border-top:3px solid var(--scw-blue);
  border-bottom:1px solid var(--scw-border);
  background:var(--scw-soft);
  font-size:14px !important;
  line-height:1.5 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-section-head{
  margin:18px 0 10px !important;
  padding:8px 11px !important;
  border-bottom:2px solid #18f2ff;
  background:linear-gradient(90deg,#1026b8 0%,#0B5FFF 100%);
  color:#fff !important;
  font-size:13px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:.25px;
  text-transform:uppercase;
}

body.single-post .sc-weekly-edition .sc-weekly-story{
  overflow:hidden;
  background:#fff;
}

body.single-post .sc-weekly-edition .sc-weekly-story--lead{
  margin:0 0 16px;
  border:1px solid var(--scw-border);
  border-top:4px solid var(--scw-red);
}

body.single-post .sc-weekly-edition .sc-weekly-story--feature{
  margin:0;
  border:1px solid var(--scw-border);
  border-top:4px solid var(--scw-blue);
}

body.single-post .sc-weekly-edition .sc-weekly-story .sc-weekly-story__image{
  margin:0 !important;
  width:100%;
}

body.single-post .sc-weekly-edition .sc-weekly-story .sc-weekly-story__image a{
  display:block;
  width:100%;
}

body.single-post .sc-weekly-edition .sc-weekly-story .sc-weekly-story__image img{
  display:block;
  width:100% !important;
  height:auto !important;
  margin:0 !important;
  object-fit:cover;
}

body.single-post .sc-weekly-edition .sc-weekly-story--lead .sc-weekly-story__image img{
  aspect-ratio:16/9;
}

body.single-post .sc-weekly-edition .sc-weekly-feature-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
  margin:0 0 16px;
  align-items:stretch;
}

body.single-post .sc-weekly-edition .sc-weekly-feature-grid .sc-weekly-story{
  display:flex;
  flex-direction:column;
  min-width:0;
}

body.single-post .sc-weekly-edition .sc-weekly-feature-grid .sc-weekly-story__image img{
  aspect-ratio:16/9;
  object-fit:cover;
}

body.single-post .sc-weekly-edition .sc-weekly-story__meta,
body.single-post .sc-weekly-edition .sc-weekly-story__title,
body.single-post .sc-weekly-edition .sc-weekly-story__excerpt,
body.single-post .sc-weekly-edition .sc-weekly-story__actions{
  margin-left:13px !important;
  margin-right:13px !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__meta{
  margin-top:10px !important;
  margin-bottom:4px !important;
  color:#741c1e !important;
  font-size:9px !important;
  font-weight:900 !important;
  letter-spacing:.4px;
  text-transform:uppercase;
}

body.single-post .sc-weekly-edition .sc-weekly-story__title{
  margin-top:0 !important;
  margin-bottom:7px !important;
  font-weight:900 !important;
  line-height:1.17 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story--lead .sc-weekly-story__title{
  font-size:22px !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story--feature .sc-weekly-story__title{
  font-size:15px !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__excerpt{
  margin-top:0 !important;
  margin-bottom:9px !important;
  color:#4b5563 !important;
  font-size:12px !important;
  line-height:1.45 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__actions{
  margin-top:auto !important;
  margin-bottom:13px !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__read{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:0 13px;
  border-radius:3px;
  background:var(--scw-blue);
  color:#fff !important;
  font-size:9px;
  font-weight:900;
  letter-spacing:.25px;
  text-decoration:none !important;
  text-transform:uppercase;
}

body.single-post .sc-weekly-edition .sc-weekly-story__read:hover{
  background:#064fd8;
}

body.single-post .sc-weekly-edition .sc-weekly-other-stories{
  margin:0 0 16px !important;
  padding:10px 16px 10px 34px !important;
  border-left:4px solid var(--scw-blue);
  background:var(--scw-soft);
}

body.single-post .sc-weekly-edition .sc-weekly-other-stories li{
  margin:0 !important;
  padding:5px 0 !important;
  border-bottom:1px solid var(--scw-border);
  line-height:1.3;
}

body.single-post .sc-weekly-edition .sc-weekly-other-stories li:last-child{
  border-bottom:0;
}

body.single-post .sc-weekly-edition .sc-weekly-other-stories li::marker{
  color:var(--scw-yellow);
}

body.single-post .sc-weekly-edition .sc-weekly-signoff{
  margin:14px 0 8px !important;
  font-size:12px !important;
}

@media (max-width:781px){
  body.single-post .sc-weekly-edition .sc-weekly-feature-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  body.single-post .sc-weekly-edition .sc-weekly-story--lead .sc-weekly-story__title{
    font-size:19px !important;
  }
}


/* =========================================================
   Sonic News Weekly v1.9.5 — compressed featured-story body
   Website presentation remains rich; email gets one compact text block.
   ========================================================= */

body.single-post .sc-weekly-edition .sc-weekly-story__body{
  margin:0 !important;
  padding:10px 13px 13px;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body > span{
  display:block;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__meta,
body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__title,
body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__excerpt,
body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__actions{
  margin-left:0 !important;
  margin-right:0 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__meta{
  margin:0 0 5px !important;
  color:#741c1e !important;
  font-size:9px !important;
  font-weight:900 !important;
  letter-spacing:.4px;
  text-transform:uppercase;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__title{
  margin:0 0 7px !important;
  font-weight:900 !important;
  line-height:1.17 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story--lead .sc-weekly-story__body .sc-weekly-story__title{
  font-size:22px !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story--feature .sc-weekly-story__body .sc-weekly-story__title{
  font-size:15px !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__excerpt{
  margin:0 0 9px !important;
  color:#4b5563 !important;
  font-size:12px !important;
  line-height:1.45 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__actions{
  margin:0 !important;
}

body.single-post .sc-weekly-edition .sc-weekly-story__body .sc-weekly-story__read{
  display:inline-flex;
}


/* =========================================================
   Sonic News Weekly v1.9.6 — email line-break hierarchy
   ========================================================= */

/*
 * The generated story paragraph now contains real <br> tags for Jetpack
 * email readability. On Sonic City, the spans are already block-level rows,
 * so suppress those explicit breaks to preserve the v1.9.4/1.9.5 card layout.
 */
body.single-post .sc-weekly-edition .sc-weekly-story__body > br{
  display:none;
}


/* =========================================================
   Sonic News Weekly v1.9.8 — controlled email spacing
   ========================================================= */

/* Email-only gaps are hidden on Sonic City itself. */
body.single-post .sc-weekly-edition .sc-weekly-email-gap{
  display:none !important;
}

/* Keep the triangular section marker deliberately smaller than the label. */
body.single-post .sc-weekly-edition .sc-weekly-section-arrow{
  font-size:.68em !important;
  line-height:1 !important;
  vertical-align:.08em;
}
