/**
 * IRP - Careers page sections (talent intro + cards)
 */

/* Hero: extra tagline line spacing */
.about-hero-content .about-hero-tagline-sub {
  margin-top: 0.5em;
}

.careers-talent {
  padding: 80px 16px;
  background: #fff;
}

.careers-talent-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}

.careers-talent-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.careers-talent-header {
  text-align: center;
  margin-bottom: 64px;
}

.careers-talent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  margin-bottom: 24px;
}

.careers-talent-icon svg {
  width: 40px;
  height: 40px;
}

.careers-talent-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.careers-talent-text {
  font-size: 1.25rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.careers-talent-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 80px;
}

.careers-talent-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
  height: 100%;
}

.careers-talent-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.careers-talent-card-content {
  padding: 32px;
}

.careers-talent-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.careers-talent-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.careers-talent-card-icon svg {
  width: 32px;
  height: 32px;
}

.careers-talent-card-body {
  flex: 1;
}

.careers-talent-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.careers-talent-card-desc {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .careers-talent {
    padding: 80px 24px;
  }
  .careers-talent-container {
    padding: 0 24px;
  }
  .careers-talent-title {
    font-size: 2.25rem;
  }
  .careers-talent-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .careers-talent {
    padding: 48px 16px;
  }
  .careers-talent-header {
    margin-bottom: 48px;
  }
  .careers-talent-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  .careers-talent-icon svg {
    width: 32px;
    height: 32px;
  }
  .careers-talent-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  .careers-talent-text {
    font-size: 1.125rem;
  }
  .careers-talent-grid {
    margin-bottom: 48px;
  }
  .careers-talent-card-content {
    padding: 24px;
  }
  .careers-talent-card-inner {
    flex-direction: column;
    gap: 16px;
  }
  .careers-talent-card-title {
    font-size: 1.25rem;
  }
  .careers-talent-card-desc {
    font-size: 1rem;
  }
}

/* ========== Domain Expertise section ========== */
.careers-expertise {
  padding: 80px 16px;
  background: #f8fafc;
}

.careers-expertise-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}

.careers-expertise-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.careers-expertise-header {
  text-align: center;
  margin-bottom: 48px;
}

.careers-expertise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  margin-bottom: 24px;
}

.careers-expertise-icon svg {
  width: 40px;
  height: 40px;
}

.careers-expertise-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.careers-expertise-text {
  font-size: 1.125rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

.careers-expertise-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 0;
}

.careers-expertise-card-content {
  padding: 40px;
}

.careers-expertise-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.careers-expertise-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.careers-expertise-item:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.careers-expertise-item-icon {
  width: 20px;
  height: 20px;
  color: #2563eb;
  flex-shrink: 0;
}

.careers-expertise-item-label {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .careers-expertise {
    padding: 80px 24px;
  }
  .careers-expertise-container {
    padding: 0 24px;
  }
  .careers-expertise-title {
    font-size: 2.25rem;
  }
  .careers-expertise-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .careers-expertise {
    padding: 48px 16px;
  }
  .careers-expertise-header {
    margin-bottom: 32px;
  }
  .careers-expertise-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  .careers-expertise-icon svg {
    width: 32px;
    height: 32px;
  }
  .careers-expertise-title {
    font-size: 1.5rem;
  }
  .careers-expertise-text {
    font-size: 1rem;
  }
  .careers-expertise-card-content {
    padding: 24px;
  }
  .careers-expertise-grid {
    gap: 16px;
  }
}

/* ========== Ready to Join CTA section ========== */
.careers-cta {
  padding: 80px 16px;
  background: #fff;
}

.careers-cta-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}

.careers-cta-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.careers-cta-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.careers-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  opacity: 0.95;
}

.careers-cta-content {
  position: relative;
  padding: 48px 24px 56px;
  text-align: center;
  color: #fff;
}

.careers-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 32px;
}

.careers-cta-icon svg {
  width: 40px;
  height: 40px;
}

.careers-cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.careers-cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 40px 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.careers-cta-strong {
  color: #fff;
  font-weight: 700;
}

