/* =========================================================
   NWSGS PRESENTER DIRECTORY
   File: presenter-directory.css
   ========================================================= */

/* ---------------------------------------------------------
   Hide default page title / theme page header on this page
   Page ID for Our Presenters = 18567
   --------------------------------------------------------- */
.page-id-18567 .entry-header,
.page-id-18567 .entry-title,
.page-id-18567 .page-title,
.page-id-18567 .header-post-title-container,
.page-id-18567 .post-header,
.page-id-18567 .page-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tighten top spacing on this page */
.page-id-18567 .main-content-section,
.page-id-18567 #main,
.page-id-18567 .inner-wrap,
.page-id-18567 .site-content,
.page-id-18567 .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.nwsgs-pd-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 48px;
  color: #243447;
}

/* -------------------------
   Hero
   ------------------------- */
.nwsgs-pd-hero {
  background: linear-gradient(135deg, #f3f6fb 0%, #f8f2f5 100%);
  border: 1px solid #d8e2ec;
  border-radius: 22px;
  padding: 24px 22px 16px;
  margin: 0 0 16px;
  box-shadow: none;
}

.nwsgs-pd-hero-inner {
  max-width: 980px;
}

.nwsgs-pd-hero h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
  color: #5a344d;
  font-weight: 500;
}

.nwsgs-pd-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #425466;
  max-width: 900px;
}

/* -------------------------
   A-Z Jump pills
   ------------------------- */
.nwsgs-pd-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #d8e2ec;
  border-radius: 18px;
}

.nwsgs-pd-jump-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 10px 14px;
  background: #eef3f8;
  border: 1px solid #c7d4e2;
  border-radius: 999px;
  color: #46698a;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.nwsgs-pd-jump-pill:hover,
.nwsgs-pd-jump-pill:focus {
  background: #6f96b6;
  border-color: #6f96b6;
  color: #fff;
  text-decoration: none;
}

/* -------------------------
   Main section
   ------------------------- */
.nwsgs-pd-section,
.nwsgs-pd-empty {
  background: #fdfefe;
  border: 1px solid #d8e2ec;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: none;
}

.nwsgs-pd-section-head {
  margin-bottom: 18px;
}

.nwsgs-pd-section-head h2,
.nwsgs-pd-empty h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.3;
  color: #5a344d;
  font-weight: 500;
}

.nwsgs-pd-section-head p,
.nwsgs-pd-empty p {
  margin: 0;
  font-size: 15px;
  color: #5a6b7b;
}

/* -------------------------
   Letter blocks
   ------------------------- */
.nwsgs-pd-letter-block {
  margin-top: 26px;
  scroll-margin-top: 120px;
}

.nwsgs-pd-letter-head {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3ebf2;
}

.nwsgs-pd-letter-head h3 {
  margin: 0;
  font-size: 22px;
  color: #5a344d;
  font-weight: 600;
}

/* -------------------------
   Grid
   3 across desktop
   2 across tablet
   1 across mobile
   ------------------------- */
.nwsgs-pd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* -------------------------
   Cards
   ------------------------- */
.nwsgs-pd-card {
  background: #f8fafc;
  border: 1px solid #d8e2ec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nwsgs-pd-card:hover {
  transform: translateY(-2px);
  border-color: #bfd0df;
}

.nwsgs-pd-card-image-link {
  display: block;
  text-decoration: none;
}

.nwsgs-pd-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: #edf2f7;
}

.nwsgs-pd-card-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eef3f8 0%, #f6eff3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nwsgs-pd-card-placeholder span {
  font-size: 58px;
  font-weight: 700;
  color: #5a344d;
}

.nwsgs-pd-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nwsgs-pd-card-name {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  color: #5a344d;
  font-weight: 500;
}

.nwsgs-pd-card-name a {
  color: #5a344d;
  text-decoration: none;
}

.nwsgs-pd-card-name a:hover {
  color: #46698a;
  text-decoration: none;
}

.nwsgs-pd-card-credentials {
  display: inline;
  margin-left: 2px;
  font-size: 0.72em;
  font-weight: 600;
  color: #6f8eab;
  white-space: normal;
}

.nwsgs-pd-card-calls {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.45;
  color: #5a344d;
  font-weight: 700;
}

.nwsgs-pd-card-professional-title {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #4d5f70;
  font-weight: 500;
}

.nwsgs-pd-card-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #4d5f70;
  margin-bottom: 16px;
}

.nwsgs-pd-card-actions {
  margin-top: auto;
}

.nwsgs-pd-btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 999px;
  background: #6f96b6;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #6f96b6;
  transition: all 0.18s ease;
}

.nwsgs-pd-btn:hover,
.nwsgs-pd-btn:focus {
  background: #5e84a3;
  border-color: #5e84a3;
  color: #fff;
  text-decoration: none;
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width: 1024px) {
  .nwsgs-pd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nwsgs-pd-wrap {
    padding: 0 14px 38px;
  }

  .nwsgs-pd-hero {
    padding: 22px 16px 16px;
    border-radius: 18px;
  }

  .nwsgs-pd-hero h1 {
    font-size: 24px;
  }

  .nwsgs-pd-hero p {
    font-size: 15px;
  }

  .nwsgs-pd-section,
  .nwsgs-pd-empty {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .nwsgs-pd-grid {
    grid-template-columns: 1fr;
  }

  .nwsgs-pd-card-name {
    font-size: 20px;
  }
}