/* ══════════════════════════════════════════
   Montplast Kariéra — Frontend Styles
   ══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --mpk-blue: #1B3C6E;        /* ← Montplast modrá — uprav hex dle loga */
  --mpk-orange: #EA5E20;
  --mpk-orange-light: #FFF0E8;
  --mpk-dark: #1B1B1B;
  --mpk-text: #444;
  --mpk-gray-bg: #f7f7f7;
  --mpk-radius: 14px;
  --mpk-green: #16a34a;
  --mpk-green-light: #dcfce7;

  --mpk-font-heading: 'Arca Majora 3 Heavy', 'Inter', sans-serif;
  --mpk-font-body: 'General Sans', 'Inter', sans-serif;
}


/* ══════════════════════════════════════════
   LISTING — Shortcode output
   ══════════════════════════════════════════ */

.mpk-listing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  font-family: var(--mpk-font-body);
}

/* ── Filters ── */
.mpk-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.mpk-filter-btn {
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--mpk-text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--mpk-font-body);
}

.mpk-filter-btn:hover {
  border-color: var(--mpk-orange);
  color: var(--mpk-orange);
}

.mpk-filter-btn.active {
  background: var(--mpk-orange);
  color: #fff;
  border-color: var(--mpk-orange);
}

/* ── Count ── */
.mpk-jobs-count {
  font-size: 14px;
  color: #999;
  margin-bottom: 24px;
  font-family: var(--mpk-font-body);
}

.mpk-jobs-count strong {
  color: var(--mpk-dark);
}

/* ── Grid ── */
.mpk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Card ── */
.mpk-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--mpk-radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.mpk-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

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

/* Card image */
.mpk-card-img {
  height: 200px;
  background: #e9e9e9;
  overflow: hidden;
  position: relative;
}

.mpk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mpk-card-img-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 13px;
  font-family: var(--mpk-font-body);
}

/* Card body */
.mpk-card-body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Tags */
.mpk-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.mpk-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--mpk-font-body);
  display: inline-block;
}

.mpk-tag--dept {
  background: var(--mpk-orange-light);
  color: var(--mpk-orange);
}

.mpk-tag--type {
  background: #EEF2FF;
  color: #4F46E5;
}

.mpk-tag--new {
  background: var(--mpk-green-light);
  color: var(--mpk-green);
}

.mpk-tag--urgent {
  background: #FEF2F2;
  color: #DC2626;
}

.mpk-tag--top {
  background: #FEF3C7;
  color: #D97706;
}

/* Card title — Arca Majora in Montplast blue */
.mpk-card-title {
  font-family: var(--mpk-font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--mpk-blue);
  margin-bottom: 10px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mpk-card-excerpt {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  font-family: var(--mpk-font-body);
}

/* Card meta */
.mpk-card-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.mpk-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
  font-family: var(--mpk-font-body);
}

/* Card footer */
.mpk-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--mpk-gray-bg);
  border-top: 1px solid #eee;
}

.mpk-card-salary {
  font-size: 16px;
  font-weight: 700;
  color: var(--mpk-orange);
  font-family: var(--mpk-font-body);
}

.mpk-card-salary--muted {
  color: #999;
}

.mpk-card-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--mpk-orange);
  transition: transform 0.3s ease;
  font-family: var(--mpk-font-body);
}

/* ── Empty state ── */
.mpk-empty {
  text-align: center;
  padding: 80px 40px;
}

.mpk-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mpk-empty h3 {
  font-family: var(--mpk-font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--mpk-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mpk-empty p {
  font-size: 15px;
  color: #888;
  max-width: 420px;
  margin: 0 auto;
  font-family: var(--mpk-font-body);
}


/* ══════════════════════════════════════════
   DETAIL — Single template
   ══════════════════════════════════════════ */

.mpk-detail {
  font-family: var(--mpk-font-body);
  color: var(--mpk-text);
  line-height: 1.7;
  background: #fff;
}

.mpk-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

/* Back button */
.mpk-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mpk-orange);
  text-decoration: none !important;
  margin-bottom: 32px;
  transition: gap 0.2s ease;
  font-family: var(--mpk-font-body);
}

