/* Public start page */
.abis-page {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px) {
  .abis-page {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .abis-page {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
.abis-hero {
  padding-top: 56px;
}
.abis-hero-title {
  font-size: 28px;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .abis-hero-title {
    font-size: 34px;
  }
}

.abis-search-wrap {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.abis-search-input {
  width: 100%;
  height: 56px;
  padding: 0 1.25rem 0 3.25rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.abis-search-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.abis-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.35rem;
  pointer-events: none;
}

.abis-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}

.abis-search-dropdown.is-open {
  display: block;
}

.abis-search-item {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f3f4f6;
}

.abis-search-item:last-child {
  border-bottom: none;
}

.abis-search-item:hover,
.abis-search-item.is-active {
  background: #f5f3ff;
}

.abis-search-item .name {
  font-weight: 600;
  color: #111827;
}

.abis-search-item .meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}

.abis-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #eef2f7;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  padding: 1.35rem 1.5rem;
}

#chart-field-pubs .apexcharts-tooltip,
#chart-field-pubs .apexcharts-tooltip-title,
#chart-field-pubs .apexcharts-tooltip-text,
#chart-field-pubs .apexcharts-tooltip-text-y-label,
#chart-field-pubs .apexcharts-tooltip-text-y-value {
  color: #ffffff !important;
}

/* Sol kolon: Yayın + Trend, sağdaki alan listesini geçmesin */
.abis-field-split {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  min-height: 0;
}
.abis-field-split > .abis-card {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Yayın dağılımı kendi yüksekliğinde; kalan alanı Son 5 Yıl grafiği doldurur */
.abis-field-split > .abis-field-card-pubs {
  flex: 0 0 auto;
}
.abis-field-split .abis-chart-host {
  flex: 1 1 auto;
  min-height: 200px;
  max-height: 260px;
}
.abis-field-split .abis-chart-host-trend {
  min-height: 320px;
  max-height: none;
}
.abis-field-split .abis-chart-host-pubs {
  flex: 0 0 auto;
  height: 380px;
  min-height: 0;
  max-height: none;
  background: #fff;
  border-radius: 0.75rem;
}
#chart-field-pubs .apexcharts-canvas,
#chart-field-pubs .apexcharts-svg {
  background: #fff !important;
}
#chart-field-pubs .apexcharts-legend {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.15rem 0.5rem;
  max-height: none !important;
  overflow: visible !important;
  padding-top: 0.35rem !important;
}
#chart-field-pubs .apexcharts-legend-series {
  display: inline-flex !important;
  margin: 0 !important;
}
#chart-field-pubs .apexcharts-legend-text {
  white-space: nowrap !important;
  line-height: 1.25 !important;
}
@media (max-width: 1279px) {
  .abis-field-split {
    height: auto;
  }
  .abis-field-split > .abis-card {
    flex: none;
  }
}

.abis-stat-num {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
  color: #111827;
}

.abis-pill-toggle {
  display: inline-flex;
  gap: 0.35rem;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 0.25rem;
}

.abis-pill-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}

.abis-pill-toggle button.is-active {
  background: #4f46e5;
  color: #fff;
}

.abis-rank-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.abis-rank-row:last-child {
  border-bottom: none;
}

.abis-rank-badge {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.abis-title-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.abis-title-legend-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.abis-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.abis-sdg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.abis-sdg-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.abis-sdg-item img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  object-fit: cover;
  border-radius: 6px;
}

.abis-sdg-tip {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  z-index: 5;
}

.abis-sdg-item:hover .abis-sdg-tip {
  display: block;
}

.abis-fac-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.abis-fac-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1.4fr) repeat(5, minmax(4rem, 1fr));
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.abis-fac-row.is-head {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
}

.abis-fac-metric {
  text-align: center;
}

