/*
 * PK SITE — consolidated site-owned CSS
 *
 * STAGING CANDIDATE ONLY.
 *
 * Deliberately excluded:
 * - 1852 broad prefers-color-scheme: dark override
 * - inactive historical snippets
 * - inline page/template CSS
 * - vendor/plugin/theme CSS
 */


/* ==========================================================
 * 1852 — safe non-dark-mode portion
 * ========================================================== */

/* HOMEPAGE MARQUEE              */
/* ============================= */
.marquee-container {
    overflow: hidden;
    background-color: #000;
    padding: 10px 0;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
    will-change: transform;
    transform: translate3d(0,0,0);
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
}

/* Pause on hover */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-content a {
    text-decoration: none !important;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 30px;
    transition: color 0.3s ease;
}

.marquee-content a:hover {
    color: #ff5733 !important;
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================= */
/* HOMEPAGE FOOTER FINAL FIX     */
/* ============================= */

/* Ensure footer is always visible and not overlapped */
body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

body.home .wp-site-blocks {
  flex: 1 0 auto; /* content grows, leaves room for footer */
}

body.home footer {
  flex-shrink: 0; /* footer never collapses */
  position: relative !important;
  clear: both !important;
}

/* HOMEPAGE SPECIFIC FOOTER FIX */
/* ARCH1-B4 dup removed; PHASE2-MAINT-1 U3: freshly-proven dead rules removed (Report 31 s21) */
body.home .wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================= */
/* BIO SECTION                   */
/* ============================= */
/* ============================= */
/* BIO SECTION                   */
/* ============================= */

/* Bio block */
.pk-bio-band {
  width: 100%;
  background: #000;
  margin: 0 !important;        /* remove all outer gaps */
  padding: 40px 20px;          /* inner spacing */
  box-sizing: border-box;
}

/* Ensure marquee itself has no extra spacing */
.marquee-container {
  margin: 0 !important;
}

.pk-bio {
  width: clamp(320px, 92vw, 1200px);
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;

  color: #f0f0f0;
  font-family: "Courier New", Courier, monospace;
  line-height: 1.6;
  font-size: 16px;

  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

.pk-bio__image {
  float: left;
  width: 200px;
  height: auto;
  margin: 0 20px 10px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.5);
}

.pk-bio::after {
  content: "";
  display: block;
  clear: both;
}

.pk-bio p {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.pk-bio-band, .pk-bio, .pk-bio * {
  max-width: 100vw !important;
  white-space: normal !important;
}

@media (max-width: 768px) {
  .pk-bio__image {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    width: 160px;
  }
}



/* ===== UI-CONTENT-HARMONIZE-1D — enlarged balanced logos + uniform row rhythm ===== */
.wp-block-group.pk-app-card { margin-bottom: 1.5rem; }
.wp-block-group.pk-app-card .wp-block-media-text__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 10px 0;
}
.wp-block-group.pk-app-card .wp-block-media-text__media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 0;
}
.wp-block-group.pk-app-wide .wp-block-media-text__media img { max-height: 130px; }
.wp-block-group.pk-app-ijsr .wp-block-media-text__media img { max-height: 180px; }
@media (max-width: 767px) {
  .wp-block-group.pk-app-card .wp-block-media-text__media { height: auto; padding: 8px 0; }
  .wp-block-group.pk-app-card .wp-block-media-text__media img { max-height: 175px; }
  .wp-block-group.pk-app-wide .wp-block-media-text__media img { max-height: 95px; }
  .wp-block-group.pk-app-ijsr .wp-block-media-text__media img { max-height: 120px; }
  .wp-block-group.pk-app-card { margin-bottom: 1.25rem; }
}


/* ==========================================================
 * 2164 — CV Section
 * ========================================================== */

/* ===== Unified CV + Standalone Styles ===== */

/* Reset + base */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
* { box-sizing: border-box; }

/* ====== CV Shared Styles ====== */

/* Wrapper */
/* ARCH1-B4: dead .cv-wrapper alias + dead .section-title rule removed (Report 31 s13) */
.cv-standalone {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 4px rgba(0,0,0,.05);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,.12); }

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 15% 85%;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.8rem;
}

