/* =============================================
   Resume Captain — resources-page.css
   ============================================= */

/* ===== FORCE FULL WIDTH ===== */
body.page-template-page-resources .site-primary,
body.page-template-page-resources #primary,
body.page-template-page-resources .content-area,
body.page-template-page-resources #content,
body.page-template-page-resources .entry-content,
body.page-template-page-resources article,
body.page-template-page-resources .hentry {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

.rc-resources-page * { box-sizing: border-box !important; }

.rc-resources-page .rc-container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  width: 100% !important;
}

/* ===== TYPOGRAPHY ===== */
.rc-resources-page .rc-page-title {
  font-size: 52px !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-bottom: 1.75rem !important;
  line-height: 1.1 !important;
}

.rc-resources-page .rc-label {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #888 !important;
  margin-bottom: 0.75rem !important;
  display: block !important;
}

/* ===== HERO ===== */
.rc-resources-page .rc-hero { padding: 2.5rem 0 0 !important; }

.rc-resources-page .rc-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  gap: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  border-bottom: 1px solid #e8e8e8 !important;
  align-items: start !important;
}

@media (max-width: 768px) {
  .rc-resources-page .rc-hero-grid { grid-template-columns: 1fr !important; }
}

.rc-resources-page .rc-spotlight-link {
  text-decoration: none !important;
  display: block !important;
}

.rc-resources-page .rc-spotlight-img {
  width: 100% !important;
  height: 340px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 1rem !important;
  background: #b8d4cc !important;
  display: block !important;
  position: relative !important;
}

.rc-resources-page .rc-spotlight-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: absolute !important;
  top: 0 !important; left: 0 !important;
}

.rc-resources-page .rc-spotlight-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.45 !important;
  margin: 0 0 0.75rem !important;
}

.rc-resources-page .rc-spotlight-link:hover .rc-spotlight-title { color: #ed4e34 !important; }

.rc-resources-page .rc-author-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 0.75rem !important;
}

.rc-resources-page .rc-avatar {
  width: 32px !important; height: 32px !important;
  border-radius: 50% !important; flex-shrink: 0 !important;
}

