@charset "UTF-8";
/*!
 * Single oferta pracy – ładowane tylko na is_singular('oferta-pracy').
 * Hero z kolorem kategorii (ACF), breadcrumbs, lokalizacja, CTA.
 */
/**
 * Zmienne reużywalne (header, komponenty).
 * Breakpoint używany z wordpressify: --screen-xxl (1440px).
 */
/* Breakpointy – zmienne SCSS (do mixinów / media queries) */
:root {
  /* Kolory */
  --color-text: #303030;
  --color-brand: #d2232a;
  --color-brand-hover: #b81e24;
  --color-white: #fff;
  --color-bg-light: #f5f5f5;
  --color-border: #d6d6d6;
  --color-border-light: #e8e8e8;
  --color-muted: #a0a0a0;
  /* Typografia */
  --font-primary: "Montserrat", sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --line-height-tight: 16px;
  --line-height-base: 24px;
  /* Typografia fluid – skalowanie na mniejszych ekranach */
  --font-size-hero: clamp(2rem, 3.5vw, 3rem);
  --font-size-h2: clamp(1.5rem, 2.5vw, 2.25rem);
  --font-size-h3: clamp(1.125rem, 2vw, 1.5rem);
  --font-size-h1-subpage: 36px;
  /* Header – spacing / layout (zgodne z Figmą) */
  --header-gap: 55px;
  --header-gap-lg: 100px;
  --header-padding: 10px;
  /* Pasek headera przy scrollu (fixed) – padding-top kompensacyjny w _c-subpage-header ~76px + oddech pod sticky reel/sidebar */
  --sticky-header-offset: 88px;
  --radius-pill: 100px;
  --cta-padding: 12px 32px;
  /* Sekcje – ujednolicone paddingi L/R i max-width (wyrównanie w pionie), fluid; content węższy – przestrzeń L/R */
  --section-padding-x: clamp(1rem, 4vw, 3rem);
  --section-padding-y: clamp(3rem, 6vw, 6rem);
  --inner-max-width: 1280px;
  /* Kontenery treści: 0 na desktop (wyrównanie z headerem), section-padding-x na mobile i tablet */
  --content-padding-x: 0;
  /* Wymiary ikon i logo */
  --icon-size: 20px;
  --logo-width: 53px;
  --logo-height: 59px;
  /* Strefa pracodawcy (Figma) */
  --employer-color-heading: #0e0e0e;
  --employer-color-body: #4c4c4c;
  --employer-color-muted: #c1c1c1;
  --employer-line-height-heading: 47px;
  --employer-font-inter: "Inter Tight", sans-serif;
  --employer-font-neulis: "Neulis Sans", sans-serif;
  /* Footer */
  --color-footer-bg: #f2f2f2;
  --color-footer-text: #0e0e0e;
  --color-footer-bar-text: #c7c7c7;
  --color-footer-phone-border: #898989;
  --footer-inner-max: var(--inner-max-width);
  --footer-gap: 30px;
}

/* Padding L/R dopóki viewport węższy niż kontener – od 1280px kontener wycentrowany, wcześniej padding L/R */
@media (max-width: 1279px) {
  :root {
    --content-padding-x: var(--section-padding-x);
  }
}
/**
 * Hero single oferty pracy – tło z koloru kategorii (--offer-cat-color), tytuł, breadcrumbs, lokalizacja, CTA.
 * Kolor wstrzykiwany inline z ACF (job-category). BEM: .c-offer-hero.
 */
/* Header na single oferty: powiększony obszar, kolor tła wypełnia się w hero. */
.c-subpage-header--offer {
  min-height: 0;
  height: auto;
  padding-bottom: clamp(1rem, 2vw, 2rem);
}

