/* Direct destinations use spare desktop space; existing category dropdowns remain. */
.selected-nav .header-direct{display:none;color:#183d4e;text-decoration:none;font-weight:650;font-size:12px;white-space:nowrap;padding:10px 8px;border-radius:8px;min-height:40px;align-items:center;justify-content:center;flex:0 0 auto}
.selected-nav .header-direct:hover,.selected-nav .header-direct[aria-current="page"]{color:#b51437;background:#e1f4f8;box-shadow:inset 0 -2px #cf2243}
.selected-nav .header-direct:focus-visible{outline:2px solid #13839a;outline-offset:2px}
body main{padding-top:12px!important}
@media(min-width:1100px){.selected-nav .header-direct-projects{display:inline-flex}}
@media(min-width:1100px){.selected-nav .header-direct-host{display:inline-flex}}
@media(min-width:1100px){.selected-nav .header-direct-mentor{display:inline-flex}}
@media(min-width:1280px){.selected-nav .header-direct-merch,.selected-nav .header-direct-resume{display:inline-flex}}
@media(min-width:1400px){.selected-nav .header-direct-contact{display:inline-flex}}
@media(min-width:1500px){body .selected-nav .nav-links{gap:2px!important}.site-nav-group summary{padding-inline:9px!important}}
@media(max-width:700px){body main{padding-top:9px!important}}

@media(min-width:701px){.selected-nav .site-nav-group:last-of-type>.site-nav-dropdown{left:auto;right:0}}

/* GoldRock attribution shares the existing header row. */
.tn-host-brand{display:flex;flex-direction:column;gap:1px;flex:0 0 auto;min-width:0}.goldrock-header-credit{display:flex;align-items:center;gap:4px;text-decoration:none;color:#314e5a;font-size:10px;line-height:1.25;white-space:nowrap;min-height:20px}.goldrock-header-credit img{width:15px;height:15px;object-fit:contain}.goldrock-header-credit strong{font-weight:800;color:#172a32}.goldrock-header-credit:hover strong{color:#ac1735}.goldrock-header-credit:focus-visible{outline:2px solid #b6193b;outline-offset:2px}.goldrock-next-heading{display:grid;grid-template-columns:190px minmax(0,1fr);gap:25px;align-items:center}.goldrock-wordmark{display:flex;align-items:center;gap:9px;text-decoration:none;color:#122832;font-size:23px;font-weight:900;letter-spacing:-1px}.goldrock-wordmark img{width:44px;height:44px}.goldrock-next-heading h2{font-size:30px!important;line-height:1.15!important;margin:7px 0}.goldrock-next-heading p{font-size:14px;line-height:1.5;margin:8px 0}.goldrock-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}.goldrock-service-grid h3{font-size:20px!important;line-height:1.2!important;margin:10px 0!important}.goldrock-service-grid p{font-size:14px;line-height:1.5}.goldrock-service-grid .text-link{font-size:13px}.goldrock-next-note{font-size:12px!important;line-height:1.5!important;margin-bottom:0}
@media(max-width:1100px){.goldrock-header-credit{font-size:9px;gap:3px}.goldrock-next-heading{grid-template-columns:1fr;gap:10px}}
@media(max-width:700px){.tn-host-brand{width:113px;gap:0}.tn-host-brand .brand{min-width:0!important;min-height:20px!important;padding:0!important}.tn-host-brand .brand-symbol{width:30px!important}.goldrock-header-credit{flex-wrap:wrap;gap:0 3px;font-size:11px;line-height:1.25;min-height:28px}.goldrock-header-credit>span{width:100%;font-size:9.5px}.goldrock-header-credit img{width:12px;height:12px}.goldrock-service-grid{grid-template-columns:1fr;gap:9px}.goldrock-service-grid .builder-card{padding:13px!important}.goldrock-next-heading h2{font-size:25px!important}.goldrock-next-heading p{font-size:14px!important}.goldrock-build-next{padding:14px!important}.goldrock-service-grid h3{font-size:19px!important}}

/* Inline attribution: same header row as the TNHackathons brand, text only. */
.tn-host-brand{flex-direction:row;align-items:center;gap:10px}.goldrock-header-credit{flex-wrap:nowrap;gap:3px;font-size:11px;min-height:24px}.goldrock-header-credit>span{width:auto;font-size:inherit}
@media(max-width:700px){.tn-host-brand{width:auto;gap:5px}.tn-host-brand .brand{flex:0 0 auto}.goldrock-header-credit{font-size:10px;min-height:30px;gap:3px}.goldrock-header-credit>span{width:auto;font-size:inherit}}

/* Center category and direct-link text on one shared vertical axis. */
body .selected-nav .nav-links{align-items:center!important}
body .selected-nav .site-nav-group{margin-block:0!important;align-self:center!important}
body .selected-nav .site-nav-group summary{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;height:40px;line-height:20px;padding-block:0!important;list-style:none}
body .selected-nav .site-nav-group summary::-webkit-details-marker{display:none}
body .selected-nav .header-direct{box-sizing:border-box;align-items:center;min-height:40px;height:40px;line-height:20px;padding-block:0}
body .selected-nav .goldrock-header-credit{font-size:9px;min-height:24px;gap:3px}
@media(max-width:700px){body .selected-nav .site-nav-group summary{min-height:36px;height:36px;line-height:18px}body .selected-nav .goldrock-header-credit{font-size:9px;min-height:28px}}
