
/* ======================================================
   EYPD SHARED SITE NAVIGATION + SOCIAL FOOTER
   Matches the custom Home page treatment.
   ====================================================== */
#eypd-refresh .eypd-shared-menu,#eypd-refresh .eypd-shared-menu *,#eypd-refresh .eypd-shared-social,#eypd-refresh .eypd-shared-social *{box-sizing:border-box}

#eypd-refresh .eypd-shared-menu{
    width:min(1540px,100%);
    max-width:1540px;
    margin:0 auto 14px;
    padding:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    font-family:Inter,"Segoe UI",Arial,sans-serif;
}
#eypd-refresh .eypd-shared-menu>a{
    min-height:66px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 15px;
    border:1px solid #d5e4ee;
    border-radius:14px;
    background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(242,248,252,.96));
    color:#142033!important;
    text-decoration:none!important;
    box-shadow:0 6px 18px rgba(20,54,87,.055);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
#eypd-refresh .eypd-shared-menu>a:hover{
    transform:translateY(-3px);
    border-color:#abcfe3;
    box-shadow:0 12px 25px rgba(20,54,87,.10);
}
#eypd-refresh .eypd-shared-menu>a.is-current{
    border-color:#9ccbe3;
    background:linear-gradient(145deg,#eef8fd,#fff);
    box-shadow:inset 0 3px 0 #0753a6,0 7px 18px rgba(20,54,87,.07);
}
#eypd-refresh .eypd-shared-menu-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
}
#eypd-refresh .eypd-shared-menu-copy small{
    display:block;
    margin-bottom:2px;
    color:#718397;
    font-size:9.4px;
    font-weight:850;
    line-height:1.15;
    letter-spacing:.055em;
    text-transform:uppercase;
}
#eypd-refresh .eypd-shared-menu-copy strong{
    display:block;
    color:#163b61;
    font-size:14.5px;
    font-weight:900;
    line-height:1.18;
}
#eypd-refresh .eypd-shared-menu>a>b{
    color:#d12b36;
    font-size:20px;
    line-height:1;
}
#eypd-refresh .eypd-shared-menu>a.is-current .eypd-shared-menu-copy strong{color:#0753a6}

#eypd-refresh .eypd-shared-social{
    width:min(1540px,100%);
    max-width:1540px;
    margin:26px auto 0;
    padding:14px 16px;
    display:grid;
    grid-template-columns:minmax(205px,.42fr) minmax(0,1.58fr);
    align-items:center;
    gap:18px;
    border:1px solid #d6e5ee;
    border-bottom:0;
    border-radius:18px 18px 0 0;
    background:linear-gradient(110deg,#f3f9fc,#fff);
    box-shadow:0 -8px 22px rgba(20,54,87,.045);
    font-family:Inter,"Segoe UI",Arial,sans-serif;
}
#eypd-refresh .eypd-shared-social-copy{
    padding-right:16px;
    border-right:1px solid #d8e5ee;
}
#eypd-refresh .eypd-shared-social-copy span{
    display:block;
    color:#d12b36;
    font-size:10px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}
#eypd-refresh .eypd-shared-social-copy strong{
    display:block;
    margin-top:3px;
    color:#435b70;
    font-size:11.5px;
    line-height:1.35;
}
#eypd-refresh .eypd-shared-social-links{
    width:100%;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:9px;
}
#eypd-refresh .eypd-shared-social-link{
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:8px 9px;
    border:1px solid #cddfea;
    border-radius:10px;
    background:rgba(255,255,255,.93);
    color:#365068!important;
    text-decoration:none!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-shared-social-link:hover{
    transform:translateY(-3px);
    border-color:#a7cce2;
    box-shadow:0 10px 20px rgba(20,54,87,.09);
}
#eypd-refresh .eypd-shared-social-icon{
    width:25px;
    height:25px;
    flex:0 0 25px;
    display:grid;
    place-items:center;
    border-radius:7px;
    color:#fff;
    font-size:9px;
    font-weight:950;
}
#eypd-refresh .eypd-shared-social-name{
    color:#365068;
    font-size:10.5px;
    font-weight:850;
    white-space:nowrap;
}
#eypd-refresh .eypd-shared-social-link[data-network="facebook"] .eypd-shared-social-icon{background:linear-gradient(145deg,#174ea6,#2877d4)}
#eypd-refresh .eypd-shared-social-link[data-network="x"] .eypd-shared-social-icon{background:linear-gradient(145deg,#1a2530,#465260)}
#eypd-refresh .eypd-shared-social-link[data-network="pinterest"] .eypd-shared-social-icon{background:linear-gradient(145deg,#a51621,#d7353f)}
#eypd-refresh .eypd-shared-social-link[data-network="instagram"] .eypd-shared-social-icon{background:linear-gradient(145deg,#6b49a8,#c24882)}
#eypd-refresh .eypd-shared-social-link[data-network="youtube"] .eypd-shared-social-icon{background:linear-gradient(145deg,#c91e28,#ef4450)}
#eypd-refresh .eypd-shared-social-link[data-network="linkedin"] .eypd-shared-social-icon{background:linear-gradient(145deg,#0753a6,#178bc2)}

@media(max-width:1050px){
    #eypd-refresh .eypd-shared-menu{grid-template-columns:repeat(2,minmax(0,1fr))}
    #eypd-refresh .eypd-shared-social{grid-template-columns:1fr}
    #eypd-refresh .eypd-shared-social-copy{
        padding-right:0;
        padding-bottom:8px;
        border-right:0;
        border-bottom:1px solid #d8e5ee;
    }
    #eypd-refresh .eypd-shared-social-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
    #eypd-refresh .eypd-shared-menu{grid-template-columns:1fr;gap:7px}
    #eypd-refresh .eypd-shared-menu>a{min-height:58px}
    #eypd-refresh .eypd-shared-social-links{grid-template-columns:repeat(2,minmax(0,1fr))}
    #eypd-refresh .eypd-shared-social-link{justify-content:flex-start}
}



/* ======================================================
   EYPD TOP MENU SEPARATION FIX
   Keeps the menu in its own normal-flow band with a
   visible gap before the page hero/header.
   ====================================================== */

#eypd-refresh .EYPD-MENU-GAP-SHELL{
    display:block!important;
    position:relative!important;
    z-index:20!important;
    isolation:isolate!important;
    width:100%!important;
    max-width:none!important;
    clear:both!important;
    float:none!important;
    margin:0 0 48px 0!important;
    padding:0!important;
    overflow:visible!important;
}

