@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Noto Sans Chorasmian", sans-serif;
  src: url("https://fonts.cdnfonts.com/css/noto-sans-chorasmian");
}
/*
h1 {
    font-size: 2.5em;
}
h2 {
    font-size:2.25em;
    font-weight: 600;

}
h3 {
    font-size: 1.85em;
    font-weight: 600;
}
h4 {
    font-size: 1.75em;
}
h5 {
    font-size: 01.5em;
}
h6 {
    font-size: 1.25em
}

p {
    margin-bottom:1.1rem;
}

h3.form-label {
    font-size: 1.85em;
    margin-bottom: 0.5em;
}

*/
h1 {
  font-size: 2em;
  font-weight: 600;
}

h2 {
  font-size: 1.85em;
  font-weight: 600;
}

h3 {
  font-size: 1.5em;
  font-weight: 600;
}

h4 {
  font-size: 1.25em;
  font-weight: 600;
}

h5 {
  font-size: 1.15em;
}

h6 {
  font-size: 1.1em;
}

p {
  margin-bottom: 1.1rem;
}

h3.form-label {
  font-size: 1.85em;
  margin-bottom: 0.5em;
}

blockquote {
  padding: 1em 1em;
  margin: 0 1.2em 1.2em;
  background: #fafafa;
  position: relative;
  border: #cccccc;
  border-left: 0.5em solid #c10016;
}
blockquote > p {
  margin-bottom: 0em;
}

/* Colour Variables */
.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .topbar-social {
    display: flex;
  }
}
.social-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 0 0 30px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icon:hover,
.social-icon:focus {
  opacity: 0.8;
  transform: translateY(-1px);
}

.social-share-block {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d9dee7;
}

.social-share-block__label {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: #1f365f;
}

.social-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid #1f365f;
  border-radius: 4px;
  background: #fff;
  color: #1f365f;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-share-button:hover,
.social-share-button:focus {
  background: #1f365f;
  color: #fff;
  text-decoration: none;
}

.social-share-button--email {
  border-color: #c10016;
  color: #c10016;
}

.social-share-button--email:hover,
.social-share-button--email:focus {
  background: #c10016;
  color: #fff;
}

.social-icon--bluesky {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/bluesky_white.svg");
}

.social-icon--facebook {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/facebook.svg");
}

.social-icon--instagram {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/instagram.svg");
}

.social-icon--linkedin {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/linkedin.svg");
}

.social-icon--tiktok {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/tiktok.svg");
}

.social-icon--threads {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/threads.svg");
}

.social-icon--youtube {
  background-image: url("/wp-content/themes/psacpsunsw/assets/icons/youtube.svg");
}

/* Screen Size Variables */
/* Buy a bit of room before collapse (≤1200px) */
@media (max-width: 1199.98px) {
  /* Tighten top-level item spacing (matches your existing selectors) */
  #hd .nav-auxiliary .nav-mainmenu .psc-navigation > li > a,
  #hd .nav-auxiliary .nav-mainmenu .main-nav-area > li > a {
    padding: 0.35rem 0.75rem;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
  }
}
/* Switch pattern at lg and down (≤992px) */
@media (max-width: 991.98px) {
  /* Hide the two-row desktop stacks */
  #hd .nav-auxiliary .nav-portal,
  #hd .nav-auxiliary .nav-mainmenu {
    display: none !important;
  }
  /* Right side alignment for CTAs + toggler */
  #auxiliary-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: end;
    gap: 0.5rem;
  }
  .mobile-cta .btn {
    padding: 0.45rem 0.9rem;
    border-radius: 0.25rem;
  }
  /* Make sure the header row aligns nicely */
  .header-top-container .row {
    align-items: center;
  }
  /* Simple burger icon for when Bootstrap's toggler-icon isn't themed */
  .navbar-toggler .burger {
    display: inline-block;
    width: 1.5rem;
    height: 0.125rem;
    background: #1f356f;
    position: relative;
    line-height: 0;
  }
  .navbar-toggler .burger::before,
  .navbar-toggler .burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background: #1f356f;
  }
  /* Offcanvas nav list styling can reuse your existing .psc-navigation rules */
  .offcanvas .navbar-nav > li > a {
    padding: 0.6rem 0.25rem;
    display: block;
  }
  /* Keep portal + join styles consistent (already present, but ensure buttons look like buttons) */
  .portal a {
    background: #c10016;
    color: #fff;
    border-radius: 0.2em;
    text-decoration: none;
    text-align: center;
  }
  .joinunion a {
    background: #528CF5;
    color: #fff;
    border-radius: 0.2em;
    text-decoration: none;
    text-align: center;
  }
  .offcanvas .portal a {
    margin-bottom: 0.5rem;
  }
}
/* Make offcanvas sit above the fixed header */
.offcanvas {
  z-index: 11000;
}

.offcanvas-backdrop {
  z-index: 10900;
}

/* Keep the toggler clickable/visible */
.navbar-toggler {
  border: 0;
  padding: 0.5rem;
  position: relative;
  z-index: 11050;
}

.navbar-toggler .burger {
  display: inline-block;
  width: 1.5rem;
  height: 0.125rem;
  background: #1f356f;
  position: relative;
}

.navbar-toggler .burger::before,
.navbar-toggler .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: #1f356f;
}

.navbar-toggler .burger::before {
  top: -0.4rem;
}

.navbar-toggler .burger::after {
  top: 0.4rem;
  width: 50% !important;
}

/* Burger icon styling (works site-wide) */
.navbar-toggler {
  border: 0;
  padding: 0.5rem 0 0.5rem 0rem;
}

.navbar-toggler .burger {
  display: inline-block;
  width: 1.5rem;
  height: 0.125rem;
  background: #1f356f;
  position: relative;
  line-height: 0;
}

.navbar-toggler .burger::before,
.navbar-toggler .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: #1f356f;
}

.menu-label {
  margin-top: 0.5rem;
}

@media screen and (max-width: 768px) {
  .col-12 .container-area {
    margin-bottom: 1em;
  }
}
/* Bigger logo on phones (below Bootstrap's sm breakpoint) */
@media (max-width: 575.98px) {
  /*#logo-image {
    /* upsize from your default clamp(...) */
  /*width:  clamp(12rem, 58vw, 16rem);
  height: clamp(6rem,  28vw, 8rem);
  background-position: center center; /* keeps it nicely centered */
  /*}*/
  #logo-img {
    width: clamp(12rem, 58vw, 16rem);
    height: clamp(6rem, 28vw, 8rem);
  }
  .mobile-cta {
    padding: 0;
  }
  .portal, .joinunion {
    width: 50%;
  }
  .portal a, .joinunion a {
    width: 100%;
  }
  .offcanvas .portal, .offcanvas .joinunion {
    width: 100%;
  }
  .offcanvas .portal a, .offcanvas .joinunion a {
    width: 100%;
  }
  .cta-join {
    width: 100%;
  }
}
/* Home Page Overlay */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .section-card-overlay-grid-above .overlay-grid-bx {
    max-width: 472px;
    height: 125px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    border-radius: 0.2em;
    align-items: center;
    display: flex;
    background-color: #ffffff;
    box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
  }
}
@media (max-width: 767.98px) {
  .section-card-overlay-grid-above .overlay-grid-bx {
    max-width: 80%;
    margin-top: 1em;
  }
}
/* If you want different focal points on mobile, override here */
@media (max-width: 576px) {
  .hero-section img {
    -o-object-position: var(--fp-mobile-x, 50%) var(--fp-mobile-y, 25%);
       object-position: var(--fp-mobile-x, 50%) var(--fp-mobile-y, 25%);
  }
}
:root {
  font-family: "Noto Sans Chorasmian", sans-serif;
  font-size: 16px;
}

body:has(#wpadminbar) .top-bar-container {
  margin-top: 33px;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans Chorasmian", sans-serif;
  font-size: 16px;
  color: #333333;
}

.fdv .slider-section {
  background: #c2a8f0;
  margin-bottom: -3% !important;
}

ul {
  padding: 0em 1em 0.5em 1.5em;
}

ul.tabbed {
  padding: 0 1em 0 1.5em !important;
}

.pagination {
  align-items: right;
}

.page-numbers {
  background-color: #1f356f;
  color: #ffffff;
  padding: 0.4em 1em;
  margin: 1.4em 0.4em 0.4em 0.4em;
  border-radius: 0.2em;
  text-decoration: none;
}

