.ged-projects {
    --ged-blue: #233f77;
    --ged-orange: #e67827;
    --ged-sticky-top: 0px;
    --ged-nav-height: 110px;
    max-width: 1200px;
    margin-inline: auto;
    color: #263750;
}
.ged-projects-header {
    background: var(--ged-blue);
    padding: clamp(24px, 5vw, 60px);
    border-radius: 0 26px 26px 0;
    border-left: 6px solid var(--ged-orange);
    color: white;
}
.ged-projects-header h1 { color: white; font-weight: 750; font-size: clamp(32px, 5vw, 58px); }
.ged-projects-nav {
    position: sticky;
    top: var(--ged-sticky-top);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 4px;
    overflow-x: auto;
    background: #f1f4f9;
    border-bottom: 2px solid #e1e8f3;
}
.ged-projects-nav a {
    flex: 1 0 100px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    min-height: 58px;
    padding: 6px;
    border: 1px solid #c9d4e7;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    color: var(--ged-blue);
    font-weight: 700;
    line-height: 1.2;
}
.ged-projects-nav a[aria-current=true] {
    flex-grow: 1.45;
    min-height: 78px;
    transform: scale(1.04);
    background: var(--ged-blue);
    border-bottom: 4px solid var(--ged-orange);
    color: #fff;
}
.ged-projects-nav img { width: 58px; height: 32px; object-fit: cover; border-radius: 5px; }
.ged-projects-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: clamp(18px, 4vw, 48px);
    padding: clamp(24px, 5vw, 55px) 0;
    scroll-margin-top: calc(var(--ged-sticky-top) + var(--ged-nav-height) + 12px);
}
.ged-projects-panel[hidden] { display: none; }
.ged-projects-panel > div { flex: 1 1 330px; min-width: 0; }
.ged-projects .ged-projects-photo { width: min(100%, 380px); height: auto; border-radius: 14px; }
.ged-projects-panel h2, .ged-projects-panel h3 { color: var(--ged-blue); font-weight: 700; }
.ged-projects-lead { color: #8e4316; font-weight: 700; }

.ged-projects-nav { gap: 12px; min-height: 214px; padding: 8px; }
.ged-projects-nav a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 1 0 110px;
    min-height: 132px;
    align-content: end;
    justify-items: start;
    padding: 10px;
    background: #233f77;
    text-align: left;
    color: #fff;
}
.ged-projects-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(transparent 10%, rgba(12, 25, 48, .94));
}
.ged-projects-nav .ged-projects-cover {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    border-radius: 0;
}
.ged-projects-nav a[aria-current=true] {
    flex: 2.5 0 210px;
    min-height: 192px;
    transform: none;
    border: 2px solid var(--ged-orange);
    font-size: 1.15em;
}
.ged-projects-nav a[aria-current=true] .ged-projects-cover { opacity: 1; }
@media (max-width: 767px) {
    .ged-projects-nav { min-height: 145px; }
    .ged-projects-nav a { min-height: 95px; }
    .ged-projects-nav a[aria-current=true] { min-height: 128px; flex-basis: 155px; }
}
