/*!
 Theme Name: Rubrum
 Theme URI:
 Author: Dev Team
 Author URI:
 Description: Rubrum is a blank canvas for your ideas and it makes the block editor your best brush.
 Requires at least: 6.61920
 19
 Tested up to: 6.7
 Requires PHP: 8.0
 Version: 6.7.0
 Text Domain: rubrum
*/

/** Add your custom styles here **/

/** HEADER **/


.scroll-paragraph-about span,
.scroll-paragraph-trust span {
  font-size:24px !important;
}
.about-h2 {
  font-size:48px !important;
  word-wrap: normal;
}
.has-normal-font-size {
  font-size:18px !important;
}
.resources-home .tpgb-btn-icon {
  font-size:20px !important;
}
.resources-home .icon--container, .resources-home .icon {
    width: 3.75rem !important;
    height: 3.75rem !important;
}
.header-btn .tpgb-btn-txt, .header-btn .tpgb-btn-icon {
    font-size: 20px !important;
}
.icon, .fa, svg {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  will-change: transform;
}
.mission-home-col .wp-block-group {
  max-width:250px;
}
.mission-home-col {
  justify-content: space-evenly !important;
}
.btn-facts {
    z-index: 1;
}
.grr-row {
  display: flex;
  flex-wrap: wrap;
}
.home #desktop {
    align-items: flex-end !important;
}

:root,
body {
  /* Helps prevent scroll shake when header shrinks */
  overscroll-behavior-y: none;
  overflow-anchor: none;
}

#header-inner {
  /* Use transitions to smooth the transition of the CSS changes */
  transition: all 0.5s;
}
.header-inner-scrolled {
  box-shadow: var(--wp--custom--utility--box-shadow--normal);
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.header-inner-scrolled .wp-block-site-logo {
  width: 120px;
}

/** HOMEPAGE Styling **/

.home-hero-vid {
  margin: 0 38px !important;
}
.resources-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 60px !important;
}

/* Homepage Marquee */
.marquee-text h1 {
  font-size: clamp(20px, 3.75vw, 60px) !important;
}
.tpgb-wrap-c5ab_2 #tpgb-adv-c5ab_2 {
  text-wrap: nowrap !important;
}
@media screen and (min-width: 782px) {
  .tpgb-wrap-c5ab_2 {
    display: none;
  }
}
@media screen and (max-width: 781.98px) {
  .tpgb-wrap-c5ab_2 {
    display: block;
  }
  .marquee-container {
    display: none;
  }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 7s linear infinite;
}

.marquee-text h1 {
  display: inline-block;
  margin: 0;
  padding-right: 2rem; /* Small spacing between repetitions */
  font-size: 120px;
  color: #0064a1;
  font-weight:400;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.resource-carousel div {
  overflow: visible;
}
.resource-carousel .wp-block-cover {
  min-height: 350px;
  height: 40vw;
  max-height: 480px;
  padding-bottom: clamp(60px, 7.5vw, 120px);
}
.resource-slide .wp-block-cover__background,
.resource-slide .wp-block-cover img {
  border-radius: 24px;
}
.resource-slide .wp-block-cover:hover {
  border: 8px solid #fff;
  padding-bottom: clamp(60px, 11.25vw, 180px);
  transition: border 100ms ease !important;
}
.animated-numbers-home {
  text-align: center;
}
.stats-section .nc-counter-number {
  word-wrap: normal;
}
#desktop {
  margin:0 38px !important;
  min-height:70vh !important;
}
#desktop {
    align-items: center ! IMPORTANT;
}
.home #mobile {
  align-items: flex-end !important;
}
#mobile {
    align-items: center !important;
}
.page-banner h1 {
  word-break: keep-all;
}


/** Adjust arrows on buttons */
.home .tpgb-btn-icon-wrap .dashicons,
.home .tpgb-btn-icon-wrap .dashicons-before:before,
.resource-carousel .tpgb-btn-icon-wrap .dashicons,
.resource-carousel .tpgb-btn-icon-wrap .dashicons-before:before {
  width: 20px;
  height: 20px;
}
.grant-carousel div {
  overflow: visible;
}
.grant-carousel .wp-block-columns .wp-block-column .wp-block-cover img,
.grant-carousel
  .wp-block-columns
  .wp-block-column
  .wp-block-cover
  .wp-block-cover__background {
  border-radius: 24px 0 0 24px !important;
}

