.portfolio-nav{position:relative}.portfolio-nav-link{display:block;white-space:nowrap}.portfolio-flyout{display:none!important;width:590px!important;max-height:72vh;overflow:auto;padding:18px!important;background:#0b1320!important;color:#fff!important}.portfolio-nav:hover>.portfolio-flyout,.portfolio-nav:focus-within>.portfolio-flyout{display:block!important;animation:portfolioReveal .2s ease-out;transform-origin:top left}@keyframes portfolioReveal{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.portfolio-menu-heading{color:#c9f523;padding:8px 12px 14px;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.portfolio-projects{display:grid;grid-template-columns:1fr 1fr;gap:10px}.portfolio-project{display:block!important;background:#fff!important;color:#123750!important;border-radius:10px;padding:14px 16px!important;min-height:98px}.portfolio-project:hover,.portfolio-project:focus-visible{background:#f2f8f3!important;color:#6336ba!important}.portfolio-project strong{display:block;color:#bdf40d;font-size:18px;margin-bottom:9px}.portfolio-project span{display:block;font-size:13px;color:#36566f;line-height:1.45}.portfolio-project small{display:inline-block;margin-top:8px;padding:4px 8px;border-radius:5px;background:#f3eef5;color:#233f56;font-size:11px;font-weight:700;line-height:1.35}@media(max-width:720px){.portfolio-nav{display:block}.portfolio-nav-link{max-width:140px;white-space:normal;line-height:1.3}.portfolio-flyout{right:0!important;left:auto!important;width:min(590px,calc(100vw - 36px))!important}.portfolio-projects{grid-template-columns:1fr}.portfolio-project{min-height:0}}@media(prefers-reduced-motion:reduce){.portfolio-nav:hover>.portfolio-flyout,.portfolio-nav:focus-within>.portfolio-flyout{animation:none}}

.portfolio-nav-link::after{content:"↓";display:inline-block;margin-left:10px;font-size:1.15em;line-height:1;vertical-align:middle;color:inherit}
/* Match the Cloud menu's dark, column-based presentation. */
.portfolio-nav{position:static}
.portfolio-flyout{left:50%!important;right:auto!important;top:100%!important;transform:translateX(-50%)!important;width:min(1080px,calc(100vw - 32px))!important;max-height:75vh!important;overflow:auto!important;padding:0!important;background:#080a0b!important;border:1px solid #5c6268;box-shadow:0 20px 35px #0b132050!important}
.portfolio-nav:hover>.portfolio-flyout,.portfolio-nav:focus-within>.portfolio-flyout{animation:none!important}
.portfolio-projects{grid-template-columns:repeat(4,minmax(0,1fr));gap:0!important}
.portfolio-project{position:relative;min-height:158px!important;padding:22px 18px!important;border:0;border-right:1px solid #5c6268;border-bottom:1px solid #5c6268;border-radius:0!important;background:#080a0b!important;color:#fff!important}
.portfolio-project:hover,.portfolio-project:focus-visible{background:#1c2030!important;color:#fff!important}
.portfolio-project strong{color:#c9f523!important;font-size:17px!important;margin-bottom:15px!important;padding-right:24px}
.portfolio-project strong::after{content:"→";position:absolute;right:18px;top:21px;color:#fff;font-size:20px;font-weight:400}
.portfolio-project span{color:#fff!important;font-size:14px!important;line-height:1.4}
.portfolio-project small{display:block!important;margin-top:10px!important;padding:0!important;background:transparent!important;color:#c9d2db!important;font-size:12px!important;font-weight:500!important}
@media(max-width:800px){.portfolio-projects{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-flyout{width:min(620px,calc(100vw - 32px))!important}}
@media(max-width:520px){.portfolio-projects{grid-template-columns:1fr}.portfolio-flyout{width:calc(100vw - 32px)!important}.portfolio-project{min-height:0!important;padding:16px!important}}
/* Four countries per clearly separated group. */
.portfolio-projects{display:block!important}
.country-group-heading{margin:0;padding:12px 18px;background:#151a20;color:#c9f523;font:700 13px/1.3 'DM Sans',sans-serif;letter-spacing:.11em;text-transform:uppercase;border-top:1px solid #5c6268}
.country-group:first-child .country-group-heading{border-top:0}
.country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.country-grid .portfolio-project{min-height:145px!important;border-bottom:0}
@media(max-width:800px){.country-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.country-grid .portfolio-project{border-bottom:1px solid #5c6268}}
@media(max-width:520px){.country-grid{grid-template-columns:1fr}.country-grid .portfolio-project{min-height:0!important}}
/* Two side-by-side groups, each listing four countries vertically. */
.portfolio-projects{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.country-group:first-child{border-right:1px solid #5c6268}
.country-grid{grid-template-columns:1fr!important}
.country-grid .portfolio-project{min-height:105px!important;padding:14px 18px!important;border-right:0;border-bottom:1px solid #5c6268}
.country-grid .portfolio-project strong{margin-bottom:7px!important}
.country-grid .portfolio-project strong::after{top:12px}
.country-grid .portfolio-project small{margin-top:5px!important}
@media(max-width:700px){.portfolio-projects{grid-template-columns:1fr!important}.country-group:first-child{border-right:0}.country-grid .portfolio-project{min-height:0!important}}
/* Tighter labels and narrower country columns. */
.portfolio-flyout{width:min(580px,calc(100vw - 32px))!important}
.country-grid .portfolio-project{padding:12px 14px!important}
.country-grid .portfolio-project strong{display:inline-flex!important;align-items:center;gap:8px;padding-right:0!important}
.country-grid .portfolio-project strong::after{position:static;content:"→";font-size:18px;line-height:1}
@media(max-width:700px){.portfolio-flyout{width:min(420px,calc(100vw - 32px))!important}}
/* Anchor the country dropdown to its own navigation title. */
.portfolio-nav{position:relative}
.portfolio-nav::after{content:"";position:absolute;left:0;right:0;top:100%;height:12px}
.portfolio-flyout{left:50%!important;right:auto!important;top:calc(100% + 12px)!important;transform:translateX(-50%)!important}
@media(max-width:700px){.portfolio-flyout{left:auto!important;right:0!important;transform:none!important}}
