@charset "UTF-8";
/**
 * Glossary category definitions here.
 * To add new category:
 *  1. Add the category in taxonomy "Glossary Word Category".
 *  2. Remember the "Unique ID" used in the backend.
 *  3. Add a new definition in $glossary-cats, with the "Unique ID" as key here.
 *  4. Remember to handle the positioning and sizing of the icon in the keyvisual (or hide it).
 *  5. Rebuild this stylesheet ("npm run build" and then flush cache, or "composer rebuild").
 */
/**
 * Interactive keyvisual in the glossary landing page.
 */
.ccceac-keyvisual {
  position: relative;
  background-image: url("../../assets/images/glossary-background.png");
  background-size: contain;
  aspect-ratio: 1.1266/1;
}
.ccceac-keyvisual--category-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.ccceac-keyvisual--category-list .text {
  display: block;
  visibility: hidden;
  height: 1em;
  overflow: hidden;
}
.ccceac-keyvisual--category-list--category a {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
  border: solid 4px white;
  border-radius: 50%;
  box-shadow: 0 0 4px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  aspect-ratio: 1/1;
  z-index: 1;
}
.ccceac-keyvisual--category-list--category a:hover, .ccceac-keyvisual--category-list--category a:focus {
  transform: scale(1.1);
  box-shadow: 0 0 24px 2px rgba(0, 0, 0, 0.15);
  z-index: 3;
}
.ccceac-keyvisual--category-list--glossary-bhr-concepts a {
  background-image: url("../../assets/images/glossary-icon-bhrconcepts.png");
}
.ccceac-keyvisual--category-list--glossary-ccc-work a {
  background-image: url("../../assets/images/glossary-icon-cccwork.png");
}
.ccceac-keyvisual--category-list--glossary-brand-tricks a {
  background-image: url("../../assets/images/glossary-icon-brandtricks.png");
}
.ccceac-keyvisual--category-list--glossary-consumer a {
  background-image: url("../../assets/images/glossary-icon-consumer.png");
}
.ccceac-keyvisual--category-list--glossary-global-supply-chain a {
  background-image: url("../../assets/images/glossary-icon-globalsupplychain.png");
}
.ccceac-keyvisual--category-list--glossary-just-transition a {
  background-image: url("../../assets/images/glossary-icon-justtransition.png");
}
.ccceac-keyvisual--category-list--glossary-labour-rights a {
  background-image: url("../../assets/images/glossary-icon-labourrights.png");
}
.ccceac-keyvisual--category-list--glossary-bhr-concepts a {
  top: 61.5%;
  left: 26.5%;
  width: 17.6%;
}
.ccceac-keyvisual--category-list--glossary-ccc-work a {
  top: 21%;
  left: 0.5%;
  width: 17.6%;
}
.ccceac-keyvisual--category-list--glossary-brand-tricks a {
  top: 16.3%;
  left: 50%;
  width: 17.6%;
}
.ccceac-keyvisual--category-list--glossary-consumer a {
  top: 32%;
  left: 73.5%;
  width: 17.6%;
}
.ccceac-keyvisual--category-list--glossary-global-supply-chain a {
  top: 55.6%;
  left: 47.6%;
  width: 17.6%;
}
.ccceac-keyvisual--category-list--glossary-just-transition a {
  top: 0.6%;
  left: 37.2%;
  width: 17.6%;
}
.ccceac-keyvisual--category-list--glossary-labour-rights a {
  top: 32.5%;
  left: 23.5%;
  width: 17.6%;
}
.ccceac-keyvisual--decolration-icons {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.ccceac-keyvisual--decolration-icons--icon {
  display: block;
  position: absolute;
  background-size: contain;
  pointer-events: none;
}
.ccceac-keyvisual--decolration-icons--icon-civil {
  top: 10.3%;
  left: 18.5%;
  width: 19%;
  aspect-ratio: 340/394;
  background-image: url("../../assets/images/glossary-icon-civil.png");
}
.ccceac-keyvisual--decolration-icons--icon-governments {
  top: 5.5%;
  left: 67.8%;
  width: 12.4%;
  aspect-ratio: 224/327;
  background-image: url("../../assets/images/glossary-icon-governments.png");
}
.ccceac-keyvisual--decolration-icons--icon-brands {
  z-index: 2;
  top: 29.5%;
  left: 48.6%;
  width: 21%;
  aspect-ratio: 379/343;
  background-image: url("../../assets/images/glossary-icon-brands.png");
}
.ccceac-keyvisual--decolration-icons--icon-labour {
  top: 43.9%;
  left: 39.1%;
  width: 11.7%;
  aspect-ratio: 208/257;
  background-image: url("../../assets/images/glossary-icon-labour.png");
}
.ccceac-keyvisual--decolration-icons--icon-consumers {
  top: 46.3%;
  left: 64.1%;
  width: 13.1%;
  aspect-ratio: 236/272;
  background-image: url("../../assets/images/glossary-icon-consumers.png");
}

/**
 * Glossary category list below the Glossary landing page.
 */
.ccceac-glossary-categories--category-list {
  display: grid;
  list-style-type: none;
  margin: 2em 0;
  padding: 0;
  gap: 1em;
}
@media (width > 800px) {
  .ccceac-glossary-categories--category-list {
    grid-template-columns: 1fr 1fr;
  }
}
.ccceac-glossary-categories--category-list--category a {
  display: block;
  width: 100%;
  color: inherit;
  background-color: white;
  transition: all 0.3s;
  text-align: center;
  padding: 1em;
}
.ccceac-glossary-categories--category-list--category a:hover, .ccceac-glossary-categories--category-list--category a:focus {
  color: inherit;
  text-decoration: none;
  transform: scale(1.01);
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.5);
}
@media (width > 800px) {
  .ccceac-glossary-categories--category-list--category a {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1em;
    text-align: left;
  }
  .ccceac-glossary-categories--category-list--category a:hover, .ccceac-glossary-categories--category-list--category a:focus {
    transform: scale(1.05);
  }
}
.ccceac-glossary-categories--category-list--category a:before {
  content: "";
  display: block;
  background-color: white;
  background-position: center center;
  background-size: 120px auto;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 120px;
  margin-bottom: 0.6em;
}
@media (width > 800px) {
  .ccceac-glossary-categories--category-list--category a:before {
    width: 80px;
    min-height: 80px;
    background-size: 80px auto;
    margin-bottom: 0;
  }
}
.ccceac-glossary-categories--category-list--category--details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5em;
}
.ccceac-glossary-categories--category-list--category .category-name {
  font-family: Helvetica-Bold, Microsoft JhengHei, Arial, sans-serif;
  font-size: 1.6em;
  font-weight: bold;
  margin: 0;
}
@media (width > 800px) {
  .ccceac-glossary-categories--category-list--category .category-name {
    font-size: 1.3em;
  }
}
.ccceac-glossary-categories--category-list--glossary-bhr-concepts a:before {
  background-image: url("../../assets/images/glossary-icon-bhrconcepts.png");
}
.ccceac-glossary-categories--category-list--glossary-ccc-work a:before {
  background-image: url("../../assets/images/glossary-icon-cccwork.png");
}
.ccceac-glossary-categories--category-list--glossary-brand-tricks a:before {
  background-image: url("../../assets/images/glossary-icon-brandtricks.png");
}
.ccceac-glossary-categories--category-list--glossary-consumer a:before {
  background-image: url("../../assets/images/glossary-icon-consumer.png");
}
.ccceac-glossary-categories--category-list--glossary-global-supply-chain a:before {
  background-image: url("../../assets/images/glossary-icon-globalsupplychain.png");
}
.ccceac-glossary-categories--category-list--glossary-just-transition a:before {
  background-image: url("../../assets/images/glossary-icon-justtransition.png");
}
.ccceac-glossary-categories--category-list--glossary-labour-rights a:before {
  background-image: url("../../assets/images/glossary-icon-labourrights.png");
}