/* Shared text */
.period { font-weight: 700; color:#000; white-space: nowrap; }
.location { font-size: 0.92rem; color:#444; }

/* ===== Academic, Education & Clinical Sections ===== */
.academic-appointments .grid,
.education-training .grid,
.clinical-appointments .grid, .corporate-appointments .grid {
  display: grid;
  grid-template-columns: 15% 85%;
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 0.8rem;
}

.academic-appointments .period,
.education-training .period,
.clinical-appointments .period, .corporate-appointments .period {
  font-weight: 700;    /* year bold */
  color: #000;
  white-space: nowrap;
  margin: 0;
}

.academic-appointments .title,
.education-training .title,
.clinical-appointments .title, .corporate-appointments .title {
  font-weight: 700;    /* first line bold */
  font-style: normal;
  margin: 0;
  line-height: 1.3;
}

.academic-appointments .subtitle,
.education-training .subtitle,
.clinical-appointments .subtitle,
.academic-appointments .location,
.education-training .location,
.clinical-appointments .location, .corporate-appointments .subtitle, .corporate-appointments .location {
  font-weight: 400;    /* regular */
  font-style: normal;
  margin: 0;
  line-height: 1.3;
  color: #444;
}

/* ===== Memberships, Committees, Editorial, Reviews ===== */
.professional-memberships .grid,
.national-committees .grid,
.editorial-boards .grid,
.scientific-reviews .grid {
  display: grid;
  grid-template-columns: 15% 85%;  /* year left, text right */
  gap: 0.4rem;
  align-items: start;
  margin-bottom: 0.5rem;  /* consistent spacing */
}

/* Years (bold only) */
.professional-memberships .grid .period,
.national-committees .grid .period,
.editorial-boards .grid .period,
.scientific-reviews .grid .period {
  font-weight: 700 !important; /* keep bold only for years */
  color: #000;
  white-space: nowrap;
  margin: 0;
}

/* Titles (force normal text) */
.professional-memberships .grid .title,
.national-committees .grid .title,
.editorial-boards .grid .title,
.scientific-reviews .grid .title {
  font-weight: 400 !important;  /* override bold */
  font-style: normal !important;
  line-height: 1.3;
  margin: 0;
  color: #000 !important;
}

/* Subtitles (notes under entries) */
.professional-memberships .subtitle,
.national-committees .subtitle,
.editorial-boards .subtitle,
.scientific-reviews .subtitle {
  font-size: 0.9rem;
  color: #666 !important;
  font-weight: 400 !important;
  font-style: italic !important;
  margin: 0.2rem 0 0;
  line-height: 1.2;
}

@media (max-width: 767px) {
  /* All grids stack to 1 column on mobile */
  .academic-appointments .grid,
  .education-training .grid,
  .clinical-appointments .grid,
  .professional-memberships .grid,
  .national-committees .grid,
  .editorial-boards .grid,
  .scientific-reviews .grid, .corporate-appointments .grid {
    grid-template-columns: 100%;   /* year above text */
    gap: 0 !important;             /* no grid gap */
    margin-bottom: 1.2rem;         /* space between entries */
  }

  /* Years */
  .academic-appointments .grid .period,
  .education-training .grid .period,
  .clinical-appointments .grid .period,
  .professional-memberships .grid .period,
  .national-committees .grid .period,
  .editorial-boards .grid .period,
  .scientific-reviews .grid .period, .corporate-appointments .grid .period {
    margin: 0 0 0.1rem 0 !important;  /* tiny gap below year */
    padding: 0 !important;
    line-height: 1.2 !important;
  }

  /* Titles/descriptions */
  .academic-appointments .grid .title,
  .education-training .grid .title,
  .clinical-appointments .grid .title,
  .professional-memberships .grid .title,
  .national-committees .grid .title,
  .editorial-boards .grid .title,
  .scientific-reviews .grid .title, .corporate-appointments .grid .title {
    margin: 0 !important;           /* no top margin */
    line-height: 1.3 !important;    /* consistent text spacing */
  }

  /* Subtitles */
  .academic-appointments .grid .subtitle,
  .education-training .grid .subtitle,
  .clinical-appointments .grid .subtitle,
  .professional-memberships .grid .subtitle,
  .national-committees .grid .subtitle,
  .editorial-boards .grid .subtitle,
  .scientific-reviews .grid .subtitle, .corporate-appointments .grid .subtitle {
    margin: 0.1rem 0 0 !important;  /* just a tiny top margin */
    line-height: 1.2 !important;
  }
}

/* PHASE2-MAINT-1 U1: CV page-scoped overrides moved here verbatim from Global Overrides (1852) - one CV layer (Report 31 s21) */
/* ============================= */
/* CV PAGE RESPONSIVE OVERRIDES  */
/* ============================= */
/* ARCH1-B4: removed parse-dead header-offset block (broken comment had disabled it) + dead .section-title rules (Report 31 s13) */

/* Cards */
.page-id-772 .card {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
}

/* Grid layout */
.page-id-772 .grid {
  gap: 0.75rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .page-id-772 .grid {
    gap: 1rem;
  }
}

/* Text inside cards */
.page-id-772 .period {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.page-id-772 .title {
  font-size: 1rem;
  font-weight: 700;
}
.page-id-772 .subtitle {
  font-size: 0.9rem;
  line-height: 1.4;
}
.page-id-772 .location {
  font-size: 0.85rem;
  color: #444;
}

/* Prevent long names breaking awkwardly */
.page-id-772 .title,
.page-id-772 .subtitle,
.page-id-772 .location {
  word-break: break-word;
  hyphens: auto;
  overflow-wrap: anywhere;
}



/* ===== UI-CONTENT-HARMONIZE-1C — Research Focus hub tiles (awards-derived 3D lift) ===== */
.rf-hub { max-width: 1200px; margin: 0 auto; padding: 1.2rem 1rem 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.rf-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid #e9e9ec;
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rf-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
.rf-tile-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; font-family: 'Roboto Condensed', Roboto, sans-serif; }
.rf-tile-arrow { color: #0a4a8c; font-weight: 700; font-size: 1.1rem; flex: 0 0 auto; }
@media (max-width: 1023px) { .rf-hub { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .rf-hub { grid-template-columns: 1fr; } }

/* ===== UI-CONTENT-HARMONIZE-1C — evidence item cards (awards-derived) ===== */
.ev-list { max-width: 1200px; margin: 0 auto; padding: 0.5rem 1rem 2rem; }
.ev-card {
  background: #fff;
  border: 1px solid #e9e9ec;
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
.ev-title { font-weight: 700; line-height: 1.35; margin: 0 0 0.25rem; color: #000; }
.ev-meta { font-size: 0.9rem; line-height: 1.35; color: #444; margin: 0; }
.ev-meta a { color: #0a4a8c; text-decoration: none; font-weight: 600; }
.ev-meta a:hover { text-decoration: underline; }
.ev-note { font-size: 0.88rem; line-height: 1.4; color: #555; margin: 0.3rem 0 0; font-style: italic; }


/* ===== UI-CONTENT-HARMONIZE-1D — breadcrumb spacing, larger hub tiles, ev-card typography ===== */
.page-id-607 .wp-block-post-content,
.parent-pageid-607 .wp-block-post-content { padding-top: 2rem; }
@media (max-width: 767px) {
  .page-id-607 .wp-block-post-content,
  .parent-pageid-607 .wp-block-post-content { padding-top: 1.5rem; }
}
.rf-hub { gap: 1.4rem; }
.rf-tile { min-height: 96px; padding: 1.7rem 1.6rem; align-items: center; }
.rf-tile-title { font-size: 1.25rem; }
.ev-list .ev-card { padding: 1.4rem 1.6rem; }
.ev-card .research-container { max-width: none; padding: 0; }
.ev-card ol.research-list { margin: 0; }
.ev-card .research-funding-wrapper { max-width: none; padding: 0; }
.ev-card .research-grid { margin-bottom: 0; }


/* ===== MEDRESEARCHX-PROFILE-1 — vertical cards (rf-tile tokens, documented extension) ===== */
.vx-grid { max-width: 1200px; margin: 0 auto; padding: 1.2rem 1rem 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.vx-card { display: flex; flex-direction: column; height: 100%; }
.vx-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin: 0 0 0.5rem; color: #000; }
.vx-desc { font-size: 0.95rem; line-height: 1.5; color: #333; margin: 0 0 0.5rem; flex: 1 0 auto; }
.vx-logo { margin: 0 0 0.6rem; }
.vx-logo img { max-width: 100%; height: auto; max-height: 70px; width: auto; }
.vx-link a { color: #0a4a8c; font-weight: 600; text-decoration: none; }
.vx-link a:hover { text-decoration: underline; }
.vx-model { font-size: 0.95rem; color: #333; max-width: 1200px; margin: 0 auto; padding: 0 1rem 2rem; }
@media (max-width: 1023px) { .vx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .vx-grid { grid-template-columns: 1fr; } }


/* ==========================================================
 * 2216 — Slider Revolution compatibility
 * ========================================================== */

@media (max-width: 768px) {
  .sr7-btn {
    display: inline-block !important;
    width: 303 !important;
    margin: 1% !important;
    text-align: center !important; 
    white-space: normal !important;
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
	 vertical-align: top;
  }
}





/* === CLS-HERO-1: pre-init hero space reservation (staging gate 2026-07-17) ===
   Heroes = one clone family; measured 10-width matrix identical on 7 pages.
   <768: h = w*11/15 ; 768-1023: >=456px ; >=1024: h = w*29/160.
   Scope: FIRST-child hero only (mid-page SR modules unaffected; contact has no hero). */
.entry-content > .wp-block-themepunch-revslider:first-child { aspect-ratio: 15/11; }
@media (min-width: 768px) {
  .entry-content > .wp-block-themepunch-revslider:first-child { aspect-ratio: auto; min-height: 456px; }
}
@media (min-width: 1024px) {
  .entry-content > .wp-block-themepunch-revslider:first-child { aspect-ratio: 160/29; min-height: 0; }
}
/* home override: home hero wrapper is rail-stretched (layout width ~2113px) so aspect-ratio
   mis-computes there; reserve via viewport units with scrollbar under-allowance instead. */
body.home .entry-content > .wp-block-themepunch-revslider:first-child { aspect-ratio: auto; min-height: calc(73.333vw - 12px); }
@media (min-width: 768px) {
  body.home .entry-content > .wp-block-themepunch-revslider:first-child { min-height: 456px; }
}
@media (min-width: 1024px) {
  body.home .entry-content > .wp-block-themepunch-revslider:first-child { aspect-ratio: auto; min-height: calc(18.125vw - 4px); }
}
/* === /CLS-HERO-1 === */


/* ==========================================================
 * 2240 — Research Global
 * ========================================================== */

/* =========================================================
   GLOBAL RESEARCH SECTIONS CSS (Unified & Prefixed)
   ========================================================= */

/* Base layout */
.research-container, .research-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  color: #000000;
}

/* Shared list styling (Journal, Book, Abstracts, Guidelines) */
/* ARCH1-B4 consolidation: duplicate declarations merged, winners kept exactly; dead talks/posters aliases dropped (Report 31 s13) */
.research-list {
  list-style-type: decimal;
  list-style-position: outside !important;
  margin-left: 3.8ch !important;
  margin-right: 0;
  margin-bottom: 10px;
  font-size: 20px;
  font-family: monospace;
  color: #000000;
  font-style: normal;
  font-weight: 300;
  line-height: 1.1;
  padding-left: 55px !important;
  padding-right: 60px;
  width: 1100px;
  max-width: 90vw;
  overflow-wrap: break-word;
}
 
.research-list li {
  margin-right: 0;
  margin-bottom: 15px;
  padding-left: 20px;
}

/* Strong emphasis */
.research-container strong,
.research-list strong {
  font-weight: bold;
  color: #000000;
}

/* === Clinical Guidelines: link animation === */
.research-guideline a {
  overflow: hidden;
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #18272F;
  font-weight: 700;
  vertical-align: top;
}

.research-guideline a::before,
.research-guideline a::after {
  content: '';
  position: absolute;
  width: 100%;
  left: 0;
}

.research-guideline a::before {
  background-color: #0a0a0a;
  height: 2px;
  bottom: 0;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.research-guideline a::after {
  content: attr(data-replace);
  height: 100%;
  top: 0;
  transform-origin: 100% 50%;
  transform: translate3d(200%, 0, 0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
  color: #00C500;
}

.research-guideline a:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

.research-guideline a:hover::after {
  transform: translate3d(0, 0, 0);
}

.research-guideline a span {
  display: inline-block;
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

.research-guideline a:hover span {
  transform: translate3d(-200%, 0, 0);
}

.research-footnote {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9em;
  max-width: 65%;
  margin: 24px auto 12px;
  text-align: center;
  line-height: 1.4;
}

/* === Funding Support cards === */
.research-funding-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  color: #000;
}

.research-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.research-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.research-period { font-weight: bold; color: #000; }
.research-title { font-weight: bold; }
.research-subtitle, .research-location { color: #000; font-size: 0.95rem; }

@media (min-width: 600px) {
  .research-grid { grid-template-columns: 25% 75%; }
}
@media (min-width: 1024px) {
  .research-grid { grid-template-columns: 15% 85%; }
}

@media (min-width: 1600px) {
  .research-list { max-width: 75%; }
}


/* === Journal Publications: "custom-link" hover animation === */
.custom-link {
  position: relative;
  display: inline-block;
  color: #0a0a0a;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-link img {
  margin-left: 4px;
  vertical-align: middle;
  filter: grayscale(100%) brightness(0);
  transition: filter 0.3s ease;
}

/* Hover text animation using data-replace */
.custom-link#style-2::after {
  content: attr(data-replace);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: translateY(100%);
  color: #0073aa;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-link#style-2:hover::after {
  transform: translateY(0);
  opacity: 1;
}

.custom-link#style-2 span {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-link#style-2:hover span {
  transform: translateY(-100%);
  opacity: 0;
}

/* Icon color toggle */
.custom-link:hover img {
  filter: none;
}


/* ARCH1-B4: dead Podium/Poster rule section removed - matched no markup on any published page (Report 31 s13) */


/* === List number cutoff safety (three-digit-safe & responsive) === */
@media (max-width: 1024px) {
  .research-list {
    margin-left: 3.5ch !important;
    padding-left: 45px !important;
  }
}

@media (max-width: 767px) {
  .research-list {
    margin-left: 3ch !important;
    padding-left: 40px !important;
    font-size: 18px;
  }
}


/* ==========================================================
 * 2284 — BESbswy workaround
 * ========================================================== */

/* Hide stray font fallback text like BESbswy */
body:after,
html:after,
footer:after,
body > span[style*="BESbswy"],
span[aria-hidden="true"] {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}


/* ==========================================================
 * 2301 — Contact media/info
 * ========================================================== */

/* === CONTACT INFO SECTION (Framed + Silver Fade) === */
.contact-info-section {
  width: 100%;
  background: #fff;
  padding: 28px 0;
  position: relative;
  z-index: 0;
  border-top: 4px solid #000;
  border-bottom: 4px solid #000;
}

/* Fading silver gradient overlay */
.contact-info-section::before,
.contact-info-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.2px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(160, 160, 160, 0.7) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.35; /* subtle shimmer */
}

.contact-info-section::before { top: 0; }
.contact-info-section::after { bottom: 0; }

/* Layout */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: fit-content;
  max-width: 1200px;
  margin: 0 auto;
  font-family: monospace;
  color: #111;
  text-align: left;
}

/* Image */
.contact-image img {
  height: 180px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Text */
.contact-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
}

/* One-line school name on desktop (OWNER-CONTENT-REVIEW-FIXES-1) */
.jhsph-nowrap {
  white-space: nowrap;
}

/* Contact line and emails */
.contact-line {
  margin-top: 2px;
  text-align: left;
}
.email {
  color: #000;
  text-decoration: underline;
  white-space: nowrap;
}
.email:hover {
  color: #0077b5;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 92%;
    gap: 10px;
  }
  .contact-image img {
    height: auto;
    width: 45vw;
    max-width: 180px;
  }
  .contact-text {
    font-size: 0.95rem;
  }
  .contact-line {
    text-align: center;
  }
}


/* ==========================================================
 * PK Hero — canonical theme asset
 * ========================================================== */

/* PK Hero — reusable native hero (prototype: Research). One shared CSS source. */
.pk-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 410px;
  overflow: hidden;
  background: #050505;
  color: #fff;
}

.pk-hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.pk-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.025), transparent 45%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.28));
}

.pk-hero__content {
  width: min(calc(100% - 32px), 900px);
  margin-inline: auto;
  padding: clamp(56px, 8vw, 84px) 0;
  text-align: center;
}

.pk-hero__title {
  margin: 0;
  color: #fff;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-align: center;
  text-wrap: balance;
}

.pk-hero__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 820px);
  margin: clamp(24px, 3vw, 34px) auto 0;
}

.pk-hero__button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: left;
  line-height: 1.15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.pk-hero__button::after {
  content: "›";
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  transition: transform 0.18s ease, color 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pk-hero__button:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.075);
    transform: translateY(-1px);
  }
  .pk-hero__button:hover::after {
    color: #fff;
    transform: translateX(2px);
  }
}

.pk-hero__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Motion control — subtle, non-competing */
.pk-hero__motion {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.pk-hero__motion:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.pk-hero__motion:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.pk-hero__motion[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 680px) {
  .pk-hero {
    min-height: 380px;
  }

  .pk-hero__content {
    width: calc(100% - 20px);
    padding: 52px 0 44px;
  }

  .pk-hero__title {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .pk-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 440px;
    gap: 8px;
    margin-top: 20px;
  }

  .pk-hero__button {
    min-height: 50px;
    padding: 9px 11px;
    font-size: 0.92rem;
  }
}

@media (max-width: 340px) {
  .pk-hero__content {
    width: calc(100% - 12px);
    padding: 44px 0 40px;
  }

  .pk-hero__title {
    font-size: 2rem;
  }

  .pk-hero__button {
    font-size: 0.85rem;
    padding: 8px 9px;
  }

  .pk-hero__motion {
    right: 8px;
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pk-hero__button,
  .pk-hero__button::after,
  .pk-hero__motion {
    transition: none;
  }
}


/* PK_VIDEO_LIBRARY_V1
 * Native Educational Videos gallery.
 */

.pk-video-library {
  background: #080a0f;
  color: #f7f8fb;
  padding: clamp(52px, 7vw, 96px) 20px;
}

.pk-video-library__shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pk-video-library__intro {
  max-width: 780px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.pk-video-library__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9ea8ba;
}

.pk-video-library h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.pk-video-library__lede {
  margin: 0;
  color: #b5bdca;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.pk-video-collection + .pk-video-collection {
  margin-top: clamp(58px, 7vw, 86px);
}

.pk-video-collection__heading {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
}

.pk-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pk-video-card {
  overflow: hidden;
  background: #11151d;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease;
}

.pk-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.24);
}

.pk-video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050608;
}

.pk-video-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

.pk-video-card:hover .pk-video-card__media img {
  transform: scale(1.025);
}

.pk-video-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.02) 30%,
    rgba(0,0,0,.48) 100%
  );
}

