/* Shared responsive layout repair for every Crew Life at Sea guide page. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body,
main,
main > section,
main > article {
  min-width: 0;
}

img,
video,
iframe,
table {
  max-width: 100%;
}

.container,
.wrap,
.hero-copy,
.herocopy,
.site-editorial-inner,
.extra-inner {
  box-sizing: border-box;
  width: min(calc(100% - clamp(36px, 6vw, 80px)), var(--max, 1320px));
  max-width: calc(100% - clamp(36px, 6vw, 80px));
  margin-left: auto;
  margin-right: auto;
}

.section-heading,
.sectionhead,
.section-head,
.jd-section-head,
.extra-heading,
.partner-heading,
.apply-section-head,
.fit-heading,
.archive-head,
.podcast-gallery-head,
.photo-gallery-head,
.faq-group-head,
.faq-head,
.section-heading-copy {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(22px, 3.6vw, 48px);
  align-items: start;
  min-width: 0;
}

.section-heading > *,
.sectionhead > *,
.section-head > *,
.jd-section-head > *,
.extra-heading > *,
.partner-heading > *,
.apply-section-head > *,
.fit-heading > *,
.archive-head > *,
.podcast-gallery-head > *,
.photo-gallery-head > *,
.faq-group-head > *,
.faq-head > *,
.section-heading-copy > *,
.intro-grid > *,
.introgrid > *,
.jd-intro-grid > *,
.apply-intro-grid > *,
.partner-intro-grid > *,
.why-intro-grid > *,
.site-editorial-inner > *,
.section-image > *,
.check-layout > * {
  min-width: 0;
  max-width: 100%;
}

.section-heading p,
.sectionhead p,
.section-head p,
.jd-section-head p,
.extra-heading p,
.partner-heading p,
.apply-section-head p,
.fit-heading p,
.archive-head p,
.podcast-gallery-head p,
.photo-gallery-head p,
.faq-group-head p,
.faq-head p {
  max-width: 66ch;
  margin-top: 0;
}

.section-title,
.title,
.display-title,
.hero h1,
.hero-copy h1,
.herocopy h1,
main h1,
main h2 {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* Bring widely spaced sections back into a consistent reading rhythm. */
main .section {
  padding-top: clamp(46px, 5.3vw, 72px);
  padding-bottom: clamp(48px, 5.6vw, 76px);
}

main > section:not(:first-child):not([class*="hero"]):not([class*="cta"]):not([class*="closing"]) {
  padding-top: clamp(46px, 5.3vw, 72px) !important;
  padding-bottom: clamp(48px, 5.6vw, 76px) !important;
}

@media (max-width: 1100px) {
  .section-heading,
  .sectionhead,
  .section-head,
  .jd-section-head,
  .extra-heading,
  .partner-heading,
  .apply-section-head,
  .fit-heading,
  .archive-head,
  .podcast-gallery-head,
  .photo-gallery-head,
  .faq-group-head,
  .faq-head,
  .section-heading-copy,
  .intro-grid,
  .introgrid,
  .jd-intro-grid,
  .apply-intro-grid,
  .partner-intro-grid,
  .why-intro-grid,
  .site-editorial-inner,
  .section-image,
  .check-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
  }

  .section-heading p,
  .sectionhead p,
  .section-head p,
  .jd-section-head p,
  .extra-heading p,
  .partner-heading p,
  .apply-section-head p,
  .fit-heading p,
  .archive-head p,
  .podcast-gallery-head p,
  .photo-gallery-head p,
  .faq-group-head p,
  .faq-head p {
    max-width: 72ch;
  }
}

@media (max-width: 700px) {
  .container,
  .wrap,
  .hero-copy,
  .herocopy,
  .site-editorial-inner,
  .extra-inner {
    width: calc(100% - 36px);
    max-width: calc(100% - 36px);
  }

  main .section {
    padding-top: 42px;
    padding-bottom: 46px;
  }

  main > section:not(:first-child):not([class*="hero"]):not([class*="cta"]):not([class*="closing"]) {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  main .section-title,
  main .title,
  main .display-title,
  main h1,
  main h2 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.04;
  }
}