/**
 * Category icons under each category page.
 */
.glossary-icon {
  display: block;
  width: 100%;
  text-align: center;
  margin: 1em 0;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
  font-family: Helvetica-Bold, Microsoft JhengHei, Arial, sans-serif;
  font-size: 1.1em;
  font-weight: bold;
}
.glossary-icon:before {
  content: "";
  display: block;
  margin: 0 auto 0.5em;
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1/1;
}
.glossary-icon:hover, .glossary-icon:focus {
  text-decoration: none;
  transform: scale(1.1);
  color: inherit;
}

.glossary-icon-bhr-concepts:before {
  background-image: url("../../assets/images/glossary-icon-bhrconcepts.png");
}

.glossary-icon-ccc-work:before {
  background-image: url("../../assets/images/glossary-icon-cccwork.png");
}

.glossary-icon-brand-tricks:before {
  background-image: url("../../assets/images/glossary-icon-brandtricks.png");
}

.glossary-icon-consumer:before {
  background-image: url("../../assets/images/glossary-icon-consumer.png");
}

.glossary-icon-global-supply-chain:before {
  background-image: url("../../assets/images/glossary-icon-globalsupplychain.png");
}

.glossary-icon-just-transition:before {
  background-image: url("../../assets/images/glossary-icon-justtransition.png");
}