.pk-video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #090b10;
  font-size: 22px;
  box-shadow: 0 10px 35px rgba(0,0,0,.28);
}

.pk-video-card__body {
  padding: 22px;
}

.pk-video-card__topic {
  display: inline-block;
  margin-bottom: 11px;
  color: #9fa9ba;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pk-video-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.42;
}

.pk-video-card h3 a {
  color: inherit;
  text-decoration: none;
}

.pk-video-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pk-video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.pk-video-btn--primary {
  background: #fff;
  color: #080a0f;
  border-color: #fff;
}

.pk-video-btn:hover {
  opacity: .86;
}

.pk-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  padding: 24px;
  background: rgba(0,0,0,.88);
  place-items: center;
}

.pk-video-modal[data-open="true"] {
  display: grid;
}

.pk-video-modal[hidden] {
  display: none;
}

.pk-video-modal__dialog {
  position: relative;
  width: min(1000px, 100%);
}

.pk-video-modal__frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
}

.pk-video-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.pk-video-modal__close {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .pk-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pk-video-library {
    padding-inline: 16px;
  }

  .pk-video-grid {
    grid-template-columns: 1fr;
  }

  .pk-video-card__body {
    padding: 19px;
  }
}


/* ==========================================================
   PK_WEBAPPS_MOBILE_LAYOUT_V3
   Mobile Web Apps layout.
   Desktop/tablet remain unchanged.
   ========================================================== */

