/* SDC Notion Projects styles */ 
.sdc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.sdc-card{border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.sdc-card h3{margin:0 0 0;font-size:18px;line-height:1.3}
.sdc-badges{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.sdc-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#f3f4f6;font-size:12px}
.sdc-meta{font-size:12px;color:#6b7280;margin-top:6px}
.sdc-cta{display:inline-block;margin-top:8px}
.sdc-cta a{display:inline-block;margin-right:8px;text-decoration:none;border:1px solid #111;padding:6px 10px;border-radius:10px}
.sdc-state{font-size:11px;background:#eef2ff;color:#3730a3;padding:2px 8px;border-radius:999px}
.sdc-single{max-width:900px;margin:0 auto}
.sdc-single h1{font-size:30px;margin-bottom:4px}
.sdc-single .lead{color:#4b5563;margin:8px 0 16px}


/* === Scoped to .sdc-club only === */
.sdc-card.sdc-club .sdc-logo-wrap{width:150px;height:150px;border-radius:50%;overflow:hidden;display:inline-block;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.sdc-card.sdc-club .sdc-logo-wrap .sdc-logo{width:100%;height:100%;object-fit:cover;display:block}
.sdc-card.sdc-club h3{font-weight:700;margin:10px 0 0;text-align:center}
.sdc-card.sdc-club{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}


/* === Logos grandes solo en .sdc-club (sin wrapper) === */
.sdc-card.sdc-club{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.sdc-card.sdc-club img.sdc-logo{
  width:150px;height:150px;display:block;margin:0 auto 10px;
  border-radius:50%;object-fit:cover;background:#fff;
  /* Intento de máscara suave sin wrapper */
  -webkit-mask-image: radial-gradient(circle at center, #000 99%, transparent 100%);
  mask-image: radial-gradient(circle at center, #000 99%, transparent 100%);
}

/* === Evitar cortes en títulos (proyectos y clubes) === */
.sdc-card h3,
.sdc-single h1{
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
  word-break: break-word;
  hyphens: auto;
  font-weight:700;
}


/* === Project card vertical layout & hierarchy === */
.sdc-card.sdc-proj .sdc-header{align-items:flex-start}
.sdc-card.sdc-proj .sdc-logo--proj{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#fff;display:block}
.sdc-card.sdc-proj h3{font-weight:700;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word}
.sdc-card .sdc-section{margin-top:10px}
.sdc-card .sdc-section + .sdc-section{border-top:1px solid #e5e7eb;padding-top:10px}
.sdc-card .sdc-label{font-weight:700}
.sdc-card .sdc-meta{font-size:13px;color:#374151}



/* === Project card: logo left, title right (first row), then rows === */
.sdc-card.sdc-proj .sdc-proj-grid{
  display:grid;
  grid-template-columns: 72px 1fr;
  grid-auto-rows: auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items:center;
}
.sdc-card.sdc-proj .sdc-logo--proj{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width:72px; height:72px; border-radius:50%; object-fit:cover; background:#fff; display:block;
}
.sdc-card.sdc-proj .sdc-proj-title{
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin:0;
  font-weight:700;
  line-height:1.25;
  white-space:normal; overflow:visible; text-overflow:clip; word-break:break-word;
}
.sdc-card.sdc-proj .sdc-proj-row{ grid-column: 1 / -1; } /* rows occupy full width below */
.sdc-card.sdc-proj .sdc-entity strong{ font-weight:700; }
.sdc-card.sdc-proj .sdc-label{ font-weight:700; }
.sdc-card.sdc-proj .sdc-meta{ font-size:13px; color:#374151; }
.sdc-card.sdc-proj .sdc-cta{ margin-top:10px; }




/* === Tarjetas de proyectos (.sdc-proj) === */
.sdc-card.sdc-proj .sdc-proj-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-auto-rows: auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
}

.sdc-card.sdc-proj .sdc-logo--proj {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  display: block;
}

.sdc-card.sdc-proj .sdc-proj-title {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin: 0;
  font-weight: 700;
  font-size: 1rem; /* tamaño un poco menor */
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: normal; /* evita cortes raros */
  hyphens: manual; /* permite saltos naturales */
}

.sdc-card.sdc-proj .sdc-proj-row {
  grid-column: 1 / -1;
}

.sdc-card.sdc-proj .sdc-entity strong {
  font-weight: 700;
}

.sdc-card.sdc-proj .sdc-label {
  font-weight: 700;
}

.sdc-card.sdc-proj .sdc-meta {
  font-size: 13px;
  color: #374151;
}

.sdc-card.sdc-proj .sdc-cta {
  margin-top: 10px;
}

/* === Tarjetas de clubes (.sdc-club) === */
.sdc-card.sdc-club {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sdc-card.sdc-club img.sdc-logo {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto 10px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.sdc-card.sdc-club h3 {
  font-weight: 700;
  margin: 10px 0 0;
  text-align: center;
  white-space: normal;
  word-break: normal;
}


