/* PIM About Page v1.0: page-scoped styles, designed for pim-bluegreen-theme. */
body.pim-about-page { --pima-navy:#1e3153; --pima-green:#478b5c; --pima-ink:#243553; --pima-muted:#60758a; --pima-border:#dfe7ed; }
body.pim-about-page .inner-hero{background:linear-gradient(110deg,#192b4b 0%,#324c77 65%,#418769 100%);padding:66px 0 75px;}
body.pim-about-page .inner-hero h1{font-size:clamp(38px,5vw,66px);letter-spacing:-.045em;}
body.pim-about-page .generic-page {max-width:1200px;width:calc(100% - 48px);padding-top:68px;padding-bottom:100px;}
body.pim-about-page .generic-page>.entry-content {max-width:unset;margin:0;padding:0;border:0;background:transparent;box-shadow:none;overflow-wrap:anywhere;}
body.pim-about-page .entry-content h2,body.pim-about-page .entry-content h3{font-family:'Plus Jakarta Sans','DM Sans',sans-serif;color:var(--pima-ink);line-height:1.22;letter-spacing:-.034em;}
body.pim-about-page .entry-content h2{font-size:clamp(28px,3vw,39px);margin:4px 0 20px;}
body.pim-about-page .entry-content h3{font-size:20px;margin:0 0 12px;}
body.pim-about-page .entry-content p{font-family:'DM Sans',sans-serif;color:var(--pima-muted);font-size:16px;line-height:1.83;margin:0 0 15px;}
body.pim-about-page .entry-content .pimabt-eyebrow{font-size:12px;line-height:1.5;letter-spacing:.21em;font-weight:800;color:var(--pima-green);margin:0 0 12px;text-transform:uppercase;}
body.pim-about-page .entry-content .pimabt-intro{text-align:center;max-width:900px;margin:0 auto 45px;}
body.pim-about-page .entry-content .pimabt-intro-title{font-size:clamp(31px,4.1vw,51px);margin:0 0 18px;}
body.pim-about-page .entry-content .pimabt-lead{font-size:18px;line-height:1.8;color:#4c617a;}
body.pim-about-page .entry-content .pimabt-hero-split{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;align-items:stretch!important;overflow:hidden;border-radius:26px;background:#1e3153;margin:0 auto 30px;box-shadow:0 22px 50px rgba(20,47,75,.10);}
body.pim-about-page .entry-content .pimabt-feature-image{min-width:0;min-height:410px;margin:0!important;padding:0!important;}
body.pim-about-page .entry-content .pimabt-main-photo{width:100%;height:100%;margin:0!important;}
body.pim-about-page .entry-content .pimabt-main-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;max-width:100%;}
body.pim-about-page .entry-content .pimabt-feature-copy{padding:clamp(24px,3.8vw,56px)!important;align-self:center;}
body.pim-about-page .entry-content .pimabt-feature-copy h2{color:#fff;font-size:clamp(25px,2.75vw,38px);margin:0 0 22px;}
body.pim-about-page .entry-content .pimabt-feature-copy .pimabt-eyebrow{color:#a5dfb8;}
body.pim-about-page .entry-content .pimabt-feature-copy p{color:#e1eaf3;font-size:15px;line-height:1.85;}
body.pim-about-page .entry-content .pimabt-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;margin:0 0 94px!important;padding:0!important;width:100%!important;max-width:unset!important;align-items:stretch!important;}
body.pim-about-page .entry-content .pimabt-stats > .pimabt-stat{min-width:0!important;max-width:none!important;width:auto!important;margin:0!important;display:block!important;grid-column:auto!important;border:1px solid var(--pima-border);border-top:4px solid var(--pima-green);background:#fff;border-radius:18px;padding:28px 27px;box-shadow:0 12px 36px rgba(18,40,66,.045);}
body.pim-about-page .entry-content .pimabt-stat .pimabt-stat-number{color:var(--pima-ink);font-family:'Plus Jakarta Sans',sans-serif;font-size:clamp(34px,4vw,49px);line-height:1.15;font-weight:800;letter-spacing:-.06em;margin-bottom:8px;}
body.pim-about-page .entry-content .pimabt-stat .pimabt-stat-label{color:#263b5b;font-weight:800;font-size:15px;line-height:1.5;margin-bottom:5px;}
body.pim-about-page .entry-content .pimabt-stat .pimabt-stat-note{font-size:12px;line-height:1.6;color:#79879a;margin:0;}
body.pim-about-page .entry-content .pimabt-section{margin:0 0 90px;}
body.pim-about-page .entry-content .pimabt-section-title{max-width:960px;margin-bottom:24px;}
body.pim-about-page .entry-content .pimabt-section>p{max-width:970px;}
body.pim-about-page .entry-content .pimabt-history{max-width:1050px;margin-left:auto;margin-right:auto;}
body.pim-about-page .entry-content .pimabt-quote{margin:32px 0 0!important;border-left:5px solid #80c999;background:#edf5ef;padding:24px 30px;border-radius:0 18px 18px 0;}
body.pim-about-page .entry-content .pimabt-quote .pimabt-quote-text{font-size:clamp(20px,2.3vw,29px);font-weight:800;line-height:1.4;color:#244d40;margin-bottom:4px;}
body.pim-about-page .entry-content .pimabt-quote .pimabt-quote-caption{font-size:13px;margin:0;color:#547262;}
body.pim-about-page .entry-content .pimabt-timeline{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:20px 0 30px;}
body.pim-about-page .entry-content .pimabt-milestone{display:flex!important;gap:23px!important;border:1px solid var(--pima-border);border-radius:16px;background:#fff;padding:23px 25px;box-shadow:0 8px 30px rgba(19,42,66,.035);margin:0!important;min-width:0;}
body.pim-about-page .entry-content .pimabt-year{color:#3f8158!important;font-weight:800;font-size:18px!important;line-height:1.3;flex:0 0 104px;margin:0!important;}
body.pim-about-page .entry-content .pimabt-milestone-copy{flex:1;min-width:0;}
body.pim-about-page .entry-content .pimabt-milestone h3{font-size:17px;margin-bottom:8px;}
body.pim-about-page .entry-content .pimabt-milestone p{font-size:14px;line-height:1.65;margin:0;}
body.pim-about-page .entry-content .pimabt-mission{padding:45px 50px!important;background:linear-gradient(115deg,#eff5f7,#e6f1ea);border-radius:24px;}
body.pim-about-page .entry-content .pimabt-mission p{max-width:940px;}
body.pim-about-page .entry-content .pimabt-services{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:28px;}
body.pim-about-page .entry-content .pimabt-service{border:1px solid var(--pima-border);background:#fff;border-radius:18px;padding:29px 31px;box-shadow:0 10px 28px rgba(21,52,74,.035);margin:0!important;}
body.pim-about-page .entry-content .pimabt-service p{font-size:14.5px;line-height:1.75;}
body.pim-about-page .entry-content .wp-block-buttons{margin-top:18px;}
body.pim-about-page .entry-content .wp-block-button__link{border-radius:10px!important;background:#478b5c;color:#fff!important;font-family:'DM Sans',sans-serif;font-size:14px;font-weight:800;display:inline-block;padding:13px 22px;text-decoration:none!important;box-shadow:none;}
body.pim-about-page .entry-content .wp-block-button__link:hover{background:#37784c;color:#fff;}
body.pim-about-page .entry-content .pimabt-text-btn .wp-block-button__link{background:transparent!important;color:#315b8c!important;padding:0!important;}
body.pim-about-page .entry-content .pimabt-text-btn .wp-block-button__link:hover{text-decoration:underline!important;}
body.pim-about-page .entry-content .pimabt-faculty{border-bottom:1px solid var(--pima-border);padding-bottom:55px;}
body.pim-about-page .entry-content .pimabt-campuses{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-top:32px;}
body.pim-about-page .entry-content .pimabt-campus{overflow:hidden;border:1px solid var(--pima-border);border-radius:20px;background:#fff;min-width:0;box-shadow:0 10px 34px rgba(25,52,83,.055);margin:0!important;}
body.pim-about-page .entry-content .pimabt-campus .wp-block-image{margin:0!important;}
body.pim-about-page .entry-content .pimabt-campus-image img{width:100%;height:185px;object-fit:cover;display:block;max-width:none;}
body.pim-about-page .entry-content .pimabt-campus-body{padding:22px 24px 25px;}
body.pim-about-page .entry-content .pimabt-campus-body h3{font-size:20px;}
body.pim-about-page .entry-content .pimabt-campus-body p{font-size:13.5px;line-height:1.73;min-height:70px;}
body.pim-about-page .entry-content .pimabt-bottom-cta{background:linear-gradient(112deg,#1b3154,#2d5474 67%,#3d886c);border-radius:25px;padding:43px 48px!important;}
body.pim-about-page .entry-content .pimabt-bottom-cta h2{color:#fff;max-width:830px;}
body.pim-about-page .entry-content .pimabt-bottom-cta p{color:#e2edf3;max-width:790px;}
body.pim-about-page .entry-content .pimabt-bottom-cta .pimabt-eyebrow{color:#a7e1b8;}
body.pim-about-page .entry-content .pimabt-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px!important;}
body.pim-about-page .entry-content .pimabt-actions .wp-block-buttons{margin:0;}
body.pim-about-page .entry-content .pimabt-secondary-btn .wp-block-button__link{background:transparent;border:1px solid rgba(255,255,255,.58);}
@media(max-width:900px){
body.pim-about-page .entry-content .pimabt-stats{gap:12px!important;}
body.pim-about-page .entry-content .pimabt-hero-split{grid-template-columns:1fr!important;}
body.pim-about-page .entry-content .pimabt-feature-image{min-height:0;max-height:410px;}
body.pim-about-page .entry-content .pimabt-main-photo img{height:350px;}
body.pim-about-page .entry-content .pimabt-timeline{grid-template-columns:1fr!important;}
body.pim-about-page .entry-content .pimabt-campuses{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:650px){
body.pim-about-page .generic-page{width:calc(100% - 28px);padding-top:35px;padding-bottom:55px;}
body.pim-about-page .inner-hero{padding:45px 0 52px;}
body.pim-about-page .entry-content .pimabt-intro{margin-bottom:26px;}
body.pim-about-page .entry-content .pimabt-intro-title{font-size:30px;}
body.pim-about-page .entry-content .pimabt-lead{font-size:16px;}
body.pim-about-page .entry-content .pimabt-feature-image{max-height:280px;}
body.pim-about-page .entry-content .pimabt-main-photo img{height:255px;}
body.pim-about-page .entry-content .pimabt-feature-copy{padding:25px!important;}
body.pim-about-page .entry-content .pimabt-feature-copy h2{font-size:25px;}
body.pim-about-page .entry-content .pimabt-stats{grid-template-columns:1fr!important;margin-bottom:58px!important;}
body.pim-about-page .entry-content .pimabt-stats > .pimabt-stat{padding:20px 24px;}
body.pim-about-page .entry-content .pimabt-section{margin-bottom:58px;}
body.pim-about-page .entry-content .pimabt-quote{padding:22px!important;}
body.pim-about-page .entry-content .pimabt-milestone{padding:20px;gap:14px!important;}
body.pim-about-page .entry-content .pimabt-year{flex-basis:73px;font-size:15px!important;}
body.pim-about-page .entry-content .pimabt-mission{padding:26px 24px!important;}
body.pim-about-page .entry-content .pimabt-services,body.pim-about-page .entry-content .pimabt-campuses{grid-template-columns:1fr!important;}
body.pim-about-page .entry-content .pimabt-campus-body p{min-height:0;}
body.pim-about-page .entry-content .pimabt-bottom-cta{padding:28px 24px!important;}
}


/* v1.0.1: FIX the Gutenberg-managed image + purpose split.
 * Explicit grid placement is required: some block themes apply their own
 * column/width constraints to immediate wp-block-group children. Target only
 * this About PIM feature to avoid changing other pages or existing blocks.
 */
@media (min-width: 1001px) {
  body.pim-about-page .entry-content > .pimabt-hero-split.wp-block-group,
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group {
    display: grid !important;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%) !important;
    grid-template-rows: minmax(490px, auto) !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    max-width: none !important;
    gap: 0 !important;
    margin: 0 auto 34px !important;
    padding: 0 !important;
    align-items: stretch !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-image.wp-block-group {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
    order: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 490px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-copy.wp-block-group {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    order: 1 !important;
    justify-self: stretch !important;
    align-self: center !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: clamp(30px, 3.2vw, 56px) !important;
    position: relative !important;
    z-index: 1;
  }
  body.pim-about-page .entry-content .pimabt-hero-split .pimabt-main-photo,
  body.pim-about-page .entry-content .pimabt-hero-split .pimabt-main-photo img {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split .pimabt-main-photo img {
    object-fit: cover !important;
  }
}
@media (max-width: 1000px) {
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-image.wp-block-group,
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-copy.wp-block-group {
    position: static !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-image.wp-block-group {
    min-height: 0 !important;
    overflow: hidden !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split .pimabt-main-photo img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: clamp(230px, 46vw, 370px) !important;
    object-fit: cover !important;
  }
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-copy.wp-block-group {
    padding: 30px 32px !important;
  }
}
@media (max-width: 650px) {
  body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group > .pimabt-feature-copy.wp-block-group {
    padding: 24px 25px !important;
  }
}

/* v1.0.2 – stronger theme-independent fallback; the JS repair also normalizes
   inconsistent Gutenberg wrappers and sets responsive inline declarations. */
body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group,
body .entry-content .pimabt-hero-split.wp-block-group {
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:0!important;
    padding:0!important;
}
body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-image,
body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-copy {
    flex:0 0 50%!important;
    box-sizing:border-box!important;
    width:50%!important;
    max-width:none!important;
    margin:0!important;
    min-width:0!important;
}
body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-image {position:relative!important;min-height:490px!important;overflow:hidden!important}
body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-image figure {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important}
body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-image img{width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important}
body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-copy{align-self:center!important;padding:clamp(30px,3.2vw,56px)!important}
@media(max-width:900px){
 body.pim-about-page .entry-content .pimabt-hero-split.wp-block-group,
 body .entry-content .pimabt-hero-split.wp-block-group {flex-direction:column!important}
 body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-image,
 body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-copy{flex-basis:auto!important;width:100%!important}
 body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-image{height:min(64vw,350px)!important;min-height:240px!important}
 body.pim-about-page .entry-content .pimabt-hero-split > .pimabt-feature-copy{padding:26px!important}
}