.warning {
  color: #c10016;
}

.wrapper {
  padding-top: 12.5em;
  display: table;
  width: 100%;
  background-color: #fafafa;
}

@media (max-width: 575.98px) {
  .wrapper {
    padding-top: 16.5em;
    display: block;
  }
}
.top-bar-container {
  margin: 0;
  padding: 0;
}

.top-bar {
  min-height: 2em;
  font-size: 14px;
  background-color: #1f356f;
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}

.top-bar-fdv {
  min-height: 2em;
  font-size: 14px;
  background-color: #6022a6;
  padding-top: 1.5em;
  padding-bottom: 1.5em;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.top-bar__center {
  margin-left: auto !important;
  color: #ffffff;
  font-weight: 600;
}
.top-bar__center h3 {
  margin-bottom: 0;
}

.top-bar__right {
  margin-left: auto !important;
}

/* Tablet / laptop down */
@media (max-width: 1199px) {
  .top-bar__center,
  .top-bar__right {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
  .top-bar__left {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}
/* Header */
body.hasscroll #hd {
  position: fixed;
  inset: 0;
  bottom: auto;
  z-index: 100;
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.3);
}

.logo, .nav-test {
  /*border: 1px solid black;*/
  margin: 1em 0;
}

#master-logo-image,
#logo-image {
  display: block;
  width: clamp(9rem, 18vw, 12rem);
  height: clamp(4rem, 9vw, 6rem);
  background-image: url(../img/dual-logo-AC.png);
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

#master-logo-image,
#logo-image-psa {
  display: block;
  width: clamp(9rem, 18vw, 12rem);
  height: clamp(4rem, 9vw, 6rem);
  background-image: url(../img/psa.png);
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

#master-logo-image,
#logo-image-cpsunsw {
  display: block;
  width: clamp(9rem, 18vw, 12rem);
  height: clamp(4rem, 9vw, 6rem);
  background-image: url(../img/cpsunsw.png);
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
}

/*#logo-image {
        display: block;
    width: 12em;
    height: 6em;
    max-width: 100%;
    background-image: url(../img/dual-logo-AC.png);
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}*/
/* New Menu Structure*/
.nav-auxiliary {
  position: relative;
  flex-direction: column;
  align-items: flex-end;
  display: flex;
  font-weight: 600;
}

.nav-portal .portal-login {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-portal .portal-login > li + li {
  border-left: 1px solid #eeeeee;
}
.nav-portal .portal-login a {
  display: block;
  padding: 0.2em 1em;
  color: #333333;
  text-decoration: none;
}
.nav-portal .portal-login .portal a {
  background-color: #c10016;
  color: #ffffff;
  border-radius: 0.2em;
  text-decoration: none;
}

.nav-mainmenu {
  margin: 1em 0;
}
.nav-mainmenu ul {
  list-style: none;
}

.main-nav-area {
  list-style-type: none;
  justify-content: flex-end;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.main-nav-area li {
  display: block;
}
.main-nav-area li:hover .sub-menu {
  max-height: 100vh;
  padding: 1em 2em;
  border-top: 2px solid #1f356f;
  box-shadow: 0 2em 2em rgba(0, 0, 0, 0.1);
  transition: all 0.6s;
}
.main-nav-area li + li {
  border-left: 1px solid #eeeeee;
}
.main-nav-area li .sub-menu {
  position: absolute;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  gap: 0.75em 1.5em;
  flex-wrap: wrap;
  background-color: #ffffff;
  border-radius: 0 0 1em 1em;
  overflow: hidden;
  max-height: 0;
  padding: 0 2em;
  border-top: #1f365f;
  box-shadow: none;
  transition: all 0.3s;
}
.main-nav-area li .sub-menu > li > a {
  font-size: 0.9em;
  font-weight: 600;
  line-height: 1.2em;
  text-align: left;
  padding: 0.2em 0.7em;
}
.main-nav-area li .sub-menu li:first-child {
  border-left: 1px solid #eeeeee;
}
.main-nav-area > li {
  flex: unset;
  position: static;
}
.main-nav-area > li > a {
  white-space: nowrap;
}
.main-nav-area a {
  padding: 0.4em 1em;
  color: #333333;
  text-decoration: none;
}

/* 1) Only open the FIRST child submenu of a top-level li on hover */
.main-nav-area > li:hover > .sub-menu {
  max-height: 100vh;
  padding: 1em 2em;
  border-top: 2px solid #1f356f;
  box-shadow: 0 2em 2em rgba(0, 0, 0, 0.1);
  transition: all 0.6s;
}

/* 2) Default: keep level-3 (and deeper) hidden inside the mega panel */
.main-nav-area li .sub-menu > li > .sub-menu {
  display: none; /* was display:block */
  position: static; /* stay in-flow, no fly-out */
  max-height: none; /* no inner collapsing */
  padding: 0;
  margin: 0.25rem 0 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* 3) Reveal level-3 only when its level-2 parent column is hovered/focused */
.main-nav-area li .sub-menu > li:hover > .sub-menu,
.main-nav-area li .sub-menu > li:focus-within > .sub-menu {
  display: block;
}

/* 4) (Optional) Heading + children style, unchanged */
.main-nav-area li .sub-menu > li > a {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.main-nav-area li .sub-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.2rem 0.5rem;
}

/* 5) Keyboard: keep panel open while focusing inside a top-level item */
.main-nav-area > li:focus-within > .sub-menu {
  max-height: 100vh;
  padding: 1em 2em;
  border-top: 2px solid #1f356f;
  box-shadow: 0 2em 2em rgba(0, 0, 0, 0.1);
}

.joinunion a {
  background-color: #528CF5;
  color: #ffffff !important;
  border-radius: 0.2em;
}

/* Labels above each desktop row */
.nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1f356f;
  margin: 0.25rem 0 0.35rem;
  border-left: 3px solid #1f356f;
  padding-left: 0.5rem;
  opacity: 0.85;
}

/* Mobile CTA Click to Action */
.mobile-cta {
  padding: 0em 0em 1.1em 1.1em;
}

/* Mobile offcanvas headings */
.offcanvas .menu-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0.25rem;
  color: #1f356f;
}

.offcanvas .menu-sep {
  margin: 0.5rem 0 1rem;
  opacity: 0.2;
}

/* Optional: if you ever keep offcanvas inside the header again */
.offcanvas {
  z-index: 11000;
}

.offcanvas-backdrop {
  z-index: 10900;
}

/* Old Menu Structure*/
#hd {
  bottom: auto;
  z-index: 100;
  min-height: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}
#hd .header-top-container {
  position: relative;
  inset: auto;
}
#hd .header-top-container .header-container {
  display: grid;
  grid-template-columns: 1fr 4fr;
  /*gap:2em;*/
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /*max-width: 1170px;*/
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
#hd .header-top-container .header-container .header-logo-container {
  margin: 0.5em 0;
}
#hd .header-top-container .header-container .header-logo-container #master-logo-image {
  display: block;
  width: 12em;
  height: 6em;
  background-image: url(../img/dual-logo-AC.png);
  background-position: left center;
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  float: left;
}
#hd .header-top-container .header-container {
  /*.nav-auxiliary {
      flex-direction: column;
      align-items: flex-end;
      display: flex;

      display: flex;
      font-weight: 600;
      border:1px solid black;

      .nav-portal {
          .portal-login {

              display: flex;
              align-items:center;
              gap:0.5em;
              margin:0;
              padding: 0;
              list-style:none;

              > li + li {
                  border-left: 1px solid #eeeeee;
              }

              a {
                  display: block;
                  padding: 0.2em 1em;
                  color:#333333;
                  text-decoration: none;
              }

              .portal a {
                  background-color: #c10016;
                  color: #ffffff;
                  border-radius: 0.2em;

                  text-decoration: none;


              }
          }

      }
      .nav-mainmenu ul {
          list-style: none;
      }

      .nav-mainmenu {

          margin: 1em 0;

          .psc-navigation {
              list-style-type: none;
              justify-content: flex-end;
              display: flex;
              align-items: center;
              flex-wrap: wrap;
              position: relative;
              margin: 0;
              padding: 0;



              > li {
                  flex: unset;

                  + li {
                      border-left: solid 1px #eeeeee;
                  }

                  > a {
                      line-height: 1.2em;
                      white-space: nowrap;
                  }

              }

              li {
                  display: block;

                  &:hover {

                      .sub-menu {
                          max-height: 100vh;
                          padding:1em 2em;
                          border-top: solid 2px $primary_blue;
                          box-shadow: 0 2em 2em rgba(0,0,0,0.1);
                          transition: all 0.6s;
                      }


                  }

                  .sub-menu {
                      position: absolute;
                      left:0;
                      right: 0;
                      display: flex;
                      gap: 1em;
                      flex-wrap: wrap;
                      background-color: $white;
                      border-radius: 0 0 1em 1em;
                      overflow: hidden;
                  }

              }

              a {
                  padding: 0.4em 1em;
                  color:#333333;
                  text-decoration: none;
                }

              .joinunion a {
                  background-color: #528CF5;
                  color: #ffffff;
                  border-radius:0.2em;
                }

              .sub-menu {
                  position:absolute;
                  left:0;
                  right:0;
                  display: flex;
                  gap: 1em;
                  flex-wrap:wrap;
                  max-height: 0;
                  padding: 0 2em;
                  background-color: $white;
                  border-top:$primary_blue;
                  border-radius: 0 0 1em 1em;
                  box-shadow: none;
                  overflow: hidden;
                  transition: all 0.3s;

                  > li >a { 
                      font-size: 0.8em;
                      font-weight: 600 ;
                      line-height: 1.2em;
                      text-align: left;

                      :hover {
                          color: $primary_blue;
                      }
                  }
              }

          }
      }
  }*/
}

