/* PEM homepage and footer; loaded only for this brand. */
.pm-pem-checkups,.pm-pem-action-tile { display:flex; align-items:center; gap:20px; padding:28px; border:1px solid var(--pm-brand-200); border-radius:24px; background:var(--pm-brand-50); color:var(--pm-ink-900); text-decoration:none; min-width:0; transition:background .2s,border-color .2s; }
.pm-pem-checkups:hover,.pm-pem-action-tile:hover { background:var(--pm-brand-100); border-color:var(--clinic-primary); }
.pm-pem-checkups:focus-visible,.pm-pem-action-tile:focus-visible,.pm-footer-social a:focus-visible { outline:3px solid var(--clinic-primary); outline-offset:4px; }
.pm-pem-checkups { margin-top:auto; }
.pm-pem-checkups strong { display:block; font-size:26px; line-height:1.2; margin-bottom:8px; }
.pm-pem-checkups small { font-size:15px; line-height:1.5; }
.pm-pem-tile-icon { flex-shrink:0; width:54px; height:54px; display:grid; place-items:center; border-radius:16px; color:var(--clinic-primary); background:white; }
.pm-pem-tile-arrow { margin-left:auto; flex-shrink:0; font-size:26px; color:var(--clinic-primary); }
.pm-pem-cooperation { display:grid; grid-auto-rows:1fr; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.pm-pem-action-tile { min-height:170px; }
.pm-pem-action-tile h2 { font-size:clamp(20px,1.7vw,28px); line-height:1.25; margin:0 0 10px; }
.pm-pem-action-tile p { font-size:15px; line-height:1.55; margin:0; color:var(--pm-text-muted); }
.pm-pem-patients .pm-home-resources__routes { grid-template-columns:repeat(3,minmax(0,1fr)); }
.pm-footer-partners { display:flex; align-items:center; gap:32px; padding:24px 0; border-top:1px solid var(--pm-brand-200); }
.pm-footer-partners h2 { font-size:16px; margin:0; }
.pm-footer-partners__logos { display:flex; flex-wrap:wrap; gap:16px; }
.pm-footer-partners__logos > * { display:grid; place-items:center; min-height:76px; padding:16px 24px; border-radius:16px; background:white; }
.pm-footer-partners__logos img { width:170px; height:48px; object-fit:contain; }
.pm-footer-social { display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.pm-footer-social a { display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 12px; border:1px solid var(--pm-brand-200); border-radius:12px; }
.pm-footer-social svg { width:22px; height:22px; flex-shrink:0; }
.pm-pem-doctor-details { display:block; margin:0 20px 16px; color:var(--clinic-primary); text-underline-offset:4px; font-weight:600; }
@media (min-width:1280px) and (max-width:1919px) {
 .styles-module-scss-module__WfGqbq__header .styles-module-scss-module__WfGqbq__main_nav .styles-module-scss-module__WfGqbq__nav { display:block; }
 .styles-module-scss-module__WfGqbq__ext_buttons .pm-header-feedback-button,.styles-module-scss-module__WfGqbq__ext_buttons .pm-header-home-visit { display:none; }
 .styles-module-scss-module__WfGqbq__nav ul { gap:20px; }
}
@media (max-width:767px) {
 .pm-pem-cooperation,.pm-pem-patients .pm-home-resources__routes { grid-template-columns:minmax(0,1fr); }
 .pm-pem-checkups,.pm-pem-action-tile { padding:20px; gap:14px; border-radius:20px; }
 .pm-pem-action-tile { min-height:140px; }
 .pm-pem-tile-icon { width:44px; height:44px; border-radius:12px; }
 .pm-footer-partners { align-items:flex-start; flex-direction:column; gap:16px; }
}

/* Horizontal promotion artwork shared by the listing, homepage and details. */
html[data-site-profile="profenergomed"] .pm-promotions-card__media {
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--clinic-light);
}
html[data-site-profile="profenergomed"] .pm-promotions-card__surface {
  object-fit: cover;
  object-position: center;
  padding: 0;
}
html[data-site-profile="profenergomed"] .pm-home-page .pm-home-promotions__card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 0;
}
html[data-site-profile="profenergomed"] .pm-home-page .pm-home-promotions__media {
  order: -1;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  border: 0;
}
html[data-site-profile="profenergomed"] .pm-home-page .pm-home-promotions__media .pm-home-promotions__image {
  object-fit: cover;
  object-position: center;
}
html[data-site-profile="profenergomed"] .pm-home-page .pm-home-promotions__copy {
  min-height: 0;
}
html[data-site-profile="profenergomed"] .pm-home-promo-modal__hero {
  grid-template-columns: minmax(0, 1fr);
  padding-right: 0;
}
html[data-site-profile="profenergomed"] .pm-home-promo-modal__hero-copy {
  padding-right: 2.5rem;
}
html[data-site-profile="profenergomed"] .pm-home-promo-modal__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
  border-radius: 1rem;
}

/* Department-specific specialists: compact cards, explicit arrow navigation. */
.pm-pem-specialists { min-width:0; position:relative; }
.pm-pem-specialists__header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-bottom:24px; }
.pm-pem-specialists__header h2 { margin:0; font-weight:700; color:var(--clinic-text,#203c50); font-size:clamp(26px,2.5vw,40px); line-height:1.2; }
.pm-pem-specialists__header p { margin:10px 0 0; color:var(--clinic-text-muted,#52677b); }
.pm-pem-specialists__actions { display:flex; align-items:center; flex-wrap:wrap; gap:24px; }
.pm-pem-specialists__all { display:inline-flex; align-items:center; gap:12px; min-height:44px; color:var(--clinic-primary); font-weight:600; text-underline-offset:4px; }
.pm-pem-specialists .styles-module-scss-module__OYWM-W__employee { display:flex; flex-direction:column; height:100%; border:1px solid var(--pm-brand-200); border-radius:24px; overflow:hidden; background:white; }
.pm-pem-specialists .styles-module-scss-module__OYWM-W__img { width:100%; height:clamp(230px,23vw,290px); flex-shrink:0; border-radius:0; }
.pm-pem-specialists .styles-module-scss-module__OYWM-W__img img { object-position:center 25%; }
.pm-pem-specialists .styles-module-scss-module__OYWM-W__text { display:flex; flex:1; flex-direction:column; align-items:flex-start; gap:10px; padding:20px; }
.pm-pem-specialists .styles-module-scss-module__OYWM-W__name { margin:0; font-size:20px; line-height:1.3; overflow-wrap:anywhere; }
.pm-pem-specialists .styles-module-scss-module__OYWM-W__position { margin:0; font-size:15px; line-height:1.5; }
.pm-pem-specialists__details { display:flex; gap:12px; margin-top:auto; padding-top:6px; color:var(--clinic-primary); font-weight:600; }
.pm-pem-specialists__status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:767px) {
 .pm-pem-specialists__header { gap:16px; margin-bottom:18px; }
 .pm-pem-specialists__actions { width:100%; justify-content:space-between; gap:12px; }
 .pm-pem-specialists .styles-module-scss-module__OYWM-W__text { padding:18px; }
}
@media(prefers-reduced-motion:reduce) { .pm-pem-specialists .swiper-wrapper { transition:none; } }
