/* Recent job pages (Batch 1+) — pairs + hero
   Site/nav + page-header responsive fixes live in job-pages.css */

/* —— Content shell —— */
.cotg-jr-shell.cotg-job-shell {
  padding: 22px 0 28px;
}

.cotg-jr-block {
  margin: 0 0 22px;
}

.cotg-jr-h2.cotg-job-title {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 10px;
}

.cotg-jr-shell .cotg-job-privacy {
  margin-bottom: 14px;
  padding: 10px 14px;
  font-size: 13.5px;
}

.cotg-jr-shell .cotg-job-book {
  margin: 0 0 20px;
  padding: 16px;
}

.cotg-jr-shell .cotg-job-highlights {
  margin: 0 0 22px;
  padding: 16px;
}

/* Compact card, portrait frame so the full kitchen shot still reads clearly */
.cotg-jr-hero {
  margin: 0 0 18px;
  max-width: 400px;
  background: #fff;
  border: 1px solid rgba(254, 124, 6, 0.18);
  border-radius: 14px;
  overflow: hidden;
}

.cotg-jr-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
}

.cotg-jr-hero figcaption {
  padding: 10px 12px 12px;
  color: #626f82;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .cotg-jr-hero {
    max-width: 320px;
  }

  .cotg-jr-hero img {
    max-height: 360px;
  }
}

.cotg-jr-pairs {
  margin: 0 0 22px;
}

.cotg-jr-pair {
  margin: 0 0 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(254, 124, 6, 0.18);
  border-radius: 18px;
}

.cotg-jr-pair h3 {
  margin: 0 0 12px;
  color: #1c2430;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.cotg-jr-pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cotg-jr-pair__grid figure {
  position: relative;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #eee;
}

.cotg-jr-pair__grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cotg-jr-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cotg-jr-badge--after {
  background: rgba(254, 124, 6, 0.92);
}

.cotg-jr-pair__cap {
  margin: 10px 0 0;
  color: #626f82;
  font-size: 14px;
  line-height: 1.5;
}

.cotg-jr-guarantee {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(254, 124, 6, 0.18);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(254, 124, 6, 0.12), transparent 55%),
    #fff;
}

.cotg-jr-guarantee h3 {
  margin: 0 0 6px;
  color: #fe7c06;
  font-size: 20px;
}

.cotg-jr-guarantee p {
  margin: 0 0 8px;
  color: #626f82;
  font-size: 14.5px;
  line-height: 1.6;
}

.cotg-jr-guarantee a {
  color: #fe7c06;
  font-weight: 700;
}

.cotg-jr-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(254, 124, 6, 0.18);
  background: #fff;
  color: #1c2430;
  font-weight: 700;
  text-decoration: none;
}

.cotg-jr-call:hover {
  border-color: #fe7c06;
  color: #fe7c06;
}

.cotg-jr-links {
  list-style: none;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(254, 124, 6, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.cotg-jr-links a {
  color: #1c2430;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cotg-jr-links a:hover {
  color: #fe7c06;
}

/* Trust strip denser on these pages */
body .page-wrapper > .cotg-job-trust {
  padding: 14px 0 8px;
}

body .page-wrapper > .cotg-job-trust .cotg-job-trust__item {
  min-height: 0;
  padding: 12px 10px;
}

@media (max-width: 700px) {
  .cotg-jr-pair__grid {
    grid-template-columns: 1fr;
  }

  .cotg-job-book__actions .thm-btn,
  .cotg-job-book__actions .cotg-jr-call,
  .cotg-job-book__actions .cotg-job-book__wa {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .cotg-jr-shell .cotg-job-highlights ul {
    grid-template-columns: 1fr;
  }
}