.glossary-icon-labour-rights:before {
  background-image: url("../../assets/images/glossary-icon-labourrights.png");
}

/**
 * Glossary word card style in glossary category page.
 */
.view-glossary-category .view-header h2 {
  display: none;
}
@media (width >= 992px) {
  .view-glossary-category .row .col:nth-child(odd) .field-content a {
    background-color: transparent;
  }
}
.view-glossary-category .row .col:nth-child(even) .field-content a {
  background-color: rgb(255, 255, 255);
}
@media (width >= 992px) {
  .view-glossary-category .row .col:nth-child(even) .field-content a {
    background-color: transparent;
  }
}
.view-glossary-category .field-content > a {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5em;
  min-height: 6.5em;
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s;
  color: inherit;
  transform: scale(1.05);
}
.view-glossary-category .field-content > a:hover {
  color: inherit;
  text-decoration: none;
  transform: scale(1.1);
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}
@media (width >= 992px) {
  .view-glossary-category .field-content > a {
    transform: scale(1);
    margin: 1em 0;
    border: solid 2px #e3c98e;
    box-shadow: 0 rgba(0, 0, 0, 0.2);
  }
}

.glossary-page--glossary-category .page-header {
  text-align: center;
}
@media (width >= 992px) {
  .glossary-page--glossary-category .page-header {
    text-align: inherit;
  }
}
.glossary-page--glossary-category .view-header {
  text-align: center;
}
.glossary-page--glossary-category .view-header:before {
  content: "";
  display: block;
  background-position: center center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  height: 300px;
  width: 300px;
  margin: 1em auto 2em;
}
@media (width >= 992px) {
  .glossary-page--glossary-category .view-header {
    display: grid;
    text-align: inherit;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin: 0 0 2em;
  }
  .glossary-page--glossary-category .view-header:before {
    margin: 0;
  }
}
.glossary-page--glossary-category .view-content {
  margin: 2em 0;
}
@media (width >= 992px) {
  .glossary-page--glossary-category .view-content {
    margin: 0;
  }
}
.glossary-page--glossary-category .block-views-blockglossary-categories-block-1 .block-title {
  text-align: center;
}
@media (width >= 992px) {
  .glossary-page--glossary-category .block-views-blockglossary-categories-block-1 .block-title {
    text-align: inherit;
  }
}
.glossary-page--glossary-bhr-concepts .view-header:before {
  background-image: url("../../assets/images/glossary-icon-bhrconcepts.png");
}
.glossary-page--glossary-bhr-concepts .view-glossary-category .field-content > a {
  background-color: #ebccc9;
}
@media (width >= 992px) {
  .glossary-page--glossary-bhr-concepts .view-glossary-category .field-content > a {
    border: solid 4px #833832;
  }
}
.glossary-page--glossary-ccc-work .view-header:before {
  background-image: url("../../assets/images/glossary-icon-cccwork.png");
}
.glossary-page--glossary-ccc-work .view-glossary-category .field-content > a {
  background-color: #efcdca;
}
@media (width >= 992px) {
  .glossary-page--glossary-ccc-work .view-glossary-category .field-content > a {
    border: solid 4px #b54238;
  }
}
.glossary-page--glossary-brand-tricks .view-header:before {
  background-image: url("../../assets/images/glossary-icon-brandtricks.png");
}
.glossary-page--glossary-brand-tricks .view-glossary-category .field-content > a {
  background-color: #e5e5e5;
}
@media (width >= 992px) {
  .glossary-page--glossary-brand-tricks .view-glossary-category .field-content > a {
    border: solid 4px #989898;
  }
}
.glossary-page--glossary-consumer .view-header:before {
  background-image: url("../../assets/images/glossary-icon-consumer.png");
}
.glossary-page--glossary-consumer .view-glossary-category .field-content > a {
  background-color: #f2dbca;
}
@media (width >= 992px) {
  .glossary-page--glossary-consumer .view-glossary-category .field-content > a {
    border: solid 4px #d38950;
  }
}
.glossary-page--glossary-global-supply-chain .view-header:before {
  background-image: url("../../assets/images/glossary-icon-globalsupplychain.png");
}
.glossary-page--glossary-global-supply-chain .view-glossary-category .field-content > a {
  background-color: #ebe4d7;
}
@media (width >= 992px) {
  .glossary-page--glossary-global-supply-chain .view-glossary-category .field-content > a {
    border: solid 4px #826c41;
  }
}
.glossary-page--glossary-just-transition .view-header:before {
  background-image: url("../../assets/images/glossary-icon-justtransition.png");
}
.glossary-page--glossary-just-transition .view-glossary-category .field-content > a {
  background-color: #f2ebe6;
}
@media (width >= 992px) {
  .glossary-page--glossary-just-transition .view-glossary-category .field-content > a {
    border: solid 4px #8d684c;
  }
}
.glossary-page--glossary-labour-rights .view-header:before {
  background-image: url("../../assets/images/glossary-icon-labourrights.png");
}
.glossary-page--glossary-labour-rights .view-glossary-category .field-content > a {
  background-color: #e3a8a3;
}
@media (width >= 992px) {
  .glossary-page--glossary-labour-rights .view-glossary-category .field-content > a {
    border: solid 4px #d26d66;
  }
}