.btn-inner-square {
  aspect-ratio: 1 / 1;
  width: 80px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
#desktop .arrow-icon {
  margin-left: clamp(-60px, -1.75vw, -30px) !important;
}
.arrow-icon {
  margin-left: clamp(-60px, -3.75vw, -30px) !important;
}
#desktop .arrow-icon .icon--container {
  padding: 60px;
}
.arrow-icon .icon--container .icon {
  top: calc(50% - 28.5px);
  left: calc(50% - 28.5px);
}

.home-vimeo-vid iframe {
  border-radius: 16px;
}

/** GTranslate **/

a.glink.nturl.notranslate:hover {
  color: #a1a1a1;
}
.gtranslate_wrapper a {
  padding: 12px;
}
.gtranslate_wrapper a:first-child {
  border-right: 2px solid #a1a1a1;
}

/* Active state styles */
body .wp-block-button.is-active {
  background-color: white;
  border-radius: 24px;
}
.wp-block-button.is-active a {
  color: #0064a1;
  background: white;
}

/** Home Popup Video **/
.home-popup,
.home .tpgb-popup {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
.home-popup .offcanvas-toggle-btn.humberger-custom {
  text-align: right;
}
.home-popup .offcanvas-toggle-btn.humberger-custom img {
  border-radius: 16px;
}

.home-mission p {
    word-wrap: normal;
    word-break: normal;
}



/* Nextar Hotspot Styling */
.pin-hotspot .pin-type-image img.pin-icon {
  height: auto;
}

#map-project img.hotspot-image,
#map-funding img.hotspot-image {
  object-fit: contain;
  max-height: 750px;
  height: auto !important;
}

.hr-maps {
  margin: 0 !important;
}

.wp-block-column {
  word-break: normal !important;
}

#project.is-active a::before,
#project a:hover::before {
  /*content: "";*/
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="21" viewBox="0 0 18 21" fill="none"><path d="M2 20.166C1.45 20.166 0.98 19.966 0.59 19.576C0.2 19.186 0 18.716 0 18.166V4.16602C0 3.61602 0.2 3.14602 0.59 2.75602C0.98 2.36602 1.45 2.16602 2 2.16602H6.2C6.42 1.56602 6.78 1.08602 7.29 0.716016C7.8 0.346016 8.37 0.166016 9 0.166016C9.63 0.166016 10.2 0.346016 10.71 0.716016C11.22 1.08602 11.58 1.56602 11.8 2.16602H16C16.55 2.16602 17.02 2.36602 17.41 2.75602C17.8 3.14602 18 3.61602 18 4.16602V18.166C18 18.716 17.8 19.186 17.41 19.576C17.02 19.966 16.55 20.166 16 20.166H2ZM2 18.166H16V4.16602H2V18.166ZM4 16.166H11V14.166H4V16.166ZM4 12.166H14V10.166H4V12.166ZM4 8.16602H14V6.16602H4V8.16602ZM9 3.41602C9.22 3.41602 9.4 3.34602 9.54 3.20602C9.68 3.06602 9.75 2.88602 9.75 2.66602C9.75 2.44602 9.68 2.26602 9.54 2.12602C9.4 1.98602 9.22 1.91602 9 1.91602C8.78 1.91602 8.6 1.98602 8.46 2.12602C8.32 2.26602 8.25 2.44602 8.25 2.88602C8.25 3.06602 8.32 3.06602 8.46 3.20602C8.6 3.34602 8.78 3.41602 9 3.41602Z" fill="%230064A1"/></svg>')
    no-repeat center;
}

