
.plg-free-promo{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  margin:10px auto;
  max-width:1180px;
  aspect-ratio:1600/600;
  min-height:0;
  background-color:#174b36;
  background-image:var(--plg-bg);
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center top;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  isolation:isolate;
}


/* v5.2.0: make the banner artwork itself open the dedicated cookbook page. */
.plg-free-promo__landing-link{
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  text-indent:-9999px;
  overflow:hidden;
}
.plg-free-promo__content{z-index:2;}
.plg-free-promo__actions{position:relative;z-index:3;}

/* No dark veil over the artwork. */
.plg-free-promo__overlay{display:none}

/* Slim action strip only; the uploaded banner carries the sales message. */
.plg-free-promo__content{
  position:absolute;
  left:8px;
  right:8px;
  bottom:7px;
  display:block;
  padding:0;
  background:transparent;
  box-shadow:none;
}

/* Hide duplicated promotional copy because it is already in the banner artwork. */
.plg-free-promo__badges,
.plg-free-promo__copy{
  display:none!important;
}

.plg-free-promo__actions{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:8px;
  width:100%;
  max-width:760px;
  margin:0 auto;
  padding:6px;
  border-radius:12px;
  background:rgba(16,63,45,.88);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  box-shadow:0 2px 8px rgba(0,0,0,.16);
}

.plg-btn{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:38px;
  padding:8px 10px;
  border-radius:9px;
  text-align:center;
  text-decoration:none!important;
  font-weight:800;
  line-height:1.05;
  box-sizing:border-box;
}
.plg-btn-primary{
  background:#fff;
  color:#17402f!important;
  font-size:13px;
}
.plg-btn-secondary{
  background:#f2b84b;
  color:#2d2515!important;
  font-size:11px;
}
.plg-btn-disabled{opacity:.65}

/* The larger shortcode card uses the same clean behavior. */
.plg-free-promo--card{
  max-width:820px;
}

@media(max-width:700px){
  .plg-free-promo{
    margin:8px 10px;
    border-radius:13px;
    aspect-ratio:1600/690; /* tiny extra room for action bar without burying artwork */
    background-size:100% auto;
  }
  .plg-free-promo__content{
    left:6px;
    right:6px;
    bottom:5px;
  }
  .plg-free-promo__actions{
    gap:5px;
    padding:5px;
    border-radius:10px;
  }
  .plg-btn{
    min-height:34px;
    padding:7px 5px;
  }
  .plg-btn-primary{font-size:11px}
  .plg-btn-secondary{font-size:9px}
}

@media(max-width:420px){
  .plg-free-promo{
    aspect-ratio:1600/720;
  }
  .plg-free-promo__actions{
    grid-template-columns:1.08fr .92fr;
  }
  .plg-btn-primary{font-size:10.5px}
  .plg-btn-secondary{font-size:8.5px}
}


/* v5.1.0 dedicated free-cookbook landing page */
.plg-cookbook-landing{width:min(1180px,calc(100% - 36px));margin:44px auto 70px}
.plg-cookbook-landing__hero{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,64px);align-items:center;padding:clamp(22px,4vw,46px);border:1px solid #dfe6dc;border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(18,54,38,.08)}
.plg-cookbook-landing__media img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 9px 28px rgba(0,0,0,.12)}
.plg-cookbook-kicker{display:inline-block;font-size:.78rem;letter-spacing:.11em;font-weight:900;color:#6d351b}
.plg-cookbook-landing__copy h1{font-size:clamp(2rem,4.5vw,4rem);line-height:1.03;margin:9px 0 14px;color:#173b2a}
.plg-cookbook-lede{font-size:1.08rem;line-height:1.65;color:#4e5e54}
.plg-cookbook-points{padding-left:1.2rem;line-height:1.65;margin:20px 0}
.plg-cookbook-landing__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.plg-cookbook-primary,.plg-cookbook-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:999px;font-weight:850;text-decoration:none!important}
.plg-cookbook-primary{background:#173b2a;color:#fff!important}
.plg-cookbook-secondary{background:#f1b84a;color:#2d2515!important}
.plg-cookbook-primary.is-disabled{opacity:.6}
.plg-cookbook-note{font-size:.82rem;color:#69756d;margin-top:14px}
.plg-cookbook-landing__more{text-align:center;max-width:820px;margin:42px auto 0;padding:0 16px}
.plg-cookbook-landing__more h2{font-size:clamp(1.65rem,3vw,2.35rem);margin-bottom:8px}
.plg-cookbook-landing__more p{color:#58675e;line-height:1.65}
.plg-cookbook-landing__more a{font-weight:850;text-decoration:none}
@media(max-width:760px){
  .plg-cookbook-landing{width:min(100% - 24px,1180px);margin-top:28px}
  .plg-cookbook-landing__hero{grid-template-columns:1fr;padding:18px;gap:24px}
  .plg-cookbook-landing__copy h1{font-size:clamp(2rem,10vw,3rem)}
  .plg-cookbook-landing__actions{display:grid;grid-template-columns:1fr}
}