.c-offer-hero {
  background-color: var(--offer-cat-color, #cccccc);
  width: 100%;
  padding: clamp(2rem, 5vw, 1.5rem) var(--section-padding-x);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  box-sizing: border-box;
  font-family: var(--font-primary);
}

.c-offer-hero__inner {
  max-width: var(--inner-max-width);
  margin: 0 auto;
  position: relative;
}

/* Breadcrumbs na górze hero. */
.c-offer-hero__breadcrumbs {
  margin-bottom: 1rem;
}

/* Wiersz: przycisk kategorii (lewo) | tytuł (środek) | lokalizacja (prawo) – jedna linia. */
.c-offer-hero__header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.c-offer-hero__category-link {
  flex-shrink: 0;
  width: 120px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.4rem;
  background-color: var(--color-brand);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.c-offer-hero__category-link:hover, .c-offer-hero__category-link:focus-visible {
  opacity: 0.9;
  color: #fff;
}

.c-offer-hero__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: #000;
}

/* Breadcrumbs w hero – na jasnym tle (żółty/szary) ciemne linki. */
.c-offer-hero__breadcrumbs .c-breadcrumbs__list {
  color: rgba(0, 0, 0, 0.7);
}

.c-offer-hero__breadcrumbs .c-breadcrumbs__link,
.c-offer-hero__breadcrumbs .c-breadcrumbs__item--sep {
  color: rgba(0, 0, 0, 0.7);
}

.c-offer-hero__breadcrumbs .c-breadcrumbs__link:hover {
  color: #000;
}

.c-offer-hero__breadcrumbs .c-breadcrumbs__item--current {
  color: #000;
  font-weight: 600;
}

.c-offer-hero__location {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(221, 221, 221, 0.4);
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #000;
  box-sizing: border-box;
  max-width: 100%;
}

.c-offer-hero__location-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.c-offer-hero__location-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.c-offer-hero__location-text b {
  font-weight: 600;
}

/* Na mobile: wiersz w kolumnie – kategoria, tytuł, lokalizacja. */
@media (max-width: 768px) {
  .c-offer-hero__header-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }
  .c-offer-hero__category-link {
    width: 100%;
  }
  .c-offer-hero__location {
    margin-left: 0;
  }
  .c-offer-hero__title {
    width: 100%;
  }
}
/* Pasek CTA – na pół w hero, na pół w content (nakładka na granicy). */
.c-offer-hero__cta-bar {
  position: relative;
  z-index: 1;
  max-width: var(--inner-max-width);
  margin: -2.5rem auto 0;
  padding: 1.25rem var(--section-padding-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--color-bg-light);
  border-radius: 6px;
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #626262;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  top: 90px;
}

/* Fallback z czcionką wspierającą polskie znaki (ą, ę, ó, ł) – Montserrat z GF może być w subsetcie bez Latin Extended. */
.c-offer-hero__cta-text {
  margin: 0;
  font-family: var(--font-primary), system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Treść oferty poniżej hero. */
.c-offer-single__content {
  max-width: var(--inner-max-width);
  margin: 0 auto;
  padding: var(--section-padding-y) var(--section-padding-x);
}

.c-offer-single__body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
}

.c-offer-single__body p {
  margin: 0 0 1em;
}

.c-offer-single__body a {
  color: var(--color-brand);
}

@media (prefers-reduced-motion: reduce) {
  .c-offer-hero__category-link {
    transition: none;
  }
  .c-offer-cta-btn:hover {
    transition: none;
  }
}
/**
 * Single oferta pracy – sekcje: dwie kolumny (Zakres/Wymagania | zdjęcie + Oferujemy), CTA open, pasek CTA.
 * BEM: .c-offer-single__*, .c-offer-duties, .c-offer-requirements, .c-offer-nice-to-have, .c-offer-after-training, .c-offer-skills-gained, .c-offer-benefits, .c-offer-cta-open, .c-offer-cta-bar.
 */
/**
 * Blok CTA „Nie znalazłeś oferty?” – single oferty + archiwum/kategorie.
 * BEM: .c-offer-cta-open, .c-offer-cta-btn
 */
.c-offer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-primary);
}

.c-offer-cta-btn:hover,
.c-offer-cta-btn:focus-visible {
  opacity: 0.9;
}

.c-offer-cta-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.c-offer-cta-open {
  width: 100%;
  padding: 0 var(--section-padding-x) var(--section-padding-y);
  position: relative;
  overflow: hidden;
  text-align: left;
  font-family: var(--font-primary);
}

