
/* Homepage v23: educator-friendly course pricing promotion (test). */
#eypd-refresh #eypd-home-v3 .eh-price-feature,#eypd-refresh #eypd-home-v3 .eh-price-feature * { box-sizing:border-box; }

#eypd-refresh #eypd-home-v3 .eh-price-feature {
  display:flex;
  align-items:center;
  gap:17px;
  max-width:600px;
  margin:20px 0 0;
  padding:15px 19px;
  border:1px solid rgba(209,229,244,.98);
  border-left:5px solid #e23547;
  border-radius:16px;
  background:linear-gradient(115deg,#ffffff 0%,#f0f9ff 100%);
  color:#163451;
  box-shadow:0 12px 28px rgba(0,0,0,.17);
}
#eypd-refresh #eypd-home-v3 .eh-price-figure {
  display:flex;
  flex:0 0 auto;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding-right:17px;
  border-right:1px solid #d9e7f0;
  text-align:center;
}
#eypd-refresh #eypd-home-v3 .eh-price-figure small {
  color:#395d78;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-price-figure strong {
  display:block;
  margin-top:1px;
  color:#c72738;
  font-size:clamp(43px,4.2vw,57px);
  font-weight:950;
  line-height:1.02;
  letter-spacing:-.055em;
}
#eypd-refresh #eypd-home-v3 .eh-price-message {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}
#eypd-refresh #eypd-home-v3 .eh-price-message strong {
  color:#092e55;
  font-size:16px;
  font-weight:900;
  line-height:1.25;
}
#eypd-refresh #eypd-home-v3 .eh-price-message span {
  color:#48667c;
  font-size:12px;
  line-height:1.4;
}
#eypd-refresh #eypd-home-v3 .eh-price-message a {
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:3px;
  color:#0753a6!important;
  font-size:12.5px;
  font-weight:900;
  text-decoration:none!important;
}
#eypd-refresh #eypd-home-v3 .eh-price-message a:hover,#eypd-refresh #eypd-home-v3 .eh-price-message a:focus-visible {
  color:#be2837!important;
  text-decoration:underline!important;
}

#eypd-refresh #eypd-home-v3 .eh-educator-price {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:14px 0;
  padding:10px 14px;
  border:1px solid #cce2f1;
  border-left:4px solid #d12b36;
  border-radius:10px;
  background:#f1f8fd;
}
#eypd-refresh #eypd-home-v3 .eh-educator-price span {
  font-size:12px;
  font-weight:800;
  color:#426077;
}
#eypd-refresh #eypd-home-v3 .eh-educator-price strong {
  white-space:nowrap;
  font-size:19px;
  font-weight:950;
  color:#be2636;
}
@media (max-width:600px) {
  #eypd-refresh #eypd-home-v3 .eh-price-feature {gap:12px;padding:13px;}
  #eypd-refresh #eypd-home-v3 .eh-price-figure {padding-right:12px;}
  #eypd-refresh #eypd-home-v3 .eh-price-figure strong {font-size:43px;}
  #eypd-refresh #eypd-home-v3 .eh-price-message strong {font-size:14px;}
  #eypd-refresh #eypd-home-v3 .eh-price-message span {font-size:11.5px;}
}
@media (max-width:375px) {
  #eypd-refresh #eypd-home-v3 .eh-price-feature {align-items:stretch;flex-direction:column;}
  #eypd-refresh #eypd-home-v3 .eh-price-figure {border-right:0;border-bottom:1px solid #d9e7f0;padding:0 0 8px;}
}


#eypd-refresh #eypd-home-v3,#eypd-refresh #eypd-home-v3 *{box-sizing:border-box}

#eypd-refresh #eypd-home-v3{
  --navy:#061d36;
  --navy2:#0a2947;
  --blue:#0753a6;
  --blue2:#0d67c8;
  --cyan:#17a8d8;
  --cyan2:#7adcf6;
  --red:#d12b36;
  --red2:#ef4a56;
  --ink:#142033;
  --text:#455b70;
  --muted:#6b7b8e;
  --line:#d9e6ef;
  --soft:#f4f8fb;
  --soft2:#edf7fb;
  --white:#fff;

  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  line-height:1.58;
  width:calc(100vw - 32px);
  max-width:none;
  margin-left:calc(50% - 50vw + 16px);
  margin-right:calc(50% - 50vw + 16px);
  overflow:hidden;
}
#eypd-refresh #eypd-home-v3 a{text-decoration:none}
#eypd-refresh #eypd-home-v3 .eh-wrap{width:100%;padding:0 24px}
#eypd-refresh #eypd-home-v3 .eh-content{width:min(1460px,100%);margin:0 auto}

/* ======================================================
   BRAND HEADER
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-brandbar{
  width:min(1460px,100%);
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 22px rgba(20,54,87,.05);
}
#eypd-refresh #eypd-home-v3 .eh-brand-logo{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
#eypd-refresh #eypd-home-v3 .eh-brand-logo img{
  width:280px;
  max-width:42vw;
  height:auto;
  display:block;
}
#eypd-refresh #eypd-home-v3 .eh-brand-copy{
  padding-left:16px;
  border-left:1px solid var(--line);
}
#eypd-refresh #eypd-home-v3 .eh-brand-copy strong{
  display:block;
  color:var(--navy);
  font-size:12px;
  letter-spacing:.07em;
  text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-brand-copy span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:10px;
}
#eypd-refresh #eypd-home-v3 .eh-brand-contact{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
#eypd-refresh #eypd-home-v3 .eh-brand-contact a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 11px;
  border-radius:9px;
  border:1px solid #cfe0eb;
  color:var(--blue)!important;
  background:#fff;
  font-size:10px;
  font-weight:900;
}
#eypd-refresh #eypd-home-v3 .eh-brand-contact a:first-child{
  color:#fff!important;
  background:var(--blue);
  border-color:var(--blue);
}

/* ======================================================
   BIG RECTANGLE MENU
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-main-menu{
  width:min(1460px,100%);
  margin:0 auto 18px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu a{
  position:relative;
  overflow:hidden;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-radius:13px;
  border:1px solid #cfdee8;
  background:
    linear-gradient(135deg,rgba(255,255,255,.82),rgba(238,247,252,.74));
  color:var(--ink)!important;
  box-shadow:0 6px 16px rgba(20,54,87,.045);
  backdrop-filter:blur(8px);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu a:hover{
  transform:translateY(-5px);
  box-shadow:0 16px 30px rgba(20,54,87,.10);
  border-color:#a9cde3;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu a:before{
  content:"";
  position:absolute;
  left:0;top:0;
  width:5px;height:100%;
  background:var(--blue);
}
#eypd-refresh #eypd-home-v3 .eh-main-menu a:nth-child(2):before,#eypd-refresh #eypd-home-v3 .eh-main-menu a:nth-child(6):before{background:var(--red)}
#eypd-refresh #eypd-home-v3 .eh-main-menu a:nth-child(3):before,#eypd-refresh #eypd-home-v3 .eh-main-menu a:nth-child(7):before{background:#7557a7}
#eypd-refresh #eypd-home-v3 .eh-main-menu a:nth-child(4):before,#eypd-refresh #eypd-home-v3 .eh-main-menu a:nth-child(8):before{background:#178a8f}
#eypd-refresh #eypd-home-v3 .eh-menu-copy small{
  display:block;
  color:var(--muted);
  font-size:8.5px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-menu-copy strong{
  display:block;
  margin-top:3px;
  color:var(--ink);
  font-size:12.5px;
  line-height:1.2;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu b{
  flex:0 0 auto;
  color:var(--blue);
  font-size:18px;
}

/* ======================================================
   SHORT HERO + MOTION BRANDING
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-hero{
  position:relative;
  overflow:hidden;
  min-height:360px;
  padding:42px 50px;
  border-radius:27px;
  color:#fff;
  background:
    radial-gradient(circle at 94% 2%,rgba(48,170,220,.20) 0 16%,transparent 16.5%),
    linear-gradient(118deg,#04182e 0%,#06417b 58%,#0b79a7 100%);
  box-shadow:0 24px 50px rgba(6,29,54,.18),0 8px 18px rgba(6,29,54,.09);
  border:1px solid rgba(255,255,255,.10);
}
#eypd-refresh #eypd-home-v3 .eh-hero-left{
  position:absolute;left:0;top:0;width:7px;height:100%;
  background:linear-gradient(180deg,var(--red),var(--red2) 42%,rgba(239,74,86,.65) 70%,transparent 100%);
}
#eypd-refresh #eypd-home-v3 .eh-hero-right{
  position:absolute;right:28px;bottom:0;width:106px;height:6px;
  border-radius:99px 99px 0 0;background:var(--red);
}
#eypd-refresh #eypd-home-v3 .eh-hero-grid{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(400px,.98fr);
  gap:42px;
  align-items:center;
}
#eypd-refresh #eypd-home-v3 .eh-kicker{
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.08);
  color:#dff7ff;font-size:9.5px;font-weight:900;
  letter-spacing:.1em;text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-kicker:before{
  content:"";width:7px;height:7px;border-radius:50%;background:var(--red);
}
#eypd-refresh #eypd-home-v3 .eh-hero h1{
  max-width:780px;
  margin:15px 0 14px;
  color:#fff;
  font-size:clamp(39px,4.5vw,59px);
  line-height:1.01;
  letter-spacing:-.045em;
}
#eypd-refresh #eypd-home-v3 .eh-hero h1 span{
  display:block;color:var(--cyan2);
}
#eypd-refresh #eypd-home-v3 .eh-hero-copy>p{
  max-width:760px;margin:0;color:#d7e7f1;font-size:15px;
}
#eypd-refresh #eypd-home-v3 .eh-hero-actions{
  display:flex;flex-wrap:wrap;gap:9px;margin-top:21px;
}
#eypd-refresh #eypd-home-v3 .eh-hero-actions a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:10px 14px;border-radius:9px;
  font-size:10.5px;font-weight:900;
}
#eypd-refresh #eypd-home-v3 .eh-primary{color:var(--blue)!important;background:#fff}
#eypd-refresh #eypd-home-v3 .eh-secondary{
  color:#fff!important;border:1px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.06);
}

/* Video card */
#eypd-refresh #eypd-home-v3 .eh-video-card{
  position:relative;
  overflow:hidden;
  padding:10px;
  border-radius:21px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 40px rgba(0,0,0,.20);
  backdrop-filter:blur(9px);
}
#eypd-refresh #eypd-home-v3 .eh-video-top{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:3px 4px 9px;
}
#eypd-refresh #eypd-home-v3 .eh-video-top span{
  color:#d9f3fb;font-size:9px;font-weight:900;
  letter-spacing:.1em;text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-video-toggle{
  border:0;border-radius:999px;
  padding:5px 8px;
  background:rgba(255,255,255,.12);
  color:#fff;font-family:inherit;font-size:8.5px;font-weight:850;
  cursor:pointer;
}
#eypd-refresh #eypd-home-v3 .eh-video-frame{
  position:relative;aspect-ratio:16/9;
  overflow:hidden;border-radius:14px;background:#fff;
}
#eypd-refresh #eypd-home-v3 .eh-video-frame video{
  width:100%;height:100%;display:block;object-fit:cover;background:#fff;
}
#eypd-refresh #eypd-home-v3 .eh-video-caption{
  margin:9px 4px 2px;color:#c8e0ed;font-size:9.5px;
}

