/* Applied only to posts generated by Bookmaker Promo Automation. */
body.bpa-offer-post .entry-header {
  padding: 3.5rem 1rem !important;
  margin-bottom: 2rem !important;
  background-color: #172638;
  background-position: center;
}
body.bpa-offer-post .entry-header .entry-title {
  font-size: clamp(1.9rem, 3.7vw, 3.1rem) !important;
  line-height: 1.16 !important;
  max-width: 980px;
  margin: 0 auto 1rem !important;
  letter-spacing: -.025em;
  text-wrap: balance;
}
body.bpa-offer-post .entry-header .header-content {max-width: 1020px;}
body.bpa-offer-post .entry-content {max-width: 940px;margin-inline:auto;}
body.bpa-offer-post .bpa-offer-article {font-size:1.05rem;line-height:1.75;color:inherit;}
body.bpa-offer-post .bpa-offer-article > p:not(.bpa-affiliate-disclosure) {margin-bottom:1.35rem;}
body.bpa-offer-post .bpa-offer-article h2 {
  margin:2.2rem 0 1rem; padding:.65rem 0 .65rem 1rem;
  border-left:5px solid #d32732;
  font-size:clamp(1.4rem,2.6vw,1.8rem);line-height:1.25;
}
body.bpa-offer-post .bpa-offer-article h3 {margin:1.5rem 0 .7rem;font-size:1.2rem;}
body.bpa-offer-post .bpa-offer-article h2 + ul {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;
  padding:1rem !important;margin:0 0 1.6rem !important;list-style:none !important;
  border:1px solid #dce4ed;border-radius:14px;background:#f6f8fb;color:#1b2939;
}
body.bpa-offer-post .bpa-offer-article h2 + ul > li {
  margin:0 !important;padding:.75rem .85rem;
  background:#fff;border-radius:9px;border:1px solid #e7ebf0;
}
body.bpa-offer-post .bpa-offer-article ol {counter-reset:bpa-step;list-style:none;padding-left:0;margin:1.2rem 0;}
body.bpa-offer-post .bpa-offer-article ol > li {
  counter-increment:bpa-step;position:relative;
  padding:1rem 1rem 1rem 3.6rem;margin:0 0 .75rem;
  border:1px solid #e1e6ec;border-radius:12px;background:#fff;color:#1b2939;
}
body.bpa-offer-post .bpa-offer-article ol > li:before {
  content:counter(bpa-step);position:absolute;left:.9rem;top:1rem;
  width:1.9rem;height:1.9rem;display:grid;place-items:center;
  border-radius:50%;background:#c52330;color:white;font-weight:700;
}
body.bpa-offer-post .bpa-affiliate-disclosure {
  font-size:.85rem;opacity:.8;margin-bottom:1.2rem;
}
body.bpa-offer-post .bpa-offer-links {
  border-top:1px solid #dce4ed;margin-top:2.2rem;padding:1.2rem 1.3rem;
  background:#f6f8fb;color:#1b2939;border-radius:12px;
}
body.bpa-offer-post .bpa-offer-links p:last-child {margin-bottom:0;}
@media(max-width:640px){
 body.bpa-offer-post .entry-header {padding:2.2rem .8rem !important;}
 body.bpa-offer-post .bpa-offer-article h2 + ul {grid-template-columns:1fr;}
 body.bpa-offer-post .bpa-offer-article {font-size:1rem;}
}