@media (max-width: 600px) {

    /*
     * The original block forces:
     * grid-template-columns:40% auto
     *
     * That makes the right column too narrow on phones.
     * Stack logo above content instead.
     */
    .pk-app-card .wp-block-media-text {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 18px !important;

        width: 100% !important;
        min-width: 0 !important;

        align-items: center !important;
    }


    /* Logo */
    .pk-app-card .wp-block-media-text__media {
        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        max-width: 250px !important;

        margin: 0 auto !important;
        padding: 0 16px !important;

        text-align: center !important;
    }

    .pk-app-card .wp-block-media-text__media img {
        display: block !important;

        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;

        margin: 0 auto !important;

        object-fit: contain !important;
    }


    /* Text/button area */
    .pk-app-card .wp-block-media-text__content {
        grid-column: 1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        min-width: 0 !important;

        padding: 0 20px 8px !important;

        text-align: left !important;
    }


    /* Button wrapper */
    .pk-app-card .wp-block-buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;

        width: 100% !important;

        margin: 0 !important;
        overflow: visible !important;
    }


    .pk-app-card .wp-block-button {
        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }


    /* Both external-site pills */
    .pk-app-card .wp-block-button__link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;

        white-space: nowrap !important;
        text-wrap: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        -webkit-hyphens: none !important;
        hyphens: none !important;
    }


    /* Description */
    .pk-app-card .wp-block-media-text__content p {
        width: 100% !important;
        max-width: 310px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        word-break: normal !important;
        overflow-wrap: normal !important;

        -webkit-hyphens: none !important;
        hyphens: none !important;
    }

}