/* ======================================================
   SECTION BASICS
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-section{padding:56px 0}
#eypd-refresh #eypd-home-v3 .eh-soft{background:linear-gradient(180deg,#f7fafc,#fff)}
#eypd-refresh #eypd-home-v3 .eh-eyebrow{
  color:var(--red);font-size:10px;font-weight:900;
  letter-spacing:.13em;text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-section h2{
  max-width:940px;margin:7px 0 11px;color:var(--ink);
  font-size:clamp(32px,3.8vw,46px);line-height:1.06;letter-spacing:-.038em;
}
#eypd-refresh #eypd-home-v3 .eh-lead{
  max-width:930px;margin:0;color:var(--muted);font-size:14px;
}

/* ======================================================
   ABOUT
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-about-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);
  gap:44px;align-items:center;
}
#eypd-refresh #eypd-home-v3 .eh-about-copy p{
  max-width:860px;color:var(--text);font-size:14px;
}
#eypd-refresh #eypd-home-v3 .eh-about-callout{
  margin-top:18px;padding:15px 17px;border-left:4px solid var(--red);
  border-radius:9px;background:#fff4f5;color:#5b5056;font-size:12px;
}
#eypd-refresh #eypd-home-v3 .eh-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
}
#eypd-refresh #eypd-home-v3 .eh-stat{
  min-height:126px;padding:18px;border:1px solid var(--line);
  border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(20,54,87,.055);
}
#eypd-refresh #eypd-home-v3 .eh-stat strong{display:block;color:var(--blue);font-size:24px;line-height:1}
#eypd-refresh #eypd-home-v3 .eh-stat span{display:block;margin-top:7px;color:var(--ink);font-size:11px;font-weight:850}
#eypd-refresh #eypd-home-v3 .eh-stat small{display:block;margin-top:3px;color:var(--muted);font-size:9.5px}

/* ======================================================
   WHAT WE DO
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-services{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;margin-top:28px;
}
#eypd-refresh #eypd-home-v3 .eh-service{
  overflow:hidden;border:1px solid var(--line);border-radius:21px;
  background:#fff;box-shadow:0 10px 26px rgba(20,54,87,.07);
}
#eypd-refresh #eypd-home-v3 .eh-service-head{
  min-height:150px;padding:22px;display:flex;align-items:flex-end;color:#fff;
}
#eypd-refresh #eypd-home-v3 .eh-service.edu .eh-service-head{background:linear-gradient(135deg,#0f2c59,#0753a6 60%,#2d94df)}
#eypd-refresh #eypd-home-v3 .eh-service.pro .eh-service-head{background:linear-gradient(135deg,#342c5d,#67549a 60%,#8d77bd)}
#eypd-refresh #eypd-home-v3 .eh-service.it .eh-service-head{background:linear-gradient(135deg,#123b48,#197184 60%,#2aa6a8)}
#eypd-refresh #eypd-home-v3 .eh-service-head small{
  display:block;color:#d8f1fb;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-service-head strong{display:block;margin-top:5px;color:#fff;font-size:22px}
#eypd-refresh #eypd-home-v3 .eh-service-body{padding:20px}
#eypd-refresh #eypd-home-v3 .eh-service-body p{margin:0 0 13px;color:var(--text);font-size:12.5px;min-height:82px}
#eypd-refresh #eypd-home-v3 .eh-service-body ul{margin:0 0 15px;padding-left:18px;color:var(--muted);font-size:10.8px}
#eypd-refresh #eypd-home-v3 .eh-service-body li{margin:4px 0}
#eypd-refresh #eypd-home-v3 .eh-service-body a{color:var(--blue)!important;font-size:11.5px;font-weight:900}

/* ======================================================
   PROFESSIONAL LEARNING DETAIL
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-learning-grid{
  display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:28px;align-items:stretch;margin-top:28px;
}
#eypd-refresh #eypd-home-v3 .eh-learning-process{
  padding:27px;border-radius:22px;color:#fff;
  background:linear-gradient(135deg,#061d36,#0b4b81);
  box-shadow:0 16px 36px rgba(6,29,54,.14);
}
#eypd-refresh #eypd-home-v3 .eh-learning-process h3{margin:0 0 10px;color:#fff;font-size:26px}
#eypd-refresh #eypd-home-v3 .eh-learning-process>p{margin:0;color:#d0e1eb;font-size:12.5px}
#eypd-refresh #eypd-home-v3 .eh-steps{display:grid;gap:10px;margin-top:20px}
#eypd-refresh #eypd-home-v3 .eh-step{
  display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;
  padding:12px;border-radius:12px;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.10);
}
#eypd-refresh #eypd-home-v3 .eh-step b{
  width:32px;height:32px;display:grid;place-items:center;border-radius:50%;
  background:#fff;color:var(--blue);font-size:9px;
}
#eypd-refresh #eypd-home-v3 .eh-step strong{display:block;color:#fff;font-size:11.5px}
#eypd-refresh #eypd-home-v3 .eh-step span{display:block;margin-top:2px;color:#c9dce7;font-size:9.8px}
#eypd-refresh #eypd-home-v3 .eh-topic-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
}
#eypd-refresh #eypd-home-v3 .eh-topic{
  min-height:116px;padding:16px;border:1px solid var(--line);border-radius:15px;
  background:#fff;box-shadow:0 6px 16px rgba(20,54,87,.04);
}
#eypd-refresh #eypd-home-v3 .eh-topic small{
  color:var(--red);font-size:8.5px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-topic strong{display:block;margin-top:4px;color:var(--ink);font-size:13px}
#eypd-refresh #eypd-home-v3 .eh-topic span{display:block;margin-top:5px;color:var(--muted);font-size:9.8px}

/* ======================================================
   SCHOOL / IT DETAIL SPLITS
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-info-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px;
}
#eypd-refresh #eypd-home-v3 .eh-info-card{
  padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff;
  box-shadow:0 8px 22px rgba(20,54,87,.05);
}
#eypd-refresh #eypd-home-v3 .eh-info-card h3{margin:0 0 7px;color:var(--ink);font-size:21px}
#eypd-refresh #eypd-home-v3 .eh-info-card p{margin:0 0 12px;color:var(--muted);font-size:12.5px}
#eypd-refresh #eypd-home-v3 .eh-info-card ul{margin:0;padding-left:18px;color:var(--text);font-size:11px}
#eypd-refresh #eypd-home-v3 .eh-info-card li{margin:5px 0}
#eypd-refresh #eypd-home-v3 .eh-info-card a{display:inline-flex;margin-top:15px;color:var(--blue)!important;font-size:11.5px;font-weight:900}

/* ======================================================
   WHY EYPD
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-why{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;margin-top:26px;
}
#eypd-refresh #eypd-home-v3 .eh-why article{
  padding:19px;border:1px solid var(--line);border-radius:17px;background:#fff;
  box-shadow:0 8px 22px rgba(20,54,87,.05);
}
#eypd-refresh #eypd-home-v3 .eh-why b{
  width:36px;height:36px;display:grid;place-items:center;margin-bottom:10px;
  border-radius:10px;color:#fff;background:linear-gradient(145deg,var(--blue),var(--cyan));font-size:10px;
}
#eypd-refresh #eypd-home-v3 .eh-why article:nth-child(2) b,#eypd-refresh #eypd-home-v3 .eh-why article:nth-child(5) b{background:linear-gradient(145deg,#a13a49,#df5a65)}
#eypd-refresh #eypd-home-v3 .eh-why article:nth-child(3) b,#eypd-refresh #eypd-home-v3 .eh-why article:nth-child(6) b{background:linear-gradient(145deg,#197184,#2aa6a8)}
#eypd-refresh #eypd-home-v3 .eh-why strong{display:block;color:var(--ink);font-size:13.5px}
#eypd-refresh #eypd-home-v3 .eh-why p{margin:5px 0 0;color:var(--muted);font-size:11px}

/* ======================================================
   CEU
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-ceu{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);
  gap:28px;align-items:center;padding:30px;border-radius:23px;
  border:1px solid #cfe3f0;background:linear-gradient(110deg,#edf8fd,#fff);
  box-shadow:0 14px 34px rgba(20,54,87,.06);
}
#eypd-refresh #eypd-home-v3 .eh-ceu h3{margin:7px 0 8px;color:var(--ink);font-size:28px}
#eypd-refresh #eypd-home-v3 .eh-ceu p{margin:0;color:var(--muted);font-size:12.5px}
#eypd-refresh #eypd-home-v3 .eh-ceu-side{
  padding:20px;border-radius:18px;color:#fff;background:linear-gradient(135deg,#061d36,#0b4b81);
}
#eypd-refresh #eypd-home-v3 .eh-ceu-side span{
  display:block;color:#8edff8;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;
}
#eypd-refresh #eypd-home-v3 .eh-ceu-side strong{display:block;margin:6px 0 6px;color:#fff;font-size:17px}
#eypd-refresh #eypd-home-v3 .eh-ceu-side p{color:#d0e1eb;font-size:10.8px}
#eypd-refresh #eypd-home-v3 .eh-ceu-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
#eypd-refresh #eypd-home-v3 .eh-ceu-actions a{
  padding:8px 10px;border-radius:8px;background:#fff;color:var(--blue)!important;font-size:9.8px;font-weight:900;
}

/* ======================================================
   TRUST
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-trust{
  display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px;
}
#eypd-refresh #eypd-home-v3 .eh-trust-card{
  min-height:245px;padding:24px;border:1px solid var(--line);border-radius:20px;
  background:#fff;box-shadow:0 9px 24px rgba(20,54,87,.06);
}
#eypd-refresh #eypd-home-v3 .eh-trust-card h3{margin:7px 0 8px;color:var(--ink);font-size:22px}
#eypd-refresh #eypd-home-v3 .eh-trust-card p{color:var(--muted);font-size:12.3px}
#eypd-refresh #eypd-home-v3 .eh-trust-card a{color:var(--blue)!important;font-size:11.5px;font-weight:900}

/* ======================================================
   EYPD IN FOCUS
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-focus-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;margin-top:24px;
}
#eypd-refresh #eypd-home-v3 .eh-focus-card{
  overflow:hidden;border-radius:17px;border:1px solid var(--line);
  background:#fff;box-shadow:0 8px 20px rgba(20,54,87,.05);
}
#eypd-refresh #eypd-home-v3 .eh-focus-card img{
  width:100%;aspect-ratio:16/9;object-fit:cover;display:block;
}
#eypd-refresh #eypd-home-v3 .eh-focus-card strong{
  display:block;padding:11px 13px;color:var(--ink);font-size:11px;
}

/* ======================================================
   FINAL
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-final{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:32px;border:1px solid #cfe3ef;border-radius:22px;
  background:linear-gradient(110deg,#eef8fd,#fff);box-shadow:0 12px 28px rgba(20,54,87,.05);
}
#eypd-refresh #eypd-home-v3 .eh-final h3{margin:6px 0 5px;color:var(--ink);font-size:27px}
#eypd-refresh #eypd-home-v3 .eh-final p{margin:0;max-width:780px;color:var(--muted);font-size:12.5px}
#eypd-refresh #eypd-home-v3 .eh-final-actions{display:flex;flex-wrap:wrap;gap:8px}
#eypd-refresh #eypd-home-v3 .eh-final-actions a{
  display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:9px 13px;
  border-radius:9px;font-size:10.5px;font-weight:900;
}
#eypd-refresh #eypd-home-v3 .eh-final-actions a:first-child{color:#fff!important;background:var(--blue)}
#eypd-refresh #eypd-home-v3 .eh-final-actions a:last-child{color:var(--blue)!important;background:#fff;border:1px solid #bfd8ec}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media(max-width:1150px){
  #eypd-refresh #eypd-home-v3 .eh-main-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
  #eypd-refresh #eypd-home-v3 .eh-hero-grid,#eypd-refresh #eypd-home-v3 .eh-about-grid,#eypd-refresh #eypd-home-v3 .eh-learning-grid,#eypd-refresh #eypd-home-v3 .eh-ceu{grid-template-columns:1fr}
  #eypd-refresh #eypd-home-v3 .eh-services{grid-template-columns:1fr 1fr}
  #eypd-refresh #eypd-home-v3 .eh-focus-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:850px){
  #eypd-refresh #eypd-home-v3 .eh-brandbar{align-items:flex-start;flex-direction:column}
  #eypd-refresh #eypd-home-v3 .eh-brand-contact{justify-content:flex-start}
  #eypd-refresh #eypd-home-v3 .eh-services,#eypd-refresh #eypd-home-v3 .eh-info-grid,#eypd-refresh #eypd-home-v3 .eh-trust{grid-template-columns:1fr}
  #eypd-refresh #eypd-home-v3 .eh-why{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  #eypd-refresh #eypd-home-v3{
    width:calc(100vw - 16px);
    margin-left:calc(50% - 50vw + 8px);
    margin-right:calc(50% - 50vw + 8px);
  }
  #eypd-refresh #eypd-home-v3 .eh-wrap{padding:0 10px}
  #eypd-refresh #eypd-home-v3 .eh-brand-logo{align-items:flex-start;flex-direction:column}
  #eypd-refresh #eypd-home-v3 .eh-brand-copy{padding-left:0;border-left:0}
  #eypd-refresh #eypd-home-v3 .eh-brand-logo img{max-width:90vw;width:270px}
  #eypd-refresh #eypd-home-v3 .eh-main-menu,#eypd-refresh #eypd-home-v3 .eh-stats,#eypd-refresh #eypd-home-v3 .eh-topic-grid,#eypd-refresh #eypd-home-v3 .eh-why,#eypd-refresh #eypd-home-v3 .eh-focus-grid{grid-template-columns:1fr}
  #eypd-refresh #eypd-home-v3 .eh-hero{min-height:0;padding:38px 18px;border-radius:20px}
  #eypd-refresh #eypd-home-v3 .eh-section{padding:42px 0}
  #eypd-refresh #eypd-home-v3 .eh-service-body p{min-height:0}
  #eypd-refresh #eypd-home-v3 .eh-final{flex-direction:column;align-items:flex-start}
  #eypd-refresh #eypd-home-v3 .eh-final-actions,#eypd-refresh #eypd-home-v3 .eh-final-actions a{width:100%}
}
@media(prefers-reduced-motion:reduce){
  #eypd-refresh #eypd-home-v3 *,#eypd-refresh #eypd-home-v3 *:before,#eypd-refresh #eypd-home-v3 *:after{transition:none!important}
}

/* ======================================================
   HOMEPAGE v4 — TIGHTER HEADER + BETTER ALIGNMENT
   Requested refinements:
   - smaller hero
   - brand bar, menu, hero, and body aligned to same width
   - larger menu wording
   - more menu spacing
   - larger hero action links
   - useful content in the previously empty brand-header space
   ====================================================== */