.careers-cta-email-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.careers-cta-email-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.careers-cta-email-label svg {
  width: 20px;
  height: 20px;
}

.careers-cta-email-link {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.careers-cta-email-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.careers-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 32px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2563eb;
  background: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  cursor: pointer;
}

.careers-cta-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.careers-cta-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .careers-cta-content {
    padding: 64px 48px 72px;
  }
  .careers-cta-title {
    font-size: 2.25rem;
    margin-bottom: 24px;
  }
  .careers-cta-email-link {
    font-size: 1.875rem;
  }
}

@media (max-width: 767px) {
  .careers-cta {
    padding: 48px 16px;
  }
  .careers-cta-content {
    padding: 40px 20px 48px;
  }
  .careers-cta-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }
  .careers-cta-icon svg {
    width: 32px;
    height: 32px;
  }
  .careers-cta-title {
    font-size: 1.5rem;
  }
  .careers-cta-text {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  .careers-cta-email-box {
    padding: 24px;
    margin-bottom: 32px;
  }
  .careers-cta-email-link {
    font-size: 1.25rem;
  }
  .careers-cta-btn {
    padding: 16px 24px;
    font-size: 1rem;
  }
}

/* ========== Current Openings section ========== */
.careers-openings {
  padding: 80px 16px;
  background: #f8fafc;
}

.careers-openings-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.careers-openings-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.careers-openings-header {
  text-align: center;
  margin-bottom: 48px;
}

.careers-openings-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  margin-bottom: 24px;
}

.careers-openings-icon svg {
  width: 40px;
  height: 40px;
}

.careers-openings-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.careers-openings-text {
  font-size: 1.125rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
}

.careers-openings-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(1, 1fr);
}

.careers-openings-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  height: 100%;
}

.careers-openings-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #2563eb;
}

.careers-openings-card:hover .careers-openings-card-title {
  color: #2563eb;
}

.careers-openings-card:hover .careers-openings-card-arrow {
  transform: translateX(4px);
}

.careers-openings-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.careers-openings-card-head {
  margin-bottom: 16px;
}

.careers-openings-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.careers-openings-card-icon svg {
  width: 24px;
  height: 24px;
}

.careers-openings-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.careers-openings-card-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.careers-openings-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.careers-openings-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
}

.careers-openings-card-arrow {
  width: 20px;
  height: 20px;
  color: #2563eb;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .careers-openings {
    padding: 80px 24px;
  }
  .careers-openings-container {
    padding: 0 24px;
  }
  .careers-openings-title {
    font-size: 2.25rem;
  }
  .careers-openings-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .careers-openings-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 767px) {
  .careers-openings {
    padding: 48px 16px;
  }
  .careers-openings-header {
    margin-bottom: 32px;
  }
  .careers-openings-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
  }
  .careers-openings-icon svg {
    width: 32px;
    height: 32px;
  }
  .careers-openings-title {
    font-size: 1.5rem;
  }
  .careers-openings-card-content {
    padding: 20px;
  }
}

/* Careers View Details popup content */
.careers-openings-card.js-careers-details-open {
  cursor: pointer;
}

.careers-details-popup-content {
  padding: 0 0 8px 0;
}

.careers-details-list {
  margin: 0 0 20px 0;
  padding-left: 1.25rem;
  color: #374151;
  line-height: 1.7;
  font-size: 1rem;
}

.careers-details-list li {
  margin-bottom: 8px;
}

.careers-details-list li:last-child {
  margin-bottom: 0;
}

.careers-details-apply-text {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.careers-details-apply-text strong {
  color: #111827;
}

.careers-details-email {
  margin: 0 0 24px 0;
  font-size: 1rem;
}

.careers-details-email-label {
  font-weight: 600;
  color: #111827;
  margin-right: 6px;
}

.careers-details-email-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.careers-details-email-link:hover {
  text-decoration: underline;
}

.careers-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
  font-family: inherit;
}

.careers-details-btn:hover {
  background: #1d4ed8;
}

.careers-details-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
