/* WAHMN directory pages: Learning Paths, Recommended Tools, Marketplace, Deals */
/* Loaded site-wide by the WAHMN Brand plugin (v1.2.0+) */

:root {
  --wahmn-rose: #D86A8A;
  --wahmn-rose-soft: #B84D6E;
  --wahmn-rose-blush: #FCEFF3;
  --wahmn-sage-dark: #5F7355;
  --wahmn-sage-deep: #EEF4EC;
  --wahmn-sage-strong: #8CA080;
  --wahmn-blue: #46586C;
  --wahmn-blue-mist: #E8ECF1;
  --wahmn-cream: #FBF7F0;
  --wahmn-cream-deep: #F2EEE7;
  --wahmn-ink: #2B2B2B;
  --wahmn-ink-soft: #5A5A5A;
  --wahmn-border: #e3ded6;
}

/* Hide the theme's big blue title band on the directory pages */
body.page-id-57 .entry-hero,
body.page-id-84 .entry-hero,
body.page-id-53 .entry-hero,
body.page-id-55 .entry-hero,
body.page-id-78 .entry-hero {
  display: none !important;
}

/* ---------- shared page intro ---------- */
.wahmn-page-intro {
  text-align: center;
  max-width: 720px;
  margin: 48px auto 32px;
}
.wahmn-page-intro h1 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--wahmn-ink);
  margin: 0 0 12px;
  font-weight: 600;
}
.wahmn-page-intro p {
  color: var(--wahmn-ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* jump pills */
.wahmn-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 40px;
  max-width: 900px;
}
.wahmn-jump a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--wahmn-ink-soft);
  border: 1px solid var(--wahmn-border);
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.wahmn-jump a:hover {
  border-color: var(--wahmn-rose);
  color: var(--wahmn-rose);
}
/* tinted jump pills */
.wahmn-jump a.rose { color: var(--wahmn-rose); border-color: rgba(216,106,138,0.4); }
.wahmn-jump a.rose:hover { background: var(--wahmn-rose); border-color: var(--wahmn-rose); color: #fff; }
.wahmn-jump a.sage { color: var(--wahmn-sage-dark); border-color: rgba(140,160,128,0.5); }
.wahmn-jump a.sage:hover { background: var(--wahmn-sage-dark); border-color: var(--wahmn-sage-dark); color: #fff; }
.wahmn-jump a.blue { color: var(--wahmn-blue); border-color: rgba(70,88,108,0.4); }
.wahmn-jump a.blue:hover { background: var(--wahmn-blue); border-color: var(--wahmn-blue); color: #fff; }
.wahmn-jump a.cream:hover { background: var(--wahmn-ink); border-color: var(--wahmn-ink); color: #fff; }

/* ---------- Learning Paths ---------- */
.wahmn-lp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
@media (max-width: 1024px) { .wahmn-lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .wahmn-lp-grid { grid-template-columns: 1fr; } }

.wahmn-lp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--wahmn-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wahmn-lp-card:hover {
  border-color: var(--wahmn-rose);
  box-shadow: 0 12px 32px rgba(43, 43, 43, 0.1);
}
.wahmn-lp-imgwrap { position: relative; }
.wahmn-lp-imgwrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wahmn-lp-card:hover .wahmn-lp-imgwrap img { transform: scale(1.03); }

.wahmn-lp-price {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wahmn-lp-price.rose { background: var(--wahmn-rose); }
.wahmn-lp-price.sage { background: var(--wahmn-sage-dark); }
.wahmn-lp-price.blue { background: var(--wahmn-blue); }

.wahmn-lp-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(28, 28, 28, 0.82);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.wahmn-lp-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wahmn-lp-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--wahmn-ink);
  margin: 0 0 8px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.wahmn-lp-card:hover .wahmn-lp-body h3 { color: var(--wahmn-rose); }
.wahmn-lp-body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--wahmn-ink-soft);
  margin: 0 0 14px;
  flex: 1;
}
.wahmn-lp-more {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wahmn-rose);
  font-weight: 500;
}
.wahmn-lp-more.muted { color: var(--wahmn-ink-soft); }

/* ---------- Recommended Tools (Toolbox) ---------- */
.wahmn-tools-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1024px;
  margin: 40px auto 56px;
  background: var(--wahmn-cream);
  border: 1px solid var(--wahmn-border);
  border-radius: 24px;
  padding: 44px 48px;
}
@media (max-width: 860px) {
  .wahmn-tools-hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; text-align: center; }
  .wahmn-tools-hero .wahmn-tools-badges { justify-content: center; }
}
.wahmn-tools-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wahmn-rose);
  font-weight: 600;
  margin: 0 0 10px;
}
.wahmn-tools-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--wahmn-ink);
  margin: 0 0 14px;
  font-weight: 600;
}
.wahmn-tools-hero .lede {
  color: var(--wahmn-ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.wahmn-tools-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.wahmn-tools-badges span {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
}
.wahmn-tools-badges span.rose { background: var(--wahmn-rose); }
.wahmn-tools-badges span.sage { background: var(--wahmn-sage-dark); }
.wahmn-tools-badges span.blue { background: var(--wahmn-blue); }

.wahmn-tools-hero .imgwrap { position: relative; }
.wahmn-tools-hero .imgwrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(216,106,138,0.28), var(--wahmn-cream-deep), var(--wahmn-sage-deep));
  transform: rotate(-1.2deg);
}
.wahmn-tools-hero img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(43,43,43,0.16);
}