/* One consistent page width across the top and body */
#eypd-refresh #eypd-home-v3 .eh-brandbar,#eypd-refresh #eypd-home-v3 .eh-main-menu,#eypd-refresh #eypd-home-v3 .eh-hero,#eypd-refresh #eypd-home-v3 .eh-content{
    width:min(1540px,100%)!important;
    max-width:1540px!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Make the logo/header bar more balanced */
#eypd-refresh #eypd-home-v3 .eh-brandbar{
    display:grid!important;
    grid-template-columns:minmax(360px,.95fr) minmax(430px,1.15fr) auto!important;
    align-items:center!important;
    gap:24px!important;
    padding:12px 16px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-logo img{
    width:255px!important;
    max-width:255px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy{
    padding-left:14px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy strong{
    font-size:11px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy span{
    font-size:9.3px!important;
}

/* Fill the formerly empty middle area with useful facts */
#eypd-refresh #eypd-home-v3 .eh-brand-center{
    min-width:0;
    padding:10px 14px;
    border-left:1px solid var(--line);
    border-right:1px solid var(--line);
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-label{
    margin-bottom:7px;
    color:var(--red);
    font-size:8.5px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid>div{
    min-width:0;
    padding:8px 9px;
    border:1px solid #dce7ef;
    border-radius:10px;
    background:#f8fbfd;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid strong{
    display:block;
    color:var(--blue);
    font-size:13px;
    line-height:1.05;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid span{
    display:block;
    margin-top:2px;
    color:#6f8192;
    font-size:8.3px;
    line-height:1.2;
}

/* Navigation: slightly more air and easier-to-read wording */
#eypd-refresh #eypd-home-v3 .eh-main-menu{
    gap:12px!important;
    margin-top:16px!important;
    margin-bottom:18px!important;
}

#eypd-refresh #eypd-home-v3 .eh-main-menu a{
    min-height:78px!important;
    padding:15px 17px!important;
}

#eypd-refresh #eypd-home-v3 .eh-menu-copy small{
    font-size:9.2px!important;
}

#eypd-refresh #eypd-home-v3 .eh-menu-copy strong{
    font-size:14px!important;
    line-height:1.22!important;
}

#eypd-refresh #eypd-home-v3 .eh-main-menu b{
    font-size:20px!important;
}

