/* =========================================================
   Baidarie Sialkot — institutional theme
   Dark blue + light blue, UN-style layout
   ========================================================= */
:root{
  --navy:#003A70;        /* dark blue: nav bar, footer, headings */
  --navy-deep:#00264A;   /* darker blue: utility bar, footer bottom */
  --blue:#0077C8;        /* link / button blue (AA on white) */
  --sky:#009EDB;         /* light blue accent */
  --sky-soft:#E5F4FB;    /* light blue background */
  --grey-bg:#F4F6F8;
  --line:#DDE3E9;
  --text:#222B33;
  --muted:#58636E;
  --white:#FFFFFF;
  --font:'Roboto', Arial, sans-serif;
  --cond:'Roboto Condensed', 'Roboto', Arial, sans-serif;
  --wrap:1170px;
  --gut:clamp(15px,3vw,24px);
}

/* Same reset the old header used, so pages not yet redesigned keep their spacing */
*{margin:0;padding:0}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:15.5px;line-height:1.6;color:var(--text);background:var(--white);overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid var(--sky);outline-offset:2px}
.b-wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}

/* ---------------- Utility bar ---------------- */
.b-util{background:var(--navy-deep);font-size:13px}
.b-util__in{display:flex;justify-content:space-between;align-items:center;min-height:36px;gap:12px}
.b-util__links{display:flex;flex-wrap:wrap;gap:4px 20px}
.b-util__links a{color:#C7D6E6}
.b-util__links a:hover{color:var(--white)}
.b-util__social{display:flex;gap:12px}
.b-util__social img{width:16px;height:16px;display:block;object-fit:contain;filter:brightness(0) invert(1);opacity:.8}
.b-util__social a:hover img{opacity:1}
@media (max-width:640px){.b-util__links a:not(:first-child){display:none}}

/* ---------------- Brand row ---------------- */
.b-brandrow{background:var(--white)}
.b-brandrow__in{display:flex;align-items:center;justify-content:space-between;min-height:92px;gap:16px}
.b-brand{display:flex;align-items:center;gap:14px;color:var(--navy)}
.b-brand:hover{text-decoration:none}
.b-brand img{height:64px;width:auto;display:block}
.b-brand__name{font-family:var(--cond);font-weight:700;font-size:30px;line-height:1;color:var(--navy);letter-spacing:.2px;padding-left:14px;border-left:2px solid var(--sky)}
.b-brand__name small{display:block;font-family:var(--font);font-weight:400;font-size:14px;color:var(--muted);letter-spacing:.5px;margin-top:6px}
.b-burger{display:none;align-items:center;gap:8px;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:4px;background:var(--white);color:var(--navy);font:500 14px var(--font);cursor:pointer}
.b-burger svg{width:22px;height:22px}
@media (max-width:640px){.b-brandrow__in{min-height:72px}.b-brand img{height:46px}.b-brand__name{font-size:23px;padding-left:10px}.b-brand__name small{font-size:12px;margin-top:4px}}

/* ---------------- Blue nav bar ---------------- */
.b-navbar{position:sticky;top:0;z-index:100;background:var(--navy);box-shadow:0 2px 0 var(--sky)}
.b-nav ul{list-style:none}
.b-nav>ul{display:flex;align-items:stretch}
.b-nav__a{display:flex;align-items:center;gap:6px;height:52px;padding:0 18px;border:0;background:none;color:var(--white);font:500 15px var(--font);cursor:pointer;white-space:nowrap;text-decoration:none;position:relative}
.b-nav__a:hover{background:rgba(255,255,255,.08);text-decoration:none;color:var(--white)}
.b-nav__a.is-active{background:var(--sky)}
.b-caret{width:10px;height:10px;transition:transform .2s}
.b-dd{position:relative}
.b-dd__menu{position:absolute;top:100%;left:0;min-width:240px;background:var(--white);border-top:3px solid var(--sky);box-shadow:0 10px 24px rgba(0,38,74,.15);display:none;z-index:5}
.b-dd__menu a{display:block;padding:12px 18px;color:var(--text);border-bottom:1px solid var(--line);font-size:14.5px}
.b-dd__menu li:last-child a{border-bottom:0}
.b-dd__menu a:hover{background:var(--sky-soft);color:var(--navy);text-decoration:none}
@media (hover:hover) and (min-width:961px){.b-dd:hover .b-dd__menu{display:block}}
.b-dd.is-open .b-dd__menu{display:block}
.b-dd.is-open .b-caret{transform:rotate(180deg)}

@media (max-width:960px){
  .b-burger{display:flex}
  .b-navbar{position:relative;box-shadow:none}
  .b-nav{display:none}
  .b-nav.is-open{display:block}
  .b-navbar .b-wrap{padding:0}
  .b-nav>ul{flex-direction:column}
  .b-nav>ul>li{border-bottom:1px solid rgba(255,255,255,.12)}
  .b-nav__a{width:100%;justify-content:space-between;height:50px;padding:0 var(--gut)}
  .b-dd__menu{position:static;box-shadow:none;border-top:0;min-width:0;background:var(--navy-deep)}
  .b-dd__menu a{color:#D6E3F0;border-bottom-color:rgba(255,255,255,.08);padding-left:calc(var(--gut) + 16px)}
  .b-dd__menu a:hover{background:rgba(255,255,255,.06);color:var(--white)}
}

/* ---------------- Section headings (UN style) ---------------- */
.b-block{padding-top:36px}
.b-sh{font-family:var(--cond);font-weight:700;font-size:20px;line-height:1.25;text-transform:uppercase;letter-spacing:.4px;color:var(--navy);padding-bottom:10px;margin-bottom:20px;border-bottom:1px solid var(--line);position:relative}
.b-sh::after{content:"";position:absolute;left:0;bottom:-1px;width:56px;height:3px;background:var(--sky)}
.b-intro{color:var(--muted);margin:-6px 0 16px}

/* ---------------- Buttons / links ---------------- */
.b-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 20px;background:var(--blue);color:var(--white);border:1px solid var(--blue);border-radius:3px;font:500 14.5px var(--font);text-decoration:none;transition:background .2s}
.b-btn:hover{background:var(--navy);border-color:var(--navy);color:var(--white);text-decoration:none}
.b-btn--line{background:var(--white);color:var(--blue)}
.b-btn--line:hover{background:var(--sky-soft);color:var(--navy);border-color:var(--blue)}
.b-btn--sm{min-height:38px;padding:7px 14px;font-size:14px}
.b-more{display:inline-flex;align-items:center;gap:6px;font-weight:500;color:var(--blue)}
.b-more::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg)}

