/* === contact.css (MOGA FINAL) === */
/* =========================================================
   === CONTACT
   ========================================================= */

.section--contact{
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 100%);
  display: block;
}

.section--contact > .container{ display: block; }

/* =========================================================
   === OPTIONAL: PARTNER ORGANISATION (legacy / not used now)
   ========================================================= */

.partner-block{ margin: 0 0 22px; }
.partner-head{ margin-bottom: 16px; }

.partner-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.partner-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 44px rgba(0,0,0,0.07);
  padding: 22px;
}

.partner-card__title{
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(7,19,15,0.62);
  margin-bottom: 14px;
}

.kv{
  margin: 0;
  display: grid;
  gap: 10px;
}

.kv__row{
  display: grid;
  grid-template-columns: minmax(190px, 240px) 1fr;
  gap: 12px;
  align-items: start;
}

.kv dt{
  margin: 0;
  font-size: 13px;
  color: rgba(7,19,15,0.62);
}

.kv dd{
  margin: 0;
  font-size: 14px;
  color: rgba(7,19,15,0.92);
  word-break: break-word;
}

.kv__link{
  color: rgba(0,90,187,0.95);
  font-weight: 700;
  text-decoration: none;
}

.kv__link:hover{ text-decoration: underline; }

.partner-chips{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pchip{
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  background: rgba(0,90,187,0.08);
  border: 1px solid rgba(0,90,187,0.18);
  color: var(--primary);
}

/* =========================================================
   === CONTACT CARDS (your current layout)
   ========================================================= */

/* If grid--contact isn't defined elsewhere, this makes the 2 cards sit nicely */
.grid--contact{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.contact-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 44px rgba(0,0,0,0.07);
  padding: 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(0,90,187,0.12);
  border-color: rgba(0,90,187,0.15);
}

.contact-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-avatar{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(0,90,187,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  flex: 0 0 auto;
}

.contact-lines{
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

/* =========================================================
   === OFFICIAL INFO (below the 2 cards)
   === Matches the card system and keeps it sparse
   ========================================================= */

.contact-official{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);

  display: grid;
  gap: 12px;
}

.official-row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;

  font-size: 14px;
  line-height: 1.65;
  color: rgba(7,19,15,0.90);
}

.official-row strong{
  font-weight: 800;
  color: rgba(7,19,15,0.58);
  letter-spacing: 0.01em;
}

/* Links inside official rows (you are using .org-link here) */
.official-row .org-link{
  justify-self: start;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.official-row a{
  color: rgba(0,90,187,0.95);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.official-row a:hover{ text-decoration: underline; }

.official-chips{
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);

  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.official-chip{
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(0,90,187,0.08);
  border: 1px solid rgba(0,90,187,0.18);
  color: var(--primary);
}

/* =========================================================
   === ORGANIZATION CONTACT (shared pills row)
   ========================================================= */

.contact-org{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.06);

  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: flex-start;
}

.org-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 999px;

  font-size: 14px;
  background: rgba(0,90,187,0.08);
  border: 1px solid rgba(0,90,187,0.18);
  color: var(--primary);

  transition: transform .2s ease, background-color .2s ease;
  max-width: 100%;
}

.org-link:hover{
  background: rgba(0,90,187,0.14);
  transform: translateY(-1px);
}

/* =========================================================
   === RESPONSIVE
   ========================================================= */

@media (max-width: 980px){
  .partner-grid{ grid-template-columns: 1fr; }

  .kv__row{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .partner-card{ padding: 18px; }

  .grid--contact{
    grid-template-columns: 1fr;
  }

  .official-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .official-row .org-link{
    white-space: normal;
  }
}

@media (max-width: 560px){
  .partner-card{ padding: 16px; }

  .pchip{ font-size: 13px; padding: 8px 12px; }

  .official-chip{ font-size: 12px; padding: 7px 11px; }

  .contact-card{ padding: 22px; }
}
