/* Coolinári Book Promo 1.0.4 – original book, Mediterranean background, live HTML. */
.cbp-promo{position:relative;isolation:isolate;box-sizing:border-box;overflow:hidden;display:grid;grid-template-columns:35% minmax(0,1fr);align-items:center;gap:2%;width:100%;max-width:900px;min-height:360px;margin:34px auto 46px;padding:20px 36px 20px 15px;border-radius:15px;background:#f8eee0 url("mediterranean-bg.webp") center center/100% 100% no-repeat;color:#302e2b;text-align:left}
.cbp-promo *{box-sizing:border-box}
.cbp-promo .cbp-cover-link{position:relative;z-index:1;display:block;width:100%;text-align:center;text-decoration:none!important;background:transparent!important}
.cbp-promo .cbp-cover{display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:330px;object-fit:contain;margin:0 auto!important;border:0!important;box-shadow:none!important;background:transparent!important;filter:drop-shadow(8px 11px 7px rgba(51,36,21,.22))}
.cbp-promo .cbp-copy{position:relative;z-index:1;min-width:0;padding:0 0 0 5px}
.cbp-promo .cbp-kicker{display:inline-block;font:700 11px/1.5 Arial,sans-serif!important;letter-spacing:.16em;color:#3f3b34;border-bottom:1px solid #c09a64;padding-bottom:9px}
.cbp-promo .cbp-copy h3{font:italic normal clamp(29px,3.4vw,43px)/1.16 Georgia,serif!important;letter-spacing:-.02em;color:#302e2b!important;margin:17px 0 20px!important;padding:0!important;background:none!important}
.cbp-promo .cbp-copy p{font:normal 16px/1.55 Arial,sans-serif!important;color:#38352f!important;margin:0 0 23px!important;max-width:450px}
.cbp-promo .cbp-cta{display:inline-flex!important;align-items:center;gap:9px;padding:12px 22px!important;background:#22b8c4!important;color:#fff!important;border:0!important;border-radius:24px!important;font:700 15px/1.4 Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important}
.cbp-promo .cbp-cta:hover,.cbp-promo .cbp-cta:focus{background:#188d98!important;color:#fff!important}
@media(max-width:700px){.cbp-promo.cbp-article{grid-template-columns:32% minmax(0,1fr);gap:3%;min-height:235px;padding:18px 15px 18px 6px;margin:28px auto 36px;border-radius:11px;background-position:53% center}.cbp-article .cbp-cover{max-height:235px}.cbp-article .cbp-copy h3{font-size:clamp(22px,5vw,30px)!important;margin:9px 0 10px!important}.cbp-article .cbp-kicker{font-size:9px!important;letter-spacing:.09em;padding-bottom:4px}.cbp-article .cbp-copy p{font-size:12px!important;line-height:1.45!important;margin-bottom:12px!important}.cbp-article .cbp-cta{font-size:12px!important;padding:9px 12px!important}}
@media(max-width:420px){.cbp-promo.cbp-article{grid-template-columns:31% minmax(0,1fr);gap:2%;min-height:200px}.cbp-article .cbp-copy h3{font-size:21px!important}.cbp-article .cbp-copy p{font-size:11px!important}}
/* Sidebar stays compact and legible. */
.cbp-promo.cbp-sidebar{display:flex;flex-direction:column;gap:10px;max-width:340px;min-height:0;padding:18px 14px;margin:0 auto 24px;text-align:center;background-position:55% center}
.cbp-sidebar .cbp-cover-link{max-width:160px;margin:auto}.cbp-sidebar .cbp-cover{max-height:185px}.cbp-sidebar .cbp-copy{padding:0}.cbp-sidebar .cbp-kicker{font-size:9px!important}.cbp-sidebar .cbp-copy h3{font-size:24px!important;margin:9px 0!important}.cbp-sidebar .cbp-copy p{font-size:12px!important;margin:0 0 12px!important}.cbp-sidebar .cbp-cta{font-size:12px!important;padding:9px 13px!important}

/* Book rests on the stone ledge, rather than floating above it. */
/* Only the article book is reduced; sidebar and other content remain untouched. */
.cbp-promo.cbp-article .cbp-cover{max-width:90%!important;max-height:297px;filter:drop-shadow(5px 8px 5px rgba(51,36,21,.27))}
.cbp-promo.cbp-article .cbp-cover-link{transform:translateY(25px)}
@media(max-width:700px){.cbp-promo.cbp-article .cbp-cover{max-height:212px}.cbp-promo.cbp-article .cbp-cover-link{transform:translateY(15px)}}

/* v1.0.5: show the complete original scene at its native aspect ratio. */
@media(min-width:701px){
 .cbp-promo.cbp-article{aspect-ratio:1672 / 941;min-height:0;align-items:end;padding-bottom:10.5%;}
 .cbp-promo.cbp-article .cbp-cover-link{transform:none;align-self:end;}
 .cbp-promo.cbp-article .cbp-copy{align-self:center;}
}
/* Keep mobile text readable without forcing the taller desktop composition. */
@media(max-width:700px){
 .cbp-promo.cbp-article{background-size:100% 100%;}
}

/* v1.0.10 – compact editorial banner; preserve original Mediterranean art. */
@media (min-width:701px){
  .cbp-promo.cbp-article{
    aspect-ratio:auto!important;
    min-height:0!important;
    height:340px!important;
    grid-template-columns:35% minmax(0,1fr);
    align-items:center!important;
    padding:16px 36px 16px 15px!important;
    background-size:100% 100%;
  }
  .cbp-promo.cbp-article .cbp-cover-link{
    align-self:end!important;
    transform:translateY(-16px)!important;
  }
  .cbp-promo.cbp-article .cbp-cover{
    max-height:265px!important;
    max-width:82%!important;
    width:auto!important;
  }
  .cbp-promo.cbp-article .cbp-copy{align-self:center!important;}
}
@media (min-width:701px) and (max-width:850px){
  .cbp-promo.cbp-article{height:310px!important;}
  .cbp-promo.cbp-article .cbp-cover{max-height:245px!important;}
}

/* v1.0.11: mobile-only book placement; desktop unchanged. */
@media (max-width:700px){.cbp-promo.cbp-article .cbp-cover-link{transform:translateY(24px)!important}}

/* v1.0.12: enlarge the mobile book upward from its resting edge. */
@media (max-width:700px){
  .cbp-promo.cbp-article .cbp-cover{transform:scale(1.2)!important;transform-origin:center bottom!important;}
}