.mpk-back-btn:hover {
  gap: 12px;
  color: var(--mpk-orange);
}

/* Detail header */
.mpk-detail-header {
  margin-bottom: 32px;
}

.mpk-detail-header .mpk-card-tags {
  margin-bottom: 16px;
}

.mpk-detail-title {
  font-family: var(--mpk-font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--mpk-blue);
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mpk-detail-header .mpk-card-meta {
  border-top: none;
  padding-top: 0;
  gap: 24px;
}

/* Hero image */
.mpk-detail-hero-img {
  width: 100%;
  height: 400px;
  border-radius: var(--mpk-radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.mpk-detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grid */
.mpk-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* Content sections */
.mpk-detail-section {
  margin-bottom: 36px;
}

.mpk-detail-section h2 {
  font-family: var(--mpk-font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--mpk-blue);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mpk-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mpk-detail-prose {
  font-size: 15px;
  color: var(--mpk-text);
  line-height: 1.8;
}

.mpk-detail-prose p {
  margin-bottom: 12px;
}

/* Checklist */
.mpk-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mpk-check-list li {
  font-size: 15px;
  color: var(--mpk-text);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.mpk-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mpk-orange);
  font-weight: 700;
}

/* Benefits grid */
.mpk-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mpk-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--mpk-orange-light);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mpk-dark);
  font-family: var(--mpk-font-body);
}

.mpk-benefit-check {
  color: var(--mpk-orange);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* ── Sidebar ── */
.mpk-detail-sidebar {
  position: sticky;
  top: 96px;
}

.mpk-sidebar-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--mpk-radius);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.mpk-sidebar-card h3 {
  font-family: var(--mpk-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--mpk-dark);
  margin-bottom: 20px;
}

.mpk-sidebar-salary {
  font-family: var(--mpk-font-heading);
  font-size: 26px;
  font-weight: 900;
  color: var(--mpk-orange);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.mpk-sidebar-salary-note {
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
}

.mpk-sidebar-info {
  margin-bottom: 16px;
}

.mpk-sidebar-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.mpk-sidebar-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--mpk-dark);
}

/* CTA buttons */
.mpk-apply-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--mpk-orange);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--mpk-font-body);
  margin-top: 8px;
}

.mpk-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234,94,32,0.35);
  color: #fff !important;
}

.mpk-apply-or {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin: 12px 0;
}

.mpk-apply-phone {
  display: block;
  width: 100%;
  padding: 14px;
  background: #fff;
  color: var(--mpk-dark) !important;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  transition: border-color 0.2s ease;
  font-family: var(--mpk-font-body);
}

.mpk-apply-phone:hover {
  border-color: var(--mpk-orange);
  color: var(--mpk-dark) !important;
}

/* Contact person */
.mpk-contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.mpk-contact-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mpk-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mpk-orange);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  font-family: var(--mpk-font-body);
}

.mpk-contact-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--mpk-dark);
}

.mpk-contact-role {
  font-size: 13px;
  color: #999;
}



/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .mpk-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mpk-detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .mpk-listing {
    padding: 0 24px 56px;
  }
  .mpk-grid {
    grid-template-columns: 1fr;
  }
  .mpk-detail-wrap {
    padding: 24px 24px 56px;
  }
  .mpk-detail-title {
    font-size: 24px;
  }
  .mpk-detail-hero-img {
    height: 260px;
  }
  .mpk-benefits-grid {
    grid-template-columns: 1fr;
  }
  .mpk-sidebar-card {
    padding: 24px;
  }
  .mpk-card-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .mpk-listing {
    padding: 0 16px 40px;
  }
  .mpk-card-body {
    padding: 20px;
  }
  .mpk-card-footer {
    padding: 12px 20px;
  }
  .mpk-detail-wrap {
    padding: 16px 16px 40px;
  }
  .mpk-detail-title {
    font-size: 22px;
  }
  .mpk-filters {
    gap: 8px;
  }
  .mpk-filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