/* Shorter, cleaner hero — same exact width as the menu */
#eypd-refresh #eypd-home-v3 .eh-hero{
    min-height:300px!important;
    padding:30px 42px!important;
    margin-top:0!important;
}

#eypd-refresh #eypd-home-v3 .eh-hero-grid{
    grid-template-columns:minmax(0,1.02fr) minmax(390px,.98fr)!important;
    gap:34px!important;
}

#eypd-refresh #eypd-home-v3 .eh-hero h1{
    max-width:760px!important;
    margin-top:12px!important;
    margin-bottom:10px!important;
    font-size:clamp(36px,4vw,53px)!important;
}

#eypd-refresh #eypd-home-v3 .eh-hero-copy>p{
    max-width:735px!important;
    font-size:14px!important;
    line-height:1.48!important;
}

/* Make Browse Courses / Explore Services more prominent */
#eypd-refresh #eypd-home-v3 .eh-hero-actions{
    margin-top:17px!important;
}

#eypd-refresh #eypd-home-v3 .eh-hero-actions a{
    min-height:46px!important;
    padding:11px 17px!important;
    font-size:13px!important;
    letter-spacing:.01em;
}

/* Keep the intro video compact enough for the smaller hero */
#eypd-refresh #eypd-home-v3 .eh-video-card{
    max-width:590px!important;
    margin-left:auto!important;
    padding:9px!important;
}

#eypd-refresh #eypd-home-v3 .eh-video-frame{
    aspect-ratio:16/8.2!important;
}

#eypd-refresh #eypd-home-v3 .eh-video-caption{
    font-size:9px!important;
}

/* Body sections align to the same top width and use space a little better */
#eypd-refresh #eypd-home-v3 .eh-about-grid{
    grid-template-columns:minmax(0,1.25fr) minmax(420px,.75fr)!important;
    gap:34px!important;
}

#eypd-refresh #eypd-home-v3 .eh-stats{
    gap:10px!important;
}

#eypd-refresh #eypd-home-v3 .eh-stat{
    min-height:112px!important;
    padding:16px!important;
}

/* A little more presence in lower informational blocks */
#eypd-refresh #eypd-home-v3 .eh-why article{
    min-height:142px;
}

#eypd-refresh #eypd-home-v3 .eh-final{
    padding:34px 38px!important;
}

#eypd-refresh #eypd-home-v3 .eh-final h3{
    font-size:29px!important;
}

/* Tablet */
@media(max-width:1200px){
    #eypd-refresh #eypd-home-v3 .eh-brandbar{
        grid-template-columns:1fr!important;
        align-items:start!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center{
        width:100%;
        border-left:0;
        border-right:0;
        border-top:1px solid var(--line);
        border-bottom:1px solid var(--line);
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-contact{
        justify-content:flex-start!important;
    }
}

/* Mobile */
@media(max-width:650px){
    #eypd-refresh #eypd-home-v3 .eh-brand-logo img{
        width:235px!important;
        max-width:86vw!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center-grid{
        grid-template-columns:1fr 1fr;
    }

    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        gap:9px!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-main-menu a{
        min-height:68px!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-menu-copy strong{
        font-size:13px!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-hero{
        min-height:0!important;
        padding:34px 18px!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-hero-actions a{
        width:100%;
    }
}

/* ======================================================
   HOMEPAGE v5 — RICHER FINAL QUICK-LINK SECTION
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-final{
    display:grid!important;
    grid-template-columns:minmax(320px,.72fr) minmax(680px,1.28fr)!important;
    gap:34px!important;
    align-items:center!important;
    padding:38px 40px!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-copy h3{
    margin:7px 0 7px!important;
    font-size:31px!important;
    line-height:1.08!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-copy p{
    margin:0!important;
    max-width:570px!important;
    font-size:13.5px!important;
    line-height:1.55!important;
}

/* Larger, menu-style links */
#eypd-refresh #eypd-home-v3 .eh-final-menu{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:11px;
    align-items:stretch;
}

#eypd-refresh #eypd-home-v3 .eh-final-course-group{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
}

#eypd-refresh #eypd-home-v3 .eh-final-link{
    position:relative;
    min-height:68px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:13px 15px!important;
    border:1px solid #c7ddea!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.86)!important;
    color:var(--ink)!important;
    box-shadow:0 6px 16px rgba(20,54,87,.045)!important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-link:hover{
    transform:translateY(-4px);
    border-color:#9fc6df!important;
    box-shadow:0 14px 28px rgba(20,54,87,.10)!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-link small{
    display:block;
    margin-bottom:2px;
    color:#73879a;
    font-size:9px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

#eypd-refresh #eypd-home-v3 .eh-final-link strong{
    display:block;
    color:var(--ink);
    font-size:14px;
    line-height:1.15;
}

#eypd-refresh #eypd-home-v3 .eh-final-link b{
    color:var(--blue);
    font-size:20px;
}

/* Main course link gets stronger emphasis */
#eypd-refresh #eypd-home-v3 .eh-final-primary{
    min-height:76px!important;
    background:linear-gradient(135deg,var(--blue),#0d6cc7)!important;
    border-color:var(--blue)!important;
    color:#fff!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-primary small{
    color:#bfe9fb!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-primary strong,#eypd-refresh #eypd-home-v3 .eh-final-primary b{
    color:#fff!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-login{
    min-height:58px!important;
    background:#f7fbfd!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-login strong{
    color:var(--blue)!important;
}

/* Contact is also easy to find */
#eypd-refresh #eypd-home-v3 .eh-final-contact{
    border-left:4px solid var(--red)!important;
}

/* Slightly larger top navigation words too */
#eypd-refresh #eypd-home-v3 .eh-menu-copy strong{
    font-size:14.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-menu-copy small{
    font-size:9.4px!important;
}

@media(max-width:1150px){
    #eypd-refresh #eypd-home-v3 .eh-final{
        grid-template-columns:1fr!important;
    }
}

@media(max-width:760px){
    #eypd-refresh #eypd-home-v3 .eh-final-menu{
        grid-template-columns:1fr!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-final-link,#eypd-refresh #eypd-home-v3 .eh-final-primary,#eypd-refresh #eypd-home-v3 .eh-final-login{
        min-height:64px!important;
    }
}

