/* ============================================================
   recruiter-cover.css
   Teal / gold / mint cover design for the QA Recruiter Guide Series.
   All classes are namespaced .rc-* so they never collide with
   pdf-brand.css (.cv-cover, .page, etc.).

   ONE component, TWO sizes driven by a single --rc-s scale multiplier:
     .rc.rc-card  -> hub storefront card (fills the 440px .book column)
     .rc.rc-page  -> full US-Letter sheet (816x1056) on preview pages
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Source+Serif+4:ital@1&display=swap');

.rc {
  /* palette */
  --rc-teal:        #0F6E56;
  --rc-gold:        #FFD24A;
  --rc-mint-bright: #5BD4AE;
  --rc-mint-light:  #BFF3E3;
  --rc-mint-vlight: #D6F5EB;
  --rc-mint-muted:  #9FD9C4;
  --rc-white:       #FFFFFF;

  --rc-s: 1;                       /* scale; card = 1, page overrides */

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--rc-teal);
  color: var(--rc-white);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  padding: calc(34px * var(--rc-s)) calc(30px * var(--rc-s));
  box-sizing: border-box;
}
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }

/* mint radial glow, top-center */
.rc::before {
  content: "";
  position: absolute;
  top: calc(-90px * var(--rc-s));
  left: 50%;
  transform: translateX(-50%);
  width: calc(260px * var(--rc-s));
  height: calc(260px * var(--rc-s));
  background: radial-gradient(circle,
              rgba(91,212,174,0.26) 0%,
              rgba(18,168,123,0.10) 45%,
              transparent 70%);
  pointer-events: none;
}

