@import url("fonts.css");
:root {
  /* Rebranded to the mockup palette. Was #333333 / #0064AE. These two feed
     --bs-link-color, .btn borders and every Bootstrap utility, so the change
     is site-wide by design. --bs-dark and --bs-body-color stay #333333: they
     are text colours, not brand colours. */
  --bs-primary: #F57820;
  --bs-secondary: #005826;
  --bs-success: #229A5A;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #F2F2F2;
  --bs-dark: #333333;
  --bs-red: #FF2E63;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #5B5B5B;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.75rem;
  --bs-body-color: #333333;
  --bs-body-bg: #FFF;
  /* Body stack is now Inter. Was 'Roboto'. */
  --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --bs-font-monospace: 'Inter', Helvetica, Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-space: 3.75rem;
  --mm-line-height: 1.25rem;
  --mm-listitem-size: 2.75rem;
  --mm-navbar-size: 2.75rem;
  --mm-offset-top: 0;
  --mm-offset-right: 0;
  --mm-offset-bottom: 0;
  --mm-offset-left: 0;
  --mm-color-border: #e5e5e5;
  --mm-color-button: var(--bs-primary);
  --mm-color-text: #FFF;
  --mm-color-text-dimmed: #FFF;
  --mm-color-background: var(--bs-primary);
  --mm-color-background-highlight: rgba(0, 0, 0, 0.05);
  --mm-color-background-emphasis: rgba(255, 255, 255, 0.4);
  --mm-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: var(--bs-secondary);
  --container-width: 1320px;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #CCC;
  --fa-style-family-classic: "Font Awesome 6 Free";
  --fa-font-solid: normal 900 1em / 1 "Font Awesome 6 Free";

  /* ---- PHI design tokens (mockup 008-D) -------------------------------
     One source per colour. --phi-orange and --bs-primary are the same value
     by definition below, rather than two independent declarations that can
     drift apart. --phi-secondary aliases the existing --bs-light, which was
     already #F2F2F2 — the mockup and the theme agreed on that one. */
  --phi-orange: #F57820;
  --phi-orange-hover: #e06a15;
  --phi-orange-light: #fef3ea;
  --phi-green: #005826;
  --phi-dark: #1a1d21;
  --phi-dark-600: #2d3139;
  /* Header resting background. This is the theme's own long-standing header
     colour, kept distinct from --phi-dark (#1a1d21, the mockup's promo-card
     gradient base) because they are two different greys. */
  --phi-header-dark: #1c1e21;
  /* Utility bar — a shade darker than the header it sits above. */
  --phi-utility-dark: #141517;
  --phi-secondary: var(--bs-light);
  --phi-gray-200: #e5e5e5;
  --phi-gray-300: #F0F0F0;
  --phi-gray-400: #a0a3a7;
  --phi-gray-600: #5f6368;
  --phi-gray-800: #3c4043;
  --white: #ffffff;
  --header-height: 100px;
  --topbar-height: 50px;
  --total-header: calc(var(--topbar-height) + var(--header-height));
  /* Height of the trust bar that sits directly under the hero. Measured from
     the rendered bar (2.5rem padding top and bottom plus a 62px stat row), not
     declared on it, because the bar itself is content-sized. The 16:9 hero
     subtracts this so the bar lands inside the first screen; nothing else
     depends on it, so if the bar's contents change this is the one number to
     update. Its narrow-screen value is set alongside the padding change in
     style.css. */
  --trust-bar-height: 142px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --display-font: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* The mockup used 1400px. This theme has shipped 1320px site-wide since
     before the mega menu existed, and a 1400px header over a 1320px page
     would misalign the logo against every other row on the page. Aliased to
     the existing token instead of duplicating it — change --container-width
     if you want both to move together. */
  --container: var(--container-width);
}

