/* ============================================================
   TAURON JOB OFFER – CUSTOM LAYOUT
   ============================================================ */

/* ── Ukryj oryginał + zbędne elementy ── */
.joboffer,
.hgroup__heading,
.share-container,
.breadcrumbs,
.container__img--ptop { display: none !important; }

/* ── Hero ── */
#tjo-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
  padding: 44px 40px 40px;
}
#tjo-hero .tjo-hero-inner { max-width: 1110px; margin: 0 auto; }
#tjo-hero .tjo-breadcrumb {
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 1.4rem; color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
#tjo-hero .tjo-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
#tjo-hero .tjo-breadcrumb a:hover { color: #fff; }
#tjo-hero h1 {
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 3.8rem; font-weight: 700; color: #fff;
  line-height: 1.25; margin: 0 0 16px;
}
.tjo-hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tjo-hero-tag {
  background: rgba(226,0,122,0.18); border: 1px solid rgba(226,0,122,0.45);
  color: #ff80c4; font-family: "Titillium Web", Arial, sans-serif;
  font-size: 1.4rem; padding: 4px 14px; border-radius: 20px;
}

/* ── Salary band ── */
#tjo-salary {
  background: linear-gradient(135deg, #1a0d2e 0%, #160a28 55%, #0f1840 100%);
  border-top: 1px solid rgba(226,0,122,0.18);
  padding: 0 40px;
}
.tjo-salary-inner {
  max-width: 1110px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 18px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
}

.tjo-salary-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(226,0,122,0.10);
  border: 1px solid rgba(226,0,122,0.22);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.tjo-salary-icon svg { width: 34px; height: 34px; }
.tjo-salary-body { flex: 1; min-width: 0; }
.tjo-salary-label {
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 5px;
}
.tjo-salary-range {
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 2.4rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.tjo-salary-accent { color: #e2007a; }
.tjo-salary-suffix {
  font-size: 1.4rem; font-weight: 400;
  color: rgba(255,255,255,0.4); margin-left: 4px;
}

/* ── Deadline bar ── */
#tjo-deadline {
  background: linear-gradient(135deg, #1a0d2e 0%, #160a28 55%, #0f1840 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 0 40px;
}
.tjo-deadline-inner {
  max-width: 1110px; margin: 0 auto;
  padding: 14px 0 18px;
}
.tjo-deadline-text {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 9px;
}
.tjo-deadline-label {
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 1.7rem; font-weight: 700;
  color: #fff;
}
.tjo-deadline-date {
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 1.4rem; font-weight: 400;
  color: rgba(255,255,255,0.38);
}
.tjo-deadline-track {
  height: 5px;
  width: 25%;
  min-width: 120px;
  background: rgba(255,255,255,0.10);
  border-radius: 3px;
  overflow: hidden;
}
.tjo-deadline-bar {
  height: 100%;
  border-radius: 3px;
  transition: width .4s ease;
}
/* < 7 dni – pulsowanie */
.tjo-deadline--urgent .tjo-deadline-label { color: #ff4d4d; }
.tjo-deadline--urgent .tjo-deadline-bar   { animation: tjo-pulse 1.4s ease-in-out infinite; }
@keyframes tjo-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .45; }
}

/* ── Wrapper ── */
#tjo-wrap {
  font-family: "Titillium Web", Arial, sans-serif;
  max-width: 1110px; margin: 0 auto; padding: 36px 0 80px; color: #222;
}