/* ---------------- Slider (images only) ---------------- */
.b-top{padding-top:20px}
.b-slider{position:relative;overflow:hidden;background:#DDE7F0;aspect-ratio:16/6.4;width:100%}
.b-slider__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1s ease}
.b-slider__img.is-active{opacity:1}
/* blue fade from the bottom */
.b-slider::after{content:"";position:absolute;left:0;right:0;bottom:0;height:70%;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(0,58,112,.92) 0%,rgba(0,58,112,.55) 30%,rgba(0,119,200,.18) 65%,rgba(0,119,200,0) 100%)}
.b-slider__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;border:0;border-radius:2px;background:rgba(0,38,74,.55);color:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}
.b-slider__nav:hover{background:var(--sky)}
.b-slider__nav svg{width:20px;height:20px}
.b-slider__nav--prev{left:0}
.b-slider__nav--next{right:0}
.b-slider__dots{position:absolute;right:14px;bottom:12px;z-index:2;display:flex;gap:2px}
.b-slider__dots button{width:26px;height:26px;padding:0;border:0;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center}
.b-slider__dots button::before{content:"";width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.7);border:1px solid rgba(0,38,74,.3)}
.b-slider__dots button.is-active::before{background:var(--sky);border-color:var(--white)}
@media (max-width:640px){.b-top{padding:0}.b-slider{aspect-ratio:16/9}.b-slider__nav{width:36px;height:36px}}

/* ---------------- Highlights cards ---------------- */
.b-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.b-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);color:var(--text);transition:box-shadow .2s}
.b-card:hover{text-decoration:none;box-shadow:0 6px 18px rgba(0,38,74,.12)}
.b-card__img{aspect-ratio:16/10;overflow:hidden;background:var(--grey-bg)}
.b-card__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.b-card:hover .b-card__img img{transform:scale(1.04)}
.b-card__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:10px;border-top:3px solid var(--sky)}
.b-card h3{font-family:var(--cond);font-weight:700;font-size:19px;color:var(--navy);line-height:1.25}
@media (max-width:860px){.b-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){
  .b-cards{grid-template-columns:1fr;gap:12px}
  .b-card{flex-direction:row}
  .b-card__img{flex:0 0 40%;aspect-ratio:auto;min-height:96px}
  .b-card__body{border-top:0;border-left:3px solid var(--sky);justify-content:center;padding:12px 14px}
  .b-card h3{font-size:17px}
}