#eypd-refresh .EYPD-MENU-GAP-SHELL > .eypd-shared-menu{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    z-index:1!important;
    clear:both!important;
    float:none!important;
    width:min(1540px,100%)!important;
    max-width:1540px!important;
    margin:0 auto!important;
    transform:none!important;
}

/* Prevent neighboring page sections from pulling upward */
#eypd-refresh .EYPD-MENU-GAP-SHELL + section,#eypd-refresh .EYPD-MENU-GAP-SHELL + div:not(.eypd-shared-menu-shell),#eypd-refresh .EYPD-MENU-GAP-SHELL ~ section:first-of-type{
    clear:both!important;
}

/* Keep hover motion inside the menu's own visual area */
#eypd-refresh .EYPD-MENU-GAP-SHELL .eypd-shared-menu > a{
    position:relative!important;
    z-index:1!important;
}
#eypd-refresh .EYPD-MENU-GAP-SHELL .eypd-shared-menu > a:hover{
    z-index:3!important;
    transform:translateY(-3px)!important;
}

/* More separation on narrower layouts, where the menu is taller */
@media(max-width:1050px){
    #eypd-refresh .EYPD-MENU-GAP-SHELL{
        margin-bottom:42px!important;
    }
}
@media(max-width:620px){
    #eypd-refresh .EYPD-MENU-GAP-SHELL{
        margin-bottom:34px!important;
    }
}



/* ======================================================
   EXACT HOME-PAGE MENU TREATMENT
   Same width, spacing, card depth, and colored end bars
   as the EYPD Home page.
   ====================================================== */

#eypd-refresh .eypd-shared-menu{
    width:min(1460px,100%)!important;
    max-width:1460px!important;
    margin:0 auto 18px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:9px!important;
    clear:both!important;
    float:none!important;
    position:relative!important;
    z-index:10!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
}

#eypd-refresh .eypd-shared-menu>a{
    position:relative!important;
    overflow:hidden!important;
    min-height:72px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:14px 16px!important;
    border-radius:13px!important;
    border:1px solid #cfdee8!important;
    background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(238,247,252,.74))!important;
    color:#142033!important;
    text-decoration:none!important;
    box-shadow:0 6px 16px rgba(20,54,87,.045)!important;
    backdrop-filter:blur(8px);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}

#eypd-refresh .eypd-shared-menu>a:hover{
    transform:translateY(-5px)!important;
    box-shadow:0 16px 30px rgba(20,54,87,.10)!important;
    border-color:#a9cde3!important;
}

/* Home-page colored end bars */
#eypd-refresh .eypd-shared-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-shared-menu>a:nth-child(2):before,#eypd-refresh .eypd-shared-menu>a:nth-child(6):before{
    background:#d12b36!important;
}

#eypd-refresh .eypd-shared-menu>a:nth-child(3):before,#eypd-refresh .eypd-shared-menu>a:nth-child(7):before{
    background:#7557a7!important;
}

#eypd-refresh .eypd-shared-menu>a:nth-child(4):before,#eypd-refresh .eypd-shared-menu>a:nth-child(8):before{
    background:#178a8f!important;
}

#eypd-refresh .eypd-shared-menu-copy{
    min-width:0!important;
    display:block!important;
}

#eypd-refresh .eypd-shared-menu-copy small{
    display:block!important;
    color:#6b7b8e!important;
    font-size:8.5px!important;
    font-weight:850!important;
    line-height:1.2!important;
    letter-spacing:.09em!important;
    text-transform:uppercase!important;
}

#eypd-refresh .eypd-shared-menu-copy strong{
    display:block!important;
    margin-top:3px!important;
    color:#142033!important;
    font-size:12.5px!important;
    font-weight:800!important;
    line-height:1.2!important;
}

#eypd-refresh .eypd-shared-menu>a>b{
    flex:0 0 auto!important;
    color:#0753a6!important;
    font-size:18px!important;
    line-height:1!important;
}

/* Remove the earlier "active page" top-line treatment.
   The home page does not use it. */
#eypd-refresh .eypd-shared-menu>a.is-current{
    border-color:#cfdee8!important;
    background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(238,247,252,.74))!important;
    box-shadow:0 6px 16px rgba(20,54,87,.045)!important;
}

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

@media(max-width:620px){
    #eypd-refresh .eypd-shared-menu{
        grid-template-columns:1fr!important;
        gap:7px!important;
    }
    #eypd-refresh .eypd-shared-menu>a{
        min-height:64px!important;
    }
}


/* ======================================================
   MENU / HERO EDGE ALIGNMENT
   The menu now uses the same left and right edges as
   this page's main hero/header area.
   ====================================================== */
#eypd-refresh #eypd-educator-speak > .eypd-shared-menu {
    width:calc(100% - 48px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
}



/* ======================================================
   EYPD SHARED BRAND HEADER — MATCHES HOME PAGE v13
   ====================================================== */

#eypd-refresh .eypd-shared-brandbar,#eypd-refresh .eypd-shared-brandbar *{box-sizing:border-box}

#eypd-refresh .eypd-shared-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;
    margin:0 auto 16px!important;
    padding:20px 24px!important;
    border:1px solid #d9e6ef!important;
    border-radius:18px!important;
    background:linear-gradient(145deg,#ffffff,#f6fafc)!important;
    box-shadow:0 9px 24px rgba(20,54,87,.055)!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    color:#142033!important;
}

#eypd-refresh .eypd-shared-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-shared-brand-logo a{
    display:block!important;
    line-height:0!important;
}

#eypd-refresh .eypd-shared-brand-logo img{
    display:block!important;
    width:225px!important;
    max-width:100%!important;
    height:auto!important;
}

#eypd-refresh .eypd-shared-brand-copy{
    min-width:0!important;
    padding:10px 0 10px 24px!important;
    border-left:1px solid #d9e6ef!important;
}

#eypd-refresh .eypd-shared-brand-copy strong{
    display:block!important;
    color:#163b61!important;
    font-size:13.5px!important;
    font-weight:900!important;
    line-height:1.24!important;
    letter-spacing:.045em!important;
}

#eypd-refresh .eypd-shared-brand-copy span{
    display:block!important;
    max-width:265px!important;
    margin-top:7px!important;
    color:#627286!important;
    font-size:11px!important;
    line-height:1.45!important;
}

#eypd-refresh .eypd-shared-brand-center{
    min-width:0!important;
    padding:12px 24px!important;
    border-left:1px solid #d9e6ef!important;
    border-right:1px solid #d9e6ef!important;
}