#funding a::before {
  content: "";
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="19.02" viewBox="0 0 20 20" fill="none"><path d="M14.01 9.17602C14.29 9.17602 14.53 9.07602 14.72 8.88602C14.91 8.69602 15.01 8.45602 15.01 8.17602C15.01 7.89602 14.91 7.65602 14.72 7.46602C14.53 7.27602 14.29 7.17602 14.01 7.17602C13.73 7.17602 13.49 7.27602 13.3 7.46602C13.11 7.65602 13.01 7.89602 13.01 8.17602C13.01 8.45602 13.11 8.69602 13.3 8.88602C13.49 9.07602 13.73 9.17602 14.01 9.17602ZM6.01 7.17602H11.01V5.17602H6.01V7.17602ZM2.51 19.176C1.94 17.276 1.38 15.376 0.83 13.486C0.28 11.596 0 9.65602 0 7.67602C0 6.14602 0.53 4.84602 1.6 3.77602C2.67 2.70602 3.97 2.17602 5.5 2.17602H10.5C10.98 1.54602 11.57 1.04602 12.26 0.696016C12.95 0.346016 13.7 0.166016 14.5 0.166016C14.92 0.166016 15.27 0.316016 15.56 0.606016C15.85 0.896016 16 1.25602 16 1.66602C16 1.76602 15.99 1.86602 15.96 1.96602C15.93 2.06602 15.91 2.15602 15.87 2.24602C15.8 2.42602 15.74 2.61602 15.68 2.80602C15.62 2.99602 15.58 3.19602 15.54 3.39602L17.82 5.67602H20V12.656L17.17 13.586L15.49 19.186H9.99V17.186H7.99V19.186H2.51V19.176ZM4.01 17.176H6.01V15.176H12.01V17.176H14.01L15.56 12.026L18.01 11.196V7.66602H17.01L13.51 4.16602C13.51 3.83602 13.53 3.51602 13.57 3.20602C13.61 2.89602 13.67 2.58602 13.76 2.26602C13.28 2.39602 12.85 2.62602 12.48 2.95602C12.11 3.28602 11.85 3.68602 11.68 4.16602H5.5C4.53 4.16602 3.71 4.50602 3.02 5.19602C2.33 5.88602 1.99 6.70602 1.99 7.67602C1.99 9.30602 2.22 10.906 2.67 12.466C3.12 14.026 3.56 15.596 4 17.176H4.01Z" fill="white"/></svg>')
    no-repeat center;
  display: inline-block;
  height: 20px;
  width: 18px;
  position: relative;
  top: 4px;
  margin-right: 10px;
}

#funding a:hover::before,
#funding.is-active a::before {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="19" viewBox="0 0 20 20" fill="none"><path d="M14.01 9.17602C14.29 9.17602 14.53 9.07602 14.72 8.88602C14.91 8.69602 15.01 8.45602 15.01 8.17602C15.01 7.89602 14.91 7.65602 14.72 7.46602C14.53 7.27602 14.29 7.17602 14.01 7.17602C13.73 7.17602 13.49 7.27602 13.3 7.46602C13.11 7.65602 13.01 7.89602 13.01 8.17602C13.01 8.45602 13.11 8.69602 13.3 8.88602C13.49 9.07602 13.73 9.17602 14.01 9.17602ZM6.01 7.17602H11.01V5.17602H6.01V7.17602ZM2.51 19.176C1.94 17.276 1.38 15.376 0.83 13.486C0.28 11.596 0 9.65602 0 7.67602C0 6.14602 0.53 4.84602 1.6 3.77602C2.67 2.70602 3.97 2.17602 5.5 2.17602H10.5C10.98 1.54602 11.57 1.04602 12.26 0.696016C12.95 0.346016 13.7 0.166016 14.5 0.166016C14.92 0.166016 15.27 0.316016 15.56 0.606016C15.85 0.896016 16 1.25602 16 1.66602C16 1.76602 15.99 1.86602 15.96 1.96602C15.93 2.06602 15.91 2.15602 15.87 2.24602C15.8 2.42602 15.74 2.61602 15.68 2.80602C15.62 2.99602 15.58 3.19602 15.54 3.39602L17.82 5.67602H20V12.656L17.17 13.586L15.49 19.186H9.99V17.186H7.99V19.186H2.51V19.176ZM4.01 17.176H6.01V15.176H12.01V17.176H14.01L15.56 12.026L18.01 11.196V7.66602H17.01L13.51 4.16602C13.51 3.83602 13.53 3.51602 13.57 3.20602C13.61 2.89602 13.67 2.58602 13.76 2.26602C13.28 2.39602 12.85 2.62602 12.48 2.95602C12.11 3.28602 11.85 3.68602 11.68 4.16602H5.5C4.53 4.16602 3.71 4.50602 3.02 5.19602C2.33 5.88602 1.99 6.70602 1.99 7.67602C1.99 9.30602 2.22 10.906 2.67 12.466C3.12 14.026 3.56 15.596 4 17.176H4.01Z" fill="%230064A1"/></svg>')
    no-repeat center;
}

