/* ===================================================
   Careers @Media.net — Static Site Styles
   Replicated from https://careers.media.net/
   =================================================== */

:root {
  --color-primary: #00aeef;
  --color-dark: #222222;
  --color-text: #333333;
  --color-muted: #666666;
  --color-accent: #f7941d;
  --color-bg: #ffffff;
  --color-bg-light: #f5f7fa;
  --color-bg-dark: #1a1a2e;
  --color-border: #e0e0e0;
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --max-width: 1200px;
  --section-pad: 80px 0;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { color: #008ec4; }
ul { list-style: none; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  padding: 12px 0;
  backdrop-filter: blur(8px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header .logo img { height: 36px; width: auto; }
.site-header nav a {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 14px;
  margin-left: 28px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}
.site-header nav a:hover { color: var(--color-primary); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 62px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://s33917.pcdn.co/wp-content/uploads/2020/05/homepage-banner.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.65) 0%, rgba(0,40,80,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 60px 24px; }
.hero h1 { font-family: var(--font-heading); font-size: 42px; font-weight: 700; margin-bottom: 20px; line-height: 1.25; }
.hero p { font-size: 18px; opacity: .92; margin-bottom: 32px; line-height: 1.7; }
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: background .25s, transform .2s;
}
.btn-primary:hover { background: #008ec4; color: #fff; transform: translateY(-2px); }

/* ===== SECTION COMMON ===== */
.section { padding: var(--section-pad); }
.section-alt { background: var(--color-bg-light); }
.section-dark { background: var(--color-bg-dark); color: #fff; }
.section-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--color-dark);
}
.section-dark .section-title { color: #fff; }
.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255,255,255,.7); }

/* ===== WHAT MAKES US AWESOME ===== */
.awesome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.awesome-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.awesome-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.awesome-card .icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary), #0080b8);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
}
.awesome-card p { font-size: 14px; line-height: 1.6; color: var(--color-muted); }

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: linear-gradient(135deg, #00aeef 0%, #005f8a 100%);
  color: #fff;
  padding: 60px 0;
}
.testimonial .container { max-width: 800px; text-align: center; }
.testimonial blockquote {
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  padding: 0 32px;
}
.testimonial blockquote::before {
  content: '\201C';
  font-size: 64px;
  position: absolute;
  top: -20px; left: -8px;
  opacity: .3;
  font-family: Georgia, serif;
}
.testimonial cite { font-style: normal; font-weight: 700; font-size: 16px; opacity: .9; }
.testimonial cite span { font-weight: 400; opacity: .75; }

/* ===== PUBLISHERS ===== */
.publishers-intro { text-align: center; margin-bottom: 40px; }
.publishers-intro p { font-size: 16px; color: var(--color-muted); max-width: 700px; margin: 0 auto; line-height: 1.7; }
.publisher-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px;
  opacity: .55;
}
.publisher-logos .logo-placeholder {
  width: 120px; height: 50px;
  background: var(--color-border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px;
}

/* ===== HIRING PROCESS ===== */
.hiring-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.hiring-step {
  text-align: center;
  position: relative;
  padding: 24px;
}
.hiring-step .step-num {
  width: 56px; height: 56px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-size: 22px; font-weight: 700;
  margin: 0 auto 20px;
}
.hiring-step h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.hiring-step p { font-size: 14px; color: var(--color-muted); line-height: 1.6; }

/* ===== COMPANY INFO ===== */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.company-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-dark);
}
.company-card p { font-size: 15px; color: var(--color-muted); line-height: 1.7; }
.company-card ul { margin-top: 16px; }
.company-card ul li {
  font-size: 14px;
  color: var(--color-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 8px;
}
.company-card ul li::before { content: '\2713'; color: var(--color-primary); font-weight: 700; }

/* ===== BENEFITS & PERKS ===== */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.perk-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  text-align: center;
  transition: transform .25s;
}
.perk-card:hover { transform: translateY(-4px); }
.perk-card .perk-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), #0080b8);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
}
.perk-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}
.perk-card p { font-size: 14px; color: var(--color-muted); line-height: 1.6; }

/* ===== OPEN POSITIONS ===== */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.position-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  border: 2px solid transparent;
}
.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
  border-color: var(--color-primary);
}
.position-card .dept-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--color-bg-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--color-primary);
}
.position-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
  min-height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.position-card .positions-count {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}
.position-card .positions-count.zero { color: var(--color-muted); }

/* ===== LOCATIONS ===== */
.locations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.location-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: background .2s;
}
.location-tag:hover { background: rgba(255,255,255,.2); }
.location-tag.hq {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: rgba(255,255,255,.6);
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
}
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { min-height: 480px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .company-grid { grid-template-columns: 1fr; gap: 24px; }
  .hiring-steps { grid-template-columns: 1fr 1fr; }
  .site-header nav { display: none; }
}

@media (max-width: 480px) {
  .hiring-steps { grid-template-columns: 1fr; }
  .awesome-grid { grid-template-columns: 1fr; }
}
