/* Phone-only content layout. No rule in this file applies at md or above. */
@media (max-width: 767px) {
  .elementor-1348 :is(#port_agency, #crew, #team, #partner, #contact) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .elementor-1348 :is(#port_agency, #crew, #team, #partner, #contact) > .elementor-container {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column;
    align-items: stretch;
  }

  .elementor-1348 :is(#port_agency, #crew, #team, #partner, #contact) .elementor-column {
    min-width: 0;
    max-width: 100%;
  }

  .elementor-1348 :is(#port_agency, #crew, #team, #partner, #contact) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

  .elementor-1348 :is(#port_agency, #crew) {
    padding: calc(var(--maragensea-header-height, 94px) + 24px) 0 48px !important;
  }

  .elementor-1348 :is(#port_agency, #crew) > .elementor-container {
    gap: 24px;
  }

  .elementor-1348 :is(#port_agency, #crew) .about-left {
    order: 0;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-1348 :is(#port_agency, #crew) .about-left > .elementor-widget-wrap {
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-1348 :is(#port_agency, #crew) .about-slide {
    width: 100%;
    margin: 0 !important;
  }

  .elementor-1348 :is(#port_agency, #crew) .swiper-slide-inner {
    margin: 0;
  }

  .elementor-1348 :is(#port_agency, #crew) .about-left .swiper-slide-image {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: 340px;
    object-fit: cover;
  }

  .elementor-1348 #port_agency .port-right,
  .elementor-1348 #crew .crew-right {
    order: 1;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 24px !important;
  }

  .elementor-1348 #port_agency .port-right > .elementor-widget-wrap,
  .elementor-1348 #crew .crew-right > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 18px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-1348 :is(#port_agency, #crew) :is(.shadow-txt-serv, .shadow-txt-crew, .text-line-about, .about-head, .about-txt, .srvc-list) {
    position: static !important;
    inset: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-1348 :is(#port_agency, #crew) :is(.shadow-txt-serv, .shadow-txt-crew) h2 {
    display: block;
    margin: 0;
    color: #8d8585;
    opacity: .28;
    font-family: Montserrat, sans-serif !important;
    font-size: clamp(30px, 8vw, 42px) !important;
    font-weight: 800 !important;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: left;
    text-transform: uppercase;
  }

  .elementor-1348 :is(#port_agency, #crew) .text-line-about::before,
  .elementor-1348 :is(#port_agency, #crew) .text-line-about .elementor-widget-container::before {
    display: none;
  }

  .elementor-1348 :is(#port_agency, #crew) .text-line-about h2 {
    margin: 0;
    font-size: 12px !important;
    line-height: 1.5;
    text-align: left;
    letter-spacing: 1.4px;
  }

  .elementor-1348 :is(#port_agency, #crew) .about-head p {
    margin: 0;
    font-size: 18px !important;
    line-height: 1.45;
    text-align: left;
    letter-spacing: .5px;
  }

  .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 {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    overflow-wrap: break-word;
  }

  .elementor-1348 :is(#port_agency, #crew) .about-txt p:last-child,
  .elementor-1348 #team .career-txt p:last-child {
    margin-bottom: 0;
  }

  .elementor-1348 :is(#port_agency, #crew, #brokers) .srvc-list .elementor-icon-list-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    letter-spacing: normal !important;
    text-align: left;
    overflow-wrap: break-word;
  }

  .elementor-1348 :is(#port_agency, #crew) .srvc-list .elementor-icon-list-item {
    align-items: baseline;
    margin: 0 0 6px;
  }

  .elementor-1348 #team {
    padding-inline: 0 !important;
    padding-bottom: 48px !important;
  }

  .elementor-1348 #team .career-inner {
    width: 100%;
    padding: 0 24px !important;
    overflow: visible !important;
  }

  .elementor-1348 #team .career-inner > .elementor-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .elementor-1348 #team .career-colm {
    width: 100% !important;
    margin: 0 !important;
  }

  .elementor-1348 #team .career-colm > .elementor-widget-wrap {
    margin: 0 !important;
    padding: 24px !important;
  }

  .elementor-1348 #team .career-head h2 {
    font-size: 14px !important;
    line-height: 1.5;
    letter-spacing: 1.3px;
  }

  .elementor-1348 #team .career-txt a {
    overflow-wrap: anywhere;
  }

  .elementor-1348 #partner {
    padding: calc(var(--maragensea-header-height, 94px) + 32px) 24px 48px !important;
  }

  .elementor-1348 #partner > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 0;
  }

  .elementor-1348 #partner :is(.wedo-txt, .serv-head) {
    position: static !important;
    inset: auto !important;
    width: 100%;
    margin: 0 0 16px !important;
  }

  .elementor-1348 #partner .wedo-txt h2::before,
  .elementor-1348 #partner .wedo-txt h2::after {
    display: none !important;
  }

  .elementor-1348 #partner .wedo-txt h2 {
    font-size: 14px !important;
    line-height: 1.5;
  }

  .elementor-1348 #partner .serv-head h2 {
    font-size: 22px !important;
    line-height: 1.35;
  }

  .elementor-1348 #partner .gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 16px 20px;
    width: 100%;
    margin: 16px 0 0 !important;
  }

  .elementor-1348 #partner .gallery .gallery-item {
    float: none;
    min-width: 0;
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 12px 0 !important;
  }

  .elementor-1348 #partner .gallery .gallery-icon {
    display: flex;
    min-height: 64px;
    justify-content: center;
    align-items: center;
  }

  .elementor-1348 #partner .gallery .gallery-item img {
    display: block;
    width: 100% !important;
    max-width: 160px !important;
    height: auto;
    max-height: 80px;
    margin: 0 !important;
    object-fit: contain;
  }

  .elementor-1348 #contact {
    padding: calc(var(--maragensea-header-height, 94px) + 24px) 24px calc(var(--maragensea-newsbar-height, 78px) + 32px) !important;
  }

  .elementor-1348 #contact .map-img img {
    width: 100% !important;
    max-width: 480px;
    height: auto;
    transform: none;
  }

  .elementor-1348 #contact :is(.top-footer, .social-rw-footer, .bottom-footer) {
    padding: 32px 0 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .elementor-1348 #contact :is(.top-footer, .social-rw-footer) > .elementor-container {
    flex-direction: column;
    gap: 32px;
  }

  .elementor-1348 #contact :is(.top-footer, .social-rw-footer) > .elementor-container > .elementor-column {
    width: 100% !important;
  }

  .elementor-1348 #contact :is(.top-footer, .social-rw-footer) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    margin: 0 !important;
    padding: 0 !important;
  }

  .elementor-1348 #contact .footer-title h2 {
    font-size: 14px !important;
    line-height: 1.5;
    letter-spacing: 1.5px;
    text-align: left;
  }

  .elementor-1348 #contact :is(.elementor-icon-list-text, .elementor-icon-list-item > a) {
    min-width: 0;
    max-width: 100%;
    font-size: 14px !important;
    line-height: 1.6;
    letter-spacing: .3px !important;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .elementor-1348 #contact .elementor-icon-list-item > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 0;
  }

  .elementor-1348 #contact .elementor-social-icon {
    min-width: 44px;
    min-height: 44px;
  }

  .elementor-1348 #contact .wpcf7-form {
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
  }

  .elementor-1348 #contact .wpcf7-form .field label,
  .elementor-1348 #contact .wpcf7-form .field.active label {
    display: block;
    position: static;
    width: 100%;
    margin: 0 0 8px;
    font-size: 13px !important;
    line-height: 1.5;
    text-align: left;
    opacity: .9;
  }

  .elementor-1348 #contact .wpcf7-form input[type="email"] {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: normal;
  }

  .elementor-1348 #contact .submit_news {
    width: 64px;
    min-height: 44px;
    margin-top: 16px;
  }

  .elementor-1348 #contact .submit_news p {
    margin: 0;
  }

  .elementor-1348 #contact .submit_news input[type="submit"] {
    width: 100%;
    min-height: 44px;
    padding: 0;
  }

  .elementor-1348 #contact .submit-arrow {
    pointer-events: none;
  }

  .elementor-1348 #contact .wpcf7-response-output {
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .elementor-1348 #contact .prof-btn .elementor-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 16px 18px !important;
  }

  .elementor-1348 #contact .prof-btn .elementor-button-text {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 1.1px;
    overflow-wrap: break-word;
  }

  .elementor-1348 #contact .logo-footer::before,
  .elementor-1348 #contact .logo-footer::after {
    width: calc(50% - 58px);
    left: 0;
    right: auto;
  }

  .elementor-1348 #contact .logo-footer::after {
    left: auto;
    right: 0;
  }

  .elementor-1348 #contact .copy-right p {
    font-size: 12px !important;
    line-height: 1.6;
    text-align: center;
  }
}
