/* === IMPORT POPPINS FONT === */
@font-face {
    font-family: 'Poppins';
    src: url('Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
  }
  @font-face {
    font-family: 'Poppins';
    src: url('Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
  }
  
  /* === GLOBAL === */
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
  }
  
  /* Holder kun job-indhold “pænt” uden at røre header/footer */
  .job-page{
    padding-top: 0;
  }
  
  /* Top green intro section */
  .job-header {
    background-color: #66A53D;
    padding: 40px 20px;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    margin-top: 80px; /* dit spacing under header */
    padding-top: 75px;
  }
  
  .job-header p{
    margin: 0 auto 14px auto;
    max-width: 1000px;
    color: white;
  }
  .job-header p:last-child{
    margin-bottom: 0;
  }
  
  /* ===== KORT (desktop) ===== */
  .job-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1100px;
    margin: 60px auto;
    border-radius: 14px;     /* samme “kort radius” hele vejen rundt */
    overflow: hidden;        /* gør at radius gælder for billede + box */
    background: #66A53D;
  }
  
  .job-section img {
    width: 50%;
    height: 450px;
    object-fit: cover;
    display: block;
  }
  
  /* Green content box */
  .job-box {
    width: 40%;
    background: #66A53D;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 56px;
  }
  
  .job-box h2 {
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 35px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    color: white;
  }
  
  .job-box ul {
    margin: 0;
    padding-left: 26px;
    font-size: 18px;
    line-height: 2;
    color: white;
  }
  
  /* Footer section */
  .job-footer {
    color: white;
    background: #66A53D;
    text-align: center;
    padding: 60px 20px;
  }
  
  .job-footer h2 {
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 35px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    color: white;
  }
  
  .job-footer p {
    margin: 0 auto 15px auto;
    font-size: 18px;
    max-width: 1000px;
  }
  
  .job-footer a {
    color: #0066cc;
  }

  .cta-phone {
    font-weight: 700;
    color: black;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
  .job-header {
    padding-top: 60px;
  }
    /* Mere whitespace i siderne */
    .job-section{
      flex-direction: column;
      margin: 40px 35px;
      max-width: none;
    }
  
    .job-section img,
    .job-box{
      width: 100%;
    }
  
    .job-section img{
      height: 260px;
    }
  
    .job-box {
        padding: 30px 30px;   /* mere luft i siderne */
        box-sizing: border-box;
      }
  
    .job-box h2{
      font-size: 28px;
    }
  
    .job-box ul{
      font-size: 17px;
      line-height: 1.9;
      padding-left: 22px;
    }
  
    /* 🔥 VIGTIGT: På mobil skal billede komme først i “reverse”-kortet */
    .job-section.reverse img{
      order: 1;
    }
    .job-section.reverse .job-box{
      order: 2;
    }
    .job-footer h2{
      font-size: 26px;
    }
    .job-footer p{
      font-size: 16px;
  }
  
  /* Ekstra lille mobil */
  @media (max-width: 420px){
    .job-header{
      font-size: 16.5px;
    }
    .job-section img{
      height: 230px;
    }
  }
    }


/* ────────────────────────────────────────────────
   FOOTER – MOBIL – IKON + TEKST ALIGNMENT
   ──────────────────────────────────────────────── */
@media (max-width: 768px) {

  .footer-right {
    width: 100%;
  }

  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 24px auto 32px auto;
    
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 500px;               /* ← juster her hvis for bred/smalt */
  }

  .footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;                      /* afstand ikon → tekst */
    justify-content: flex-start;    /* vigtig – starter til venstre */
    width: 100%;
  }

  .footer-icon {
    width: 34px;                    /* lidt større for bedre balance */
    height: 34px;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* Sørg for at tekst starter på samme linje */
  .footer-contact li > *:last-child {   /* rammer span eller a */
    flex: 1;
    text-align: left;
    color: white;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .footer-contact a {
    color: white;
    text-decoration: none;
  }

  .footer-contact a:hover {
    text-decoration: underline;
  }

  /* Fix Facebook – ikon er inde i <a> */
  .footer-contact li a[href*="facebook"] {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .footer-contact li a[href*="facebook"] img {
    margin: 0;
  }
}
