/* ==========================================================================
   CS & Statistics — department design system  (v2: editorial minimal)
   Restraint over color: white surfaces, hairline borders, one navy accent.
   Palette: #002147 navy · #2277b3 keaney · #005eff link · #ffd453 gold (badge only)
            #555 body-muted · #ddd hairline · #fafafa wash
   ========================================================================== */

/* ---------- Typographic scale --------------------------------------------- */
.entry-content h2.wp-block-heading{
  font-family:"Lato","Hind",Arial,sans-serif;font-weight:900;
  font-size:1.6rem;line-height:1.2;color:#002147;
  margin:2.8rem 0 1rem;
}
.entry-content h3.wp-block-heading{
  font-family:"Lato","Hind",Arial,sans-serif;font-weight:700;
  font-size:1.22rem;line-height:1.25;color:#002147;margin:2.2rem 0 .8rem;
}
/* component titles normalized so nothing shouts */
.entry-content .cl-boxout h1{font-size:1.15rem;line-height:1.3}
.entry-content .cl-boxout p:last-child,.entry-content .cl-boxout ul:last-child{margin-bottom:0}
.entry-content .cl-boxout.blue{background:#dcecf8}
.entry-content .cl-panel article h1{font-size:1.4rem;line-height:1.25;margin-bottom:.35rem}
.entry-content .cl-panel article p{margin-bottom:.7rem}
.entry-content .cl-tab h1{font-size:1.3rem;line-height:1.3}
.entry-content .type-intro{
  font-family:"Hind",Arial,sans-serif;font-size:1.22rem;font-weight:300;
  line-height:1.55;color:#555;max-width:800px;
}
/* keep metrics quiet and uniform (no dark variants) */
.entry-content .cl-metric,.entry-content .cl-metric.dark{background:#fafafa}
.entry-content .cl-metric span,.entry-content .cl-metric.dark span{color:#555}
.entry-content .cl-metric span:first-child,
.entry-content .cl-metric.dark span:first-child{color:#002147}

/* ---------- Tiles: filled brand colors, category = color ------------------- */
.acad-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin:1.2rem 0 2.2rem}
.acad-tile{display:flex;flex-direction:column;padding:1.3rem 1.4rem 1.15rem;
  background:#002147;color:#fff;
  text-decoration:none;font-family:"Hind",Arial,sans-serif;min-height:150px;
  transition:transform .12s ease,box-shadow .12s ease}
.acad-tile:focus-visible{outline:3px solid #2277b3;outline-offset:2px}
.acad-tile:hover,.acad-tile:focus{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,18,40,.3)}
.acad-tile .k{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.4rem}
.acad-tile h3{font-family:"Lato","Hind",Arial,sans-serif;font-weight:900;font-size:1.18rem;line-height:1.25;margin:0 0 .4rem;color:inherit}
.acad-tile p{font-size:.9rem;line-height:1.5;margin:0 0 .7rem;max-width:none}
.acad-tile .go{margin-top:auto;font-weight:700;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.acad-tile .go::after{content:"\2192";margin-left:.35rem}
.acad-tile:hover .go{text-decoration:underline}
.acad-tile .badge{display:inline-block;font-size:.66rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  background:#ffd453;color:#002147;padding:.15rem .5rem;margin-left:.45rem;vertical-align:middle}
/* larger variant for degree-choice boxes */
.acad-tile--lg{padding:1.8rem 1.9rem 1.5rem;min-height:200px}
.acad-tile--lg h3{font-size:1.4rem}
.acad-tile--lg p{font-size:.95rem;line-height:1.55}
/* --- category colors (approved brand contrast pairs only) --- */
/* undergraduate programs: gold */
.c-ug,.t-navy,.c-rs,.t-gold{background:#ffd453;color:#002147}
.c-ug h3,.t-navy h3,.c-rs h3,.t-gold h3{color:#002147}
.c-ug .k,.t-navy .k,.c-rs .k,.t-gold .k{color:#30557e}
.c-ug p,.t-navy p,.c-rs p,.t-gold p{color:#002147}
.c-ug .go,.t-navy .go,.c-rs .go,.t-gold .go{color:#002147}
.c-ug .badge,.t-navy .badge{background:#002147;color:#ffd453}
/* graduate programs + student support: light blue */
.c-gr,.t-mid,.c-as{background:#c0ddf2;color:#000}
.c-gr h3,.t-mid h3,.c-as h3{color:#002147}
.c-gr .k,.t-mid .k,.c-as .k{color:#30557e}
.c-gr p,.t-mid p,.c-as p{color:#000}
.c-gr .go,.t-mid .go,.c-as .go{color:#002147}

.acad-tiles--2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.acad-tiles,.acad-tiles--2{grid-template-columns:1fr}}

/* ---------- Clean requirement tables --------------------------------------- */
table.req-table{width:100%;border:none;border-top:1px solid #eee;border-collapse:collapse;
  font-family:"Hind",Arial,sans-serif;font-size:.95rem;margin:0 0 2.2rem;background:#fff}
.req-table caption{text-align:left;font-family:"Lato","Hind",Arial,sans-serif;font-weight:700;
  color:#002147;font-size:1.05rem;padding:.7rem 0 .4rem}
.req-table thead th{background:none;color:#555;font-size:.72rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;text-align:left;
  padding:.85rem .9rem .5rem;border:none;border-bottom:2px solid #ddd}
.req-table td,.req-table tbody th{background:none;color:#000;font-weight:400;text-align:left;
  padding:.7rem .9rem;border:none;border-bottom:1px solid #eee;vertical-align:top}
.req-table tbody th{color:#002147;font-weight:600}
.req-table tbody th a{color:#005eff}
.req-table tr:nth-child(even){background:none}
.req-table tbody tr:hover{background:#fafafa}
.req-table .numeric{text-align:right;font-family:"Rubik","Hind",Arial,sans-serif;font-weight:500;color:#002147;white-space:nowrap}
.req-table tfoot td,.req-table tfoot th{background:none;border-top:2px solid #002147;border-bottom:none;
  color:#002147;font-weight:700}

/* ---------- Feature band — the ONE color moment per page -------------------- */
.feature-band{background:#002147;color:#fff;padding:2.1rem 2.3rem;margin:1.4rem 0 2.4rem;
  font-family:"Hind",Arial,sans-serif}
.feature-band .k{display:block;font-size:.72rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#ffd453;margin-bottom:.4rem}
.feature-band h3,.feature-band h2{font-family:"Lato","Hind",Arial,sans-serif;font-weight:900;font-size:1.5rem;color:#fff;margin:0 0 .5rem}
.feature-band p{color:#c0ddf2;max-width:800px;font-size:.98rem;line-height:1.55;margin:0 0 1.1rem}
.feature-band .cl-button{margin-bottom:0}

/* ---------- Numbered pathway steps ------------------------------------------ */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin:1.2rem 0 2.2rem;
  padding:0;list-style:none;font-family:"Hind",Arial,sans-serif;max-width:none}
.steps li{background:#fff;border:1px solid #ddd;border-top:3px solid #002147;padding:1.15rem 1.25rem 1.05rem}
.steps .n{display:block;font-family:"Rubik","Hind",Arial,sans-serif;font-weight:700;font-size:1.8rem;line-height:1;color:#2277b3;margin-bottom:.4rem}
.steps h4{font-family:"Lato","Hind",Arial,sans-serif;font-weight:700;font-size:1rem;color:#002147;margin:0 0 .35rem}
.steps p{font-size:.86rem;line-height:1.5;color:#555;margin:0;max-width:none}
@media(max-width:640px){.steps{grid-template-columns:1fr 1fr}}


/* ---------- Academics tab panels ---------------------------------------------- */
.acad-tabpanel[hidden]{display:none}



/* ---------- Announcements: use the full content width ------------------------- */
.entry-content .display-posts-listing .listing-item{max-width:none}

/* ---------- Gray variant of the feature band ---------------------------------- */
.feature-band--gray{background:#eee}
.feature-band--gray h2,.feature-band--gray h3{color:#002147}
.feature-band--gray p{color:#555}
.feature-band--gray .k{color:#30557e}

/* ---------- Scholarship list ---------------------------------------------------- */
.schol-list{font-family:"Hind",Arial,sans-serif;padding-left:1.15rem;margin:0 0 1.4rem;max-width:800px}
.schol-list li{margin:0 0 .85rem;line-height:1.55}
.schol-list a{font-weight:600}

/* ---------- Flagship navy tiles (home) + hover-proof text colors -------------- */
.c-navy{background:#002147;color:#fff}
.c-navy h3,.c-navy:hover h3,.c-navy:focus h3{color:#fff}
.c-navy .k,.c-navy:hover .k{color:#ffd453}
.c-navy p,.c-navy:hover p{color:#c0ddf2}
.c-navy .go,.c-navy:hover .go,.c-navy:focus .go{color:#ffd453}
.c-navy .badge{background:#ffd453;color:#002147}
/* keep every tile's text solid on hover (theme a:hover recolors inherited text) */
.c-ug:hover h3,.c-ug:focus h3,.t-navy:hover h3,.c-rs:hover h3,.t-gold:hover h3{color:#002147}
.c-ug:hover p,.t-navy:hover p,.c-rs:hover p,.t-gold:hover p{color:#002147}
.c-ug:hover .k,.t-navy:hover .k,.c-rs:hover .k,.t-gold:hover .k{color:#30557e}
.c-ug:hover .go,.t-navy:hover .go,.c-rs:hover .go,.t-gold:hover .go{color:#002147}
.c-gr:hover h3,.c-gr:focus h3,.t-mid:hover h3,.c-as:hover h3,.c-as:focus h3{color:#002147}
.c-gr:hover p,.t-mid:hover p,.c-as:hover p{color:#000}
.c-gr:hover .k,.t-mid:hover .k,.c-as:hover .k{color:#30557e}
.c-gr:hover .go,.t-mid:hover .go,.c-as:hover .go{color:#002147}

/* ---------- Fix oversized card spacing (component library defaults to 80px
   bottom margin on a card's last paragraph, and ~1em+1.5% padding on the
   button) -------------------------------------------------------------- */
.entry-content .cl-card .cl-card-text p:last-child,.entry-content .equal-height .cl-card p:last-child{margin-bottom:1rem}
.entry-content .cl-card .cl-card-text{padding-bottom:.5rem}
.entry-content .cl-card .button{padding:.85rem 1rem}

/* ---------- Top utility pills (curriculum quick links) ------------------------ */
.top-pills{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;margin:0 0 1.6rem;padding:0;
  font-family:"Hind",Arial,sans-serif}
.top-pills a{display:inline-flex;align-items:center;gap:.4rem;padding:.55rem 1.2rem;
  background:#fff;border:1.5px solid #002147;border-radius:999px;
  color:#002147;font-weight:700;font-size:.88rem;text-decoration:none;
  transition:background .15s ease,color .15s ease}
.top-pills a:hover,.top-pills a:focus{background:#002147;color:#fff}
.top-pills a:focus-visible{outline:3px solid #2277b3;outline-offset:2px}

/* ---------- Research page: contain lab logos at 80% width instead of
   full-bleed cropping (logos need to stay uncropped, unlike photos) ------- */
.ln-research .cl-card-container.media{background:#fafafa;display:flex;align-items:center;justify-content:center}
.ln-research .cl-card-container.media img{position:static;transform:none;width:80%;height:auto;
  max-height:80%;object-fit:contain}