/* ==========================================================
   PK_WEBAPPS_CANONICAL_V4
   Canonical Web Apps reusable-block styling.
   Applies wherever wp_block 2585 is rendered.
   ========================================================== */

@media (max-width: 600px) {

    .pk-app-card .wp-block-buttons .wp-block-button__link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;

        padding: 10px 16px !important;

        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;

        white-space: nowrap !important;
        text-wrap: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        -webkit-hyphens: none !important;
        hyphens: none !important;
    }

}

@media (max-width: 430px) {

    .pk-app-card .wp-block-buttons .wp-block-button__link {
        padding-left: 14px !important;
        padding-right: 14px !important;
        font-size: 15px !important;
    }

}

/* ==========================================================
   PK_WEBAPPS_FINAL_V5
   Canonical mobile presentation for reusable Web Apps block 2585.

   Used on:
   - page 617 /web-apps/
   - page 168 /multimedia/

   All URL buttons receive identical typography.
   ========================================================== */

@media (max-width: 600px) {

    body.page-id-617 .pk-app-card .wp-block-media-text,
    body.page-id-168 .pk-app-card .wp-block-media-text {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 18px !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        align-items: center !important;
    }


    body.page-id-617 .pk-app-card .wp-block-media-text__media,
    body.page-id-168 .pk-app-card .wp-block-media-text__media {
        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        max-width: 250px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding-left: 16px !important;
        padding-right: 16px !important;

        text-align: center !important;
    }


    body.page-id-617 .pk-app-card .wp-block-media-text__media img,
    body.page-id-168 .pk-app-card .wp-block-media-text__media img {
        display: block !important;

        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;

        margin-left: auto !important;
        margin-right: auto !important;

        object-fit: contain !important;
    }


    body.page-id-617 .pk-app-card .wp-block-media-text__content,
    body.page-id-168 .pk-app-card .wp-block-media-text__content {
        grid-column: 1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        min-width: 0 !important;

        padding: 0 20px 8px !important;
    }


    /*
     * All four canonical URL buttons:
     * medresearchx.com
     * sivaai.org
     * neuro-risk.com
     * ijsronline.net
     */
    body.page-id-617 .pk-app-card .wp-block-button__link,
    body.page-id-168 .pk-app-card .wp-block-button__link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;

        padding: 10px 16px !important;

        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;

        white-space: nowrap !important;
        text-wrap: nowrap !important;

        word-break: normal !important;
        overflow-wrap: normal !important;

        -webkit-hyphens: none !important;
        hyphens: none !important;
    }


    body.page-id-617 .pk-app-card .wp-block-buttons,
    body.page-id-168 .pk-app-card .wp-block-buttons {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        overflow: visible !important;
    }


    body.page-id-617 .pk-app-card .wp-block-media-text__content p,
    body.page-id-168 .pk-app-card .wp-block-media-text__content p {
        width: 100% !important;
        max-width: 310px !important;

        margin-left: auto !important;
        margin-right: auto !important;

        word-break: normal !important;
        overflow-wrap: normal !important;

        -webkit-hyphens: none !important;
        hyphens: none !important;
    }

}