#eypd-refresh .eypd-shared-brand-center-label{
    margin-bottom:9px!important;
    color:#d12b36!important;
    font-size:9.5px!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
}

#eypd-refresh .eypd-shared-brand-center-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
}

#eypd-refresh .eypd-shared-brand-center-grid>div{
    min-height:58px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    padding:10px 11px!important;
    border:1px solid #dbe7ef!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 4px 12px rgba(20,54,87,.035)!important;
}

#eypd-refresh .eypd-shared-brand-center-grid strong{
    display:block!important;
    color:#0753a6!important;
    font-size:14.5px!important;
    font-weight:900!important;
    line-height:1.15!important;
}

#eypd-refresh .eypd-shared-brand-center-grid span{
    display:block!important;
    margin-top:4px!important;
    color:#6b7b8e!important;
    font-size:9px!important;
    font-weight:750!important;
    line-height:1.25!important;
}

#eypd-refresh .eypd-shared-brand-contact{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-width:0!important;
}

#eypd-refresh .eypd-shared-brand-contact a{
    width:100%!important;
    min-height:40px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:9px 12px!important;
    border:1px solid #d1e1eb!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#163b61!important;
    text-decoration:none!important;
    font-size:11.5px!important;
    font-weight:850!important;
    white-space:nowrap!important;
    box-shadow:0 4px 12px rgba(20,54,87,.035)!important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}

#eypd-refresh .eypd-shared-brand-contact a:hover{
    transform:translateY(-2px)!important;
    border-color:#a9cde3!important;
    box-shadow:0 9px 18px rgba(20,54,87,.08)!important;
}

/* ======================================================
   10-LINK MENU — HOME FIRST / NMEC LAST
   5 across x 2 rows on desktop
   ====================================================== */
#eypd-refresh .eypd-shared-menu{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:9px!important;
    margin-top:0!important;
    margin-bottom:14px!important;
}

/* Preserve the color-definition bars with 10 cards */
#eypd-refresh .eypd-shared-menu>a:nth-child(1):before{background:#0753a6!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(2):before{background:#d12b36!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(3):before{background:#7557a7!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(4):before{background:#178a8f!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(5):before{background:#0753a6!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(6):before{background:#d12b36!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(7):before{background:#7557a7!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(8):before{background:#178a8f!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(9):before{background:#0753a6!important}
#eypd-refresh .eypd-shared-menu>a:nth-child(10):before{background:#d12b36!important}

/* Current page remains subtle rather than changing geometry */
#eypd-refresh .eypd-shared-menu>a.is-current{
    box-shadow:inset 0 3px 0 rgba(7,83,166,.16),0 6px 16px rgba(20,54,87,.045)!important;
}

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

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

    #eypd-refresh .eypd-shared-menu{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

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

    #eypd-refresh .eypd-shared-brand-center{
        grid-column:1 / -1!important;
        border-left:0!important;
        border-right:0!important;
        border-top:1px solid #d9e6ef!important;
        border-bottom:1px solid #d9e6ef!important;
    }

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

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

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

    #eypd-refresh .eypd-shared-brand-copy{
        padding:12px 0 0!important;
        border-left:0!important;
        border-top:1px solid #d9e6ef!important;
        text-align:center!important;
    }

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

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

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

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

    #eypd-refresh .eypd-shared-menu{
        grid-template-columns:1fr!important;
    }
}

/* Match this page's approved hero width */
#eypd-refresh #eypd-educator-speak > .eypd-shared-menu,#eypd-refresh #eypd-educator-speak > .eypd-shared-brandbar{
    width:calc(100% - 48px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
}


#eypd-refresh #eypd-educator-speak,#eypd-refresh #eypd-educator-speak *{box-sizing:border-box}
#eypd-refresh #eypd-educator-speak{
  --navy:#061d36;--blue:#0753a6;--cyan:#17a8d8;--red:#d12b36;
  --ink:#142033;--muted:#627286;--line:#d9e6ef;--soft:#f4f8fb;--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-educator-speak a{text-decoration:none}
#eypd-refresh #eypd-educator-speak .es-wrap{width:100%;max-width:none;margin:0 auto;padding:0 24px}
#eypd-refresh #eypd-educator-speak .es-content{width:min(1480px,100%);margin:0 auto}

/* HERO */
#eypd-refresh #eypd-educator-speak .es-hero{
  position:relative;overflow:hidden;min-height:460px;padding:56px 58px;
  border-radius:30px;border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(118deg,#04182e 0%,#063f79 55%,#0b78a7 100%);
  box-shadow:0 30px 60px rgba(6,29,54,.22),0 10px 22px rgba(6,29,54,.11),inset 0 1px 0 rgba(255,255,255,.10);
}
#eypd-refresh #eypd-educator-speak .es-hero-left-accent{
  position:absolute;left:0;top:0;width:7px;height:100%;z-index:6;
  background:linear-gradient(180deg,var(--red),#ef4a56 42%,rgba(239,74,86,.72) 68%,transparent 100%);
}
#eypd-refresh #eypd-educator-speak .es-hero-right-accent{
  position:absolute;right:28px;bottom:0;width:110px;height:6px;border-radius:99px 99px 0 0;
  background:var(--red);box-shadow:0 -4px 14px rgba(209,43,54,.22);z-index:6;
}
#eypd-refresh #eypd-educator-speak .es-hero:before,#eypd-refresh #eypd-educator-speak .es-hero:after{
  content:"";position:absolute;border-radius:50%;border:1px solid rgba(120,216,246,.16)
}
#eypd-refresh #eypd-educator-speak .es-hero:before{width:620px;height:620px;right:-230px;top:-350px}
#eypd-refresh #eypd-educator-speak .es-hero:after{width:350px;height:350px;right:80px;bottom:-260px}
#eypd-refresh #eypd-educator-speak .es-hero-grid{
  position:relative;z-index:2;display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);
  gap:44px;align-items:center;
}
#eypd-refresh #eypd-educator-speak .es-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:7px 12px;
  border:1px solid rgba(255,255,255,.28);border-radius:999px;
  background:rgba(255,255,255,.08);color:#dff7ff;
  font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase;
}
#eypd-refresh #eypd-educator-speak .es-kicker:before{
  content:"";width:8px;height:8px;border-radius:50%;background:var(--red);
  box-shadow:0 0 0 5px rgba(209,43,54,.15)
}
#eypd-refresh #eypd-educator-speak .es-hero h1{
  margin:16px 0 18px;color:#fff;font-size:clamp(44px,5.5vw,72px);
  line-height:.98;letter-spacing:-.05em
}
#eypd-refresh #eypd-educator-speak .es-hero h1 span{display:block;color:#78d8f6}
#eypd-refresh #eypd-educator-speak .es-hero-copy>p{margin:0;color:#d9eaf5;font-size:18px;max-width:760px}
#eypd-refresh #eypd-educator-speak .es-hero-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
#eypd-refresh #eypd-educator-speak .es-hero-chips span{
  padding:8px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.17);
  background:rgba(255,255,255,.07);color:#e8f8ff;font-size:11px;font-weight:850
}
#eypd-refresh #eypd-educator-speak .es-hero-chips span:nth-child(3){
  border-color:rgba(255,135,145,.35);background:rgba(209,43,54,.17);color:#ffdce0
}

