/* ========================================
   WDB CONTENT BLOCKS (2026-10-08)
   WDB Section, WDB Cards, Career Guides.
   Same palette as the P2P family: navy #2b3a67,
   teal var(--primary), cyan var(--secondary), orange #f7941d.
   Layout container comes from p2p.css (.p2p-container).
   ======================================== */

/* ── BACKGROUNDS ────────────────────── */

.wdb-section,
.wdb-cards,
.wdb-guides {
  position: relative;
  padding: 72px 0;
}

.wdb-bg-white { background: #fff; }
.wdb-bg-light { background: #f8f7f5; }
.wdb-bg-navy  { background: linear-gradient(135deg, #1e2a4a 0%, #2b3a67 100%); }

/* Two same-colored sections in a row read as one band, so tighten the seam. */
.wdb-bg-white + .wdb-bg-white,
.wdb-bg-light + .wdb-bg-light { padding-top: 0; }

/* ── SHARED TYPE ────────────────────── */

.wdb-eyebrow {
  font-family: var(--font1);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}

.wdb-heading {
  font-family: var(--font1);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #2b3a67;
  margin: 0 0 20px;
}

.wdb-body {
  font-size: 17px;
  line-height: 1.75;
  color: #4a4a5a;
}

.wdb-body p { margin: 0 0 16px; font-weight: 400; }
.wdb-body li, .wdb-card-text p { font-weight: 400; }
.wdb-body strong { font-weight: 700; color: #2b3a67; }
.wdb-bg-navy .wdb-body strong { color: #fff; }
.wdb-body p:last-child { margin-bottom: 0; }
.wdb-body a { color: #007265; text-decoration: underline; }

.wdb-bg-navy .wdb-eyebrow { color: var(--secondary); }
.wdb-bg-navy .wdb-heading { color: #fff; }
.wdb-bg-navy .wdb-body,
.wdb-bg-navy .wdb-body p { color: rgba(255, 255, 255, 0.86); }
.wdb-bg-navy .wdb-body a { color: #fff; }

/* ── SECTION ────────────────────────── */

.wdb-section-inner { max-width: 820px; }
.wdb-align-center .wdb-section-inner { margin: 0 auto; text-align: center; }

.wdb-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 4px 0 28px;
  padding: 0;
}

.wdb-align-center .wdb-highlights { justify-content: center; }

.wdb-highlights li {
  margin: 0;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(0, 147, 127, 0.1);
  border: 1px solid rgba(0, 147, 127, 0.25);
  color: #007265;
  font-family: var(--font1);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wdb-bg-navy .wdb-highlights li {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ── BUTTONS ────────────────────────── */

.wdb-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.wdb-align-center .wdb-buttons,
.wdb-guides-all { justify-content: center; }

.wdb-btn,
.wdb-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font1);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 5px;
  transition: box-shadow 0.25s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wdb-btn {
  padding: 14px 28px;
  font-size: 16px;
  background: linear-gradient(135deg, #2b3a67, #007265);
  border: 2px solid transparent;
  color: #fff;
}

.wdb-btn svg,
.wdb-card-btn svg { flex: 0 0 16px; width: 16px; height: 16px; fill: currentColor; }

.wdb-btn:hover,
.wdb-btn:focus-visible {
  color: #fff;
  box-shadow: 0 6px 24px rgba(43, 58, 103, 0.25);
  transform: translateY(-2px);
}

.wdb-btn--outline {
  background: transparent;
  border-color: #2b3a67;
  color: #2b3a67;
}

.wdb-btn--outline:hover,
.wdb-btn--outline:focus-visible {
  background: #2b3a67;
  color: #fff;
}

.wdb-bg-navy .wdb-btn { background: #fff; color: #2b3a67; }
.wdb-bg-navy .wdb-btn:hover,
.wdb-bg-navy .wdb-btn:focus-visible { color: #2b3a67; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }
.wdb-bg-navy .wdb-btn--outline { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.wdb-bg-navy .wdb-btn--outline:hover,
.wdb-bg-navy .wdb-btn--outline:focus-visible { background: #fff; border-color: #fff; color: #2b3a67; }

.wdb-btn:focus-visible,
.wdb-card-btn:focus-visible,
.wdb-guide a:focus-visible { outline: 2px solid #f7941d; outline-offset: 3px; }

/* ── CARDS ──────────────────────────── */

.wdb-cards-header {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.wdb-card-grid {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wdb-cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin: 0 auto; }
.wdb-cols-3 { grid-template-columns: repeat(3, 1fr); }

.wdb-cards--detailed .wdb-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 30px 30px;
  background: #fff;
  border-radius: 8px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 2px 14px rgba(43, 58, 103, 0.08);
}

.wdb-bg-white.wdb-cards--detailed .wdb-card {
  background: #f8f7f5;
  box-shadow: none;
}

.wdb-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.wdb-card-icon svg { width: 24px; height: 24px; fill: #fff; }

.wdb-card-title {
  font-family: var(--font1);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #2b3a67;
  margin: 0 0 12px;
}

.wdb-card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #4a4a5a;
}

.wdb-card-text p { margin: 0 0 12px; }
.wdb-card-text p:last-child { margin-bottom: 0; }

/* Text grows so a row of cards lines its buttons up along the floor. */
.wdb-cards--detailed .wdb-card-text { flex-grow: 1; }

.wdb-card-btn {
  margin-top: 24px;
  padding: 11px 20px;
  font-size: 15px;
  border: 1px solid #2b3a67;
  color: #2b3a67;
  background: transparent;
}

.wdb-card-btn:hover,
.wdb-card-btn:focus-visible {
  background: #2b3a67;
  color: #fff;
}

/* Compact: icon + title chips, one row. */
.wdb-cards--compact .wdb-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.wdb-cards--compact .wdb-card {
  flex: 1 1 160px;
  max-width: 200px;
  padding: 28px 16px 24px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(43, 58, 103, 0.07);
}

.wdb-bg-white.wdb-cards--compact .wdb-card { background: #f8f7f5; box-shadow: none; }

.wdb-bg-navy.wdb-cards--compact .wdb-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.wdb-cards--compact .wdb-card-icon { margin: 0 auto 14px; }
.wdb-cards--compact .wdb-card-title { font-size: 17px; margin: 0; }
.wdb-bg-navy .wdb-card-title { color: #fff; }

.wdb-cards-closing {
  max-width: 780px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  color: #2b3a67;
}

.wdb-cards-closing p { margin: 0; }
.wdb-bg-navy .wdb-cards-closing { color: rgba(255, 255, 255, 0.86); }

/* ── CAREER GUIDES ──────────────────── */

.wdb-guides-intro { text-align: left; }
.wdb-guides-intro ul { margin: 12px 0 16px; padding-left: 22px; }
.wdb-guides-intro li { margin-bottom: 8px; }

.wdb-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wdb-guide { margin: 0; }

.wdb-guide a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(43, 58, 103, 0.08);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.wdb-bg-white .wdb-guide a { border: 1px solid #e6e3de; box-shadow: none; }

.wdb-guide a:hover,
.wdb-guide a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(43, 58, 103, 0.16);
}

.wdb-guide-thumb {
  display: block;
  aspect-ratio: 17 / 11;
  overflow: hidden;
  background: #f1efeb;
  border-bottom: 3px solid var(--primary);
}

.wdb-guide-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.wdb-guide-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font1);
  font-weight: 700;
  color: #9a968f;
}

.wdb-guide-title {
  display: block;
  padding: 16px 18px 4px;
  font-family: var(--font1);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #2b3a67;
}

.wdb-guide-meta {
  display: block;
  margin-top: auto;
  padding: 4px 18px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #007265;
}

.wdb-guides-all { margin-top: 44px; }

/* ── RESPONSIVE ─────────────────────── */

@media (max-width: 1199px) {
  .wdb-guide-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .wdb-section, .wdb-cards, .wdb-guides { padding: 56px 0; }
  .wdb-heading { font-size: 28px; }
  .wdb-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .wdb-guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .wdb-section, .wdb-cards, .wdb-guides { padding: 48px 0; }
  .wdb-heading { font-size: 24px; }
  .wdb-body { font-size: 16px; }
  .wdb-cols-2, .wdb-cols-3 { grid-template-columns: 1fr; }
  .wdb-cards--detailed .wdb-card { padding: 28px 22px 24px; }
  .wdb-cards--compact .wdb-card { flex-basis: 40%; max-width: none; }
  .wdb-guide-grid { gap: 16px; }
  .wdb-guide-title { padding: 12px 12px 2px; font-size: 14px; }
  .wdb-guide-meta { padding: 2px 12px 12px; }
  .wdb-buttons { flex-direction: column; align-items: stretch; }
  .wdb-btn { justify-content: center; }
}
