/**
 * Nora Feature Cards Block Styles
 * Follows BEM conventions prefixed with .nora-feature-cards
 * Design matching live reference: https://nordhealth.ai/nora/en/
 */
.nora-feature-cards {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--nora-fc-section-bg, #f3f5fc);
}
.nora-feature-cards--padding-compact {
  padding: 40px 0;
}
@media (max-width: 767px) {
  .nora-feature-cards--padding-compact {
    padding: 28px 0;
  }
}
.nora-feature-cards--padding-default {
  padding: 80px 0;
}
@media (max-width: 1024px) {
  .nora-feature-cards--padding-default {
    padding: 60px 0;
  }
}
@media (max-width: 767px) {
  .nora-feature-cards--padding-default {
    padding: 40px 0;
  }
}
.nora-feature-cards--padding-spacious {
  padding: 120px 0;
}
@media (max-width: 1024px) {
  .nora-feature-cards--padding-spacious {
    padding: 80px 0;
  }
}
@media (max-width: 767px) {
  .nora-feature-cards--padding-spacious {
    padding: 56px 0;
  }
}
.nora-feature-cards__container {
  max-width: var(--wp--style--global--content-size, 1156px);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .nora-feature-cards__container {
    padding: 0 16px;
  }
}
.nora-feature-cards--bg-container .nora-feature-cards__container {
  padding: 56px 40px;
  border-radius: 24px;
}
@media (max-width: 767px) {
  .nora-feature-cards--bg-container .nora-feature-cards__container {
    padding: 32px 16px;
    border-radius: 16px;
  }
}
.nora-feature-cards__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
@media (max-width: 767px) {
  .nora-feature-cards__header {
    margin-bottom: 28px;
  }
}
.nora-feature-cards__heading {
  margin: 0;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  color: #181d27;
}
.nora-feature-cards--heading-default .nora-feature-cards__heading {
  font-size: 36px;
}
@media (max-width: 767px) {
  .nora-feature-cards--heading-default .nora-feature-cards__heading {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
  .nora-feature-cards--heading-default .nora-feature-cards__heading {
    font-size: 24px;
  }
}
.nora-feature-cards--heading-small .nora-feature-cards__heading {
  font-size: 28px;
}
@media (max-width: 767px) {
  .nora-feature-cards--heading-small .nora-feature-cards__heading {
    font-size: 22px;
  }
}
.nora-feature-cards--heading-medium .nora-feature-cards__heading {
  font-size: 36px;
}
@media (max-width: 767px) {
  .nora-feature-cards--heading-medium .nora-feature-cards__heading {
    font-size: 28px;
  }
}
.nora-feature-cards--heading-large .nora-feature-cards__heading {
  font-size: 44px;
}
@media (max-width: 767px) {
  .nora-feature-cards--heading-large .nora-feature-cards__heading {
    font-size: 32px;
  }
}
.nora-feature-cards__intro {
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  color: #535862;
  max-width: 680px;
}
.nora-feature-cards--layout-grid .nora-feature-cards__items-wrapper {
  display: grid;
  box-sizing: border-box;
}
.nora-feature-cards--layout-grid.nora-feature-cards--cols-2 .nora-feature-cards__items-wrapper {
  grid-template-columns: repeat(2, 1fr);
}
.nora-feature-cards--layout-grid.nora-feature-cards--cols-3 .nora-feature-cards__items-wrapper {
  grid-template-columns: repeat(3, 1fr);
}
.nora-feature-cards--layout-grid.nora-feature-cards--cols-4 .nora-feature-cards__items-wrapper {
  grid-template-columns: repeat(4, 1fr);
}
.nora-feature-cards--layout-grid.nora-feature-cards--cols-5 .nora-feature-cards__items-wrapper {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px) {
  .nora-feature-cards--layout-grid.nora-feature-cards--cols-3 .nora-feature-cards__items-wrapper, .nora-feature-cards--layout-grid.nora-feature-cards--cols-4 .nora-feature-cards__items-wrapper, .nora-feature-cards--layout-grid.nora-feature-cards--cols-5 .nora-feature-cards__items-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .nora-feature-cards--layout-grid .nora-feature-cards__items-wrapper {
    grid-template-columns: 1fr !important;
  }
}
.nora-feature-cards--gap-compact .nora-feature-cards__items-wrapper {
  gap: 16px;
}
.nora-feature-cards--gap-default .nora-feature-cards__items-wrapper {
  gap: 24px;
}
.nora-feature-cards--gap-spacious .nora-feature-cards__items-wrapper {
  gap: 36px;
}
@media (max-width: 767px) {
  .nora-feature-cards--gap-spacious .nora-feature-cards__items-wrapper {
    gap: 20px;
  }
}
.nora-feature-cards--layout-alternating .nora-feature-cards__items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.nora-feature-cards--layout-alternating .nora-feature-cards__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}
.nora-feature-cards--layout-alternating .nora-feature-cards__card--reverse {
  flex-direction: row-reverse;
}
.nora-feature-cards--layout-alternating .nora-feature-cards__card .nora-feature-cards__media {
  flex: 1;
  max-width: 480px;
}
.nora-feature-cards--layout-alternating .nora-feature-cards__card .nora-feature-cards__content {
  flex: 1;
  align-items: flex-start;
  text-align: left;
}
@media (max-width: 767px) {
  .nora-feature-cards--layout-alternating .nora-feature-cards__card {
    flex-direction: column !important;
    align-items: center;
    gap: 24px;
  }
  .nora-feature-cards--layout-alternating .nora-feature-cards__card .nora-feature-cards__media {
    max-width: 100%;
  }
  .nora-feature-cards--layout-alternating .nora-feature-cards__card .nora-feature-cards__content {
    align-items: center;
    text-align: center;
  }
}
.nora-feature-cards__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
  border: none;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.nora-feature-cards__card--has-link {
  cursor: pointer;
}
.nora-feature-cards__card--has-link:hover {
  transform: translateY(-4px);
  opacity: 0.95;
}
.nora-feature-cards__media {
  position: relative;
  width: 100%;
  aspect-ratio: 330/440;
  border-radius: 16px;
  overflow: hidden;
  background: var(--nora-fc-card-bg, linear-gradient(180deg, #d8e2ff 0%, #edf1fd 100%));
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nora-feature-cards--card-style-bordered .nora-feature-cards__media {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.nora-feature-cards__card--has-link:hover .nora-feature-cards--card-style-bordered .nora-feature-cards__media {
  box-shadow: 0 12px 32px rgba(12, 26, 61, 0.08);
}
.nora-feature-cards--card-style-flat .nora-feature-cards__media {
  border: none;
  box-shadow: none;
}
.nora-feature-cards--card-style-elevated .nora-feature-cards__media {
  border: none;
}
.nora-feature-cards--shadow-subtle .nora-feature-cards__media {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.nora-feature-cards__card--has-link:hover .nora-feature-cards--shadow-subtle .nora-feature-cards__media {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.nora-feature-cards--shadow-medium .nora-feature-cards__media {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.nora-feature-cards__card--has-link:hover .nora-feature-cards--shadow-medium .nora-feature-cards__media {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}
.nora-feature-cards--shadow-prominent .nora-feature-cards__media {
  box-shadow: 0 16px 48px rgba(12, 26, 61, 0.14);
}
.nora-feature-cards__card--has-link:hover .nora-feature-cards--shadow-prominent .nora-feature-cards__media {
  box-shadow: 0 24px 60px rgba(12, 26, 61, 0.2);
}
.nora-feature-cards__media-img,
.nora-feature-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}
.nora-feature-cards__card:hover .nora-feature-cards__media-img, .nora-feature-cards__card:hover img {
  transform: scale(1.02);
}
.nora-feature-cards__mockup-card {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbe4fc 0%, #edf2fe 100%);
  box-sizing: border-box;
  padding: 32px;
}
.nora-feature-cards__mockup-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(53, 89, 199, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nora-fc-icon-color, #3559c7);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nora-feature-cards__mockup-icon-badge svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  display: block;
}
.nora-feature-cards__card:hover .nora-feature-cards__mockup-icon-badge {
  transform: scale(1.1);
}
.nora-feature-cards__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.nora-feature-cards__card-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--nora-fc-title-color, #181d27);
}
@media (max-width: 1024px) {
  .nora-feature-cards__card-title {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .nora-feature-cards__card-title {
    font-size: 20px;
  }
}
.nora-feature-cards__card-description {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--nora-fc-desc-color, #535862);
}
@media (max-width: 680px) {
  .nora-feature-cards__card-description {
    font-size: 14px;
    line-height: 22px;
  }
}
.nora-feature-cards__card-action {
  margin-top: 6px;
}
.nora-feature-cards__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #3559c7;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.nora-feature-cards__card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.nora-feature-cards__card-link:focus-visible {
  outline: 2px solid #3559c7;
  outline-offset: 4px;
  border-radius: 4px;
}
.nora-feature-cards__card:hover .nora-feature-cards__card-link {
  gap: 10px;
  color: #0c1a3d;
}
.nora-feature-cards__link-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}
.nora-feature-cards__card:hover .nora-feature-cards__link-arrow {
  transform: translateX(3px);
}
