/**
 * Styles khusus template: tinggi-keagamaan.php
 * Prefiks kelas: tka- (hero split + modul & produk grid mengikuti perguruan-tinggi-negeri.php / ptn-).
 */
/* ========== SECTION TANTANGAN ========== */
.tka-challenges {
  background: #F8FAFC;
  padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.tka-challenges__header {
  text-align: center;
  max-width: 54rem;
  margin: 0 auto 2.25rem;
  padding: 0 1rem;
}

.tka-challenges__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3954A4;
  margin-bottom: .4rem;
  font-family: 'Inter', sans-serif !important;
}

.tka-challenges__title {
  margin: 0 0 .75rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
}

.tka-challenges__subtitle {
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #6B7280;
  font-family: 'Inter', sans-serif !important;
}

.tka-challenges__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}


.tka-challenges-card {
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, .18);
  border-radius: 1rem;
  padding: 3rem 1rem;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
  transition: box-shadow .22s ease, transform .22s ease;
}

.tka-challenges-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, .08);
  border: 1px solid rgba(59, 130, 246, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  flex-shrink: 0;
}

.tka-challenges-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
  overflow: hidden;
}

.tka-challenges-card__title {
  margin: 0 0 .55rem;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #505050;
  font-weight: 500;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
}

.tka-challenges-card__desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #6B7280;
  font-family: 'Inter', sans-serif !important;
}

.tka-challenges-card:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10);
  transform: translateY(-2px);
}


/* ========== SECTION MODUL & PRODUK (grid kartu) ========== */
.tka-modprods {
  padding: clamp(2.25rem, 4.2vw, 3.75rem) 0;
  background: #ffffff;
}

.tka-modprods__inner {
  width: 100%;
}

.tka-modprods__header {
  text-align: center;
  max-width: 54rem;
  margin: 0 auto 2.25rem;
  padding: 0 1rem;
}

.tka-modprods__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3954A4;
  margin-bottom: .4rem;
  font-family: 'Inter', sans-serif !important;
}

.tka-modprods__title {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: #111827;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
}

.tka-modprods__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.tka-modprods-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-height: 100%;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border-radius: clamp(16px, 2vw, 22px);
  border: 1px solid #E5E7EB;
  background: #ffffff;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif !important;
  transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease, color .22s ease;
}


.tka-modprods-card--featured {
  background: #3F5CB0;
  border-color: #3A559F;
  color: #ffffff;
}

.tka-modprods-card:hover,
.tka-modprods-card:focus-within,
.tka-modprods-card.is-active {
  background: #3954A4;
  border-color: #3A559F;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(57, 84, 164, 0.22);
}

.tka-modprods-card__title {
  margin: 0 0 .6rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #0f172a;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
}

.tka-modprods-card--featured .tka-modprods-card__title {
  color: #ffffff;
}

.tka-modprods-card:hover .tka-modprods-card__title,
.tka-modprods-card:focus-within .tka-modprods-card__title,
.tka-modprods-card.is-active .tka-modprods-card__title {
  color: #ffffff;
}

.tka-modprods-card__desc {
  margin: 0 0 1rem;
  font-size: .95rem;
  line-height: 1.55;
  color: #4B5563;
}

.tka-modprods-card--featured .tka-modprods-card__desc {
  color: rgba(255, 255, 255, 0.92);
}

.tka-modprods-card:hover .tka-modprods-card__desc,
.tka-modprods-card:focus-within .tka-modprods-card__desc,
.tka-modprods-card.is-active .tka-modprods-card__desc {
  color: rgba(255, 255, 255, 0.92);
}

.tka-modprods-card__rule {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  margin: 0 0 1rem;
}

.tka-modprods-card--featured .tka-modprods-card__rule {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.tka-modprods-card:hover .tka-modprods-card__rule,
.tka-modprods-card:focus-within .tka-modprods-card__rule,
.tka-modprods-card.is-active .tka-modprods-card__rule {
  border-top-color: rgba(255, 255, 255, 0.35);
}

.tka-modprods-card__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  line-height: 1.55;
  color: #374151;
  flex: 1 1 auto;
}