.header {
  border-bottom: none;
}

.main-container {
  position: relative;
  width: 100%;
}

.slider-section {
  margin-bottom: -5% !important;
  background: #c10016;
}

/*.hero-section {
    max-height: 550px;
    width:100% !important;
    overflow: hidden;
    background-size: cover;

    .slider-home {
        overflow: hidden;
      }
}*/
/* Make the hero a stable, responsive box */
.hero-section {
  /* Replace max-height with a responsive height so it doesn't squash */
  height: clamp(320px, 55vh, 600px);
  width: 100%;
  overflow: hidden;
}

/* Ensure inner elements fill and crop correctly */
.hero-section .slider-home,
.hero-section .slide,
.hero-section picture,
.hero-section img {
  display: grid;
  width: 100%;
  height: 100%;
}

.slider-home img, .hero-content {
  grid-area: 1/1;
}

.slider-home img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
  align-self: center;
  justify-self: start;
  padding: 8rem;
  max-width: 750px;
  color: #ffffff;
}
.hero-content h1 {
  font-size: 3em;
}
.hero-content a {
  width: -moz-fit-content;
  width: fit-content;
  display: inline-block;
  margin-top: 1rem;
  color: #ffffff;
}
.hero-content a.fdv1 {
  background-color: #d7d096;
  padding: 1em 1em;
  color: #461d7d;
}
.hero-content a.fdv2 {
  background-color: #6e4ab9;
  padding: 1em 1em;
}

/* The magic: keep the subject in view */
.hero-section img {
  -o-object-fit: cover;
     object-fit: cover;
  /* Default focal point (tweak these % for your image) */
  -o-object-position: var(--fp-x, 50%) var(--fp-y, 35%);
     object-position: var(--fp-x, 50%) var(--fp-y, 35%);
}

.section-card-overlay-above {
  position: relative;
  max-width: 1170px;
  margin-top: -4em;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  height: 530px;
  background-color: #ffffff;
  border-radius: 0.2em;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
}

.section-card-overlay-grid-above {
  position: relative;
  z-index: 10;
  max-width: 1170px;
  margin: -5% auto 0 auto;
  align-items: center;
  justify-content: space-between;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  padding-bottom: 5%;
}
.section-card-overlay-grid-above .overlay-grid-bx {
  max-width: 372px;
  max-height: 125px;
  height: 125px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3em;
  border-radius: 5px;
  align-items: center;
  display: flex;
  background: #ffffff;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
}
.section-card-overlay-grid-above figure {
  margin: 0;
  width: 115px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.section-card-overlay-grid-above figure img {
  max-width: 100%;
  border-radius: 5px 0 0 5px;
  width: 100%;
}
.section-card-overlay-grid-above .overlay-grid-bx-info {
  margin: 0 5%;
  width: 60%;
}
.section-card-overlay-grid-above .overlay-grid-bx-info h6 {
  font-size: 1.1em;
}
.section-card-overlay-grid-above .overlay-grid-bx-info .cta-align {
  padding-left: 3%;
}
.section-card-overlay-grid-above .overlay-grid-bx-info a.member-cta {
  color: #1f356f;
  font-size: 0.9em;
}
.section-card-overlay-grid-above .overlay-grid-bx-info a.member-cta:after {
  content: url(../img/right-arrow.png);
  display: inline-block;
  position: relative;
  left: 8%;
  transition: all 0.2s linear;
}

/* Section News Home Page */
.news {
  position: relative;
}

.latest-news-bg {
  /* background: url('../img/slider-test.png');
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center center;*/
  padding-top: 0;
  padding-bottom: 3em;
}
.latest-news-bg:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /*background-color: rgba(191,0,22,0.99);*/
  background-color: rgba(31, 53, 111, 0.99);
}

.latest-news-bg-inverse {
  padding: 0;
  padding-bottom: 3em;
}
.latest-news-bg-inverse .latest-news-section {
  margin-top: 0em !important;
}
.latest-news-bg-inverse:before {
  content: "";
  inset: 0;
  z-index: 0;
  background-color: #f8f8f8;
}
.latest-news-bg-inverse .section-heading {
  position: relative;
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
  color: #1f356f;
}
.latest-news-bg-inverse .section-sub {
  position: relative;
  text-align: center;
  color: #333333;
}
.latest-news-bg-inverse .section-sub p {
  padding-bottom: 1em;
}

.latest-news-section {
  position: relative;
  max-width: 1170px;
  margin-top: 4em;
  margin-left: auto;
  margin-right: auto;
  /*min-height: 650px;*/
  display: block;
  width: 100%;
  padding-top: 2em;
  padding-left: 1em;
  padding-right: 1em;
}

.section-heading {
  position: relative;
  padding-top: 1em;
  padding-bottom: 1em;
  text-align: center;
  color: #ffffff;
}

.section-sub {
  position: relative;
  text-align: center;
  color: #ffffff;
}
.section-sub p {
  padding-bottom: 1em;
}

.leadership .psc-cb-card .dynamichead a {
  padding: 0 0 0%;
}
.leadership .psc-cb-card .dynamicbody .psc-cb-dynamic-titlebar h5 {
  margin-bottom: 0.2em;
}
.leadership .psc-cb-card .dynamicbody .psc-cb-dynamic-titlebar h6 {
  font-size: 1.1em;
  font-weight: 400;
  color: #1f356f;
}

img.leadership-img {
  float: left;
  max-width: 220px;
  width: 40%;
  height: auto;
  max-height: 350px;
  margin: 0 1em 1em 0;
}

.leadership-content::after {
  content: "";
  display: block;
  clear: both;
}

.leadership-menu-section {
  margin: 0 1em 1em 0;
}
.leadership-menu-section .leadership-menu-heading {
  font-weight: 600;
  color: #1f356f;
}

/* Latest News Home Page */
.psc-cb-magazine-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
  gap: 2em;
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
}

.psc-cb-magazine-list .psc-cb-card {
  display: block;
  background-color: #f4f4f4;
  border-radius: 0.25em;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.3);
  min-width: 18em;
}

.psc-cb-dynamic-image > a {
  display: block;
  /*padding: 0 0 50%;*/
  padding: 0 0 0.5em;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0.25em 0.25em 0 0;
}

.psc-cb-dynamic-image a img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.dynamicbody {
  position: relative;
  display: block;
  height: 12em;
  padding: 1em;
  overflow: hidden;
}