/* ==========================================================
   PK_EDUCATIONAL_VIDEO_MOBILE_V1

   Canonical presentation for Educational Videos reusable
   publication blocks 1670 / 1681.

   Also prevents Slider Revolution carousel runtime from
   disabling the actual View/Access Video anchor on touch.
   ========================================================== */


/* ---------- Publication text surface ---------- */

body.page-id-619 .pk-video-publications,
body.page-id-168 .pk-video-publications {
    display: flex !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 22px 20px 30px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;
    color: #000000 !important;
}


/* Dedicated publication list */

body.page-id-619 .pk-video-publications__list,
body.page-id-168 .pk-video-publications__list {
    list-style-type: decimal !important;
    list-style-position: outside !important;

    width: 100% !important;
    max-width: 1100px !important;

    margin: 0 auto !important;
    padding-left: 42px !important;
    padding-right: 20px !important;

    box-sizing: border-box !important;

    background: #ffffff !important;
    color: #000000 !important;

    font-family: monospace !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 1.35 !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
}


body.page-id-619 .pk-video-publications__list li,
body.page-id-168 .pk-video-publications__list li {
    margin: 0 0 22px !important;
    padding-left: 8px !important;

    background: transparent !important;
    color: #000000 !important;
}


body.page-id-619 .pk-video-publications__list strong,
body.page-id-168 .pk-video-publications__list strong {
    color: #000000 !important;
    font-weight: 700 !important;
}