/* ---------------- Mission/Purpose photo band ---------------- */
.b-callout{position:relative;margin-top:44px;background-size:cover;background-position:center;background-color:var(--navy)}
.b-callout__shade{position:absolute;inset:0;background:rgba(0,38,74,.82)}
.b-callout__in{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:48px;padding-bottom:48px}
.b-callout__box{background:rgba(255,255,255,.97);padding:28px 30px;border-top:4px solid var(--sky)}
.b-callout__box h3{font-family:var(--cond);font-weight:700;font-size:22px;text-transform:uppercase;letter-spacing:.4px;color:var(--navy);margin-bottom:12px}
.b-callout__box p{font-size:16.5px;line-height:1.7;color:var(--text);font-weight:300}
@media (max-width:820px){.b-callout__in{grid-template-columns:1fr;padding-top:var(--gut);padding-bottom:var(--gut)}.b-callout__box{padding:22px}}

/* ---------------- Main + sidebar layout ---------------- */
.b-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;padding-bottom:44px}
.b-side .b-block:first-child,.b-main .b-block:first-child{padding-top:44px}
@media (max-width:960px){.b-layout{grid-template-columns:1fr;gap:0}.b-side .b-block:first-child{padding-top:36px}}

/* Legal status */
.b-legal{display:flex;gap:24px;align-items:flex-start;background:var(--grey-bg);padding:22px;border-left:4px solid var(--navy)}
.b-legal img{width:110px;flex:0 0 auto;display:block;background:var(--white);padding:10px;border:1px solid var(--line)}
.b-legal p{margin-bottom:16px}
@media (max-width:520px){.b-legal{flex-direction:column}.b-legal img{width:84px}}

/* Strategies */
.b-steps{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.b-steps li{display:flex;gap:14px;align-items:flex-start;padding:16px;border:1px solid var(--line);background:var(--white)}
.b-n{flex:0 0 auto;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--navy);color:var(--white);font:700 15px var(--cond)}
@media (max-width:620px){.b-steps{grid-template-columns:1fr}}

