@charset "UTF-8";

/* Preserve the jobs/technical design: variance 3, motion 2, density 4.
   Use the articles' own photographs, the shared font, teal and 10px cards. */
.success-stories-page { background: #f5fafb; color: #222; }
.success-stories-page .menu-links > a:not(.header-registration) { color: #125e59; }
.success-stories-page .button-line { color: #073d20; }
.success-stories-page .header-nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.stories-archive, .story-detail { padding: 28px 0 80px; }
.stories-inner { max-width: 1040px; }
.story-detail { background: #fff; }
.story-detail-inner { max-width: 780px; }
.story-breadcrumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 36px; color: #506164; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.story-breadcrumbs a:hover { color: #125e59; text-decoration: underline; }
.story-breadcrumbs [aria-current] { min-width: 0; }
.stories-intro { margin-bottom: 36px; }
.stories-intro h1 { padding-left: 20px; border-left: 6px solid var(--primary); font-size: clamp(26px, 3vw, 36px); line-height: 1.5; font-weight: 700; }
.stories-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.stories-list > li { min-width: 0; }
.story-card { display: grid; grid-template-columns: 36% minmax(0, 1fr); align-items: start; gap: 28px; padding: 24px; color: #222; background: #fff; border: 1px solid #e1eae9; border-radius: 10px; box-shadow: 0 4px 14px #2db7af0c; }
.story-card-image { overflow: hidden; border-radius: 4px; background: #eef7f6; }
.story-card-image > img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.story-card-image .job-photo-placeholder { aspect-ratio: 16 / 9; }
.story-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.story-date, .story-dates { color: #506164; font-size: 12px; line-height: 1.7; }
.story-card-title { font-size: 20px; line-height: 1.7; font-weight: 700; overflow-wrap: anywhere; }
.story-card-excerpt { font-size: 14px; line-height: 1.9; color: #506164; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.story-card-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; color: #125e59; font-size: 13px; font-weight: 700; }
.story-card-link .icon { width: 14px; height: 14px; }
.story-text-link, .story-back-link { color: #125e59; font-weight: 700; font-size: 14px; text-underline-offset: 5px; }
.story-text-link { text-decoration: underline; }
.story-back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; min-height: 44px; }
.story-back-link .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.story-back-link:hover { text-decoration: underline; }
.story-bottom-navigation { margin-top: 40px; text-align: center; }
.story-bottom-navigation .story-back-link { margin-bottom: 0; }
.stories-empty { padding: 56px 24px; border-radius: 10px; background: #fff; text-align: center; }
.stories-empty h2 { font-size: 20px; }
.stories-empty p { margin-top: 16px; font-size: 15px; }
.stories-empty a { display: inline-block; margin-top: 24px; }
.success-stories-page .pagination { margin-top: 40px; }
.success-stories-page .nav-links, .story-content-pages { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.success-stories-page .page-numbers, .story-content-pages .post-page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; background: #fff; border: 1px solid #c7d7d5; border-radius: 6px; color: #125e59; font-size: 14px; }
.success-stories-page .page-numbers.current, .story-content-pages .post-page-numbers.current { background: #125e59; border-color: #125e59; color: #fff; }
.success-stories-page .page-numbers.dots { min-width: 24px; padding-inline: 0; border: 0; background: transparent; }
.success-stories-page .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.story-article-header h1 { margin: 16px 0 20px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.65; font-weight: 700; overflow-wrap: anywhere; text-wrap: balance; }
.story-label { display: inline-block; padding: 5px 12px; background: #e4fcfb; color: #125e59; border-radius: 4px; font-size: 13px; font-weight: 700; }
.story-dates { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.story-cover { margin-top: 28px; }
.story-cover img { width: 100%; height: auto; border-radius: 4px; }
.story-content { margin-top: 40px; font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
.story-content > * { max-width: 100%; }
.story-content > * + * { margin-top: 1.5em; }
.story-content h2 { margin: 48px 0 20px; padding: 4px 0 4px 16px; border-left: 5px solid var(--primary); font-size: 24px; line-height: 1.65; }
.story-content h3 { margin: 32px 0 16px; font-size: 20px; line-height: 1.7; }
.story-content h4 { font-size: 18px; }
.story-content em { color: inherit; font-style: italic; }
.story-content a:not(.wp-block-button__link) { color: #125e59; text-decoration: underline; text-underline-offset: 4px; }
.story-content :is(ul, ol) { padding-left: 1.5em; }
.story-content li + li { margin-top: .5em; }
.story-content blockquote { margin-inline: 0; padding: 20px 24px; border-left: 4px solid var(--primary); background: #f5fafb; }
.story-content :is(figure, .wp-caption) { margin-inline: 0; max-width: 100%; }
.story-content figcaption { margin-top: 8px; color: #506164; font-size: 13px; line-height: 1.8; }
.story-content img { max-width: 100%; height: auto; }
.story-content :is(iframe, video) { max-width: 100%; }
.story-content iframe[src*="youtube"], .story-content iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.story-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.story-content :is(th, td) { border: 1px solid #c7d7d5; padding: 12px; text-align: left; }
.story-content th { background: #f5fafb; }
.story-content pre { overflow-x: auto; padding: 16px; background: #f5fafb; font-size: 14px; }
.story-content .alignleft { float: left; margin: 0 24px 16px 0; }
.story-content .alignright { float: right; margin: 0 0 16px 24px; }
.story-content .aligncenter { margin-inline: auto; }
.story-content::after { content: ""; display: block; clear: both; }
.story-content input[type="password"] { max-width: 100%; padding: 10px; border: 1px solid #7b9290; border-radius: 4px; font: inherit; }
.story-content input[type="submit"] { padding: 10px 20px; border: 0; border-radius: 4px; background: #125e59; color: #fff; cursor: pointer; }
.story-content-pages { margin-top: 32px; }
.story-article-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e1eae9; }
/* Match the enquiry section in page-lp-job-detail.php. */
.story-inquiry { margin-top: 56px; padding: 80px 20px; background: #2db7af; color: #fff; text-align: center; line-height: normal; }
.story-inquiry-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; margin-inline: auto; }
.story-inquiry h2 { padding: 15px 26px; background: #fff; color: #2db7af; font-size: 48px; font-weight: 900; line-height: normal; letter-spacing: .2em; transform: matrix(1, 0, -.17, .98, 0, 0); }
.story-inquiry-body { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 800px; }
.story-inquiry-description { color: #fff; font-size: 18px; font-weight: 900; line-height: 2; letter-spacing: .05em; }
.story-inquiry-phone { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 18px; font-weight: 700; line-height: 2; letter-spacing: .05em; }
.story-inquiry-number { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 48px; font-weight: 900; line-height: 1; letter-spacing: .05em; white-space: nowrap; }
.story-inquiry-number img { flex-shrink: 0; width: 40px; height: 40px; filter: brightness(0) invert(1); }
.story-inquiry-number:hover { text-decoration: underline; text-underline-offset: 6px; }
.story-inquiry-hours { padding: 0 36px; border-radius: 999px; background: #fff; color: #2db7af; font-size: 18px; font-weight: 700; line-height: 2; letter-spacing: .05em; }
.story-inquiry-note { color: #fff; font-size: 16px; font-weight: 900; line-height: 2; letter-spacing: .05em; }
.story-inquiry-line { display: flex; justify-content: center; align-items: center; gap: 12px; width: min(350px, calc(100% - 40px)); min-height: 56px; margin: 24px auto 0; padding: 14px 20px; border-radius: 30px; background: #06c755; color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; }
.story-inquiry-line:hover { opacity: .85; }
.story-inquiry-line:focus-visible { outline: 3px solid #125e59; outline-offset: 4px; }
.story-inquiry-sp { display: none; }
@media (max-width: 768px) {
  .story-inquiry { margin-top: 40px; padding: 60px 16px; }
  .story-inquiry h2 { padding: 4px 12px; font-size: 28px; }
  .story-inquiry-number { font-size: clamp(28px, 9.2vw, 36px); }
  .story-inquiry-hours { padding-inline: clamp(16px, 5vw, 36px); }
  .story-inquiry-sp { display: block; }
}
.story-related { margin-top: 56px; }
.story-related .section-heading h2 { font-size: 24px; }
.story-related .story-card-title { font-size: 17px; }
.story-related .story-card-excerpt { -webkit-line-clamp: 2; }
@media (hover: hover) {
  .story-card:hover { border-color: #aadbd6; box-shadow: 0 8px 24px #00000012; }
  .story-card:hover .story-card-title { color: #125e59; }
}
@media (max-width: 700px) {
  .stories-archive, .story-detail { padding-top: 20px; padding-bottom: 48px; }
  .story-breadcrumbs { margin-bottom: 24px; font-size: 11px; }
  .stories-intro { margin-bottom: 28px; }
  .story-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .story-card-title { font-size: 18px; }
  .story-card-excerpt { font-size: 13px; }
  .story-back-link { margin-bottom: 20px; font-size: 13px; }
  .story-content { margin-top: 28px; font-size: 16px; line-height: 1.95; }
  .story-content h2 { margin-top: 36px; font-size: 21px; }
  .story-content h3 { font-size: 18px; }
  .story-content :is(.alignleft, .alignright) { float: none; margin: 20px auto; }
  .story-related { margin-top: 40px; }
  .story-related .section-heading h2 { font-size: 21px; }
}
