/* Partners LP — Preply-class structure, Masahif ink/mint identity */
.iln-part-page {
  --part-max: 68rem;
  --part-border: #121212;
  background: #fff;
}
.iln-part-page .iln-main--flush {
  padding-inline: 0;
  max-width: none;
  background: #fff;
}

.iln-part-wrap {
  width: min(100% - 2.5rem, var(--part-max));
  margin-inline: auto;
}

/* ---- Hero: Preply affiliate LP (solid brand + stacked photo cards) ---- */
.iln-part-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: clamp(22rem, 52vh, 34rem);
  background: #3ecfbe;
  overflow: hidden;
}
.iln-part-hero__media {
  position: relative;
  min-height: 18rem;
  background: #3ecfbe;
  overflow: hidden;
}
.iln-part-hero__stack {
  position: absolute;
  inset: 12% 14% 12% 12%;
}
.iln-part-hero__shot {
  position: absolute;
  inset: 0;
  border-radius: 1.15rem;
  border: 3px solid #fff;
  background: #e8faf6 center/cover no-repeat;
  box-shadow: 0 18px 40px rgba(11, 83, 71, 0.22);
}
.iln-part-hero__shot--a {
  background-image: url("/assets/images/iln/partners/partner-hero.jpg?v=20261001i");
  z-index: 3;
}
.iln-part-hero__shot--b {
  display: block;
  transform: translate(16px, 16px) scale(0.96);
  opacity: 0.9;
  z-index: 2;
  background: #99f6e4;
}
.iln-part-hero__shot--c {
  display: block;
  transform: translate(32px, 32px) scale(0.92);
  opacity: 0.7;
  z-index: 1;
  background: #5eead4;
}
.iln-part-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.5rem, 4vw, 3.25rem);
  background: #3ecfbe;
  color: #121212;
}
.iln-part-hero__logo {
  width: 3.5rem;
  height: auto;
  margin-bottom: 1.25rem;
  background: transparent;
}
.iln-part-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.iln-part-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #121212;
}
.iln-part-hero p {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.88);
}

