/* Related Articles Section - Scoped with unique ID */
.tj-related-articles--id4316 {
  position: relative;
  width: 100%;
}

.tj-related-articles--id4316.tj-theme-light {
  background: linear-gradient(0deg, rgba(140, 52, 232, 0.1) 0%, rgba(140, 52, 232, 0.1) 100%), linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.tj-related-articles--id4316.tj-theme-dark {
  background: #1E2024;
  color: #FFFFFF;
}

.tj-related-articles--id4316.tj-theme-primary {
  background: #8C34E8;
  color: #FFFFFF;
}

.tj-related-articles--id4316.tj-theme-secondary {
  background: rgba(140, 52, 232, 0.1);
}

.tj-related-articles--id4316 .tj-related-articles__container {
  position: relative;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 3.12rem 3rem;
}

.tj-related-articles--id4316 .tj-related-articles__heading {
  font-size: 2rem;
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  color: #4B4D50;
  margin: 0 0 2.5rem 0;
}

.tj-related-articles--id4316 .tj-related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Article Card */
.tj-related-articles--id4316 .tj-article-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 3px rgba(16, 24, 40, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tj-related-articles--id4316 .tj-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 12px rgba(16, 24, 40, 0.08);
}

.tj-related-articles--id4316 .tj-article-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.tj-related-articles--id4316 .tj-article-card__content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tj-related-articles--id4316 .tj-article-card__title {
  font-size: 1.12rem;
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 700;
  line-height: 1.22;
  text-align: center;
  color: #1E2024;
  margin: 0;
}

.tj-related-articles--id4316 .tj-article-card__footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Button - using UI Kit base with contextual overrides */
.tj-related-articles--id4316 .tj-article-card__button {
  min-width: 8.31rem;
}

/* Base button styles (from UI Kit) */
.tj-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  font-family: 'Euclid Circular B', sans-serif;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.tj-button--outline {
  background: transparent;
  border: 3px solid #1E2024;
  color: #1E2024;
}

.tj-button--outline:hover {
  background: #1E2024;
  color: #FFFFFF;
}

/* Responsive Breakpoints */
@media (max-width: 1023px) {
  .tj-related-articles--id4316 .tj-related-articles__container {
    padding: 3.12rem 2.06rem;
  }
}

@media (max-width: 767px) {
  .tj-related-articles--id4316 .tj-related-articles__container {
    padding: 2.81rem 1.87rem;
  }

  .tj-related-articles--id4316 .tj-related-articles__heading {
    font-size: 1.43rem;
    margin-bottom: 2rem;
  }

  .tj-related-articles--id4316 .tj-related-articles__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 649px) {
  .tj-related-articles--id4316 .tj-related-articles__container {
    padding: 1.93rem 1.62rem;
  }

  .tj-related-articles--id4316 .tj-related-articles__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tj-related-articles--id4316 .tj-article-card {
    max-width: 100%;
  }
}

@media (max-width: 449px) {
  .tj-related-articles--id4316 .tj-related-articles__container {
    padding: 1.18rem;
  }

  .tj-related-articles--id4316 .tj-article-card__content {
    padding: 1.5rem;
  }

  .tj-related-articles--id4316 .tj-article-card__footer {
    padding: 1.5rem;
  }
}



<style>
/* =========================
   CTA BUTTON (LOCAL)
========================= */

.ftl-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 56px;
  padding: 0 28px;

  font-family: 'Euclid Circular B', Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;

  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;

  border-radius: 999px;
  overflow: hidden;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.ftl-hero__cta-text {
  position: relative;
  z-index: 2;
  color: #1E2024;
}

.ftl-hero__cta:hover {
  filter:
    drop-shadow(0 0 3px rgba(251, 64, 26, 0.85))
    drop-shadow(0 0 6px rgba(251, 64, 26, 0.45));

  transform: translateY(-2px);
}

.ftl-hero__cta:focus-visible {
  outline: 2px solid #fb401a;
  outline-offset: 3px;
}

/* optional – da lepo legne u card */
.tj-article-card__button {
  margin-top: auto;
}
</style>