.abis-fac-metric .val {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.abis-fac-metric .lbl {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.abis-fac-metric.is-pub .val,
.abis-fac-metric.is-pub .lbl,
.abis-fac-metric.is-pub i { color: #16a34a; }
.abis-fac-metric.is-book .val,
.abis-fac-metric.is-book .lbl,
.abis-fac-metric.is-book i { color: #f97316; }
.abis-fac-metric.is-proj .val,
.abis-fac-metric.is-proj .lbl,
.abis-fac-metric.is-proj i { color: #7c3aed; }
.abis-fac-metric.is-pat .val,
.abis-fac-metric.is-pat .lbl,
.abis-fac-metric.is-pat i { color: #ea580c; }
.abis-fac-metric.is-awd .val,
.abis-fac-metric.is-awd .lbl,
.abis-fac-metric.is-awd i { color: #0284c7; }
.abis-fac-metric.is-tez .val,
.abis-fac-metric.is-tez .lbl,
.abis-fac-metric.is-tez i { color: #2563eb; }

.abis-fac-metric.is-zero .val,
.abis-fac-metric.is-zero .lbl,
.abis-fac-metric.is-zero i { color: #d1d5db !important; }

.abis-fac-row.is-sdg-cols {
  grid-template-columns: 2rem minmax(0, 1.4fr) repeat(4, minmax(4rem, 1fr));
}

@media (max-width: 900px) {
  .abis-fac-row {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.5rem 0.75rem;
  }
  .abis-fac-row .abis-fac-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }
  .abis-fac-row.is-sdg-cols .abis-fac-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
  .abis-fac-row.is-head { display: none; }
}

@media (max-width: 640px) {
  .abis-title-legend,
  .abis-sdg-grid {
    grid-template-columns: 1fr;
  }
}

/* Dashboard: Makale/Bildiri üstte, spark'lar altta */
.abis-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.abis-dash-side {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-column: 1 / -1;
}
.abis-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.abis-dash-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.15rem;
}
.abis-dash-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.abis-delta {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.7rem;
}
.abis-delta.is-up { background: #dcfce7; color: #15803d; }
.abis-delta.is-down { background: #fee2e2; color: #b91c1c; }
.abis-stat-num.is-sm { font-size: 1.55rem; }
.abis-spark-card {
  min-height: 168px;
}
.abis-spark-card.is-purple .abis-dash-label { color: #7c3aed; }
.abis-spark-card.is-amber .abis-dash-label { color: #ea580c; }
.abis-spark-card.is-teal .abis-dash-label { color: #0d9488; }
.abis-spark-card.is-indigo .abis-dash-label { color: #4f46e5; }
.abis-spark-card.is-green .abis-dash-label,
.abis-spark-card.is-green .abis-stat-num { color: #16a34a; }
.abis-spark-card.is-purple .abis-stat-num { color: #7c3aed; }
.abis-spark-card.is-teal .abis-stat-num { color: #0d9488; }

.abis-personel-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 1rem;
  align-items: stretch;
}
.abis-personel-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}
.abis-age-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.abis-age-card #chart-age {
  flex: 1 1 auto;
  min-height: 280px;
  width: 100%;
}
.abis-titles-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.abis-gender-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.abis-gender-card .abis-gender-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.abis-gender-card.is-male .abis-gender-top { color: #6366f1; }
.abis-gender-card.is-female .abis-gender-top { color: #f97316; }
.abis-gender-card .abis-gender-top i {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  font-size: 1.15rem;
}
.abis-gender-pct {
  margin: 0.5rem 0 0;
  font-weight: 700;
  color: #16a34a;
  text-align: center;
}

@media (max-width: 1100px) {
  .abis-dash-side { grid-template-columns: 1fr 1fr; }
  .abis-personel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .abis-dash-grid { grid-template-columns: 1fr; }
  .abis-dash-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .abis-dash-side,
  .abis-gender-row { grid-template-columns: 1fr; }
}

.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1.25rem;
}
.report-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #57534e;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e7e5e4;
}
.report-tabs a:hover { color: #b80610; border-color: #f0b4b8; }
.report-tabs a.is-active { color: #fff; background: #b80610; border-color: #b80610; }
.report-card { margin-top: 1rem; padding: 1.25rem 1.35rem 1.4rem; }
.report-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.report-card-title { margin: 0; font-size: 1.05rem; font-weight: 700; color: #1c1917; }
.report-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.report-toggle { display: inline-flex; border: 1px solid #e7e5e4; border-radius: 999px; overflow: hidden; background: #fff; }
.report-toggle button {
  border: 0;
  background: transparent;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #57534e;
  cursor: pointer;
}
.report-toggle button.is-active { background: #b80610; color: #fff; }
.report-limit { width: auto; min-width: 7rem; border-radius: 999px; }
.report-excel {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #86efac;
  color: #166534;
  background: #f0fdf4;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.report-excel:hover { background: #dcfce7; color: #14532d; }
.report-table-wrap { overflow-x: auto; }
.report-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.report-table th {
  background: #b80610;
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 0.7rem 0.75rem;
  white-space: nowrap;
}
.report-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid #f5f5f4; color: #292524; }
.report-table tbody tr:nth-child(even) td { background: #faf7f8; }
.report-table td.is-strong { font-weight: 800; color: #b80610; }
.report-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.7rem 0.75rem;
  border-top: 2px solid #f0e4e5;
  background: #fcfafa;
  border-radius: 0 0 0.6rem 0.6rem;
}
.report-pager[hidden] { display: none; }
.report-pager-info { font-size: 0.8rem; color: #78716c; }
.report-pager-pages { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; }
.report-pager-pages button {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  border: 1px solid #e7e5e4;
  border-radius: 0.5rem;
  background: #fff;
  color: #44403c;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.report-pager-pages button:hover:not(:disabled):not(.is-active) { color: #b80610; border-color: #f0b4b8; }
.report-pager-pages button.is-active { background: #b80610; border-color: #b80610; color: #fff; cursor: default; }
.report-pager-pages button:disabled { opacity: 0.45; cursor: not-allowed; }
.report-pager-gap { padding: 0 0.2rem; color: #a8a29e; font-size: 0.8rem; }
.dark .report-pager { background: #1c1917; border-top-color: #44403c; }
.dark .report-pager-info { color: #a8a29e; }
.dark .report-pager-pages button { background: #292524; border-color: #44403c; color: #e7e5e4; }
.dark .report-card-title { color: #fff; }
.dark .report-tabs a { background: #292524; color: #e7e5e4; border-color: #44403c; }
.dark .report-tabs a.is-active { color: #fff; background: #b80610; border-color: #b80610; }
.dark .report-table td { color: #e7e5e4; border-bottom-color: #44403c; }
.dark .report-table tbody tr:nth-child(even) td { background: #292524; }
.dark .report-toggle { border-color: #44403c; background: #292524; }
.dark .report-toggle button { color: #e7e5e4; }

.abis-unit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
  margin-top: 1rem;
}
.abis-unit-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.abis-unit-tabs a:hover { color: #b80610; }
.abis-unit-tabs a.is-active {
  color: #b80610;
  border-bottom-color: #b80610;
}

.abis-staff-cover {
  position: relative;
  z-index: 0;
  display: block;
  max-height: 120px;
  object-fit: cover;
}

.abis-staff-avatar {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
  background: #b80610;
}

.abis-staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.abis-staff-avatar__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #b80610;
}

.abis-staff-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
}
.abis-staff-metrics > div {
  text-align: center;
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 0.45rem 0.2rem;
}
.abis-staff-metrics span {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
  line-height: 1.2;
}
.abis-staff-metrics small {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.abis-staff-profile-btn {
  background: #B85374;
  color: #fff;
}
.abis-staff-profile-btn:hover {
  background: #8F2143;
  color: #fff;
}

.abis-unit-filters .form-control {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
}

/* SDG amaç sayfası */
.sdg-goal-hero {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.sdg-goal-hero__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.sdg-goal-hero__icon img {
  width: min(140px, 100%);
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.sdg-goal-hero__body {
  display: flex;
  align-items: center;
  padding: 28px 32px;
  color: #fff;
}

.sdg-goal-hero__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.sdg-goal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sdg-stat-plain {
  display: flex;
  align-items: center;
}

.sdg-stat-plain .sdg-spark-head {
  width: 100%;
  margin-bottom: 0;
}

.sdg-spark-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.sdg-pub-card {
  padding: 20px 22px;
}

.sdg-pub-list {
  display: flex;
  flex-direction: column;
}

.sdg-pub-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.sdg-pub-item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.sdg-pub-main {
  min-width: 0;
  flex: 1;
}

.sdg-pub-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.sdg-pub-venue {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #64748b;
}

.sdg-pub-authors {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.sdg-pub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sdg-pub-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.sdg-pub-badge.is-type {
  border-color: #86efac;
  color: #15803d;
}

.sdg-pub-badge.is-rose {
  border-color: #fda4af;
  color: #be123c;
}

.sdg-pub-badge.is-blue {
  border-color: #93c5fd;
  color: #1d4ed8;
}

.sdg-pub-badge.is-amber {
  border-color: #fcd34d;
  color: #b45309;
}

.sdg-pub-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sdg-pub-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.sdg-pub-icons img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.sdg-pub-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
}

.sdg-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid #eef2f7;
}

.sdg-pager__btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.sdg-pager__btn:hover {
  border-color: #cbd5e1;
  color: #111827;
}

.sdg-pager__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.sdg-pager__info {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 600;
}

.sdg-contrib-card {
  padding: 22px 24px;
}

.sdg-contrib-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 1rem;
}

.sdg-contrib-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #f1f5f9;
}

.sdg-contrib-toggle button {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.sdg-contrib-toggle button.is-active {
  background: #6366f1;
  color: #fff;
}

.sdg-contrib-list .abis-fac-row:last-child {
  border-bottom: 0;
}

@media (max-width: 767px) {
  .sdg-goal-hero {
    grid-template-columns: 1fr;
  }

  .sdg-goal-stats {
    grid-template-columns: 1fr;
  }

  .sdg-pub-item {
    flex-direction: column;
    gap: 12px;
  }

  .sdg-pub-meta {
    width: 100%;
    justify-content: space-between;
  }

  .sdg-contrib-head {
    flex-direction: column;
  }
}



