/* EggJob+ Category & Letter v1.0 — does not change Cocoon's layout. */
.ejplus-category-nav{box-sizing:border-box; margin:20px auto 34px; padding:19px 21px 20px; max-width:1320px; border:1px solid rgba(41,91,152,.18); border-radius:16px; color:#102a54; background:linear-gradient(120deg,#f5f9ff,#fffefa 68%,#fff9e8); box-shadow:0 10px 32px rgba(0,32,74,.06); font-family:inherit;}
.ejplus-category-nav *{box-sizing:border-box}
.ejplus-category-nav__intro{display:flex;flex-wrap:wrap;gap:2px 13px;align-items:center;margin:0 0 12px}
.ejplus-category-nav__kicker{color:#4a72a5;letter-spacing:.09em;font-size:10px;font-weight:800}
.ejplus-category-nav__intro strong{font-size:clamp(15px,1.35vw,19px);color:#102a54;font-weight:800}
.ejplus-category-nav__intro p{width:100%;margin:3px 0 0;color:#4f5f78;font-size:13px;line-height:1.7}
.ejplus-category-nav__links{display:flex;gap:10px;flex-wrap:wrap}
.ejplus-category-nav__link{display:inline-flex;gap:9px;align-items:center;justify-content:center;padding:9px 15px;border:1px solid #c9d9ec;border-radius:999px;background:#fff;color:#123a6c!important;font-weight:750;font-size:13px;line-height:1.6;text-decoration:none!important;transition:background .18s,border-color .18s,transform .18s}
.ejplus-category-nav__link:hover,.ejplus-category-nav__link:focus-visible{background:#e8f2ff;border-color:#6fa8e9;transform:translateY(-1px)}
.ejplus-category-nav__link.is-current{border-color:#cda64a;background:#fff7df}
.ejplus-category-nav__count{font-size:11px;font-weight:600;color:#6d7f91;white-space:nowrap}
.ejplus-category-nav--post{margin-top:4px;margin-bottom:26px;padding:14px 17px}
.ejplus-category-nav--post .ejplus-category-nav__intro{margin-bottom:9px}
.ejplus-category-nav--post .ejplus-category-nav__kicker{display:none}
/* Newsletter text is updated by a small script; keep existing brand background and form link. */
.ejp-newsletter .ejp-newsletter__button{font-size:clamp(13px,1.12vw,16px)!important;white-space:normal!important;overflow-wrap:anywhere!important;text-wrap:balance;line-height:1.5!important;min-height:60px;padding:12px 15px;text-align:center!important}
.ejp-newsletter .ejp-newsletter__intro{line-height:1.85!important}
.ejp-newsletter .ejp-newsletter__note{font-size:clamp(11px,.9vw,12px)!important;line-height:1.75!important;text-wrap:pretty}
@media(max-width:720px){.ejplus-category-nav{padding:16px 13px;border-radius:13px;margin:16px auto 25px}.ejplus-category-nav__links{gap:8px}.ejplus-category-nav__link{padding:9px 11px;font-size:12px;flex:1 1 auto}.ejplus-category-nav__count{font-size:10px}.ejplus-category-nav--post{padding:12px}}
@media(prefers-reduced-motion:reduce){.ejplus-category-nav__link{transition:none}}

/* Xserver PR card: shown only where [eggjob_xserver_pr] is placed. */
.ejplus-xserver-pr{box-sizing:border-box;max-width:680px;margin:26px auto;padding:20px 16px;border:1px solid #d5e4f3;border-radius:14px;background:#f6faff;text-align:center;color:#173c67}
.ejplus-xserver-pr__disclosure{display:block;margin:0 0 6px;font-size:12px;font-weight:700;color:#36516d}
.ejplus-xserver-pr__title{display:block;margin:0 0 13px;font-size:clamp(15px,1.25vw,19px);line-height:1.55;color:#0b3165}
.ejplus-xserver-pr a{display:inline-block;max-width:100%;text-decoration:none}
.ejplus-xserver-pr a img{display:block;max-width:100%;height:auto;border:0;margin:0 auto}
.ejplus-xserver-pr__pixel{border:0;max-width:1px!important;height:1px!important;display:inline;vertical-align:bottom}
.ejplus-xserver-pr p{margin:12px 0 0;font-size:12px;line-height:1.8;color:#42536b}
@media(max-width:480px){.ejplus-xserver-pr{padding:17px 10px}}


/* v1.2: Blog Compass newsletter - responsive and compatible with TOP Designer */
.ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__inner{
  grid-template-columns:minmax(0,1.14fr) minmax(355px,.86fr)!important;
  gap:clamp(18px,3vw,38px)!important; align-items:center!important;
}
.ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__heading{
  font-size:clamp(24px,2.5vw,37px)!important; line-height:1.35!important;
  text-wrap:balance!important; letter-spacing:.01em;
}
.ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__intro{
  margin-bottom:12px!important; font-size:clamp(14px,1.03vw,16px)!important; line-height:1.85!important;
  overflow-wrap:anywhere;
}
.ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__action{ min-width:0; gap:11px!important; }
.ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__button{
  display:flex!important; align-items:center!important; justify-content:center!important;
  padding:13px 10px!important; font-size:clamp(14px,1.12vw,17px)!important;
  line-height:1.55!important; font-weight:800!important; min-height:62px!important;
  text-wrap:balance!important; word-break:keep-all!important; overflow-wrap:anywhere!important;
}
.ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__note{ max-width:450px; margin:0 auto!important; font-size:12px!important; line-height:1.78!important; }
.ejplus-letter-value{margin-top:14px;padding:15px 18px;border:1px solid rgba(255,218,133,.4);border-radius:13px;background:rgba(0,18,49,.20);color:#fff;box-sizing:border-box}
.ejplus-letter-value__title{display:block;font-size:clamp(14px,1.15vw,17px);font-weight:800;color:#ffe5a0;margin:0 0 10px}
.ejplus-letter-value__points{list-style:none!important;padding:0!important;margin:0 0 10px!important;display:grid;gap:7px}
.ejplus-letter-value__points li{padding:0 0 0 23px;margin:0;position:relative;font-size:13px;line-height:1.55;color:#fff!important}
.ejplus-letter-value__points li:before{content:'✓';position:absolute;left:0;top:0;color:#ffe293;font-weight:900}
.ejplus-letter-value__subtext{margin:9px 0 0!important;font-size:12px;line-height:1.75;color:#dce8f9!important}
.ejplus-compass-visual{margin:0!important;padding:6px 6px 7px!important;background:rgba(255,255,255,.97);border-radius:14px;box-shadow:0 12px 30px rgba(0,12,40,.16);min-width:0;box-sizing:border-box}
.ejplus-compass-visual img{display:block!important;width:100%!important;height:auto!important;border-radius:9px;margin:0!important;max-width:100%!important;object-fit:contain!important}
.ejplus-compass-visual figcaption{padding:5px 6px 1px;text-align:center;color:#5d6983;font-size:11px;line-height:1.4}
@media(max-width:900px){
  .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__inner{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__action{width:100%;max-width:560px;margin-inline:auto}
}
@media(max-width:420px){
  .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__heading{font-size:clamp(22px,6vw,27px)!important}
  .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__button{font-size:14px!important;min-height:58px!important;padding:12px 8px!important}
  .ejplus-letter-value{padding:13px 12px}
}


/* v1.3: Cocoon footer — legal disclosure replaces redundant site-title logo. */
a.ejplus-legal-footer-link { display:inline-flex; align-items:center; max-width:100%; font-size:clamp(12px,1vw,14px); line-height:1.65; text-decoration:underline; text-underline-offset:3px; color:inherit; }
.footer-bottom .footer-bottom-logo.ejplus-footer-legal-slot { display:flex; align-items:center; justify-content:center; min-width:0; }
.footer-bottom .footer-bottom-logo.ejplus-footer-legal-slot a { max-width:100%; overflow-wrap:anywhere; }
.ejplus-legal-table { width:100%; overflow-x:auto; }
.ejplus-legal-table table { width:100%; border-collapse:collapse; table-layout:fixed; }
.ejplus-legal-table th { width:28%; background:#f2f6fc; color:#17385f; font-weight:750; }
.ejplus-legal-table td,.ejplus-legal-table th { padding:12px 14px; border:1px solid #dae4f0; vertical-align:top; overflow-wrap:anywhere; line-height:1.8; }
@media(max-width:700px){ .footer-bottom .footer-bottom-logo.ejplus-footer-legal-slot { padding:7px 10px 2px; } .ejplus-legal-table th {width:34%;} .ejplus-legal-table td,.ejplus-legal-table th {padding:10px 8px; font-size:13px;} }


/* v1.4 — EggJob+ editorial finish. Only single posts; no Cocoon core edits. */
body.single-post .sns-follow,
body.single-post .sns-follow-buttons,
body.single-post .sns-share,
body.single-post .sns-share-buttons,
body.single-post .follow-button,
body.single-post .author-box,
body.single-post .author-info,
body.single-post .ejpas-author-card,
body.single-post .pager-post-navi,
body.single-post .post-navi,
body.single-post .next-prev,
body.single-post .prev-post,
body.single-post .next-post,
body.single-post .breadcrumb,
body.single-post .breadcrumb-container,
body.single-post .breadcrumb-wrap,
body.single-post .breadcrumb-footer{display:none!important;}
/* The newsletter belongs directly after references, not buried under Cocoon controls. */
body.single-post .ejp-newsletter.ejplus-compass-after-article{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  margin:clamp(30px,5vw,58px) auto 10px!important;
  border-radius:18px!important;overflow:hidden;
  box-shadow:0 18px 48px rgba(11,40,77,.14)!important;
  position:relative;isolation:isolate;
}
body.single-post .ejp-newsletter.ejplus-compass-after-article:before{
 content:'';position:absolute;inset:0 0 auto;height:3px;
 background:linear-gradient(90deg,#a87e27,#ffe6a0,#ac8130);z-index:1;
}
body.single-post .ejp-newsletter.ejplus-compass-after-article .ejp-newsletter__inner{
 padding:clamp(18px,3vw,35px)!important;
}
body.single-post .entry-content .ejp-newsletter__heading{
 background:none!important;color:#fff!important;border:none!important;
 box-shadow:none!important;margin:8px 0 12px!important;
 padding:0!important;text-shadow:none!important;
}
body.single-post .ejp-newsletter.ejplus-compass-after-article .ejp-newsletter__button{
 background:linear-gradient(125deg,#ffedaa,#d6a23c)!important;
 color:#102c55!important;border:1px solid #f5d47b!important;
 border-radius:13px!important;box-shadow:0 8px 19px rgba(0,0,0,.16)!important;
 text-decoration:none!important;
}
body.single-post .ejp-newsletter.ejplus-compass-after-article .ejp-newsletter__button:hover{
 transform:translateY(-2px);filter:brightness(1.03);
}
/* Newsletter is the last call to action. Minimize empty space below it. */
body.single-post .article-footer{margin-top:10px!important;padding-top:0!important;}
body.single-post .footer{margin-top:0!important;}
/* Sitewide footer: independent of Cocoon's default white bar. */
body .footer-bottom{
 position:relative;background:linear-gradient(115deg,#071c41,#0c356a 65%,#10477c)!important;
 color:#edf5ff!important;border-top:3px solid #dbb15a!important;
 padding:clamp(19px,3vw,34px) 14px!important;
}
body .footer-bottom a{color:#eef5ff!important;text-decoration:none!important;}
body .footer-bottom a:hover,body .footer-bottom a:focus-visible{color:#ffe19d!important;text-decoration:underline!important;}
body .footer-bottom .copyright{color:#edf5ff!important;letter-spacing:.01em;font-size:clamp(11px,1vw,14px);}
body .footer-bottom .footer-bottom-logo.ejplus-footer-legal-slot a{
 border:1px solid rgba(255,224,167,.43);padding:9px 16px;border-radius:999px;
 background:rgba(255,255,255,.08);font-weight:700;text-underline-offset:3px;
}
/* Affiliate card remains clear, responsive and labelled as an advertisement. */
body.single-post .ejplus-xserver-pr{max-width:750px;margin:clamp(28px,5vw,46px) auto;
 border:1px solid #d3e4f3;border-radius:18px;background:linear-gradient(150deg,#f3f8ff,#fffdf5);
 box-shadow:0 12px 28px rgba(15,49,95,.07);}
body.single-post .ejplus-xserver-pr__disclosure{display:inline-block;padding:3px 10px;border-radius:999px;
 background:#e7effa;color:#355474;font-size:11px;}
@media(max-width:780px){
 body.single-post .ejp-newsletter.ejplus-compass-after-article{
  border-radius:13px!important;margin:28px auto 10px!important;}
 body.single-post .ejp-newsletter.ejplus-compass-after-article .ejp-newsletter__inner{
  padding:18px 13px!important;}
 body.single-post .ejplus-xserver-pr{margin:26px auto;padding:16px 10px;}
 body .footer-bottom{text-align:center!important;}
 body .footer-bottom .footer-bottom-logo.ejplus-footer-legal-slot{justify-content:center;}
}
@media(prefers-reduced-motion:reduce){
 body.single-post .ejp-newsletter.ejplus-compass-after-article .ejp-newsletter__button:hover{transform:none;}
}

/* Responsive even when the article column is narrower than the desktop viewport. */
body.single-post .entry-content { container-type:inline-size; }
@container (max-width: 880px) {
  .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__inner {
    grid-template-columns:minmax(0,1fr)!important;gap:18px!important;
  }
  .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__action {
    width:100%;max-width:640px;margin-inline:auto;
  }
}


/* v1.4.1 | Footer polish — backdrop and balanced legal/copyright row.
   Preserve the existing Cocoon footer, shortcode, post body and newsletter.
   The outer full-width footer canvas matches the site's #f4f5f7 gray.
   Only the established legal-link footer receives the flex alignment. */
body #footer,
body footer.footer,
body .footer-container {
  background-color: #f4f5f7 !important;
  background-image: none !important;
}
body #footer .footer-in,
body .footer-container .footer-in {
  background: transparent !important;
}
body .footer-bottom.ejplus-footer-balanced {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: clamp(32px, 7vw, 120px) !important;
  row-gap: 14px !important;
  min-height: 106px;
  padding: 22px clamp(18px, 3vw, 38px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot,
body .footer-bottom.ejplus-footer-balanced .footer-bottom-content {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  text-align: center !important;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot {
  order: 1;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-content {
  order: 2;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot a {
  margin: 0 !important;
  padding: 9px 17px !important;
  line-height: 1.55 !important;
  white-space: normal;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-content .copyright,
body .footer-bottom.ejplus-footer-balanced .copyright {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.65 !important;
  text-align: center !important;
}
@media (max-width: 780px) {
  body .footer-bottom.ejplus-footer-balanced {
    flex-direction: column !important;
    row-gap: 11px !important;
    min-height: 0;
    padding: 22px 14px !important;
  }
  body .footer-bottom.ejplus-footer-balanced .footer-bottom-content,
  body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot {
    width: 100% !important;
  }
}


/* v1.4.2 | Critical Cocoon footer positioning fix.
   v1.4.1 centered the flex parent, but Cocoon's .footer-bottom-logo
   could remain position:absolute with left/bottom offsets.  An absolute
   child is removed from flex layout, so the legal link stayed bottom-left.
   Reset inherited positioning and center BOTH footer items as one group. */
body .footer-bottom.ejplus-footer-balanced {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px clamp(28px, 6vw, 92px) !important;
  width: 100% !important;
  min-height: 96px !important;
  padding: 23px 20px !important;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot,
body .footer-bottom.ejplus-footer-balanced .footer-bottom-content {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  flex: 0 0 auto !important;
  display: flex !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  align-self: center !important;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot .ejplus-legal-footer-link {
  position: static !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
}
body .footer-bottom.ejplus-footer-balanced .footer-bottom-content .copyright {
  position: static !important;
  margin: 0 !important;
  display: block !important;
  text-align: center !important;
}
@media(max-width:780px) {
  body .footer-bottom.ejplus-footer-balanced {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 11px !important;
    min-height: 0 !important;
    padding: 20px 14px !important;
  }
  body .footer-bottom.ejplus-footer-balanced .footer-bottom-logo.ejplus-footer-legal-slot,
  body .footer-bottom.ejplus-footer-balanced .footer-bottom-content {
    width: 100% !important;
    flex: 0 1 auto !important;
  }
}

/* v1.4.5 | Footer join, without repainting or inserting any phantom panel.
 * In 1.4.4 a white ::before overlay appeared as an outlined empty rectangle.
 * This release is built from the clean 1.4.2 CSS.  The footer itself moves
 * up into the measured ~32px desktop seam; the article background remains white.
 * The original navy/gold footer and centered copyright/legal row are intact.
 * Mobile remains unchanged. */
@media (min-width: 781px) {
  body:not(.wp-admin) #footer.footer,
  body:not(.wp-admin) #footer.footer-container {
    margin-top: -32px !important;
  }
}

/* v1.4.6 — Homepage-only transition to the shared Cocoon footer.
 * TOP Designer already draws the gold bottom border of the final newsletter.
 * Unlike article pages, the landing-page theme also adds padding around the
 * Cocoon footer and our category plugin draws another gold rule. This caused
 * a double line and an empty navy band on the homepage only.
 * Keep 1.4.5 article/footer styling untouched and normalize ONLY the homepage.
 * This is structural spacing, not a background overlay or pseudo-element.
 */
@media (min-width: 781px) {
  body.home #footer.footer,
  body.home #footer.footer-container,
  body.ejp-landing-page #footer.footer,
  body.ejp-landing-page #footer.footer-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
  body.home #footer #footer-in,
  body.home #footer .footer-in,
  body.ejp-landing-page #footer #footer-in,
  body.ejp-landing-page #footer .footer-in {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  body.home #footer .footer-bottom.ejplus-footer-balanced,
  body.ejp-landing-page #footer .footer-bottom.ejplus-footer-balanced {
    border-top: 0 !important;
    margin-top: 0 !important;
  }
}


/* v1.4.7 — Featured-image category label ABOVE the image, not over it.
 * Cocoon markup: .eye-catch-wrap > figure.eye-catch > img + .cat-label.
 * Reserve a compact top row INSIDE the eye-catch figure so no negative
 * offset can be clipped by the image wrapper. Only single-post hero images.
 * No changes to homepage cards, related posts, article body, or footer.
 */
body.single-post .eye-catch-wrap .eye-catch:has(> .cat-label) {
  position: relative !important;
  box-sizing: border-box !important;
  padding-top: 44px !important;
  overflow: visible !important;
}
body.single-post .eye-catch-wrap .eye-catch > .cat-label {
  position: absolute !important;
  top: 3px !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: calc(100% - 12px) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border: 1px solid #d8b65e !important;
  border-radius: 6px !important;
  background: #153765 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
@media (max-width: 780px) {
  body.single-post .eye-catch-wrap .eye-catch:has(> .cat-label) {
    padding-top: 43px !important;
  }
  body.single-post .eye-catch-wrap .eye-catch > .cat-label {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
}



/* v1.4.8 — Article newsletter desktop legibility (no footer/top-page changes).
   Larger illustration, stronger body copy, and a genuine 2-line email signup CTA.
   Deliberately scoped to single-post so the TOP Designer and footer stay untouched. */
@media (min-width: 901px) {
  body.single-post .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__inner {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr) !important;
    column-gap: clamp(18px, 2.1vw, 30px) !important;
  }
}
body.single-post .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__intro {
  font-size: clamp(16px, 1.3vw, 18px) !important;
  line-height: 1.78 !important;
}
body.single-post .ejp-newsletter .ejplus-letter-value {
  padding: clamp(15px, 1.4vw, 19px) clamp(14px, 1.5vw, 21px);
}
body.single-post .ejp-newsletter .ejplus-letter-value__title {
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.55 !important;
}
body.single-post .ejp-newsletter .ejplus-letter-value__points { gap: 9px; }
body.single-post .ejp-newsletter .ejplus-letter-value__points li {
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 1.65 !important;
}
body.single-post .ejp-newsletter .ejplus-letter-value__subtext {
  font-size: clamp(13px, 1vw, 15px) !important;
  line-height: 1.8 !important;
}
body.single-post .ejp-newsletter .ejplus-compass-visual { width: 100%; max-width: none; }
body.single-post .ejp-newsletter .ejplus-compass-visual figcaption {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
body.single-post .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__note {
  font-size: clamp(13px, 1vw, 14px) !important;
  line-height: 1.75 !important;
  max-width: 520px !important;
}
body.single-post .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__button.ejplus-letter-cta-two-lines {
  flex-direction: column !important;
  gap: 3px !important;
  font-size: clamp(16px, 1.2vw, 18px) !important;
  min-height: 88px !important;
  padding: 13px 12px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}
body.single-post .ejp-newsletter .ejplus-letter-cta-line {
  display: block;
  max-width: 100%;
  font-weight: 850;
  text-align: center;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  body.single-post .ejp-newsletter.ejplus-letter-enhanced .ejp-newsletter__button.ejplus-letter-cta-two-lines {
    font-size: 15px !important;
    min-height: 83px !important;
    padding: 12px 9px !important;
  }
  body.single-post .ejp-newsletter .ejplus-letter-value__points li { font-size: 14px !important; }
}


/* v1.4.10 — Precise two-line CTA in published EggJob+ articles.
   Body class is assigned server-side, so the exact line break survives
   when an old JS file is cached or another script rewrites the anchor.
   Applies to the homepage too when the same server-side body class is set.
   No changes to footer or the future tool-ready CTA. */
body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  min-height: 84px !important;
  padding: 13px 11px !important;
  font-size: 0 !important;
  line-height: 1 !important;
  color: transparent !important;
  text-align: center !important;
}
body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button > * {
  display: none !important;
}
body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button::before,
body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button::after {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  color: #12315b !important;
  font-family: inherit !important;
  font-weight: 850 !important;
  font-size: clamp(16px, 1.2vw, 18px) !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  overflow: visible !important;
}
body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button::before {
  content: "最新の情報とブログコンパス無料版の" !important;
}
body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button::after {
  content: "ご提供案内をメルマガで受け取る" !important;
}
@media (max-width: 420px) {
  body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button {
    padding: 12px 7px !important;
    min-height: 77px !important;
  }
  body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button::before,
  body.ejplus-preview-cta-fixed-break .ejp-newsletter a.ejp-newsletter__button::after {
    font-size: clamp(12px, 3.6vw, 14px) !important;
  }
}
