@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root{
  --dark:#111111;
  --dark2:#1b1b1b;
  --gold:#d4af37;
  --gold2:#f4d36a;
  --white:#ffffff;
  --text:#222222;
  --muted:#666666;
  --border:#ececec;
  --bg:#fafafa;
  --radius:16px;
}

/* GRID */
.sdgs-jobs{
  font-family:'DM Sans',sans-serif;
  max-width:1400px;
  margin:35px auto;
  padding:0 14px;

  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:start;
}

/* CARD */
.sdgs-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  transition:.3s ease;
}

.sdgs-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.10);
}

/* SMALLER HEADER */
/* Replace ONLY header colors with this */

.sdgs-card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  cursor:pointer;
  padding:14px 18px;
  min-height:72px;

  /* COLORS FROM LOGO */
  background:linear-gradient(135deg,#111111 0%, #7c1dc9 35%, #e63946 70%, #ff7a00 100%);
  color:#fff;
	font-weight: bold;
}

.sdgs-card-header:hover{
  background:linear-gradient(135deg,#111111 0%, #9226e6 35%, #ff4d5a 70%, #ff9500 100%);
}

/* Icon background */
.sdgs-toggle-icon{
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:50%;
  background:#000;
  border:1px solid rgba(255,255,255,.18);

  display:flex;
  align-items:center;
  justify-content:center;
}

/* Arrow */
.sdgs-toggle-icon svg{
  width:14px;
  height:14px;
  stroke:#ffffff;
  fill:none;
  stroke-width:2.6;
  transition:transform .3s ease;
}

.sdgs-card.is-open .sdgs-toggle-icon svg{
  transform:rotate(180deg);
}

/* BODY */
.sdgs-card-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease,padding .35s ease;
  padding:0 18px;
  background:#fff;
}

.sdgs-card.is-open .sdgs-card-body{
  max-height:800px;
  padding:18px;
}

/* TEXT */
.sdgs-bio{
  font-size:14px;
  line-height:1.8;
  color:#444;
  margin:0 0 16px;
}

/* TAGS */
.sdgs-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.sdgs-tag{
  font-size:11px;
  font-weight:700;
  padding:7px 11px;
  border-radius:30px;
  background:#f8f4e4;
  color:#7a5b00;
  border:1px solid #f0e2a3;
}

/* BUTTON */
.sdgs-btn-read{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;

  padding:10px 18px;
  border-radius:40px;

  background:linear-gradient(135deg,#d4af37,#b88918);
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.05em;
  transition:.3s ease;
}

.sdgs-btn-read:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 10px 18px rgba(212,175,55,.25);
}

/* RESPONSIVE */
@media(max-width:1100px){
  .sdgs-jobs{
    grid-template-columns:1fr;
  }
}

@media(max-width:767px){

  .sdgs-jobs{
    gap:14px;
    padding:0 10px;
  }

  .sdgs-card-header{
    padding:12px 14px;
    min-height:auto;
  }

  .sdgs-header-title{
    font-size:16px;
  }

  .sdgs-toggle-icon{
    width:32px;
    height:32px;
    min-width:32px;
  }

  .sdgs-card.is-open .sdgs-card-body{
    padding:15px;
  }
}