body.join-us {
  --accent-red: #bb0016;
}

/* ==========================================================================
  tags
  ========================================================================== */
body.join-us #main h2 {
  margin-bottom: 40px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 2.25rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

body.join-us #main h3 {
  margin-bottom: 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
  global elements
  ========================================================================== */

body.join-us .aioseo-breadcrumbs {
  display: block;
  font-family: var(--font-label, inherit);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #ffffff;
  text-shadow: 0 10px 15px rgba(0, 0, 0, 0.25);
}

body.join-us .button.primary {
  display: inline-block;
  background-color: var(--accent-red, #bb0016) !important;
  color: #ffffff !important;
  padding: 8px 32px !important;
  border-radius: 0.375rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1em !important;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  text-transform: unset;
  transition: all 0.2s ease-in-out;
  transform: scale(0.95);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.25);
}

body.join-us .button.primary:hover,
body.join-us .button.primary:focus {
  filter: brightness(1.1);
  transform: scale(1);
}

body.join-us .button.primary:active {
  transform: scale(0.9);
}

body.join-us .eyebrow-heading {
  display: block;
  color: var(--accent-red);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.join-us .eyebrow-heading p {
  margin: 0;
}

/* ==========================================================================
  hero section left
  ========================================================================== */

body.join-us .hero-left {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.join-us .hero-left h1 {
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1;
}

body.join-us .hero-left p {
  line-height: 1;
}

body.join-us .hero-left .button.primary {
  margin-top: 24px !important;
}

body.join-us .hero-right .col-inner .text.hero-callout {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  body.join-us .hero-right .col-inner .text.hero-callout {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  body.join-us .hero-right .col-inner .text.hero-callout {
    margin-top: 40px;
  }
}

body.join-us .hero-left .col-inner .text.hero-callout blockquote,
body.join-us .hero-right .col-inner .text.hero-callout blockquote {
  margin: 0;
  padding-left: 0;
  text-align: left;
  border-left: unset;
}

body.join-us .hero-left .col-inner .text.hero-callout blockquote p {
  font-family: var(--font-body, inherit);
  line-height: 1.75;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 300;
  border-left: 4px solid var(--accent-red);
  padding-left: 1.5rem;
  margin: 0;
}

body.join-us .hero-right .col-inner .text.hero-callout blockquote {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 300;
  border-left: 4px solid var(--accent-red);
  padding-left: 1.5rem;
  margin: 0;
}

body.join-us .hero-right .col-inner .text.hero-callout blockquote p {
  margin: 0;
}

/* ==========================================================================
  why revolt section
  ========================================================================== */

body.join-us .why-revolt-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  body.join-us .why-revolt-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (min-width: 1024px) {
  body.join-us .why-revolt-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}

body.join-us .why-revolt-card {
  padding: 2rem;
  border-radius: 0.75rem;
  border-left: 4px solid var(--accent-red);
  transition: transform 0.3s ease;
}

body.join-us .why-revolt-card:hover {
  transform: translateY(-0.25rem);
}

/* ==========================================================================
  forms
  ========================================================================== */

body.join-us .wpcf7-form {
  max-width: 72rem;
  margin: auto;
}

body.join-us .wpcf7-not-valid-tip {
  color: #f43f5e;
}

/* ==========================================================================
  join us card
  ========================================================================== */

body.join-us .join-us-card {
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1.25rem;
}

/* ==========================================================================
  inputs
  ========================================================================== */

body.join-us input[type='text'].input,
body.join-us input[type='email'].input,
body.join-us textarea.input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
  file upload
  ========================================================================== */

body.join-us .file-upload-input {
  display: none;
}

body.join-us .file-upload-button {
  background-color: #1d2a51;
  color: white;
}

/* ==========================================================================
  Our Values
  ========================================================================== */

/* Wrapper */
body.join-us .values-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

/* Scroll container */
body.join-us .values-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 4px 24px;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar */
body.join-us .values-carousel::-webkit-scrollbar {
  display: none;
}
body.join-us .values-carousel {
  scrollbar-width: none;
}

/* Card */
body.join-us .value-card {
  flex: 0 0 85%;
  background: var(--surface-container-low, #f3f3f3);
  padding: 28px;
  border-radius: 8px;

  scroll-snap-align: start;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

/* Tablet */
@media (min-width: 768px) {
  body.join-us .value-card {
    flex: 0 0 45%;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  body.join-us .value-card {
    flex: 0 0 30%;
  }
}

/* Hover */
/* body.join-us .value-card:hover {
  background: var(--primary, #06153b);
  color: #fff;
} */

/* Icon */
body.join-us .value-card .icon {
  font-size: 2.25rem;
  color: var(--secondary, #bb0016);
  margin-bottom: 8px;
  display: block;
}

/* Heading */
body.join-us .value-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Text */
body.join-us .value-card p {
  opacity: 0.8;
  line-height: 1.5;
}

/* Hint */
body.join-us .carousel-hint {
  font-size: 0.875rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

/* Screen reader only */
body.join-us .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
  What We Prioritize
  ========================================================================== */

/* List spacing */
body.join-us .priorities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.join-us .priorities-list li + li {
  margin-top: 16px; /* space-y-4 */
}

/* Item layout */
body.join-us .priority-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Icon */
body.join-us .priority-item .icon {
  color: var(--secondary, #bb0016);
  margin-top: 4px; /* mt-1 */
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Content wrapper */
body.join-us .priority-content {
  display: block;
}

/* Title */
body.join-us .priority-title {
  display: block;
  font-weight: 700;
  font-size: 1.125rem; /* text-lg */
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); /* drop-shadow-sm */
  margin-bottom: 4px;
}

/* Text */
body.join-us .priority-text {
  font-size: 0.875rem; /* text-sm */
  color: rgba(255, 255, 255, 0.8); /* text-white/80 */
  line-height: 1.5;
}

body.join-us .join-us-highlight-text {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75; /* leading-relaxed */
  font-weight: 300; /* font-light */

  color: rgba(255, 255, 255, 0.95); /* text-white/95 */

  border-left: 4px solid var(--secondary, #bb0016);
  padding-left: 24px; /* pl-6 */
}

/* Bold highlight */
body.join-us .highlight-strong {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
  Core Opporunities
  ========================================================================== */

/* Card wrapper */
body.join-us .role-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;

  border: 1px solid rgba(198, 198, 207, 0.2); /* outline-variant/20 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

  min-height: 320px;
  height: 100%;
}

/* Background image */
body.join-us .role-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

body.join-us .role-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay */
body.join-us .role-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 59, 0.2); /* primary/20 */
  mix-blend-mode: multiply;
}

/* Content panel */
body.join-us .role-card-content {
  position: relative;
  z-index: 1;

  height: 100%;
  width: 80%;
  margin-left: auto;

  background: #ffffff;
  padding: 32px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-left: 1px solid rgba(198, 198, 207, 0.3); /* outline-variant/30 */

  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);

  transition: transform 0.5s ease-in-out;
}

/* Tablet spacing */
@media (min-width: 768px) {
  body.join-us .role-card-content {
    padding: 40px;
  }
}

/* Hover effect (group-hover equivalent) */
body.join-us .role-card:hover .role-card-content {
  transform: translateX(5%);
}

/* Heading */
body.join-us .role-card-content h3 {
  font-size: 1.5rem; /* text-2xl */
  font-family: var(--font-headline, inherit);
  font-weight: 700;
  color: var(--primary, #06153b);
  margin-bottom: 12px;
}

/* Text */
body.join-us .role-card-content p {
  color: var(--on-surface-variant, #45464e);
  margin-bottom: 20px;
  line-height: 1.75;
  font-size: 0.875rem;
}

/* Larger text on tablet */
@media (min-width: 768px) {
  body.join-us .role-card-content p {
    font-size: 1rem;
  }
}

/* CTA spacing */
body.join-us .role-card-action {
  margin-top: 16px;
}

@media (min-width: 768px) {
  body.join-us .role-card-action {
    margin-top: 24px;
  }
}

/* Overlay variation (secondary instead of primary) */
body.join-us .role-card--secondary-overlay .role-card-overlay {
  background: rgba(187, 0, 22, 0.1); /* secondary/10 */
}

/* Slight right padding adjustment (pr-4 override) */
body.join-us .role-card-content--pr-tight {
  padding-right: 16px !important;
}

@media (min-width: 768px) {
  body.join-us .role-card-content--pr-tight {
    padding-right: 40px; /* keep md:p-10 consistent */
  }
}

/* ==========================================================================
  Form
  ========================================================================== */
/* FORM LAYOUT */
body.join-us .cf7-form {
  max-width: 48rem;
  margin: 0 auto;
}

body.join-us .cf7-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  body.join-us .cf7-grid {
    grid-template-columns: 1fr 1fr;
  }
}

body.join-us .cf7-field {
  width: 100%;
  margin-bottom: 24px;
}

/* INPUTS */
body.join-us .cf7-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;

  padding: 16px 20px;
  color: #ffffff;

  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;

  outline: none;
  transition: all 0.2s ease;
}

/* textarea height */
body.join-us textarea.cf7-input {
  min-height: 160px;
}

/* placeholder */
body.join-us .cf7-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* focus */
body.join-us .cf7-input:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--secondary, #bb0016);
}

/* VALIDATION */
body.join-us .wpcf7-not-valid-tip {
  background: transparent !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 8px 10px;
  line-height: 1.2;
}

body.join-us .wpcf7-not-valid-tip:after {
  display: none !important;
}

body.join-us .wpcf7-form-control.wpcf7-not-valid {
  border: 1px solid #ffffff !important;
  box-shadow: none !important;
}

/* FILE UPLOAD */
body.join-us .file-upload-input {
  display: none;
}

body.join-us .file-upload-button {
  display: inline-block;
  margin-top: 8px;

  background-color: #1d2a51;
  color: #ffffff;

  padding: 12px 16px;
  border-radius: 4px;

  cursor: pointer;
  font-weight: 700;

  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}

body.join-us .file-upload-filename {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.9rem;
  color: #fff;
}

/* SUBMIT */
body.join-us .submit-wrapper {
  text-align: center;
  padding-top: 16px;
}

body.join-us .submit-wrapper::before {
  content: none !important;
}

/* SUCCESS MESSAGE */
body.join-us .cf7-success {
  padding: 20px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
}

/* SR ONLY */
body.join-us .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