/* Make the expanded section guidance visible as a real second paragraph. */
.clsa-intro-detail {
  display: block;
  margin-top: .8em;
  max-width: 66ch;
}

/* Replace empty stock-style document flat lays with practical, page-specific checks. */
.clsa-guide-panel {
  box-sizing: border-box;
  height: 100%;
  min-height: 320px;
  padding: clamp(26px, 3.2vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f7f3e8;
  background: radial-gradient(ellipse at 100% 0%, rgba(199, 164, 54, .2), transparent 48%), linear-gradient(145deg, #071a2c, #0b2c43);
  border-top: 3px solid #d5b94f;
  box-shadow: 0 18px 50px rgba(5, 21, 35, .14);
}
.clsa-guide-panel-kicker {
  margin: 0 0 12px;
  color: #e1ca71;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
}
.clsa-guide-panel h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.08;
}
.clsa-guide-panel ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clsa-guide-panel li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: rgba(247, 243, 232, .84);
  font-size: 14px;
  line-height: 1.55;
}
.clsa-guide-panel li strong { color: #fff; font-size: 15px; }
.clsa-guide-step-number {
  color: #e1ca71;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.15;
}
@media (max-width: 700px) {
  .clsa-guide-panel { min-height: 0; padding: 26px 24px; }
}

/* Shared photo-led footer used consistently across all preview routes. */
.home-footer{position:relative;background:#031a29;color:#f8f4e9;font-family:Arial,Helvetica,sans-serif}.home-footer *{box-sizing:border-box}.home-footer a{color:inherit;text-decoration:none}.home-footer a:hover,.home-footer a:focus-visible{color:#f5cf59}.hf-cta{position:relative;isolation:isolate;height:clamp(190px,16vw,238px);display:flex;align-items:center;overflow:hidden;border-bottom:3px solid #f2c94c;background:#041a2a}.hf-ship-image{position:absolute;z-index:-2;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 56%}.hf-cta:after{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(90deg,rgba(3,20,31,.72),rgba(3,20,31,.32) 45%,rgba(3,20,31,.08))}.hf-cta-inner{width:min(calc(100% - 72px),1500px);margin:auto;display:flex;align-items:center}.hf-cta h2{margin:0;padding-left:28px;border-left:4px solid #f2c94c;color:#fff;font:italic 400 clamp(25px,3vw,42px)/1.15 Georgia,'Times New Roman',serif}.hf-columns{width:min(calc(100% - 72px),1500px);margin:auto;padding:42px 0 34px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(260px,1.1fr);gap:28px;align-items:stretch}.hf-column{min-width:0;padding:0 22px 0 0;border-right:1px solid rgba(240,239,224,.48)}.hf-column:last-child{padding-right:0;border:0}.hf-column h3{margin:0 0 14px;color:#e9dfa6;font:800 11px/1.35 Arial,Helvetica,sans-serif;letter-spacing:.14em;text-transform:uppercase}.hf-rule{display:none}.hf-links{display:grid;grid-template-columns:1fr;gap:0}.hf-links a{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:36px;padding:6px 2px;color:#f3f2ef;font-size:13px;line-height:1.35;border-bottom:1px solid rgba(255,255,255,.16)}.hf-links a:after{content:'↗';flex:0 0 auto;color:#e9dfa6;font-size:11px;opacity:.7}.hf-links a:hover:after,.hf-links a:focus-visible:after{opacity:1}.hf-address{margin:0 0 14px;color:#f3f2ef;font-size:14px;line-height:1.45}.hf-contact{display:grid;gap:9px;margin:0 0 14px}.hf-contact a,.hf-hours{display:flex;align-items:flex-start;gap:11px;color:#f3f2ef;font-size:13px;line-height:1.4}.hf-icon{flex:0 0 22px;color:#f2c94c;font-size:18px;font-weight:bold;line-height:1.2}.hf-appointment{display:flex;align-items:center;gap:12px;padding:10px 12px;background:linear-gradient(135deg,#f6d56d,#eebc3e);border:1px solid #ffdf78;border-radius:7px;color:#071a2f;font-size:12px;font-weight:700;line-height:1.35}.hf-appointment .hf-icon{color:#071a2f}.hf-office-note{margin:11px 0 0;color:rgba(243,242,239,.75);font-size:12px;line-height:1.5}.hf-bottom{width:min(calc(100% - 72px),1500px);min-height:62px;margin:auto;border-top:1px solid rgba(240,239,224,.55);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#f5f2e9;font-size:13px}.hf-legal{display:flex;align-items:center;gap:0}.hf-legal a{padding:0 15px;border-right:1px solid rgba(240,239,224,.35);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.hf-legal a:last-child{padding-right:0;border:0}.home-application-photo{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#e6e7e3}
@media(max-width:1000px){.hf-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 26px}.hf-column:nth-child(2){border:0;padding-right:0}.hf-column:nth-child(3){padding-top:24px;border-top:1px solid rgba(240,239,224,.3)}.hf-column:nth-child(4){padding-top:24px;border-top:1px solid rgba(240,239,224,.3)}}
@media(max-width:640px){.hf-cta{height:180px}.hf-ship-image{object-position:85% center}.hf-cta:after{background:linear-gradient(90deg,rgba(3,20,31,.76),rgba(3,20,31,.42) 55%,rgba(3,20,31,.08))}.hf-cta-inner{width:calc(100% - 36px);align-items:flex-start}.hf-cta h2{max-width:340px;padding-left:16px;font-size:28px}.hf-columns{width:calc(100% - 36px);padding:32px 0 26px;grid-template-columns:1fr;gap:0}.hf-column,.hf-column:nth-child(2),.hf-column:nth-child(3),.hf-column:nth-child(4){padding:22px 0;border:0;border-top:1px solid rgba(240,239,224,.3)}.hf-column:first-child{padding-top:0;border-top:0}.hf-column h3{font-size:14px}.hf-links a{min-height:36px;font-size:14px}.hf-bottom{width:calc(100% - 36px);padding:16px 0;align-items:flex-start;flex-direction:column;font-size:12px}.hf-legal a:first-child{padding-left:0}.home-application-photo{max-height:none}}

/* Keep each section description level with its heading instead of creating a blank band above it. */
.section-heading,
.section-head,
.sectionhead,
.jd-section-head,
.apply-section-head {
  align-items: start;
}
/* Replace text-only guide panels with page-specific editorial photography. */
.clsa-guide-photo{display:block;position:relative;align-self:stretch;width:100%;min-width:0;margin:0;overflow:hidden;background:#e8edf0;border:1px solid rgba(7,26,45,.13);box-shadow:0 18px 48px rgba(7,26,45,.12)}
.clsa-guide-photo img{display:block;width:100%;height:100%;min-height:350px;max-height:620px;aspect-ratio:4/3;object-fit:cover;object-position:center}
.clsa-guide-photo figcaption{padding:12px 16px;color:#526275;background:#fff;font-size:14px;line-height:1.5}
.clsa-guide-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(20px,3vw,44px)}
.clsa-guide-photo-grid-single,.clsa-photo-reflow{grid-template-columns:minmax(0,1fr)!important}
.clsa-guide-photo-grid-single>.clsa-guide-photo{grid-column:1/-1}
.clsa-photo-reflow>*{min-width:0}
@media(max-width:760px){.clsa-guide-photo img{min-height:250px;max-height:420px;aspect-ratio:4/3}.clsa-guide-photo-grid{grid-template-columns:minmax(0,1fr)}.clsa-guide-photo-grid-single>.clsa-guide-photo{grid-column:auto}.clsa-guide-photo figcaption{font-size:13px;padding:10px 12px}}

/* Keep relocated editorial photography natural and uncropped at every viewport. */
.clsa-guide-photo{max-width:100%;min-width:0}
.clsa-guide-photo img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
.clsa-photo-only-grid{grid-template-columns:minmax(0,1fr)!important}
.clsa-photo-only-grid>.clsa-guide-photo{width:min(100%,900px);grid-column:auto;margin-inline:auto}
/* Balance the five-step visa worksheet without leaving an orphan card or edge-clipped text. */
.checklist-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
.checklist-page .check-group:last-child{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;align-content:start}
.checklist-page .check-group:last-child>h3,.checklist-page .check-group:last-child>p{grid-column:1/-1}
html,body{max-width:100%;overflow-x:clip}
@media(max-width:760px){.checklist-page .container{width:min(calc(100% - 36px),1320px);margin-inline:auto}.checklist-groups{grid-template-columns:minmax(0,1fr)}.checklist-page .check-group:last-child{grid-template-columns:minmax(0,1fr)}.checklist-page .check-group:last-child>h3,.checklist-page .check-group:last-child>p{grid-column:auto}}

/* Keep supplemental guidance readable when it appears after a small section label. */
.clsa-intro-detail{display:block;margin-top:.8em;max-width:66ch;color:inherit;font:inherit;letter-spacing:normal;text-transform:none;text-wrap:pretty}

/* Site-wide editorial grid correction: keep copy in the viewport and level with its heading. */
main .section-heading,
main .sectionhead,
main .section-head,
main .jd-section-head,
main .apply-section-head,
main .faq-head,
main .faq-group-head,
main .archive-head,
main .partner-heading,
main .fit-heading,
main .extra-heading,
main .section-heading-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(22px, 3.2vw, 48px) !important;
  align-items: start !important;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
}
main .section-heading > *,
main .sectionhead > *,
main .section-head > *,
main .jd-section-head > *,
main .apply-section-head > *,
main .faq-head > *,
main .faq-group-head > *,
main .archive-head > *,
main .partner-heading > *,
main .fit-heading > *,
main .extra-heading > *,
main .section-heading-copy > * { min-width: 0; max-width: 100%; }
main .section-heading > p,
main .sectionhead > p,
main .section-head > p,
main .jd-section-head > p,
main .apply-section-head > p,
main .faq-head > p,
main .faq-group-head > p,
main .archive-head > p,
main .partner-heading > p,
main .fit-heading > p,
main .extra-heading > p,
main .section-heading-copy > p {
  color: #526274;
  font: 400 clamp(14px, 1vw, 17px)/1.72 Arial, Helvetica, sans-serif;
  letter-spacing: normal !important;
  text-align: left;
  text-transform: none !important;
  max-width: 68ch;
  margin: 0;
  overflow-wrap: anywhere;
}
main [class*="grid"],
main .cards,
main .steps,
main .faq,
main .topic-grid,
main .resource-grid,
main .link-grid {
  min-width: 0;
  grid-auto-rows: auto;
  align-content: start;
}
main :is(.extra-card, .requirement-card, .step, .card, .validity-card, .path-card, .program-card, .bst-card, .partner-card, .partner-check, .office-step, .security-card, .guide-card, .related-card, .visa-overview-card, .visa-route, .route-step, .faq-quick-card, .resource, .topic-card, .archive-card, .listener-card, .info-card, .region-card, .contact-option, .service-offer) {
  box-sizing: border-box;
  min-height: 0 !important;
  height: auto;
  max-width: 100%;
}
main :is(.extra-card, .requirement-card, .step, .card, .validity-card, .path-card, .program-card, .bst-card, .partner-card, .partner-check, .office-step, .security-card, .guide-card, .related-card, .visa-overview-card, .visa-route, .route-step, .faq-quick-card, .resource, .topic-card, .archive-card, .listener-card, .info-card, .region-card, .contact-option, .service-offer) > :last-child { margin-bottom: 0; }
main :is(article, a, div, li, figure)[class*="card"],
main :is(article, a, div, li, figure)[class*="-card"] { min-height: 0 !important; height: auto !important; max-width: 100%; }
main .section-image,
main .site-editorial-inner,
main .contact-layout,
main .feature,
main .photo-feature,
main .image-story,
main .split { align-items: start !important; }
main .links a { min-height: 0 !important; height: auto; align-content: start; }
.extra-guidance { padding-top: clamp(42px, 4.5vw, 62px) !important; padding-bottom: clamp(42px, 4.5vw, 62px) !important; }
.legal-wrap { grid-template-columns: minmax(250px, .38fr) minmax(0, 1fr) !important; gap: clamp(28px, 4vw, 56px) !important; }
.terms { max-width: none !important; }
@media (max-width: 900px) {
  main .section-heading,
  main .sectionhead,
  main .section-head,
  main .jd-section-head,
  main .apply-section-head,
  main .faq-head,
  main .faq-group-head,
  main .archive-head,
  main .partner-heading,
  main .fit-heading,
  main .extra-heading,
  main .section-heading-copy { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
  .legal-wrap { grid-template-columns: minmax(210px, .36fr) minmax(0, 1fr) !important; gap: 22px !important; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .toc-links { grid-template-columns: minmax(0, 1fr) !important; max-height: calc(100vh - 110px) !important; }
}
@media (max-width: 760px) {
  .legal-wrap { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
  .toc-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-height: 270px !important; }
}
@media (max-width: 560px) {
  .toc-links { grid-template-columns: minmax(0, 1fr) !important; max-height: 230px !important; }
}

/* Dense, balanced related-guide cards for editorial pathways. */
.clsa-related-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.clsa-related-links article{min-width:0;padding:22px 23px;background:#fff;border:1px solid #d7d9d7;border-top:2px solid #b59a3e}.clsa-related-links h3{margin:0 0 9px;color:#0a1d31;font:400 23px/1.15 Georgia,'Times New Roman',serif}.clsa-related-links p{margin:0 0 15px;color:#586879;font-size:14px;line-height:1.65}.clsa-related-links a{display:inline-block;color:#173e56;font-size:13px;font-weight:700;text-underline-offset:3px}@media(max-width:760px){.clsa-related-links{grid-template-columns:minmax(0,1fr);gap:12px}.clsa-related-links article{padding:19px}}


/* Keep editorial cards content-led, padded and top-aligned. */
main .cards,
main .steps { align-items: stretch !important; }
main .clsa-page-depth .cards > article.card:not(:has(.cardbody)) { padding: 22px; }
@media (max-width: 760px) {
  main .clsa-page-depth .cards > article.card:not(:has(.cardbody)) { padding: 18px; }
}

/* Give every editorial card the same inset and keep image cards' media edge-to-edge. */
main .cards > article.card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
main .cards > article.card:not(:has(.cardbody)) {
  padding: clamp(20px, 2vw, 28px) !important;
}
main .cards > article.card:has(.cardbody) {
  padding: 0 !important;
}
main .cards > article.card:has(.cardbody) > .cardbody {
  flex: 1 1 auto;
}
main .cards > article.card:has(.cardbody) > .role-specific-evidence {
  box-sizing: border-box;
  margin: 0;
  padding: 15px clamp(19px, 2vw, 28px) 20px;
  border-top: 1px solid #e2e2dc;
}
main .cards > article.card > :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  main .cards > article.card:not(:has(.cardbody)) { padding: 20px !important; }
  main .cards > article.card:has(.cardbody) > .role-specific-evidence {
    padding: 14px 20px 18px;
  }
}

/* Give card photography a taller frame and preserve heads near the top of portraits. */
main .cards > article.card > img {
  display: block;
  width: 100%;
  height: clamp(224px, 21vw, 300px) !important;
  object-fit: cover;
  object-position: center top !important;
}

/* Shared premium brand mark in the header and office footer. */
.hf-office-logo-link{display:block;width:min(100%,280px);margin:18px 0 0;line-height:0}
.hf-office-logo-link img{display:block;width:100%;height:auto;max-height:96px;object-fit:contain;object-position:left center}
@media(max-width:640px){.hf-office-logo-link{width:min(100%,260px);margin-top:16px}.hf-office-logo-link img{max-height:88px}}

/* Keep people visible in every content photo crop across all page templates. */
main img:not(.hero-image):not(.hero-photo) {
  object-position: center top !important;
}