#project a::before {
  content: "";
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="21" viewBox="0 0 18 21" fill="none"><path d="M2 20.166C1.45 20.166 0.98 19.966 0.59 19.576C0.2 19.186 0 18.716 0 18.166V4.16602C0 3.61602 0.2 3.14602 0.59 2.75602C0.98 2.36602 1.45 2.16602 2 2.16602H6.2C6.42 1.56602 6.78 1.08602 7.29 0.716016C7.8 0.346016 8.37 0.166016 9 0.166016C9.63 0.166016 10.2 0.346016 10.71 0.716016C11.22 1.08602 11.58 1.56602 11.8 2.16602H16C16.55 2.16602 17.02 2.36602 17.41 2.75602C17.8 3.14602 18 3.61602 18 4.16602V18.166C18 18.716 17.8 19.186 17.41 19.576C17.02 19.966 16.55 20.166 16 20.166H2ZM2 18.166H16V4.16602H2V18.166ZM4 16.166H11V14.166H4V16.166ZM4 12.166H14V10.166H4V12.166ZM4 8.16602H14V6.16602H4V8.16602ZM9 3.41602C9.22 3.41602 9.4 3.34602 9.54 3.20602C9.68 3.06602 9.75 2.88602 9.75 2.66602C9.75 2.44602 9.68 2.26602 9.54 2.12602C9.4 1.98602 9.22 1.91602 9 1.91602C8.78 1.91602 8.6 1.98602 8.46 2.12602C8.32 2.26602 8.25 2.44602 8.25 2.88602C8.25 3.06602 8.32 3.06602 8.46 3.20602C8.6 3.34602 8.78 3.41602 9 3.41602Z" fill="white"/></svg>')
    no-repeat center;
  display: inline-block;
  height: 20px;
  width: 18px;
  position: relative;
  top: 4px;
  margin-right: 10px;
}

/** About Page **/
.hover-card:hover {
  background-color: #0064a1 !important;
  color: #fff !important;
}
.hover-card:hover p {
  color: #fff !important;
}
.hover-card:hover .icon object,
.hover-card:hover .icon img {
  transition: filter 0.2s ease;
  filter: brightness(0) invert(1);
}

/** About page: Scroll Bar Styling **/
.bio-column-about {
  max-height: 709px;
}
.bio-group-about {
  max-height: 425px;
  overflow-y: scroll;
  direction: rtl;
}
.bio-group-about::-webkit-scrollbar {
  width: 24px;
}
.bio-group-about::-webkit-scrollbar-thumb {
  background-color: #fff;
  border-radius: 24px;
  border: 1px solid #fff;
}
.bio-group-about::-webkit-scrollbar-thumb {
  min-height: 127px;
}
.bio-group-about::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 10px;
  position: relative;
  background-image: linear-gradient(
    to right,
    transparent 12px,
    white 13px,
    white 11px,
    transparent 11px
  );
}
.bio-group-about p {
  direction: ltr;
}

/* Expand Collapse */
.collapse-trigger-about
  div[aria-expanded="true"]
  .wp-block-group
  .wp-block-buttons
  .find-more-expand
  a::after {
  content: "×";
  font-size: 3rem;
  position: relative;
  top: 3px;
  left: 24px;
  line-height: 0.75;
  font-weight: 300;
}
.collapse-trigger-about
  div[aria-expanded="false"]
  .wp-block-group
  .wp-block-buttons
  .find-more-expand
  a::after {
  content: "+";
  font-size: 3rem;
  position: relative;
  top: 6px;
  left: 24px;
  line-height: 0.75;
  font-weight: 300;
}
.gasoc-carousel div {
  overflow: visible;
}

.gasoc-carousel .wp-block-cover .wp-block-cover__image-background {
  border-radius: 24px 0 0 24px;
}

