/* Medlock Partners: site additions (mobile layout, team pop-ups, privacy page) */

/* ---------- Team cards and "About me" pop-up ---------- */
.team4_item, .team4_item-smaller { cursor: pointer; display: flex; flex-direction: column; height: 100%; padding: 1.25rem 1.25rem 1.5rem; transition: transform .25s ease, box-shadow .25s ease; }
.team4_item:hover, .team4_item-smaller:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 30, 40, .10); }
.team4_item > .margin-bottom, .team4_item-smaller > .margin-bottom { margin-bottom: 0; flex: 1 1 auto; }
.team4_image-wrapper .spacer-1, .team4_image-wrapper--smaller .spacer-1 { height: 1rem; }
.team4_image, .team4_image-portrait { margin-bottom: 0; }
.team4_title-wrapper .spacer-1 { height: .3rem; }
.team4_title-wrapper .text-wieght-bold { line-height: 1.25; }
.team4_title-wrapper .paragraph, .team4_title-wrapper .text-size-small { color: #555; line-height: 1.4; }
.team4_item > a.button, .team4_item-smaller > a.button { display: none !important; }
.mp-card-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(0, 0, 0, .08); }
.mp-about-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid var(--accent-pink); border-radius: 999px; background: transparent; color: var(--accent-pink); font-family: Montserrat, sans-serif; font-size: .8rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.mp-about-btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.team4_item:hover .mp-about-btn, .team4_item-smaller:hover .mp-about-btn, .mp-about-btn:hover { background: var(--accent-pink); color: #fff; }
.team4_item:hover .mp-about-btn svg, .team4_item-smaller:hover .mp-about-btn svg { transform: translateX(3px); }
.mp-mail-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; color: #333; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.mp-mail-btn svg { width: 16px; height: 16px; }
.mp-mail-btn:hover { background: #333; color: #fff; }
.team4_item-smaller { max-width: none; width: 100%; }
.mp-about-btn { white-space: nowrap; }
.team4_item-smaller .mp-about-btn { padding: .5rem .85rem; font-size: .75rem; }

/* ---------- Division pages: department head ---------- */
.section_layout13 .layout13_content { grid-template-columns: minmax(15rem, 19rem) minmax(0, 1fr); grid-column-gap: 4.5rem; align-items: start; }
.section_layout13 .layout13_content-left { align-self: center; }
.section_layout13 .layout13_content-left .margin-bottom { margin-bottom: 0; }
.mp-bio { max-width: 42rem; }
.mp-bio p { font-size: 1.05rem; line-height: 1.75; color: #333; margin: 0 0 1.1rem; }
.mp-bio p:first-child { font-size: 1.25rem; line-height: 1.6; font-weight: 500; color: #222; }
.mp-bio p:last-child { margin-bottom: 0; }
.team4_item--white { padding: 1.25rem 1.25rem 1.5rem; width: 100%; max-width: 19rem; justify-self: start; }
.team4_item--white .team4_image { width: 100%; height: auto; aspect-ratio: 4 / 5; box-sizing: border-box; }
.team4_item--white .team4_image-wrapper { padding-left: 0; padding-right: 0; }
.team4_item--white .team4_image-wrapper .spacer-1 { height: 1rem; }
.team4_item--white .margin-bottom { margin-bottom: 0; }
.team4_item--white .team4_title-wrapper .spacer-1 { height: .3rem; }
.team4_item--white .team4_title-wrapper .paragraph { color: #555; }
.team4_item--white > a.button { display: inline-flex; align-items: center; justify-content: center; margin-top: 1.25rem; width: 100%; opacity: 1 !important; transform: none !important; }

/* ---------- Stacked cards (services, values) ---------- */
.values-stack .layout416_card { transition: transform .25s ease-out; }
.values-stack .value-card-1 { z-index: 4; }
.values-stack .value-card-2 { z-index: 3; transform: rotate(3deg); }
.values-stack .value-card-3 { z-index: 2; transform: rotate(6deg); }
.values-stack .value-card-4 { z-index: 1; transform: rotate(9deg); }
@media screen and (min-width: 768px) {
  .layout416_component.mp-stack-2 { height: 200vh; }
  .layout416_component.mp-stack-4 { height: 320vh; }
  .collection-list-2._5-col { grid-template-columns: repeat(3, minmax(0, 15.5rem)); justify-content: center; grid-column-gap: 1.5rem; }
}

/* ---------- Jobs: cards and sample listing ---------- */
.mp-icon-svg { width: 1.5rem; height: 1.5rem; color: #333; display: block; }
.career23_detail-wrapper .icon-1-5rem { object-fit: contain; }
@media screen and (min-width: 992px) {
  .career23_list-homepage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .career23_list-homepage .career23_title-wrapper { flex-wrap: wrap; row-gap: 1rem; }
}
.job-descrition-wrapper .w-richtext h3 { font-size: 1.25rem; line-height: 1.3; margin: 1.75rem 0 .5rem; }
.job-descrition-wrapper .w-richtext p { line-height: 1.7; margin: 0 0 1rem; }
.mp-sample-note { background: var(--nude-pink); border-left: 3px solid var(--accent-pink); border-radius: 8px; padding: 1rem 1.25rem; font-size: .95rem; }

@media screen and (min-width: 768px) {
  .key-job-grid { display: flex; flex-wrap: wrap; column-gap: 2.5rem; row-gap: 1rem; }
}

/* ---------- About: join us benefits ---------- */
.layout303_list { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.layout303_list > * { flex: 1 1 calc(33.333% - 1rem); max-width: calc(33.333% - .67rem); }
@media screen and (max-width: 767px) { .layout303_list > * { flex-basis: 100%; max-width: 100%; } }

/* ---------- Our process steps ---------- */
.layout497_tabs-menu { counter-reset: mpstep; gap: .35rem; width: 100%; }
.layout497_tab-link { position: relative; width: 100%; padding: .7rem 1rem .7rem 1.1rem; border-radius: 10px; opacity: .55; transition: opacity .2s ease, background-color .2s ease; }
.layout497_tab-link::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--accent-pink); transform: scaleY(0); transition: transform .25s ease; }
.layout497_tab-link:hover { opacity: .9; background-color: rgba(235, 228, 228, .6); }
.layout497_tab-link.w--current { opacity: 1; background-color: var(--nude-pink); }
.layout497_tab-link.w--current::before { transform: scaleY(1); }
.layout497_tab-title h3 { display: flex; align-items: baseline; gap: .75rem; margin: 0; }
.layout497_tab-title h3::before { counter-increment: mpstep; content: counter(mpstep, decimal-leading-zero); font-size: .8rem; font-weight: 700; color: var(--accent-pink); letter-spacing: .04em; }
.layout497_image { transition: transform 6s ease; }
.w--tab-active .layout497_image { transform: scale(1.04); }
.mp-step-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; }
.mp-step-count { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.mp-step-nav { display: flex; gap: .5rem; }
.mp-step-nav button { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: #fff; color: #333; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.mp-step-nav button:hover { background: var(--accent-pink); color: #fff; }
.mp-step-nav svg { width: 16px; height: 16px; }
.mp-step-progress { height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .08); margin-top: 1.25rem; overflow: hidden; }
.mp-step-progress span { display: block; height: 100%; width: 0; background: var(--accent-pink); transition: width .35s ease; }

.mp-modal { font-family: Montserrat, sans-serif; position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(30, 20, 25, .55); }
.mp-modal.is-open { display: flex; }
.mp-modal__box { position: relative; width: 100%; max-width: 46rem; max-height: calc(100vh - 3rem); overflow: auto; background: #fff; border-radius: 10px; padding: 2.5rem; display: grid; grid-template-columns: 14rem 1fr; gap: 2rem; align-items: start; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.mp-modal__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: #ebe4e4; }
.mp-modal__name { font-size: 1.75rem; font-weight: 700; line-height: 1.2; margin: 0 0 .35rem; }
.mp-modal__role { font-size: 1rem; color: #555; margin-bottom: 1.5rem; }
.mp-modal__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-pink); margin-bottom: .5rem; }
.mp-modal__bio { font-size: 1rem; line-height: 1.6; color: #333; margin-bottom: 1.5rem; }
.mp-modal__close { position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: #ebe4e4; cursor: pointer; font-size: 1.5rem; line-height: 1; color: #333; }
.mp-modal__close:hover { background: #ddd2d2; }
body.mp-modal-open { overflow: hidden; }

/* ---------- Privacy policy page ---------- */
.mp-privacy { padding-top: 5rem; }
.mp-legal { max-width: 52rem; font-family: Montserrat, sans-serif; }
.mp-legal h1 { margin: 0 0 .75rem; font-size: 3rem; line-height: 1.15; }
.mp-legal h2 { font-size: 1.5rem; line-height: 1.3; margin: 2.5rem 0 .75rem; }
.mp-legal p, .mp-legal li { font-size: 1rem; line-height: 1.7; color: #333; }
.mp-legal p { margin: 0 0 1rem; }
.mp-legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.mp-legal li { margin-bottom: .4rem; }
.mp-legal a { color: var(--accent-pink); }
.mp-legal .mp-updated { color: #666; font-size: .9rem; margin-bottom: 2rem; }

/* ---------- Tablet and mobile layout ---------- */
@media screen and (max-width: 991px) {
  .section_layout13 .layout13_content { grid-template-columns: minmax(0, 1fr); grid-row-gap: 2.5rem; }
  .section_layout13 .team4_item--white { max-width: 24rem; }
  .mp-bio p:first-child { font-size: 1.125rem; }
  /* mobile menu: visible burger icon and a solid, left-aligned menu panel */
  .menu-icon2_line-top, .menu-icon2_line-middle, .menu-icon2_line-bottom { background-color: #333; }
  .w-nav-overlay .navbar2_menu, .navbar2_menu.w--open { background-color: #fff; padding: 1rem 5% 2rem; box-shadow: 0 12px 24px rgba(0,0,0,.08); text-align: left; }
  .w-nav-overlay .navbar2_link, .w-nav-overlay .navbar1_menu-dropdown, .w-nav-overlay .navbar1_dropdown-toggle { display: block; width: 100%; text-align: left; margin-left: 0; margin-right: 0; padding: .75rem 0; font-size: 1.125rem; }
  .w-nav-overlay .navbar1_dropdown-toggle { display: flex; align-items: center; gap: .5rem; padding-left: 0; }
  /* divisions are listed open inside the mobile menu */
  .navbar2_menu .navbar1_dropdown-list { display: block !important; position: static !important; height: auto !important; background: transparent; padding: 0 0 .5rem 1rem; box-shadow: none; border: 0; }
  .navbar2_menu .navbar1_dropdown-link { display: block; padding: .5rem 0; font-size: 1rem; }
  .navbar2_menu .dropdown-chevron { display: none; }
  .navbar2_menu .navbar1_dropdown-toggle { pointer-events: none; padding-bottom: .25rem; }
  .job-board-page { grid-template-columns: 1fr; }
  .layout13_content { flex-direction: column; align-items: stretch; }
  .layout13_content > * { width: 100%; max-width: 100%; }
  .layout66_content, .layout440_content { grid-template-columns: minmax(0, 1fr); }
  .about_stats2_list { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat-bottom-right-wrapper { min-width: 0; flex-wrap: wrap; }
  .collection-list-wrapper, .team4_list, .team4_list-wrapper { width: 100%; max-width: 100%; }
  .collection-list._3-ol { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .team4_item { width: 100%; }
  .layout364_card-content-top { min-width: 0; flex-wrap: wrap; }
  .about_stats2_number { font-size: 3rem; line-height: 1.1; }
  .stat-icon-wrapper { min-width: 0; flex-wrap: wrap; }
}

@media screen and (max-width: 767px) {
  /* nav */
  .navbar2_container { gap: .75rem; }
  .navbar2_logo-link { flex: 0 1 auto; min-width: 0; }
  .navbar2_logo { width: 150px; max-width: 100%; height: auto; }
  .navbar2_button-wrapper { gap: .5rem; min-width: 0; }
  .button.is-navbar2-button { width: auto; padding: .5rem 1rem; white-space: nowrap; }

  /* headline + intro blocks: stack the label and heading */
  .title-layout, .about-layout1_content-left, .layout1_content-left { grid-template-columns: 1fr; grid-row-gap: 1rem; }
  .layout1_content-left h1 { font-size: 2.75rem; line-height: 1.1; }
  h1 { word-break: normal; overflow-wrap: break-word; }
  h2 { overflow-wrap: break-word; }

  /* grids */
  .collection-list._3-ol { grid-template-columns: 1fr; }
  .about_stats2_list { grid-template-columns: minmax(0, 1fr); }
  .collection-list-2._5-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .collection-list-2._5-col > * { min-width: 0; }
  .team4_item-smaller .mp-card-actions { flex-wrap: wrap; }
  .team4_item, .team4_item-smaller { height: auto; max-width: 100%; }
  .team4_image-wrapper, .team4_image-wrapper--smaller { height: auto; }
  .team4_image { width: 100%; height: auto; aspect-ratio: 3 / 4; box-sizing: border-box; }
  .team4_image-portrait { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-sizing: border-box; }
  .mp-modal__box { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.25rem; }
  .mp-modal__img { max-width: 12rem; }
  .mp-privacy { padding-top: 3rem; }
  .mp-legal h1 { font-size: 2.25rem; }
  .collection-list-4 { grid-template-columns: 1fr; }
  .key-job-grid { grid-template-columns: 1fr 1fr; }
  .faq1_accordion { grid-template-columns: 1fr; }

  /* nothing should push the page sideways */
  .hero-bottom-wrapper > *, .h1-icon-wrapper > * { min-width: 0; }
  .stat-icon-wrapper, .tagline-wrapper { flex-wrap: wrap; min-width: 0; }
  .max-width-60 { max-width: 100%; }
  ._3-rem-right-pad { max-width: 100%; padding-left: 0; padding-right: 0; }
  .div-block-2, .about_stats2_list { width: 100%; max-width: 100%; }
  .layout440_content { grid-template-columns: minmax(0, 1fr); }
  .about_stats2_item, .about_stats2_item-small { padding-left: 1.5rem; padding-right: 1.5rem; }
  .about_stats2_number { font-size: 2.5rem; line-height: 1.1; }
}

@media screen and (max-width: 479px) {
  .collection-list-2._5-col { grid-template-columns: minmax(0, 1fr); }
  .team4_item-smaller { padding: 1rem; }
  .key-job-grid { grid-template-columns: 1fr; }
}
.team4_title-wrapper { padding-top: .75rem; }

/* ---------- About: intro and stats ---------- */
.mp-about-intro { align-items: start; }
.mp-about-intro .div-block-2 { padding: 0; align-self: start; }
.mp-about-intro .div-block-2 { max-width: 36rem; }
.mp-stats { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; width: 100%; }
.mp-stats .mp-stat { position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: 2rem 1.75rem 1.75rem; background: #fff; border-radius: 20px; width: auto !important; height: auto !important; transform: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.mp-stats .mp-stat:hover { transform: translateY(-4px) !important; box-shadow: 0 14px 30px rgba(60, 30, 40, .08); }
.mp-stats .mp-stat::before { content: ""; position: absolute; top: 0; left: 1.75rem; width: 2.5rem; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent-pink); }
.mp-stats .stat-icon-wrapper { display: block; }
.mp-stats .stat-icon-wrapper img { display: none; }
.mp-stats .about_stats2_number { font-weight: 700; letter-spacing: -.01em; }
.mp-stats .spacer-2 { height: .75rem; }
.mp-stats .paragraph { font-size: 1rem; line-height: 1.5; color: #555; }
@media screen and (max-width: 991px) {
  .mp-about-intro .div-block-2 p { max-width: none; }
}
@media screen and (max-width: 479px) {
  .mp-stats { grid-template-columns: minmax(0, 1fr); }
  .mp-stats .about_stats2_number { font-size: 2rem; }
}
.mp-stats > * { grid-area: auto !important; grid-column: auto !important; grid-row: auto !important; justify-self: stretch !important; align-self: stretch !important; text-align: left; }
.mp-stats .stat-icon-wrapper, .mp-stats .about_stats2_number { justify-content: flex-start; text-align: left; }
.mp-about-intro > .mp-stats { justify-self: stretch; }
.mp-stats .mp-stat { align-items: flex-start; }
.mp-stats .mp-stat, .mp-stats .mp-stat * { text-align: left !important; }
.mp-stats .about_stats2_number { font-size: 1.75rem; line-height: 1.2; white-space: normal; }
.mp-stats .mp-stat::before { left: 1.75rem; }
._3-rem-right-pad { padding-left: 0; }

/* ---------- Readable paragraphs ---------- */
.mp-paras .mp-para { margin: 0 0 1em; line-height: 1.65; font-size: 1rem; color: inherit; }
.mp-paras .mp-para:last-child { margin-bottom: 0; }
.div-block-2 { padding-left: 0; }

/* about: second team row matches the co-founder cards */
.mp-team-row2 { display: grid !important; grid-template-columns: repeat(3, 328px) !important; justify-content: center; gap: 16px !important; margin-top: 16px; }
.mp-team-row2 > * { width: 100%; min-width: 0; }
@media screen and (max-width: 991px) {
  .mp-team-row2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media screen and (max-width: 767px) {
  .mp-team-row2 { grid-template-columns: minmax(0, 1fr) !important; }
}
.team4_item:hover { transform: translateY(-4px) !important; }
@media screen and (max-width: 1280px) { .mp-stats .about_stats2_number { font-size: 1.5rem; } .mp-stats .mp-stat { padding: 1.75rem 1.5rem 1.5rem; } .mp-stats .mp-stat::before { left: 1.5rem; } }

/* ---------- Live jobs ---------- */
.mp-jobs-loading:not(.mp-jobs-ready) > * { visibility: hidden; }
.mp-jobs-loading:not(.mp-jobs-ready) { min-height: 10rem; background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.7), rgba(255,255,255,.35)); background-size: 200% 100%; animation: mpShimmer 1.4s ease infinite; border-radius: 12px; }
@keyframes mpShimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.mp-job-notice { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.mp-job-notice__text { margin: 0; color: #555; line-height: 1.6; }
.mp-job-notice .button { width: auto; padding: .55rem 1.5rem; }
.mp-no-match { grid-column: 1 / -1; width: 100%; }
body.mp-job-view:not(.mp-job-ready) .mp-job-title,
body.mp-job-view:not(.mp-job-ready) .key-job-grid,
body.mp-job-view:not(.mp-job-ready) .mp-job-description { visibility: hidden; }
.mp-job-description ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.mp-job-description li { margin-bottom: .4rem; line-height: 1.6; }
.mp-job-description p { line-height: 1.7; margin: 0 0 1rem; }
.mp-job-description h2, .mp-job-description h3, .mp-job-description h4 { font-size: 1.25rem; line-height: 1.3; margin: 1.75rem 0 .5rem; }
.mp-apply .mp-apply-link { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: .5rem; padding-top: .8rem; padding-bottom: .8rem; font-size: .85rem; }

/* ---------- Testimonials carousel ---------- */
.mp-testimonials { width: 100%; }
.mp-t-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px; scrollbar-width: none; }
.mp-t-track::-webkit-scrollbar { display: none; }
.mp-t-card { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.75rem 1.5rem; background: #fff; border-radius: 20px; min-height: 100%; box-sizing: border-box; }
.mp-t-quote { width: 28px; height: 21px; color: var(--accent-pink); flex: none; }
.mp-t-text { margin: 0; padding: 0; border: 0; font-size: 1rem; line-height: 1.65; color: #333; flex: 1 1 auto; }
.mp-t-meta { display: flex; flex-direction: column; gap: .15rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.08); }
.mp-t-name { font-weight: 700; color: #222; }
.mp-t-role { font-size: .85rem; color: #666; }
.mp-t-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.mp-t-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: #fff; color: #333; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.mp-t-btn:hover { background: var(--accent-pink); color: #fff; }
.mp-t-btn svg { width: 16px; height: 16px; }
.mp-t-progress { flex: 1 1 auto; height: 3px; border-radius: 3px; background: rgba(0,0,0,.08); overflow: hidden; }
.mp-t-progress span { display: block; height: 100%; background: var(--accent-pink); border-radius: 3px; transition: margin-left .3s ease, width .3s ease; }
@media screen and (max-width: 991px) { .mp-t-track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media screen and (max-width: 767px) { .mp-t-track { grid-auto-columns: 85%; } }

/* ---------- Application form ---------- */
.mp-apply-form { display: flex; flex-direction: column; gap: .9rem; margin-top: .5rem; }
.mp-field { display: flex; flex-direction: column; gap: .35rem; margin: 0; font-weight: 400; }
.mp-field > span { font-size: .8rem; font-weight: 600; color: #333; }
.mp-field .form_input { margin: 0; }
.mp-field textarea { min-height: 5rem; resize: vertical; }
.mp-file { font-size: .85rem; padding: .6rem; border: 1px dashed #bbb; border-radius: 8px; background: #fafafa; width: 100%; box-sizing: border-box; }
.mp-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .8rem; line-height: 1.5; color: #444; font-weight: 400; margin: 0; }
.mp-consent input { margin-top: .2rem; flex: none; }
.mp-consent a { color: var(--accent-pink); }
.mp-apply-submit { width: 100%; padding-top: .8rem; padding-bottom: .8rem; font-size: .85rem; cursor: pointer; }
.mp-apply-submit[disabled] { opacity: .6; cursor: default; }
.mp-apply-msg { margin: 0; font-size: .85rem; min-height: 1.2em; }
.mp-apply-msg.is-error { color: #b00020; }
.mp-apply-done p { margin: .5rem 0 0; color: #555; }
.mp-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Self-hosted font ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/montserrat-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/montserrat-latin-wght-italic.woff2') format('woff2'); }

/* page headings promoted to h1 keep their original look */
h1.mp-h1 { margin-top: -10px; margin-bottom: 0; font-family: Montserrat, sans-serif; font-size: 2rem; font-weight: 600; line-height: 100%; overflow-wrap: break-word; }
.mp-404 { padding: 4rem 0 6rem; }
.mp-404 .button { display: inline-flex; width: auto; padding: .7rem 1.75rem; margin: .5rem .5rem 0 0; }
.mp-testimonials, .mp-t-card, .mp-job-description, .mp-apply-form, .mp-apply-form input, .mp-apply-form textarea, .mp-apply-form button, .mp-job-notice { font-family: Montserrat, sans-serif; }
.mp-t-card { text-align: left; }
.mp-t-meta { align-items: flex-start; text-align: left; }
.mp-job-description, .mp-job-description p, .mp-job-description li { font-size: 1rem; color: #333; }
.mp-job-description > p:first-child strong { font-size: 1.125rem; }
@media screen and (max-width: 767px) { .mp-t-track { align-items: start; } .mp-t-card { min-height: 0; } }

.mp-modal__bio p { margin: 0 0 1em; }
.mp-modal__bio p:last-child { margin-bottom: 0; }
.mp-modal__img { position: sticky; top: 0; }
@media (max-width: 767px) { .mp-modal__img { position: static; } }

/* testimonials: keep the arrows clear of the next section */
.section_testimonial .padding-section-large.no-bottom { padding-bottom: 5rem; }
@media (max-width: 767px) { .section_testimonial .padding-section-large.no-bottom { padding-bottom: 3.5rem; } }

/* footer bottom bar: company details small and quiet, credit bold */
.footer15_credit-text:hover { font-weight: inherit; }
.mp-company { font-family: Montserrat, sans-serif; font-size: .75rem; font-weight: 400; line-height: 1.6; color: #555; }
.footer15_bottom-wrapper { gap: 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,.12); }
.footer15_legal-list { align-items: center; }
@media (max-width: 767px) {
  .footer15_bottom-wrapper { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .footer15_credit-text { margin-top: 0; }
  .footer15_legal-list { flex-direction: row; gap: 1.5rem; }
}