/* ======================================================
   HOMEPAGE v6 — MENU ALIGNMENT + LARGER HEADER TEXT
   ====================================================== */

/* ---------- TOP MENU: 4 columns x 2 rows ---------- */
#eypd-refresh #eypd-home-v3 .eh-main-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
}

#eypd-refresh #eypd-home-v3 .eh-main-menu a{
    width:100%!important;
    min-height:80px!important;
    height:100%!important;
}

/* Course Login is now directly under Courses */
#eypd-refresh #eypd-home-v3 .eh-top-course-login{
    background:linear-gradient(135deg,#f4f9fc,#ffffff)!important;
}

/* ---------- TOP BRAND BAR: make words easier to read ---------- */
#eypd-refresh #eypd-home-v3 .eh-brand-copy strong{
    font-size:14.5px!important;
    line-height:1.2!important;
    letter-spacing:.035em!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy span{
    margin-top:5px!important;
    font-size:11.5px!important;
    line-height:1.35!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-label{
    font-size:10.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid strong{
    font-size:14.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid span{
    font-size:10.5px!important;
    line-height:1.25!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-contact a{
    min-height:42px!important;
    padding:9px 13px!important;
    font-size:12.5px!important;
}

/* ---------- BOTTOM: perfectly aligned 3 x 2 grid ---------- */
#eypd-refresh #eypd-home-v3 .eh-final{
    grid-template-columns:minmax(310px,.62fr) minmax(760px,1.38fr)!important;
    gap:34px!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-menu{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(76px,auto))!important;
    gap:12px!important;
    align-items:stretch!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-link,#eypd-refresh #eypd-home-v3 .eh-final-primary,#eypd-refresh #eypd-home-v3 .eh-final-login{
    width:100%!important;
    min-height:76px!important;
    height:100%!important;
    margin:0!important;
}

/* Keep Course Login visually under Browse Courses */
#eypd-refresh #eypd-home-v3 .eh-final-menu .eh-final-primary{
    grid-column:1!important;
    grid-row:1!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-menu .eh-final-login{
    grid-column:1!important;
    grid-row:2!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(2){
    grid-column:2!important;
    grid-row:1!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(3){
    grid-column:3!important;
    grid-row:1!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(5){
    grid-column:2!important;
    grid-row:2!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(6){
    grid-column:3!important;
    grid-row:2!important;
}

/* Bigger bottom wording */
#eypd-refresh #eypd-home-v3 .eh-final-link small{
    font-size:9.6px!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-link strong{
    font-size:15px!important;
}

#eypd-refresh #eypd-home-v3 .eh-final-link b{
    font-size:21px!important;
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1150px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-final{
        grid-template-columns:1fr!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-final-menu{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        grid-template-rows:auto!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-final-menu .eh-final-primary,#eypd-refresh #eypd-home-v3 .eh-final-menu .eh-final-login,#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(2),#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(3),#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(5),#eypd-refresh #eypd-home-v3 .eh-final-menu a:nth-child(6){
        grid-column:auto!important;
        grid-row:auto!important;
    }
}

@media(max-width:650px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu,#eypd-refresh #eypd-home-v3 .eh-final-menu{
        grid-template-columns:1fr!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-final-link,#eypd-refresh #eypd-home-v3 .eh-final-primary,#eypd-refresh #eypd-home-v3 .eh-final-login{
        min-height:68px!important;
    }
}

/* ======================================================
   HOMEPAGE v7 — ACADEMIC PRO DEFAULT TEMPLATE FIX
   Removes Archives/sidebar on the Home page only and
   lets the custom EYPD homepage use the full page width.
   ====================================================== */

/* Hide the default-template sidebar / Archives area */
#eypd-refresh.page-id-192 #content #secondary,#eypd-refresh.page-id-192 #content .widget-area,#eypd-refresh.page-id-192 #content aside.sidebar,#eypd-refresh.page-id-192 #content .sidebar,#eypd-refresh.home #content #secondary,#eypd-refresh.home #content .widget-area,#eypd-refresh.home #content aside.sidebar,#eypd-refresh.home #content .sidebar {
    display:none !important;
}

/* Make the main Home page content occupy the full row */
#eypd-refresh.page-id-192 #content #primary,#eypd-refresh.page-id-192 #content .content-area,#eypd-refresh.page-id-192 #content #main,#eypd-refresh.page-id-192 #content .site-main,#eypd-refresh.page-id-192 #content article,#eypd-refresh.page-id-192 #content .entry-content,#eypd-refresh.home #content #primary,#eypd-refresh.home #content .content-area,#eypd-refresh.home #content #main,#eypd-refresh.home #content .site-main,#eypd-refresh.home #content article,#eypd-refresh.home #content .entry-content {
    width:100% !important;
    max-width:100% !important;
    float:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
}

/* Remove Academic Pro's narrow container restrictions on Home */
#eypd-refresh.page-id-192 #content .container,#eypd-refresh.page-id-192 #content .row,#eypd-refresh.home #content .container,#eypd-refresh.home #content .row {
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

/* Hide the theme page-title / breadcrumb banner if it appears */
#eypd-refresh.page-id-192 #page > .page-header,#eypd-refresh.page-id-192 #content > .page-header,#eypd-refresh.page-id-192 .page-header,#eypd-refresh.home #page > .page-header,#eypd-refresh.home #content > .page-header,#eypd-refresh.home .page-header {
    display:none !important;
}

/* Keep the new homepage close to the site navigation */


/* Prevent any float clearing from reserving a right-sidebar column */
#eypd-refresh.page-id-192 #content:after,#eypd-refresh.home #content:after {
    content:"";
    display:table;
    clear:both;
}

/* ======================================================
   HOMEPAGE v8 — REMOVE EXCESS TOP / SECTION GAPS
   ====================================================== */

/* Remove Academic Pro spacing above the custom homepage */
#eypd-refresh.page-id-192 #content.site-content,#eypd-refresh.home #content.site-content{
    padding-top:0 !important;
    margin-top:0 !important;
}

#eypd-refresh.page-id-192 #primary,#eypd-refresh.page-id-192 #main,#eypd-refresh.page-id-192 .site-main,#eypd-refresh.page-id-192 article,#eypd-refresh.page-id-192 .entry-content,#eypd-refresh.home #primary,#eypd-refresh.home #main,#eypd-refresh.home .site-main,#eypd-refresh.home article,#eypd-refresh.home .entry-content{
    padding-top:0 !important;
    margin-top:0 !important;
}

/* Gutenberg/WordPress block spacing */
#eypd-refresh.page-id-192 .entry-content > .wp-block-html:first-child,#eypd-refresh.home .entry-content > .wp-block-html:first-child{
    margin-top:0 !important;
}

#eypd-refresh.page-id-192 .entry-content > *:first-child,#eypd-refresh.home .entry-content > *:first-child{
    margin-top:0 !important;
}

/* Tighten the custom header/menu stack */
#eypd-refresh #eypd-home-v3 .eh-brandbar{
    margin-top:0 !important;
    margin-bottom:10px !important;
}

#eypd-refresh #eypd-home-v3 .eh-main-menu{
    margin-top:0 !important;
    margin-bottom:12px !important;
}

/* Keep hero close to the menu */
#eypd-refresh #eypd-home-v3 .eh-hero{
    margin-top:0 !important;
}

/* Slightly reduce oversized vertical section spacing */
#eypd-refresh #eypd-home-v3 .eh-section{
    padding-top:44px !important;
    padding-bottom:44px !important;
}

/* About section starts a little closer to the hero */
#eypd-refresh #eypd-home-v3 .eh-hero + .eh-section{
    padding-top:38px !important;
}

/* Final section should not float in excessive white space */
#eypd-refresh #eypd-home-v3 .eh-section:last-child{
    padding-top:34px !important;
    padding-bottom:28px !important;
}