/* ABOUT page Tabs */
.about-tabs-tours .tpgb-tab-li.active svg path,
.tpgb-tab-li:active svg path {
  fill: #fff !important;
  color: #fff !important;
}
.about-tabs-tours .tpgb-tab-li:hover svg path {
  fill: #fff !important;
  color: #fff !important;
}
.about-tabs-tours .tpgb-tab-li .tpgb-tab-header.active svg path {
  fill: #fff !important;
}
.about-tabs-tours .tpgb-tabs-wrapper .tpgb-tabs-nav {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.about-tabs-tours .tpgb-tab-li {
  align-items: stretch;
  justify-content: center;
  align-content: center;
  width: 200px;
}
.word-break-style .wp-block-group {
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
}

/********************************/
/** Accountability Page - Table **/
/********************************/

.grant-table-acc tbody tr:nth-child(even) td {
  background: #fff;
  color: #000;
}

.grant-table-acc td:first-child {
  color: #000;
  font-weight: 700;
}
.grant-table-acc td:nth-child(2) {
  background-color: #0064a1;
  color: #fff;
}
.grant-table-acc td:nth-child(3) {
  background-color: #0064a199;
  color: #fff;
}
.grant-table-acc td:nth-child(4) {
  background-color: #82aec9;
  color: #fff;
}
.grant-table-acc tr:last-child td:nth-child(1),
.grant-table-acc tr:nth-last-child(2) {
  color: #0064a1;
}
.grant-table-acc thead th,
.grant-table-acc td {
  padding: 20px;
}
.grant-table-acc tr td:first-child {
    text-align: center;
}
.total-grant-funds-acc tr td:first-child,
thead tr th:first-child {
    text-align: center;
}



/*** Font color change on Scroll **/

body {
  min-height: 200vh;
}
.scroll-paragraph {
  line-height: 1.8;
  padding: 48px 0px;
  font-size: 36px;
}
.scroll-paragraph span {
  color: #82aec9;
  transition: color 250ms ease; /* smooth step per line */
  line-height: 1.83;
  letter-spacing: 0.72px;
  display: inline;
  white-space: normal;
}
.scroll-paragraph span.active {
  color: #fff;
}

/* Disable animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-paragraph span {
    transition: none;
  }
}

/*** Font color Change - About section ***/

.scroll-paragraph-about {
  font-size: 36px;
  line-height: 1.833;
  display: inline;
  color: #a1a1a1;
  white-space: normal;
  transition: color 250ms ease; /* smooth step per line */
}
.scroll-paragraph-about span.active {
  color: #0064a1;
}
/* Respect accessibility: disable animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-paragraph-about span {
    transition: none;
  }
}

/*** Footer ***/
.hr-rotate {
  transform: rotate(90deg);
}




/***************************/
/*     other.css Code      */
/**************************/
/* Other Styles */

.has-border-radius img,
.has-border-radius div:first-child {
    border-radius: 24px !important;
}
.tpgb-hotspot-inner {
    overflow:visible !important;
}

/* About Page */
.about-tabs-tours span svg {
    margin-bottom: 16px;
}
.about-tabs-tours span {
    font-size: 16px;
}
.about-tabs-tours .wp-block-columns {
    min-height: 500px;
}
.gasoc-carousel .splide__slide {
    max-width: 1200px;
}
.collapse-trigger-about div[aria-expanded="false"] .wp-block-group .wp-block-buttons .find-more-expand a::after,
.collapse-trigger-about div[aria-expanded="true"] .wp-block-group .wp-block-buttons .find-more-expand a::after {
    top:6px !important;
    left:5px !important;
}
.map_container .map_render div {
    overflow: visible !important;
}

/********************************/
/** Accountability Page - Table **/
/********************************/

.total-grant-funds-acc td:nth-child(2) {
    background: #0064A1;
    color: #fff;
}
.total-grant-funds-acc td:nth-child(3) {
    background: #82AEC9;
    color: #fff;
}
.total-grant-funds-acc td, .total-grant-funds-acc thead th {
    padding: 20px;
}


.media-text-acc .wp-block-media-text__content {
    padding: 40px 0px;
}
.media-text-acc .wp-block-media-text__media {
    padding: 60px;
}
.wp-block-button.funding-map-btn .wp-block-button__link:hover {
    color: #fff !important;
    background: transparent !important;
}


/****************/
/** Apply Page **/
/****************/


.application-process-sticky {
    top:0;
    z-index: 10;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 60px;
    letter-spacing: 2px;
    display: flex;
    float: inline-start;
    position: sticky;
    align-items: flex-end;
}

.vertical-text {
    max-width: 197px;
    padding: 125px 60px !important;
    margin: 0 !important;
}
.grant-info-carousel .wp-block-columns .wp-block-column {
    min-height: 375px;
    display: flex;
    align-items: center;
}
.grant-info-carousel div {
    overflow:visible;
}
.funding-type-tab .wp-block-columns .wp-block-column {
    height: 400px;
    display: flex;
    align-items: center;
}
.resources-about .wp-block-column {
    align-content: center;
}
.grant-icon-text, .home-icon-text {
    display: grid !important;
    grid-auto-rows: 1fr;
    gap: 60px;
    max-width: 100%;
    column-gap: clamp(16px, 3.5715vw, 60px) !important;
}
.grant-icon-text, .home-icon-text {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: clamp(12px, 2.381vw, 40px) !important;
}
.home-icon-text {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}


/* NEWS */
.post-row-gap {
    row-gap: 60px;
}

/* Pagination Block */
.wp-block-query-pagination-numbers {
    margin: 0 !important;
    padding: 8px 0;
}
.wp-block-query-pagination-numbers span.page-numbers,
.wp-block-query-pagination-numbers a.page-numbers {
    padding: 7px 13px;
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--base);
    margin: 3px;
}
.wp-block-query-pagination-numbers span.page-numbers.current {
    background-color: var(--wp--preset--color--primary);
}
.wp-block-query-pagination-numbers span.page-numbers:hover,
.wp-block-query-pagination-numbers a.page-numbers:hover {
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--base) !important;
}

