/*
Open Panels
*/

: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; }



/* 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 { 
  background-color:#2f3130; color:white;
}

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

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

.box-card-flex {
  position: relative;
  min-height: 240px;
  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;
}*/



  