/* ======================================================
   HOMEPAGE v9 — POLISHED SOCIAL MEDIA STRIP
   Copies the existing Academic Pro social URLs so the
   custom homepage always uses the same social accounts.
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-social-strip{
    width:min(1540px,100%);
    max-width:1540px;
    margin:0 auto 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:11px 15px;
    border:1px solid #d6e5ee;
    border-radius:14px;
    background:
        linear-gradient(110deg,rgba(238,248,253,.94),rgba(255,255,255,.96));
    box-shadow:0 6px 18px rgba(20,54,87,.045);
}

#eypd-refresh #eypd-home-v3 .eh-social-strip[hidden]{
    display:none!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy{
    min-width:0;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy>span{
    display:block;
    color:var(--red);
    font-size:9.5px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy>strong{
    display:block;
    margin-top:2px;
    color:#435b70;
    font-size:11.5px;
    line-height:1.3;
}

#eypd-refresh #eypd-home-v3 .eh-social-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px;
}

#eypd-refresh #eypd-home-v3 .eh-social-link{
    min-height:38px;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border:1px solid #cddfea;
    border-radius:10px;
    background:rgba(255,255,255,.90);
    color:var(--ink)!important;
    box-shadow:0 3px 9px rgba(20,54,87,.035);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

#eypd-refresh #eypd-home-v3 .eh-social-link:hover{
    transform:translateY(-3px);
    border-color:#a7cce2;
    box-shadow:0 10px 20px rgba(20,54,87,.09);
}

#eypd-refresh #eypd-home-v3 .eh-social-icon{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:7px;
    color:#fff;
    background:linear-gradient(145deg,var(--blue),var(--cyan));
    font-size:9px;
    font-weight:950;
    letter-spacing:-.02em;
}

#eypd-refresh #eypd-home-v3 .eh-social-link[data-network="facebook"] .eh-social-icon{
    background:linear-gradient(145deg,#174ea6,#2877d4);
}
#eypd-refresh #eypd-home-v3 .eh-social-link[data-network="x"] .eh-social-icon{
    background:linear-gradient(145deg,#1a2530,#465260);
}
#eypd-refresh #eypd-home-v3 .eh-social-link[data-network="pinterest"] .eh-social-icon{
    background:linear-gradient(145deg,#a51621,#d7353f);
}
#eypd-refresh #eypd-home-v3 .eh-social-link[data-network="instagram"] .eh-social-icon{
    background:linear-gradient(145deg,#6b49a8,#c24882);
}
#eypd-refresh #eypd-home-v3 .eh-social-link[data-network="youtube"] .eh-social-icon{
    background:linear-gradient(145deg,#c91e28,#ef4450);
}
#eypd-refresh #eypd-home-v3 .eh-social-link[data-network="linkedin"] .eh-social-icon{
    background:linear-gradient(145deg,#0753a6,#178bc2);
}

#eypd-refresh #eypd-home-v3 .eh-social-name{
    color:#365068;
    font-size:10.5px;
    font-weight:850;
}

@media(max-width:950px){
    #eypd-refresh #eypd-home-v3 .eh-social-strip{
        align-items:flex-start;
        flex-direction:column;
    }
    #eypd-refresh #eypd-home-v3 .eh-social-links{
        justify-content:flex-start;
    }
}

@media(max-width:650px){
    #eypd-refresh #eypd-home-v3 .eh-social-strip{
        padding:11px 12px;
    }

    #eypd-refresh #eypd-home-v3 .eh-social-links{
        display:grid;
        grid-template-columns:1fr 1fr;
        width:100%;
    }

    #eypd-refresh #eypd-home-v3 .eh-social-link{
        justify-content:flex-start;
        width:100%;
    }
}

/* ======================================================
   HOMEPAGE v10 — PERMANENT SOCIAL MEDIA LINKS
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-social-strip{
    padding:10px 14px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-links{
    gap:8px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-link{
    min-height:40px!important;
    padding:8px 11px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-name{
    font-size:11px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-icon{
    width:25px!important;
    height:25px!important;
}

/* ======================================================
   HOMEPAGE v11 — SOCIAL LINKS AT THE VERY TOP
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-social-strip{
    width:min(1540px,100%)!important;
    max-width:1540px!important;
    margin:0 auto 10px!important;
    padding:8px 12px!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:18px!important;
    border-radius:14px!important;
    background:linear-gradient(110deg,#f7fbfd,#eef7fb)!important;
}

/* Small intro on the left */
#eypd-refresh #eypd-home-v3 .eh-social-copy{
    min-width:150px!important;
    padding-right:14px!important;
    border-right:1px solid #d8e5ee!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy>span{
    font-size:9.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy>strong{
    font-size:10.5px!important;
}

/* Spread all six social links evenly across the full logo/header width */
#eypd-refresh #eypd-home-v3 .eh-social-links{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-link{
    width:100%!important;
    min-height:42px!important;
    justify-content:center!important;
    padding:8px 10px!important;
    text-align:center!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-icon{
    flex:0 0 auto!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-name{
    font-size:11px!important;
    white-space:nowrap!important;
}

/* Keep the logo area tucked directly under the social row */
#eypd-refresh #eypd-home-v3 .eh-brandbar{
    margin-top:0!important;
}

/* Tablet */
@media(max-width:1100px){
    #eypd-refresh #eypd-home-v3 .eh-social-strip{
        grid-template-columns:1fr!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-social-copy{
        min-width:0!important;
        padding-right:0!important;
        padding-bottom:7px!important;
        border-right:0!important;
        border-bottom:1px solid #d8e5ee!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-social-links{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}

/* Mobile */
@media(max-width:650px){
    #eypd-refresh #eypd-home-v3 .eh-social-links{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-social-link{
        justify-content:flex-start!important;
    }
}

/* ======================================================
   HOMEPAGE v12 — MENU FIRST, SOCIAL MEDIA AT BOTTOM
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-main-menu{
    margin-top:0!important;
    margin-bottom:10px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brandbar{
    margin-top:0!important;
    margin-bottom:12px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-strip{
    width:min(1540px,100%)!important;
    max-width:1540px!important;
    margin:0 auto!important;
    padding:14px 16px!important;
    border-radius:18px 18px 0 0!important;
    border-bottom:0!important;
    background:linear-gradient(110deg,#f3f9fc,#ffffff)!important;
    box-shadow:0 -8px 22px rgba(20,54,87,.045)!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy{
    min-width:230px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy>span{
    font-size:10px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-copy>strong{
    font-size:11.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-links{
    gap:10px!important;
}

#eypd-refresh #eypd-home-v3 .eh-social-link{
    min-height:44px!important;
}

#eypd-refresh #eypd-home-v3 .eh-section:last-of-type{
    padding-bottom:20px!important;
}

/* ======================================================
   HOMEPAGE v13 — MORE BREATHING ROOM AROUND LOGO HEADER
   ====================================================== */

/* Four clearly separated zones:
   logo | description | facts | contact/actions */
#eypd-refresh #eypd-home-v3 .eh-brandbar{
    display:grid!important;
    grid-template-columns:
        minmax(220px,260px)
        minmax(220px,.72fr)
        minmax(480px,1.35fr)
        minmax(175px,215px)!important;
    align-items:center!important;
    column-gap:34px!important;
    row-gap:18px!important;
    padding:20px 24px!important;
}

/* Logo now gets its own visual space */
#eypd-refresh #eypd-home-v3 .eh-brand-logo{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    padding-right:6px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-logo img{
    width:225px!important;
    max-width:100%!important;
    height:auto!important;
}