/* VOICE PULSE CARD */
#eypd-refresh #eypd-educator-speak .es-pulse-card{
  min-height:385px;padding:23px;border-radius:23px;background:#fff;color:var(--ink);
  box-shadow:0 24px 55px rgba(0,0,0,.24);display:flex;flex-direction:column
}
#eypd-refresh #eypd-educator-speak .es-pulse-label{
  align-self:flex-start;display:inline-flex;align-items:center;padding:6px 10px;margin-bottom:12px;
  border-radius:999px;border:1px solid #d5e7f3;background:#eef6fb;color:#0b3e71;
  font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase
}
#eypd-refresh #eypd-educator-speak .es-pulse-label:before{content:"";width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--red)}
#eypd-refresh #eypd-educator-speak .es-pulse-card h3{margin:0 0 6px;color:var(--ink);font-size:25px;line-height:1.08;letter-spacing:-.03em}
#eypd-refresh #eypd-educator-speak .es-pulse-card h3 span{color:var(--blue)}
#eypd-refresh #eypd-educator-speak .es-pulse-card>p{margin:0;color:var(--muted);font-size:12.5px}
#eypd-refresh #eypd-educator-speak .es-word-cloud{
  display:flex;flex-wrap:wrap;gap:7px;align-content:flex-start;margin:17px 0 14px;padding:15px;
  border:1px solid #dce8f1;border-radius:15px;background:#f8fbfd
}
#eypd-refresh #eypd-educator-speak .es-word-cloud span{
  padding:6px 9px;border-radius:999px;background:#fff;border:1px solid #d8e6ef;
  color:#48647a;font-size:10px;font-weight:850
}
#eypd-refresh #eypd-educator-speak .es-word-cloud span:nth-child(1),#eypd-refresh #eypd-educator-speak .es-word-cloud span:nth-child(2),#eypd-refresh #eypd-educator-speak .es-word-cloud span:nth-child(3){font-size:12px;color:var(--blue)}
#eypd-refresh #eypd-educator-speak .es-pulse-window{
  position:relative;flex:1;min-height:112px;border-radius:14px;overflow:hidden;
  background:linear-gradient(135deg,#061d36,#0b4b81)
}
#eypd-refresh #eypd-educator-speak .es-pulse-slide{
  position:absolute;inset:0;padding:16px 18px;display:flex;flex-direction:column;justify-content:center;
  opacity:0;transform:translateY(10px);transition:.45s ease
}
#eypd-refresh #eypd-educator-speak .es-pulse-slide.is-active{opacity:1;transform:translateY(0)}
#eypd-refresh #eypd-educator-speak .es-pulse-slide small{
  color:#8edff8;font-size:9.5px;font-weight:900;letter-spacing:.1em;text-transform:uppercase
}
#eypd-refresh #eypd-educator-speak .es-pulse-slide strong{margin-top:5px;color:#fff;font-size:15px;line-height:1.35}
#eypd-refresh #eypd-educator-speak .es-pulse-dots{display:flex;gap:6px;justify-content:center;margin-top:10px}
#eypd-refresh #eypd-educator-speak .es-pulse-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#c5d3dd;cursor:pointer}
#eypd-refresh #eypd-educator-speak .es-pulse-dots button.is-active{width:22px;border-radius:99px;background:var(--red)}

/* PROOF STRIP */
#eypd-refresh #eypd-educator-speak .es-proof{
  display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:20px auto 0;
  width:min(1480px,100%)
}
#eypd-refresh #eypd-educator-speak .es-proof>div{
  padding:16px 14px;border:1px solid var(--line);border-radius:16px;background:#fff;
  box-shadow:0 8px 22px rgba(20,54,87,.06)
}
#eypd-refresh #eypd-educator-speak .es-proof strong{display:block;color:var(--blue);font-size:14px}
#eypd-refresh #eypd-educator-speak .es-proof span{display:block;margin-top:2px;color:#75879a;font-size:10.5px}

/* SECTIONS */
#eypd-refresh #eypd-educator-speak .es-section{padding:52px 0}
#eypd-refresh #eypd-educator-speak .es-eyebrow{color:var(--red);font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
#eypd-refresh #eypd-educator-speak .es-section h2{
  margin:7px 0 11px;color:var(--ink);font-size:clamp(32px,4vw,46px);
  line-height:1.07;letter-spacing:-.035em
}
#eypd-refresh #eypd-educator-speak .es-lead{max-width:920px;margin:0;color:var(--muted);font-size:15px}