.dynamicbody::after {
  content: "";
  position: absolute;
  inset: 0;
  top: auto;
  display: block;
  height: 6em;
  background: linear-gradient(to top, #f4f4f4, transparent);
}

.dynamicfoot {
  display: block;
  padding: 1em;
  text-align: right;
  margin: 0 1em 1em 0.5em;
}

.dfcenter {
  text-align: center;
}

.dynamicfoot .psc-cb-button {
  display: inline-block;
  padding: 1em 1.2em;
  background-color: #1f356f;
  color: #ffffff;
  border: none;
  border-radius: 0.25em;
  font-size: 0.7em;
  font-weight: 400;
  line-height: 0.7em;
  box-shadow: var(--button-shadow);
  text-decoration: none;
}

.psc-cb-dynamic-titlebar {
  padding: 0.5em 0.5em 0 0.5em;
}
.psc-cb-dynamic-titlebar h5 {
  display: block;
  color: #1f356f;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.3em;
}
.psc-cb-dynamic-titlebar h5 a {
  color: #1f356f;
  text-decoration: none;
}
.psc-cb-dynamic-titlebar .date-bar {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.25em;
  color: #1f356f;
  font-size: 0.8em;
}
.psc-cb-dynamic-titlebar .cat {
  display: flex;
  font-size: 0.6em;
  margin: 1em 0 1.6em 0em;
  flex-wrap: wrap;
}
.psc-cb-dynamic-titlebar .cat a, .psc-cb-dynamic-titlebar .cat .search-result-type {
  text-decoration: none;
  color: #ffffff;
  background-color: #1f356f;
  border-radius: 1.6em;
  border: 0;
  padding: 0.9em 0.8em 0.8em 0.8em;
  margin: 0.5em 0 0 0;
}

.psc-cb-dynamic-description {
  display: block;
  margin-bottom: 2em;
  font-size: 0.9em;
  font-weight: 300;
  line-height: 1.7em;
  padding: 0 0.5em 0 0.5em;
}

.red-tape .psc-cb-card .dynamicbody {
  position: relative;
  display: block;
  height: 5em !important;
  padding: 1em;
  overflow: hidden;
}

.membership-cards .psc-cb-card .dynamicbody {
  position: relative;
  display: block;
  height: 5em !important;
  padding: 1em;
  overflow: hidden;
}

.red-tape .dynamicbody::after {
  height: 0 !important;
}

.membership-cards .dynamicbody::after {
  height: 0 !important;
}

/* Section Campaigns Home Page */
section.campaigns {
  width: 100%;
}

.latest-campaigns-bg {
  background-color: #f8f8f8;
  margin-top: 0;
}

.latest-campaigns-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #f8f8f8;
}

.latest-campaigns-section {
  position: relative;
  max-width: 1170px;
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  min-height: 650px;
  padding-top: 3em;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 6em;
}

.secondary-section-heading {
  color: #1f356f;
}

.secondary-sub {
  color: #000000;
}

.psc-cb-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 0.25em;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
  overflow: hidden;
}

.psc-cb-card {
  gap: 0;
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 80em;
  transform-style: preserve-3d;
}

.psc-cb-card a {
  text-decoration: none;
}

.psc-cb-card-image {
  flex-basis: 50%;
  display: block;
  max-height: 350px;
}

.psc-cb-card-image img {
  display: block;
  width: 100%;
}

.psc-cb-card > * {
  display: block;
  padding: 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.psc-cb-card-detailcol {
  position: relative;
  flex-basis: 50%;
  height: auto;
  position: relative;
  display: block;
  text-align: left;
}

.psc-cb-card:nth-child(2n+1) .psc-cb-card-detailcol {
  text-align: left;
}

.psc-cb-card-content {
  padding: 1em 3em;
  display: block;
}

.psc-cb-card-heading {
  display: block;
  margin-bottom: 1.3em;
  color: #1f356f;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.3em;
}

.psc-cb-card-description {
  display: block;
  margin-bottom: 2em;
  height: auto;
  font-weight: 300;
  line-height: 1.7em;
}

.psc-cb-card-action {
  text-align: left;
  display: block;
  margin-bottom: 2em;
}

.psc-cb-button {
  display: inline-block;
  padding: 1em 1.2em;
  background-color: #1f356f;
  color: #ffffff;
  border-radius: 0.25em;
  font-size: 0.7em;
  font-weight: 400;
  line-height: 0.7em;
  box-shadow: none;
  text-decoration: none;
  text-transform: uppercase;
}

.psc-cb-button-outline {
  display: inline-block;
  background-color: transparent;
  color: #1f356f;
  border: 2px solid #1f356f;
  padding: 1em 1.2em;
  border-radius: 0.25em;
  font-size: 0.7em;
  box-shadow: none;
  text-decoration: none;
  text-transform: uppercase;
}

/* Section Joining Bar */
.joining-bar {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: #c10016;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.3);
}

.joining-bg {
  width: 100%;
  color: #ffffff;
  z-index: 100;
}

.joining-section {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.singlebar-join {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  padding: 1em 0;
}

.singlebar-join h2 {
  font-size: 1.5em;
  margin-bottom: 0;
  color: #ffffff !important;
}

.singlebar-join .psc-cb-button {
  background-color: #ffffff;
  color: #c10016;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  padding: 0.5em;
  line-height: 1.5em;
}

/* Footer */
#ft {
  width: 100%;
}
#ft hr {
  border: 1px solid #ffffff;
  width: 100%;
}

.footer-top {
  position: relative;
  padding: 4em 0;
  background-color: #1f356f;
  background-attachment: fixed;
  background-size: cover;
  color: #ffffff;
  text-align: left;
}

.footer-container-top {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

#ft .colthirds {
  gap: 3em;
}

#ft .colthirds h5 {
  padding-bottom: 1em;
  border-bottom: solid 1px rgba(255, 255, 255, 0.3);
  font-size: 1.5em;
  text-align: left;
}

#ft .ft-logo {
  max-width: 12em;
}

#ft h5 {
  margin-bottom: 1em;
}

.colthirds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer-top .psc-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5em;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-top .psc-navigation a {
  display: block;
  color: #fafafa;
  font-size: 0.8em;
  line-height: 1.2em;
  text-decoration: none;
}

.footer-menu ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  list-style: none;
  padding: 0em 1em 1.1em 0em !important;
}
.footer-menu ul li {
  color: #ffffff;
  margin-top: 0.5em;
}
.footer-menu ul a {
  text-decoration: none;
  color: #ffffff;
}

.ft-navigation {
  text-align: center;
}

.foot-nav ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-nav ul li {
  display: flex;
  align-items: center;
  gap: 1.5em;
  margin-bottom: 1.5em;
}

.foot-nav li p {
  margin-top: -0.25em;
  font-size: 0.8em;
  line-height: 1.4em;
  text-align: left;
}

.foot-nav li a {
  display: flex;
  align-items: center;
  gap: 1.5em;
  color: #fafafa;
  font-size: 0.8em;
  line-height: 1.2em;
  text-decoration: none;
}

/* Bottom Footer */
.footer-bottom {
  position: relative;
  padding: 2em 0 2em 0;
  background-color: #082744;
  background-attachment: fixed;
  background-size: cover;
  color: #ffffff;
  text-align: left;
}

.footer-container-bottom {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.acknowledgment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4em;
  padding: 2em 0;
}

.section-sub-acknowledgement, .vision-imparement, .section-sub-authorised {
  font-size: 0.8em;
}

.section-sub-authorised {
  position: relative;
  padding-top: 2em;
  text-align: center;
  color: #ffffff;
  font-size: 0.8em;
}

.vision-imparement {
  font-size: 0.8em;
}

.negativeprimary .psc-cb-button {
  background-color: #ffffff;
  color: #1f356f;
  border: 1px solid #ffffff;
  text-transform: uppercase;
}

/* Join Pages */
.section-header-join-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: url("/img/news-pad-3.png");
}

.section-header {
  height: 8em;
  box-shadow: inset 0 -0.5rm 1em rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.inner-banner {
  position: relative;
  z-index: 10;
  display: grid;
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1em;
  padding-right: 1em;
}

.inner-banner .section-heading {
  text-align: center;
  justify-self: center;
  display: block;
  color: #ffffff;
  padding-top: 0 !important;
  text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.3);
}

.application-bg, .campaign-bg, .container-bg {
  width: 100%;
  background-color: #fafafa;
  padding: 2em 0 2em 0;
}

