/* Centralized Local Fonts */

/* IBM Plex Sans Arabic - 300 */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-arabic-300.woff2') format('woff2');
}

/* IBM Plex Sans Arabic - 400 */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-arabic-400.woff2') format('woff2');
}

/* IBM Plex Sans Arabic - 500 */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-arabic-500.woff2') format('woff2');
}

/* IBM Plex Sans Arabic - 600 */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-arabic-600.woff2') format('woff2');
}

/* IBM Plex Sans Arabic - 700 */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-arabic-700.woff2') format('woff2');
}

/* Inter - 300 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/inter-300.woff2') format('woff2');
}

/* Inter - 400 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}

/* Inter - 500 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}

/* Inter - 600 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}

/* Inter - 700 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}

/* Inter - 800 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-800.woff2') format('woff2');
}

/* Inter - 900 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/inter-900.woff2') format('woff2');
}

/* IBM Plex Sans - 300 */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-300.woff2') format('woff2');
}

/* IBM Plex Sans - 400 */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-400.woff2') format('woff2');
}

/* IBM Plex Sans - 500 */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-500.woff2') format('woff2');
}

/* IBM Plex Sans - 600 */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-600.woff2') format('woff2');
}

/* IBM Plex Sans - 700 */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-700.woff2') format('woff2');
}

/* Cairo - 300 */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/cairo-300.woff2') format('woff2');
}

/* Cairo - 400 */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cairo-400.woff2') format('woff2');
}

/* Cairo - 600 */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cairo-600.woff2') format('woff2');
}

/* Cairo - 700 */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cairo-700.woff2') format('woff2');
}

/* Cairo - 900 */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/cairo-900.woff2') format('woff2');
}

/* Tajawal - 400 */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/tajawal-400.woff2') format('woff2');
}

/* Tajawal - 500 */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/tajawal-500.woff2') format('woff2');
}

/* Tajawal - 600 (Fallback to 500) */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/tajawal-500.woff2') format('woff2');
}

/* Tajawal - 700 */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/tajawal-700.woff2') format('woff2');
}

/* Tajawal - 800 */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/tajawal-800.woff2') format('woff2');
}

/* Tajawal - 900 */
@font-face {
  font-family: 'Tajawal';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/tajawal-900.woff2') format('woff2');
}

/* Employer portal mobile safeguards.
   Scoped to the employer-style top-band/header/hero structure so other page
   templates keep their existing mobile navigation behaviour. */
@media (max-width: 640px) {
  .top-band + .header .nav .nav-cta[href="#kontakt"],
  .top-band + .header .nav .nav-cta[href^="mailto:recruitment@berlingateway.de"] {
    display: none !important;
  }

  .top-band + .header + main .hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}