/* PATTERN SECTION */
#eypd-refresh #eypd-educator-speak .es-pattern-grid{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:28px;align-items:stretch;margin-top:28px
}
#eypd-refresh #eypd-educator-speak .es-pattern-statement{
  padding:28px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#061d36,#0b4b81);
  box-shadow:0 18px 38px rgba(6,29,54,.15);display:flex;flex-direction:column;justify-content:space-between
}
#eypd-refresh #eypd-educator-speak .es-pattern-statement .mark{font-size:70px;line-height:.7;color:#7edcf7;font-family:Georgia,serif}
#eypd-refresh #eypd-educator-speak .es-pattern-statement h3{margin:16px 0 9px;color:#fff;font-size:27px;line-height:1.12}
#eypd-refresh #eypd-educator-speak .es-pattern-statement p{margin:0;color:#d3e3ed;font-size:13px}
#eypd-refresh #eypd-educator-speak .es-pattern-path{
  margin-top:22px;display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr auto;gap:6px;align-items:center
}
#eypd-refresh #eypd-educator-speak .es-pattern-path span{font-size:9px;font-weight:900;color:#fff}
#eypd-refresh #eypd-educator-speak .es-pattern-path i{height:2px;background:linear-gradient(90deg,rgba(255,255,255,.15),#78d8f6,rgba(255,255,255,.15))}
#eypd-refresh #eypd-educator-speak .es-pillars{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#eypd-refresh #eypd-educator-speak .es-pillar{
  padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff;
  box-shadow:0 8px 22px rgba(20,54,87,.055)
}
#eypd-refresh #eypd-educator-speak .es-pillar b{
  width:36px;height:36px;display:grid;place-items:center;margin-bottom:12px;border-radius:11px;
  color:#fff;background:linear-gradient(145deg,var(--blue),var(--cyan));font-size:11px
}
#eypd-refresh #eypd-educator-speak .es-pillar:nth-child(2) b{background:linear-gradient(145deg,#a13a49,#df5a65)}
#eypd-refresh #eypd-educator-speak .es-pillar:nth-child(3) b{background:linear-gradient(145deg,#197184,#2aa6a8)}
#eypd-refresh #eypd-educator-speak .es-pillar:nth-child(4) b{background:linear-gradient(145deg,#67549a,#8d77bd)}
#eypd-refresh #eypd-educator-speak .es-pillar strong{display:block;color:var(--ink);font-size:15px;margin-bottom:4px}
#eypd-refresh #eypd-educator-speak .es-pillar span{display:block;color:var(--muted);font-size:12px}

/* COURSE TOPIC RIBBON */
#eypd-refresh #eypd-educator-speak .es-course-ribbon{
  padding:24px;border:1px solid #d9e7f0;border-radius:22px;background:linear-gradient(110deg,#eef8fd,#fff);
  box-shadow:0 12px 28px rgba(20,54,87,.05)
}
#eypd-refresh #eypd-educator-speak .es-course-ribbon strong{display:block;margin-bottom:12px;color:var(--ink);font-size:13px}
#eypd-refresh #eypd-educator-speak .es-course-chips{display:flex;flex-wrap:wrap;gap:7px}
#eypd-refresh #eypd-educator-speak .es-course-chips span{
  padding:7px 9px;border-radius:999px;background:#fff;border:1px solid #d5e4ee;
  color:#49647a;font-size:10px;font-weight:800
}

/* VOICE LIBRARY */
#eypd-refresh #eypd-educator-speak .es-library-head{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:end;margin-bottom:26px}
#eypd-refresh #eypd-educator-speak .es-library-note{
  max-width:410px;padding:12px 14px;border-left:4px solid var(--cyan);border-radius:9px;
  background:#eef8fc;color:#51697c;font-size:11.5px
}
#eypd-refresh #eypd-educator-speak .es-category-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch
}
#eypd-refresh #eypd-educator-speak .es-voice-category{
  display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:22px;
  background:#fff;box-shadow:0 10px 28px rgba(20,54,87,.07);transition:.22s ease
}
#eypd-refresh #eypd-educator-speak .es-voice-category:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(20,54,87,.11)}
#eypd-refresh #eypd-educator-speak .es-category-art{
  position:relative;height:195px;overflow:hidden;padding:22px;color:#fff;display:flex;align-items:flex-end
}
#eypd-refresh #eypd-educator-speak .es-category-art:before,#eypd-refresh #eypd-educator-speak .es-category-art:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.14)}
#eypd-refresh #eypd-educator-speak .es-category-art:before{width:230px;height:230px;right:-90px;top:-115px}
#eypd-refresh #eypd-educator-speak .es-category-art:after{width:140px;height:140px;right:18px;top:-88px}
#eypd-refresh #eypd-educator-speak .es-art-blue{background:linear-gradient(135deg,#0f2c59,#0753a6 60%,#2d94df)}
#eypd-refresh #eypd-educator-speak .es-art-red{background:linear-gradient(135deg,#59232f,#a63a4a 58%,#da5864)}
#eypd-refresh #eypd-educator-speak .es-art-purple{background:linear-gradient(135deg,#342c5d,#67549a 58%,#8d77bd)}
#eypd-refresh #eypd-educator-speak .es-art-teal{background:linear-gradient(135deg,#123b48,#197184 58%,#2aa6a8)}
#eypd-refresh #eypd-educator-speak .es-art-orange{background:linear-gradient(135deg,#5c3821,#a8642f 58%,#d9904b)}
#eypd-refresh #eypd-educator-speak .es-art-navy{background:linear-gradient(135deg,#061d36,#174f7a 58%,#2684a7)}
#eypd-refresh #eypd-educator-speak .es-category-no{
  position:absolute;right:18px;top:17px;width:52px;height:52px;display:grid;place-items:center;
  border-radius:14px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);
  font-size:15px;font-weight:900;z-index:2
}
#eypd-refresh #eypd-educator-speak .es-category-art-copy{position:relative;z-index:2}
#eypd-refresh #eypd-educator-speak .es-category-art-copy span{
  display:block;margin-bottom:5px;color:#d9f2fb;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase
}
#eypd-refresh #eypd-educator-speak .es-category-art-copy strong{display:block;color:#fff;font-size:22px;line-height:1.13}
#eypd-refresh #eypd-educator-speak .es-category-body{display:flex;flex-direction:column;flex:1;padding:21px}
#eypd-refresh #eypd-educator-speak .es-category-body>p{margin:0 0 13px;color:var(--muted);font-size:13px;min-height:80px}
#eypd-refresh #eypd-educator-speak .es-category-preview{
  position:relative;min-height:100px;padding:13px 13px 13px 35px;margin-bottom:13px;border-radius:13px;
  background:#f7fafc;border:1px solid #dce7ef;color:#3e556b;font-size:12px;line-height:1.45
}
#eypd-refresh #eypd-educator-speak .es-preview-mark{position:absolute;left:10px;top:5px;color:var(--cyan);font-size:35px;font-family:Georgia,serif;line-height:1}
#eypd-refresh #eypd-educator-speak .es-category-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:15px}
#eypd-refresh #eypd-educator-speak .es-category-tags span{
  padding:5px 8px;border-radius:999px;background:#eef6fb;border:1px solid #d6e6f1;
  color:#49657b;font-size:9.5px;font-weight:800
}
#eypd-refresh #eypd-educator-speak .es-category-footer{margin-top:auto}
#eypd-refresh #eypd-educator-speak .es-category-footer>span{display:block;margin-bottom:9px;color:#7a8998;font-size:9.5px}
#eypd-refresh #eypd-educator-speak .es-category-footer>span b{color:var(--blue)}
#eypd-refresh #eypd-educator-speak .es-open-voices{
  width:100%;min-height:42px;border:0;border-radius:10px;background:var(--blue);color:#fff;
  font-family:inherit;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 7px 17px rgba(7,83,166,.17)
}
#eypd-refresh #eypd-educator-speak .es-voice-template{display:none!important}