/* Target groups */
.b-groups{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.b-groups li{position:relative;padding:12px 0 12px 22px;border-bottom:1px solid var(--line)}
.b-groups li::before{content:"";position:absolute;left:2px;top:20px;width:8px;height:8px;background:var(--sky)}
@media (max-width:620px){.b-groups{grid-template-columns:1fr}}

/* Sidebar */
.b-video{position:relative;aspect-ratio:16/9;background:#000;margin-bottom:16px}
.b-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.b-fb{border:1px solid var(--line);min-height:120px;overflow:hidden}
.b-fb .fb-page,.b-fb .fb-page span,.b-fb .fb-page iframe{width:100%!important}
.b-office{border:1px solid var(--line);border-top:3px solid var(--sky);padding:16px 18px;margin-bottom:16px}
.b-office h3{font-family:var(--cond);font-weight:700;font-size:17px;color:var(--navy);margin-bottom:10px}
.b-office dl{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;font-size:14px}
.b-office dt{font-weight:500;color:var(--navy)}
.b-office dd{color:var(--muted)}
.b-office__btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}

/* Partners — moving logo strip on a light blue band */
.b-partners-wrap{background:linear-gradient(180deg,var(--sky-soft) 0%,#F7FBFE 100%);padding:44px 0 52px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.b-partners-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-bottom:1px solid #C9DCEB;margin-bottom:28px;position:relative}
.b-partners-head .b-sh{border:0;margin:0}
.b-partners-ctrl{display:flex;gap:6px;padding-bottom:10px}
.b-partners-ctrl button{width:38px;height:38px;border:1px solid #C9DCEB;background:var(--white);color:var(--navy);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.b-partners-ctrl button:hover{background:var(--navy);color:var(--white);border-color:var(--navy)}
.b-partners-ctrl svg{width:16px;height:16px}
.b-partners{overflow:hidden;position:relative}
.b-partners__track{display:flex;gap:18px;transition:transform .6s ease}
.b-partner{flex:0 0 calc((100% - 18px * 4) / 5);height:130px;background:var(--white);border:1px solid #D6E4EF;border-bottom:3px solid var(--sky);display:flex;align-items:center;justify-content:center;padding:18px 20px;box-shadow:0 4px 14px rgba(0,58,112,.06);transition:transform .25s,box-shadow .25s}
.b-partner:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(0,58,112,.14)}
.b-partner img{max-height:84px;max-width:100%;width:auto;display:block;object-fit:contain}
@media (max-width:960px){.b-partner{flex-basis:calc((100% - 18px * 2) / 3)}}
@media (max-width:560px){.b-partner{flex-basis:calc((100% - 18px) / 2);height:104px}.b-partner img{max-height:64px}}

/* ---------------- Inner pages ---------------- */
.b-pagehead{background:var(--sky-soft);border-bottom:1px solid var(--line);padding:26px 0 24px}
.b-crumb{font-size:13.5px;color:var(--muted)}
.b-crumb a{color:var(--blue)}
.b-pagehead h1{font-family:var(--cond);font-weight:700;font-size:clamp(26px,4vw,36px);color:var(--navy);margin-top:4px;line-height:1.15}
.b-page{padding-bottom:48px}
.b-legal3{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.b-legal3 li{border:1px solid var(--line);border-top:3px solid var(--sky);padding:20px;display:flex;flex-direction:column;gap:12px}
.b-legal3 img{width:40px;height:40px;object-fit:contain;display:block}
@media (max-width:860px){.b-legal3{grid-template-columns:1fr}}
.b-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.b-two .b-callout__box{border:1px solid var(--line);border-top:4px solid var(--sky)}
@media (max-width:760px){.b-two{grid-template-columns:1fr}}
.b-wide{margin-top:14px;padding:18px;background:var(--sky-soft);display:flex;gap:14px;align-items:flex-start}

/* ---------------- Footer ---------------- */
.b-footer{background:var(--navy);color:#C7D6E6;font-size:14.5px}
.b-footer a{color:#C7D6E6}
.b-footer a:hover{color:var(--white)}
.b-footer__follow{background:var(--sky)}
.b-footer__follow-in{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;min-height:58px;padding-top:8px;padding-bottom:8px}
.b-footer__label{font:700 17px var(--cond);text-transform:uppercase;letter-spacing:.4px;color:var(--white)}
.b-footer__social{display:flex;flex-wrap:wrap;gap:6px 20px}
.b-footer__social a{display:flex;align-items:center;gap:8px;color:var(--white);font-weight:500}
.b-footer__social img{width:20px;height:20px;object-fit:contain;display:block;filter:brightness(0) invert(1)}
.b-footer__map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;padding-top:40px;padding-bottom:36px}
.b-footer__col{display:flex;flex-direction:column;gap:8px}
.b-footer__col h4{font:700 15px var(--cond);text-transform:uppercase;letter-spacing:.4px;color:var(--white);margin-bottom:4px}
@media (max-width:860px){.b-footer__map{grid-template-columns:repeat(2,minmax(0,1fr))}}
.b-footer__bottom{background:var(--navy-deep)}
.b-footer__bottom-in{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;min-height:72px;padding-top:12px;padding-bottom:12px}
.b-footer__brand{display:flex;align-items:center;gap:10px}
.b-footer__brand:hover{text-decoration:none}
.b-footer__brand img{height:42px;width:auto;display:block;background:var(--white);padding:3px}
.b-footer__brand span{font:700 20px var(--cond);color:var(--white)}
.b-footer__bottom p{font-size:13px;color:#9FB4CA}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---------------- Document lists (RFP, publications, procurement) ---------------- */
.b-docs{list-style:none;border-top:1px solid var(--line)}
.b-doc{display:flex;align-items:center;gap:18px;padding:18px 4px;border-bottom:1px solid var(--line);transition:background .2s}
.b-doc:hover{background:var(--sky-soft)}
.b-doc__icon{flex:0 0 auto;width:34px;color:#C8102E}
.b-doc__icon svg{display:block;width:34px;height:42px}
.b-doc__main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.b-doc__title{font-size:16.5px;font-weight:500;color:var(--navy);line-height:1.4}
.b-doc__title:hover{color:var(--blue)}
.b-doc__date{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--muted)}
.b-doc__date svg{width:15px;height:15px}
.b-doc__dl{flex:0 0 auto;gap:6px}
.b-doc__dl svg{width:16px;height:16px}
@media (max-width:560px){
  .b-doc{flex-wrap:wrap;gap:12px 14px;padding:16px 0}
  .b-doc__main{flex-basis:calc(100% - 52px)}
  .b-doc__dl{margin-left:48px}
}

/* ---------------- Compact document table (RFP, procurement, publications) ---------------- */
.b-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.b-tbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.b-search{position:relative;display:flex;align-items:center;flex:0 1 340px}
.b-search svg{position:absolute;left:12px;width:17px;height:17px;color:var(--muted);pointer-events:none}
.b-search input{width:100%;height:42px;padding:0 12px 0 38px;border:1px solid var(--line);border-radius:3px;font:15px var(--font);color:var(--text);background:var(--white)}
.b-search input:focus{outline:none;border-color:var(--sky);box-shadow:0 0 0 3px rgba(0,158,219,.18)}
.b-count{font-size:13.5px;color:var(--muted)}
.b-table-wrap{border:1px solid var(--line)}
.b-table{width:100%;border-collapse:collapse;font-size:15px}
.b-table thead th{background:var(--navy);color:var(--white);font:700 13.5px var(--cond);text-transform:uppercase;letter-spacing:.4px;text-align:left;padding:11px 14px}
.b-table tbody tr{border-top:1px solid var(--line)}
.b-table tbody tr:nth-child(even){background:#F8FAFC}
.b-table tbody tr:hover{background:var(--sky-soft)}
.b-table td{padding:9px 14px;vertical-align:middle}
.b-tt{display:flex;align-items:center;gap:12px}
.b-col-title a{color:var(--navy);font-weight:500;line-height:1.35}
.b-col-title a:hover{color:var(--blue)}
.b-t-icon{flex:0 0 auto;width:20px;color:#C8102E}
.b-t-icon svg{display:block;width:20px;height:25px}
.b-col-date{white-space:nowrap;color:var(--muted);width:140px}
.b-col-act{white-space:nowrap;width:96px;text-align:right}
.b-ibtn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--line);border-radius:3px;color:var(--blue);background:var(--white);vertical-align:middle}
.b-ibtn+.b-ibtn{margin-left:6px}
.b-ibtn:hover{border-color:var(--blue);background:var(--sky-soft);text-decoration:none}
.b-ibtn--fill{background:var(--blue);border-color:var(--blue);color:var(--white)}
.b-ibtn--fill:hover{background:var(--navy);border-color:var(--navy);color:var(--white)}
.b-ibtn svg{width:17px;height:17px}
.b-empty{padding:18px 14px;color:var(--muted)}
@media (max-width:640px){
  .b-search{flex-basis:100%}
  .b-table thead{display:none}
  .b-table,.b-table tbody,.b-table tr,.b-table td{display:block;width:100%}
  .b-table tbody tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"t a" "d a";padding:10px 12px;gap:2px 10px}
  .b-table td{padding:0}
  td.b-col-title{grid-area:t}
  .b-tt{align-items:flex-start;gap:10px}
  td.b-col-date{grid-area:d;padding-left:30px;font-size:13px}
  td.b-col-act{grid-area:a;align-self:center;width:auto}
}
.b-view{gap:7px;white-space:nowrap}
.b-view svg{width:17px;height:17px}
.b-table td.b-col-act:has(.b-view){width:auto}
@media (max-width:640px){.b-view span{display:none}.b-view{width:40px;padding:0}}

/* ---------------- Careers ---------------- */
.b-pagehead__sub{margin-top:6px;color:var(--muted);font-size:16px}
.b-jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:24px}
.b-job{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--white);transition:box-shadow .2s}
.b-job:hover{box-shadow:0 6px 18px rgba(0,38,74,.12)}
.b-job__img{display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:var(--grey-bg);cursor:zoom-in;overflow:hidden}
.b-job__img img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .4s}
.b-job:hover .b-job__img img{transform:scale(1.03)}
.b-job__body{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:16px 18px 18px;border-top:3px solid var(--sky)}
.b-job__body h3{font-family:var(--cond);font-weight:700;font-size:19px;line-height:1.3;color:var(--navy)}
button.b-btn{cursor:pointer}

/* Image viewer */
.b-lightbox{border:0;padding:0;margin:auto;width:min(900px,calc(100% - 24px));max-height:calc(100vh - 24px);background:var(--white);box-shadow:0 20px 60px rgba(0,0,0,.4);display:none;flex-direction:column}
.b-lightbox[open]{display:flex}
.b-lightbox::backdrop{background:rgba(0,26,52,.8)}
.b-lightbox__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 18px;background:var(--navy);color:var(--white)}
.b-lightbox__title{font:700 16px var(--cond);text-transform:uppercase;letter-spacing:.3px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.b-lightbox__actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.b-lightbox__actions .b-btn--line{background:transparent;color:var(--white);border-color:rgba(255,255,255,.5)}
.b-lightbox__actions .b-btn--line:hover{background:var(--sky);border-color:var(--sky);color:var(--white)}
.b-lightbox__close{width:40px;height:40px;border:0;background:rgba(255,255,255,.12);color:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center}
.b-lightbox__close:hover{background:#C8102E}
.b-lightbox__close svg{width:18px;height:18px}
.b-lightbox__body{overflow:auto;background:#EEF2F6;padding:12px;flex:1 1 auto}
.b-lightbox__body img{display:block;width:100%;height:auto;margin:0 auto}
@media (max-width:560px){.b-lightbox__actions .b-btn--line{display:none}}

/* ---------------- Accomplishments table ---------------- */
.b-acc td{padding:16px 14px;vertical-align:top;line-height:1.55}
.b-acc thead th{padding:13px 14px}
.b-acc__no{width:64px}
.b-acc .b-n{width:32px;height:32px;font-size:14px}
.b-acc__int{width:32%}
.b-acc__int strong{color:var(--navy);font-weight:500}
.b-acc__time{width:130px;white-space:nowrap}
.b-acc__res{color:var(--text)}
.b-pill{display:inline-block;padding:3px 10px;background:var(--sky-soft);border:1px solid #BFE3F5;color:var(--navy);font-size:13.5px;font-weight:500;white-space:nowrap}
@media (max-width:800px){
  .b-acc thead{display:none}
  .b-acc,.b-acc tbody,.b-acc tr,.b-acc td{display:block;width:100%}
  .b-acc tbody tr{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"n i" "n t" "n r";gap:8px 14px;padding:16px 14px}
  .b-acc td{padding:0;width:auto}
  .b-acc td.b-acc__no{grid-area:n}
  .b-acc td.b-acc__int{grid-area:i}
  .b-acc td.b-acc__time{grid-area:t}
  .b-acc td.b-acc__res{grid-area:r;color:var(--muted)}
}

/* ---------------- Project gallery ---------------- */
.b-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.b-project{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);color:var(--text);transition:box-shadow .2s,transform .2s}
.b-project:hover{text-decoration:none;box-shadow:0 8px 22px rgba(0,38,74,.13);transform:translateY(-3px)}
.b-project__logo{height:150px;display:flex;align-items:center;justify-content:center;padding:20px 28px;background:linear-gradient(180deg,#fff 0%,var(--sky-soft) 100%);border-bottom:3px solid var(--sky)}
.b-project__logo img{max-height:110px;max-width:100%;width:auto;display:block;object-fit:contain}
.b-project__body{flex:1 1 auto;display:flex;flex-direction:column;gap:14px;padding:18px 20px 20px}
.b-project__body h3{font-family:var(--cond);font-weight:700;font-size:18.5px;line-height:1.3;color:var(--navy)}
.b-project__meta{display:flex;flex-direction:column;gap:0;font-size:14.5px;border-top:1px solid var(--line)}
.b-project__meta div{display:grid;grid-template-columns:minmax(96px,auto) 1fr;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.b-project__meta dt{font-weight:500;color:var(--navy)}
.b-project__meta dd{color:var(--muted)}
.b-project__text{font-size:15px;color:var(--muted);line-height:1.6}
.b-project .b-more{margin-top:auto;padding-top:4px}
@media (max-width:960px){.b-projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.b-projects{grid-template-columns:1fr}.b-project__logo{height:120px}.b-project__logo img{max-height:84px}}
.b-project__lines{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.b-project__row{display:flex;flex-direction:column;gap:1px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14.5px}
.b-project__row dt{font-weight:500;color:var(--navy);font-size:13.5px}
.b-project__row dd{color:var(--muted)}
.b-project__lines .b-project__text{padding:8px 0;border-bottom:1px solid var(--line);color:var(--text);font-weight:500;font-size:14.5px}
