/* ResumeGrow / Resume Crew — Blog Page */

.bl-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════ HERO ══════ */
.bl-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F0F4FF 0%, #FFFFFF 100%);
  padding: 96px 24px 56px;
  text-align: center;
}
.bl-hero-deco {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}
.bl-hero-deco-l { left: -80px; top: 40px; background: rgba(59,130,246,0.18); }
.bl-hero-deco-r { right: -80px; top: 80px; background: rgba(16,185,129,0.14); }

.bl-hero-heading {
  font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}
.bl-hero-line-1 { display: block; color: #0F172A; }
.bl-hero-line-2 { display: block; color: #2563EB; font-style: italic; }

.bl-hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #64748B;
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin: 16px auto 0;
}

/* ══════ FEATURED ══════ */
.bl-featured-section { background: #FFFFFF; padding: 64px 24px; }
.bl-featured-wrap {
  max-width: 1100px;
  display: flex;
  gap: 48px;
  align-items: center;
}
.bl-featured-thumb {
  flex: 0 0 45%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #EFF6FF;
  display: block;
}
.bl-featured-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-featured-content { flex: 1; }

.bl-featured-labels { display: flex; align-items: center; gap: 12px; }
.bl-featured-eyebrow {
  color: #64748B;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bl-featured-pill {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  padding: 4px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.bl-featured-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0 16px;
}
.bl-featured-title a {
  color: #0F172A;
  text-decoration: none;
  transition: color 0.2s ease;
}
.bl-featured-title a:hover { color: #2563EB; }

.bl-featured-excerpt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bl-featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bl-featured-date {
  color: #2563EB;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.bl-featured-read {
  color: #2563EB;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.bl-featured-read:hover { text-decoration: underline; }

/* ══════ FILTERS / SEARCH / TABS ══════ */
.bl-filters-section { background: #FFFFFF; padding: 40px 24px 0; }
.bl-filters-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.bl-search {
  width: 200px;
  flex-shrink: 0;
  border: 1.5px solid #E2E8F0;
  border-radius: 9999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bl-search:focus-within {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
.bl-search svg { width: 16px; height: 16px; color: #94A3B8; flex-shrink: 0; }
.bl-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #0F172A;
  width: 100%;
}
.bl-search input::placeholder { color: #94A3B8; }

.bl-tabs-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.bl-tab-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.bl-tab-arrow:hover { background: #E2E8F0; color: #0F172A; }

.bl-tabs {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.bl-tabs::-webkit-scrollbar { display: none; }
.tabs-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }

.bl-tab {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.bl-tab:hover { border-color: #2563EB; color: #2563EB; }
.bl-tab.active {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
  font-weight: 700;
}

/* ══════ GRID + CARDS ══════ */
.bl-grid-section { background: #FFFFFF; padding: 32px 24px 0; }
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.bl-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1.5px solid #E2E8F0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.bl-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.12);
  border-color: #BFDBFE;
}
.bl-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.bl-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #1E3A5F, #2563EB);
  position: relative;
  flex-shrink: 0;
}
.bl-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.bl-card:hover .bl-card-thumb img { transform: scale(1.04); }

.bl-thumb-fallback {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #1E3A5F 60%, #2563EB 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.bl-thumb-fallback-lg { padding: 32px; aspect-ratio: 16/10; }
.bl-thumb-fallback-logo {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}
.bl-thumb-fallback-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 800;
  line-height: 1.3;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.bl-thumb-fallback-lg .bl-thumb-fallback-title {
  font-size: clamp(20px, 3vw, 28px);
  -webkit-line-clamp: 4;
}
.bl-thumb-fallback-socials {
  display: flex;
  gap: 6px;
  color: rgba(255,255,255,0.5);
}
.bl-thumb-fallback-socials svg { width: 14px; height: 14px; }
.bl-thumb-fallback-orb {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.bl-card-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bl-card-title {
  font-family: 'Inter', sans-serif;
  color: #0F172A;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.bl-card:hover .bl-card-title { color: #2563EB; }

.bl-card-excerpt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #64748B;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.bl-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}
.bl-card-tag {
  display: inline-block;
  border-radius: 9999px;
  padding: 4px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  background: #F0F4FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}
.tag-resumes    { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.tag-career     { background: #F0FDF4; color: #10B981; border: 1px solid #A7F3D0; }
.tag-interview  { background: #FFF7ED; color: #F59E0B; border: 1px solid #FED7AA; }
.tag-linkedin   { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.tag-job-search { background: #F5F3FF; color: #7C3AED; border: 1px solid #DDD6FE; }

.bl-card-date {
  color: #2563EB;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

/* Empty state */
.bl-empty { text-align: center; padding: 60px 20px; }
.bl-empty svg { width: 48px; height: 48px; color: #CBD5E1; margin: 0 auto; display: block; }
.bl-empty-title { color: #64748B; font-size: 16px; margin: 12px 0 4px; font-family: 'Inter', sans-serif; }
.bl-empty-sub { color: #94A3B8; font-size: 14px; margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; }

/* ══════ LOAD MORE ══════ */
.bl-loadmore-wrap { padding: 40px 0 80px; text-align: center; }
.bl-loadmore {
  display: inline-block;
  background: transparent;
  border: 1.5px solid #0F172A;
  color: #0F172A;
  border-radius: 9999px;
  padding: 13px 48px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bl-loadmore:hover { background: #0F172A; color: #FFFFFF; }
.bl-loadmore:disabled { opacity: 0.7; cursor: not-allowed; }
.bl-loadmore.is-loading::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -2px;
  animation: bl-spin 0.7s linear infinite;
}
@keyframes bl-spin { to { transform: rotate(360deg); } }
.bl-no-more {
  color: #94A3B8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  text-align: center;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════ NEWSLETTER CTA ══════ */
.bl-cta {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(37,99,235,0.18) 0%, transparent 60%),
    #0F172A;
  padding: 100px 24px;
  color: #FFFFFF;
}
.bl-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.bl-cta-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}
.bl-cta-line-1 { display: block; color: #FFFFFF; }
.bl-cta-line-2 { display: block; color: #2563EB; font-style: italic; }
.bl-cta-sub {
  color: #94A3B8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  max-width: 480px;
  margin: 16px auto 24px;
}

.bl-news-row {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.bl-news-input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #0F172A;
  background: #FFFFFF;
  border-radius: 9999px 0 0 9999px;
}
.bl-news-input::placeholder { color: #94A3B8; }
.bl-news-btn {
  background: #2563EB;
  color: #FFFFFF;
  padding: 16px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 0 9999px 9999px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.bl-news-btn:hover { background: #4b83ff; }

.bl-news-success {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}
.bl-news-success svg { width: 24px; height: 24px; color: #10B981; }

.bl-cta-terms {
  color: #64748B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  margin: 14px 0 0;
}
.bl-cta-terms a { color: #FFFFFF; text-decoration: underline; }
.bl-cta-terms a:hover { color: #2563EB; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 1024px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
  .bl-featured-wrap { flex-direction: column; }
  .bl-featured-thumb { flex: 0 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  .bl-hero { padding: 64px 20px 40px; }
  .bl-featured-section { padding: 40px 20px; }
  .bl-cta { padding: 64px 20px; }
}
@media (max-width: 640px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-filters-row { flex-direction: column; align-items: stretch; }
  .bl-search { width: 100%; }
  .bl-news-row {
    flex-direction: column;
    border-radius: 16px;
    overflow: visible;
    gap: 10px;
    box-shadow: none;
  }
  .bl-news-input { border-radius: 9999px; border: 1.5px solid #E2E8F0; }
  .bl-news-btn { border-radius: 9999px; width: 100%; text-align: center; }
}