/* Respect reduced motion. The mega menu leans on transitions; this is the one
   addition to the mockup's CSS, and it is not optional. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 991px) {
  :root {
    --bs-space: 5rem;
  }
}

.pagination {
  --bs-pagination-padding-x: 0rem;
  --bs-pagination-padding-y: 0rem;
  --bs-pagination-font-size: 1.125rem;
  --bs-pagination-color: #555;
  --bs-pagination-bg: #FFF;
  --bs-pagination-border-width: 0;
  --bs-pagination-border-color: #FFF;
  --bs-pagination-border-radius: 0;
  --bs-pagination-hover-color: #fff;
  --bs-pagination-hover-bg: var(--bs-primary);
  --bs-pagination-hover-border-color: var(--bs-primary);
  --bs-pagination-focus-color: #fff;
  --bs-pagination-focus-bg: var(--bs-primary);
  --bs-pagination-focus-box-shadow: none;
  --bs-pagination-active-color: #fff;
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: #003CC5;
  --bs-pagination-disabled-color: #6c757d;
  --bs-pagination-disabled-bg: #fff;
  --bs-pagination-disabled-border-color: #dee2e6;
  display: flex;
  padding-left: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 40px;
  justify-content: flex-start;
}

/* ---------------------------------------------------------------------------
 * Legacy button rules REMOVED (carried over from a previous project):
 *   .btn                                  Roboto / 0.75rem / 4px radius
 *   .btn-info, .btn-primary               blue #009edb, all !important
 *   .btn-primary:active/.active/.open >…  blue pressed states
 *   .region-content .btn a
 *
 * The button system now lives in css/custom-classes.css (.btn-default,
 * .white-btn, .green-btn), and Bootstrap 5's own .btn / .btn-primary provide
 * the base — those now pick up the orange --bs-primary automatically, so the
 * blue overrides were both off-brand and fighting the new rules via
 * !important.
 *
 * The pager's "Load More" was left behind here, carrying the old project's
 * #009edb blue, Roboto and a white fill. It is a button, so it now takes the
 * site's own button treatment instead: `.js-pager__items a.button` was added
 * to the .btn-default selector lists in custom-classes.css. The rule that used
 * to sit here is gone rather than overridden.
 *
 * `#block-currentsession li a` shared that selector and has been dropped with
 * it: no block with that id exists in this site any more.
 * ------------------------------------------------------------------------ */


html{
  scroll-behavior: smooth !important;
}

.main-page-content,
.fullwidth_content,
.fullwidth_content_two,
.fullwidth_content_three{
  font-size: 1rem;
}

a:hover,
.region-sidebar-second ul.sf-menu .menuparent:hover{
  color: #35939a; 
  text-decoration: none;
}
a:focus {
  color: #333;
  text-decoration: none;
}
a{
  color: #333333;
  text-decoration: none;
  -webkit-transition: color .3s ease-in;
  -moz-transition: color .3s ease-in;
  -o-transition: color .3s ease-in;
  transition: color .3s ease-in;
}
.region-content a,
.views-label-field-link a,
.view-second-body a,
.views-field-body a{
  color: #333333;
  border-bottom: dotted 0.1rem #333333;
}
.views-field-title a,
h2 a,
h3 a,
h4 a {
  border-bottom: none !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  /* Display stack. Was 'Roboto Condensed'. */
  font-family: var(--display-font);
  font-weight: 800;
  line-height: 1.1;
}
h2, .h2 {
    font-size: 2.3rem;
}
h1, .h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin: 0.67em 0;
}
h3, .h3 {
    font-size: 1.5rem;
}
h4, .h4 {
    font-size: 1rem;
}
h5, .h5 {
    font-size: 1rem;
}
h6, .h6 {
    font-size: 0.813rem;
    letter-spacing: 0.05em;
}
h6, .h6 {
  font-size: 0.813rem;
  color: #4d4d4d;
  letter-spacing: 0.05em;
}

h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}
hr{
    clear: both;
}

h2.views-label.bigsize,
h2.bigsize,
h2.mediumsize{
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
  font-weight: bold !important;
}
h2.largesize{
  font-size: 3rem;
  font-weight: 900;
}
h2.smallsize{
  font-size: 1.3rem;
  font-weight: 500;
}

h2.block-title.centertitle,
h2.block-title.text-align-center{
  width: fit-content;
  margin: 20px auto 10px auto;
}

h2.block-title.centertitle::after,
h2.block-title.text-align-center::after{
  margin: 0.625rem auto 0 auto;
}

h2.block-title,
.block-title{
    width: fit-content;
}


.form-control {
  font-size: 0.875rem;
  padding: 6px 12px;
}

.flex-align-items-right{
  margin-left: auto;
  width: auto;
  margin-top: 0;
}
.flex-align-items-left{
  margin-right: auto;
  width: auto;
  margin-top: 0;
}
.region-header .mb-3{
  margin-bottom: 0 !important;
}
.region-header .form-item, 
.region-header .form-actions{
  margin-top: 1em;
}

.region-sidebar-first, .region-sidebar-second, .region-footer, .region-content {
  padding-left: 0;
  padding-right: 0;
}
.region-footer a{
  color: #fff;
}
.region-footer ul.navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.region-footer ul.navbar-nav li:last-child {
  margin-right: 0;
}
.site-header .navbar{
  padding-bottom: 1px;
}
.site-header ul.sf-menu.sf-style-default{
    margin: 0;
}

