:root{--ink:#162f29;--forest:#10483c;--mint:#dff4e9;--lime:#dcfa75;--paper:#f6f8f5;--line:#d4dfd7;--serif:Georgia,"Times New Roman",serif}
body{background:var(--paper);color:var(--ink);font-family:"DM Sans",system-ui,sans-serif}
body .fg-navbar{background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
body .fg-brand{letter-spacing:-.055em;color:var(--ink)}
body .fg-navbar .nav-link{font-size:.96rem;color:#365148;font-weight:600}
body .fg-navbar .nav-link:hover,body .fg-navbar .nav-link[aria-current=page]{background:var(--mint);color:var(--forest);border-radius:.6rem}
body .fg-navbar .fg-student-btn,.student-shell button{background:var(--forest);color:white;border-radius:99px;border:none}
body :focus-visible{outline:3px solid #d67914;outline-offset:4px}
.portal-wrap{width:min(1180px,calc(100% - 2.5rem));margin:1.8rem auto 4rem}
.portal-hero,.student-shell .catalog-heading,body .fg-jobs-page .fg-jobs-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--forest);color:#fff;border:0;border-radius:24px;padding:clamp(2rem,5vw,4.5rem);text-align:left;box-shadow:none}
.portal-hero{display:grid;grid-template-columns:1.35fr .85fr;align-items:center;gap:2rem}
.portal-hero h1,.student-shell .catalog-heading h1,body .fg-jobs-page .fg-jobs-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(3rem,6.4vw,5.5rem);line-height:1;letter-spacing:-.055em;color:white;margin:0 0 1rem}
.portal-hero h1 em,.fg-jobs-hero h1 em{color:var(--lime);font-weight:normal}
.portal-hero p,.student-shell .catalog-heading p,body .fg-jobs-page .fg-jobs-hero>p{color:#e4f1e9;max-width:55ch;margin:0 0 1.4rem}
.portal-search{display:flex;padding:.4rem;background:white;border-radius:12px;max-width:34rem}
.portal-search input{width:0;flex:1;min-width:0;padding:.7rem;border:0;background:none}
.portal-search button{border:0;background:var(--lime);color:var(--ink);border-radius:8px;padding:.7rem 1.2rem;font-weight:700}
.study-stack{position:relative;width:15rem;height:16rem;justify-self:center;transform:rotate(4deg)}
.sheet{position:absolute;inset:0 1.5rem;border-radius:4px 13px 13px 4px;box-shadow:0 12px 20px #08251f38}
.sheet-back{background:#efb7d3;transform:translate(30px,5px) rotate(12deg)}.sheet-mid{background:#84c1f0;transform:translate(15px,4px) rotate(6deg)}
.sheet-front{background:var(--lime);color:#162f29;transform:rotate(-9deg);padding:1.15rem 1rem 1rem 2.2rem;overflow:hidden}
.book-band{position:absolute;left:.68rem;top:0;bottom:0;width:.28rem;background:#a5be52}
.cover-brand{font-weight:750;font-size:.82rem}.sheet-front strong{display:block;font:italic 3.4rem/.85 var(--serif);letter-spacing:-.08em;margin:2rem 0}.sheet-front strong span{color:#5a6b2e}
.cover-lines{height:55px;transform:skewY(-12deg);background:repeating-linear-gradient(0deg,transparent 0 8px,#57732a 9px 11px)}
.portal-heading{font:500 clamp(2rem,4vw,3rem)/1.1 var(--serif);letter-spacing:-.045em;margin:2.6rem 0 1rem}
.portal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem}
.portal-card,.student-shell .entry-grid .surface{display:block;background:white;color:var(--ink);border:1px solid var(--line);padding:1.4rem;border-radius:16px;text-decoration:none;transition:transform .18s,box-shadow .18s}
.portal-card:hover,.student-shell .entry-grid .surface:hover{transform:translateY(-3px);box-shadow:0 10px 22px #16342812}
.portal-card h3,.student-shell .surface h2{font-size:1.22rem;font-weight:720;letter-spacing:-.035em;margin:.9rem 0 .4rem}
.portal-card p,.student-shell .entry-grid p{color:#506158;line-height:1.6;margin-bottom:0}
.tile-icon{display:grid;place-items:center;width:3rem;height:3rem;background:#e3efd1;border-radius:12px;font-size:1.4rem}
.portal-card:nth-child(4n+2) .tile-icon{background:#f4dfcd}.portal-card:nth-child(4n+3) .tile-icon{background:#d9e7fa}.portal-card:nth-child(4n) .tile-icon{background:#f2dfed}
.student-shell .student-links{border-color:var(--line);gap:.4rem}.student-shell .student-links a{padding:.4rem .7rem;border-radius:24px;text-decoration:none;color:var(--forest);font-weight:600}.student-links a:hover{background:var(--mint)}
.student-shell .catalog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.catalog-heading .study-stack{transform:scale(.66) rotate(4deg);margin:-2.5rem 0;width:14rem;flex-shrink:0}
.student-shell .filters,.student-shell .surface{background:white;border-color:var(--line)}.student-shell a{color:#116149}.student-shell .surface small{color:#446558;font-weight:650}
body .fg-jobs-page{background:var(--paper)}body .fg-jobs-page .fg-jobs-hero h1{max-width:16ch}
body .fg-jobs-hero .fg-jobs-eyebrow{background:transparent;color:#e0f2d5;border:0;padding:0}
body .fg-jobs-hero .fg-popular-label,body .fg-jobs-hero .fg-popular-link{color:white;background:transparent}
body .fg-jobs-page .fg-job-card{border-color:var(--line);border-radius:16px}
body .fg-jobs-hero .study-stack{position:absolute;right:8%;top:2rem;transform:rotate(4deg) scale(.7);transform-origin:top right;z-index:-1}
.sponsor-space{display:grid;justify-items:center;align-content:center;gap:8px;padding:16px 0;margin:52px auto;max-width:970px;border-block:1px solid var(--line);color:#57645f;font:12px/1.4 system-ui;letter-spacing:.05em;text-align:center;min-height:145px}.ad-preview{display:block;width:min(100%,728px);height:90px}.ad-preview{display:grid;place-items:center;background:#f0f3f0;color:#59665f}
@media(max-width:760px){.portal-wrap{width:calc(100% - 1.5rem);margin:1rem auto 4rem}.portal-hero{grid-template-columns:1fr}.portal-hero .study-stack,.catalog-heading .study-stack,body .fg-jobs-hero .study-stack{display:none}.portal-hero,.student-shell .catalog-heading,body .fg-jobs-page .fg-jobs-hero{padding:1.7rem 1.15rem;border-radius:18px}.ad-preview{height:100px}.student-shell .student-links{flex-wrap:nowrap;overflow-x:auto}.student-shell .student-links a{white-space:nowrap}.portal-heading{margin-top:2rem}}
@media(prefers-reduced-motion:reduce){.portal-card,.student-shell .entry-grid .surface{transition:none;transform:none!important}}

body .fg-search-panel button[type=submit]{background:var(--lime);color:var(--ink)}
body .mobile-home-icon{background:var(--forest)}
body .fg-footer{border-top:1px solid var(--line)}
@media(max-width:760px){.portal-hero:after,body .fg-jobs-hero:after{content:"";pointer-events:none;position:absolute;width:85px;height:85px;right:-34px;top:-40px;transform:rotate(38deg);border:9px double #aace71;border-radius:15px}}

.campus-tabs{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}.campus-tabs a{background:white;border:1px solid #aec4bb;border-radius:2rem;padding:.52rem 1rem;color:#17463a;text-decoration:none;font-weight:650}.campus-tabs a:hover{background:#daf1df}
.campus-card{background:#fff;border:1px solid #cbd9d2;border-radius:18px;padding:1.45rem;display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere}.campus-meta{display:flex;align-items:center;justify-content:space-between;gap:1rem;font-size:.85rem;color:#38554b;font-weight:650}.campus-glyph{display:grid;place-items:center;width:3rem;height:3rem;background:#e0ede7;color:#174b3c;border-radius:12px;font-size:1.35rem}.campus-card:nth-child(3n+2) .campus-glyph{background:#e4e9f7;color:#294479}.campus-card:nth-child(3n) .campus-glyph{background:#feead4;color:#703d16}.student-shell .campus-card h2{line-height:1.22;font-size:1.3rem;letter-spacing:-.03em;margin:1.1rem 0 .4rem}.campus-card h2 a{text-decoration:none;color:#172e29}.campus-card h2 a:hover{text-decoration:underline}.campus-place{font-size:.94rem;color:#425f54}.campus-card footer{border-top:1px solid #e0e7e3;margin-top:auto;padding-top:.8rem;display:flex;flex-wrap:wrap;gap:.5rem;color:#495d55;font-size:.85rem}.student-shell:has(.campus-tabs) .catalog-heading{background:linear-gradient(115deg,#123b36,#216357);position:relative}.student-shell:has(.campus-tabs) .catalog-heading:after{content:"";position:absolute;right:-2rem;bottom:-5rem;width:14rem;height:14rem;border:1.6rem double #ffffff22;transform:rotate(35deg);pointer-events:none}

.campus-finder{background:white;border:1px solid #cad8d1;border-radius:18px;padding:clamp(1rem,3vw,2rem);margin:1rem 0}.campus-finder label{font-size:.92rem;font-weight:620}.campus-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:.8rem;margin:1rem 0}.student-shell .campus-finder select,.student-shell .college-keyword input{width:100%;margin-top:.3rem;border-color:#aebfb6;border-radius:8px}.campus-finder details{border-block:1px solid #dde6e0;padding:.8rem 0}.campus-finder summary{cursor:pointer;color:#254d41;font-weight:600}.finder-actions{display:flex;align-items:center;gap:1.2rem;margin-top:1rem}.fg-navbar .fg-brand span{font-weight:800;letter-spacing:-.06em}.campus-meta span:last-child{font-size:.85rem}.campus-tabs a:focus-visible{outline-offset:2px}

/* Two navigation levels on the student pages. */
.student-shell :is(.workspace-buttons, .resource-buttons) {
    gap: .5rem;
    padding: .4rem .15rem .75rem;
    border-bottom: 0;
}
.student-shell :is(.workspace-buttons, .resource-buttons) a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: .48rem;
    padding: .52rem .84rem;
    border: 1px solid #9db5a9;
    border-radius: .7rem;
    background: #fff;
    box-shadow: 0 2px 0 #d5e2da;
    font-size: .9375rem;
    line-height: 1.25;
}
.student-shell .resource-buttons a {
    border-radius: 2rem;
    background: #edf6f0;
}
.student-shell :is(.workspace-buttons, .resource-buttons) a:hover {
    background: #dceee2;
    border-color: #638878;
}
.student-shell :is(.workspace-buttons, .resource-buttons) a[aria-current] {
    background: #154b3c;
    border-color: #154b3c;
    color: white;
}
.student-shell :is(.workspace-buttons, .resource-buttons) a:focus-visible {
    outline: 3px solid #ab5c00;
    outline-offset: 2px;
}
@media (max-width: 760px) {
    .student-shell .workspace-buttons a { flex: 0 0 auto; }
    .student-shell .resource-buttons { flex-wrap: wrap; overflow: visible; }
}

.campus-finder .college-filter-panel{margin-top:.7rem;padding:0}
.college-filter-panel summary{padding:.65rem .1rem;min-height:44px;overflow-wrap:anywhere}
.filter-selection{display:inline-block;border-radius:7px;background:#e5eee6;color:#254b36;font-size:.8rem;padding:.12rem .45rem;margin:.1rem 0 .1rem .35rem}
.filter-flags{display:flex;gap:.4rem 1rem;flex-wrap:wrap;padding-bottom:.6rem}
@media(max-width:640px){
  .student-shell .campus-finder{padding:.8rem;border-radius:12px}
  .campus-finder .campus-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.5rem 0}
  .campus-fields label,.campus-fields select{min-width:0}
  .student-shell .campus-fields select{height:44px;margin-top:.15rem;padding:.35rem}
  .campus-finder .finder-actions{margin-top:.55rem}
}

body .mobile-bottom-nav a[aria-current="page"] {
    background: #dceee3;
    color: #10483c;
    border-radius: 12px;
    font-weight: 750;
}
body .mobile-bottom-nav a[aria-current="page"] :is(i,span) { color: inherit; }

.sponsor-space .fg-display-unit{display:block;width:100%;min-width:0}
.sponsor-space{grid-template-columns:minmax(0,1fr)}