.tka-modprods-card--featured .tka-modprods-card__list {
  color: rgba(255, 255, 255, 0.94);
}

.tka-modprods-card:hover .tka-modprods-card__list,
.tka-modprods-card:focus-within .tka-modprods-card__list,
.tka-modprods-card.is-active .tka-modprods-card__list {
  color: rgba(255, 255, 255, 0.94);
}

.tka-modprods-card__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: .42rem;
}

.tka-modprods-card__list li:last-child {
  margin-bottom: 0;
}

.tka-modprods-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4B5563;
}

.tka-modprods-card--featured .tka-modprods-card__list li::before,
.tka-modprods-card:hover .tka-modprods-card__list li::before,
.tka-modprods-card:focus-within .tka-modprods-card__list li::before,
.tka-modprods-card.is-active .tka-modprods-card__list li::before {
  background: #ffffff;
}

.tka-modprods-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .92rem;
  font-weight: 600;
  color: #3954A4;
  text-decoration: none;
}

.tka-modprods-card__link:hover {
  text-decoration: underline;
}

.tka-modprods-card--featured .tka-modprods-card__link {
  color: #ffffff;
}

.tka-modprods-card:hover .tka-modprods-card__link,
.tka-modprods-card:focus-within .tka-modprods-card__link,
.tka-modprods-card.is-active .tka-modprods-card__link {
  color: #ffffff;
}

.tka-modprods-card--featured .tka-modprods-card__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.tka-modprods__footer {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  justify-content: center;
}

.tka-modprods__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  min-height: 46px;
  border-radius: 10px;
  font-size: .96rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif !important;
  background: #3954A4;
  color: #ffffff;
  text-decoration: none;
  border: 1.5px solid #3954A4;
  transition: background .2s ease, border-color .2s ease;
}

.tka-modprods__cta:hover {
  background: #2e4490;
  border-color: #2e4490;
  color: #ffffff;
}

@media only screen and (min-width: 40rem) {
  .tka-modprods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (min-width: 62rem) {
  .tka-modprods__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.1rem, 2vw, 1.65rem);
  }
}


/* ========== SECTION PARTNER ========== */
.tka-partner {
  padding: clamp(2.4rem, 4vw, 3.6rem) 0;
  background: #F8FAFC;
}

.tka-partner__inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.tka-partner__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3954A4;
  margin-bottom: .4rem;
  font-family: 'Inter', sans-serif !important;
}

.tka-partner__title {
  margin: 0 0 1.4rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  color: #111827;
  font-family: 'Inter', sans-serif !important;
}

.tka-partner__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.9rem, 3vw, 1.8rem);
  margin-bottom: 1.4rem;
}