.wahmn-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
@media (max-width: 820px) { .wahmn-tools-grid { grid-template-columns: 1fr; } }

.wahmn-tools-cat h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.5rem;
  color: var(--wahmn-ink);
  margin: 28px 0 4px;
  font-weight: 600;
}
.wahmn-tools-cat h2.rose { color: var(--wahmn-rose); }
.wahmn-tools-cat h2.sage { color: var(--wahmn-sage-dark); }
.wahmn-tools-cat h2.blue { color: var(--wahmn-blue); }
.wahmn-tools-cat h2.cream { color: var(--wahmn-ink); }

.wahmn-rule {
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: var(--wahmn-rose);
  margin-bottom: 12px;
}
.wahmn-rule.rose { background: var(--wahmn-rose); }
.wahmn-rule.sage { background: var(--wahmn-sage-strong); }
.wahmn-rule.blue { background: var(--wahmn-blue); }
.wahmn-rule.cream { background: rgba(43,43,43,0.35); }

.wahmn-tool-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--wahmn-border);
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.wahmn-tool-row:hover { background: var(--wahmn-cream-deep); }
.wahmn-tool-row.rose:hover { background: rgba(252,239,243,0.8); }
.wahmn-tool-row.sage:hover { background: var(--wahmn-sage-deep); }
.wahmn-tool-row.blue:hover { background: rgba(232,236,241,0.8); }
.wahmn-tool-row strong {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wahmn-ink);
  margin-right: 10px;
  transition: color 0.2s ease;
}
.wahmn-tool-row:hover strong { color: var(--wahmn-rose); }
.wahmn-tool-row em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--wahmn-ink-soft);
}
.wahmn-tool-row .arr {
  color: var(--wahmn-ink-soft);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.wahmn-tool-row:hover .arr { color: var(--wahmn-rose); }

/* ---------- Marketplace ---------- */
.wahmn-mkt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
@media (max-width: 980px) { .wahmn-mkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .wahmn-mkt-grid { grid-template-columns: 1fr; } }

.wahmn-mkt-cat {
  border-radius: 18px;
  border: 1px solid var(--wahmn-border);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(43,43,43,0.05);
  transition: box-shadow 0.2s ease;
}
.wahmn-mkt-cat:hover { box-shadow: 0 8px 22px rgba(43,43,43,0.09); }
.wahmn-mkt-cat.rose { background: rgba(252,239,243,0.75); border-color: rgba(216,106,138,0.28); }
.wahmn-mkt-cat.sage { background: var(--wahmn-sage-deep); border-color: rgba(140,160,128,0.35); }
.wahmn-mkt-cat.blue { background: rgba(232,236,241,0.8); border-color: rgba(70,88,108,0.25); }
.wahmn-mkt-cat.cream { background: var(--wahmn-cream-deep); border-color: var(--wahmn-border); }

.wahmn-mkt-cat h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.45rem;
  margin: 0 0 4px;
  font-weight: 600;
}
.wahmn-mkt-cat h2.rose { color: var(--wahmn-rose); }
.wahmn-mkt-cat h2.sage { color: var(--wahmn-sage-dark); }
.wahmn-mkt-cat h2.blue { color: var(--wahmn-blue); }
.wahmn-mkt-cat h2.cream { color: var(--wahmn-ink); }

.wahmn-mkt-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wahmn-mkt-pills a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 1px 2px rgba(43,43,43,0.06);
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.wahmn-mkt-pills a::after { content: "\2197"; font-size: 0.8rem; }