/* ---------- Slider video actions ---------- */

/*
 * Slider Revolution may dynamically place pointer-events:none
 * on carousel slide links. !important here intentionally wins
 * over that normal inline runtime declaration for the actual
 * View/Access Video destinations.
 */

body.page-id-619 #gallery a.sr7-layer[href*="youtube.com"],
body.page-id-619 #gallery a.sr7-layer[href*="youtu.be"],
body.page-id-619 #gallery_1 a.sr7-layer[href*="youtube.com"],
body.page-id-619 #gallery_1 a.sr7-layer[href*="youtu.be"],
body.page-id-619 #gallery_1 a.sr7-layer[href*="doi.org"],

body.page-id-168 #gallery a.sr7-layer[href*="youtube.com"],
body.page-id-168 #gallery a.sr7-layer[href*="youtu.be"],
body.page-id-168 #gallery_1 a.sr7-layer[href*="youtube.com"],
body.page-id-168 #gallery_1 a.sr7-layer[href*="youtu.be"],
body.page-id-168 #gallery_1 a.sr7-layer[href*="doi.org"] {
    pointer-events: auto !important;

    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;

    cursor: pointer !important;

    position: relative !important;
    z-index: 50 !important;
}


/*
 * Defensive cleanup: the deleted legacy reusable-block CSS
 * previously generated pseudo-elements on every anchor.
 */

body.page-id-619 #gallery a.sr7-layer::before,
body.page-id-619 #gallery a.sr7-layer::after,
body.page-id-619 #gallery_1 a.sr7-layer::before,
body.page-id-619 #gallery_1 a.sr7-layer::after,

body.page-id-168 #gallery a.sr7-layer::before,
body.page-id-168 #gallery a.sr7-layer::after,
body.page-id-168 #gallery_1 a.sr7-layer::before,
body.page-id-168 #gallery_1 a.sr7-layer::after {
    content: none !important;
    display: none !important;
}


/* ---------- Phone ---------- */

@media (max-width: 600px) {

    body.page-id-619 .pk-video-publications,
    body.page-id-168 .pk-video-publications {
        padding: 18px 18px 26px !important;

        background: #ffffff !important;
        color: #000000 !important;
    }


    body.page-id-619 .pk-video-publications__list,
    body.page-id-168 .pk-video-publications__list {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        padding-left: 30px !important;
        padding-right: 4px !important;

        background: #ffffff !important;
        color: #000000 !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }


    body.page-id-619 .pk-video-publications__list li,
    body.page-id-168 .pk-video-publications__list li {
        padding-left: 5px !important;
        margin-bottom: 22px !important;
    }
}
