/* ==== Peer 2 Peer: MVP design on Salient (base typography) ====
   Restores the MVP look: DM Sans everywhere, 16px grey body text, navy headings.
   Scoped away from the Peer2Peer member app pages, which have their own styles. */
body:not(.tg-p2p-app-body) {
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.647;
  color: #707376;
}
@media (max-width: 767px) { body:not(.tg-p2p-app-body) { font-size: 16px; } }
body:not(.tg-p2p-app-body) :is(h1, h2, h3, h4, h5, h6, p, a, li, label, input, textarea, select, button, blockquote, .elementor-widget-container) {
  font-family: "DM Sans", sans-serif;
}
body:not(.tg-p2p-app-body) :is(h1, h2, h3, h4, h5, h6) {
  color: #10172B;
}
body:not(.tg-p2p-app-body) .elementor-widget-text-editor {
  font-size: 17px;
  line-height: 1.647;
}
@media (max-width: 767px) { body:not(.tg-p2p-app-body) .elementor-widget-text-editor { font-size: 16px; } }

/* Column padding as on MVP: side padding only, no top/bottom */
:where(body:not(.tg-p2p-app-body)) .elementor-column-gap-narrow > .elementor-column > .elementor-element-populated { padding: 0 5px; }
:where(body:not(.tg-p2p-app-body)) .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0 10px; }
:where(body:not(.tg-p2p-app-body)) .elementor-column-gap-extended > .elementor-column > .elementor-element-populated { padding: 0 15px; }
:where(body:not(.tg-p2p-app-body)) .elementor-column-gap-wide > .elementor-column > .elementor-element-populated { padding: 0 20px; }
:where(body:not(.tg-p2p-app-body)) .elementor-column-gap-wider > .elementor-column > .elementor-element-populated { padding: 0 30px; }
/* No trailing paragraph margin inside text blocks, as on MVP */
body:not(.tg-p2p-app-body) .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Heading line heights and letter spacing as on MVP (proportional, so they follow any font size) */
body:not(.tg-p2p-app-body) h1 { line-height: 1; letter-spacing: -1.8px; }
body:not(.tg-p2p-app-body) h2 { line-height: 1.02; letter-spacing: -1.4px; }
body:not(.tg-p2p-app-body) h3 { line-height: 1.086; letter-spacing: -1px; }
body:not(.tg-p2p-app-body) h4 { line-height: 1.214; letter-spacing: -0.5px; }
body:not(.tg-p2p-app-body) h5 { line-height: 1.208; letter-spacing: -0.5px; }
body:not(.tg-p2p-app-body) h6 { line-height: 1.474; letter-spacing: -0.6px; }