.wahmn-mkt-pills a.rose {
  color: var(--wahmn-rose-soft);
  border-color: rgba(216, 106, 138, 0.45);
}
.wahmn-mkt-pills a.rose:hover { background: var(--wahmn-rose); color: #fff; border-color: var(--wahmn-rose); }

.wahmn-mkt-pills a.sage {
  color: var(--wahmn-sage-dark);
  border-color: rgba(140, 160, 128, 0.55);
}
.wahmn-mkt-pills a.sage:hover { background: var(--wahmn-sage-dark); color: #fff; border-color: var(--wahmn-sage-dark); }

.wahmn-mkt-pills a.blue {
  color: var(--wahmn-blue);
  border-color: rgba(70, 88, 108, 0.4);
}
.wahmn-mkt-pills a.blue:hover { background: var(--wahmn-blue); color: #fff; border-color: var(--wahmn-blue); }

.wahmn-mkt-pills a.cream {
  color: var(--wahmn-ink);
  border-color: rgba(43,43,43,0.2);
}
.wahmn-mkt-pills a.cream:hover { background: var(--wahmn-ink); color: #fff; border-color: var(--wahmn-ink); }

/* ---------- Deals (text-first layout) ---------- */
.wahmn-deals-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  background: #fff;
  border: 1px solid rgba(216, 106, 138, 0.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(43, 43, 43, 0.1);
  max-width: 1100px;
  margin: 0 auto 40px;
  text-decoration: none !important;
  transition: box-shadow 0.2s ease;
}
.wahmn-deals-featured:hover { box-shadow: 0 20px 48px rgba(43, 43, 43, 0.16); }
@media (max-width: 820px) {
  .wahmn-deals-featured { grid-template-columns: 1fr; }
  .wahmn-deals-featured .imgwrap { order: -1; min-height: 220px; }
}

.wahmn-deals-featured .imgwrap { position: relative; min-height: 240px; }
.wahmn-deals-featured .imgwrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wahmn-deals-featured .body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 820px) { .wahmn-deals-featured .body { padding: 30px 24px 36px; } }

.wahmn-deals-dotw {
  display: inline-block;
  background: var(--wahmn-rose);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.wahmn-deals-merchant {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wahmn-ink-soft);
}
.wahmn-deals-featured h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 2.9rem;
  line-height: 1.08;
  color: var(--wahmn-ink);
  margin: 14px 0 14px;
  font-weight: 600;
}
.wahmn-deals-featured:hover h2 { color: var(--wahmn-rose); }
.wahmn-deals-featured p { font-size: 1.1rem; color: var(--wahmn-ink-soft); line-height: 1.65; margin: 0 0 24px; }

.wahmn-deals-sale {
  display: inline-block;
  background: var(--wahmn-rose);
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.45rem;
  padding: 9px 26px;
  border-radius: 999px;
  margin-right: 16px;
  box-shadow: 0 4px 14px rgba(216,106,138,0.4);
}
.wahmn-deals-cta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wahmn-rose);
  font-weight: 600;
}

.wahmn-deals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 24px;
}

.wahmn-deal-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid var(--wahmn-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wahmn-deal-card:hover { border-color: var(--wahmn-rose); box-shadow: 0 12px 32px rgba(43,43,43,0.1); }
.wahmn-deal-card .imgwrap { position: relative; width: 200px; flex-shrink: 0; }
.wahmn-deal-card .imgwrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .wahmn-deal-card { flex-direction: column; }
  .wahmn-deal-card .imgwrap { width: 100%; height: 170px; }
}
.wahmn-deal-card .body { padding: 24px 26px; display: flex; flex-direction: column; flex: 1; }
.wahmn-deals-chip {
  display: inline-block;
  background: var(--wahmn-rose);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(216,106,138,0.35);
}
.wahmn-deal-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.7rem;
  color: var(--wahmn-ink);
  margin: 10px 0 8px;
  font-weight: 600;
  line-height: 1.2;
}
.wahmn-deal-card:hover h3 { color: var(--wahmn-rose); }
.wahmn-deal-card p { font-size: 1rem; color: var(--wahmn-ink-soft); line-height: 1.6; margin: 0 0 14px; flex: 1; }

.wahmn-deals-note {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wahmn-ink-soft);
  margin: 8px 0 0;
}

/* shared affiliate disclosure strip */
.wahmn-affil-note {
  max-width: 720px;
  margin: 40px auto;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--wahmn-ink);
  background: var(--wahmn-cream-deep);
  border-radius: 16px;
  padding: 32px 36px;
}
