.elementor-kit-9{--e-global-color-primary:#087A3D;--e-global-color-secondary:#06452F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#2E9B57;--e-global-typography-primary-font-family:"Plus Jakarta Sans";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Plus Jakarta Sans";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Plus Jakarta Sans";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Plus Jakarta Sans";--e-global-typography-accent-font-weight:500;font-family:"Plus Jakarta Sans", Sans-serif;}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --green-950:#161816; --green-900:#1E7D32; --green-800:#17622A; --green-700:#1A6E2B; --green-100:#F6F7F4; --gold-500:#FFD91A; --gold-600:#E6BF00; --ink:#161816; --slate:#4D534E; --mist:#5E645F; --line:#DDE2DA; --font-body:Plus Jakarta Sans; --font-headings:Plus Jakarta Sans; --gutter:clamp(1.25rem, 0.5rem + 3.4vw, 4rem); --section-y:clamp(4.5rem, 2.6rem + 7vw, 9rem); --overlap:clamp(2.5rem, 1rem + 6vw, 6.5rem); --t-display:clamp(2.5rem, 1rem + 4.5vw, 5rem); --t-h2:clamp(2rem, 1.25rem + 2.5vw, 3.5rem); --t-h3:clamp(1.375rem, 1.15rem + 0.75vw, 1.875rem); --t-lead:clamp(1.125rem, 1.04rem + 0.3vw, 1.3125rem); --container:82.5rem; --s1:0.25rem; --s2:0.5rem; --s3:0.75rem; --s4:1rem; --s5:1.5rem; --s6:2rem; --s7:3rem; --s8:4rem; --t-body:1.0625rem; --nav-gap:clamp(0.75rem, 3.3vw - 1.5rem, 1.75rem); --nav-size:clamp(0.8125rem, 0.45rem + 0.6vw, 0.9375rem); --split-gap:clamp(2.25rem, 1rem + 5vw, 6rem); --grid-gap:clamp(1.5rem, 0.5rem + 2.6vw, 3rem); --t-small:0.9375rem; --t-xs:0.8125rem; --tap:2.75rem; --radius:0.125rem; --measure:38rem; --paper:#F6F7F4; --white:#FFFFFF; --on-dark-muted:#F1F7F1; --on-dark-subtle:#E6F1E6; --line-dark:rgba(255, 255, 255, 0.28); --green-500:#3FAE4E; --gold-300:#FFEE99; --e-gv-1f30a4a:#06402B; --e-gv-a6e776f:#228B22; --e-gv-310dc0e:#1E7B1E; --e-gv-eeef44e:#F9EC1D; --e-gv-797bee9:#F3453F; --e-gv-3ba6213:#111111; --e-gv-70940fc:#696969; --e-gv-2640602:#F5F6F7; --e-gv-c069d64:#F8F8F8; --e-gv-a45a4fe:#222222; --e-gv-e63ea47:#E2E2E2; --e-gv-14d2107:Butler; --e-gv-5d65f79:Gordita; --top-bar:#DC2A1F; --menu-bar:#1E7D32; --leaf-tint:#EAF6E7; --font-wordmark:Montserrat; }
/* Start custom CSS *//* UPIK footer menus inside the shared footer component (16 October 2026). Elementor gives elements inside a component a different id on each page, so the menus are styled by these class names (set on the widgets' CSS classes) rather than by each widget's own custom CSS. */
.elementor .elementor-widget-nav-menu.upik-nav-foot .elementor-nav-menu--main .elementor-item{font-family:inherit;font-size:var(--t-small, .9375rem);font-weight:500;line-height:1.3;color:var(--on-dark-muted);padding:.375rem 0;min-height:2.5rem;display:flex;align-items:center;transition:color .2s ease}
.elementor .elementor-widget-nav-menu.upik-nav-foot .elementor-nav-menu--main .elementor-item:hover, .elementor .elementor-widget-nav-menu.upik-nav-foot .elementor-nav-menu--main .elementor-item:focus-visible{color:var(--white);text-decoration:underline;text-underline-offset:.22em}
.elementor .elementor-widget-nav-menu.upik-nav-foot .elementor-nav-menu--main .elementor-item:focus-visible{outline:3px solid var(--gold-500);outline-offset:2px}
@media (max-width:1024px){.elementor .elementor-widget-nav-menu.upik-nav-foot .elementor-nav-menu--main .elementor-item{min-height:var(--tap, 2.75rem)}}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-item{font-family:inherit;font-size:var(--t-small, .9375rem);font-weight:500;line-height:1.3;color:var(--on-dark-muted);padding:.375rem 0;min-height:2.5rem;display:flex;align-items:center;transition:color .2s ease}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-item:hover, .elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-item:focus-visible{color:var(--white);text-decoration:underline;text-underline-offset:.22em}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-item:focus-visible{outline:3px solid var(--gold-500);outline-offset:2px}
@media (max-width:1024px){.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-item{min-height:var(--tap, 2.75rem)}}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--layout-horizontal .elementor-nav-menu{column-gap:var(--s6, 2rem)}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li{margin:0}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-nav-menu{flex-wrap:wrap;row-gap:0}
@media (max-width:767px){.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--layout-horizontal .elementor-nav-menu{column-gap:1.5rem}}
.elementor .elementor-widget-nav-menu.upik-nav-bottom .elementor-nav-menu--main .elementor-item{white-space:nowrap}
/* ==UPIK-1018-START== */
/* UPIK homepage 18 October 2026: news slider (Loop Carousel, template "UPIK – Hero slide (news)"), news cards (Loop Grid, template "UPIK – News card"), header search. Only elements carrying these classes are affected. */
.upik-hero-carousel, .upik-news-cards, .upik-search { font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.upik-hero-carousel { --upik-photo-h: clamp(300px, 40vw, 600px); --upik-gutter: clamp(1.25rem, .5rem + 3.4vw, 4rem); --upik-cap-top: clamp(1.5rem, 1rem + 1.25vw, 2.25rem); }
.upik-hero-carousel .swiper-slide { height: auto; }
/* 19 Oct (Mike): the photograph is shown clear, with no shade over it; the story's date, title, summary and buttons sit under it */
.upik-slide { position: relative; min-height: 0; justify-content: flex-start; padding: 0 !important; gap: 0 !important; background-color: #fff; overflow: hidden; color: var(--ink); border-bottom: 1px solid var(--line); }
.upik-slide::after { content: none; display: none; }
.upik-slide .upik-slide__img { position: relative; inset: auto; z-index: 0; margin: 0 !important; width: 100%; height: var(--upik-photo-h); flex: none; background-color: #E9ECE4; }
.upik-slide .upik-slide__img .elementor-widget-container, .upik-slide .upik-slide__img a { display: block; height: 100%; }
.upik-slide .upik-slide__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 40%; display: block; }
.upik-slide .upik-slide__body { position: relative; z-index: 2; padding: var(--upik-cap-top) var(--upik-gutter) clamp(3.75rem, 3rem + 1.5vw, 4.5rem) !important; }
.upik-slide .upik-slide__body > .e-con-inner { max-width: 82.5rem; width: 100%; margin: 0 auto; padding: 0 8rem 0 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); row-gap: .75rem; align-items: start; }
.upik-slide .upik-slide__meta { grid-column: 1; grid-row: 1; margin: 0 !important; }
.upik-slide .upik-slide__title { grid-column: 1; grid-row: 2 / span 2; margin: 0 !important; }
.upik-slide .upik-slide__excerpt { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; }
.upik-slide .upik-slide__actions { grid-column: 2; grid-row: 3; margin: 0 !important; }
.upik-slide .upik-slide__meta .elementor-icon-list-text, .upik-slide .upik-slide__meta .elementor-icon-list-text a { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.upik-slide .upik-slide__meta .elementor-icon-list-item:not(:last-child)::after { border-color: var(--green-700); opacity: .6; }
.upik-slide .upik-slide__title .elementor-heading-title { font-family: inherit; font-size: clamp(1.625rem, 1rem + 1.5vw, 2.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; color: var(--ink); max-width: 28ch; text-wrap: balance; }
.upik-slide .upik-slide__title a { color: inherit; }
.upik-slide .upik-slide__title a:hover { color: var(--green-700); }
.upik-slide .upik-slide__excerpt, .upik-slide .upik-slide__excerpt p { font-size: clamp(1rem, .95rem + .2vw, 1.0625rem); line-height: 1.55; color: var(--slate); max-width: 36rem; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.upik-slide .upik-slide__actions { gap: .75rem; padding: .25rem 0 0 !important; flex-wrap: wrap; width: auto; }
.upik-slide .upik-slide__btn .elementor-button { display: inline-flex; align-items: center; min-height: 3rem; padding: .875rem 1.5rem; border-radius: 0; background: var(--green-700); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700; border: 1px solid var(--green-700); transition: background-color .2s, color .2s, border-color .2s; }
.upik-slide .upik-slide__btn .elementor-button:hover { background: var(--green-950); border-color: var(--green-950); color: #fff; }
.upik-slide .upik-slide__btn--ghost .elementor-button { background: transparent; color: var(--ink); border-color: var(--ink); }
.upik-slide .upik-slide__btn--ghost .elementor-button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.upik-slide a:focus-visible, .upik-hero-carousel .elementor-swiper-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.upik-hero-carousel .elementor-swiper-button { top: calc(var(--upik-photo-h) + var(--upik-cap-top)) !important; bottom: auto !important; transform: none !important; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--ink); color: var(--ink); font-size: 1.125rem; z-index: 5; }
.upik-hero-carousel .elementor-swiper-button svg { fill: var(--ink); width: 1.125rem; height: 1.125rem; }
.upik-hero-carousel .elementor-swiper-button:hover { background: var(--gold-500); border-color: var(--gold-500); }
.upik-hero-carousel .elementor-swiper-button-prev { left: auto !important; right: calc(var(--upik-gutter) + 3.5rem) !important; }
.upik-hero-carousel .elementor-swiper-button-next { right: var(--upik-gutter) !important; }
.upik-hero-carousel .swiper-pagination { position: absolute; left: var(--upik-gutter) !important; right: auto !important; width: auto !important; top: auto !important; bottom: 1.5rem !important; transform: none !important; display: flex; gap: .5rem; z-index: 5; }
.upik-hero-carousel .swiper-pagination .swiper-pagination-bullet { width: 2rem !important; height: 4px !important; border-radius: 0 !important; margin: 0 !important; background: #C5CBC2 !important; opacity: 1 !important; }
.upik-hero-carousel .swiper-pagination .swiper-pagination-bullet-active { background: var(--green-700) !important; opacity: 1 !important; }
.upik-hero-carousel .elementor-swiper-button svg, .upik-hero-carousel .elementor-swiper-button svg path { fill: var(--ink) !important; width: 1.125rem !important; height: 1.125rem !important; }
.upik-hero-carousel .swiper, .upik-hero-carousel .elementor-loop-container { padding-bottom: 0 !important; }
@media (min-width: 1440px) { .upik-hero-carousel .swiper-pagination { left: calc((100% - 82.5rem) / 2) !important; } .upik-hero-carousel .elementor-swiper-button-next { right: calc((100% - 82.5rem) / 2) !important; } .upik-hero-carousel .elementor-swiper-button-prev { right: calc((100% - 82.5rem) / 2 + 3.5rem) !important; } }
@media (max-width: 1024px) {
  .upik-slide .upik-slide__body > .e-con-inner { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding-right: 7.5rem; }
}
@media (max-width: 767px) {
  .upik-slide .upik-slide__img { height: auto; aspect-ratio: 3 / 2; }
  .upik-slide .upik-slide__body { padding: 1.25rem 1.25rem 3.25rem !important; }
  .upik-slide .upik-slide__body > .e-con-inner { padding-right: 0; gap: .625rem; }
  .upik-slide .upik-slide__title .elementor-heading-title { font-size: 1.5rem; line-height: 1.15; }
  .upik-slide .upik-slide__excerpt, .upik-slide .upik-slide__excerpt p { font-size: 1rem; }
  .upik-slide .upik-slide__actions { width: 100%; }
  .upik-slide .upik-slide__actions .elementor-widget-button, .upik-slide .upik-slide__btn .elementor-button { width: 100%; }
  .upik-slide .upik-slide__btn .elementor-button { justify-content: center; }
  .upik-slide .upik-slide__btn--ghost { display: none; }
  .upik-hero-carousel .elementor-swiper-button { display: none !important; }
  .upik-hero-carousel .swiper-pagination { bottom: 1.25rem !important; left: 1.25rem !important; }
}
/* News cards */
.upik-news-cards .elementor-loop-container { grid-column-gap: clamp(1.25rem, .5rem + 2vw, 2rem) !important; grid-row-gap: clamp(1.25rem, .5rem + 2vw, 2rem) !important; }
.upik-card { position: relative; height: 100%; padding: 0 !important; gap: 0 !important; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.upik-card:hover { border-color: var(--green-700); box-shadow: 0 14px 28px -18px rgba(22,24,22,.45); transform: translateY(-2px); }
.upik-card:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.upik-card .upik-card__img { margin: 0 !important; overflow: hidden; }
.upik-card .upik-card__img img { display: block; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; transition: transform .4s; }
.upik-card:hover .upik-card__img img { transform: scale(1.04); }
.upik-card .upik-card__body { flex: 1; gap: .625rem !important; padding: 1.25rem 1.25rem 1.5rem !important; }
.upik-card .upik-card__meta .elementor-icon-list-text, .upik-card .upik-card__meta .elementor-icon-list-text a { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.upik-card .upik-card__title .elementor-heading-title { font-family: inherit; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.25; font-weight: 700; color: var(--ink); }
.upik-card .upik-card__title a { color: inherit; }
.upik-card .upik-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.upik-card .upik-card__title a:focus-visible { outline: none; }
.upik-card .upik-card__excerpt, .upik-card .upik-card__excerpt p { font-size: .9375rem; line-height: 1.55; color: var(--slate); margin: 0; }
.upik-card .upik-card__more { margin-top: auto; padding-top: .25rem; }
.upik-card .upik-card__more .elementor-heading-title { font-family: inherit; font-size: .9375rem; font-weight: 700; color: var(--green-700); }
.upik-card .upik-card__more .elementor-heading-title::after { content: " →"; }
/* Header search (component 397): a button before Apply on wide screens; a search box at the top of the phone menu */
.upik-search-toggle { position: relative; }
.upik-search-toggle > summary { list-style: none; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.upik-search-toggle > summary::-webkit-details-marker { display: none; }
.upik-search-toggle > summary:hover, .upik-search-toggle[open] > summary { border-color: var(--ink); }
.upik-search-toggle > summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.upik-search-toggle .upik-search-form { position: absolute; right: 0; top: calc(100% + .75rem); width: min(26rem, 80vw); padding: 1rem; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 36px -18px rgba(22,24,22,.4); z-index: 60; }
.upik-search-form { display: flex; gap: .5rem; margin: 0; }
.upik-search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.upik-search-form input[type=search] { flex: 1; min-width: 0; height: 2.75rem; padding: 0 .875rem; border: 1px solid #9AA59F; border-radius: 0; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.upik-search-form input[type=search]:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.upik-search-form button { width: 2.75rem; height: 2.75rem; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0; background: var(--green-700); color: #fff; cursor: pointer; padding: 0; }
.upik-search-form button:hover { background: var(--green-950); }
.upik-search-form button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.upik-search-mobile .upik-search-form { padding: 1rem clamp(1.25rem, .5rem + 3.4vw, 4rem); border-bottom: 1px solid var(--line); background: #fff; }
@media (max-width: 1279px) { .elementor-widget-html.upik-search-desktop { display: none !important; } }
@media (min-width: 1280px) { .elementor-widget-html.upik-search-mobile { display: none !important; } }
/* Home banner band once its photograph is removed (the slider now carries the photographs) */
.elementor-element-22597e95:not(:has(.elementor-element-389457be)) { padding-top: clamp(3rem, 2rem + 3vw, 4.5rem) !important; padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem) !important; }
/* Home with the news slider (staged 19 Oct): tighter section spacing so the page is shorter */
body:has(.upik-hero-carousel) .u-section { padding-top: clamp(3.5rem, 2rem + 4.5vw, 6.5rem) !important; padding-bottom: clamp(3.5rem, 2rem + 4.5vw, 6.5rem) !important; }
body:has(.upik-hero-carousel) .elementor-element-1de8e6b4 { padding-top: clamp(4rem, 2.5rem + 5vw, 7rem) !important; padding-bottom: clamp(4rem, 2.5rem + 5vw, 7rem) !important; }
body:has(.upik-hero-carousel) .elementor-element-16729eed { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) !important; }
body:has(.upik-hero-carousel) .elementor-element-69e7adb7 { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) !important; padding-bottom: clamp(3.5rem, 2rem + 4.5vw, 6.5rem) !important; }
/* phones: news cards become compact rows (photo left, date and title right) */
@media (max-width: 767px) {
  .upik-card { flex-direction: row !important; align-items: stretch; }
  .upik-card .upik-card__img { width: 38%; flex: none; }
  .upik-card .upik-card__img .elementor-widget-container { height: 100%; }
  .upik-card .upik-card__img img { aspect-ratio: auto; height: 100%; min-height: 7.5rem; }
  .upik-card .upik-card__body { padding: .875rem 1rem !important; gap: .375rem !important; }
  .upik-card .upik-card__excerpt, .upik-card .upik-card__more { display: none; }
  .upik-card .upik-card__title .elementor-heading-title { font-size: 1rem; line-height: 1.3; }
  .upik-card .upik-card__meta .elementor-icon-list-text { font-size: .6875rem; }
}

/* ==UPIK-1018-END== */

/* ==UPIK-FONT-FILES== Gordita and Butler (the fonts of upik.ac.ug), so they can be picked in the font-body and font-headings variables. They only download when a page uses them. */
@font-face { font-family: "Gordita"; src: url("https://upik.ac.ug/wp-content/uploads/upik-fonts/Gordita-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gordita"; src: url("https://upik.ac.ug/wp-content/uploads/upik-fonts/Gordita-Medium.ttf") format("truetype"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gordita"; src: url("https://upik.ac.ug/wp-content/uploads/upik-fonts/Gordita-Bold.ttf") format("truetype"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Butler"; src: url("https://upik.ac.ug/wp-content/uploads/upik-fonts/Butler_Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Butler"; src: url("https://upik.ac.ug/wp-content/uploads/upik-fonts/Butler_Medium.otf") format("opentype"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Butler"; src: url("https://upik.ac.ug/wp-content/uploads/upik-fonts/Butler_Bold.otf") format("opentype"); font-weight: 700 900; font-style: normal; font-display: swap; }

/* ==UPIK-NEW-LOOK-START== */
/* 8 November 2026: draft of the "clean industrial" look, tried on the draft page "Home (new look)" only.
   Every rule is limited to pages whose top element carries the class upik-new-look, so published pages are not affected.
   10 Nov 2026: Mike approved; the class limit is removed so the look applies to every page (backup: uploads/upik-backups/2026-11-10-global-look). */
html body {
  --e-global-typography-primary-font-family: var(--font-body); --e-global-typography-secondary-font-family: "Plus Jakarta Sans";
  --e-global-typography-text-font-family: var(--font-body); --e-global-typography-accent-font-family: "Plus Jakarta Sans";
  --e-global-color-primary: var(--green-900); --e-global-color-secondary: var(--green-700); --e-global-color-text: var(--slate); --e-global-color-accent: var(--green-700);
}
/* Headings: one font, bold, slightly tight; large headings in deep green on light backgrounds */
html body :is(.u-h-display, .u-h-xl, .u-h-lg) { font-weight: 700; letter-spacing: -0.02em; }
html body .u-h-md { font-weight: 700; letter-spacing: -0.01em; }
html body .u-h-sm { font-weight: 600; letter-spacing: -0.005em; }
html body :is(.u-h-xl, .u-h-lg):not(.u-on-dark) { color: var(--green-900); }
html body .u-statement { font-weight: 600; letter-spacing: -0.015em; color: var(--green-900); }
html body :is(.u-bg-dark, .u-bg-darker) :is(.u-h-display, .u-h-xl, .u-h-lg, .u-h-md, .u-h-sm, .u-statement) { color: inherit; }
/* Buttons: 6 px corners; main action solid deep green with white text */
html body .u-btn { border-radius: 6px; font-weight: 600; letter-spacing: 0; }
html body .u-btn.u-btn-green { background-color: var(--green-900); border-color: var(--green-900); color: #FFFFFF; }
html body .u-btn.u-btn-green:hover { background-color: var(--green-700); border-color: var(--green-700); color: #FFFFFF; }
html body .u-btn.u-btn-gold { color: var(--green-950); }
/* Header: thin deep-green top bar, white menu bar */
html body header .e-d7ba4fc-9028 { color: var(--gold-500); }
html body header :is(.u-nav-link, .u-nav-toggle) { font-weight: 600; }
/* Cards: only on items of equal weight; thin border, 8 px corners, soft shadow; links lift slightly on hover */
html body :is(.u-card-shadow, .upik-card) { background-color: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04), 0 8px 24px rgba(17, 17, 17, 0.06); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
html body .u-card-shadow { padding: 1.5rem; }
html body :is(.upik-card, .u-card-shadow:has(a)):hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(17, 17, 17, 0.05), 0 14px 32px rgba(17, 17, 17, 0.1); }
@media (prefers-reduced-motion: reduce) {
  html body :is(.u-card-shadow, .upik-card) { transition: none; }
  html body :is(.upik-card, .u-card-shadow:has(a)):hover { transform: none; }
}
/* Panels and photos: same 8 px corners */
html body .u-stack > :is(.u-bg-paper, .u-bg-dark) { border-radius: 8px; }
html body .u-media { border-radius: 8px; overflow: hidden; }
/* Footer: charcoal */
html body footer.u-bg-darker { background-color: #161816; }
/* News slider, news cards and search use the same font */
html body :is(.upik-hero-carousel, .upik-news-cards, .upik-search) { font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
/* News slider titles and the quote use the same font */
html body .upik-slide__title .elementor-heading-title { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
html body .u-quote:not(.x) { font-family: var(--font-headings), system-ui, sans-serif; font-style: normal; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 767px) { html body .u-card-shadow { padding: 1rem; } }
/* News page (draft "News (new look)"): wide featured story, card grid, sidebar with search, categories and tags */
html body .upik-news-featured .upik-card { flex-direction: row; }
html body .upik-news-featured .upik-card__img { flex: 0 0 56%; max-width: 56%; }
html body .upik-news-featured .upik-card__img img { aspect-ratio: auto; height: 100%; min-height: 22rem; }
html body .upik-news-featured .upik-card__body { padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); justify-content: center; }
html body .upik-news-featured .upik-card__title .elementor-heading-title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.2; }
html body .upik-news-widget :is(h5, .widget-title, .widgettitle) { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 1rem; }
html body .upik-news-widget ul { list-style: none; margin: 0; padding: 0; }
html body .upik-news-widget li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0; border-top: 1px solid var(--line); color: var(--mist); }
html body .upik-news-widget li:first-child { border-top: 0; }
html body .upik-news-widget li a { color: var(--ink); text-decoration: none; font-weight: 500; }
html body .upik-news-widget li a:hover { color: var(--green-700); text-decoration: underline; }
html body .upik-news-widget .tagcloud a { display: inline-block; font-size: 0.875rem !important; line-height: 1.2; padding: 0.375rem 0.75rem; margin: 0 0.375rem 0.5rem 0; border: 1px solid var(--line); border-radius: 999px; background-color: #FFFFFF; color: var(--ink); text-decoration: none; }
html body .upik-news-widget .tagcloud a:hover { border-color: var(--green-700); color: var(--green-700); }
html body .upik-news-widget form { display: flex; gap: 0.5rem; }
html body .upik-news-widget label { flex: 1; min-width: 0; }
html body .upik-news-widget input[type="search"] { width: 100%; padding: 0.625rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; background-color: #FFFFFF; }
html body .upik-news-widget :is(button, input[type="submit"]) { padding: 0.625rem 1rem; border: 0; border-radius: 6px; background-color: var(--green-900); color: #FFFFFF; font: inherit; font-weight: 600; cursor: pointer; }
html body .upik-news-grid .elementor-pagination { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
html body .upik-news-grid .elementor-pagination .page-numbers { min-width: 2.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--line); border-radius: 6px; text-align: center; color: var(--ink); text-decoration: none; }
html body .upik-news-grid .elementor-pagination .page-numbers.current { background-color: var(--green-900); border-color: var(--green-900); color: #FFFFFF; }
@media (max-width: 1024px) {
  html body .u-news-layout { grid-template-columns: minmax(0, 1fr); }
  html body .u-news-side { position: static; }
}
@media (max-width: 767px) {
  html body .upik-news-featured .upik-card { flex-direction: column; }
  html body .upik-news-featured .upik-card__img { flex: none; max-width: none; }
  html body .upik-news-featured .upik-card__img img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}
/* Photos keep natural-looking proportions: the news slider is no wider than 21:9; phone thumbnails are square */
html body .upik-slide .upik-slide__img { height: auto; aspect-ratio: 21 / 9; max-height: 75vh; }
@media (max-width: 767px) {
  html body .upik-slide .upik-slide__img { aspect-ratio: 3 / 2; }
  html body .upik-news-cards:not(.upik-news-featured) .upik-card__img { align-self: flex-start; }
  html body .upik-news-cards:not(.upik-news-featured) .upik-card__img img { aspect-ratio: 1 / 1; height: auto; min-height: 0; }
}
/* 9 Nov: questions (toggle) on the new-look pages, as in the prototype */
html body .upik-faq .elementor-toggle-item{border-bottom:1px solid var(--line);margin:0}
html body .upik-faq .elementor-tab-title{border:0;padding:16px 0;font-weight:700;font-size:17px;color:var(--ink);display:flex;gap:10px;align-items:center}
html body .upik-faq .elementor-tab-title a,html body .upik-faq .elementor-toggle-icon{color:var(--ink)}
html body .upik-faq .elementor-tab-content{border:0;padding:0 0 16px 24px;color:var(--slate);line-height:1.6}
/* ==UPIK-NEW-LOOK-END== */

/* ==UPIK-MENU-HOVER== 8 Nov 2026 (Mike): the menu closes as soon as the pointer leaves it. On mouse screens the shaded layer under an open menu no longer catches the pointer. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  details.u-nav-item[open] > summary::before { pointer-events: none; }
}

/* ==UPIK-HEADER-LIVE-START== 12 Nov 2026 (Mike): header arranged like upik.ac.ug: top bar, white band with a bigger logo and the Institute's name, green menu bar. Backup: uploads/upik-backups/2026-11-12-header */
html body div[data-interaction-id="b7a1e001"].e-con { flex: 0 0 auto; width: auto; max-width: 100%; display: flex; flex-direction: row; align-items: center; gap: 16px; padding: 0; }
html body [data-interaction-id="b7a1e001"] img.e-image-base.e-default-img { height: 84px; width: auto; max-width: none; }
html body p.e-paragraph-base[data-interaction-id="425f0a31"] { display: block; margin: 0; color: var(--green-900); font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; text-transform: none; max-width: none; white-space: nowrap; }
html body .upik-social { display: flex; align-items: center; gap: 16px; }
html body .upik-social a { display: inline-flex; color: #FFFFFF; }
html body .upik-social a:hover { color: var(--gold-500); }
@media (min-width: 1025px) {
  html body [data-interaction-id="6b578975"] { flex-wrap: wrap; row-gap: 0; padding-top: 14px; }
  html body [data-interaction-id="1f68d9c"] { order: 2; margin-left: auto; }
  html body [data-interaction-id="b7a1e001"] { order: 1; }
  html body [data-interaction-id="f3a2fb"] { order: 3; flex: 0 0 100%; justify-content: center; height: auto; min-height: 54px; margin-top: 14px; gap: 6px; background: var(--menu-bar); border-image: conic-gradient(var(--menu-bar) 0 0) fill 0 / / 0 100vmax; }
  html body [data-interaction-id="f3a2fb"] > a.u-nav-link,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details > summary,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details > summary span,
  html body [data-interaction-id="f3a2fb"] .upik-search-toggle > summary { color: #FFFFFF; text-transform: uppercase; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
  html body [data-interaction-id="f3a2fb"] > a.u-nav-link,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details > summary { padding: 0 12px; min-height: 54px; display: flex; align-items: center; }
  html body [data-interaction-id="f3a2fb"] > a.u-nav-link:hover,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details:hover > summary,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details[open] > summary,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details:hover > summary span,
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details[open] > summary span { color: var(--gold-500); }
  html body [data-interaction-id="f3a2fb"] > .e-accordion-base > details > summary .u-nav-chevron { color: inherit; border-color: currentColor; filter: brightness(0) invert(1); }
}
@media (max-width: 1024px) {
  html body a.e-button-base[data-interaction-id="1f68d9c"] { display: none; }
  html body [data-interaction-id="b7a1e001"] { gap: 10px; }
  html body [data-interaction-id="b7a1e001"] img.e-image-base.e-default-img { height: 60px; }
  html body p.e-paragraph-base[data-interaction-id="425f0a31"] { font-size: 21px; max-width: 240px; white-space: normal; }
}
@media (max-width: 600px) {
  html body [data-interaction-id="b7a1e001"] img.e-image-base.e-default-img { height: 40px; }
  html body div[data-interaction-id="b7a1e001"].e-con { gap: 8px; }
  html body p.e-paragraph-base[data-interaction-id="425f0a31"] { font-size: 13px; max-width: 132px; line-height: 1.15; white-space: normal; }
  html body a.e-button-base[data-interaction-id="2bc5f0f2"] { display: none; }
}
@media (min-width: 1025px) {
  html body [data-interaction-id="f3a2fb"] > a.u-nav-link { height: auto; }
  html body [data-interaction-id="f3a2fb"] .upik-search-toggle > summary { background: transparent; border: 0; box-shadow: none; color: #FFFFFF; }
  html body [data-interaction-id="f3a2fb"] .upik-search-toggle > summary:hover { color: var(--gold-500); }
}
@media (max-width: 1024px) {
  html body div[data-interaction-id="b7a1e001"].e-con { flex: 0 1 auto; min-width: 0; }
  html body [data-interaction-id="76a73028"] { flex: 0 0 auto; }
  html body [data-interaction-id="76a73028"] summary { white-space: nowrap; }
}
html body [data-interaction-id="34cc5620"] { background-color: var(--top-bar) !important; }
/* ==UPIK-HEADER-LIVE-END== */
/* ==UPIK-HOME-NEWS-LIVE-START== 12 Nov 2026 (Mike): home news arranged like upik.ac.ug: one large story with the title over the photo, two cards beside it, four cards below */
html body .upik-news-live .elementor-loop-container { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px !important; }
html body .upik-news-live .e-loop-item:first-of-type { grid-column: span 2; }
html body .upik-news-live .upik-card { flex-direction: column !important; height: 100%; }
html body .upik-news-live .upik-card .upik-card__img { width: 100%; flex: none; }
html body .upik-news-live .upik-card .upik-card__img img { aspect-ratio: 16 / 10; height: auto; min-height: 0; width: 100%; object-fit: cover; }
html body .upik-news-live .upik-card .upik-card__body { padding: 16px 18px 20px !important; gap: 8px !important; }
html body .upik-news-live .upik-card .upik-card__title .elementor-heading-title { font-size: 17px; line-height: 1.3; }
html body .upik-news-live .e-loop-item:first-of-type .upik-card { position: relative; min-height: 100%; }
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__img { position: absolute; inset: 0; height: 100%; }
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__img .elementor-widget-container { height: 100%; }
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__img img { height: 100%; aspect-ratio: auto; }
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__body { position: relative; z-index: 1; margin-top: auto; padding: 120px 28px 28px !important; background: linear-gradient(180deg, rgba(22, 24, 22, 0) 0%, rgba(22, 24, 22, 0.88) 55%); }
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__meta .elementor-icon-list-text,
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__meta .elementor-icon-list-text a { color: var(--gold-500); }
html body .upik-news-live .e-loop-item:first-of-type .upik-card .upik-card__title .elementor-heading-title { color: #FFFFFF; font-size: clamp(22px, 1.2rem + 1vw, 32px); line-height: 1.2; }
html body .upik-news-live .e-loop-item:first-of-type .upik-card { min-height: 380px; }
@media (max-width: 1024px) {
  html body .upik-news-live .elementor-loop-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  html body .upik-news-live .elementor-loop-container { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  html body .upik-news-live .e-loop-item:first-of-type { grid-column: auto; }
  html body .upik-news-live .e-loop-item:first-of-type .upik-card { min-height: 320px; }
}
html body .upik-news-live .upik-card .upik-card__excerpt, html body .upik-news-live .upik-card .upik-card__more { display: none !important; }
/* ==UPIK-HOME-NEWS-LIVE-END== */
/* ==UPIK-THEME-HEADER-HIDE== 13 Nov 2026: search, archive and 404 pages already carry the UPIK header and footer; hide the theme's plain ones */
body > header#site-header.site-header, body > footer#site-footer.site-footer { display: none !important; }

/* ==UPIK-HIDE-EMPTY-PHOTOS== 13 Nov 2026: photo boxes that have no photo yet are hidden until the photos arrive (delete this rule when they do) */
html body div:is(.u-ph-card, .u-avatar, .u-ph):not(:has(*)) { display: none !important; }
html body img:is(.u-avatar, .u-ph) { object-fit: cover; object-position: center top; display: block; }

/* ==UPIK-PAGES-NEWLOOK-START== 16 Nov 2026 (Mike): pages that keep a sidebar get the new look: sidebar as a white menu card, section headings with the yellow bar, lists and facts as soft cards. Only inside .u-page-grid. */
html body .u-page-grid { gap: clamp(32px, 4vw, 64px); align-items: start; }
html body .u-page-grid .u-side { top: 168px !important; }
html body .u-page-grid .u-side-box { background: #FFFFFF; border: 1px solid var(--line); border-top: 4px solid var(--green-900); border-radius: 12px; box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 10px 28px rgba(17,17,17,.07); padding: 0; overflow: hidden; }
html body .u-page-grid .u-side-box > :is(h2, h3, h4, p):first-child { margin: 0; padding: 18px 22px 14px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-900); border-bottom: 1px solid var(--line); }
html body .u-page-grid .u-side-box .u-rows { padding: 8px; border: 0; display: flex; flex-direction: column; gap: 2px; }
html body .u-page-grid .u-side-box .u-rows > :is(a, p) { margin: 0; padding: 11px 14px; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink); min-height: 0; transition: background-color .15s, color .15s; }
html body .u-page-grid .u-side-box .u-rows > a:hover { background: var(--paper); color: var(--green-700); }
html body .u-page-grid .u-side-box .u-rows > p { background: var(--paper); color: var(--green-900); font-weight: 800; box-shadow: inset 4px 0 0 var(--gold-500); }
html body .u-page-grid .u-side-box + .u-side-box { margin-top: 20px; }
/* sections */
html body .u-page-body .u-prose > .u-sec { border: 0; padding: 0; margin-top: clamp(40px, 5vw, 64px); gap: 8px; }
html body .u-page-body .u-prose > .u-sec:first-child { margin-top: 0; }
html body .u-page-body .u-prose > .u-sec > p { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--green-700); margin: 0; }
html body .u-page-body .u-prose > .u-sec > :is(h2, h3) { margin: 0 0 6px; padding-left: 16px; border-left: 4px solid var(--gold-500); color: var(--green-900); }
/* facts, lists and photos as soft cards */
html body .u-page-body .u-prose .u-fact-grid { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-top: 20px; }
html body .u-page-body .u-prose > .u-rows, html body .u-page-body .u-prose > div > .u-rows { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px rgba(17,17,17,.06); padding: 4px 22px; margin-top: 16px; overflow: hidden; }
html body .u-page-body .u-prose .u-rows > :first-child { border-top: 0; }
html body .u-page-body .u-prose .u-rows > :last-child { border-bottom: 0; }
html body .u-page-body .u-prose .u-rows a:hover { color: var(--green-700); }
html body .u-page-body .u-prose .u-media { border-radius: 12px; overflow: hidden; }
html body .u-page-body .u-prose .u-media img { border-radius: 12px; }
@media (max-width: 1024px) { html body .u-page-grid .u-side { top: auto; } }
html body .u-page-body .u-prose :is(.u-cols-2, .u-cols-3, .u-cols-4) { gap: 20px; margin-top: 16px; }
html body .u-page-body .u-prose .u-card { background: #FFFFFF; border: 1px solid var(--line); border-top: 4px solid var(--green-900); border-radius: 12px; box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px rgba(17,17,17,.06); padding: 20px 22px 18px; transition: transform .2s, box-shadow .2s; }
html body .u-page-body .u-prose a.u-card:hover, html body .u-page-body .u-prose .u-card:has(a):hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(17,17,17,.05), 0 14px 32px rgba(17,17,17,.1); }
html body .u-page-body .u-prose .u-card :is(h2, h3, h4) { color: var(--green-900); }
html body .u-page-body .u-prose .u-ruled-cell { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
html body .u-page-body .u-prose .u-figure .u-media { box-shadow: 0 8px 24px rgba(17,17,17,.08); }
/* ==UPIK-PAGES-NEWLOOK-END== */
/* ==UPIK-FOOTER-IMAGE-START== 16 Nov 2026 (Mike): footer shows a campus photo under a see-through black layer. To change the photo, replace the address in url(). */
html body footer[data-interaction-id="59eb1d0b"] { background-color: var(--ink) !important; background-image: linear-gradient(rgba(22, 24, 22, 0.82), rgba(22, 24, 22, 0.9)), url("https://upik.ac.ug/wp-content/uploads/2026/10/Administration-Block-1-1536x1024.jpg") !important; background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
/* ==UPIK-FOOTER-IMAGE-END== */

/* ==UPIK-HEADER-SEARCH-NAME-START== 16 Nov 2026 (Mike): search box in the white band; Institute name set like the Makerere wordmark (serif small capitals on two lines) */
html body p.e-paragraph-base[data-interaction-id="425f0a31"] { font-family: var(--font-wordmark, "Montserrat"), "Montserrat", "Arial Black", Arial, sans-serif !important; font-variant-caps: normal; text-transform: uppercase !important; font-weight: 900 !important; font-size: 24px !important; line-height: 1.05 !important; letter-spacing: -0.01em !important; white-space: normal !important; max-width: 14em !important; color: var(--ink) !important; }
html body [data-interaction-id="6b578975"] > .upik-search-desktop, html body [data-interaction-id="4cc60fb"] { order: 2 !important; margin: 0 0 0 auto !important; flex: 0 1 420px !important; width: 420px !important; max-width: 420px !important; min-width: 0; position: static !important; }
html body [data-interaction-id="6b578975"] > div[data-interaction-id="b7a1e001"] { order: 1 !important; margin: 0 !important; }
html body .upik-search-desktop .elementor-widget-container, html body .upik-search-inline { width: 100%; }
html body .upik-search-inline form.upik-search-form { position: static !important; display: flex !important; align-items: stretch; width: 100%; margin: 0; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
html body .upik-search-inline label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html body .upik-search-inline input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 15px; }
html body .upik-search-inline input[type="search"]:focus { outline: 0; border-color: var(--green-900); }
html body .upik-search-inline button { flex: none; width: 50px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 0 6px 6px 0; background: var(--green-900); color: #FFFFFF; cursor: pointer; }
html body .upik-search-inline button:hover { background: var(--green-800); }
@media (max-width: 1024px) {
  html body [data-interaction-id="4cc60fb"] { display: none !important; }
  html body p.e-paragraph-base[data-interaction-id="425f0a31"] { font-size: 19px !important; }
}
@media (max-width: 600px) {
  html body p.e-paragraph-base[data-interaction-id="425f0a31"] { font-size: 12px !important; max-width: 11em !important; }
}
html body [data-interaction-id="6b578975"] > [data-interaction-id="76a73028"] { order: 9 !important; margin-left: auto !important; }
@media (min-width: 1025px) {
  html body [data-interaction-id="6b578975"] { row-gap: 0 !important; padding-top: 8px !important; }
  html body [data-interaction-id="6b578975"] > [data-interaction-id="f3a2fb"] { margin-top: 8px !important; }
}
/* ==UPIK-HEADER-SEARCH-NAME-END== */
/* ==UPIK-DEPT-VARIANTS-START== 16 Nov 2026 (Mike): each department page gets its own small layout differences so the six pages do not look stamped from one mould. Scoped by page id; delete a block to return that page to the standard layout. */
html body .u-dhero-shade { background-image: linear-gradient(to top, rgba(22, 24, 22, 0.9), rgba(22, 24, 22, 0.5) 55%, rgba(22, 24, 22, 0.12)) !important; }

/* Upstream (813): taller banner, figures on a white card that overlaps it, photo on the left */
html body .elementor-813 .u-dhero { min-height: 620px; height: auto; }
html body .elementor-813 .u-dhero-inner { padding-bottom: 120px; }
html body .elementor-813 .u-dfacts { background: transparent !important; margin-top: -58px; z-index: 3; padding: 0 var(--gutter, 24px); }
html body .elementor-813 .u-dfacts-grid { background: #FFFFFF; border-radius: 10px; border-top: 4px solid var(--gold-500); box-shadow: 0 2px 4px rgba(17,17,17,.05), 0 16px 40px rgba(17,17,17,.12); padding: 26px 32px; max-width: 1180px; margin: 0 auto; }
html body .elementor-813 .u-dfact-num { color: var(--green-900); }
html body .elementor-813 .u-dfact-label { color: var(--slate); }
html body .elementor-813 .u-pcard { border-top: 4px solid var(--green-900); }
@media (min-width: 1025px) { html body .elementor-813 .u-dov > :first-child { order: 2; } }

/* Mechanical (816): banner split in two, text on solid green and the photo beside it; yellow figures band */
@media (min-width: 1025px) {
  html body .elementor-816 .u-dhero-img { left: 50%; width: 50%; }
  html body .elementor-816 .u-dhero-shade { background-image: linear-gradient(90deg, var(--green-900) 0, var(--green-900) 50%, rgba(22, 24, 22, 0.08) 50%) !important; }
  html body .elementor-816 .u-dhero-inner > * { max-width: 46%; }
  html body .elementor-816 .u-dhero-inner .u-page-title { font-size: clamp(2.4rem, 1rem + 3vw, 4rem); }
}
html body .elementor-816 .u-dfacts { background: var(--gold-500) !important; }
html body .elementor-816 .u-dfact-num, html body .elementor-816 .u-dfact-label { color: var(--ink); }
html body .elementor-816 .u-pcard { border-left: 4px solid var(--green-900); }

/* Electrical (819): centred banner, figures on white with dividers, programmes listed one under another, red accents */
html body .elementor-819 .u-dhero-shade { background-image: linear-gradient(rgba(22, 24, 22, 0.55), rgba(22, 24, 22, 0.72)) !important; }
html body .elementor-819 .u-dhero-inner { align-items: center; text-align: center; }
html body .elementor-819 .u-crumbs, html body .elementor-819 .u-actions { justify-content: center; }
html body .elementor-819 .u-dhero-lead { border-left: 0; padding-left: 0; max-width: 720px; }
html body .elementor-819 .u-dfacts { background: #FFFFFF !important; border-bottom: 1px solid var(--line); }
html body .elementor-819 .u-dfacts-grid > * + * { border-left: 1px solid var(--line); padding-left: 20px; }
html body .elementor-819 .u-dfact-num { color: var(--top-bar); }
html body .elementor-819 .u-dfact-label { color: var(--slate); }
html body .elementor-819 .u-sec-title::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; background: var(--top-bar); border-radius: 2px; }
@media (min-width: 1025px) { html body .elementor-819 .u-cols-2 { grid-template-columns: 1fr; gap: 16px; } }

/* Instrumentation (822): shorter banner shaded from the left, green figures band, alternate sections on a light tint */
html body .elementor-822 .u-dhero { min-height: 500px; height: auto; }
html body .elementor-822 .u-dhero-shade { background-image: linear-gradient(90deg, rgba(22, 24, 22, 0.93) 0%, rgba(22, 24, 22, 0.62) 45%, rgba(22, 24, 22, 0.05) 82%) !important; }
html body .elementor-822 .u-dfacts { background: var(--green-900) !important; }
html body .elementor-822 .u-dfact-num { color: #FFFFFF; }
html body .elementor-822 .u-dfacts-grid > * { border-top: 2px solid rgba(255, 255, 255, 0.35); padding-top: 12px; }
html body .elementor-822 .u-dsec:nth-of-type(even) { background: var(--leaf-tint); border-image: conic-gradient(var(--leaf-tint) 0 0) fill 0 / / 0 100vmax; }
html body .elementor-822 .u-pcard { border-left: 4px solid var(--green-500); box-shadow: none; }

/* HSE (828): safety stripe under the banner, black tag, yellow rules beside the figures, red section labels */
html body .elementor-828 .u-dhero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; z-index: 3; background: repeating-linear-gradient(-45deg, var(--gold-500) 0 18px, var(--ink) 18px 36px); }
html body .elementor-828 .u-dhero .u-tag { background: var(--ink); color: var(--gold-500); }
html body .elementor-828 .u-dfacts-grid > * { border-left: 3px solid var(--gold-500); padding-left: 14px; }
html body .elementor-828 .u-pcard { border-top: 4px solid var(--gold-500); }
html body .elementor-828 .u-dsec .u-label { color: var(--top-bar); }
/* ==UPIK-DEPT-VARIANTS-END== */
/* ==UPIK-SEARCH-RESULTS-START== 16 Nov 2026 (Mike): search covers pages as well as news; results now say which is which, pages show no date, and the News crumb is hidden on the results page */
html body.search .u-crumbs > a.u-crumb:not(:first-of-type) { display: none !important; }
html body.search .elementor-post .elementor-post__title::before { display: inline-block; margin-right: 10px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }
html body.search .elementor-post.type-page .elementor-post__title::before { content: "Page"; background: var(--green-900); color: #FFFFFF; }
html body.search .elementor-post.type-post .elementor-post__title::before { content: "News"; background: var(--gold-500); color: var(--ink); }
html body.search .elementor-post.type-page .elementor-post__meta-data { display: none !important; }
html body.search .elementor-post.type-page .elementor-post__read-more { font-size: 0 !important; }
html body.search .elementor-post.type-page .elementor-post__read-more::after { content: "Open the page →"; font-size: 15px; }
html body.search .u-crumbs > a.u-crumb:first-of-type::after { content: none !important; }
/* ==UPIK-SEARCH-RESULTS-END== */
/* UPIK-PARTNERS-SLIDER */
html body [data-id="ps1ide0"]{overflow:hidden!important;width:100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
html body [data-id="55181da7"]{display:flex!important;flex-wrap:nowrap!important;gap:14px!important;width:max-content!important;grid-template-columns:none!important;animation:upikPartners 30s linear infinite}
html body [data-id="55181da7"]>*{flex:0 0 280px!important;width:280px!important;margin:0!important}
html body [data-id="55181da7"]:hover{animation-play-state:paused}
@keyframes upikPartners{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 7px))}}
@media(max-width:767px){html body [data-id="55181da7"]>*{flex-basis:180px!important;width:180px!important}html body [data-id="55181da7"]{animation-duration:22s}}
@media(prefers-reduced-motion:reduce){html body [data-id="55181da7"]{animation-duration:90s}}
/* END UPIK-PARTNERS-SLIDER *//* End custom CSS */