/**
 * Actions Module Section
 */

.simple-block-actions {
  margin: 0;
  padding: clamp(1.5rem, 1.25rem + 0.625vw, 2.5rem) 0 0 0 !important;
  width: 100%;
  box-sizing: border-box;
}

.case-study-content-col .simple-block-actions {
  margin: 0 !important;
  padding: 0 !important;
  margin-top: clamp(1.5rem, 1.25rem + 0.625vw, 2.5rem) !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

@media (min-width: 90rem), (min-width: 1440px) {
  .case-study-content-col .simple-block-actions {
    margin-top: 2.222vw !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
}

.simple-actions-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--spacing-sm, 16px) !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
}

.simple-block-actions .morae-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.67665em !important;
  padding: 0 1em !important;
  font-family: var(--morae-btn-font, var(--morae-font)) !important;
  font-size: clamp(0.9375rem, 0.9001rem + 0.1596vw, 1.04375rem) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  min-height: 3.3533em !important;
  height: 3.3533em !important;
  width: fit-content !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.simple-block-actions .morae-btn svg,
.simple-block-actions .morae-btn .morae-btn-icon {
  width: 1.25em !important;
  height: 1.25em !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.simple-block-actions .morae-btn:hover svg,
.simple-block-actions .morae-btn:hover .morae-btn-icon {
  transform: translateX(3px) !important;
}

.simple-block-actions .morae-btn-primary {
  background-color: #e03100 !important;
  color: #ffffff !important;
  border: 1px solid #e03100 !important;
}

.simple-block-actions .morae-btn-primary:hover {
  background-color: #c92c00 !important;
  border-color: #c92c00 !important;
  color: #ffffff !important;
}

.simple-block-actions .morae-btn-secondary {
  background-color: transparent !important;
  color: #0f0f0f !important;
  border: 1px solid #0f0f0f !important;
  transition: all 0.2s ease !important;
}

.simple-block-actions .morae-btn-secondary:hover {
  background-color: #0f0f0f !important;
  border-color: #0f0f0f !important;
  color: #ffffff !important;
}

.simple-block-actions .morae-btn-secondary:hover svg {
  fill: #ffffff !important;
}

.simple-block-actions .morae-btn-naked {
  background-color: transparent !important;
  color: #0f0f0f !important;
  border: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.simple-block-actions .morae-btn-naked:hover {
  color: #e03100 !important;
}

/* Size variants */
.simple-block-actions .morae-btn-size-sm {
  min-height: 2.8em !important;
  height: 2.8em !important;
  padding: 0 0.85em !important;
  font-size: clamp(0.8125rem, 0.775rem + 0.16vw, 0.9375rem) !important;
  gap: 1.15em !important;
}

.simple-block-actions .morae-btn-size-default {
  min-height: 3.3533em !important;
  height: 3.3533em !important;
  padding: 0 1em !important;
  font-size: clamp(0.9375rem, 0.9001rem + 0.1596vw, 1.04375rem) !important;
  gap: 1.67665em !important;
}

.simple-block-actions .morae-btn-size-lg {
  min-height: 3.6em !important;
  height: 3.6em !important;
  padding: 0 1.25em !important;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem) !important;
  gap: 1.8em !important;
}

.simple-block-actions .morae-btn-size-xl {
  min-height: 3.888vw !important;
  height: 3.888vw !important;
  padding: 0 1.5em !important;
  font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem) !important;
  gap: 1.944vw !important;
}

@media (min-width: 90rem), (min-width: 1440px) {
  .simple-block-actions .morae-btn {
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
    min-height: 3.888vw !important;
    height: 3.888vw !important;
    padding: 0 1.15972vw !important;
    gap: 1.944vw !important;
  }
  .simple-block-actions .morae-btn svg,
  .simple-block-actions .morae-btn .morae-btn-icon {
    width: 1.15972vw !important;
    height: 1.15972vw !important;
  }
}

/* Video Button in Actions Module */
.simple-actions-wrap .morae-video-btn-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.morae-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.morae-video-btn:focus-visible {
  outline: 2px solid #ff3600;
  outline-offset: 3px;
  border-radius: 2px;
}

.morae-video-btn-thumb {
  position: relative;
  width: 82px;
  height: 48px;
  aspect-ratio: 16 / 9;
  border-radius: 2px;
  overflow: hidden;
  background-color: #1a1a1a;
  flex-shrink: 0;
}

.morae-video-btn-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.morae-video-btn-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #262626 0%, #1a1a1a 100%);
}

.morae-video-btn:hover .morae-video-btn-thumb-img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.morae-video-btn-play-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.35);
  transition: background-color 0.2s ease;
  z-index: 1;
}

.morae-video-btn:hover .morae-video-btn-play-wrap {
  background-color: rgba(0, 0, 0, 0.15);
}

.morae-video-btn-play-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #262626;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}


.morae-video-btn-play-circle svg {
  width: 10px;
  height: 10px;
  margin-left: 1.5px;
  fill: currentColor;
}

.morae-video-btn-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.morae-video-btn-title {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--tab-heading, #262626);
  line-height: 1.3;
  margin: 0 0 2px 0;
  display: block;
  transition: color 0.2s ease;
}



.morae-video-btn-supporting {
  font-family: var(--morae-font, 'IBM Plex Sans', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: var(--tab-text-muted, #595959);
  line-height: 1.35;
  display: block;
  max-width: 280px;
}

.morae-video-btn-size-sm .morae-video-btn-thumb {
  width: 70px;
  height: 40px;
}
.morae-video-btn-size-sm .morae-video-btn-title {
  font-size: 13px;
}
.morae-video-btn-size-sm .morae-video-btn-supporting {
  font-size: 11px;
}
.morae-video-btn-size-sm .morae-video-btn-play-circle {
  width: 20px;
  height: 20px;
}
.morae-video-btn-size-sm .morae-video-btn-play-circle svg {
  width: 8px;
  height: 8px;
}

.morae-video-btn-size-lg .morae-video-btn-thumb {
  width: 96px;
  height: 54px;
}
.morae-video-btn-size-lg .morae-video-btn-title {
  font-size: 15px;
}
.morae-video-btn-size-lg .morae-video-btn-supporting {
  font-size: 13px;
}
.morae-video-btn-size-lg .morae-video-btn-play-circle {
  width: 26px;
  height: 26px;
}

.morae-video-btn-size-xl .morae-video-btn-thumb {
  width: 106px;
  height: 60px;
}
.morae-video-btn-size-xl .morae-video-btn-title {
  font-size: 16px;
}
.morae-video-btn-size-xl .morae-video-btn-supporting {
  font-size: 14px;
}
.morae-video-btn-size-xl .morae-video-btn-play-circle {
  width: 28px;
  height: 28px;
}

@media (min-width: 90rem), (min-width: 1440px) {
  .simple-block-actions .morae-btn {
    font-size: 1.15972vw !important;
    line-height: 1.5 !important;
  }
}


