/*
Theme Name: FLEX by CPF
Template:   twentytwentyfour
Author: Prodigious Singapore Digital team
Author URI: https://prodigious.com
Description: Theme developed to Hello CPF campaign in WordPress 6.5 on April 2024.
Text Domain: flex-by-cpf
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

@import url(assets/fonts/Lato/style.css);
@import url(assets/fonts/TT-Norms/style.css);

body {
  line-height: 1.55556;
}

.page-article .page-article__hero {
  aspect-ratio: auto 10 / 7;
  img {
    width: 100%;
    height: 100%;
    border-radius: 0 0 var(--wp--preset--spacing--20)
      var(--wp--preset--spacing--20);
  }
}
@media (min-width: 768px) {
  .page-article .page-article__hero {
    aspect-ratio: auto 40 / 11;
  }
}

.m-none {
  display: none;
}
.d-none {
  display: block;
}
:root {
  --flex-border-bottom-radius: 48px;
}
.section-border-radius {
  border-bottom-left-radius: var(--flex-border-bottom-radius);
  border-bottom-right-radius: var(--flex-border-bottom-radius);
}

@media (min-width: 768px) {
  .d-none {
    display: none;
  }
  .m-none {
    display: block;
  }
}

main {
  margin-block-start: 0rem;
}
footer {
  margin-block-start: 0rem;
}

.cpf h1:not([class]),
.cpf h2:not([class]),
.cpf h3:not([class]),
.cpf h4:not([class]),
.cpf h5:not([class]),
.cpf h6:not([class]),
.cpf p {
  margin: 0 auto;
  color: inherit;
  font-size: inherit;
}

.cpf .f-bold {
  font-family: "TT Norms Pro", Helvetica, Arial, sans-serif;
  font-weight: 900;
}

.cpf ul {
  padding-inline-start: 30px;
  margin: 0 auto;
}

.cpf .flex-ul-list ul li:not(:first-child) {
  margin-top: 20px;
}

.cpf .flex-ol-list ol{
  padding-inline-start: 20px;
  margin: 0 auto;
}

.cpf .flex-ol-list ol li:not(:first-child) {
  margin-top: 20px;
}

.cpf .flex-ol-list ol ol {
  margin-top: 20px;
}

.cpf .elementor-widget-text-editor a, 
.cpf .elementor-widget-text-editor a:hover,
.cpf .elementor-widget-text-editor a:active, 
.cpf .elementor-widget-text-editor a:focus,
.cpf .elementor * .link-url,
.cpf .elementor * .link-url:hover,
.cpf .elementor * .link-url:active,
.cpf .elementor * .link-url:focus {
  color: #0047bb;
  text-decoration: underline;
  font-weight: bold;
}

.cpf-btn .wp-element-button {
  font-size: 18px;
  text-transform: uppercase;
  line-height: 18px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  padding: 20px 30px 18px 30px;
  border-radius: 50px;
  min-width: 250px;
  font-family: "TT Norms Pro", Helvetica, Arial, sans-serif;
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  .cpf-btn .wp-element-button {
    width: 100%;
    padding: 17px 22px 15px 22px;
  }
}

.cpf-btn .elementor-button-content-wrapper {
  gap: 0;
}


.cpf-btn span{
  display: flex;
  justify-content: center;
}
.cpf-btn svg {
  margin-left: 20px;
  width: 0.6em;
  height: 1em;
}

.btn-blue .wp-element-button {
  fill: #FFFFFF;
  color: #FFFFFF;
  background-color: #0047bb;
}
.btn-blue .wp-element-button:hover {
  background-color: #025DF0;
}

.btn-blue .elementor-button .elementor-align-icon-right {
  margin-left: 0px;
}

/** CPF Header START **/
.wp-block-group button,
.wp-block-group a {
  outline: none;
}

.mobile-logo-wrapper {
  position: absolute;
  top: 0px;
  left: 0px;
}

.mobile-logo-wrapper img {
  width: 144px;
}

