/* Additions for CMS-only features (forms, messages, vacancies, articles). Uses the proposal-2 tokens. */
.hp-field{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

.form-card{align-self:start}
.form-card form{margin-top:18px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.form-field--message,.form-field--cover_note,.form-field--cv,.form-field--consent,.form-field--vacancy,.form-field--position{grid-column:1/-1}
.form-field label{font-size:13px;font-weight:600;color:var(--ink)}
.form-field .required{color:var(--teal)}
.form-field input:not([type=checkbox]),.form-field select,.form-field textarea{font:inherit;font-size:16px;color:var(--ink);background:white;border:1px solid var(--line);border-radius:6px;padding:11px 12px;width:100%;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}
.form-field textarea{min-height:130px;resize:vertical}
.form-field input[type=file]{padding:9px;background:var(--paper)}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:0;border-color:var(--teal);box-shadow:0 0 0 3px #00798026}
.form-field--check label{flex-direction:row;display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:13px;color:var(--muted);line-height:1.5}
.form-field--check input{margin-top:3px;accent-color:var(--teal);width:16px;height:16px;flex-shrink:0}
.has-error input,.has-error select,.has-error textarea{border-color:#b3261e}
.field-error,.form-errors p{color:#b3261e;font-size:13px;margin:0}
.form-errors{border:1px solid #b3261e33;background:#b3261e0d;border-radius:6px;padding:10px 14px;margin-bottom:16px}
.form-card button[type=submit]{margin-top:20px}
.form-card .small{margin-top:14px}

.flash-messages{padding-top:18px}
.flash{margin:0;padding:14px 18px;border-radius:6px;background:var(--soft-teal);color:var(--ink);border-inline-start:4px solid var(--teal);font-weight:600}
.flash-error{background:#b3261e0d;border-color:#b3261e}

.enquiry-hints{margin-top:34px}
.enquiry-hints h3{font-size:20px;margin-bottom:8px}
.enquiry-hints ol{margin:14px 0 0;padding-inline-start:20px;color:var(--muted)}
.enquiry-hints li{margin-bottom:6px}

.fields-title{margin-top:44px}
.vacancy-list{display:grid;gap:16px;margin-bottom:10px}
.vacancy{background:white;border:1px solid var(--line);border-radius:var(--radius-card);padding:22px 24px}
.vacancy h4{font-size:19px;margin:0 0 6px}
.vacancy .small{color:var(--muted);margin:0 0 10px}
.vacancy .text-link{margin-top:6px}

.narrow{max-width:780px}
.lead-dark{font-size:19px;line-height:1.6;color:var(--ink)}
.article-body .kicker{display:flex;gap:10px;align-items:center;color:var(--teal)}
.article-body .kicker .line-icon{width:22px;height:22px}
.rich-text{font-size:17px;line-height:1.75;color:var(--ink);margin:26px 0 34px}
.rich-text h2,.rich-text h3{margin:34px 0 12px}
.rich-text p{margin:0 0 16px}
.rich-text img{max-width:100%;height:auto}
.rich-text a{color:var(--teal);text-decoration:underline}

@media(max-width:760px){.form-grid{grid-template-columns:1fr}}
/* 404 page */
.not-found-links{display:flex;flex-wrap:wrap;gap:4px 40px;margin-top:28px}
/* Home banner: full-width photo behind the text (CMS "banner image" on the home page, otherwise a site photo). */
.home-photo{position:absolute;inset:0;z-index:0;overflow:hidden}
.home-photo img{width:100%;height:100%;object-fit:cover;animation:hero-zoom 18s ease-out both}
.home-photo::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#1b2533f5 0%,#1b2533d9 38%,#1b253380 70%,#1b253340 100%)}
[dir=rtl] .home-photo::after{background:linear-gradient(270deg,#1b2533f5 0%,#1b2533d9 38%,#1b253380 70%,#1b253340 100%)}
.home-hero.has-photo>.container{position:relative;z-index:1}
.home-hero.has-photo .dash-ornament{z-index:1}
.home-hero.has-photo .hero-grid{grid-template-columns:minmax(0,720px)}
.home-hero.has-photo .lead,.home-hero.has-photo .hero-origin{text-shadow:0 1px 18px #1b2533}
@media(max-width:760px){.home-photo::after,[dir=rtl] .home-photo::after{background:linear-gradient(180deg,#1b2533cc,#1b2533f0)}}
/* Default banner graphic (2026 company profile) sits on one side: keep it opposite the text, mirrored in Arabic. */
.home-photo.is-default img{object-position:right center}
[dir=rtl] .home-photo.is-default img{transform:scaleX(-1);animation-name:hero-zoom-mirror}
@keyframes hero-zoom-mirror{from{transform:scaleX(-1) scale(1.12)}to{transform:scaleX(-1) scale(1)}}
@media(prefers-reduced-motion:reduce){.home-photo img{animation:none}}
@media print{.home-photo{display:none}}