/* TRANSPARENCY / PRINCIPLE */
#eypd-refresh #eypd-educator-speak .es-principle{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:26px;align-items:stretch
}
#eypd-refresh #eypd-educator-speak .es-principle-main{
  padding:30px;border-radius:24px;background:linear-gradient(135deg,#061d36,#0b4b81);color:#fff;
  box-shadow:0 18px 38px rgba(6,29,54,.14)
}
#eypd-refresh #eypd-educator-speak .es-principle-main .mark{color:#7bdcf7;font-family:Georgia,serif;font-size:66px;line-height:.7}
#eypd-refresh #eypd-educator-speak .es-principle-main h3{margin:15px 0 10px;color:#fff;font-size:30px;line-height:1.12}
#eypd-refresh #eypd-educator-speak .es-principle-main p{margin:0;color:#d2e1eb;font-size:14px}
#eypd-refresh #eypd-educator-speak .es-transparency{
  padding:25px;border:1px solid var(--line);border-radius:22px;background:#fff;
  box-shadow:0 10px 26px rgba(20,54,87,.06)
}
#eypd-refresh #eypd-educator-speak .es-transparency .es-eyebrow{margin-bottom:7px}
#eypd-refresh #eypd-educator-speak .es-transparency h3{margin:0 0 9px;color:var(--ink);font-size:21px}
#eypd-refresh #eypd-educator-speak .es-transparency p{margin:0;color:var(--muted);font-size:12.5px}
#eypd-refresh #eypd-educator-speak .es-transparency .es-mini-rule{margin-top:15px;padding:11px 12px;border-left:4px solid var(--red);border-radius:8px;background:#fff4f5;color:#615055;font-size:11.5px}

/* CTA */
#eypd-refresh #eypd-educator-speak .es-cta{
  display:flex;align-items:center;justify-content:space-between;gap:26px;
  padding:34px;border:1px solid #cfe3f0;border-radius:24px;
  background:linear-gradient(110deg,#edf8fd,#fff);box-shadow:0 14px 34px rgba(20,54,87,.06)
}
#eypd-refresh #eypd-educator-speak .es-cta h3{font-size:28px;margin:0 0 6px;color:var(--ink)}
#eypd-refresh #eypd-educator-speak .es-cta p{margin:0;color:var(--muted);max-width:760px}
#eypd-refresh #eypd-educator-speak .es-actions{display:flex;gap:10px;flex-wrap:wrap}
#eypd-refresh #eypd-educator-speak .es-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:11px;font-weight:850}
#eypd-refresh #eypd-educator-speak .es-btn-primary{background:var(--blue);color:#fff!important;box-shadow:0 8px 20px rgba(7,83,166,.20)}
#eypd-refresh #eypd-educator-speak .es-btn-secondary{background:#fff;color:var(--blue)!important;border:1px solid #bfd8ec}

/* MODAL */
#eypd-refresh #eypd-educator-speak .es-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:22px}
#eypd-refresh #eypd-educator-speak .es-modal.is-open{display:flex}
#eypd-refresh #eypd-educator-speak .es-modal-backdrop{position:absolute;inset:0;background:rgba(3,17,31,.74);backdrop-filter:blur(4px)}
#eypd-refresh #eypd-educator-speak .es-modal-dialog{
  position:relative;z-index:2;width:min(980px,96vw);max-height:92vh;overflow:hidden;display:flex;flex-direction:column;
  border-radius:24px;background:#fff;box-shadow:0 38px 100px rgba(0,0,0,.34)
}
#eypd-refresh #eypd-educator-speak .es-modal-top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 25px 18px;
  background:linear-gradient(110deg,#061d36,#0b4b81);border-bottom:4px solid var(--red)
}
#eypd-refresh #eypd-educator-speak .es-modal-top span{display:block;color:#91dcf4;font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
#eypd-refresh #eypd-educator-speak .es-modal-top h2{margin:3px 0 0;color:#fff;font-size:25px}
#eypd-refresh #eypd-educator-speak .es-modal-close{
  width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;
  background:rgba(255,255,255,.08);color:#fff;font-size:28px;line-height:1;cursor:pointer
}
#eypd-refresh #eypd-educator-speak .es-modal-body{overflow-y:auto;padding:25px}
#eypd-refresh #eypd-educator-speak .es-modal-intro{display:grid;grid-template-columns:64px 1fr;gap:15px;align-items:start}
#eypd-refresh #eypd-educator-speak .es-modal-num{
  width:58px;height:58px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,var(--blue),var(--cyan));
  color:#fff;font-size:16px;font-weight:900
}
#eypd-refresh #eypd-educator-speak .es-modal-label{color:var(--red);font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
#eypd-refresh #eypd-educator-speak .es-modal-intro h3{margin:2px 0 4px;color:var(--ink);font-size:25px}
#eypd-refresh #eypd-educator-speak .es-modal-intro p{margin:0;color:var(--muted);font-size:13px}
#eypd-refresh #eypd-educator-speak .es-modal-topic{margin-top:22px}
#eypd-refresh #eypd-educator-speak .es-modal-topic h4{
  margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid #dfe8ef;color:var(--blue);font-size:15px
}
#eypd-refresh #eypd-educator-speak .es-modal-topic ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
#eypd-refresh #eypd-educator-speak .es-modal-topic li{
  display:grid;grid-template-columns:34px 1fr;gap:10px;padding:11px 12px;border:1px solid #e0e9ef;border-radius:11px;background:#f9fbfc
}
#eypd-refresh #eypd-educator-speak .es-modal-topic li>span{
  width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eef6fb;color:var(--blue);font-size:9px;font-weight:900
}
#eypd-refresh #eypd-educator-speak .es-modal-topic li p{margin:0;color:#41576c;font-size:12.5px;line-height:1.5}
#eypd-refresh.es-modal-open{overflow:hidden!important}