.fullwidth-menu{
  position: relative;
  background: #fff;
}
.fullwidth-menu:before{
  content: ' ';
  width: 100%;
  border-bottom: 6px solid #dfdfdf;
  position: absolute;
  bottom: 0;
  z-index: 1;
}
.fullwidth-menu select.mobile-nav-select{
  margin-top: 1rem;
}
ul.navbar-nav.horizontal{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 498;
  flex-direction: inherit; 
}
ul.navbar-nav.horizontal li{
  display: flex;
  flex: 0 1 200px;
  box-sizing: border-box;
  border-left: 1px solid #e5e5e5;
  padding: 0;
}
ul.navbar-nav.horizontal li:last-child { 
  border-right: 1px solid #e5e5e5;
} 
ul.navbar-nav.horizontal li a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 1rem;
  text-align: center;
  border-bottom: 6px solid #dfdfdf;
  box-sizing: border-box;
  text-decoration: none;
  z-index: 2;
}
ul.navbar-nav.horizontal li a.active,
ul.navbar-nav.horizontal li a:hover{
  background: #4d4d4d;
  color: #fff;
  border-bottom: 6px solid #00a1d8 !important;
  cursor: pointer;
}



figure.caption figcaption{
    width: 100%;
}
figure.caption{
    display: block;
}

.centertitle{
    text-align: center;
}

.breadcrumb {
  padding: 8px 15px 8px 0;
  margin-bottom: 0px;
  list-style: none;
  background-color: transparent;
  border-radius: 0px;
}

a.button{
  border-bottom: none;
}

.tablesaw-stack tbody tr{
  display: table-row;
}
.tablesaw-stack tbody tr:nth-child(odd){
  background: #fff;
}
.tablesaw-stack tbody tr:nth-child(even){
  background: #E8E8E8;
}

/* Search Header */