.pr-title-hover-color a:hover {
    color: #c1c1c1 !important;
}
.news-title-hover-color a:hover{
    color: #0064a18a !important;
}

.read-more-btn {
    margin: 0 !important;
}
.pr-read-more-btn {
    background: transparent;
}
.pr-read-more-btn:hover, .pr-read-more-btn:active {
    color: #C1C1C1 !important;
}
.read-more-btn:hover, .read-more-btn:active {
    color: #0064a18a !important;
}
.read-more-btn:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 34.217px;
    margin-right: 12px;
    vertical-align: middle;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="35" height="25" viewBox="0 0 35 25" fill="none"><path d="M34.533 12.1379L22.563 24.1379L20.169 21.7379L28.0008 13.8522L0.333007 13.8522L0.333007 10.4237L28.0008 10.4237L20.1348 2.53794L22.5801 0.13794L34.5501 12.1379L34.533 12.1379Z" fill="%230064A1"/></svg>') no-repeat center;
    background-size: contain;
}
.read-more-btn:hover:before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35' height='25' viewBox='0 0 35 25' fill='none'><path d='M34.533 12.1379L22.563 24.1379L20.169 21.7379L28.0008 13.8522L0.333007 13.8522L0.333007 10.4237L28.0008 10.4237L20.1348 2.53794L22.5801 0.13794L34.5501 12.1379L34.533 12.1379Z' fill='%230064a18a'/></svg>") no-repeat center;
    background-size: contain;
}
.pr-read-more-btn:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 34.217px;
    margin-right: 12px;
    vertical-align: middle;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="35" height="25" viewBox="0 0 35 25" fill="none"><path d="M34.533 12.1379L22.563 24.1379L20.169 21.7379L28.0008 13.8522L0.333007 13.8522L0.333007 10.4237L28.0008 10.4237L20.1348 2.53794L22.5801 0.13794L34.5501 12.1379L34.533 12.1379Z" fill="%23FFFFFF"/></svg>') no-repeat center;
    background-size: contain;
}
.pr-read-more-btn:hover:before {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='35' height='25' viewBox='0 0 35 25' fill='none'><path d='M34.533 12.1379L22.563 24.1379L20.169 21.7379L28.0008 13.8522L0.333007 13.8522L0.333007 10.4237L28.0008 10.4237L20.1348 2.53794L22.5801 0.13794L34.5501 12.1379L34.533 12.1379Z' fill='%23c1c1c1'/></svg>") no-repeat center;
    background-size: contain;
}
.pagination-pages .page-numbers.current {
    background: transparent !important;
    color: #000 !important;
}
.pagination-pages .page-numbers {
    color: #0064A1 !important;
    background: transparent !important;
}
.pagination-pages .page-numbers.current:hover,
.pagination-pages .page-numbers:hover {
    color:#A1A1A1 !important;
}

.pr-pagination-pages .page-numbers.current {
    background: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
}
.pr-pagination-pages .page-numbers {
    color: #fff !important;
    background: transparent !important;
    text-decoration: underline !important;
}
.pr-pagination-pages .page-numbers.current:hover,
.pr-pagination-pages .page-numbers:hover {
    color:#A1A1A1 !important;
}
.news-row:not(:has(.pagination-pages)) .hr-news { 
    display: none; /* Hide Horizontal Rule when no Pagination exists) */
} 
.pr-row:not(:has(.pr-pagination-pages)) .hr-pr { 
    display: none; /* Hide Horizontal Rule when no Pagination exists) */
} 
.image-fit-content img {
    object-fit: contain !important;
}



