/* Site font, defined here so it no longer depends on Elementor Pro "Custom Fonts" (Pro is being removed). */
@font-face { font-family: 'DB AdmanRounded X'; font-style: normal; font-weight: 300; font-display: swap; src: url('https://piyamin.podsable.com/wp-content/uploads/2023/07/DB-AdmanRounded-X-Li.ttf') format('truetype'); }
@font-face { font-family: 'DB AdmanRounded X'; font-style: normal; font-weight: 400; font-display: swap; src: url('https://piyamin.podsable.com/wp-content/uploads/2023/07/DB-AdmanRounded-X.ttf') format('truetype'); }
@font-face { font-family: 'DB AdmanRounded X'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('https://piyamin.podsable.com/wp-content/uploads/2023/07/DB-AdmanRounded-X-Bd.ttf') format('truetype'); }

/* Piyamin Home Sections — matches Figma "Piyaminkunarak" node 4703:13826 */
.pmh {
	--pmh-blue: #0da9eb;
	--pmh-gold: #c49344;
	--pmh-text: #30393f;
	--pmh-muted: #67767c;
	--pmh-soft: #98a9b0;
	--pmh-shadow: 0 4px 17px rgba(0, 0, 0, .08);
	position: relative;
	font-family: "DB AdmanRounded X", sans-serif;
	color: var(--pmh-text);
	line-height: 1.3;
}
.pmh *, .pmh *::before, .pmh *::after { box-sizing: border-box; }
.pmh h1, .pmh h2, .pmh h3, .pmh p { margin: 0; }
.pmh a { text-decoration: none; }
.pmh img { max-width: 100%; }
.pmh .pmh-wrap{ max-width: 1116px; margin: 0 auto; padding: 0 16px; }
.pmh .pmh-center{ text-align: center; }
.pmh .pmh-center-block{ display: table; margin: 0 auto; }
.pmh .pmh-blue{ color: var(--pmh-blue); }
.pmh .pmh-gold{ color: var(--pmh-gold); }
.pmh .pmh-h2{ font-size: 44px; font-weight: 700; line-height: 1.15; color: var(--pmh-text); }
.pmh .pmh-h2.is-white{ color: #fff; }
.pmh .pmh-lead{ margin-top: 10px !important; font-size: 19px; line-height: 24px; color: var(--pmh-muted); }
.pmh .pmh-more{ font-size: 19px; color: var(--pmh-gold); }
.pmh .pmh-more:hover{ color: var(--pmh-gold); text-decoration: underline; }
.pmh .pmh-tag{ display: inline-block; margin-bottom: 14px; padding: 8px 18px; border-radius: 20px; background: #fdebc8; color: var(--pmh-gold); font-size: 18px; line-height: 24px; }

/* round icon buttons + pager */
.pmh .pmh-round, .pmh .pmh-hero-arrow{
	display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	width: 65px; height: 65px; background: rgba(13, 169, 235, .4); color: #fff; transition: background .2s;
}
.pmh .pmh-round:hover, .pmh .pmh-round:focus-visible{ background: rgba(13, 169, 235, .75); }
.pmh .pmh-round svg, .pmh .pmh-hero-arrow svg{ width: 28px; height: 28px; }
.pmh .pmh-pager{ display: flex; align-items: center; gap: 8px; margin-top: 40px; }
.pmh .pmh-pager > button, .pmh .pmh-pager-pages button{
	display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px;
	border: 1px solid #d9e1e4; border-radius: 6px; background: #fff; color: var(--pmh-muted); font: inherit; font-size: 15px; cursor: pointer;
}
.pmh .pmh-pager-pages{ display: flex; gap: 4px; }
.pmh .pmh-pager-pages button{ min-width: 22px; height: 22px; border: 0; background: transparent; }
.pmh .pmh-pager-pages button.is-active{ background: #e7f6fd; color: var(--pmh-blue); }
.pmh .pmh-pager button[disabled]{ opacity: .45; cursor: default; }
.pmh [data-pmh-items] > .is-hidden { display: none !important; }

/* 1. hero */
.pmh.pmh-hero { overflow: hidden; background: #dfeef5; }
.pmh .pmh-hero-track{ position: relative; aspect-ratio: 1440 / 493; max-height: 640px; width: 100%; }
.pmh .pmh-hero-slide{ position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.pmh .pmh-hero-slide.is-active{ opacity: 1; visibility: visible; }
.pmh .pmh-hero-slide > img, .pmh .pmh-hero-slide > video{ width: 100%; height: 100%; display: block; }
.pmh .pmh-hero-slide > video{ object-fit: cover; }
/* banner images are designed artwork with text — show them whole, never crop */
.pmh .pmh-hero-slide > img{ object-fit: contain; background: #fff; }
.pmh .pmh-hero-panel{
	position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: center;
	padding: 0 0 0 18.3%; color: #fff;
}
.pmh .pmh-hero-panel::before{
	/* the diagonal blue band from the design, drawn over the video */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(13, 169, 235, .82);
	clip-path: polygon(19.6% 0, 49.6% 0, 37.5% 100%, 7.6% 100%);
}
.pmh .pmh-hero-kicker{ font-size: clamp(18px, 2.2vw, 32px); line-height: 1.1; }
.pmh .pmh-hero-title{ font-size: clamp(26px, 3.4vw, 49px); font-weight: 700; line-height: 1.15; }
.pmh .pmh-hero-text{ margin-top: 10px !important; font-size: clamp(14px, 1.4vw, 20px); line-height: 1.45; }
.pmh .pmh-hero-btn{
	align-self: flex-start; margin-top: clamp(16px, 3.8vw, 54px); padding: 6px 40px; border-radius: 5px;
	background: #fff; color: var(--pmh-blue) !important; font-size: clamp(14px, 1.2vw, 17px); font-weight: 700;
}
.pmh .pmh-hero-arrow{ position: absolute; top: 50%; transform: translateY(-50%); background: rgba(217, 217, 217, .6); }
.pmh .pmh-hero-arrow:hover{ background: rgba(217, 217, 217, .85); }
.pmh.pmh-hero .pmh-prev{ left: 9.3%; }
.pmh.pmh-hero .pmh-next{ right: 9.3%; }
.pmh .pmh-hero-dots{ position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 6px; }
.pmh .pmh-hero-dots button{ width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: #d4eef9; cursor: pointer; transition: width .3s, background .3s; }
.pmh .pmh-hero-dots button.is-active{ width: 22px; background: var(--pmh-blue); }

/* 2. quick menu */
.pmh.pmh-menu { padding: 60px 0 24px; }
.pmh .pmh-menu-grid{ display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 19px; }
.pmh .pmh-menu-card{
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	aspect-ratio: 137 / 136; padding: 12px 6px; border-radius: 25px; background: #fff; box-shadow: var(--pmh-shadow);
	color: var(--pmh-text) !important; font-size: 18px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.pmh .pmh-menu-card:hover, .pmh .pmh-menu-card:focus-visible{ transform: translateY(-4px); box-shadow: 0 8px 24px rgba(13, 169, 235, .18); }
.pmh .pmh-menu-card img{ width: 60px; height: 60px; object-fit: contain; }

/* 3. callouts */
.pmh.pmh-callouts { padding: 90px 0 60px; }
.pmh .pmh-callouts-grid{ display: grid; grid-template-columns: 417fr 424fr 320fr; align-items: center; gap: 0 8px; }
.pmh .pmh-callouts-col{ display: flex; flex-direction: column; gap: 22px; position: relative; z-index: 1; }
.pmh .pmh-callouts-col.is-right{ gap: 40px; }
.pmh .pmh-bubble{
	position: relative; padding: 14px 20px; border-radius: 8px; background: #fff; box-shadow: var(--pmh-shadow);
	text-align: center; font-size: 22px; font-weight: 700; line-height: 29px; color: var(--pmh-text);
}
.pmh .pmh-callouts .pmh-gold{ color: #b49145; }
.pmh .pmh-callouts-col.is-left .pmh-bubble:not(:first-child){ width: 80%; }
.pmh .pmh-s20{ font-size: 20px; } .pmh .pmh-s22{ font-size: 22px; } .pmh .pmh-s26{ font-size: 26px; } .pmh .pmh-s28{ font-size: 28px; }
.pmh .pmh-s29{ font-size: 29px; line-height: 30px; } .pmh .pmh-s36{ font-size: 36px; line-height: 36px; }
.pmh .pmh-bubble::after{
	content: ""; position: absolute; top: 50%; width: 22px; height: 22px; background: #fff;
	transform: translateY(-50%) rotate(45deg); box-shadow: 3px -3px 6px rgba(0, 0, 0, .03);
}
.is-left .pmh-bubble::after { right: -10px; }
.is-right .pmh-bubble::after { left: -10px; }
.is-left .pmh-bubble:first-child::after { top: auto; bottom: -10px; right: 50px; transform: rotate(45deg); }
.pmh .pmh-bubble p + p{ margin-top: 4px; }
.pmh .pmh-bubble .pmh-lg{ font-size: 22px; font-weight: 700; }
.pmh .pmh-bubble .pmh-xl{ font-size: 30px; font-weight: 700; line-height: 1.1; }
.pmh .pmh-bubble span{ font-weight: 700; }
.pmh .pmh-callouts-photo{ position: relative; align-self: end; margin-left: -90px; z-index: 0; }
.pmh .pmh-callouts-photo::before{
	content: ""; position: absolute; left: 3%; right: 0; bottom: 6%; height: 62%; border-radius: 30px;
	background: linear-gradient(180deg, #0da9eb 37%, #095280 162%); box-shadow: -16px 14px 0 #f4fcff, var(--pmh-shadow);
}
.pmh .pmh-callouts-photo img{ position: relative; display: block; width: 100%; height: auto; max-height: 470px; object-fit: contain; object-position: bottom; }

/* 4. features */
.pmh.pmh-features { padding: 40px 0; }
.pmh .pmh-features-grid{ display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 24px; }
.pmh .pmh-features-heading{ font-size: 35px; font-weight: 700; line-height: 1.25; }
.pmh .pmh-features-heading .pmh-big{ font-size: 58px; }
.pmh .pmh-checks{ list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.pmh .pmh-checks li{ position: relative; padding-left: 35px; font-size: 19px; line-height: 1.5; color: var(--pmh-muted); }
.pmh .pmh-checks li::before{
	content: ""; position: absolute; left: 0; top: 4px; width: 21px; height: 21px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230DA9EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4 12 14.01l-3-3'/%3E%3C/svg%3E");
}
.pmh .pmh-features-img{ display: block; width: 100%; height: auto; }

/* 5. strengths */
.pmh.pmh-strengths { padding: 30px 0 60px; }
.pmh .pmh-strengths-grid{ display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px 60px; }
.pmh .pmh-strength{ display: flex; gap: 22px; align-items: flex-start; }
.pmh .pmh-strength img{ flex: none; width: 40px; height: auto; }
.pmh .pmh-strength h3{ font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--pmh-gold); }
.pmh .pmh-strength p{ margin-top: 6px !important; font-size: 16px; line-height: 20px; color: var(--pmh-muted); }

/* 6. loan banner */
.pmh.pmh-loan {
	margin-top: 170px; color: #fff; overflow: visible; min-height: 357px;
	/* designed background (stripes + gold plus marks) comes from the widget's Background image */
	background: #0ea5e8 no-repeat center / cover; background-size: max(100%, 1441px) 100%;
}
/* Figma 4880:25545 + 6422:3943: band 1440×357, nurse 363×505 at x140, overlapping 148px above the band */
.pmh .pmh-loan-grid { position: relative; z-index: 1; max-width: 1180px; display: grid; grid-template-columns: 363px 1fr; align-items: end; gap: 0 20px; min-height: 357px; }
.pmh .pmh-loan-img { display: block; width: 363px; height: 505px; margin-top: -148px; object-fit: cover; object-position: top; }
.pmh .pmh-loan-body { align-self: center; text-align: center; padding: 26px 0; }
.pmh .pmh-loan-title { display: inline-flex; align-items: center; gap: 14px; font-size: 44px; font-weight: 700; line-height: 1.15; color: #fff; }
.pmh .pmh-loan-title img { height: 3em; width: auto; margin: -.85em -.25em -.85em -.1em; } /* source PNG is a square with padding */
.pmh .pmh-loan-sub { margin-top: 26px !important; font-size: 44px; font-weight: 700; line-height: 1.15; }
.pmh .pmh-loan-sub span { color: #fdd451; text-shadow: 0 3px 0 #b07f15; }
.pmh .pmh-loan-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 36px; margin-top: 22px; }
.pmh .pmh-loan-btn {
	display: flex; align-items: center; justify-content: center; gap: 14px; height: 76px; border-radius: 8px;
	background: #fff; box-shadow: var(--pmh-shadow); font-size: 32px; font-weight: 700; transition: transform .2s;
}
.pmh .pmh-loan-btn:hover { transform: translateY(-3px); }
.pmh .pmh-loan-btn.is-line { color: var(--pmh-blue) !important; }
.pmh .pmh-loan-btn.is-phone { color: #b0893f !important; }
.pmh .pmh-loan-btn > img { width: 34px; height: 34px; border-radius: 50%; }
.pmh .pmh-loan-btn i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fdebc8; color: #b0893f; font-style: normal; }

/* 7. legacy article shortcode, restyled to the new design (data still comes from the old snippet).
   ponytail: scoped to page 8664 so the live Home keeps its old look until the swap; if the new
   page is ever duplicated to another ID, update this prefix. */
.elementor-8664 .box-article { background: #f4fcff !important; padding: 60px 0 !important; font-family: "DB AdmanRounded X", sans-serif; }
.elementor-8664 .box-article .sub-box { max-width: 1116px !important; margin: 0 auto !important; padding: 0 16px !important; grid-template-columns: 250px 1fr !important; gap: 40px !important; }
.elementor-8664 .box-article .sub-box > .title h1 { display: inline-block; padding: 8px 18px; border-radius: 20px; background: #fdebc8; color: #c49344; font-size: 18px; font-weight: 400; line-height: 24px; }
.elementor-8664 .box-article .sub-box > .title h4 { margin-top: 14px; font-size: 44px; font-weight: 700; line-height: 1.1; color: #30393f; }
.elementor-8664 .box-article .sub-box > .title h2 { margin-top: 10px; font-size: 19px; font-weight: 400; line-height: 24px; color: #67767c; }
.elementor-8664 .box-article .see-more a { color: #c49344 !important; font-size: 19px; }
.elementor-8664 .box-article .see-more svg { fill: #c49344; width: 9px; }
.elementor-8664 .box-article .row { background: #fff !important; border-radius: 10px !important; box-shadow: 0 4px 17px rgba(0, 0, 0, .08) !important; overflow: hidden; }
.elementor-8664 .box-article .row .img-card img { width: 100%; aspect-ratio: 251 / 166; object-fit: cover; border-radius: 0 !important; }
.elementor-8664 .box-article .row .text { padding: 12px 12px 16px !important; }
.elementor-8664 .box-article .row .type h2 { display: inline-block; padding: 1px 8px; border: 1px solid #0da9eb; border-radius: 10px; color: #0da9eb !important; font-size: 13px !important; font-weight: 400; background: #fff; }
.elementor-8664 .box-article .row .abb h4 { margin-top: 8px; font-size: 19px !important; font-weight: 700; line-height: 1.2; color: #30393f !important; }
.elementor-8664 .box-article .row .sub-title { margin-top: 8px; font-size: 14px !important; line-height: 18px; color: #98a9b0 !important; }
.elementor-8664 .box-article .row .read-more a { color: #c49344 !important; font-size: 15px; }
.elementor-8664 .box-article .row .read-more svg { fill: #c49344; width: 7px; }

/* 8. partners */
.pmh.pmh-partners { padding: 70px 0 40px; }
.pmh .pmh-partners-grid{ display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 40px; }
.pmh.pmh-partners .pmh-h2{ max-width: 390px; }
.pmh .pmh-logo-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 25px; }
.pmh .pmh-logo{ display: grid; place-items: center; aspect-ratio: 175 / 87; padding: 8px; border-radius: 6px; background: #fff; box-shadow: var(--pmh-shadow); }
.pmh .pmh-logo img{ max-height: 100%; width: auto; object-fit: contain; }

/* 9. activity */
.pmh.pmh-activity { padding: 40px 0 70px; }
.pmh .pmh-activity-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; margin: 40px 0 30px; }
.pmh .pmh-activity-card{
	position: relative; display: flex; flex-direction: column; aspect-ratio: 255 / 253; padding: 24px 24px 22px; border-radius: 10px; overflow: hidden;
	color: #fff !important; background: linear-gradient(180deg, rgba(9, 50, 74, .55), rgba(9, 50, 74, .85)), var(--bg) center / cover;
	transition: transform .25s;
}
.pmh .pmh-activity-card:hover{ transform: translateY(-4px); }
.pmh .pmh-activity-card h3{ font-size: 27px; font-weight: 700; line-height: 1.05; padding-bottom: 10px; position: relative; }
.pmh .pmh-activity-card h3::after{ content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--pmh-blue); }
.pmh .pmh-activity-card p{ margin-top: auto !important; padding-right: 40px; font-size: 13px; line-height: 15px; opacity: .9;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pmh .pmh-activity-go{ position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: rgba(255, 255, 255, .35); }

/* 10. pride */
.pmh.pmh-pride {
	padding: 60px 0 50px; overflow: hidden;
	background: url(https://piyamin.podsable.com/wp-content/uploads/2023/11/triangle-right-top.png) no-repeat right 30px top -30px / 120px,
		url(https://piyamin.podsable.com/wp-content/uploads/2023/11/triangle-left-bottom.png) no-repeat left -20px bottom 40px / 110px,
		linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 22px 22px,
		linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) 0 0 / 22px 22px,
		#109fe2;
}
.pmh.pmh-pride .pmh-h2{ margin-bottom: 36px; font-size: 38px; }
.pmh .pmh-pride-grid{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pmh .pmh-pride-card{ position: relative; overflow: hidden; padding: 0 22px 22px; border-radius: 8px; background: #fff; box-shadow: var(--pmh-shadow); min-height: 282px; }
.pmh .pmh-pride-card img{ display: block; width: 168px; height: 168px; margin: -20px 0 16px -20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 9px #e9f7fd; }
.pmh .pmh-pride-card h3{ font-size: 17px; font-weight: 700; }
.pmh .pmh-pride-gen{ font-size: 13px; color: var(--pmh-blue); }
.pmh .pmh-pride-job{ margin-top: 10px !important; font-size: 16px; font-weight: 700; }
.pmh .pmh-pride-card p:last-child{ font-size: 15px; line-height: 18px; color: var(--pmh-muted); }
.pmh.pmh-pride .pmh-pager{ justify-content: center; }

/* 11. alumni */
.pmh.pmh-alumni { padding: 110px 0 60px; }
.pmh .pmh-alumni-grid{ display: grid; grid-template-columns: 380px 1fr; align-items: center; gap: 55px; }
.pmh.pmh-alumni .pmh-h2{ font-size: 40px; }
.pmh.pmh-alumni .pmh-lead{ margin-top: 24px !important; }
.pmh .pmh-alumni-stage{ position: relative; }
.pmh .pmh-alumni-stage::before{ content: ""; position: absolute; inset: 20px 20px -20px -20px; border-radius: 10px; background: #f4fcff; }
.pmh .pmh-alumni-card{ position: relative; display: grid; grid-template-columns: 1fr 39%; min-height: 370px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--pmh-shadow); }
.pmh .pmh-alumni-text{ padding: 23px 25px; }
.pmh .pmh-alumni-text h3{ font-size: 24px; font-weight: 700; }
.pmh .pmh-alumni-label{ margin-top: 8px !important; font-size: 13px; color: var(--pmh-muted); }
.pmh .pmh-alumni-study{ font-size: 13px; color: var(--pmh-blue); }
.pmh .pmh-alumni-quote{ margin-top: 16px !important; font-size: 14px; line-height: 20px; color: var(--pmh-muted); }
.pmh .pmh-alumni-card img{ width: 100%; height: 100%; object-fit: cover; }

/* 12. hospitals */
.pmh.pmh-hospitals { padding: 70px 0 80px; }
.pmh .pmh-hosp-stage{ position: relative; margin-top: 30px; }
.pmh .pmh-hosp-track{
	display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 6 * 22px) / 7);
	gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px;
}
.pmh .pmh-hosp-track::-webkit-scrollbar{ display: none; }
.pmh .pmh-hosp-track .pmh-logo{ aspect-ratio: 127 / 129; scroll-snap-align: start; }
.pmh .pmh-hosp-stage .pmh-round{ position: absolute; top: 50%; z-index: 1; transform: translateY(-50%); }
.pmh .pmh-hosp-stage .pmh-prev{ left: -48px; }
.pmh .pmh-hosp-stage .pmh-next{ right: -48px; }
.pmh .pmh-hosp-stage .pmh-round[disabled]{ opacity: 0; pointer-events: none; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
	.pmh .pmh-h2{ font-size: 36px; }
	.pmh .pmh-callouts-grid{ grid-template-columns: 1fr 1fr; gap: 20px; }
	.pmh .pmh-callouts-photo{ grid-column: 1 / -1; grid-row: 1; max-width: 420px; justify-self: center; margin-left: 0; }
	.pmh .pmh-callouts-col.is-left .pmh-bubble:not(:first-child){ width: auto; }
	.pmh .pmh-callouts-col.is-right{ gap: 20px; }
	.pmh .pmh-bubble::after{ display: none; }
	.pmh .pmh-features-grid, .pmh .pmh-partners-grid, .pmh .pmh-alumni-grid{ grid-template-columns: 1fr; }
	.pmh .pmh-strengths-grid{ grid-template-columns: 1fr 1fr; gap: 30px; }
	.pmh .pmh-loan-grid{ grid-template-columns: 240px 1fr; gap: 20px; min-height: 300px; } .pmh .pmh-loan-img{ width: 240px; height: 334px; margin-top: -98px; } .pmh.pmh-loan{ margin-top: 120px; min-height: 300px; }
	.pmh .pmh-loan-title{ font-size: 36px; } .pmh .pmh-loan-sub{ font-size: 32px; }
	.pmh .pmh-loan-btn{ font-size: 22px; height: 56px; }
	.pmh .pmh-loan-btns{ gap: 14px; }
	.pmh .pmh-activity-grid, .pmh .pmh-pride-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmh .pmh-hosp-track{ grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; }
	.pmh .pmh-hosp-stage .pmh-round{ width: 44px; height: 44px; }
	.pmh .pmh-hosp-stage .pmh-prev{ left: -10px; }
	.pmh .pmh-hosp-stage .pmh-next{ right: -10px; }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
	.pmh .pmh-h2{ font-size: 30px; }
	.pmh .pmh-lead{ font-size: 17px; }
	.pmh .pmh-hero-track{ aspect-ratio: 1440 / 493; } /* same ratio as the banner artwork, so images fill without cropping */
	.pmh .pmh-hero-panel{ padding-left: 8%; }
	.pmh .pmh-hero-panel::before{ clip-path: polygon(0 0, 78% 0, 62% 100%, 0 100%); }
	.pmh .pmh-hero-arrow{ width: 40px; height: 40px; }
	.pmh.pmh-hero .pmh-prev{ left: 8px; }
	.pmh.pmh-hero .pmh-next{ right: 8px; }
	.pmh .pmh-hero-arrow svg{ width: 20px; height: 20px; }
	.pmh.pmh-menu{ padding-top: 32px; }
	.pmh .pmh-menu-grid{ grid-auto-columns: 112px; gap: 12px; }
	.pmh .pmh-menu-card{ font-size: 18px; border-radius: 18px; padding: 12px 4px; }
	.pmh .pmh-menu-card img{ width: 46px; height: 46px; }
	.pmh.pmh-callouts{ padding: 40px 0; }
	.pmh .pmh-callouts-grid{ grid-template-columns: 1fr; }
	.pmh .pmh-s36{ font-size: 28px; line-height: 30px; } .pmh .pmh-s28, .pmh .pmh-s29{ font-size: 24px; } .pmh .pmh-bubble{ font-size: 19px; }
	.pmh .pmh-features-heading{ font-size: 26px; }
	.pmh .pmh-features-heading .pmh-big{ font-size: 44px; }
	.pmh .pmh-checks li{ font-size: 17px; }
	.pmh .pmh-strengths-grid{ grid-template-columns: 1fr; }
	.pmh .pmh-loan-grid{ grid-template-columns: 1fr; }
	.pmh .pmh-loan-img{ display: none; } /* mobile: no nurse photo, text + buttons only */ .pmh.pmh-loan{ margin-top: 60px; background-size: cover; }
	.pmh .pmh-loan-body{ padding: 36px 0; } .pmh .pmh-loan-grid{ min-height: 0; }
	.pmh .pmh-loan-title{ font-size: 32px; } .pmh .pmh-loan-sub{ font-size: 28px; }
	.pmh .pmh-loan-btns{ grid-template-columns: 1fr; }
	.pmh .pmh-loan-btn{ height: 58px; font-size: 22px; }
	.elementor-8664 .box-article .sub-box { grid-template-columns: 1fr !important; }
	.elementor-8664 .box-article .sub-box > .title h4 { font-size: 32px; }
	.pmh .pmh-logo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmh .pmh-activity-grid, .pmh .pmh-pride-grid{ grid-template-columns: 1fr; }
	.pmh .pmh-activity-card{ aspect-ratio: 16 / 10; }
	.pmh.pmh-alumni{ padding-top: 60px; }
	.pmh .pmh-alumni-card{ grid-template-columns: 1fr; }
	.pmh .pmh-alumni-card img{ order: -1; height: 260px; }
	.pmh .pmh-alumni-stage::before{ display: none; }
	.pmh .pmh-hosp-track{ grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; }
}
/* mobile: the hero frame matches the banner art (1440:493), so keep only title + button on the video slide */
@media (max-width: 767px) {
	.pmh.pmh-hero .pmh-hero-kicker, .pmh.pmh-hero .pmh-hero-text { display: none; }
	.pmh.pmh-hero .pmh-hero-panel { padding-left: 6%; }
	.pmh.pmh-hero .pmh-hero-title { font-size: 19px; }
	.pmh.pmh-hero .pmh-hero-btn { margin-top: 8px; padding: 2px 16px; font-size: 12px; }
	.pmh.pmh-hero .pmh-hero-dots { bottom: 6px; }
	.pmh.pmh-hero .pmh-hero-arrow { width: 30px; height: 30px; }
	.pmh.pmh-hero .pmh-hero-arrow svg { width: 16px; height: 16px; }
}
/* quick menu becomes a swipeable slider at ≤1024px (CSS scroll-snap; no JS) */
@media (max-width: 1024px) {
	.pmh .pmh-menu-grid {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 128px; gap: 16px;
		overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain;
		padding: 8px 16px 20px; margin: -8px auto -20px; max-width: none; scrollbar-width: none; justify-content: safe center;
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
		        mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
	}
	.pmh .pmh-menu-grid::-webkit-scrollbar { display: none; }
	.pmh .pmh-menu-card { scroll-snap-align: start; }
	.pmh .pmh-menu-card:hover { transform: none; }
}
/* when it scrolls, start-align so the first card keeps its 16px inset (centering eats the start padding) */
@media (max-width: 1023px) { .pmh .pmh-menu-grid { justify-content: start; } }

/* 7b. articles — match Figma 4880:25680…25718 (pager under the intro column, compact cards) */
.elementor-8664 .box-article { position: relative !important; }
.elementor-8664 .box-article .sub-box { padding-bottom: 0 !important; }
/* prev/dots/next are children of the full-width .box-article; shift them into the 1116px content box
   (margin on an absolutely positioned box adds to its left offset, and the script's inline left still works) */
.elementor-8664 .box-article .slider-controls-article button, .elementor-8664 .box-article .slider-dots-article { margin-left: max(0px, calc((100% - 1116px) / 2)) !important; }
/* the legacy script positions prev/dots/next absolutely (prev 19px, dots 57px, next = dots width + 72px);
   anchoring them to .sub-box puts them under the intro column instead of the page's far-left edge */
.elementor-8664 .box-article .slider-controls-article button:nth-child(1),
.elementor-8664 .box-article .slider-controls-article button:nth-child(2) { bottom: 72px !important; transform: none !important; }
.elementor-8664 .box-article .slider-controls-article button:nth-child(1) { transform: rotate(180deg) !important; }
.elementor-8664 .box-article .slider-dots-article { bottom: 76px !important; }
.elementor-8664 .box-article .slider-controls-article button { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border-radius: 6px; }
.elementor-8664 .box-article .slider-controls-article img { max-width: 16px; height: 16px; }
.elementor-8664 .box-article .sub-box > .title h2 { font-size: 19px !important; }
.elementor-8664 .box-article .row .text .title .type { display: inline-block; width: auto !important; max-width: 100% !important; padding: 1px 10px !important; background: #fff !important; margin-bottom: 6px !important; }
.elementor-8664 .box-article .row .text .title .type h2 { font-size: 12px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.elementor-8664 .box-article .row .text .title .abb { height: auto !important; }
.elementor-8664 .box-article .row .abb h4 { font-size: 17px !important; line-height: 22px !important; margin: 0 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 44px; }
.elementor-8664 .box-article .row .text .title .sub-title { font-size: 13px !important; line-height: 17px !important; margin-top: 6px !important; }
.elementor-8664 .box-article .row .text { padding: 10px 14px 12px !important; }
.elementor-8664 .box-article .row .read-more a { font-size: 14px !important; }
@media (max-width: 966px) {
	.elementor-8664 .box-article .sub-box { padding-bottom: 60px !important; }
	.elementor-8664 .box-article .slider-controls-article button:nth-child(1),
	.elementor-8664 .box-article .slider-controls-article button:nth-child(2) { bottom: 16px !important; }
	.elementor-8664 .box-article .slider-dots-article { bottom: 20px !important; }
}