.site-header .block-views-exposed-filter-blocksearch-page-1 label{
    display: unset;
    position: relative;
    font-size: 0;
}
.mm-listitem .bef-exposed-form label{
    display: none !important;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search label{
    display: inline-block;
    margin: 4px 2px;
    background-color: transparent;
    font-size: 0;
    padding-left: 32px;
    padding-right: 32px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: white;
    text-decoration: none;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search label:hover{
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition: 0.4s ease-in-out;
    background-color: white;
    color: black;
}
.site-header .block-views-exposed-filter-blocksearch-page-1{
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search label{
    margin: 0;
    padding: 0;
}
.site-header .block-views-exposed-filter-blocksearch-page-1.open .form-item-search input.open-search{
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition: 0.4s ease-in-out;
    background-color: white;
    color: black;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search input{
    position: absolute;
    background-color: white;
    outline: none;
    border: none;
    padding: 0;
    width: 0;
    height: 100%;
    z-index: 10;
    height: 40px !important;
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition: 0.4s ease-in-out;
}
.site-header .block-views-exposed-filter-blocksearch-page-1.open .form-item-search input{
    width: 400px !important; /* Bar width+1px */
    padding: 5px 16px 5px 16px !important;
    height: 40px !important;
    border: 2px solid var(--phi-orange) !important;
    right: 29px !important;
    left: inherit !important;
} 
.lang-ar .site-header .block-views-exposed-filter-blocksearch-page-1.open .form-item-search input {
  right: inherit !important;
  left: 29px !important;
}
.site-header .block-views-exposed-filter-blocksearch-page-1:focus-within button{
    display: block;
    opacity: 1;
    transition-duration: 0.4s;
    -moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition: 0.4s ease-in-out;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 input.form-submit.btn{
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in;
}
.site-header .block-views-exposed-filter-blocksearch-page-1.open input.form-submit.btn{
    position: absolute;
    display: inline-block;
    top: 9px;
    right: 33px;
    z-index: 11;
    opacity: 1;
    border: 0 !important;
    background-color: transparent;
    margin: 0;
    outline: none;
    cursor: pointer;
    padding: 0 10px;
    background-color: #4d4d4d !important;
    background-image: none;
    font-size: .875rem;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 500;
    text-shadow: -1px -1px 1px rgba(255,255,255,.1),1px 1px 1px rgba(0,0,0,.5);
    color: #fff !important;
    transition: opacity 1s ease-in;
    height: 32px;
    border-radius: 0;
}
.lang-ar .site-header .block-views-exposed-filter-blocksearch-page-1.open input.form-submit.btn {
  left: 33px;
  right: inherit;
}
.site-header .block-views-exposed-filter-blocksearch-page-1.open input.form-submit.btn:hover{
    background-color: #7d7d7d !important;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search input:focus{
    outline: none !important;
    box-shadow: none !important;
} 
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search input{
    left: auto;
    right: 29px;
    width: 0 !important;
    padding: 0;
    height: 40px;
    top: 5px;
}
.lang-ar .site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search input {
  right: auto;
  left: 29px;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 button{
    font-size: 0;
    border: none;
    background-color: transparent;
    position: absolute;
    right: 6rem;
    top: 1.5rem;
    z-index: 11;
    display: none;
    opacity: 0;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item::before{
    display: none;
}
.site-header .block-views-exposed-filter-blocksearch-page-1 .form-item-search label::before{
    content: "\f002";
    font-size: 1rem !important;
    vertical-align: middle;
    color: #333;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: 1px solid var(--phi-orange);
    border-radius: 4px;
    padding: 12px;
    opacity: 1;
    transition: opacity 1s ease;
    pointer-events: auto;
}
.site-header .block-views-exposed-filter-blocksearch-page-1.open .form-item-search label:before{
    visibility: hidden;
    opacity: 0;
    pointer-events: none;  
}
.site-header .block-views-exposed-filter-blocksearch-page-1.open .form-item-search label:after{
    content: "\f00d";
    font-size: 1rem !important;
    vertical-align: middle;
    color: #333;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    cursor: pointer !important;
}
.site-header .block-views-exposed-filter-blocksearch-page-1{
    margin: 0 0 0 1rem;
}
.site-header .form-item{
    margin-top: 0;
}
li.mm-listitem .views-exposed-form .form--inline{
  display: flex;
}
.mm-panel .views-exposed-form .form-item {
  flex: 1;
}
.mm-menu .form-item, .mm-menu .form-actions {
  margin-bottom: 0;
}


/* Facets */
.form-control {
  border-radius: 4px;
}
.block-facets ul {
    padding: 0;
    margin: 0;
}
.block-facets ul li {
    font-weight: normal;
    list-style: none;
    padding: 5px 0;
    position: relative;
}
.block-facets ul li input {
    position: absolute;
    left: 0;
    top: 7px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--phi-orange);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
}
.block-facets ul li input[type="checkbox"]:checked {
    background-color: var(--phi-orange); /* Fill with blue when checked */
    border-color: var(--phi-orange);
  }
  .block-facets ul li input[type="checkbox"]:checked::after {
    content: '✓'; /* Unicode checkmark */
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
.block-facets ul li label {
    margin-left: 27px;
    margin-bottom: 5px;
    text-transform: capitalize;
    cursor: pointer;
}

.facets-widget-dropdown select{
    width: 100%;
    padding: 5px 10px;
    background-color: #fff;
    height: 36px;
    border-radius: 0;
    border: 1px solid #ced4da;
}

.page-header,
.block-page-title-block h1{
  padding-bottom: 1rem;
  margin: 1rem 0 1.3rem 0;
  border-bottom: 1px solid #eeeeee;
}

/* Filters  */
.layout .views-exposed-form .form--inline,
.region.region-filters .views-exposed-form .form--inline{
    display: flex;
}
.region.region-filters .block-views-exposed-filter-blocksearch-page-1 label{
  display: none;
}
.region.region-filters .form-item,
.region.region-filters .form-actions{
  margin-top: 0;
  margin-bottom: 0;
}
.region.region-filters{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  background-color: #f2f2f2;
  padding: 20px 20px 20px 20px;
}
.layout .views-exposed-form .form--inline .form-actions{
    flex-shrink: 0;
    margin: 0;
}
.layout .views-exposed-form .form--inline .form-item{
    margin: 0 5px 0 0;
}
.layout .views-exposed-form .form-group.mb-3{
    margin-bottom: 0 !important;
}
a.resetlink{
    display: block;
    margin-top: 20px;
    width: fit-content;
}
.sort-by-block {
  float: right;
}

input[name="reset"] {
    font-size: 0; 
    background-color: #d9534f !important; 
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 5px;
    position: relative;
    margin: 0;
    border: 1px solid #d9534f !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' d='M170.5 51.6L151.5 80l145 0-19-28.4c-1.5-2.2-4-3.6-6.7-3.6l-93.7 0c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80 368 80l48 0 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-8 0 0 304c0 44.2-35.8 80-80 80l-224 0c-44.2 0-80-35.8-80-80l0-304-8 0c-13.3 0-24-10.7-24-24S10.7 80 24 80l8 0 48 0 13.8 0 36.7-55.1C140.9 9.4 158.4 0 177.1 0l93.7 0c18.7 0 36.2 9.4 46.6 24.9zM80 128l0 304c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32l0-304L80 128zm80 64l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0l0 208c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208c0-8.8 7.2-16 16-16s16 7.2 16 16z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px;
    height: 34px;
    line-height: 34px;
}
input[value="Search"] {
    font-size: 0; 
    background-color: #fff !important;
    color: #333333;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    position: relative;
    margin: 0;
    border: 1px solid var(--phi-orange);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23333333' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px !important;
    height: 34px;
    line-height: 34px;
}

h2.csfilterbutton{
    margin: 0;
    background: #fff;
    padding: 0.9rem 1.1rem;
    position: relative;
    /* Was a 2px var(--phi-orange) (legacy blue) box; themed to the site's neutral border
       to match the rebrand. */
    border: 1px solid var(--phi-gray-200);
    border-radius: 8px;
    flex: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--display-font);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--phi-dark);
}
h2.csfilterbutton.open{
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
h2.csfilterbutton:hover{
    cursor: pointer;
}
h2.csfilterbutton::after {
    content: "";
    display: inline-block;
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1rem;
    color: var(--phi-orange);
    vertical-align: middle;
    line-height: 1;
    margin-left: 8px;
    transition: transform 0.2s ease;
}
h2.csfilterbutton.open::after,
.lang-ar h2.csfilterbutton.open::after {
    content: "\f078";
    transform: rotate(180deg);
}
.lang-ar h2.csfilterbutton::after {
    content: "\f053";
    margin-left: 0;
    margin-right: 8px;
}

.collapsecustom .filterssearch,
.collapsecustom .filter-col{
    margin: 0;
    background: #fff;
    /* Was 2px var(--phi-orange) (legacy blue); themed to the neutral border + rounded to
       match the collapse title above it. */
    border: 1px solid var(--phi-gray-200);
    border-top: none;
    border-radius: 0 0 8px 8px;
}
.collapsecustom .filterssearch{
    padding: 1rem;
}
.collapsecustom .filter-col{
  padding: 0 1rem 1rem 1rem;
}
.collapsecustom .filterssearch .col-12{
    padding: 0;
}
.collapsecustom .filterssearch .col-12 {
  display: block;
}
.collapsecustom .filterssearch .col-12 > *{
  margin-bottom: 1rem;
}
.collapsecustom .filter-col h2{
  font-size: 1.5rem;
}

.filterssearch .views-exposed-form button form {
    padding-top: 0;
    display: flex;
}
.filterssearch .views-exposed-form input[type="text"] {
    width: 100%;
}
.filterssearch .views-exposed-form .mb-3{
    margin-right: 10px;
    margin-bottom: 0 !important;
}
.filterssearch .bef-exposed-form.views-exposed-form button {
    margin-left: -3px;
    margin-right: 0;
}
.filterssearch .col-12{
    display: flex;
    gap: 40px;
    align-items: center;
}
.filterssearch .bef-exposed-form.views-exposed-form button {
    color: #000;
    background-color: #fff;
    border-color: #009edb;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 10px 20px;
    line-height: inherit;
    font-size: inherit;
}
.filterssearch .bef-exposed-form.views-exposed-form button:hover{
    color: #000;
    background-color: #fff;
    border-color: #009edb;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.filterssearch .bef-exposed-form.views-exposed-form button:hover .glyphicon-search:before {
    content: "\e003";
    color: #009edb;
}
.filterssearch .bef-exposed-form.views-exposed-form button {
    overflow: hidden;
    width: 55px;
}
.filterssearch .bef-exposed-form.views-exposed-form button .glyphicon-search {
    padding-right: 100px;
}
.filterssearch .bef-exposed-form.views-exposed-form button .glyphicon-search:before {
    content: "\e003";
    color: #4d4d4d;
    font-size: 0.75rem;
}
.filterssearch h2.block-title{
    margin-top: 0;
}
.filterssearch.hidden{
    display: none;
}

/* Pager */
.pager{
    width: 100%;
}
.pager li a.page-link{
    border-radius: 0;
    color: var(--phi-orange);
    border: 2px solid var(--phi-orange);
    min-width: 40px;
    text-align: center;
    font-weight: 500;
}
li.page-item.is-active.active a.page-link{
    background: #333333;
    border-color: #333333;
    color: #fff;
}
.pager li a.page-link:hover{
    border-radius: 0;
    background-color: var(--phi-orange);
    color: #fff;
}
.pager li.page-item{
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.25rem;
    --bs-pagination-font-size: 1rem;
}
.pager li.page-item:last-child{
    margin-right: 0;
}
.page-item:last-child .page-link{
    border-radius: 0;
}
.pagination{
  flex-wrap: wrap;
  padding: 1rem 0;
  justify-content: center;
}


/* Image Zoom on Hover */
.scaleonhover a img{
    transition: transform 1s ease;
}
.scaleonhover{
    overflow: hidden;
}
.scaleonhover a img:hover {
    transform: scale(1.3);
} 

.fivecolumn .view-content,
.fourcolumn .view-content,
.threecolumn .view-content,
.twocolumn .view-content,
.fivecolumn .view-content .views-infinite-scroll-content-wrapper,
.fourcolumn .view-content .views-infinite-scroll-content-wrapper,
.threecolumn .view-content .views-infinite-scroll-content-wrapper,
.twocolumn .view-content .views-infinite-scroll-content-wrapper{
  display: grid;
  gap: 2rem;
}
.fivecolumn .view-content,
.fivecolumn .view-content .views-infinite-scroll-content-wrapper{
  grid-template-columns: repeat(5, 1fr);
}
.fourcolumn .view-content,
.fourcolumn .view-content .views-infinite-scroll-content-wrapper{
  grid-template-columns: repeat(4, 1fr);
}
.threecolumn .view-content,
.threecolumn .view-content .views-infinite-scroll-content-wrapper{
  grid-template-columns: repeat(3, 1fr);
}
.twocolumn .view-content,
.twocolumn .view-content .views-infinite-scroll-content-wrapper{
  grid-template-columns: repeat(2, 1fr);
}


.fivecolumn img,
.threecolumn img,
.threecolumn .view-content img,
.fourcolumn .view-content img,
.twocolumn img{
    width: 100%;
}
.statement-accordion .ui-accordion-content .views-row{
    flex: 0 32%;
    margin-bottom: 2%;
    overflow: hidden;
}
.block-better-social-sharing-buttons h2.block-title {
  margin: 0 auto;
}
.block-better-social-sharing-buttons h2.block-title::after {
  margin-left: auto;
  margin-right: auto;
}
.social-sharing-buttons {
  margin: 1rem 0 2rem 0;
}


.card-block .views-row {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--phi-gray-200);
  background: var(--white);
  transition: all 0.25s ease;
}
.card-block .views-row img {
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--phi-secondary);
}
.card-block .views-field-nothing {
  padding: 14px 16px;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--phi-gray-600);
}
.card-block .views-row:hover {
    border-color: var(--phi-orange);
    box-shadow: 0 4px 16px rgba(245, 120, 32, 0.12);
    transform: translateY(-2px);
}
.card-block .views-row:hover .views-field-nothing a{ 
    color: var(--phi-orange); 
}
.card-block .views-row:hover .views-field-nothing .product-tags-con a{
    color: var(--phi-gray-600);
}
.card-block .hrline {
  border-top: 1px solid var(--phi-gray-200);
  margin: 1rem 0;
}
.product-tags-con a:hover{ 
    color: var(--phi-orange) !important; 
}
.tagscon{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}
.tagitem{
  border-bottom: none;
  font-size: 0.875rem;
  line-height: 1.3;
  border-radius: 4px;
  background: var(--phi-secondary);
  color: var(--phi-gray-600);
  padding: 3px 8px;
}

.pi-label{
    font-weight: bold;
}

.pi-headeritems{ 
    display: flex;
    flex-wrap: wrap;
}
.pi-headeritems > * {
    width: calc(33.333% - 20px);
    margin-right: 20px;
}
.pi-headeritems-auto{ 
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.pi-headeritems-auto > * {
    flex: 0 1 auto;
}
.pi-item.pi-cat-tax{
    display: flex;
}
.pi-item.pi-cat-tax .pi-label{
    margin-right: 5px;
}

.pi-headeritems::after{
    content: '';
    flex: auto;
}
.pi-body-item.pi-pdf{
    float: left;
    margin-right: 20px;
}
.pi-body-item.pi-pdf::after{
    content: "";
    display: block;
    clear: both;
}
.pi-body-item.pi-pdf img{
    max-width: 200px;
}
.pi-body-item.pi-mb{
    margin: 20px 0;
}
.programme-item-con .pi-body-item.pi-pdflink{
    margin-bottom: 10px;
}

.pi-body-con{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.programme-item-con .pi-body-item.pi-pdf{
    flex: 0 0 200px; 
}
.pi-body-con-inner{
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.pi-exerpt{
    margin-bottom: 20px;
}
.pi-exerpt strong {
    background: yellow;
}

/* Document*/
.document-group-wrapper{
    margin-top: 20px;
}
.docu-list .views-row{
    margin-bottom: 20px;
    width: 100%;
    background: #fff;
    -webkit-border-top-right-radius: 6px;
    -webkit-border-bottom-right-radius: 6px;
    -moz-border-radius-topright: 6px;
    -moz-border-radius-bottomright: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.docu-list .views-row .no-img{
  flex: 1;
  background: #fff;
  padding: 20px 20px 20px 20px;
  position: relative;
}
.docu-list.docu-list-2col .view-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1rem;
}
.docu-list.docu-list-2col .views-row{
      border: 1px solid #eee;
      border-radius: 6px;
      padding: 20px 20px 20px 20px;
      margin-bottom: 0;
}
.document-group-wrapper .views-field-thumbnail img{
    width: 100px;
}
.download-icon-con {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.downloadicon {
  position: relative;
  width: 26px;
  height: 26px;
}
.downloadicon::after {
  content: "";
  width: 26px;
  height: 26px;
  background-image: url("../images/icons/download-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin-left: 8px;
  position: absolute;
  right: 0;
}
.chevronicon::after{
  content: "\f054";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.5rem;
  vertical-align: middle;
  line-height: 1;
  color: var(--phi-orange);
  position: absolute;
  display: inline-block;
  right: 0;
}

.views-field-thumbnail a{
    border: none;
}
.docu-list .views-field-nothing{
    flex: 0 0 100%;
    position: relative;
}
.docu-list .docu-title a,
.docu-list .docu-title a h3,
.items-list-wbg .docu-title a,
.items-list-wbg .docu-title h3{
    color: #333;
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    border: none;  
}
.docu-list .docu-title h3{
    margin: 0 0 1rem 0;
    border: none;
    font-size: 1.2rem;
}
.items-list-wbg .views-field-field-country-or-source,
.items-list-wbg .views-field-field-input-action-area{
    padding-right: 50px;
}
.document-group-wrapper:first-child h3.docu-group{
    margin: 20px 0 30px 0;
}
h3.docu-group{
    margin: 30px 0;
}
.document-group-wrapper .download-icon-con{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}
.programme-dl .download-icon-con{
    position: absolute;
    right: 0;
    margin: 0;
}
.pi-body-con-inner.programme-dl .pi-body-item{
    padding-right: 40px;
}
.pi-upload-link a.btn,
.pi-upload-link .file{
  margin-top: 1rem;
}
.filter-col > .block:first-of-type h2.block-title {
  margin-top: 0;
}
.small-text {
  font-weight: 500;
  font-size: .85rem;
  line-height: 1.1667;
  color: #4d4d4d;
  font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.header100p .view-header{
  width: 100%;
}


/* Slick */
.slick{
  position: relative;
}
ul.slick-dots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 2rem;
  padding: 0;
}
ul.slick-dots li {
  float: left;
  list-style: none;
  margin-right: .5rem;
}
/* Slick dots. #009edb was the previous project's blue and applied to EVERY
   slider on the site (product category slider, cards, flexible cards). Brand
   orange now, in one place, so all sliders agree. */
ul.slick-dots li.slick-active button {
  background: var(--phi-orange);
}
ul.slick-dots li button {
  text-indent: -999px;
  border: 2px solid var(--phi-orange);
  background: transparent;
  border-radius: 40px;
  width: 20px;
  height: 20px;
}
.slick .slide__caption {
    padding: 20px;
}

.vert-list-view .views-row,
ul.vert-list-view li{
    width: 100%;
    padding-bottom: 1rem;
    margin: 0 0 1rem 0;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}
ul.vert-list-view{
  list-style: none;
  padding: 0;
}
ul.vert-list-view li a{
  font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}


.flex-control-nav li a{
  border-bottom: none !important;
}

.force3x2 .field--type-image{
    position: relative;
    width: 100%;
    padding-top: 56.3%;
    overflow: hidden;
}
.force3x2 .field--type-image img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.force4x2 .field--type-image {
    position: relative;
    width: 100%;
    padding-top: 50%; /* Calculates to (2 / 4) * 100 = 50% height relative to width */
    overflow: hidden;
}

.force4x2 .field--type-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.force3x4 .field--type-image {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 aspect ratio */
    overflow: hidden;
}
.force3x4 .field--type-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.force1x1 .field--type-image,
.block-views-blockproduct-images-block-1 .slide__thumbnail{
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}
.force1x1 .field--type-image img,
.block-views-blockproduct-images-block-1 .slide__thumbnail img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-lr .view-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.header-r .view-header{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
/* The trailing link ("View All Products", "View More") is a flex item with the
   default flex-shrink:1, so once the heading beside it grew the link squeezed
   and broke onto a second line even though the row still had room. Pin it: the
   link keeps its natural width and never wraps, and the heading — which CAN
   wrap gracefully — absorbs any squeeze instead. */
.header-lr .view-header > *:last-child,
.header-r .view-header > *:last-child{
  flex-shrink: 0;
}
/* The nowrap that used to live here is now on .orange-link / .green-link
   themselves in custom-classes.css, so every instance is protected rather than
   just the ones in this header. */
/* Let the heading be the thing that gives way. */
.header-lr .view-header > *:first-child{
  min-width: 0;
}




@media only screen and (max-width: 1200px) {
  .slick-list {
    margin: 0 60px;
  }
  .docu-list .view-header,
  .sort-by-block{
    margin-top: 1rem;
  }
}
@media only screen and (max-width: 768px){
  .statement-accordion .ui-accordion-content{
      flex: 0 50%;
  }
  .fivecolumn .view-content,
  .fourcolumn .view-content,
  .fivecolumn .view-content .views-infinite-scroll-content-wrapper,
  .fourcolumn .view-content .views-infinite-scroll-content-wrapper{
      grid-template-columns: repeat(3, 1fr);
  }

  .threecolumn .view-content,
  .threecolumn .view-content .views-infinite-scroll-content-wrapper {
      grid-template-columns: repeat(2, 1fr);
  }
  .twocolumn .view-content,
  .twocolumn .view-content .threecolumn .view-content {
      grid-template-columns: 1fr;
  }
}
@media only screen and (max-width: 650px) {
  .fivecolumn .view-content,
  .fourcolumn .view-content,
  .threecolumn .view-content,
  .twocolumn .view-content,
  .fivecolumn .view-content .views-infinite-scroll-content-wrapper,
  .fourcolumn .view-content .views-infinite-scroll-content-wrapper,
  .threecolumn .view-content .views-infinite-scroll-content-wrapper,
  .twocolumn .view-content .views-infinite-scroll-content-wrapper{
      grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 550px) {
  .slick-list {
    margin: 0 50px;
  }
}

/* ---------------------------------------------------------------------------
 * AS-NAV-FOR THUMBNAIL STRIPS
 *
 * The two rules above reserve 50-60px on each side of EVERY .slick-list for the
 * prev/next arrows. The thumbnail strip under a product image has no arrows -
 * swipe and touchMove are off and it is driven by clicking a thumbnail - so on
 * a 390px screen that margin ate 100px of the 342px available and slick sized
 * the thumbnails down to 19px square. Excluded here rather than reducing the
 * arrow allowance, which real carousels still need.
 *
 * Scoped to the product-nav optionset rather than .slick--thumbnail generally.
 * The timeline carousel is also an as-nav-for thumbnail strip with its own
 * layout rules in component/timeline-carousel.css, and the !important below
 * would have overridden them whatever their specificity. product_images and
 * project_images are the two views on this optionset.
 * ------------------------------------------------------------------------ */
.slick--optionset--product-nav .slick-list {
  margin-left: 0;
  margin-right: 0;
}

@media only screen and (max-width: 1200px) {
  /* Slick cannot re-lay this strip through its own responsive breakpoints: its
     refresh cycle destroys and rebuilds the track, and it does not restore the
     Slick module's custom .slick__slide wrappers, so the strip collapses to a
     column of full-width images (see slick.optionset.product_nav, which now
     carries no breakpoints for that reason).
     The layout below desktop is therefore done in CSS. The track wraps and the
     per-slide width slick wrote inline is overridden, so the thumbnails stay a
     usable tap size instead of being divided into ten columns of whatever
     narrow container they land in. asNavFor still works: it binds to the slide
     element and does not care how the slide is laid out.

     min-width is what makes this hold up. The strip sits in a grid column, so
     the container can be far narrower than the viewport - 272px inside a 768px
     layout - and a flat five-per-row split gave 22px thumbnails there. With a
     floor set, the row simply wraps sooner. */
  .slick--optionset--product-nav .slick-track {
    width: 100% !important;
    transform: none !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .slick--optionset--product-nav .slick__slide {
    width: calc((100% - 24px) / 5) !important;
    min-width: 56px;
    margin: 0 !important;
  }
}