/* Gravity Forms Labels and Other Tweaks */
.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .gfield_label {
    margin: 0;
    padding: 0 0 6px;
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--custom--form--default--input--typography--font-family);
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--form--default--input--typography--font-weight);
    line-height: 1;
}
.gform_wrapper.gravity-theme label.gform-field-label--type-sub {
    margin-top: 6px;
}
/* Adjust the height of the SELECT field to match INPUT fields */
.gform_wrapper.gravity-theme .gfield select {
    padding-top: calc(var(--wp--custom--form--default--input--spacing--padding--top) - 2px) !important;
    padding-bottom: calc(var(--wp--custom--form--default--input--spacing--padding--bottom) - 2px) !important;
}
.gform_wrapper.gravity-theme .gfield_required {
    color: var(--wp--preset--color--primary);
}
/* END - Gravity Forms Tweaks */





/* AJAX LOAD MORE */


@media screen and (max-width:991.98px){
    ul.alm-listing.alm-ajax {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        display: grid !important;
    }
}
@media screen and (max-width:781.98px){
    ul.alm-listing.alm-ajax {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
        display: grid !important;
    }
}
ul.alm-listing.alm-ajax {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 40px);
}
.post-card-container {
    border: 1px solid var(--wp--preset--color--primary);
    height: 100%;
    padding:0 !important;
}
.post-card-content {
    margin-top: 0;
    margin-bottom: 0;
    padding: var(--wp--preset--spacing--40);
}
.post-card-content h3 {
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.8px;
    padding:0px;
    font-size: clamp(1rem, 2.5vw, 1.75rem) !important;

}
#ajax-load-more .post-card-content h3 a {
    color:#000;
}
p.entry-meta.post-date {
    padding: 20px 0px;
    font-size: 14px
}
.post-excerpt {
    font-style: normal;
    font-weight: 400;
    line-height: 1.71;
    letter-spacing: 0.56px;
    padding: 0 0 24px 0;
    font-size: 16px !important;
}
a.read-more-link {
    font-style: normal;
    font-weight: 400;
    line-height: 2;
    text-decoration: none;
    letter-spacing: 0.56px;
    border-width: 0px;
    padding:0px;
    color: var(--wp--preset--color--primary);
    font-size: 18px;
}
.post-card-cover {
    background-size: cover;
    min-height: 250px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--wp--preset--color--primary);
}
div#ajax-load-more. #ajax-load-more-2 {
    margin-top: var(--wp--preset--spacing--60);
}
#ajax-load-more-2 .post-card-container {
    border: 1px solid #fff;
    height: 100%;
    padding:0 !important;
}
#ajax-load-more-2 a.read-more-link {
    color:#fff !important;
}
a.read-more-link:before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 15px;
    margin-right: 6px;
    vertical-align: middle;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="15" viewBox="0 0 35 25" fill="none"><path d="M34.533 12.1379L22.563 24.1379L20.169 21.7379L28.0008 13.8522L0.333007 13.8522L0.333007 10.4237L28.0008 10.4237L20.1348 2.53794L22.5801 0.13794L34.5501 12.1379L34.533 12.1379Z" fill="%230064A1"/></svg>') no-repeat center;
    background-size: contain;
}
#ajax-load-more-2 a.read-more-link:before {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="15" viewBox="0 0 35 25" fill="none"><path d="M34.533 12.1379L22.563 24.1379L20.169 21.7379L28.0008 13.8522L0.333007 13.8522L0.333007 10.4237L28.0008 10.4237L20.1348 2.53794L22.5801 0.13794L34.5501 12.1379L34.533 12.1379Z" fill="%23FFFFFF"/></svg>') no-repeat center;
}
.alm-btn-wrap {
  display: none !important;
}
.post-card-content a:not(.btn):not(.wp-block-button__link):hover, 
a:not(.btn):not(.wp-block-button__link):focus,
#ajax-load-more .post-card-content h3 a:hover  {
    color: #a1a1a1 !important;
}

#ajax-load-more .alm-load-more-btn {
    background: #0064A1;
    border: 1px solid #0064A1;
    font-size: 22px !important;
    font-weight: 400 !important;
    color:#fff;
}

#ajax-load-more-2 .alm-load-more-btn {
    background: #fff;
    border: 1px solid #fff;
    font-size: 22px !important;
    font-weight: 400 !important;
    color:#0064a1;
}

