/* One closing service component. Native IDs own names, URLs and service icons. */
body.single-post .ss-guide--enhanced .entry-content .ss-article-service.ss-article-service--closing{display:block;margin:36px 0 0;padding:28px;border:0;border-radius:16px;background:#12152f;color:#fff;box-shadow:none;scroll-margin-top:120px}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__heading{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:16px;margin-bottom:16px}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__symbol{display:block;width:48px;height:48px;color:#ffbd6c}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__symbol svg{display:block;width:48px;height:48px;stroke-width:1.6}
body.single-post .ss-guide--enhanced .entry-content .ss-article-service--closing .ss-article-closing-cta__heading>h2{margin:0;color:#fff;font-size:clamp(23px,2.1vw,28px);font-weight:750;line-height:1.3;letter-spacing:-.02em;text-wrap:balance}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__copy{max-width:68ch;margin:0 0 22px;color:#e6e2ef;font-size:16px;line-height:1.75}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__services{display:flex;flex-direction:column;gap:16px;margin:0 0 24px}
body.single-post .ss-guide--enhanced .entry-content .ss-article-service--closing .ss-article-closing-cta__service{display:grid;grid-template-columns:18px minmax(0,1fr) 18px;align-items:center;gap:12px;max-width:100%;min-height:44px;margin:0;padding:6px 0;color:#dbc4ff;font-size:15px;font-weight:650;line-height:1.55;text-decoration:none;box-sizing:border-box}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__service-name{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__service:hover{color:#fff}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__service-icon,body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__service-icon svg{display:block;width:18px;height:18px;color:#e6ddfa}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__link-icon{display:flex;width:18px;height:18px}
body.single-post .ss-guide--enhanced .entry-content .ss-article-service--closing .ss-article-closing-cta__contact{display:inline-flex;align-items:center;justify-content:center;gap:16px;max-width:100%;min-height:50px;margin:0;padding:13px 22px;border:0;border-radius:28px;background:#ffab35;color:#11152e!important;box-shadow:none;text-align:left;text-decoration:none;font-size:15px;font-weight:750;line-height:1.45;white-space:normal}
body.single-post .ss-guide--enhanced .entry-content .ss-article-service--closing .ss-article-closing-cta__contact:hover{background:#ffc16b;color:#11152e!important;box-shadow:none}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__contact>span{display:flex;flex:0 0 22px;width:22px;height:22px}
body.single-post .entry-content .ss-article-service--closing a:focus-visible{outline:3px solid #ffbd6c;outline-offset:5px}
body.single-post .entry-content .ss-article-service--closing ::selection{background:#ffbd6c;color:#11152e}
@media(max-width:759px){
body.single-post .ss-guide--enhanced .entry-content .ss-article-service.ss-article-service--closing{margin-top:28px;padding:22px 18px;border-radius:14px}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__heading{grid-template-columns:36px minmax(0,1fr);gap:12px;margin-bottom:16px}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__symbol,body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__symbol svg{width:36px;height:36px}
body.single-post .ss-guide--enhanced .entry-content .ss-article-service--closing .ss-article-closing-cta__heading>h2{font-size:23px}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__copy{margin-bottom:20px;font-size:15px;line-height:1.7}
body.single-post .entry-content .ss-article-service--closing .ss-article-closing-cta__services{gap:14px;margin-bottom:22px}
body.single-post .ss-guide--enhanced .entry-content .ss-article-service--closing .ss-article-closing-cta__contact{width:100%;justify-content:space-between}
}
@media print{body.single-post .ss-guide--enhanced .entry-content .ss-article-service.ss-article-service--closing{background:#fff;color:#12152f;border:1px solid #dedcea}body.single-post .entry-content .ss-article-service--closing :is(h2,p,a,.ss-article-closing-cta__symbol){color:#12152f!important}}

/* Closing-only cascade repair. Native middle article components keep their layout.
   The shared legacy :is() selector includes two IDs, so retain equal ID specificity
   and add the closing variant to win without touching any other CTA. */
@media screen and (max-width: 759px) {
  body.single-post #content :is(.ss-guide-content, #ss-jsa-guide > #pomoc, #ss-rozdzial-guide > #pomoc) .ss-article-service.ss-article-service--closing {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 14px !important;
  }
}
/* The original service SVG uses currentColor. Keep the closing header symbol
   legible on navy even when the older global SVG palette is present. */
@media screen {
  body.single-post #content .ss-article-service.ss-article-service--closing .ss-article-closing-cta__symbol,
  body.single-post #content .ss-article-service.ss-article-service--closing .ss-article-closing-cta__symbol svg {
    color: #ffbd6c !important;
  }
}