/* ── Info grid ── */
#tjo-info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px; background: #ddd; border: 1px solid #ddd; border-radius: 8px;
  overflow: hidden; margin-bottom: 32px; box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.tjo-info-cell {
  background: #fff; padding: 16px 20px;
  transition: background .2s, box-shadow .2s;
}
.tjo-info-cell:hover {
  background: #fff0f7; box-shadow: inset 0 -3px 0 #e2007a;
}
.tjo-info-label {
  font-size: 1.3rem; color: #6e6e6e;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px;
}
.tjo-info-value { font-size: 1.7rem; font-weight: 600; color: #1a1a1a; }

/* ── Przycisk Aplikuj ── */
.tjo-apply-btn {
  display: inline-block; background: #e2007a; color: #fff !important;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 2.2rem; font-weight: 700; padding: 15px 44px; border-radius: 4px;
  text-decoration: none !important; margin-bottom: 40px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(226,0,122,0.32);
}
.tjo-apply-btn:hover {
  background: #b8005f !important; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226,0,122,0.42);
}

/* ── Sekcje ── */
.tjo-section { margin-bottom: 36px; }
.tjo-section-title {
  font-size: 2.4rem; font-weight: 700; color: #e2007a;
  border-left: 5px solid #e2007a; padding-left: 14px;
  margin-bottom: 16px; line-height: 1.2;
}
.tjo-section ul {
  list-style: none; padding: 0; margin: 0;
  background: #fff; border-radius: 6px;
  /*border: 1px solid #ebebeb; box-shadow: 0 1px 8px rgba(0,0,0,0.04);*/ overflow: hidden;
}

/* Bazowy styl wiersza */
.tjo-section ul li {
  font-size: 1.7rem; padding: 11px 18px 11px 42px;
 /* border-bottom: 1px solid #f3f3f3; */
  position: relative; line-height: 1.5; color: #333;
}
.tjo-section ul li:last-child { border-bottom: none; }

/* Punktator › dla zwykłych li */
.tjo-section ul li::before {
  content: "›"; position: absolute; left: 16px;
  color: #e2007a; font-size: 2.4rem; line-height: 0.8; font-weight: 700;
}

/* ── Podtytuł bloku (z h3) ── */
.tjo-sublabel {
  font-size: 1.25rem !important; font-weight: 700 !important;
  color: #555 !important; padding: 12px 18px 6px 18px !important;
  background: #f9f9f9;
}
.tjo-sublabel::before { display: none !important; }

/* ── HEADER ── */
.tjo-section ul li.tjo-header {
  font-weight: 600; font-size: 1.7rem; color: #111; padding-left: 18px;
}
.tjo-section ul li.tjo-header::before { display: none !important; }

/* ── PREFIXED ── */
.tjo-section ul li.tjo-prefixed { padding-left: 18px; }
.tjo-section ul li.tjo-prefixed::before { display: none !important; }

/* <strong> i <em> w treści */
.tjo-section ul li strong { font-weight: 600; color: inherit; }
.tjo-section ul li em { font-style: italic; }

/* ── SPACER ── */
.tjo-section ul li.tjo-spacer {
  padding-top: 6px; padding-bottom: 6px;
  border-bottom: none; pointer-events: none;
}
.tjo-section ul li.tjo-spacer::before { display: none !important; }

/* ── HIGHLIGHT ── */
.tjo-section ul li.tjo-highlight {
  background: #fff8fc; border-left: 3px solid #e2007a;
  padding-left: 39px; font-weight: 600; color: #1a1a1a;
}
.tjo-section ul li.tjo-highlight::before { color: #b8005f; }

/* ── PLAIN ── */
.tjo-section ul li.tjo-plain {
  padding-left: 18px; color: #333; font-weight: 600; font-style: normal;
}
.tjo-section ul li.tjo-plain::before { display: none !important; }
.tjo-section ul li.tjo-plain em { font-style: italic; }

/* ── CENTER – wyśrodkowany tekst bez punktatora ── */
.tjo-section ul li.tjo-center {
  padding-left: 18px; padding-right: 18px;
  text-align: center; color: #333;
}
.tjo-section ul li.tjo-center::before { display: none !important; }

/* ── JUSTIFY – tekst wyjustowany bez punktatora ── */
.tjo-section ul li.tjo-justify {
  padding-left: 18px; padding-right: 18px;
  text-align: justify; color: #333;
}
.tjo-section ul li.tjo-justify::before { display: none !important; }
.tjo-section ul li.tjo-justify strong { font-weight: 600; }
.tjo-section ul li.tjo-justify em { font-style: italic; }

/* ── Link powrót ── */
.tjo-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 1.6rem; color: #e2007a !important;
  text-decoration: none !important; margin-top: 20px; font-weight: 600;
  transition: gap .2s, color .2s;
}
.tjo-back:hover { gap: 14px; color: #b8005f !important; text-decoration: none !important; }

/* ══════════════════════════════════════════
   RESPONSIVE – TABLET  (max 900px)
══════════════════════════════════════════ */
@media (max-width: 900px) {
  #tjo-hero { padding: 36px 24px 32px; }
  #tjo-hero h1 { font-size: 3.6rem; }
  #tjo-salary { padding: 0 24px; }
  .tjo-salary-range { font-size: 2.1rem; }
  #tjo-deadline { padding: 0 24px; }
  #tjo-wrap { padding: 28px 16px 60px; }
  #tjo-info-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .tjo-apply-btn { font-size: 1.9rem; padding: 13px 32px; }
  .tjo-section-title { font-size: 2.2rem; }
  .tjo-section ul li { font-size: 1.6rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE – MOBILE  (max 600px)
══════════════════════════════════════════ */
@media (max-width: 600px) {

  /* Hero */
  #tjo-hero { padding: 28px 16px 24px; }
  #tjo-hero .tjo-breadcrumb { font-size: 1.4rem; margin-bottom: 10px; }
  #tjo-hero h1 { font-size: 2.4rem; line-height: 1.3; margin-bottom: 14px; }
  .tjo-hero-tag { font-size: 1.3rem; padding: 3px 11px; }

  /* Salary */
  #tjo-salary { padding: 0 12px; }
  .tjo-salary-inner { flex-wrap: wrap; gap: 12px; padding: 14px 0 16px; }
  .tjo-salary-icon { width: 38px; height: 38px; }
  .tjo-salary-icon svg { width: 18px; height: 18px; }
  .tjo-salary-range { font-size: 1.9rem; }
  .tjo-salary-badge { font-size: 1.2rem; padding: 5px 11px; }
  #tjo-deadline { padding: 0 12px; }
  .tjo-deadline-label { font-size: 1.5rem; }
  .tjo-deadline-date  { font-size: 1.3rem; }

  /* Wrap – boczny padding na mobile */
  #tjo-wrap { padding: 20px 12px 48px; }

  /* Info grid – jedna kolumna na bardzo małych, dwie na średnich mobile */
  #tjo-info-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 6px;
    margin-bottom: 24px;
  }
  .tjo-info-cell { padding: 13px 14px; }
  .tjo-info-label { font-size: 1.3rem; letter-spacing: 0.3px; }
  .tjo-info-value { font-size: 1.5rem; }

  /* Przycisk – pełna szerokość */
  .tjo-apply-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.7rem;
    padding: 14px 20px;
    box-sizing: border-box;
    margin-bottom: 32px;
  }

  /* Sekcje */
  .tjo-section { margin-bottom: 28px; }
  .tjo-section-title { font-size: 1.7rem; padding-left: 12px; }

  .tjo-section ul li {
    font-size: 1.5rem;
    padding: 10px 14px 10px 36px;
    line-height: 1.55;
  }
  .tjo-section ul li::before {
    left: 12px;
    font-size: 2.2rem;
  }

  /* Klasy bez punktatora – mniejszy padding */
  .tjo-section ul li.tjo-header,
  .tjo-section ul li.tjo-prefixed,
  .tjo-section ul li.tjo-plain,
  .tjo-section ul li.tjo-center,
  .tjo-section ul li.tjo-justify,
  .tjo-section ul li.tjo-sublabel {
    padding-left: 14px !important;
  }

  /* Center – zachowaj wyśrodkowanie na mobile */
  .tjo-section ul li.tjo-center {
    padding-right: 14px !important;
    text-align: center;
  }

  /* Justify – zachowaj justowanie na mobile */
  .tjo-section ul li.tjo-justify {
    padding-right: 14px !important;
    text-align: justify;
  }

  /* Highlight */
  .tjo-section ul li.tjo-highlight { padding-left: 30px; }

  /* Link powrót */
  .tjo-back { font-size: 1.4rem; margin-top: 16px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE – BARDZO MAŁE  (max 380px)
══════════════════════════════════════════ */
@media (max-width: 380px) {
  #tjo-info-grid { grid-template-columns: 1fr; }
  #tjo-hero h1 { font-size: 1.9rem; }
  .tjo-section-title { font-size: 1.6rem; }
  .tjo-section ul li { font-size: 1.4rem; }
}