/* RESPONSIVE */
@media(max-width:1150px){
  #eypd-refresh #eypd-educator-speak .es-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
  #eypd-refresh #eypd-educator-speak .es-hero-grid,#eypd-refresh #eypd-educator-speak .es-pattern-grid,#eypd-refresh #eypd-educator-speak .es-principle{grid-template-columns:1fr}
  #eypd-refresh #eypd-educator-speak .es-pulse-card{max-width:820px;min-height:0}
  #eypd-refresh #eypd-educator-speak .es-library-head{grid-template-columns:1fr}
}
@media(max-width:800px){
  #eypd-refresh #eypd-educator-speak .es-proof{grid-template-columns:repeat(2,1fr)}
  #eypd-refresh #eypd-educator-speak .es-pillars{grid-template-columns:1fr 1fr}
  #eypd-refresh #eypd-educator-speak .es-cta{flex-direction:column;align-items:flex-start}
}
@media(max-width:620px){
  #eypd-refresh #eypd-educator-speak{width:calc(100vw - 16px);margin-left:calc(50% - 50vw + 8px);margin-right:calc(50% - 50vw + 8px)}
  #eypd-refresh #eypd-educator-speak .es-wrap{padding:0 10px}
  #eypd-refresh #eypd-educator-speak .es-hero{min-height:0;padding:42px 18px;border-radius:20px}
  #eypd-refresh #eypd-educator-speak .es-hero-left-accent{width:5px}
  #eypd-refresh #eypd-educator-speak .es-hero-right-accent{right:18px;width:76px;height:5px}
  #eypd-refresh #eypd-educator-speak .es-proof{grid-template-columns:1fr}
  #eypd-refresh #eypd-educator-speak .es-section{padding:38px 0}
  #eypd-refresh #eypd-educator-speak .es-pillars,#eypd-refresh #eypd-educator-speak .es-category-grid{grid-template-columns:1fr}
  #eypd-refresh #eypd-educator-speak .es-category-body>p{min-height:0}
  #eypd-refresh #eypd-educator-speak .es-pattern-path{grid-template-columns:1fr;gap:5px}
  #eypd-refresh #eypd-educator-speak .es-pattern-path i{width:2px;height:18px;margin-left:10px}
  #eypd-refresh #eypd-educator-speak .es-actions{width:100%}
  #eypd-refresh #eypd-educator-speak .es-btn{width:100%}
  #eypd-refresh #eypd-educator-speak .es-modal-intro{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  #eypd-refresh #eypd-educator-speak *,#eypd-refresh #eypd-educator-speak *:before,#eypd-refresh #eypd-educator-speak *:after{transition:none!important;animation:none!important}
}

/* ======================================================
   EDUCATOR SPEAK v8
   12 SMALLER THEME CARDS + SIMPLER, WARMER EXPLANATION
   ====================================================== */

#eypd-refresh #eypd-educator-speak .es-library-head-v8{
  display:grid!important;
  grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)!important;
  gap:28px!important;
  align-items:end!important;
  margin-bottom:24px!important;
}

#eypd-refresh #eypd-educator-speak .es-simple-note{
  padding:16px 17px;
  border:1px solid #d9e7f0;
  border-radius:16px;
  background:linear-gradient(110deg,#f4f9fc,#fff);
  box-shadow:0 8px 20px rgba(20,54,87,.045);
}

#eypd-refresh #eypd-educator-speak .es-simple-note strong{
  display:block;
  margin-bottom:4px;
  color:var(--ink);
  font-size:12px;
}

#eypd-refresh #eypd-educator-speak .es-simple-note span{
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}

/* 12 compact cards: four across on large screens */
#eypd-refresh #eypd-educator-speak .es-mini-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}

#eypd-refresh #eypd-educator-speak .es-mini-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 22px rgba(20,54,87,.06);
  transition:transform .2s ease,box-shadow .2s ease;
}

#eypd-refresh #eypd-educator-speak .es-mini-card:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 30px rgba(20,54,87,.10);
}

#eypd-refresh #eypd-educator-speak .es-mini-art{
  position:relative;
  height:126px;
  padding:17px;
  overflow:hidden;
  color:#fff;
  display:flex;
  align-items:flex-end;
}

#eypd-refresh #eypd-educator-speak .es-mini-art:before{
  content:"";
  position:absolute;
  width:160px;
  height:160px;
  right:-62px;
  top:-82px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
}

#eypd-refresh #eypd-educator-speak .es-mini-art>div:last-child{
  position:relative;
  z-index:2;
}

#eypd-refresh #eypd-educator-speak .es-mini-art span{
  display:block;
  margin-bottom:3px;
  color:#dff5fc;
  font-size:8.5px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

#eypd-refresh #eypd-educator-speak .es-mini-art strong{
  display:block;
  color:#fff;
  font-size:16px;
  line-height:1.12;
}

#eypd-refresh #eypd-educator-speak .es-mini-no{
  position:absolute;
  right:13px;
  top:12px;
  z-index:2;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:11px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:10px;
  font-weight:900;
}

#eypd-refresh #eypd-educator-speak .es-mini-blue{background:linear-gradient(135deg,#0f2c59,#0753a6 62%,#2d94df)}
#eypd-refresh #eypd-educator-speak .es-mini-teal{background:linear-gradient(135deg,#123b48,#197184 60%,#2aa6a8)}
#eypd-refresh #eypd-educator-speak .es-mini-navy{background:linear-gradient(135deg,#061d36,#174f7a 60%,#2684a7)}
#eypd-refresh #eypd-educator-speak .es-mini-red{background:linear-gradient(135deg,#59232f,#a63a4a 60%,#da5864)}
#eypd-refresh #eypd-educator-speak .es-mini-purple{background:linear-gradient(135deg,#342c5d,#67549a 60%,#8d77bd)}
#eypd-refresh #eypd-educator-speak .es-mini-orange{background:linear-gradient(135deg,#5c3821,#a8642f 60%,#d9904b)}
#eypd-refresh #eypd-educator-speak .es-mini-teal2{background:linear-gradient(135deg,#0e4151,#1d778a 60%,#33aab0)}
#eypd-refresh #eypd-educator-speak .es-mini-blue2{background:linear-gradient(135deg,#123568,#176ab1 60%,#43a0df)}
#eypd-refresh #eypd-educator-speak .es-mini-red2{background:linear-gradient(135deg,#65272f,#b6414b 60%,#e66369)}
#eypd-refresh #eypd-educator-speak .es-mini-purple2{background:linear-gradient(135deg,#3a315e,#6d5ba5 60%,#967fc3)}
#eypd-refresh #eypd-educator-speak .es-mini-orange2{background:linear-gradient(135deg,#633b1f,#ad682f 60%,#df9852)}
#eypd-refresh #eypd-educator-speak .es-mini-navy2{background:linear-gradient(135deg,#08233f,#19577e 60%,#2b89aa)}

#eypd-refresh #eypd-educator-speak .es-mini-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:15px;
}