.application-area, .campaign-area, .container-area {
  width: 100%;
  /* max-width: 1170px;*/
  margin-left: auto;
  margin-right: auto;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 1em;
  padding-bottom: 1em;
  background-color: #ffffff;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
  border-radius: 0.25em;
}
.application-area h2, .campaign-area h2, .container-area h2 {
  color: #1f356f;
}
.application-area h3, .campaign-area h3, .container-area h3 {
  color: #1f356f;
}
.application-area h4, .campaign-area h4, .container-area h4 {
  color: #1f356f;
}
.application-area .campaign-featured-image, .campaign-area .campaign-featured-image, .container-area .campaign-featured-image {
  margin-bottom: 0.7em;
}
.application-area .campaign-featured-image .img-fluid, .campaign-area .campaign-featured-image .img-fluid, .container-area .campaign-featured-image .img-fluid {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.application-description {
  display: block;
  position: relative;
  margin-left: 2.5em;
  margin-top: 3em;
  line-height: 1.25rem;
}
.application-description .secondary-section-heading {
  text-align: left;
}

.joinforminitial {
  display: block;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  padding: 3em 0 3em 0;
}

.joinform .joinfreetext {
  width: 100%;
  margin: 0 5px 5px 0;
  font-size: 14px;
  line-height: 1.6em;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  border: none;
  border-radius: 0.25em;
  background-color: #efefef;
  color: #222222;
}

input {
  padding: 5px 10px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.PanelField {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

input.psc-cb-button {
  border: none;
  display: inline-block;
  padding: 1.5em 1.5em;
}

/* Members Portal Area */
.member-details {
  width: 80%;
}

.member-details h5 {
  margin-top: 0.5em;
  color: #1f356f;
}

.member-details .member-info {
  position: relative;
  margin: 1em 0 0 0;
  padding: 0;
}

.member-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.member-details ul {
  list-style: none;
}

.member-info li {
  line-height: 1.2em;
  white-space: nowrap;
  padding: 0.5em 1em;
  color: #595959;
  font-size: 0.9em;
}

.member-info label {
  font-weight: 600;
  font-size: 0.8em;
  padding-right: 1em;
}

.member-dashboard {
  max-width: 1170px;
  margin-right: 2.5em;
}

.psc-cb-features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18em, 1fr));
  gap: 2em;
  perspective: 80em;
  transform: preserve-3d;
}

.psc-cb-features-card {
  display: block;
  background-color: #fafafa;
  border-radius: 0.25em;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
  text-align: center;
}

.psc-cb-features-card .psc-cb-features-card-image {
  display: block;
}

.psc-cb-features-card-image .icon-image {
  display: block;
  padding: 1em 1em 0;
}

.psc-cb-features-card .psc-cb-features-card-image i {
  color: #1f356f;
}

.psc-cb-features-card .psc-cb-features-card-image .fa {
  font-size: 2.5em;
}

.psc-cb-features-card-details {
  position: relative;
  display: block;
  height: auto;
  padding: 1em;
}

.psc-cb-features-cards .psc-cb-features-card .psc-cb-features-card-title {
  margin-bottom: 0.5em;
  display: block;
  color: #c10016;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.3em;
}

.psc-cb-features-card-action {
  display: block;
  margin-bottom: 2em;
}

.membership-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(12em, 1fr));
  gap: 2em;
}

.membership-info-cards {
  display: block;
  background-color: #f4f4f4;
  border-radius: 0.25em;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.2);
  margin-bottom: 2em;
}

.membership-info-card-details {
  position: relative;
  display: block;
  height: auto;
  padding: 1em;
}

.membership-info-card-title {
  color: #1f356f;
  margin-bottom: 1.5em;
}

.membership-info-card-price {
  color: #5f5f5f;
  margin-bottom: 1.5em;
}

.membership-action {
  display: block;
  position: relative;
  width: 100%;
}

.membership-action {
  margin-bottom: 1em;
  margin-top: 1em;
}

.membership-action .psc-cb-button {
  position: relative;
  background-color: transparent;
  color: #1f356f;
  border: 1px solid #1f356f;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Campaign Section and Pages */
img.cmp-img {
  max-width: 100%;
  /*width:100%;*/
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*Index Area Images */
.container-img {
  /*max-width:100%;*/
  width: 100%;
  max-height: 350px;
  margin-bottom: 1em;
}

.recent-news a {
  display: block;
  color: #1f356f;
}
.recent-news span {
  display: block;
  color: #c10016;
  margin-bottom: 1em;
}

.widget-title {
  color: #1f356f;
  font-weight: 600;
}

/* Your Workplace Categories*/
.your-workplace .latest-news-bg-inverse {
  padding-bottom: 1em;
}

.your-workplace-cat {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16em, 1fr));
  gap: 2em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.your-workplace-cat .psc-cb-card {
  display: block;
  background-color: #f4f4f4;
  border-radius: 0.25em;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.3);
  min-width: 16em;
}
.your-workplace-cat .dynamic-image {
  max-width: 100%;
}
.your-workplace-cat .psc-cb-dynamic-image > a {
  display: block;
  padding: 0 0 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0.25em 0.25em 0 0;
}
.your-workplace-cat .dynamicbody {
  position: relative;
  display: block;
  height: 7em;
  padding: 1em;
  overflow: hidden;
}
.your-workplace-cat .dynamicbody::after {
  content: "";
  position: absolute;
  inset: 0;
  top: auto;
  display: block;
  height: 0em;
  background: linear-gradient(to top, #f4f4f4, transparent);
}
.your-workplace-cat .dynamicfoot {
  display: block;
  padding: 1em;
  /*text-align: right;*/
  margin: 0 1em 1em 0.5em;
}
.your-workplace-cat .dynamicfoot .psc-cb-button {
  display: inline-block;
  padding: 1em 1.2em;
  background-color: #1f356f;
  color: #ffffff;
  border: none;
  border-radius: 0.25em;
  font-size: 0.7em;
  font-weight: 400;
  line-height: 0.7em;
  box-shadow: var(--button-shadow);
  text-decoration: none;
}
.your-workplace-cat .psc-cb-dynamic-titlebar {
  padding: 0.5em 0.5em 0 0.5em;
}
.your-workplace-cat .psc-cb-dynamic-titlebar h5 {
  display: block;
  margin-bottom: 1.3em;
  color: #1f356f;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.3em;
}
.your-workplace-cat .psc-cb-dynamic-titlebar h6 {
  display: block;
  color: #1f356f;
  font-size: 0.9em;
  line-height: 1.3em;
  margin-top: -1.3em;
}
.your-workplace-cat .psc-cb-dynamic-titlebar a {
  text-decoration: none;
}
.your-workplace-cat .psc-cb-dynamic-description {
  display: block;
  margin-bottom: 2em;
  font-size: 0.9em;
  font-weight: 300;
  line-height: 1.7em;
  padding: 0 0.5em 0 0.5em;
}

/* Training Session Table */
.training-session-table td {
  padding: 0.5em 0;
}

/*   Training Session Form */
table.training-sessions-table th {
  padding-bottom: 0.5em;
}
table.training-sessions-table tbody tr:first-child td {
  padding-top: 0.5em;
}
table.training-sessions-table td {
  padding-bottom: 1em;
}

/* Training Session Cards, using latest-news parameters */
.training-list {
  grid-template-columns: repeat(auto-fill, minmax(19em, 1fr));
}

/* Training sessions: mobile card polish */
.training-session-card .badge {
  white-space: nowrap;
}

.training-session-card h3 {
  line-height: 1.25;
}

.training-session-card ul {
  margin: 0;
}

.training-session-card .register-btn {
  /* If your .psc-cb-button has heavy padding already, you can remove this */
  font-weight: 600;
}

/* Optional: slightly tighten desktop table on md/lg to avoid wrapping */
@media (min-width: 768px) {
  .training-session-table td,
  .training-session-table th {
    white-space: nowrap;
  }
  .training-session-table td:nth-child(1) {
    white-space: normal; /* allow Course name to wrap */
  }
}
/*.gform_wrapper .gchoice {


    input[type="checkbox"] {

        margin-right: 10px;
        margin-top: 3px;
    }





        label {
        display: flex;
        flex-wrap: wrap;
        flex: 1;
        gap: 1rem;

            span {
                display: inline-block;
                width: 30%;
                min-width: 100px;
                white-space: nowrap;
            }

            .session-date {
                width: 15%;
            }

            .session-title {
                width: 40%;
            }

            .session-location {
                width: 25%;
            }
        }



}*/
/* Filter Buttons */
.resource-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
  margin-top: 1.5em;
}
.resource-filter-buttons a.is-active {
  background-color: #c10016;
  color: #ffffff;
  border: #c10016;
}

/* Active state for filter tiles */
.resource-filter-button .psc-cb-card.is-active {
  outline: 2px solid #1f365f;
  outline-offset: 2px;
  border-radius: 10px;
}