/**
 * Glossary Dialog box (popup) for Glossary Category Page
 */
.glossary-dialog-content {
  display: none;
}

.glossary-dialog {
  width: 800px;
  max-width: calc(100vw - 2em);
  background-color: rgb(240, 240, 240);
  padding: 3em;
  border: none;
  box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 6em);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}
.glossary-dialog::backdrop {
  backdrop-filter: blur(4px);
}
.glossary-dialog::backdrop {
  opacity: 0;
  transition: opacity 0.6s;
}
.glossary-dialog.shown {
  opacity: 1 !important;
  pointer-events: inherit;
}
.glossary-dialog.shown::backdrop {
  opacity: 1 !important;
}
.glossary-dialog--body {
  position: relative;
  border: none;
  quotes: "“" "”" "‘" "’";
  margin: 1.5em 0;
  padding: 2em;
}
.glossary-dialog--body:before, .glossary-dialog--body:after {
  position: absolute;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 5em;
  color: rgba(0, 0, 0, 0.4);
}
.glossary-dialog--body:before {
  content: open-quote;
  top: 0;
  left: 0;
}
.glossary-dialog--body:after {
  content: close-quote;
  bottom: 0;
  right: 0;
}
.glossary-dialog--references {
  margin: 1em 0;
}
.glossary-dialog--references--label {
  font-weight: bold;
}
.glossary-dialog--references a {
  color: inherit;
  text-decoration: underline;
}
.glossary-dialog--actions {
  position: sticky;
  top: 0;
  text-align: right;
  width: 100%;
}
.glossary-dialog--actions--action {
  display: inline-block;
  position: absolute;
  right: -1em;
  top: -1em;
  font-size: 1em;
  line-height: 2em;
  text-align: center;
  width: 2em;
  height: 2em;
  border-radius: 1.5em;
  padding: 0;
  border: none;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3);
}

.glossary-page--glossary-bhr-concepts .glossary-dialog {
  background-color: #ebccc9;
}
.glossary-page--glossary-ccc-work .glossary-dialog {
  background-color: #efcdca;
}
.glossary-page--glossary-brand-tricks .glossary-dialog {
  background-color: #e5e5e5;
}
.glossary-page--glossary-consumer .glossary-dialog {
  background-color: #f2dbca;
}
.glossary-page--glossary-global-supply-chain .glossary-dialog {
  background-color: #ebe4d7;
}
.glossary-page--glossary-just-transition .glossary-dialog {
  background-color: #f2ebe6;
}
.glossary-page--glossary-labour-rights .glossary-dialog {
  background-color: #e3a8a3;
}

/*# sourceMappingURL=glossary.css.map */