#eypd-refresh #eypd-educator-speak .es-mini-body>p{
  min-height:84px;
  margin:0 0 11px;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.48;
}

#eypd-refresh #eypd-educator-speak .es-mini-chips{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-bottom:12px;
}

#eypd-refresh #eypd-educator-speak .es-mini-chips span{
  padding:4px 7px;
  border-radius:999px;
  background:#eef6fb;
  border:1px solid #d7e6ef;
  color:#4d687d;
  font-size:8.5px;
  font-weight:800;
}

#eypd-refresh #eypd-educator-speak .es-mini-bottom{
  margin-top:auto;
}

#eypd-refresh #eypd-educator-speak .es-mini-bottom small{
  display:block;
  min-height:16px;
  margin-bottom:7px;
  color:#82909e;
  font-size:8.5px;
}

#eypd-refresh #eypd-educator-speak .es-mini-open{
  width:100%;
  min-height:36px;
  border:0;
  border-radius:9px;
  background:var(--blue);
  color:#fff;
  font-family:inherit;
  font-size:10.5px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(7,83,166,.14);
}

#eypd-refresh #eypd-educator-speak .es-mini-template{
  display:none!important;
}

#eypd-refresh #eypd-educator-speak .es-modal-plain-note{
  margin:18px 0 4px;
  padding:12px 14px;
  border-left:4px solid var(--cyan);
  border-radius:8px;
  background:#eef8fc;
  color:#50697d;
  font-size:11.5px;
  line-height:1.45;
}

/* Hide the old six-card library if old markup survives anywhere */
#eypd-refresh #eypd-educator-speak .es-category-grid{
  display:none!important;
}

/* Tablet */
@media(max-width:1250px){
  #eypd-refresh #eypd-educator-speak .es-mini-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Smaller tablet */
@media(max-width:900px){
  #eypd-refresh #eypd-educator-speak .es-library-head-v8{
    grid-template-columns:1fr!important;
  }

  #eypd-refresh #eypd-educator-speak .es-mini-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Mobile */
@media(max-width:620px){
  #eypd-refresh #eypd-educator-speak .es-mini-grid{
    grid-template-columns:1fr;
  }

  #eypd-refresh #eypd-educator-speak .es-mini-body>p{
    min-height:0;
  }
}


/* ======================================================
   EYPD FINAL SHARED HEADER / MENU STABILITY FIX
   - forces 10-link desktop navigation to 5 x 2
   - removes conflicting 4-column rules that caused 3 rows
   - prevents Learner Login / phone / Contact EYPD overflow
   - keeps header content inside the page width
   ====================================================== */

#eypd-refresh .eypd-shared-menu,#eypd-refresh .eypd-shared-brandbar,#eypd-refresh .eypd-shared-social{
    box-sizing:border-box!important;
}

/* ---------- NAVIGATION: ALWAYS 5 x 2 ON NORMAL DESKTOP/LAPTOP ---------- */
#eypd-refresh .eypd-shared-menu{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:9px!important;
    margin-top:0!important;
    margin-bottom:14px!important;
    overflow:visible!important;
}

#eypd-refresh .eypd-shared-menu>a{
    min-width:0!important;
    width:100%!important;
    overflow:hidden!important;
}

#eypd-refresh .eypd-shared-menu-copy{
    min-width:0!important;
}

#eypd-refresh .eypd-shared-menu-copy small,#eypd-refresh .eypd-shared-menu-copy strong{
    overflow-wrap:anywhere!important;
}

/* ---------- BRAND HEADER: FLEXIBLE COLUMNS, NO HORIZONTAL RUN-OFF ---------- */
#eypd-refresh .eypd-shared-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-shared-brand-logo,#eypd-refresh .eypd-shared-brand-copy,#eypd-refresh .eypd-shared-brand-center,#eypd-refresh .eypd-shared-brand-contact{
    min-width:0!important;
    max-width:100%!important;
}

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

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

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

#eypd-refresh .eypd-shared-brand-copy strong{
    font-size:13px!important;
    line-height:1.25!important;
}

#eypd-refresh .eypd-shared-brand-copy span{
    max-width:none!important;
    font-size:10.5px!important;
    line-height:1.4!important;
}

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

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

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

#eypd-refresh .eypd-shared-brand-center-grid strong{
    font-size:13.5px!important;
}

#eypd-refresh .eypd-shared-brand-center-grid span{
    font-size:8.5px!important;
    overflow-wrap:anywhere!important;
}

/* The right utility column was the overflow source */
#eypd-refresh .eypd-shared-brand-contact{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    gap:7px!important;
    overflow:hidden!important;
}

#eypd-refresh .eypd-shared-brand-contact a{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:38px!important;
    padding:8px 8px!important;
    justify-content:center!important;
    text-align:center!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    font-size:10.5px!important;
    line-height:1.2!important;
}

/* Keep all top content tight under the WordPress theme header */
#eypd-refresh .eypd-shared-menu:first-of-type{
    margin-top:0!important;
}

/* Medium-width screens: keep the menu 5 x 2, but let brand header reflow safely */
@media(max-width:1050px){
    #eypd-refresh .eypd-shared-menu{
        grid-template-columns:repeat(5,minmax(0,1fr))!important;
    }

    #eypd-refresh .eypd-shared-menu>a{
        min-height:66px!important;
        padding:11px 10px!important;
    }

    #eypd-refresh .eypd-shared-menu-copy small{
        font-size:7.8px!important;
    }

    #eypd-refresh .eypd-shared-menu-copy strong{
        font-size:11.5px!important;
    }

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

    #eypd-refresh .eypd-shared-brand-logo{
        justify-content:flex-start!important;
    }

    #eypd-refresh .eypd-shared-brand-copy{
        border-left:1px solid #d9e6ef!important;
    }

    #eypd-refresh .eypd-shared-brand-center{
        grid-column:1 / -1!important;
        border-left:0!important;
        border-right:0!important;
        border-top:1px solid #d9e6ef!important;
        border-bottom:1px solid #d9e6ef!important;
    }

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

/* Only truly narrow screens change the menu row count */
@media(max-width:760px){
    #eypd-refresh .eypd-shared-menu{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

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

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

    #eypd-refresh .eypd-shared-brand-copy{
        padding:12px 0 0!important;
        border-left:0!important;
        border-top:1px solid #d9e6ef!important;
        text-align:center!important;
    }

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

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

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

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

#eypd-refresh.page #content.site-content{
    padding-top:0!important;
    margin-top:0!important;
}


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