/* Match Teamwork's body-copy alignment; leave headings and UI labels alone. */
.maragensea-story .maragensea-story__copy,
.elementor-1348 :is(#port_agency, #crew) .about-txt p,
.elementor-1348 #brokers.maragensea-brokers-cards .about-txt p,
.elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-extension__lead,
.elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-extension__copy p,
.elementor-1348 #team .career-txt p {
  text-align: justify !important;
  text-align-last: auto !important;
  word-spacing: normal !important;
}

/* Very large screens: small copy grows with the screen above 1920px wide instead of staying laptop-sized.
   Each vw value equals the original size at 1920px (size / 19.2), so nothing changes at or below 1920px;
   the cap is ~1.5x (reached around 2900px). Large titles and the Partners heading already scale well. */
@media (min-width: 1921px) {
  .elementor-1348 :is(#port_agency, #crew) .about-txt p,
  .elementor-1348 #team :is(.career-txt p, .career-txt a) { font-size: clamp(14.3px, .745vw, 21.5px) !important; line-height: 1.6 !important; }
  .elementor-1348 :is(#port_agency, #crew) .srvc-list :is(li, span) { font-size: clamp(14px, .73vw, 21px) !important; }
  .elementor-1348 :is(#port_agency, #crew) .about-head p { font-size: clamp(24.2px, 1.26vw, 36px) !important; }
  .elementor-1348 :is(#port_agency, #crew) .text-line-about .elementor-heading-title,
  .elementor-1348 #team .career-head .elementor-heading-title { font-size: clamp(17.6px, .917vw, 26px) !important; }

  .elementor-1348 #brokers.maragensea-brokers-cards .about-txt p,
  .elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-extension__lead,
  .elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-extension__copy p { font-size: clamp(14px, .73vw, 21px) !important; }
  .elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-card__heading :is(h2, h3) { font-size: clamp(15px, .78vw, 22.5px) !important; }
  .elementor-1348 #brokers.maragensea-brokers-cards :is(.maragensea-brokers-card__index, .maragensea-brokers-extension__eyebrow) { font-size: clamp(10px, .52vw, 15px) !important; }
  .elementor-1348 #brokers.maragensea-brokers-cards .text-line-about .elementor-heading-title { font-size: clamp(14px, .73vw, 21px) !important; }
  /* Beats the site's inline `.header .menu-item a { font-size: .6rem !important }`. */
  .header .elementor-nav-menu--main .menu-item a { font-size: clamp(13.2px, .6875vw, 19.8px) !important; }
}

/* The big muted section titles too, on tall large screens (short-wide screens keep their compact 36px titles). */
@media (min-width: 1921px) and (min-height: 801px) {
  .elementor-1348 #team .shadow-txt-team h2,
  .elementor-1348 #brokers.maragensea-brokers-cards .shadow-txt-brok .elementor-heading-title { font-size: clamp(64px, 3.33vw, 96px) !important; }
  .elementor-1348 #crew .shadow-txt-crew .elementor-heading-title { font-size: clamp(66px, 3.44vw, 99px) !important; }
  .elementor-1348 #port_agency .shadow-txt-serv .elementor-heading-title { font-size: clamp(79.2px, 4.125vw, 118.8px) !important; }
}

/* Teamwork already uses a ragged right edge on phones for readable spacing. */
@media (max-width: 767px) {
  .maragensea-story .maragensea-story__copy,
  .elementor-1348 :is(#port_agency, #crew) .about-txt p,
  .elementor-1348 #brokers.maragensea-brokers-cards .about-txt p,
  .elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-extension__lead,
  .elementor-1348 #brokers.maragensea-brokers-cards .maragensea-brokers-extension__copy p,
  .elementor-1348 #team .career-txt p {
    text-align: left !important;
  }
}