/* Description becomes its own column instead of crowding the logo */
#eypd-refresh #eypd-home-v3 .eh-brand-copy{
    min-width:0!important;
    padding:10px 0 10px 24px!important;
    border-left:1px solid var(--line)!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy strong{
    font-size:13.5px!important;
    line-height:1.24!important;
    letter-spacing:.045em!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy span{
    max-width:265px!important;
    margin-top:7px!important;
    font-size:11px!important;
    line-height:1.45!important;
}

/* Give the fact area more inner breathing room */
#eypd-refresh #eypd-home-v3 .eh-brand-center{
    min-width:0!important;
    padding:12px 24px!important;
    border-left:1px solid var(--line)!important;
    border-right:1px solid var(--line)!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-label{
    margin-bottom:9px!important;
    font-size:9.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid{
    gap:10px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid>div{
    min-height:58px!important;
    padding:10px 11px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid strong{
    font-size:14.5px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid span{
    margin-top:4px!important;
    font-size:9px!important;
}

/* Stack the utility buttons neatly rather than squeezing them together */
#eypd-refresh #eypd-home-v3 .eh-brand-contact{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-width:0!important;
    justify-content:stretch!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-contact a{
    width:100%!important;
    min-height:40px!important;
    justify-content:center!important;
    padding:9px 12px!important;
    font-size:11.5px!important;
    white-space:nowrap!important;
}

/* Keep the menu close to the brand area, but not crowded */
#eypd-refresh #eypd-home-v3 .eh-brandbar{
    margin-bottom:16px!important;
}

#eypd-refresh #eypd-home-v3 .eh-main-menu{
    margin-top:0!important;
}

/* Responsive reflow */
@media(max-width:1250px){
    #eypd-refresh #eypd-home-v3 .eh-brandbar{
        grid-template-columns:minmax(210px,.75fr) minmax(250px,.9fr) minmax(420px,1.35fr)!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-contact{
        grid-column:1 / -1!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}

@media(max-width:900px){
    #eypd-refresh #eypd-home-v3 .eh-brandbar{
        grid-template-columns:1fr 1fr!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center{
        grid-column:1 / -1!important;
        border-left:0!important;
        border-right:0!important;
        border-top:1px solid var(--line)!important;
        border-bottom:1px solid var(--line)!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-contact{
        grid-column:1 / -1!important;
    }
}

@media(max-width:620px){
    #eypd-refresh #eypd-home-v3 .eh-brandbar{
        grid-template-columns:1fr!important;
        padding:16px!important;
        gap:14px!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-logo{
        justify-content:center!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-copy{
        padding:12px 0 0!important;
        border-left:0!important;
        border-top:1px solid var(--line)!important;
        text-align:center!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-copy span{
        max-width:none!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center{
        grid-column:auto!important;
        padding:12px 0!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-contact{
        grid-column:auto!important;
        grid-template-columns:1fr!important;
    }
}


/* ======================================================
   EYPD HOME FINAL HEADER / MENU STABILITY FIX
   - keeps the approved v13 spaced-header look
   - prevents the utility buttons from running off-page
   - keeps the 8-link Home navigation at 4 x 2
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-main-menu{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    margin-top:0!important;
    margin-bottom:14px!important;
}

#eypd-refresh #eypd-home-v3 .eh-main-menu>a{
    min-width:0!important;
    width:100%!important;
}

#eypd-refresh #eypd-home-v3 .eh-brandbar{
    display:grid!important;
    grid-template-columns:1.1fr 1fr 2fr .9fr!important;
    align-items:center!important;
    column-gap:20px!important;
    row-gap:16px!important;
    padding:18px 20px!important;
    overflow:hidden!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-logo,#eypd-refresh #eypd-home-v3 .eh-brand-copy,#eypd-refresh #eypd-home-v3 .eh-brand-center,#eypd-refresh #eypd-home-v3 .eh-brand-contact{
    min-width:0!important;
    max-width:100%!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-logo{
    padding-right:0!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-logo img{
    width:225px!important;
    max-width:100%!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy{
    padding:8px 0 8px 18px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy span{
    max-width:none!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center{
    padding:10px 15px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-center-grid>div{
    min-width:0!important;
    padding:9px 8px!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-contact{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    min-width:0!important;
    gap:7px!important;
    overflow:hidden!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-contact a{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
    font-size:10.5px!important;
    line-height:1.2!important;
}

@media(max-width:1050px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brandbar{
        grid-template-columns:1fr 1fr!important;
        gap:14px 20px!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center{
        grid-column:1 / -1!important;
        border-left:0!important;
        border-right:0!important;
        border-top:1px solid var(--line)!important;
        border-bottom:1px solid var(--line)!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-contact{
        grid-column:1 / -1!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        overflow:visible!important;
    }
}

@media(max-width:760px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brandbar{
        grid-template-columns:1fr!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-logo{
        justify-content:center!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-copy{
        padding:12px 0 0!important;
        border-left:0!important;
        border-top:1px solid var(--line)!important;
        text-align:center!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center{
        grid-column:auto!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-center-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-contact{
        grid-column:auto!important;
        grid-template-columns:1fr!important;
    }
}

@media(max-width:480px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:1fr!important;
    }
}


/* HOME v15 — 10-link navigation: Home first, NMEC last */
#eypd-refresh #eypd-home-v3 .eh-main-menu{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:9px!important;
    width:min(1540px,100%)!important;
    max-width:1540px!important;
    margin:0 auto 14px!important;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a{
    min-width:0!important;
    width:100%!important;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a:before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    top:0!important;
    width:5px!important;
    height:100%!important;
    background:#0753a6!important;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(2):before,#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(6):before{background:#d12b36!important}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(3):before,#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(7):before{background:#7557a7!important}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(4):before,#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(8):before{background:#178a8f!important}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(5):before,#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(9):before{background:#0753a6!important}
#eypd-refresh #eypd-home-v3 .eh-main-menu>a:nth-child(10):before{background:#d12b36!important}

@media(max-width:1050px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:repeat(5,minmax(0,1fr))!important;
    }
}
@media(max-width:760px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:480px){
    #eypd-refresh #eypd-home-v3 .eh-main-menu{
        grid-template-columns:1fr!important;
    }
}


/* FINAL HOME TOP-GAP RESET — intentionally last */
#eypd-refresh.home #content.site-content,#eypd-refresh.page-id-192 #content.site-content,#eypd-refresh.home #content > .container,#eypd-refresh.page-id-192 #content > .container,#eypd-refresh.home #primary,#eypd-refresh.page-id-192 #primary,#eypd-refresh.home .content-area,#eypd-refresh.page-id-192 .content-area,#eypd-refresh.home #main,#eypd-refresh.page-id-192 #main,#eypd-refresh.home .site-main,#eypd-refresh.page-id-192 .site-main,#eypd-refresh.home article,#eypd-refresh.page-id-192 article,#eypd-refresh.home .entry-content,#eypd-refresh.page-id-192 .entry-content,#eypd-refresh.home .wp-block-html,#eypd-refresh.page-id-192 .wp-block-html{
    margin-top:0!important;
    padding-top:0!important;
}

#eypd-refresh.home .entry-content > *:first-child,#eypd-refresh.page-id-192 .entry-content > *:first-child,#eypd-refresh.home #eypd-home-v3,#eypd-refresh.page-id-192 #eypd-home-v3,#eypd-refresh.home #eypd-home-v3 > .eh-main-menu,#eypd-refresh.page-id-192 #eypd-home-v3 > .eh-main-menu{
    margin-top:0!important;
    padding-top:0!important;
}

/* Remove empty Gutenberg paragraphs/blocks before the custom page */
#eypd-refresh.home .entry-content > p:empty:first-child,#eypd-refresh.page-id-192 .entry-content > p:empty:first-child,#eypd-refresh.home .entry-content > .wp-block-spacer:first-child,#eypd-refresh.page-id-192 .entry-content > .wp-block-spacer:first-child{
    display:none!important;
}


/* ======================================================
   HOME v18 — GENERIC FRONT-PAGE THEME GAP FIX
   Do not depend on a specific WordPress page/post ID.
   ====================================================== */

/* Academic Pro can output an entry-header and/or featured-image slot
   before the custom Home HTML. Remove those on the front page. */
#eypd-refresh.home #primary article > .entry-header,#eypd-refresh.home #primary article > .post-thumbnail,#eypd-refresh.home #main article > .entry-header,#eypd-refresh.home #main article > .post-thumbnail,#eypd-refresh.home article.page > .entry-header,#eypd-refresh.home article.page > .post-thumbnail {
    display:none!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
}

/* Remove any spacing retained by the theme article/content wrappers. */
#eypd-refresh.home #content.site-content,#eypd-refresh.home #content > .container,#eypd-refresh.home #content .row,#eypd-refresh.home #primary,#eypd-refresh.home .content-area,#eypd-refresh.home #main,#eypd-refresh.home .site-main,#eypd-refresh.home #primary article,#eypd-refresh.home #main article,#eypd-refresh.home article.page,#eypd-refresh.home article.page > .entry-content,#eypd-refresh.home .entry-content {
    margin-top:0!important;
    padding-top:0!important;
}

/* Gutenberg can insert an empty block before the HTML block. */
#eypd-refresh.home .entry-content > p:first-child:empty,#eypd-refresh.home .entry-content > .wp-block-spacer:first-child {
    display:none!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
}

/* Custom EYPD content itself begins flush. */
#eypd-refresh.home #eypd-home-v3,#eypd-refresh.home #eypd-home-v3 > .eh-main-menu {
    margin-top:0!important;
    padding-top:0!important;
}


/* ======================================================
   HOME v19 — COURSE QUICK ACTIONS IN BRAND / LOGO AREA
   ====================================================== */

#eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin-top:12px!important;
    padding:0!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-action{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:36px!important;
    padding:8px 13px!important;
    border-radius:10px!important;
    font-size:11px!important;
    line-height:1.15!important;
    font-weight:900!important;
    letter-spacing:.01em!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-action-primary{
    color:#fff!important;
    background:#0753a6!important;
    border:1px solid #0753a6!important;
    box-shadow:0 6px 14px rgba(7,83,166,.16)!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-action-secondary{
    color:#0753a6!important;
    background:#fff!important;
    border:1px solid #bdd3e5!important;
    box-shadow:0 5px 12px rgba(20,54,87,.07)!important;
}

#eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-action:hover,#eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-action:focus{
    transform:translateY(-1px)!important;
    box-shadow:0 9px 18px rgba(20,54,87,.14)!important;
}

#eypd-refresh #eypd-home-v3 #eypd-how-it-works{
    scroll-margin-top:18px!important;
}

@media(max-width:1050px){
    #eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-actions{
        margin-top:10px!important;
    }
}

