/*
 * Site chrome and base layer for pages ported from the StudentIgnite
 * design project. `.si-design` marks markup authored against browser
 * defaults; the :where() rules undo Tailwind preflight inside it at
 * single-class specificity so the design's own class rules still win.
 */
.si-design {
    font-family: 'Manrope', Arial, sans-serif;
    color: #1A2320;
    line-height: normal;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}
.si-design :where(*, ::before, ::after) { box-sizing: revert; border-width: revert; border-style: revert; border-color: revert; }
.si-design :where(p, ul, ol, dl, figure, blockquote, pre) { margin: revert; }
.si-design :where(ul, ol) { list-style: revert; padding: revert; }
.si-design :where(h1, h2, h3, h4, h5, h6) { font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif; font-size: revert; font-weight: revert; margin: 0; }
.si-design :where(img, svg, video, canvas) { display: revert; vertical-align: revert; height: revert; }
.si-design :where(button, input, select, textarea) { font: revert; color: revert; line-height: revert; letter-spacing: revert; margin: revert; padding: revert; background: revert; border: revert; -webkit-appearance: revert; appearance: revert; text-transform: revert; }
.si-design :where(a) { color: #1A2320; text-decoration: none; }

.si-nav { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.si-nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.si-mobile-panel { display:none; flex-direction:column; gap:2px; background:#1A2320; padding:0 32px 20px; }
.si-mobile-panel.open { display:flex; }
.si-foot-head { font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:#1A2320; margin:0 0 16px; }
.si-foot-list { list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.si-foot-link { font-size:14px; color:#4B5563; }
.si-foot-link:hover { color:#1A2320; text-decoration:underline; }
.si-social { display:inline-flex; color:#1A2320; padding:4px; border-radius:6px; transition:color 0.2s; }
.si-social:hover, .si-social:focus-visible { color:#FACA08; }
.si-dd { position:relative; }
.si-dd-btn { background:none; border:none; padding:0; font-family:'Manrope', Arial, sans-serif; font-size:14px; color:rgba(255,255,255,0.8); cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.si-dd-btn.active { color:#FACA08; }
.si-dd-btn:hover { color:#F9A504; }
.si-dd-menu { display:none; position:absolute; top:100%; left:-16px; padding-top:14px; z-index:30; }
.si-dd:hover .si-dd-menu, .si-dd:focus-within .si-dd-menu, .si-dd.open .si-dd-menu { display:block; }
.si-dd.closed .si-dd-menu { display:none; }
.si-dd-inner { background:#1A2320; border:1px solid rgba(255,255,255,0.14); border-radius:8px; padding:8px; min-width:190px; display:flex; flex-direction:column; box-shadow:0 12px 28px rgba(0,0,0,0.25); }
.si-dd-inner a { font-size:14px; color:rgba(255,255,255,0.85); padding:10px 12px; border-radius:6px; }
.si-dd-inner a:hover { background:rgba(255,255,255,0.08); color:#FACA08; }
.si-dd-inner a.current { color:#FACA08; }
.si-mobile-label { font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:rgba(255,255,255,0.6); padding:12px 0 4px; }
@media (max-width: 1180px) {
    .si-nav { display:none; }
    .si-nav-toggle { display:inline-flex; }
}
.si-design :where(a:hover) { color: #F9A504; }
.si-h-cta:hover, .si-h-cta:focus-visible { background:#E89404 !important; }

/* WCAG 2.2 AA: visible focus and 44px targets without changing the visual layout. */
.si-design :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #F9A504; outline-offset: 2px; }
.si-tap { display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box; }
.si-nav > a, .si-dd-btn { min-height:44px; display:inline-flex; align-items:center; }
.si-nav-toggle { min-width:44px; min-height:44px; align-items:center; justify-content:center; box-sizing:border-box; }
.si-dd-inner a, .si-mobile-panel a { min-height:44px; display:flex; align-items:center; box-sizing:border-box; }
.si-social { min-width:44px; min-height:44px; align-items:center; justify-content:center; box-sizing:border-box; }

/* Mobile: the design's fixed two-column grids and header row have no small-screen layout. */
@media (max-width: 1000px) {
    .si-design .si-bleed { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 860px) {
    .si-design .si-stack { grid-template-columns: minmax(0, 1fr) !important; }
}
.si-logo { width:220px; height:60px; object-fit:cover; object-position:center; margin-left:-28px; }
@media (max-width: 480px) {
    .si-design .si-fit { grid-template-columns: minmax(0, 1fr) !important; }
    .si-head-inner { padding: 0 16px !important; gap: 12px !important; }
    .si-logo { width:100px; height:28px; margin-left:0; }
}
