/* ==========================================================================
   AFFORUM HUB - Modern Content Types Design System
   ========================================================================== */

:root {
  --content-max-w: 860px;
  --sidebar-w: 320px;
}

/* Common Content Shell */
.node-shell {
  font-family: 'Inter', system-ui, sans-serif;
  color: #1E2418;
  line-height: 1.7;
}

/* Header & Meta Banner */
.node-banner {
  background: linear-gradient(135deg, #1A3102 0%, #0F1F00 100%);
  color: #ffffff;
  padding: 48px 0 54px;
  position: relative;
  overflow: hidden;
}

.node-banner .eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 146, 32, 0.18);
  color: #F99220;
  border: 1px solid rgba(249, 146, 32, 0.4);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.node-banner h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
}

.node-banner .meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  font-size: 13.5px;
  color: #DDEACD;
}

.node-banner .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Layout Grid (Main + Sidebar) */
.node-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: 48px;
}

.node-container.full-width {
  grid-template-columns: 1fr;
  max-width: 960px;
}

.node-main-content {
  font-size: 16px;
  color: #2D3728;
}

.node-main-content h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  color: #2E5200;
  margin: 36px 0 16px;
  border-bottom: 2px solid #EAF1E0;
  padding-bottom: 8px;
}

.node-main-content h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  color: #1E2418;
  margin: 28px 0 12px;
}

.node-main-content p {
  margin-bottom: 1.4em;
}

.node-main-content img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Sidebar Widgets */
.node-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget-card {
  background: #FFFFFF;
  border: 1px solid #DFE6D6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(30,36,24,0.04);
}

.widget-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4C8500;
  margin-bottom: 16px;

}

/* Publications Download Card */
.pub-download-card {
  background: linear-gradient(145deg, #F4F8EE 0%, #EAF1E0 100%);
  border: 1px solid rgba(76, 133, 0, 0.25);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.pub-download-card .pdf-icon {
  width: 56px;
  height: 56px;
  background: #4C8500;
  color: #FFFFFF;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #4C8500;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  margin-top: 12px;
}

.btn-download:hover {
  background: #2E5200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 82, 0, 0.25);
}

/* Event Date Badge */
.event-date-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F4F8EE;
  border: 1px solid #DFE6D6;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 24px;
}

.event-date-box {
  width: 60px;
  height: 60px;
  background: #2E5200;
  color: #FFFFFF;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

}

.event-date-box .month {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-date-box .day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

/* Vacancy Deadline Banner */
.vacancy-alert {
  background: #FFF3E5;
  border: 1px solid #F99220;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;

}

.vacancy-alert .deadline-title {
  font-weight: 700;
  color: #1E2418;
  font-size: 14px;

}

.vacancy-alert .deadline-date {
  font-weight: 800;
  color: #F99220;
  font-size: 15px;

}

/* Staff Profile Box */
.staff-hero {
  display: flex;
  gap: 28px;
  align-items: center;
  background: #F6F8F3;
  border: 1px solid #DFE6D6;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 36px;
}

.staff-avatar-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  background: #EAF1E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #2E5200;
  flex-shrink: 0;
}

.staff-info h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  color: #1E2418;
  margin: 0 0 6px;
  border: none;
  padding: 0;

}

.staff-info .position {
  font-size: 15px;
  font-weight: 700;
  color: #4C8500;
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .node-container {
    grid-template-columns: 1fr;
  }
  .staff-hero {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   AFFORUM HUB - Modern Views & Grid System
   ========================================================================== */

.view-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
}

/* Exposed Filter Bar */
.views-exposed-form {
  background: #F6F8F3;
  border: 1px solid #DFE6D6;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: 0 4px 12px rgba(30,36,24,0.03);
}

.views-exposed-form .form-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.views-exposed-form label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4C8500;
}

.views-exposed-form input[type="text"],
.views-exposed-form select {
  padding: 10px 16px;
  border: 1px solid #DFE6D6;
  border-radius: 9999px;
  font-size: 14px;
  background: #FFFFFF;
  color: #1E2418;
  outline: none;
  transition: all 0.2s ease;
}

.views-exposed-form input[type="text"]:focus,
.views-exposed-form select:focus {
  border-color: #4C8500;
  box-shadow: 0 0 0 3px rgba(76,133,0,0.15);
}

.views-exposed-form .form-actions input[type="submit"] {
  background: #4C8500;
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.views-exposed-form .form-actions input[type="submit"]:hover {
  background: #2E5200;
  transform: translateY(-1px);
}

/* Views Card Grid */
.views-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.view-card {
  background: #FFFFFF;
  border: 1px solid #DFE6D6;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(30,36,24,0.04);
}

.view-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76,133,0,0.4);
  box-shadow: 0 12px 28px -6px rgba(30,36,24,0.12);
}

.view-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.view-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4C8500;
  margin-bottom: 8px;
}

.view-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #1E2418;
  margin-bottom: 10px;
}

.view-card p {
  font-size: 13.5px;
  color: #5C6B57;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.view-card-footer {
  border-top: 1px solid #F4F8EE;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F8F3;
  font-size: 12.5px;
  color: #5C6B57;
}

.view-card-link {
  font-weight: 700;
  color: #4C8500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-card-link:hover {
  color: #2E5200;
}

/* Pagination Styling */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
}

.pager__item a, .pager__item--current {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #DFE6D6;
  color: #1E2418;
  background: #FFFFFF;
}

.pager__item--current, .pager__item a:hover {
  background: #4C8500;
  color: #FFFFFF;
  border-color: #4C8500;
}