/* Boxed section width as on MVP: page width plus the column gap on each side, so content edges line up */
@media (min-width: 1280px) {
  .elementor-section-boxed > .elementor-container.elementor-column-gap-narrow { max-width: 1300px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-default { max-width: 1310px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-extended { max-width: 1320px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-wide { max-width: 1330px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-wider { max-width: 1350px; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .elementor-section-boxed > .elementor-container.elementor-column-gap-narrow { max-width: 1034px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-default { max-width: 1044px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-extended { max-width: 1054px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-wide { max-width: 1064px; }
  .elementor-section-boxed > .elementor-container.elementor-column-gap-wider { max-width: 1084px; }
}

/* Paragraph spacing as on MVP: a bottom margin (none after the last paragraph) instead of Salient's padding */
body:not(.tg-p2p-app-body) p { padding-bottom: 0; margin-bottom: 1.57em; }
body:not(.tg-p2p-app-body) p:last-child { margin-bottom: 0; }

/* p2p forms */
body:not(.tg-p2p-app-body) .elementor-widget-form .elementor-field-group{margin-bottom:10px}
body:not(.tg-p2p-app-body) .elementor-widget-form .elementor-field-group:not(.elementor-field-type-upload) .elementor-field:not(.elementor-select-wrapper){background:#fff;border:0;border-bottom:1px solid #69727D;border-radius:0;font-family:'DM Sans',sans-serif;font-size:16px;line-height:24px;letter-spacing:.1px;color:#1F2124;padding:9.6px 0;box-shadow:none;min-height:0}
body:not(.tg-p2p-app-body) .elementor-widget-form textarea.elementor-field{padding:5px 14px !important;font-size:15px !important;line-height:21px !important;height:95px}
body:not(.tg-p2p-app-body) .elementor-widget-form .elementor-field:focus{outline:none;border-bottom-color:#160F8C !important}
body:not(.tg-p2p-app-body) .elementor-widget-form .elementor-field-label{font-family:'DM Sans',sans-serif;font-size:17px;line-height:28px;color:#707376;margin:0;padding:0}
body:not(.tg-p2p-app-body) .elementor-widget-form .elementor-button{background:#160F8C;color:#fff;font-family:'DM Sans',sans-serif;font-size:15px;font-weight:700;line-height:21px;padding:9.5px 42px;min-height:40px;border-radius:0;border:0}
body:not(.tg-p2p-app-body) .elementor-widget-form .elementor-button:hover{background:#10172B;color:#fff}

/* p2p headings+toggles */
body:not(.tg-p2p-app-body) .elementor-widget-heading .elementor-heading-title{line-height:1;font-weight:700}
body:not(.tg-p2p-app-body) .elementor-widget-heading h1.elementor-heading-title{font-size:57px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h2.elementor-heading-title{font-size:47px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h3.elementor-heading-title{font-size:35px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h4.elementor-heading-title{font-size:28px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h5.elementor-heading-title{font-size:24px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h6.elementor-heading-title{font-size:19px}
@media (max-width:1279px){body:not(.tg-p2p-app-body) .elementor-widget-heading h1.elementor-heading-title{font-size:46px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h2.elementor-heading-title{font-size:36px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h3.elementor-heading-title{font-size:28px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h4.elementor-heading-title{font-size:23px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h5.elementor-heading-title{font-size:20px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h6.elementor-heading-title{font-size:18px}}
@media (max-width:1023px){body:not(.tg-p2p-app-body) .elementor-widget-heading h1.elementor-heading-title{font-size:38px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h2.elementor-heading-title{font-size:30px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h3.elementor-heading-title{font-size:25px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h4.elementor-heading-title{font-size:22px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h5.elementor-heading-title{font-size:20px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h6.elementor-heading-title{font-size:18px}}
@media (max-width:767px){body:not(.tg-p2p-app-body) .elementor-widget-heading h1.elementor-heading-title{font-size:27px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h2.elementor-heading-title{font-size:23px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h3.elementor-heading-title{font-size:21px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h4.elementor-heading-title{font-size:19px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h5.elementor-heading-title{font-size:18px}
body:not(.tg-p2p-app-body) .elementor-widget-heading h6.elementor-heading-title{font-size:17px}}
body:not(.tg-p2p-app-body) .elementor-toggle .elementor-tab-title{font-size:24px;line-height:1;padding:32px 0;border-bottom:1px solid #D4DADE;font-weight:700}
body:not(.tg-p2p-app-body) .elementor-toggle .elementor-toggle-title{font-size:28px;line-height:1.2;letter-spacing:-0.5px;font-weight:700}
body:not(.tg-p2p-app-body) .elementor-toggle .elementor-toggle-icon{font-size:20px;width:20px;margin-left:20px}
body:not(.tg-p2p-app-body) .elementor-toggle .elementor-tab-content{border-bottom-color:#10172B}
@media (max-width:1279px){body:not(.tg-p2p-app-body) .elementor-toggle .elementor-tab-title{font-size:20px;padding:20px 0}}
@media (max-width:767px){body:not(.tg-p2p-app-body) .elementor-toggle .elementor-tab-title{font-size:18px}body:not(.tg-p2p-app-body) .elementor-toggle .elementor-toggle-title{font-size:22px}body:not(.tg-p2p-app-body) .elementor-toggle .elementor-tab-content{font-size:16px}}

/* p2p header+footer */
@media (min-width:1000px){
#header-outer #top > .container, #header-secondary-outer > .container, #footer-outer > #footer-widgets > .container, #footer-outer #copyright > .container{max-width:1320px;padding-left:15px;padding-right:15px;width:100%}
#header-secondary-outer{height:32px;line-height:32px}
#header-secondary-outer .nectar-center-text, #header-secondary-outer .nectar-center-text a{font-size:13px;line-height:32px}
#header-outer #top nav > ul > li > a{font-family:'DM Sans',sans-serif;font-size:16px;line-height:24px;font-weight:600}
}
#header-secondary-outer .nectar-center-text{text-align:left;position:static !important;transform:none !important;left:auto !important;width:auto !important;padding:0 !important;height:32px !important;line-height:32px}
@media (min-width:1000px){#header-secondary-outer > .container, #header-secondary-outer nav{height:32px}}
#header-secondary-outer .nectar-center-text a::before{content:"\2709";margin-right:8px;font-size:13px;color:#BCC4D3}
#header-outer #top nav > ul > li.current-menu-item > a, #header-outer #top nav > ul > li.current_page_item > a{color:#160F8C}
#footer-outer #footer-widgets{padding:109px 0 50px !important}
#footer-outer #footer-widgets .row{padding:0 !important}
#footer-outer #footer-widgets .p2p-foot-logo img{margin:0 !important}
#footer-outer .p2p-foot-logo img{width:204px;height:auto;max-width:100%}
#footer-outer h6.p2p-foot-title{font-family:'DM Sans',sans-serif;font-size:19px;line-height:28px;font-weight:700;letter-spacing:-0.6px;color:#F5F9FC;margin:0 0 6px;padding:0}
#footer-outer ul.p2p-foot-links{list-style:none;margin:0;padding:0}
#footer-outer ul.p2p-foot-links li{padding:0;margin:0;border:0}
#footer-outer .p2p-foot-links a, #footer-outer .p2p-foot-text a{font-size:17px;line-height:28px;color:#BCC4D3}
#footer-outer .p2p-foot-links a:hover, #footer-outer .p2p-foot-text a:hover{color:#FFFFFF}
#footer-outer .p2p-foot-text{padding:0;margin:0}
#footer-outer .wp-block-jetpack-subscriptions input[type=email]{background:transparent !important;color:#F5F9FC !important;border:1px solid #323641 !important;border-radius:0 !important;font-size:16px !important;padding:13px 16px !important;width:100%}
#footer-outer .wp-block-jetpack-subscriptions button{background:#160F8C !important;color:#fff !important;border:0 !important;border-radius:0 !important;font-size:15px !important;font-weight:700 !important;padding:13px 32px !important;margin-top:10px}
#footer-outer .wp-block-jetpack-subscriptions button:hover{background:#FFFFFF !important;color:#10172B !important}
#footer-outer #copyright{border-top:1px solid #323641;padding:20px 0 23px !important}
#footer-outer #copyright .col{width:100% !important;margin:0 !important;float:none !important;text-align:left !important}
#footer-outer #copyright .container{text-align:left}
#footer-outer #copyright p{font-size:16px;line-height:28px;color:#8D8F93;text-align:left}