.tka-partner__logo {
  width: clamp(88px, 10vw, 132px);
  height: clamp(52px, 6vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tka-partner__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.tka-partner__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
}

.tka-partner__cta:hover {
  text-decoration: underline;
}

/* ========== HERO — split (tinggi-keagamaan.php, prefiks tka-) ========== */

.tka-hero--split {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.tka-hero--split::before,
.tka-hero--split::after {
  display: none;
}

.tka-hero--split .tka-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  min-height: 0;
  padding-block: clamp(1.75rem, 4vw, 3rem);
  padding-inline: 0;
}

.tka-hero__copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.tka-hero__eyebrow {
  margin: 0 0 .65rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #D32F2F;
  font-family: 'Inter', sans-serif !important;
}

.tka-hero--split .tka-hero__title {
  margin: 0 0 1rem;
  color: #1A202C;
  font-weight: 700;
  font-size: clamp(1.55rem, 4.2vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-family: 'Inter Tight', 'Inter', sans-serif !important;
}

.tka-hero--split .tka-hero__subtitle {
  margin: 0;
  max-width: 40rem;
  color: #718096;
  font-size: clamp(.95rem, 1.35vw, 1.08rem);
  line-height: 1.65;
  font-family: 'Inter', sans-serif !important;
}

.tka-hero--split .tka-hero__actions {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: .65rem;
  width: 100%;
  max-width: 100%;
}

.tka-hero__btn {
  font-family: 'Inter', sans-serif !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 10px;
  padding: .65rem 1.15rem;
  min-height: 44px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  box-sizing: border-box;
  width: 100%;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tka-hero__btn--primary {
  background: #5A67D8;
  color: #ffffff;
  border: 1.5px solid #5A67D8;
}

.tka-hero__btn--primary:hover {
  background: #4c58c4;
  border-color: #4c58c4;
  color: #ffffff;
}

.tka-hero__btn--outline {
  background: #fff;
  color: #5A67D8;
  border: 1.5px solid #5A67D8;
}

.tka-hero__btn--outline:hover {
  background: rgba(90, 103, 216, 0.06);
}

.tka-hero__media {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.tka-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vh, 420px);
  object-fit: cover;
  border-radius: clamp(16px, 2.5vw, 28px);
  background: #EEF2F9;
}

@media only screen and (min-width: 48rem) {
  .tka-hero--split .tka-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.75rem, 3.5vw, 3rem);
    padding-block: clamp(2rem, 4vw, 3.25rem);
  }

  .tka-hero__copy {
    flex: 1 1 54%;
    max-width: 54%;
  }

  .tka-hero__media {
    flex: 1 1 42%;
    max-width: 42%;
  }

  .tka-hero--split .tka-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    max-width: none;
  }

  .tka-hero--split .tka-hero__btn {
    width: auto;
    min-width: 10.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .tka-hero__img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
}

@media only screen and (min-width: 64rem) {
  .tka-hero--split .tka-hero__title {
    font-size: clamp(2rem, 2.8vw, 2.75rem);
  }
}

/* MOBILE LANDSCAPE — hero split */
@media only screen and (max-width: 47.9375rem) and (orientation: landscape) {
  .tka-hero__img {
    max-height: 220px;
  }
}


/* ========== SECTION SUKSES STORY (kartu dua kolom) ========== */
.tka-success-story {
  padding: clamp(2.4rem, 4vw, 3.75rem) 0;
  background: #F8FAFC;
}

.tka-success-story__wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.tka-success-story__intro {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
  padding-inline: 0;
}

.tka-success-story__eyebrow {
  margin: 0 0 .5rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: #2563eb;
  font-family: 'Inter', sans-serif !important;
}

.tka-success-story__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: #1f2937;
  line-height: 1.28;
  font-family: 'Inter', sans-serif !important;
}

.tka-success-story__list {
  --tka-story-gap: clamp(.9rem, 2vw, 1.15rem);
  display: flex;
  gap: var(--tka-story-gap);
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .15rem;
  padding-bottom: .35rem;
  -webkit-overflow-scrolling: touch;
}

.tka-success-story__list::-webkit-scrollbar {
  height: 7px;
}

.tka-success-story__list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.tka-story-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  overflow: hidden;
  min-height: 300px;
  max-height: 360px;
}

.tka-story-card__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

@media (min-width: 48rem) {
  .tka-story-card__inner {
    flex-direction: row;
    align-items: stretch;
  }
}

.tka-story-card__media {
  flex: 0 0 auto;
}

@media (min-width: 48rem) {
  .tka-story-card__media {
    flex: 0 0 40%;
    max-width: 40%;
  }
}

.tka-story-card__img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #eef2f9;
}

@media (min-width: 48rem) {
  .tka-story-card__img {
    height: 100%;
    min-height: 300px;
  }
}

.tka-story-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding: clamp(.8rem, 1.25vw, 1rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  overflow: auto;
}