.resource-filter-button .psc-cb-card {
  cursor: pointer;
}

.resource-filter-button .psc-cb-card:focus {
  outline: 2px solid #94a3b8;
  outline-offset: 2px;
  border-radius: 10px;
}

.filter-button {
  color: #1f356f;
  font-size: 1em;
  font-weight: 600;
  padding: 1em 1.2em;
  border: 1px #1f356f solid;
  border-radius: 0.25em;
  line-height: 0.7em;
  text-decoration: none;
  text-transform: uppercase;
  background-color: #ffffff;
  margin-bottom: 0.5em;
}
.filter-button:active {
  background-color: #c10016;
  color: #ffffff;
}
.filter-button:hover {
  background-color: #1f356f;
  color: #ffffff;
}

/* Sort bar (mobile) */
.resource-sort-controls {
  display: flex;
  gap: 0.5rem;
  margin: 0.25rem 0 1rem;
}

/* Sort indicators (desktop header) */
.resource-sort {
  text-decoration: none;
  color: #333333;
}

.resource-sort .sort-indicator {
  display: inline-block;
  width: 0.6em;
  margin-left: 0.35rem;
  opacity: 0.35;
}

.resource-sort .sort-indicator.active {
  opacity: 1;
}

.resource-sort .sort-indicator.asc::after {
  content: "▲";
  color: #333333;
}

.resource-sort .sort-indicator.desc::after {
  content: "▼";
  color: #333333;
}

/* Keep previous desktop/table vs mobile/card behaviour */
.resource-row {
  display: flex;
}

.resource-table-header {
  display: flex;
}

.resource-card {
  display: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.75rem 0;
}

.resource-card .resource-item {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-card-meta .chip {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #f4f4f4;
  color: #1f356f;
}

.resource-card-meta .year {
  margin-left: auto;
  font-size: 0.85rem;
  color: #666;
}

#resource-results.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .resource-table-header, .resource-row {
    display: none !important;
  }
  .resource-card {
    display: block;
  }
}
#resource-results {
  margin-top: 1.5em;
}
#resource-results .award, #resource-results .agreement, #resource-results .determination, #resource-results .forms {
  display: inline-block;
  border: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  white-space: nowrap;
}
#resource-results .award {
  background-color: #1f356f;
  color: #ffffff;
}
#resource-results .agreement {
  background-color: #c10016;
  color: #ffffff;
}
#resource-results .determination {
  background-color: #528CF5;
  color: #ffffff;
}
#resource-results .forms {
  background-color: #000000;
  color: #ffffff;
}

.resources {
  padding-top: 2.5em;
}

.resource-cat li .dynamicbody .psc-cb-dynamic-titlebar h2 {
  font-size: 1em;
  font-weight: 600;
}

.resource-trigger {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14em, 1fr));
  gap: 2em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.resource-trigger .psc-cb-card {
  min-width: 14em;
  background-color: #ffffff;
}
.resource-trigger .psc-cb-card .dynamicbody {
  height: 3em;
}
.resource-trigger .psc-cb-card .dynamicbody::after {
  height: 0em;
}
.resource-trigger .psc-cb-card .dynamicbody .psc-cb-dynamic-titlebar {
  text-align: center;
  padding: 0.5em;
}

.resource-item {
  color: #1f356f;
  font-weight: 500;
}

.resource-img {
  max-width: 100%;
}

/* PSA Resources — container */
.psa-resources {
  margin-top: 1rem;
}

/* Responsive grid */
.psa-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

/* Card */
.psa-resource-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

/* Card body */
.psa-card-body {
  padding: 1rem 1rem 0.5rem 1rem;
}

.psa-card-title {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 0.25rem 0;
}

.psa-card-title a {
  color: #1f365f; /* brand navy */
  text-decoration: none;
}

.psa-card-title a:hover {
  text-decoration: underline;
}

.psa-card-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.psa-card-excerpt {
  margin: 0 0 0.5rem 0;
  color: #111827;
  font-size: 0.95rem;
}

/* Actions row */
.psa-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem 1rem;
  margin-top: auto; /* push actions to bottom */
}

/* Buttons */
.psa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.02s ease;
  touch-action: manipulation;
}

.psa-btn:active {
  transform: translateY(1px);
}

.psa-btn-primary {
  background: #c10016; /* PSA red */
  color: #fff;
  border-color: #c10016;
}

.psa-btn-primary:hover {
  background: #a70013;
  border-color: #a70013;
}

.psa-btn-outline {
  background: #fff;
  color: #1f365f;
  border-color: #d1d5db;
}

.psa-btn-outline:hover {
  border-color: #9ca3af;
}

/* Pagination */
.psa-pagination {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.psa-pagination ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.psa-pagination li a,
.psa-pagination li span {
  display: inline-flex;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1f365f;
  background: #fff;
}

.psa-pagination li span.current {
  background: #1f365f;
  color: #fff;
  border-color: #1f365f;
}

.psa-pagination li a:hover {
  border-color: #9ca3af;
}

/* Resources – responsive row→card behaviour */
.resource-row {
  display: flex;
}

.resource-table-header {
  display: flex;
}

.resource-card {
  display: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 0.75rem 0;
}

.resource-card .resource-item {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.resource-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-card-meta .chip {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #f4f4f4;
  color: #1f356f;
}
.resource-card-meta .Award {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.resource-card-meta .Agreement {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}
.resource-card-meta .Determination {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.resources-pagination {
  margin-top: 1em;
}

.resource-card-meta .year {
  margin-left: auto;
  font-size: 0.85rem;
  color: #666;
}

/* Loading state */
#resource-results.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Show cards only under md, keep desktop table exactly as before */
@media (max-width: 767.98px) {
  .resource-table-header,
  .resource-row {
    display: none !important;
  }
  .resource-card {
    display: block;
  }
}
/* Mobile niceties */
@media (max-width: 640px) {
  .psa-card-body {
    padding: 0.9rem 0.9rem 0.4rem 0.9rem;
  }
  .psa-card-actions {
    padding: 0.6rem 0.9rem 0.9rem 0.9rem;
  }
  .psa-card-title {
    font-size: 1rem;
  }
  .psa-card-excerpt {
    font-size: 0.93rem;
  }
}
/* Meeting Pages */
.meeting-details {
  margin: 0 0 0 -8px;
}
.meeting-details td {
  border-style: none;
}

/*GForm Button Override */
input.gform_button {
  background-color: #c10016;
}

/* Menu - Off Canvas */
.offcanvas {
  background-color: #1f356f;
}
.offcanvas a {
  color: #ffffff;
  text-decoration: none;
}

.offcanvas-header {
  background-color: #ffffff;
  padding: 3rem 1rem 1rem 1rem;
}

/* New Style Off Canvas */
/* OFFCANVAS: turn submenus into stacked accordions */
.offcanvas .offcanvas-mainnav { /* your WP menu: navbar-nav offcanvas_mainnav */
  width: 100%;
}

/* -----------------------------------
   Offcanvas accordion menu styles
   ----------------------------------- */
.offcanvas .offcanvas-mainnav .sub-menu {
  position: static; /* not absolute like desktop */
  display: block;
  background: #ffffff;
  border: 0;
  box-shadow: none;
  padding: 0 1rem 0 1rem; /* indent child items */
  margin: 0;
  list-style: none;
  max-height: 0; /* collapsed by default */
  overflow: hidden;
  transition: max-height 0.25s ease;
}

/* Open state (JS toggles .is-open on the <li>) */
.offcanvas .offcanvas-mainnav .menu-item.is-open > .sub-menu {
  max-height: 1000px; /* sufficiently large to fit submenu */
}

/* Parent rows flex so caret sits right */
.offcanvas .offcanvas-mainnav .menu-item-has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 0.25rem;
}

/* Toggle button injected by JS */
.offcanvas .offcanvas-mainnav .submenu-toggle {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: none;
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.offcanvas .offcanvas-mainnav .submenu-toggle::after {
  content: "▾"; /* caret */
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1;
}

.offcanvas .offcanvas-mainnav .menu-item.is-open > a .submenu-toggle::after {
  transform: rotate(180deg);
}

.offcanvas .offcanvas-mainnav .sub-menu .submenu-toggle::after {
  color: #1f356f;
}

/* Colours (adjust to your theme) */
.offcanvas {
  background-color: #1f356f;
}

.offcanvas .offcanvas-mainnav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 0.25rem;
  border-bottom: 1px dashed;
}

.offcanvas .offcanvas-mainnav .sub-menu a {
  opacity: 0.95;
  color: #1f356f;
  font-weight: 600;
}

.offcanvas .offcanvas-mainnav .sub-menu a:last-child {
  border-bottom: none;
}

/* Danger */
.fdv-danger {
  background: #e3e3e3;
}
.fdv-danger .singlebar-danger .danger {
  color: #111827 !important;
}
.fdv-danger .singlebar-danger .danger span {
  color: #c10016;
}

.dv-info-links h4 {
  color: #6022a6;
}

/* History */
.history-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
}

.history-table th, .history-table td {
  border-bottom: 1px solid #ddd;
  padding: 0.6rem 0.5rem;
  vertical-align: top;
}

/*.history-period + .history-period { 
    margin-top: 2rem; }*/
.history-period h2 {
  margin: 0.75rem 0;
}

@media (max-width: 640px) {
  .history-table thead {
    display: none;
  }
  .history-table tr {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }
  .history-table td {
    display: block;
    padding: 0.25rem 0;
  }
  .history-table td:last-child {
    text-align: left !important;
  }
}
.history-filter-list {
  display: block;
  list-style: none;
  padding: 0em 1em 0.5em 0em;
}
.history-filter-list a {
  display: block;
  padding: 0.5em 0em;
  text-decoration: none;
}

/* Membership */
.membership-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(23em, 1fr));
  gap: 2em;
  margin: 0 0 1em 0;
  padding: 0;
  list-style: none;
}