/* ---- Sections ---- */
.iln-part-block {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: #fff;
}
.iln-part-block--soft { background: #f7f7f5; }
.iln-part-block__head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.iln-part-block__illu {
  width: 5.25rem;
  height: auto;
  max-height: 4.25rem;
  margin: 0 auto 1rem;
  display: block;
  object-fit: contain;
  background: transparent;
}
.iln-part-block__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.iln-part-block__head p {
  margin: 0 auto;
  max-width: 38rem;
  color: #5c5c5c;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ---- Two program cards (Preply bordered) ---- */
.iln-part-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
.iln-part-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.75rem 1.85rem;
  border: 1.5px solid #121212;
  border-radius: 1.15rem;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.iln-part-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18, 18, 18, 0.08);
}
.iln-part-card__icon {
  width: 5.5rem;
  height: auto;
  max-height: 4.5rem;
  margin: 0 auto 1.25rem;
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.iln-part-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.iln-part-card p {
  flex: 1;
  margin: 0 0 1.5rem;
  max-width: 26rem;
  color: #5c5c5c;
  line-height: 1.55;
  font-size: 1rem;
}
.iln-part-card .iln-btn {
  min-width: 12.5rem;
  justify-content: center;
  border: 1.5px solid #121212;
  font-weight: 750;
}

/* ---- Steps ---- */
.iln-part-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.iln-part-step {
  padding: 1.55rem 1.35rem 1.45rem;
  border: 1.5px solid #121212;
  border-radius: 1.05rem;
  background: #fff;
}
.iln-part-step__n {
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  border: 1.5px solid #121212;
  font-weight: 800;
  font-size: 1rem;
}
.iln-part-step__n--1 { background: #5eead4; }
.iln-part-step__n--2 { background: #fde68a; }
.iln-part-step__n--3 { background: #2dd4bf; }
.iln-part-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 800;
}
.iln-part-step p {
  margin: 0;
  color: #5c5c5c;
  line-height: 1.5;
  font-size: 0.98rem;
}

.iln-part-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.25rem;
}
.iln-part-cta-row .iln-btn {
  min-width: 13.5rem;
  justify-content: center;
  border: 1.5px solid #121212;
  font-weight: 750;
}

/* ---- FAQ ---- */
.iln-part-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.iln-part-faq__item {
  padding: 1.5rem 1.4rem;
  border: 1px solid #e6e6e3;
  border-radius: 1rem;
  background: #fff;
}
.iln-part-faq__item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.iln-part-faq__item p {
  margin: 0;
  color: #5c5c5c;
  line-height: 1.55;
}

/* ---- Invite CTA on student account ---- */
.iln-part-account-invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.4rem;
  border: 1.5px solid #121212;
  border-radius: 1.1rem;
  background: linear-gradient(105deg, #e8faf6 0%, #fff 55%);
}
.iln-part-account-invite h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}
.iln-part-account-invite p {
  margin: 0;
  color: #5c5c5c;
  line-height: 1.45;
}
.iln-part-account-invite .iln-btn {
  border: 1.5px solid #121212;
  white-space: nowrap;
}

/* ---- Invite split (account / optional surfaces) ---- */
.iln-part-invite {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1.5px solid #121212;
  background: #fff;
}
.iln-part-invite__copy {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
.iln-part-invite__copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.iln-part-invite__copy p {
  margin: 0;
  color: #5c5c5c;
  line-height: 1.55;
  max-width: 34rem;
}
.iln-part-invite__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: #3ecfbe;
  border-inline-start: 1.5px solid #121212;
}
.iln-part-invite__panel .iln-part-card__icon {
  width: 3.75rem;
  height: 3.75rem;
  margin: 0;
}
.iln-part-invite__panel .iln-btn {
  border: 1.5px solid #121212;
  background: #121212;
  color: #fff;
}
.iln-part-invite__panel .iln-btn:hover {
  background: #2a2a2a;
  color: #fff;
}

/* Forms / dashboards polish */
.iln-part-terms-box {
  margin: 0.65rem 0 0;
  padding: 1rem 1.1rem;
  max-height: 12rem;
  overflow: auto;
  border: 1.5px solid #121212;
  border-radius: 0.75rem;
  background: #f7f7f5;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475467;
  white-space: pre-wrap;
}
.iln-part-channels {
  margin: 1.35rem 0 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid #e6e6e3;
}
.iln-part-channels h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Wide affiliate application */
.iln-part-page .iln-main:not(.iln-main--flush) {
  max-width: 56rem;
}
.iln-part-apply-head {
  max-width: 52rem;
}
.iln-part-apply-card {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.iln-part-apply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.iln-part-apply-grid__full {
  grid-column: 1 / -1;
}
.iln-part-apply-card .iln-select,
.iln-part-apply-card select.iln-select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #d0d5dd;
  border-radius: 0.65rem;
  background: #fff;
  font: inherit;
}
@media (max-width: 720px) {
  .iln-part-apply-grid {
    grid-template-columns: 1fr;
  }
}
.iln-part-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.iln-part-stat {
  padding: 1.05rem 0.85rem;
  border: 1px solid #e6e6e3;
  border-radius: 0.9rem;
  background: #fff;
  text-align: center;
}
.iln-part-stat strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.2rem;
}
.iln-part-stat span {
  font-size: 0.8rem;
  color: #5c5c5c;
}
.iln-part-copy {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.iln-part-copy input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #d0d5dd;
  border-radius: 0.65rem;
  font: inherit;
}
.iln-part-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.iln-part-table th,
.iln-part-table td {
  padding: 0.8rem 0.55rem;
  border-bottom: 1px solid #eee;
  text-align: start;
}
.iln-part-table th {
  color: #667085;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.iln-part-pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
  background: #e8faf6;
  color: #0f766e;
}
.iln-part-pill--pending { background: #fff7ed; color: #9a3412; }
.iln-part-pill--available { background: #ecfdf5; color: #047857; }

.iln-part-co {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0 3rem;
}
.iln-part-co .iln-part-card__icon {
  width: 6rem;
  height: auto;
  max-height: 4.5rem;
  margin: 0 auto 1.25rem;
  object-fit: contain;
  background: transparent;
}
.iln-part-co h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.iln-part-co p {
  margin: 0 auto 1.5rem;
  color: #5c5c5c;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .iln-part-hero,
  .iln-part-duo,
  .iln-part-steps,
  .iln-part-faq,
  .iln-part-invite {
    grid-template-columns: 1fr;
  }
  .iln-part-hero__media { min-height: 14rem; order: -1; }
  .iln-part-invite__panel {
    border-inline-start: 0;
    border-top: 1.5px solid #121212;
  }
}
