/*
Open Blocks
*/

:root { 
  --cty-op-bg: #fafafa; 
}

.fg-white { color:white; }

.cardo { background-color:var(--cty-bg-card); color:var(--cty-default-fg); width:100%; height:100%; }
.cardo a { display:block; width:100%; height:100%; text-decoration:none; color:inherit; }
.cardo a:hover { color:inherit; text-decoration:none; }

.cardo-image { display:block; }
.cardo-img { width:100%; padding-bottom:100%; background-position:center center; background-size:cover; }

.cardo-content { padding:1.5rem; }


.demo-gradient {
  background: #833AB4;
  background: linear-gradient(13deg,rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}
.demo-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='40' viewBox='0 0 24 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c5.523 0 10-4.477 10-10V0C4.477 0 0 4.477 0 10v30zm22 0c-5.523 0-10-4.477-10-10V0c5.523 0 10 4.477 10 10v30z' fill='%23FFFFFF' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* also used used in op-single-card, domino etc. */

.op-subhead { font-weight:700; font-size:0.9rem; text-transform:uppercase; margin-bottom:0.5rem; text-wrap:balance; }
.op-headline { font-weight:700; font-size:1.2rem; margin-bottom:0.5rem; text-wrap:balance; }
.op-text { font-size:1rem; margin-bottom:0.5rem; text-wrap:balance; }

/*
.o-cta { display:inline-block; font-size:0.9rem; text-transform:uppercase; background-color:black; color:white; padding:0.25rem 0.75rem; margin-top:1rem; }
.oc-cta a { color:white; text-decoration:none; }
.oc-cta a:hover { color:white; text-decoration:none; }
.oc-cta span::after {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 6 Pro";
  font-weight: 400;
  content: "\f178"; 
  content: "\203a"; 
  padding-left: 8px;
}
*/


/* simple slider */

.op-swiper-hold { position:relative; }

.op-swiper-next, .op-swiper-prev {
  display: flex;
  position: absolute;
  top: var(--swiper-navigation-top-offset,40%);
  width: 48px;
  height: 48px;
  margin-top: -24px;
  z-index: 10;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  background-color: var(--cty-alink);
  font-size:30px;
  color: #fff;
  border-radius:24px;
}
.op-swiper-prev { left:-22px; }
.op-swiper-next { right:-22px; }



/* hero-image */

.op-hero-image { width:100%; }
.op-hero-image-xs { display:block; width:100%; padding-bottom:100%; background-position:center center; background-size:cover; }
.op-hero-image-md { display:none; width:100%; padding-bottom:66%; background-position:center center; background-size:cover; }
.op-hero-image-lg  { display:none; width:100%; padding-bottom:33%; background-position:center center; background-size:cover; }
.op-hero-image-xl  { display:none; width:100%; padding-bottom:33%; background-position:center center; background-size:cover; }

@media all and (min-width: 768px) {
  .op-hero-image-xs { display:none; }
  .op-hero-image-md { display:block; }
}

@media all and (min-width: 992px) {
  .op-hero-image-md { display:none; }
  .op-hero-image-lg { display:block; }
}
@media all and (min-width: 1200px) {
  .op-hero-image-lg { display:none; }
  .op-hero-image-xl { display:block; }
}


/* hero-video */

.op-hero-video {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center; /* center vertically */
  justify-content: center; /* center horizontally */
  overflow: hidden;
}

.op-hero-video-video {
  position: absolute;
  width: 100%; 
  height:100%; 
  object-fit: cover; 
  object-position: center;
}

.op-hero-video-cover {
  position: absolute;
  width: 100%; 
  height:100%; 
  background-color:rgba(0,0,0,0.25);
}

.op-hero-video-content {
  position: relative;
  text-align: center;
  padding: 3rem;
  max-width: 992px;
}

/* hero-card */

.op-hero-card {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center; /* center vertically */
  justify-content: center; /* center horizontally */
  overflow: hidden;
}

.op-hero-card-image { 
  position: absolute;
  width: 100%; 
  height:100%; 
  background-size: cover; 
  background-position: center center;
}

.op-hero-card-cover {
  position: absolute;
  width: 100%; 
  height:100%; 
  background-color:rgba(0,0,0,0.25);
}

.op-hero-card-content {
  position: relative;
  text-align: center;
  padding: 3rem;
  max-width: 992px;
}



/* single card */

.op-single-card { width:100%; margin:0; }

.op-single-card-image { width:100%; background-position:center center; background-size:cover; }
.op-single-card-content { width:100%; height:inherit; display:flex; }
.op-single-card-content-hold { width:100%; padding:1rem; text-align:center; }



/* box-card */

.box-card { 
  height:100%;
  background-color:#2f3130; color:white;
}

.box-card a { display:block; height:100%; min-height: inherit; text-decoration:none; color:inherit; }

.box-card:hover a { text-decoration:none; color:inherit; min-height: inherit; }

.box-card-flex {
  position: relative;
  min-height: inherit;
  height:100%;
  display: flex;
  align-items: center; /* center vertically */
  justify-content: center; /* center horizontally */
  overflow: hidden;
  text-decoration:none;
}

.box-card-image { 
  position: absolute;
  width: 100%; 
  height:100%; 
  background-size: cover; 
  background-position: center center;
}

.box-card-cover {
  position: absolute;
  width: 100%; 
  height:100%; 
  background-color:rgba(0,0,0,0.25);
}

.box-card-content {
  position: relative;
  text-align: center;
  padding: 1rem;
  max-width: 992px;
}



/* domino-cards */

.op-domino-hold { width:100%; margin:0; }
.op-domino-bg { display:block; }
.op-domino-row { display:block; width:100%; margin:0 auto; } /* apply max-width here as needed */
.op-domino-image { display:block; }
.op-domino-image-img { display:block; width:100%; padding-bottom:80%; background-size:cover; background-position:center center; }
.op-domino-content { display:block; padding:1.5rem; }

.op-domino-flex {
  display: flex;
  align-items: center; /* center vertically */
  justify-content: center; /* center horizontally */
}
.op-domino-flex > div { width:100%; }

@media all and (min-width: 768px) {
	.op-domino-row { display:flex; }
	.op-domino-row-reverse { flex-direction: row-reverse; }
	.op-domino-image  { width:50%; padding:0; }
  .op-domino-image-img { width:100%; height:100%; padding:0; }
	.op-domino-content { width:50%; padding:2rem; }
  .op-domino-flex { min-height: 400px; }
}
@media all and (min-width: 992px) {
	.op-domino-content { padding:2.5rem; }
}
@media all and (min-width: 1200px) {
	.op-domino-content { padding:3rem;; }
}

/* styling example */
.barista-example {
  .op-domino-row { max-width:1440px; }
  .op-domino-bg-odd { background-color:#eee; }
  .op-domino-bg-even { background-color:#ccc; }
}




/* fauxgram */

.fauxgram { width:100%; }

.fauxgram-row { width:100%; display:flex; }
.fauxgram-follow { width:100%; }
.fauxgram-follow a { display:flex; width:100%; height:100%; padding:60px 30px; align-items:center; text-decoration:none; color:white; }
.fauxgram-follow a:hover { color:white; text-decoration:none; }
.fauxgram-follow a div { width:100%; text-align:center; }

.fauxgram-icon { font-size:46px; line-height:1;  margin-bottom:0.75rem;  }
.fauxgram-headline { font-weight:700; font-size:1.8rem; line-height:1.2; margin-bottom:0.75rem; text-wrap:balance; }
.fauxgram-handle { font-weight:700; font-size:0.9rem; line-height:1.2; text-wrap:balance; }

.fauxgram-cell { width:50%; }
.fauxgram-img { width:100%; padding-bottom: 133%; background-size:cover; background-position:center center; }

@media all and (min-width: 992px) {
  .fauxgram { width:100%; display:flex; }
  .fauxgram-row { width:40%; }
  .fauxgram-follow { width:20%; }
}




/* rotating logo marquee */
/* https://ryanmulligan.dev/blog/css-marquee/ */

.op-marquee {
  --gap: 3rem;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  color:inherit;
  padding:0; 
  margin:0;
}

ul.op-marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  list-style:none;
  margin:0;
  padding:0;
}

ul.op-marquee-content li { width:180px; }

.op-marquee-logo-img { width:180px; height:120px; background-position:center center; background-size: contain; background-repeat:no-repeat; }

@keyframes scrollmarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
.op-marquee-content {
  animation: scrollmarquee 30s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .op-marquee-content {
    animation-play-state: paused !important;
  }
}
/*.op-marquee:hover .op-marquee-content {
  animation-play-state: paused;
}*/



  /* stat cards */

.oly-stat-cards { margin:1.5rem 0; }
.oly-stat-card { width:100%; height:100%; border:1px solid #eee; padding:1rem; text-align:center; }
.oly-stat-card-a { display:block; }
.oly-stat-card-b { display:block; }
.oly-stat-card-a-lg { font-size:1.1rem; }
.oly-stat-card-b-md { font-size:1rem; }
.oly-stat-card-b-sm { font-size:0.9rem; }

/* swiper support */

.oly-swiper-container { margin:1.5rem 0; position:relative; }


.oly-swiper-button-next, .oly-swiper-button-prev {
  display: flex;
  position: absolute;
  z-index: 10;
  top:50%;
  left:-24px;
  background-color: black;
  border: 0;
  color: white;
  padding: 0 !important;
  font-size: 30px;
  line-height: 48px;
  height: 48px;
  width: 48px;
  margin-top: -24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 250ms ease;
  }
  .oly-swiper-button-next {
    left:auto; right:-24px;
  }

.oly-basic-carousel-image { background-position:center center; background-size:cover;  }

.oly-basic-carousel-caption { position:absolute; left:0px; bottom:0px; color:white; background-color:rgba(0,0,0,0.60); padding:0.5rem 1rem; }

.oly-pagination-below { width:100%; height:0px; }


/* swiper native */

.swiper-slide {
  height: auto; /* this allows all cards to be 100% height */
}

.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  top: auto;
  bottom:0px;
  left: 0;
  width: 100%;
  height:40px;
}

.swiper-pagination {
  background-color:inherit;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
}

.swiper-pagination-bullet { 
  width: 16px;
  height: 16px;
  display: inline-block;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px;
}