.rc-resources-page .rc-author-name { font-size: 13px !important; color: #666 !important; }

/* Latest */
.rc-resources-page .rc-latest-list {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
}

.rc-resources-page .rc-latest-item {
  border-bottom: 1px solid #e8e8e8 !important;
  margin: 0 !important; padding: 0 !important;
}

.rc-resources-page .rc-latest-item:first-child { border-top: 1px solid #e8e8e8 !important; }
.rc-resources-page .rc-latest-item::before,
.rc-resources-page .rc-latest-item::after { display: none !important; content: none !important; }

.rc-resources-page .rc-latest-link {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 12px 0 !important;
  text-decoration: none !important;
}

.rc-resources-page .rc-latest-thumb {
  width: 120px !important;
  height: 90px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #b8d4cc !important;
  position: relative !important;
}

.rc-resources-page .rc-latest-thumb img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block !important; margin: 0 !important;
}

.rc-resources-page .rc-thumb-placeholder { background: #b8d4cc !important; width: 100% !important; height: 100% !important; }

.rc-resources-page .rc-latest-title {
  font-size: 14px !important; font-weight: 600 !important;
  color: #111 !important; line-height: 1.5 !important; margin: 0 !important;
}

.rc-resources-page .rc-latest-link:hover .rc-latest-title { color: #ed4e34 !important; }

/* ===== FILTER ===== */
.rc-resources-page .rc-filter-section { padding: 1.75rem 0 0 !important; }

.rc-resources-page .rc-filter-row {
  display: flex !important; flex-wrap: wrap !important;
  gap: 8px !important; margin-bottom: 1.25rem !important; padding: 0 !important;
}

.rc-resources-page .rc-pill {
  padding: 7px 18px !important;
  border-radius: 999px !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  color: #fff !important;
  font-family: inherit !important;
  display: inline-block !important;
  transition: opacity 0.15s !important;
}

.rc-resources-page .rc-pill:hover { opacity: 0.85 !important; }
.rc-resources-page .rc-pill--all { background: #f0f0f0 !important; color: #333 !important; border: 1px solid #ddd !important; }
.rc-resources-page .rc-pill--all.active { background: #111 !important; color: #fff !important; border-color: #111 !important; }
.rc-resources-page .rc-pill--resume    { background: #0F6E56 !important; }
.rc-resources-page .rc-pill--cover     { background: #1a8fa8 !important; }
.rc-resources-page .rc-pill--jobsearch { background: #E8A020 !important; }
.rc-resources-page .rc-pill--interview { background: #2d3aa8 !important; }
.rc-resources-page .rc-pill--comp      { background: #6b7fd4 !important; }
.rc-resources-page .rc-pill--career    { background: #d4512a !important; }
.rc-resources-page .rc-pill--pivot     { background: #7a2550 !important; }
.rc-resources-page .rc-pill--linkedin  { background: #0077B5 !important; }

/* ===== CTA BAR ===== */
.rc-resources-page .rc-cta-bar {
  background: #ed4e34 !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-bottom: 2.5rem !important;
}

.rc-resources-page .rc-cta-text p {
  font-size: 15px !important; font-weight: 600 !important;
  color: #fff !important; margin: 0 0 2px !important;
}

.rc-resources-page .rc-cta-text span { font-size: 13px !important; color: #fbc4ba !important; }

.rc-resources-page .rc-cta-btn {
  padding: 9px 22px !important;
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
}

.rc-resources-page .rc-cta-btn:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }

/* ===== CATEGORY SECTIONS — Editorial Style ===== */
.rc-resources-page .rc-content-section { padding: 0 0 2rem !important; }

.rc-resources-page .rc-section {
  border-radius: 16px !important;
  margin-bottom: 2rem !important;
  overflow: hidden !important;
}

/* Section colors */
.rc-resources-page .rc-section--resume    { background: #0F6E56 !important; }
.rc-resources-page .rc-section--cover     { background: #1a8fa8 !important; }
.rc-resources-page .rc-section--jobsearch { background: #E8A020 !important; }
.rc-resources-page .rc-section--interview { background: #2d3aa8 !important; }
.rc-resources-page .rc-section--comp      { background: #6b7fd4 !important; }
.rc-resources-page .rc-section--career    { background: #d4512a !important; }
.rc-resources-page .rc-section--pivot     { background: #7a2550 !important; }
.rc-resources-page .rc-section--linkedin  { background: #0077B5 !important; }

.rc-resources-page .rc-section-inner {
  padding: 2rem 2rem 1.5rem !important;
}

.rc-resources-page .rc-section-top {
  margin-bottom: 1.5rem !important;
}

.rc-resources-page .rc-section-title {
  font-size: 54px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 0.75rem !important;
  line-height: 1.2 !important;
}

.rc-resources-page .rc-section-desc {
  font-size: 22px !important;
  color: rgba(255,255,255,0.9) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  max-width: 680px !important;
}

/* ===== CARDS ===== */
.rc-resources-page .rc-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

@media (max-width: 600px) {
  .rc-resources-page .rc-card-grid { grid-template-columns: 1fr !important; }
}

.rc-resources-page .rc-card {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 0 !important;
  transition: transform 0.15s, box-shadow 0.15s !important;
}

.rc-resources-page .rc-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

.rc-resources-page .rc-card-link {
  text-decoration: none !important;
  display: block !important;
}

.rc-resources-page .rc-card-img {
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  background: #e0e0e0 !important;
  position: relative !important;
}

.rc-resources-page .rc-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transition: transform 0.3s !important;
}

.rc-resources-page .rc-card:hover .rc-card-img img {
  transform: scale(1.04) !important;
}

.rc-resources-page .rc-card-body {
  padding: 1rem !important;
}

.rc-resources-page .rc-card-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 1.45 !important;
  margin: 0 0 0.75rem !important;
}

.rc-resources-page .rc-card-author {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #666 !important;
}

.rc-resources-page .rc-card-avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

/* ===== SEE ALL BUTTON ===== */
.rc-resources-page .rc-section-footer {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 1.25rem !important;
}

.rc-resources-page .rc-see-all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 10px 20px !important;
  background: #fff !important;
  color: #111 !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.15s !important;
}

.rc-resources-page .rc-see-all:hover {
  background: rgba(255,255,255,0.85) !important;
  color: #111 !important;
}

.rc-resources-page .rc-divider {
  border: none !important;
  border-top: 1px solid #e8e8e8 !important;
  margin: 0 0 1.75rem !important;
}

/* ===== BIGGER CARD TEXT ===== */
.rc-resources-page .rc-section-title {
  font-size: 36px !important;
  font-weight: 700 !important;
}

.rc-resources-page .rc-section-desc {
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.rc-resources-page .rc-card-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
}

.rc-resources-page .rc-card-author {
  font-size: 14px !important;
}

.rc-resources-page .rc-card-img {
  height: 220px !important;
}

div.rc-section--linkedin {
  background-color: #0077B5 !important;
}