.membership-section-sub {
  position: relative;
  text-align: left;
  color: #1f356f;
}
.membership-section-sub h2 {
  font-size: 1.5em;
  line-height: 1.4;
}
.membership-section-sub strong {
  font-size: 1.2em;
}

.membership-section-content h3 {
  font-size: 1.2em;
}

.membership-cards {
  margin: 1em 0 1em 0;
}

/***
**** At Work - Workplace employer triggers
 */
.employer-tiles-columns ul.employer-col {
  display: flex;
  flex-direction: column;
}

.employer-tiles-columns ul.employer-col > li.psc-cb-card {
  width: 100%;
  margin-top: -0.8em;
}
.employer-tiles-columns ul.employer-col > li.psc-cb-card:first-child {
  margin-top: 0;
}

.employer-trigger {
  padding: 0 1em 0 1em;
}
.employer-trigger li.is-active {
  background-color: #1f356f;
  color: #ffffff;
}

.employer-trigger li .dynamicbody {
  height: auto !important;
  padding: 1em 0.5em;
}
.employer-trigger li .dynamicbody .psc-cb-dynamic-titlebar {
  padding: 0 !important;
}

.employer-trigger li h6 {
  margin-bottom: 0 !important;
  font-size: 0.9em;
}

#employer-resource-section {
  scroll-margin-top: 0px;
}

/* CTA's */
.cta-join {
  background-color: #c10016;
  width: 280px;
  padding: 1em 1em;
  border-radius: 0.2em;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

/* Container-Membership-Nav */
.container-membership-nav {
  margin-bottom: 0.5em;
}
.container-membership-nav h4 {
  color: #1f356f;
  font-weight: 600;
}

#menu-membership-info {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  flex-wrap: wrap;
}
#menu-membership-info li {
  display: block;
  padding: 0.5em 0;
}
#menu-membership-info > li {
  flex: unset;
}
#menu-membership-info a {
  color: #1f356f;
  text-decoration: none;
  font-weight: 600;
  padding: 0.4em 1em;
}
#menu-membership-info a:hover {
  color: #528CF5;
  text-decoration: underline;
}

.right-column-menu #menu-membership-info {
  display: block;
}
.right-column-menu #menu-membership-info li {
  padding: 0 0;
}
.right-column-menu #menu-membership-info a {
  padding: 0.5em 0em;
}

.right-column-menu-area:first-child {
  margin-bottom: 1em;
}

.right-column-menu ul,
.right-column-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.right-column-menu a {
  display: block;
  padding: 0.5em 0;
  color: #1f356f;
  text-decoration: none;
  font-weight: 600;
}
.right-column-menu a:hover {
  color: #528CF5;
  text-decoration: underline;
}

/* Submenu: collapsed by default */
.right-column-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

/* Open current branch */
.right-column-menu li.current-menu-ancestor > .sub-menu,
.right-column-menu li.current-menu-parent > .sub-menu,
.right-column-menu li.current-menu-item > .sub-menu,
.right-column-menu li.current_page_ancestor > .sub-menu,
.right-column-menu li.current_page_parent > .sub-menu,
.right-column-menu li.current_page_item > .sub-menu {
  max-height: 1000px;
}

/* Also open deeper submenus inside the current branch */
.right-column-menu li.current-menu-ancestor .sub-menu .sub-menu,
.right-column-menu li.current-menu-parent .sub-menu .sub-menu,
.right-column-menu li.current-menu-item .sub-menu .sub-menu,
.right-column-menu li.current_page_ancestor .sub-menu .sub-menu,
.right-column-menu li.current_page_parent .sub-menu .sub-menu,
.right-column-menu li.current_page_item .sub-menu .sub-menu {
  max-height: 1000px;
}

/* Second level */
.right-column-menu > ul > li > .sub-menu > li > a {
  padding-left: 24px;
}

/* Third level */
.right-column-menu > ul > li > .sub-menu > li > .sub-menu > li > a {
  padding-left: 48px;
}

/* Fourth level if ever needed */
.right-column-menu > ul > li > .sub-menu > li > .sub-menu > li > .sub-menu > li > a {
  padding-left: 72px;
}

/* Add arrow only to items with children */
.right-column-menu li.menu-item-has-children > a {
  position: relative;
  padding-right: 28px;
}

/* Arrow */
.right-column-menu li.menu-item-has-children > a::after {
  content: "▸";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 200ms ease;
}

/* Rotate arrow when open */
.right-column-menu li.current-menu-ancestor.menu-item-has-children > a::after,
.right-column-menu li.current-menu-parent.menu-item-has-children > a::after,
.right-column-menu li.current-menu-item.menu-item-has-children > a::after {
  transform: translateY(-50%) rotate(90deg);
}

ul#menu-women-menu li a .dynamichead .psc-cb-dynamic-image img {
  max-height: 98px;
}

ul#menu-women-menu li a .dynamicbody {
  padding: 0;
  height: 4em;
}
ul#menu-women-menu li a .dynamicbody .psc-cb-dynamic-titlebar {
  padding: 0.5em 0.5em 0.5em;
}

.container-member-benefit {
  margin-bottom: 1em;
}

.featured-member-benefits .member-benefits li .psc-cb-dynamic-image > a {
  padding: 0 0 60%;
}

/* Privatisation Table */
.privatisation_table {
  border-spacing: 1px;
  border: 1px solid black;
}
.privatisation_table td {
  border: 1px solid black;
  vertical-align: top;
  padding: 0.5em;
}

/** Conference **/
.conference-page .psc-cb-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20em;
}

.conference-assets__list {
  list-style: none;
}

#conference-active-section {
  scroll-margin-top: 180px;
}

.related-conferences-bg {
  background-color: #ffffff;
}

