/****************************************************************************/
/* HOME Section 2 - Agile learning path from beginner to professional level */
/****************************************************************************/
.apm-audience-section,
.apm-audience-section * {
  font-family: "Barlow" !important;
  box-sizing: border-box;
}

.apm-audience-section {
  background:
    radial-gradient(circle at top left, rgba(217, 154, 74, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(11, 22, 63, 0.08), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8faff 52%, #f3f6fb 100%);
  padding: 90px 24px 95px;
  position: relative;
  overflow: hidden;
}

/* Bal felső körvonalas dekoráció */
.apm-audience-section::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(217, 154, 74, 0.28);
  border-radius: 50%;
  left: -170px;
  top: -140px;
  z-index: 0;
}

/* Jobb alsó tükrözött körvonalas dekoráció */
.apm-audience-section::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(217, 154, 74, 0.28);
  border-radius: 50%;
  right: -170px;
  bottom: -140px;
  z-index: 0;
}

.apm-audience-inner {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.apm-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 26px;
}

.apm-logo-mark span {
  display: block;
  width: 54px;
  height: 2px;
  background: #d99a4a;
}

.apm-logo-mark img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.apm-audience-section h2 {
  max-width: 980px;
  margin: 0 auto;
  color: #0b163f;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.apm-title-line {
  width: 72px;
  height: 3px;
  background: #d99a4a;
  margin: 24px auto 22px;
  border-radius: 999px;
}

.apm-section-subtitle {
  width: 100%;
  max-width: 800px !important;
  margin: 0 auto 52px;
  color: #26324d;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
}

.apm-audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.apm-audience-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 154, 74, 0.14);
  border-radius: 24px;
  padding: 42px 34px 36px;
  box-shadow: 0 20px 45px rgba(11, 22, 63, 0.09);
  transition: all 0.28s ease;
  min-height: 360px;
  position: relative;
  z-index: 2;
}

.apm-audience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(11, 22, 63, 0.14);
  border-color: rgba(217, 154, 74, 0.35);
}

.apm-icon-circle {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #fbf4eb;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.apm-icon-circle::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border-top: 3px solid #d99a4a;
  border-left: 3px solid #d99a4a;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(-16deg);
}

.apm-icon {
  font-size: 34px;
  position: relative;
  z-index: 2;
}

.apm-audience-card h3 {
  color: #0b163f;
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 700;
}

.apm-audience-card p {
  color: #26324d;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 320px;
}

.apm-small-line {
  width: 42px;
  height: 2px;
  background: #d99a4a;
  margin: 26px auto 22px;
  border-radius: 999px;
}

.apm-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto;
  padding: 14px 24px;
  border: 2px solid #0b163f;
  border-radius: 999px;
  background: #0b163f;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.apm-card-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  font-size: 20px;
  line-height: 1;
  transition: all 0.25s ease;
}

.apm-card-link:hover {
  background: #d99a4a;
  border-color: #d99a4a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 22, 63, 0.18);
}

.apm-card-link:hover span {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

@media (max-width: 1024px) {
  .apm-audience-cards {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .apm-audience-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .apm-audience-section {
    padding: 70px 18px;
  }

  .apm-audience-section::before {
    width: 260px;
    height: 260px;
    left: -130px;
    top: -110px;
  }

  .apm-audience-section::after {
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -110px;
  }

  .apm-section-subtitle {
    font-size: 17px;
  }

  .apm-audience-card {
    padding: 34px 24px 32px;
  }

  .apm-logo-mark span {
    width: 38px;
  }

  .apm-card-link {
    width: 100%;
  }
}

/* Mobil teljes szélesség javítás */
@media (max-width: 767px) {
  .apm-audience-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  .apm-audience-inner {
    width: 100% !important;
    max-width: none !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}