/* Scoped affiliate CTA: only posts created by this plugin. */
.bpa-offer-post .bpa-offer-cta{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;margin:1.35rem 0 1.9rem}
.bpa-offer-post .bpa-offer-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:.8rem 1.6rem;background:#c62828;color:#fff!important;border:1px solid #c62828;border-radius:9px;font-weight:750;text-decoration:none!important;line-height:1.25;box-shadow:0 4px 12px rgba(0,0,0,.12);transition:background-color .15s ease,transform .15s ease}
.bpa-offer-post .bpa-offer-button:hover,.bpa-offer-post .bpa-offer-button:focus-visible{background:#9d1e1e;border-color:#9d1e1e;color:#fff!important}
.bpa-offer-post .bpa-offer-button:focus-visible{outline:3px solid #172b4d;outline-offset:3px}
.bpa-offer-post .bpa-cta-caption{font-size:.78rem;color:#555;line-height:1.5}
.bpa-offer-post .bpa-offer-links .bpa-offer-cta{margin-top:1.2rem}
@media(max-width:560px){.bpa-offer-post .bpa-offer-button{width:100%;box-sizing:border-box}.bpa-offer-post .bpa-offer-cta{align-items:stretch}}

/* v0.2.5: compact, centred Spinoko title and actual navy promotional panels. */
body.bpa-offer-post .entry-header,
body.bpa-offer-post article .entry-header {
  text-align:center!important;
  padding:2.5rem 1rem 2.8rem!important;
  min-height:0!important;
}
body.bpa-offer-post .entry-header .header-content {
  width:100%;max-width:920px!important;margin-inline:auto!important;text-align:center!important;
}
body.bpa-offer-post .entry-header h1.entry-title {
  max-width:860px!important;margin:0 auto 1rem!important;
  text-align:center!important;font-size:clamp(1.85rem,3.6vw,3rem)!important;
  line-height:1.18!important;text-wrap:balance;
}
body.bpa-offer-post .entry-header .entry-meta {justify-content:center!important;}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta {
  box-sizing:border-box;display:flex;flex-direction:column;align-items:center;
  text-align:center;gap:.85rem;padding:2rem 1.5rem;
  margin:1.75rem 0 2rem;border:1px solid #314359;border-radius:16px;
  background:#172436;color:#fff;box-shadow:0 8px 24px rgba(18,30,48,.14);
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-cta-eyebrow {
  color:#f0bac0;letter-spacing:.11em;font-weight:800;font-size:.75rem;
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-cta-title {
  border:0!important;padding:0!important;margin:0!important;
  color:#fff!important;font-size:clamp(1.3rem,2.5vw,1.85rem)!important;
  line-height:1.25;text-align:center;
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-cta-description {
  color:#e2e8f1!important;max-width:610px;margin:0 auto!important;line-height:1.6;
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-offer-button {
  width:min(100%,360px);box-sizing:border-box;min-height:56px;
  background:#d3262e;border-color:#d3262e;border-radius:10px;
  font-size:1.1rem;font-weight:800;padding:.95rem 1.5rem;
  text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.2);
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-offer-button:hover,
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-offer-button:focus-visible {
  background:#b51e27;border-color:#b51e27;
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-cta-caption {
  color:#cbd5e1!important;font-size:.78rem;
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-links {
  background:transparent;border:0;padding:0;margin-top:2rem;
}
body.bpa-offer-post .bpa-offer-article .bpa-offer-links .bpa-offer-cta {margin:0 0 1rem;}
body.bpa-offer-post .bpa-offer-article .bpa-official-terms {margin:1rem 0;}
@media(max-width:640px){
 body.bpa-offer-post .entry-header {padding:2rem .85rem!important;}
 body.bpa-offer-post .bpa-offer-article .bpa-offer-cta {padding:1.5rem 1rem;}
 body.bpa-offer-post .bpa-offer-article .bpa-offer-cta .bpa-offer-button {width:100%;}
}

/* v0.3.1: FAQ section - scoped to bookmaker promotion articles only. */
body.bpa-offer-post .bpa-offer-article .bpa-faq-section {
  margin:2.5rem 0;
  padding:1.4rem;
  border:1px solid #dce4ed;
  border-radius:16px;
  background:#f6f8fb;
  color:#1b2939;
}
body.bpa-offer-post .bpa-offer-article .bpa-faq-section > h2 {
  margin:.1rem 0 1.35rem;
  color:#172436;
}
body.bpa-offer-post .bpa-offer-article .bpa-faq-section > h3 {
  margin:1.1rem 0 0!important;
  padding:1rem 1.2rem .55rem;
  border:1px solid #dce4ed;
  border-bottom:0;
  border-radius:12px 12px 0 0;
  background:#fff;
  color:#172436;
  font-size:1.08rem;
  font-weight:750;
  line-height:1.45;
}
body.bpa-offer-post .bpa-offer-article .bpa-faq-section > h3::before {
  content:"Q";
  display:inline-grid;
  place-items:center;
  width:1.65rem;height:1.65rem;
  margin-right:.65rem;
  border-radius:6px;
  background:#d3262e;
  color:#fff;
  font-size:.85rem;
  vertical-align:middle;
}
body.bpa-offer-post .bpa-offer-article .bpa-faq-section > h3 + p {
  margin:0!important;
  padding:.15rem 1.2rem 1.15rem;
  background:#fff;
  border:1px solid #dce4ed;
  border-top:0;
  border-radius:0 0 12px 12px;
  line-height:1.7;
}
@media(max-width:640px){
  body.bpa-offer-post .bpa-offer-article .bpa-faq-section {padding:.85rem;}
  body.bpa-offer-post .bpa-offer-article .bpa-faq-section > h3 {padding:.85rem .85rem .5rem;}
  body.bpa-offer-post .bpa-offer-article .bpa-faq-section > h3 + p {padding:.1rem .85rem 1rem;}
}