.wp-block-navigation__responsive-container.is-menu-open {
  padding: 20px 16px;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close {
  top: -2px;
  right: -4px;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-close
  svg {
  width: 40px;
  height: 40px;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-close {
  height: 100%;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-dialog {
  height: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content {
  justify-content: center;
  padding: 0px;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container {
  flex-grow: inherit;
}

.cpf-header-container .wp-block-navigation__responsive-container-open,
.cpf-header-container .wp-block-navigation__responsive-container-close {
  color: inherit;
}

.cpf-header-container .wp-block-navigation__responsive-container-open .sr-only,
.cpf-header-container .wp-block-navigation__responsive-container-close .sr-only {
  display: none;
  visibility: hidden;
}

.cpf-header-container .wp-block-navigation__responsive-container-open svg {
  width: 43px;
}

.cpf-header-container .flex-navbar-wrapper {
  min-height: 80.48px;
}

.cpf-header-container .flex-logo-container {
  padding-top: 15px;
  margin-block-start: 0;
  position: static;
}

.cpf-header-container .flex-logo-container.show { 
  position: fixed; 
  top: 0; 
  width: 100%;
  transition: top 0.5s;
  z-index: 999;
  background-color: #FFF;
} 

@media screen and (max-width: 600px) {
  .cpf-header-container .flex-logo__inner {
    width: 144px;
  }
  .cpf-header-container .flex-navbar-wrapper {
    min-height: 66.91px;
  }
}

.cpf-header-container .wp-block-page-list {
  gap: initial;
}

.cpf-header-container .wp-block-navigation-item {
  padding: 0px 24px;
}

.cpf-header-container .wp-block-navigation-item a {
  padding: 8px 0px;
  border-bottom-width: 2px;
  border-bottom-color: transparent;
  border-bottom-style: solid;
}

.cpf-header-container .wp-block-navigation-item.current-menu-item a {
  border-bottom-color: inherit;
  text-decoration: none !important;
}
.cpf-header-container .wp-block-navigation-item a:hover {
  text-decoration: none !important;
}
@media screen and (min-width: 768px) {
  .cpf-header-container .wp-block-navigation-item a:hover {
    border-bottom-color: inherit;
  }
}

@media screen and (max-width: 718px) {
  .cpf-header-container .wp-block-navigation-item {
    padding: 0px 10px;
  }
}


@media screen and (max-width: 1280px) {
  .flex-logo__inner {
    padding-left: 0px !important;
  }
  .flex-logo-wrapper {
    padding-right: 0px !important;
  }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    padding: 16px 24px;
  }
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation-item
    a {
    padding: 8px 0px !important;
    font-size: 24px;
  }
}

.cpf-header-two .flex-navbar-wrapper {
  position: absolute;
  width: 100%;
  z-index: 99;
}

.cpf-header-container.cpf-header-two .flex-logo-container {
  transition: backround-color 0.5s;
}

.cpf-header-container .flex-logo-container.show .flex-logo-color {
  opacity: 1;
}

.cpf-header-container.cpf-header-two .flex-logo-container .flex-logo-color {
  display: none;
}

.cpf-header-container .flex-logo-container.show a.flex-logo-link {
  pointer-events: auto;
}

.cpf-header-container.cpf-header-two .flex-logo-container.show nav {
  color: #0047BB !important;
}

.cpf-header-container.cpf-header-two .flex-logo-container.show .flex-logo-color {
  display: block;
}

.cpf-header-container.cpf-header-two .flex-logo-container.show .flex-logo-white {
  display: none;
}

.cpf-header-container.cpf-header-two .flex-logo-container.show .wp-block-navigation__responsive-container:not(.is-menu-open) ul {
  color: #0047BB !important;
}

/** CPF Header END **/

/** CPF Footer START **/
.cpf-footer a {
  text-decoration: none;
}

.cpf-footer .cpf-copyright-wrapper {
  gap: 7px;
}

.cpf-footer .third-row-container {
  gap: initial;
}

.cpf-footer .third-row-inner {
  gap: initial;
}

.cpf-footer .third-row-inner h2 {
  padding: 5px 26px;
  border-left: 1px solid #e6eded;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.cpf-footer .third-row-inner h2:first-child {
  padding-left: 0px;
  border-left: 0px solid #e6eded;
  padding-right: 0px;
}

.cpf-footer .third-row-inner h2:first-child a{
  padding-right: 7px;
}

.cpf-footer .third-row-inner h2:last-child {
  padding-right: 0px;
}

.cpf-footer .report-vn-wrapper {
  gap: initial;
  padding-right: 26px;
}
.cpf-footer .report-vn-wrapper figure {
 margin: 0;
}

.cpf-footer .report-vn-wrapper h2 {
  padding-right: 7px;
}

@media screen and (max-width: 959px) {
  .cpf-footer .cpf-copyright-wrapper {
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.cpf-footer .second-row-link h2 {
  margin-right: 24px;
}

.cpf-footer .second-row-link h2:last-child {
  margin-right: 0px;
}

.cpf-footer .second-row-social > * {
  margin-right: 24px;
}

.cpf-footer .second-row-social > *:last-child {
  margin-right: 0px;
}

@media screen and (max-width: 767px) {
  .cpf-footer .footer-flex-logo {
    margin-bottom: 14px;
  }
  .cpf-footer .second-row-container {
    justify-content: flex-start;
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .cpf-footer .second-row-wrapper,
  .cpf-footer .second-row-link {
    flex-flow: column;
    align-items: flex-start;
  }

  .cpf-footer .second-row-link {
    margin-bottom: 32px;
  }

  .cpf-footer .second-row-link h2 {
    font-size: 18px !important;
    margin-bottom: 32px;
    margin-right: 0px;
  }

  .cpf-footer .second-row-link h2:last-child {
    margin-bottom: 0px;
  }

  .cpf-footer .third-row-inner {
    flex-wrap: wrap;
  }
  .cpf-footer .third-row-inner h2 {
    border-left: 0px solid transparent;
    width: 100%;
    padding: 0px;
    margin-bottom: 24px;
  }

  .cpf-footer .third-row-inner h2:last-child {
    padding-bottom: 0px;
    margin-bottom: 0px;
  }

  .cpf-footer .third-row-inner h2 a,
  .cpf-footer .cpf-copyright-wrapper p {
    font-size: 16px !important;
  }

  .cpf-footer .report-vn-wrapper {
    width: auto;
    margin-bottom: 24px;
  }

  .cpf-footer .report-vn-wrapper figure {
    margin-top: -1px;
  }

  .cpf-footer .third-row-container {
    margin-bottom: 0px !important;
    padding-top: 48px !important;
  }

  .cpf-footer .green-layer>div {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

@media screen and (max-width: 600px) {
  .cpf-footer .cpf-copyright-wrapper{
    flex-direction: column;
    gap: 5px;
    margin-top: 24px;
  }
}

/** CPF Footer END **/

/** Resources Filter **/

.resources-filter-search {
  position: relative;
  font-size:18px;
}
.resources-filter-search input {
  background: #fff;
  border: 2px solid #000;
  font-size: inherit;
  width:100%;
  padding:1em 1em 1em 3em;
  border-radius:1000px;
}
.resources-filter-search input::placeholder {
  color: #C6C6C6;
}
.resources-filter-search input:focus {
  outline: none;
  border-color: #0047BB;
}
.resources-filter-search input:focus::placeholder {
  color: transparent;
}
.resources-filter-search span.icon {
  position: absolute;
  left: .8em;
  width: 2em;
  height: 2em;
  top: 50%;
  margin-top: -1em;
  pointer-events: none;
  background: url(assets/images/resources-filter/search-black.png) center center/contain no-repeat;
}
.resources-filter-search input:focus + .icon {
  background-image: url(assets/images/resources-filter/search-blue.png);
}

.resources-filter-buttons-wrapper {
  display: flex;
  flex-direction: row;
}

.resources-filter-buttons-wrapper > * {
  margin-right: 20px;
}

.resources-filter-buttons-wrapper > *:last-child {
  margin-right: 0px;
}

.resources-filter-button {
  --button-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 0 1 100%;
  color: #000;
  background-color: #FFF;
  border: 4px solid var(--button-color);
  border-radius: 1000px;
  padding: .5em;
  font-size: 21px;
  font-weight: bold;
  transition: all .3s ease-out;
}
.resources-filter-button.active {
  display: none;
}
.resources-filter-button.active,
.resources-filter-button.selected,
.resources-filter-button:hover,
.resources-filter-button:focus {
  color: var(--text-color);
  background-color: var(--button-color);
  border-color: var(--button-color);
}
@media (max-width: 767px) {
  .resources-filter-buttons {
    position: relative;
  }
  .resources-filter-button.active {
    display: block;
    position: relative;
  }
  .resources-filter-button.active::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 1em;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    background: url(assets/images/resources-filter/arrow-down-white.png) center center/contain no-repeat;
    transform: scale(1, 1);
    transition: transform .2s ease-in-out;
  }
  .resources-filter-buttons-wrapper {
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: 100%;
    border-radius: 16px;
    z-index: 9;
    opacity: 1;
    transition: opacity .15s ease-out;
    padding: .3em 0;
  }

  .resources-filter-buttons-wrapper > * {
    margin-right: 0px;
  }

  .resources-filter-button {
    padding: .7em 1em;
  }
  .resources-filter-buttons-wrapper .resources-filter-button {
    display: block;
    border: 0;
    background: none;
    color: #000;
    font-weight: normal;
    text-align: left;
  }
  .resources-filter-buttons-wrapper .resources-filter-button.selected {
    color: #0047BB;
  }
  .resources-filter-buttons:not(.shown) .resources-filter-buttons-wrapper {
    opacity: 0;
    pointer-events: none;
  } 
  .resources-filter-buttons.shown .resources-filter-button.active::after {
    transform: scale(1, -1);
  }
}

.resources-filter-articles {
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
  transition: background-color .3s ease-out;
}
.resources-filter-articles::before {
  content: '';
  display: block;
  position: relative;
  top: -1px;
  padding-bottom: var(--flex-border-bottom-radius);
  border-radius: 0 0 var(--flex-border-bottom-radius) var(--flex-border-bottom-radius);
  background-color: var(--wp--preset--color--base-2, var(--wp--preset--color--base, #fff));
  margin: 0 -16px;
  pointer-events: none;
}
.resources-filter-articles-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1224px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 0 24px;
  align-items: flex-start;
  justify-content: center;
}

.resources-filter-articles-container .resources-filter-article{
  margin-bottom: 24px;
}

.resources-filter-articles-container::after {
  content: '';
  display: block;
  width: 100%;
}
.resources-filter-articles-empty {
  flex: 0 0 100%;
  text-align: center;
  font-size: 18px;
  color: #fff;
}
.resources-filter-article {
  background: #888 center center/cover no-repeat;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  width: 31%;
  margin-left: 12px;
  margin-right: 12px;
}
@media (max-width: 1060px) {
  .resources-filter-articles-container {
    max-width: 100%;
  }
  .resources-filter-article {
    width: 30.6%;
  }
}
@media (max-width: 959px) {
  .resources-filter-article {
    flex-basis: 46%;
  }  
}
@media (max-width: 767px) {
  .resources-filter-article {
    flex-basis: 100%;
  }  
}
.resources-filter-article::before {
  content: '';
  display: block;
  height: 0;
  padding-bottom: 124.136861%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 25%, rgba(102, 102, 102, 0.3) 100%);
}
.resources-filter-article .resources-filter-article-wrapper {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 24px 16px 20px 16px;
  color: #fff;
}
.resources-filter-article-top {
  flex: 0 1 100%;
  overflow: hidden auto;
}
.resources-filter-article-title {
  color: inherit;
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
}
.resources-filter-article-excerpt {
  font-size: 18px;
  font-weight: 300;
}
.resources-filter-article-bottom {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.resources-filter-article-bottom .resources-filter-article-date {
  flex: 0 1 100%;
}
.resources-filter-article-cta {
  display: block;
  flex: 0 0 auto;
  width: 2em;
  height: 2em;
  background: url(assets/images/resources-filter/button-right-white.png) center center/contain no-repeat;
}
.resources-filter-article:hover .resources-filter-article-cta {
  background-image: url(assets/images/resources-filter/button-right-blue.png);
}
.resources-filter-articles-view-more-wrapper {
  flex: 0 0 100%;
  text-align: center;
}
.resources-filter-articles-view-more {
  display: inline-block;
  position: relative;
  border-radius: 1000px;
  background-color: #fff;
  color: #0047bb;
  padding: .7em 3em .7em 2em;
  font-family: "TT Norms Pro", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  border: 4px solid transparent;

}
.resources-filter-articles-view-more:hover {
  background-color: #0047bb;
  color: #FFFFFF;
  border: 4px solid #FFFFFF;
}
.resources-filter-articles-view-more:hover::after {
  filter: brightness(0) invert(1);
}
.resources-filter-articles-view-more::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 1em;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background: url(assets/images/resources-filter/arrow-down-blue.png) center center/contain no-repeat;
}
/** Resources Filter END **/

/** Button element **/
.elementor-button {
  padding: 16px 24px 14px 24px;
  border-radius: 50px;
  min-width: 250px;
}

.elementor-button .elementor-align-icon-right {
  margin-left: 41px;
}

.elementor-button-text span {
  font-size: 12px;
  color: #000;
}

.elementor-button:hover span {
  color: inherit;
}

.elementor-button .elementor-button-text {
  font-family: "TT Norms Pro", Helvetica, Arial, sans-serif;
}

.arrow-btn .elementor-button .elementor-button-content-wrapper {
  align-items: center;
  gap: 0;
}

.arrow-btn .elementor-button .elementor-button-content-wrapper .elementor-button-text {
  margin: 0px 10px 0px 0px;
}

.arrow-btn .elementor-button .elementor-button-text {
  font-weight: 600;
}

.ribbon-btn.scan-to-enter {
  pointer-events: none;
} 

.ribbon-btn.scan-to-enter .elementor-button {
  padding: 1vw;
  font-size: 18px;
  min-width: auto;
} 

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .ribbon-btn.scan-to-enter .elementor-button {
    font-size: 14px;
  } 
}

.ribbon-btn .elementor-button {
  --top-color: #64ccc9;
  --bottom-color: #FFFFFF;
  background-color: var(--top-color);
  border: 4px solid var(--top-color);
  width: 100%;
}
.ribbon-btn .elementor-button:hover {
  outline: 0;
  background-color: var(--bottom-color);
}

@media screen and (max-width: 767px) {
  .elementor-button {
    width: 100%;
    padding: 13px 22px 11px 22px;
  }

  .elementor-button .elementor-align-icon-right {
    margin-left: 0px;
  }
}

/**Theme blue**/
.btn-theme-white .elementor-button {
  --bg-color: #FFFFFF;
  --text-color: #0047bb;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border: 3px solid var(--text-color) !important;
}

.btn-theme-white .elementor-button svg {
  fill: var(--text-color) !important;
}

.btn-theme-white .elementor-button:hover {
  background-color: var(--text-color) !important;
  color: var(--bg-color) !important;
  border: 3px solid var(--bg-color) !important;
}

.btn-theme-white .elementor-button:hover svg {
  fill: var(--bg-color) !important;
}

/**Theme purple**/
.theme-purple, .btn-theme-purple {
  --bg-color: #FFFFFF;
  --text-color: #000000;
  --active-bg-color: #9c44da;
  background-color: var(--active-bg-color) !important;
}
.btn-theme-purple .elementor-button {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

.btn-theme-purple .elementor-button svg {
  fill: var(--text-color) !important;
}

.btn-theme-purple .elementor-button:hover {
  background-color: var(--active-bg-color) !important;
  color: var(--bg-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

.btn-theme-purple .elementor-button:hover svg {
  fill: var(--bg-color) !important;
}

/**Theme orange**/
.theme-orange, .btn-theme-orange {
  --bg-color: #FFFFFF;
  --text-color: #000000;
  --active-bg-color: #FF7800;
  background-color: var(--active-bg-color) !important;
}
.btn-theme-orange .elementor-button {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

.btn-theme-orange .elementor-button svg {
  fill: var(--text-color) !important;
}

.btn-theme-orange .elementor-button:hover {
  background-color: var(--active-bg-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

/**Theme green**/
.theme-green, .btn-theme-green{
  --bg-color: #FFFFFF;
  --text-color: #000000;
  --active-bg-color: #94CA4C;
  background-color: var(--active-bg-color) !important;
}

.btn-theme-green .elementor-button {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

.btn-theme-green .elementor-button svg {
  fill: var(--text-color) !important;
}

.btn-theme-green .elementor-button:hover {
  background-color: var(--active-bg-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

/**Theme Teal**/
.theme-teal, .btn-theme-teal {
  --bg-color: #FFFFFF;
  --text-color: #000000;
  --active-bg-color: #64CCC9; 
  background-color: var(--active-bg-color) !important;
}

.btn-theme-teal .elementor-button {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}

.btn-theme-teal .elementor-button svg {
  fill: var(--text-color) !important;
}

.btn-theme-teal .elementor-button:hover {
  background-color: var(--active-bg-color) !important;
  border: 3px solid var(--active-bg-color) !important;
}


/** Article Nutshell container **/

@media screen and (max-width: 767px) {
  .cpf .nutshell-container {
    box-shadow: 3px 3px 0px 0px #F27244 !important;
  }
}

/** Related articles layout **/

[class^="crp_"], [id^="crp_"] {
  color: #FFF;
}

.crp_related.crp-grid {
  margin: 0px; 
}
.interest-item-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.interest-item-wrapper {
  position: relative;
  width: 32%;
  border-radius: 36px;
  overflow: hidden;
  margin-right: 24px;
}
.interest-item-wrapper:last-child {
  margin-right: 0px;
}

.interest-item-wrapper figure img {
  width: 100%;
  height: 100%;
}

.crp_meta_contents {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 25%, rgba(102, 102, 102, 0.3) 100%);
  color: #FFF;
  display: flex;
  font-size: 18px;
  flex-direction: column;
  height: 100%;
  left: 0;
  padding: 24px 16px 20px 16px;
  position: absolute;
  top: 0;
  width: 100%;
}

.crp_meta_contents_top {
  position: relative;
  overflow: auto;
}

.interest-item-wrapper .crp_meta_contents .crp_title {
  font-family: "TT Norms Pro", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.crp_meta_contents .crp_excerpt {
  font-size: 18px;
  line-height: 28px;
}

.crp_meta_contents .crp_date {
  font-size: 16px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crp_meta_contents .crp_date::after {
  content: url("assets/images/i_right-btn.svg");
  width: 32px;
  height: 32px;
}

.interest-item-wrapper:hover .crp_meta_contents .crp_date::after{
  content: url("assets/images/i_right-btn-hover.svg");
}

@media screen and (max-width: 959px) {
  .interest-item-wrapper .crp_meta_contents .crp_title {
    font-size: 2.5vw;
    margin-bottom: 1.667vw;
  }

  .crp_meta_contents .crp_excerpt{
    font-size: 1.875vw;
  }

  .crp_meta_contents .crp_date {
    font-size: 1.667vw;
  }

  .crp_meta_contents .crp_date::after {
    width: 3.2vw;
    height: 3.2vw;
  }
}

@media screen and (max-width: 767px) {
  .interest-item-container {
    flex-direction: column;
  }
  .interest-item-wrapper {
   width: 100%;
   margin-bottom: 24px;
   margin-right: 0px;
  }
  .interest-item-wrapper:last-child {
    margin-bottom: 0px;
  }
  .interest-item-wrapper .crp_meta_contents .crp_title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .crp_meta_contents .crp_excerpt{
    font-size: 18px;
  }

  .crp_meta_contents .crp_date {
    font-size: 16px;
  }

  .crp_meta_contents .crp_date::after {
    width: 32px;
    height: 32px;
  }
}

/** Sticky Ribbon **/
.sticky-ribbon { 
  position: fixed; 
  bottom: -104px; /* Initially hidden below the viewport */ 
  left: 0; 
  width: 100%;
  transition: bottom 0.5s; /* Smooth transition */ 
  z-index: 9;
} 

.sticky-ribbon.show { 
  bottom: 0; /* Slide up to show */ 
} 

@media screen and (max-width: 767px) {
  .sticky-ribbon { 
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    bottom: -98px; /* Initially hidden below the viewport */ 
  }
}

.dv-qr-container {
  top: 0;
  bottom: 0;
  left: 20px !important;
  margin-top: -40px;
}

.faqs-accordion .elementor-accordion-item {
  border-bottom: 1.5px solid #000 !important;
}

.faqs-accordion .elementor-accordion-item:last-child {
  border-color: transparent !important;
}

.faqs-accordion .elementor-tab-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

/** Event Info container **/
.events-container .img-area{
  border-top-right-radius: 36px;
  border-bottom-right-radius: 36px;
}
@media screen and (max-width: 767px) {
  .events-container .img-area{
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px; 
    overflow: hidden;
  }
}
/** Event Info container END **/

/** 404page countdown **/
.page-not-found-container.has-global-padding {
  margin-top: 92px !important;
  margin-bottom: 44px !important;
}
.countdown-copy {
  display: inline-block;
  font-weight: 900;
}
@media screen and (max-width: 767px) {
  .page-not-found-container.has-global-padding {
    margin-top: 50px !important;
    margin-bottom: 2px !important;
  }
  .countdown-copy {
    display: block;
  }
}

/** 404page countdown END **/

/** Loading Screen **/
:where(.wp-site-blocks) > * {
  margin-block-start: 0rem;
}
.elementor-editor-active .loading-screen {
  display: none;
}
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease; /* Extended transition time for slow fade */
}

.loading-screen.fade-out {
  opacity: 0;
  transition: opacity 1s ease; /* Slow fade-out for the background */
}

.loading-screen.hidden {
  z-index: -9999; /* Move z-index after fade-out */
}

.loading-screen .loading-image {
  max-width: 500px;
  width: 100%;
  transition: opacity 1s ease; /* Slow fade-out for the image */
}

.loading-screen .loading-image.fade-out {
  opacity: 0;
}

/** Loading Screen END **/
.second-row-wrapper .wp-block-code {
  background-color: transparent;
  padding: 0;
  line-height: 0;
}

.social-icon {
  display: inline-block;
  width: 32px;
}

.social-icon svg {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social-icon svg path,
.social-icon svg rect {
  stroke-width: 0.8;
}

.govt-banner {
  background: #f0f0f0;
}
.govt-banner sgds-masthead {
  display: block;
  max-width: 1230px;
  margin: 0 auto;
}
.announcement .site-announcement {
  display: block;
  max-width: 1230px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, Liberation Sans, sans-serif;
  font-size: .6875rem;
  padding: 0 .75rem .15rem;
  box-sizing: border-box;
}
@media (min-width: 1024px) {
  .announcement .site-announcement {
    font-size: .875rem;
  }
}