.c-offer-cta-open__container {
  max-width: var(--inner-max-width);
  margin: 0 auto;
}

.c-offer-cta-open__box {
  position: relative;
  min-height: 278px;
  border-radius: 8px;
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  box-sizing: border-box;
}

.c-offer-cta-open__img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  min-width: 320px;
  height: 278px;
  object-fit: cover;
  display: block;
}

.c-offer-cta-open__gradient {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 278px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

.c-offer-cta-open__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 684px;
  padding: 2.8125rem var(--section-padding-x) 2rem clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  min-height: 278px;
  box-sizing: border-box;
}

.c-offer-cta-open__heading {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 47px;
  font-weight: 600;
  color: #000;
}

.c-offer-cta-open__text {
  margin: 0;
  width: 100%;
  max-width: 492px;
  font-size: 16px;
  line-height: 25px;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .c-offer-cta-btn:hover {
    transition: none;
  }
}
/* Główny blok treści – dwie kolumny. */
.c-offer-single__main {
  max-width: var(--inner-max-width);
  margin: 0 auto;
  padding: calc(var(--section-padding-y) * 1.5) var(--content-padding-x);
}

.c-offer-single__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 900px) {
  .c-offer-single__row {
    grid-template-columns: 1fr;
  }
}
.c-offer-single__col--left {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.c-offer-single__col--right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Zdjęcie oferty (prawa kolumna) – styka się z .c-offer-single__accent. */
.c-offer-single__figure {
  margin: 0;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.c-offer-single__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Blok w kolorze kategorii z sekcją Oferujemy – styka się ze zdjęciem lub ma zaokrąglone górne rogi. */
.c-offer-single__accent {
  width: 100%;
  max-width: 714px;
  border-radius: 0 0 16px 16px;
  background-color: var(--offer-cat-color, #feda3f);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  min-height: clamp(200px, 25vw, 320px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Gdy brak zdjęcia – zaokrąglone górne rogi. */
.c-offer-single__accent--no-image {
  border-radius: 16px;
}

/* Sekcje list (Zakres obowiązków, Wymagania, Mile widziane) – wspólny styl. */
.c-offer-duties,
.c-offer-requirements,
.c-offer-nice-to-have,
.c-offer-after-training,
.c-offer-skills-gained {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-family: var(--font-primary);
}

.c-offer-duties__title,
.c-offer-requirements__title,
.c-offer-nice-to-have__title,
.c-offer-after-training__title,
.c-offer-skills-gained__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.c-offer-duties__list,
.c-offer-requirements__list,
.c-offer-nice-to-have__list,
.c-offer-after-training__list,
.c-offer-skills-gained__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 24px;
  color: #414141;
}

.c-offer-duties__item,
.c-offer-requirements__item,
.c-offer-nice-to-have__item,
.c-offer-after-training__item,
.c-offer-skills-gained__item {
  display: flex;
  align-items: flex-start;
  gap: 19px;
}

.c-offer-duties__icon,
.c-offer-requirements__icon,
.c-offer-nice-to-have__icon,
.c-offer-after-training__icon,
.c-offer-skills-gained__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-brand);
}

.c-offer-duties__icon svg,
.c-offer-requirements__icon svg,
.c-offer-nice-to-have__icon svg,
.c-offer-after-training__icon svg,
.c-offer-skills-gained__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Oferujemy (prawa kolumna) + przycisk. */
.c-offer-benefits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  font-family: var(--font-primary);
}

.c-offer-benefits__title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.c-offer-benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 24px;
  color: #414141;
}

.c-offer-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 19px;
}

.c-offer-benefits__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-brand);
}

.c-offer-benefits__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sekcja treści post_content – wyświetlana pod dwiema kolumnami, nad blokiem CTA. */
.c-offer-single__content {
  max-width: var(--inner-max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding-x) var(--section-padding-y);
}

.c-offer-single__content-inner {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: #414141;
}

.c-offer-single__content-inner p {
  margin: 0 0 1em;
}

.c-offer-single__content-inner p:last-child {
  margin-bottom: 0;
}