/* zones sit above the glow */
.rc-top, .rc-mid, .rc-bottom { position: relative; z-index: 1; }
/* gold masthead rule under the "Guide Series" banner */
.rc-top { padding-bottom: calc(18px * var(--rc-s)); border-bottom: calc(1.5px * var(--rc-s)) solid rgba(255,210,74,0.5); }
.rc-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- TOP zone ---------- */
.rc-brand {
  display: flex; align-items: center;
  gap: calc(9px * var(--rc-s));
  margin-bottom: calc(22px * var(--rc-s));
}
.rc-mark {
  width: calc(26px * var(--rc-s));
  height: calc(26px * var(--rc-s));
  border-radius: calc(6px * var(--rc-s));
  border: calc(1.5px * var(--rc-s)) solid var(--rc-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: calc(11px * var(--rc-s));
  color: var(--rc-gold);
  flex-shrink: 0;
}
.rc-edition {
  font-weight: 600;
  font-size: calc(8px * var(--rc-s));
  letter-spacing: calc(2.5px * var(--rc-s));
  color: var(--rc-mint-light);
  text-transform: uppercase;
}
.rc-banner {
  font-weight: 800;
  font-size: calc(23px * var(--rc-s));
  color: var(--rc-gold);
  line-height: 1.15;
  letter-spacing: calc(-0.2px * var(--rc-s));
  text-transform: uppercase;
}
.rc-banner-2 {
  display: block;
  font-size: calc(21px * var(--rc-s));
  font-weight: 800;
  color: var(--rc-mint-light);
  letter-spacing: calc(-0.2px * var(--rc-s));
  margin-top: calc(2px * var(--rc-s));
}

/* gold round volume badge, top-right */
.rc-vol {
  position: absolute;
  top: calc(30px * var(--rc-s));
  right: calc(30px * var(--rc-s));
  width: calc(34px * var(--rc-s));
  height: calc(34px * var(--rc-s));
  border-radius: 50%;
  background: var(--rc-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: calc(11px * var(--rc-s));
  color: var(--rc-teal);
  z-index: 2;
}

/* ---------- MIDDLE zone ---------- */
.rc-icon {
  width: calc(78px * var(--rc-s));
  height: calc(78px * var(--rc-s));
  margin-bottom: calc(26px * var(--rc-s));
}
.rc-icon svg { width: 100%; height: 100%; }
/* larger variant — for icons that read small (Guide 3 network, Guide 4 human+AI) */
.rc-icon.rc-icon-lg { width: calc(110px * var(--rc-s)); height: calc(110px * var(--rc-s)); }
.rc-title {
  font-weight: 800;
  font-size: calc(34px * var(--rc-s));
  color: var(--rc-white);
  line-height: 1.04;
  letter-spacing: calc(-1px * var(--rc-s));
  text-transform: uppercase;
}
.rc-gold { color: var(--rc-gold); }
.rc-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: calc(16.5px * var(--rc-s));
  font-style: italic;
  color: var(--rc-mint-vlight);
  line-height: 1.45;
  margin-top: calc(18px * var(--rc-s));
}

/* "Start Here" pill — UNIQUE to Guide 1 (the foundation guide).
   Sits in the middle zone, directly above the topic icon. */
.rc-start {
  align-self: flex-start;
  width: fit-content;
  background: var(--rc-gold);
  color: var(--rc-teal);
  font-weight: 800;
  font-size: calc(9.5px * var(--rc-s));
  letter-spacing: calc(1.5px * var(--rc-s));
  text-transform: uppercase;
  line-height: 1;
  padding: calc(6px * var(--rc-s)) calc(14px * var(--rc-s));
  border-radius: calc(20px * var(--rc-s));
  margin-bottom: calc(16px * var(--rc-s));
}

/* ---------- BOTTOM zone ---------- */
.rc-promise {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: calc(14.5px * var(--rc-s));
  font-style: italic;
  color: var(--rc-mint-light);
  line-height: 1.55;
  margin-bottom: calc(20px * var(--rc-s));
}
.rc-byline {
  font-weight: 600;
  font-size: calc(7.5px * var(--rc-s));
  letter-spacing: calc(1.5px * var(--rc-s));
  color: var(--rc-mint-muted);
  text-transform: uppercase;
}

/* ============================================================
   SIZE 1 — hub storefront card (fills the 440px .book column)
   ============================================================ */
.rc-card {
  --rc-s: 1;
  width: 100%;
  aspect-ratio: 0.76;
  border-radius: 4px;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 40px 70px -30px rgba(0,0,0,.7),
    0 18px 36px -22px rgba(0,0,0,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rc-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(91,212,174,.4),
    0 50px 80px -28px rgba(0,0,0,.75);
}

/* ============================================================
   SIZE 2 — full US-Letter sheet on preview pages
   Wrapped by <article class="page rc-sheet"> (mirrors .page.cv-cover)
   ============================================================ */
.page.rc-sheet {
  padding: 0;
  background: var(--rc-teal, #0F6E56);
  overflow: hidden;
}
.rc-page {
  --rc-s: 1.7;
  width: 100%;
  min-height: 1056px;
  flex: 1;
  border-radius: 0;
}

/* ============================================================
   SIZE 3 — compact cover used in the 3-guide bundle row (~290px)
   ============================================================ */
.rc-lp {
  --rc-s: 0.66;
  width: 290px; aspect-ratio: 0.76; flex: 0 0 290px;
  border-radius: 5px; text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 30px 58px -28px rgba(0,0,0,.6),
    0 14px 30px -20px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.rc-lp:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(91,212,174,.4), 0 42px 70px -28px rgba(0,0,0,.7);
}

/* ============================================================
   Bundle shelf mini card — teal variant of pdf .mini / storefront .mini
   ============================================================ */
.mini.rc-mini {
  background:
    radial-gradient(120% 70% at 75% 12%, rgba(91,212,174,.28) 0%, transparent 60%),
    linear-gradient(160deg, #128a68 0%, #0F6E56 45%, #0c5a46 100%);
}
.mini.rc-mini .num {
  background: var(--rc-gold, #FFD24A);
  color: #0F6E56;
  box-shadow: 0 4px 12px -2px rgba(255,210,74,.5);
}
.mini.rc-mini .m-intro { color: var(--rc-mint-muted, #9FD9C4); }
.mini.rc-mini .m-title .cy { color: var(--rc-gold, #FFD24A); }
.mini.rc-mini .m-by b { color: var(--rc-mint-vlight, #D6F5EB); }

/* Mini-cover thumbnails — mirror each real guide cover (series banner,
   gold vol badge, gold topic icon, title with the same gold word). */
.mini.rc-mini { justify-content: flex-start; }
.mini.rc-mini .m-vol {
  position: absolute; top: 10px; right: 10px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--rc-gold, #FFD24A); color: var(--rc-teal, #0F6E56);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 8px;
  display: grid; place-items: center; z-index: 2; box-shadow: none;
}
.mini.rc-mini .m-banner {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 8.5px;
  line-height: 1.22; letter-spacing: -0.1px; text-transform: uppercase;
  color: var(--rc-gold, #FFD24A); padding: 0 22px 8px 0;
  border-bottom: 1px solid rgba(255,210,74,0.5);
}
.mini.rc-mini .m-banner span { display: block; color: var(--rc-mint-light, #BFF3E3); }
/* centered middle zone (mirrors the cover's .rc-mid) so content fills the
   card and isn't bunched at the top */
.mini.rc-mini .m-mid {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
}
.mini.rc-mini .m-star {
  display: inline-block; width: fit-content; margin: 0 0 9px;
  background: var(--rc-gold, #FFD24A); color: var(--rc-teal, #0F6E56);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 6px;
  letter-spacing: 0.4px; text-transform: uppercase; padding: 3px 7px; border-radius: 20px;
}
.mini.rc-mini .m-icon { width: 26px; height: 26px; margin: 0 0 9px; }
.mini.rc-mini .m-icon.m-icon-lg { width: 36px; height: 36px; }
.mini.rc-mini .m-icon svg { width: 100%; height: 100%; }
.mini.rc-mini .m-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px;
  line-height: 1.05; letter-spacing: -0.4px; text-transform: uppercase;
  color: #fff; margin-top: 0;
}
.mini.rc-mini .m-title .cy { color: var(--rc-gold, #FFD24A); display: block; }
.mini.rc-mini .m-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic; font-size: 8px; line-height: 1.32;
  color: var(--rc-mint-vlight, #D6F5EB); margin-top: 7px;
}