.tka-story-card__school {
  margin: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ea580c;
  font-family: 'Inter', sans-serif !important;
}

.tka-story-card__title {
  margin: 0 0 .2rem;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  font-weight: 700;
  color: #1f2937;
  line-height: 1.3;
  font-family: 'Inter', sans-serif !important;
}

.tka-story-card__segment {
  margin: 0;
}

.tka-story-card__segment p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.5;
  color: #6b7280;
  font-family: 'Inter', sans-serif !important;
}

.tka-story-card__segment strong {
  color: #374151;
}

.tka-story-card__quote {
  margin: .15rem 0 0;
  padding: .45rem .65rem;
  border-left: 3px solid #dbeafe;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
}

.tka-story-card__quote p {
  margin: 0;
  font-size: .85rem;
  font-style: italic;
  line-height: 1.45;
  color: #64748b;
}

.tka-story-card__footer {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .15rem;
  padding-top: .5rem;
  border-top: 1px solid #eef2f7;
}

.tka-story-card__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.tka-story-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tka-story-card__role {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.35;
  font-family: 'Inter', sans-serif !important;
}


.tka-success-story__controls {
  margin-top: .9rem;
  display: flex;
  justify-content: center;
  gap: .55rem;
}

.tka-success-story__nav {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.tka-success-story__nav:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.tka-success-story__nav[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.tka-success-story__cta-wrap {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.tka-success-story__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.35rem;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif !important;
  transition: background .2s ease, transform .15s ease;
}

.tka-success-story__cta:hover {
  background: #1d4ed8;
  color: #ffffff !important;
}

.tka-success-story__cta .icon {
  font-size: .75rem;
}

/* ========== CTA COLOR TWEAK (PTS) ========== */

.section.section_cta-tka.section_cta--landing {
  background: #F8FAFC;
}

.section.section_cta-tka.section_cta--landing .cta-landing__card {
  background: linear-gradient(90deg, #2f55b7 0%, #4373de 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.section.section_cta-tka.section_cta--landing .cta-landing__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;
  justify-content: start;
}

.section.section_cta-tka.section_cta--landing .cta-landing__title {
  color: #ffffff;
  margin: 0;
}

.section.section_cta-tka.section_cta--landing .cta-landing__subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
}

.section.section_cta-tka.section_cta--landing #tka_cta_konsultasi.hero-cta {
  background: #ffffff;
  color: #2f55b7;
  border: 1.5px solid #ffffff;
  box-shadow: none;
}

.section.section_cta-tka.section_cta--landing #tka_cta_konsultasi.hero-cta:hover {
  background: #f3f5ff;
  color: #294aa0;
  border-color: #f3f5ff;
}

@media (max-width: 47.9999rem) {

  .tka-hero .tka-hero__inner,
  .tka-challenges>.container,
  .tka-modprods__inner,
  .tka-partner__inner,
  .tka-success-story__wrap,
  .section.section_cta-tka.section_cta--landing .cta-landing__inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .section.section_cta-tka.section_cta--landing .cta-landing__media {
    display: none !important;
  }

  .section.section_cta-tka.section_cta--landing .cta-landing__copy {
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }

  .section.section_cta-tka.section_cta--landing #tka_cta_konsultasi.hero-cta {
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (min-width: 48rem) {

  .tka-hero .tka-hero__inner,
  .tka-challenges>.container,
  .tka-modprods__inner,
  .tka-partner__inner,
  .tka-success-story__wrap,
  .section.section_cta-tka.section_cta--landing .cta-landing__inner {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* ========== MEDIA QUERIES (DIKUMPULKAN DI BAWAH) ========== */
@media only screen and (max-width: 39.9999rem) {
  .tka-challenges__grid {
    gap: 1rem;
  }

  .tka-challenges-card {
    min-height: 150px;
  }
}

@media only screen and (min-width: 40rem) {
  .tka-challenges__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (min-width: 64rem) {
  .tka-challenges__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}