.related-conferences {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.related-conference-list {
  grid-template-columns: repeat(auto-fill, minmax(19em, 1fr));
}

/** Delegate Area Listing **/
.delegate-roster__group {
  padding-bottom: 2.5em;
}

/**

Schools Recognition Week Digital Campaign **/
/* SRW Hub base */
.srw-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.srw-section {
  padding: 48px 0;
}

.srw-h2 {
  font-size: 28px;
  margin: 0 0 14px;
}

.srw-h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.srw-intro {
  margin: 0 0 22px;
  max-width: 70ch;
}

.srw-hero {
  padding: 64px 0 42px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.srw-hero-split {
  padding: 56px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.srw-hero-split__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.srw-hero-split__media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.srw-kicker {
  margin: 0 0 10px;
  font-weight: 700;
  color: #c10016;
  letter-spacing: 0.02em;
}

.srw-title {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.srw-lead {
  font-size: 18px;
  max-width: 75ch;
  margin: 0 0 18px;
}

.srw-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.85;
  margin-top: 14px;
}

.srw-grid {
  display: grid;
  gap: 18px;
}

.srw-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.srw-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.srw-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.srw-card-action {
  border-left: 6px solid #c10016;
}

.srw-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.srw-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  border: 2px solid transparent;
}

.srw-btn-primary {
  background: #c10016;
  color: #fff;
}

.srw-btn-secondary {
  background: #fff;
  color: #c10016;
  border-color: #c10016;
}

.srw-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.srw-link {
  font-weight: 700;
  color: #c10016;
  text-decoration: none;
}

.srw-placeholder {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  opacity: 0.8;
}

.srw-footer-cta {
  padding: 48px 0;
  background: #f7f7f7;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.srw-authorised {
  margin-top: 18px;
  font-size: 12px;
  text-align: center;
  opacity: 0.75;
}

/* Previous years hybrid cards */
.srw-previous-years .srw-year-card {
  padding: 0; /* dynamic structure controls internal spacing */
  overflow: hidden; /* ensures rounded corners clip the image */
  display: flex;
  flex-direction: column;
}

/* Image area */
.srw-previous-years .srw-year-card .dynamichead {
  margin: 0;
}

.srw-previous-years .srw-year-card .psc-cb-dynamic-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body */
.srw-previous-years .srw-year-card .dynamicbody {
  padding: 16px 18px;
  flex: 1;
  width: 100%; /* pushes footer down for equal-height cards */
}

.srw-previous-years .srw-year-card .psc-cb-dynamic-titlebar h5 {
  margin: 0 0 10px;
  font-size: 18px; /* aligns to SRW card heading scale */
  line-height: 1.2;
}

.srw-previous-years .srw-year-card .psc-cb-dynamic-titlebar a {
  color: inherit;
  text-decoration: none;
}

.srw-previous-years .srw-year-card .psc-cb-dynamic-description p {
  margin: 0;
  opacity: 0.9;
}

/* Footer / button */
.srw-previous-years .srw-year-card .dynamicfoot {
  padding: 0 18px 18px;
}

.srw-previous-years .srw-year-card .dynamicfoot .srw-btn {
  width: 100%;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .srw-grid-3 {
    grid-template-columns: 1fr;
  }
  .srw-grid-2 {
    grid-template-columns: 1fr;
  }
  .srw-title {
    font-size: 32px;
  }
  .srw-hero-split__inner {
    grid-template-columns: 1fr;
  }
}
.leadership-governing-body-table-wrap {
  margin-top: 30px;
}

.leadership-governing-body-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.leadership-governing-body-table th,
.leadership-governing-body-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #d9d9d9;
  vertical-align: top;
}

.leadership-governing-body-table th {
  background: #14365f;
  color: #fff;
  font-weight: 700;
}

.leadership-governing-body-table td a {
  color: #c10016;
  text-decoration: none;
}

.leadership-governing-body-table td a:hover {
  text-decoration: underline;
}

.card-btn-wrap {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.card-btn {
  flex: 1 1 280px;
  min-width: 260px;
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  color: inherit;
}

.card-btn:hover, .card-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  outline: none;
}

.card-btn:focus-visible {
  outline: 3px solid rgba(193, 0, 22, 0.35);
  outline-offset: 3px;
}

.card-btn__img {
  width: 100%;
  aspect-ratio: 1/1; /* 1:1 square */
  height: auto; /* handled by aspect-ratio */
  -o-object-fit: contain;
     object-fit: contain; /* shows full image (no crop) */
  background: #fff; /* or a light grey if you prefer */
  display: block;
}

.card-btn__body {
  padding: 18px 18px 16px;
}

.card-btn__kicker {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f365f;
  margin: 0 0 8px;
}

.card-btn__title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1f365f;
}

.card-btn__desc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 14px;
  color: rgba(0, 0, 0, 0.75);
}

.card-btn__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #c10016;
}

.card-btn__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #c10016;
  border-top: 2px solid #c10016;
  transform: rotate(45deg);
  margin-top: 1px;
}

.card-btn--primary {
  border: 2px solid rgba(193, 0, 22, 0.25);
}

.workplace-img {
  aspect-ratio: 2.66/1;
  overflow: hidden;
  margin-bottom: 1em;
}

.workplace-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Contact Page */
.contact-hero-box {
  background: #f8f9fa;
}

.contact-quick-card,
.contact-info-card,
.contact-email-panel,
.contact-head-office-card,
.contact-regional-card,
.contact-media-panel,
.contact-social-panel,
.contact-accessibility-card {
  border-radius: 0.25rem;
  box-shadow: 0 3px 5px rgba(85, 85, 85, 0.3);
}

.contact-office-status {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  background: #f8f9fa;
}

.contact-office-status--appointment_only,
.contact-office-status--moving,
.contact-office-status--temporarily_closed {
  background: #fff3cd;
}

.contact-page a {
  word-break: break-word;
}

#main-contact,
#email-contact,
#head-office,
#regional-offices,
#media-enquiries {
  scroll-margin-top: 180px;
}

.social-platform-row {
  row-gap: 1em;
}

.contact-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3em;
}

/* General Section Scrolling */
#womens-council-meetings, #psa-rules, #cpsunsw-rules, #cpsunsw-declaration, #cpsunsw-enforceable,
#history, #wcc, #wcstc {
  scroll-margin-top: 180px;
}

/* Search Styling */
.site-search-form {
  width: 100%;
  max-width: 520px;
}

.site-search-form__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d4d9e1;
  border-radius: 0.2em;
  padding: 0.15em 0.5em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search-form__inner:focus-within {
  border-color: #1f365f;
  box-shadow: 0 0 0 2px rgba(31, 54, 95, 0.12);
}

.site-search-form__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  color: #6f7a89;
}

.site-search-form__icon svg {
  width: 16px;
  height: 16px;
}

.site-search-form__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.35em 0;
  font-size: 0.95em;
  line-height: 1.2;
  color: #1f365f;
  box-shadow: none;
}

.site-search-form__input::-moz-placeholder {
  color: #6f7a89;
}

.site-search-form__input::placeholder {
  color: #6f7a89;
}

.site-search-form__button {
  padding: 0.35em 0.75em;
  border: 0;
  border-radius: 0.2em;
  cursor: pointer;
  background: #c10016;
  color: #fff;
  font-size: 0.95em;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.site-search-form__button:hover,
.site-search-form__button:focus {
  background: #9e0012;
}

.site-search-form__button:active {
  transform: translateY(1px);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .site-search-form {
    max-width: 100%;
  }
  .site-search-form__inner {
    gap: 6px;
    padding: 0.15em 0.4em;
  }
  .site-search-form__input {
    font-size: 16px;
    padding: 0.3em 0;
  }
  .site-search-form__button {
    padding: 0.3em 0.65em;
    font-size: 0.95em;
  }
}
@media (max-width: 575px) {
  .site-search-form__inner {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 10px;
  }
  .site-search-form__icon {
    flex: 0 0 auto;
  }
  .site-search-form__input {
    flex: 1 1 calc(100% - 30px);
  }
  .site-search-form__button {
    width: 100%;
  }
}
.search-results-area {
  padding: 30px 0;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-result-item {
  padding-bottom: 20px;
  border-bottom: 1px solid #d9dee5;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.search-result-type,
.search-result-filetype {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #1f365f;
}

.search-result-title {
  margin-bottom: 10px;
}
.search-result-title a {
  text-decoration: none;
}

.search-result-title a:hover,
.search-result-title a:focus {
  text-decoration: underline;
}

.search-result-excerpt {
  color: #384250;
  line-height: 1.6;
}

.search-result-excerpt mark {
  background: #fff1a8;
  padding: 0 2px;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.search-pagination {
  margin-top: 1em;
}

/* Honour Board */
.honour-board-page {
  padding: 40px 0 60px;
}

.honour-board-header {
  margin-bottom: 20px;
}

.honour-board-page__title {
  margin-bottom: 15px;
}

.honour-board-page__intro {
  margin-bottom: 40px;
}

.honour-board-section {
  margin-bottom: 50px;
}

.honour-board-section__title {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1f365f;
  color: #1f365f;
}

.honour-board-table-wrap {
  overflow-x: auto;
}

.honour-board-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.honour-board-table thead th {
  background: #1f365f;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
}

.honour-board-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #d9dee7;
  vertical-align: top;
}

.honour-board-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.honour-board-table__name {
  font-weight: 600;
}

.honour-board-table__years {
  white-space: nowrap;
}

/* Women at Work */
#women-img {
  max-width: 100%;
  width: 100%;
}/*# sourceMappingURL=style.css.map */