@media(max-width:480px){
    #eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-actions{
        display:grid!important;
        grid-template-columns:1fr 1fr!important;
        width:100%!important;
    }

    #eypd-refresh #eypd-home-v3 .eh-brand-copy .eh-brand-action{
        width:100%!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}


/* ======================================================
   HOME v21 — HOW IT WORKS POPUP WITH ENROLLMENT INFO
   ====================================================== */
#eypd-refresh #eypd-home-v3 .eh-brand-action{
    font-family:inherit!important;
    cursor:pointer!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-modal{
    position:fixed!important;
    inset:0!important;
    z-index:999999!important;
    display:none!important;
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-modal.is-open{display:flex!important;}
#eypd-refresh #eypd-home-v3 .eh-how-backdrop{
    position:absolute!important;
    inset:0!important;
    background:rgba(4,24,46,.72)!important;
    backdrop-filter:blur(4px)!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-dialog{
    position:relative!important;
    z-index:2!important;
    width:min(1080px,100%)!important;
    max-height:calc(100vh - 48px)!important;
    overflow:auto!important;
    background:#fff!important;
    color:#142033!important;
    border:1px solid #d9e6ef!important;
    border-radius:26px!important;
    padding:30px!important;
    box-shadow:0 30px 80px rgba(6,29,54,.35)!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-close{
    position:absolute!important;
    top:14px!important;
    right:14px!important;
    width:40px!important;
    height:40px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid #d7e3ec!important;
    border-radius:50%!important;
    background:#fff!important;
    color:#061d36!important;
    font-size:27px!important;
    line-height:1!important;
    cursor:pointer!important;
    box-shadow:0 5px 14px rgba(20,54,87,.08)!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-close:hover,#eypd-refresh #eypd-home-v3 .eh-how-close:focus{background:#f4f8fb!important;}
#eypd-refresh #eypd-home-v3 .eh-how-eyebrow{
    color:#d12b36!important;
    font-size:13px!important;
    font-weight:900!important;
    letter-spacing:.18em!important;
    text-transform:uppercase!important;
    margin-bottom:12px!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-dialog h2{
    margin:0 48px 14px 0!important;
    color:#142033!important;
    font-size:clamp(34px,5vw,58px)!important;
    line-height:1.06!important;
    letter-spacing:-.04em!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-intro{
    margin:0 0 26px!important;
    color:#5f728a!important;
    font-size:18px!important;
    line-height:1.55!important;
    max-width:900px!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-accordions{display:grid!important;gap:18px!important;}
#eypd-refresh #eypd-home-v3 .eh-how-detail{
    border:1px solid #dbe6ef!important;
    border-radius:22px!important;
    background:#fff!important;
    overflow:hidden!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-detail summary{
    list-style:none!important;
    display:grid!important;
    grid-template-columns:72px 1fr 32px!important;
    gap:18px!important;
    align-items:center!important;
    padding:24px 28px!important;
    cursor:pointer!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-detail summary::-webkit-details-marker{display:none!important;}
#eypd-refresh #eypd-home-v3 .eh-how-icon{
    width:72px!important;
    height:72px!important;
    border-radius:20px!important;
    background:#eef5fc!important;
    color:#2954a6!important;
    display:grid!important;
    place-items:center!important;
    font-size:28px!important;
    font-weight:900!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-summary-text{
    color:#11295a!important;
    font-size:22px!important;
    font-weight:900!important;
    line-height:1.2!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-plus{
    color:#2954a6!important;
    font-size:44px!important;
    line-height:1!important;
    justify-self:end!important;
    transition:transform .2s ease!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-detail[open] .eh-how-plus{transform:rotate(45deg)!important;}
#eypd-refresh #eypd-home-v3 .eh-how-detail-body{
    padding:0 28px 24px 118px!important;
    color:#53677f!important;
    font-size:16px!important;
    line-height:1.7!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-detail-body p{margin:0 0 14px!important;}
#eypd-refresh #eypd-home-v3 .eh-how-detail-body ul,#eypd-refresh #eypd-home-v3 .eh-how-detail-body ol{margin:0 0 14px 1.2em!important;padding:0!important;}
#eypd-refresh #eypd-home-v3 .eh-how-detail-body li{margin:0 0 8px!important;}
#eypd-refresh #eypd-home-v3 .eh-how-detail-body a{color:#0753a6!important;font-weight:800!important;text-decoration:none!important;}
#eypd-refresh #eypd-home-v3 .eh-how-note{
    margin-top:14px!important;
    padding:16px 18px!important;
    border:1px solid #dbe6ef!important;
    border-radius:16px!important;
    background:#f7fbff!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-note strong,#eypd-refresh #eypd-home-v3 .eh-how-callout strong{color:#142033!important;}
#eypd-refresh #eypd-home-v3 .eh-how-note p{margin:8px 0 0!important;}
#eypd-refresh #eypd-home-v3 .eh-how-callout{
    margin-top:14px!important;
    padding:14px 16px!important;
    border-left:4px solid #d12b36!important;
    border-radius:12px!important;
    background:#fdf3f4!important;
    color:#5a6678!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:12px!important;
    margin-top:24px!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-actions a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:46px!important;
    padding:11px 18px!important;
    border-radius:12px!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:900!important;
}
#eypd-refresh #eypd-home-v3 .eh-how-primary{color:#fff!important;background:#0753a6!important;border:1px solid #0753a6!important;}
#eypd-refresh #eypd-home-v3 .eh-how-secondary{color:#0753a6!important;background:#fff!important;border:1px solid #bdd3e5!important;}
#eypd-refresh.eypd-how-open{overflow:hidden!important;}
@media(max-width:900px){
  #eypd-refresh #eypd-home-v3 .eh-how-dialog{padding:24px 18px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-dialog h2{font-size:clamp(30px,7vw,44px)!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-intro{font-size:16px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-detail summary{grid-template-columns:56px 1fr 26px!important;padding:18px 18px!important;gap:14px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-icon{width:56px!important;height:56px!important;border-radius:16px!important;font-size:24px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-summary-text{font-size:19px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-plus{font-size:34px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-detail-body{padding:0 18px 18px 88px!important;font-size:15px!important;}
}
@media(max-width:600px){
  #eypd-refresh #eypd-home-v3 .eh-how-modal{padding:12px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-dialog{max-height:calc(100vh - 24px)!important;padding:22px 14px 18px!important;border-radius:18px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-eyebrow{font-size:11px!important;letter-spacing:.14em!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-detail{border-radius:18px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-detail summary{grid-template-columns:46px 1fr 22px!important;padding:14px 14px!important;gap:12px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-icon{width:46px!important;height:46px!important;border-radius:14px!important;font-size:20px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-summary-text{font-size:17px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-plus{font-size:28px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-detail-body{padding:0 14px 16px 14px!important;font-size:14px!important;}
  #eypd-refresh #eypd-home-v3 .eh-how-actions{display:grid!important;grid-template-columns:1fr 1fr!important;}
}


/* Matching v43 Course Catalog navigation readability test.
   Increase text and card sizing; retain original colors, links and layout. */
#eypd-refresh #eypd-home-v3 .eh-main-menu > a {
    min-height:84px!important;
    padding:16px 17px!important;
    gap:10px!important;
}
#eypd-refresh #eypd-home-v3 .eh-menu-copy small {
    font-size:10.5px!important;
    line-height:1.28!important;
    letter-spacing:.05em!important;
}
#eypd-refresh #eypd-home-v3 .eh-menu-copy strong {
    font-size:15.5px!important;
    line-height:1.27!important;
    margin-top:4px!important;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu > a > b {
    font-size:21px!important;
}
#eypd-refresh #eypd-home-v3 .eh-main-menu > a:focus-visible {
    outline:3px solid #0753a6!important;
    outline-offset:3px!important;
}
@media (max-width:1050px) and (min-width:761px) {
    #eypd-refresh #eypd-home-v3 .eh-main-menu > a {
        min-height:80px!important;
        padding:13px 11px!important;
    }
    #eypd-refresh #eypd-home-v3 .eh-menu-copy small {font-size:9.5px!important;}
    #eypd-refresh #eypd-home-v3 .eh-menu-copy strong {font-size:13.5px!important;}
    #eypd-refresh #eypd-home-v3 .eh-main-menu > a > b {font-size:19px!important;}
}
@media (max-width:760px) {
    #eypd-refresh #eypd-home-v3 .eh-main-menu > a {
        min-height:82px!important;
        padding:14px 16px!important;
    }
    #eypd-refresh #eypd-home-v3 .eh-menu-copy small {font-size:10.5px!important;}
    #eypd-refresh #eypd-home-v3 .eh-menu-copy strong {font-size:15.5px!important;}
}
