@font-face { font-family: Graphik; src: url("/assets/Graphik-Light-Web.woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: Graphik; src: url("/assets/Graphik-Regular-Web.woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: Graphik; src: url("/assets/Graphik-Medium-Web.woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: Graphik; src: url("/assets/Graphik-Semibold-Web.woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: Graphik; src: url("/assets/Graphik-Bold-Web.woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: Kufi; src: url("/assets/DroidKufiRegular.woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Kufi; src: url("/assets/DroidKufiBold.woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1b3135;
  --text: #2b4d54;
  --paper: #eaeaea;
  --partner-blue: #6ec6d8;
  --contact-blue: #62afbf;
  --yellow: #fbba33;
  --nav-height: 55px;
  --column: 940px;
  font-family: Graphik, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

:root[lang="ar"] { font-family: Kufi, Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding-bottom: var(--nav-height); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #18a4bf; outline-offset: 4px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; z-index: 20; inset: 10px auto auto 10px; padding: 12px; background: #fff; }
.container { width: min(var(--column), calc(100% - 40px)); margin-inline: auto; }
.section-title { font-size: 3.75rem; line-height: 1; text-align: center; text-transform: uppercase; }
.stripe { min-height: 100vh; min-height: 100svh; position: relative; }
.photo-stripe { background-position: center; background-repeat: no-repeat; background-size: cover; background-attachment: fixed; }

.hero { display: grid; place-items: center; background-color: #9fb2cb; background-image: url("/assets/sec1-bg.jpg"); }
.hero-content { display: flex; flex-direction: column; align-items: center; width: 100%; transform: translateY(-79px); }
.hero-content.has-video { transform: translateY(-18px); }
.hero-logo { width: 150px; height: 150px; object-fit: contain; }
.hero h1 { margin-top: 46px; }
.hero-tagline { width: 620px; height: 68px; object-fit: contain; object-position: top center; }
[dir="rtl"] .hero-tagline { width: 427px; height: 81px; }
.hero-play { border: 0; background: transparent; width: 67px; height: 67px; padding: 0; margin-top: 55px; }
.hero-play:hover { opacity: .82; }

.site-nav {
  position: fixed; z-index: 10; inset: auto 0 0; height: var(--nav-height);
  display: flex; align-items: center; padding-inline: 20px; color: var(--text); background: #fff;
}
.site-nav a, .site-nav button { text-decoration: none; text-transform: uppercase; }
.language-links, .secondary-links { display: flex; align-items: center; font-size: .625rem; font-weight: 300; white-space: nowrap; line-height: 1; }
.language-links { direction: ltr; }
.language-links a + a, .secondary-links > * + * { border-inline-start: 1px solid #a5b5b9; margin-inline-start: 6px; padding-inline-start: 6px; }
.language-links a[aria-current], .secondary-links a[aria-current] { font-weight: 700; }
.primary-links { direction: inherit; position: absolute; left: 49%; top: 0; transform: translateX(-50%); display: flex; gap: 26px; white-space: nowrap; }
.primary-links a { position: relative; line-height: var(--nav-height); font-size: .875rem; font-weight: 700; }
.primary-links a::after { content: ""; position: absolute; bottom: 11px; inset-inline: 0; height: 5px; background: transparent; transition: background .2s; }
.primary-links a:hover::after, .primary-links a[aria-current]::after { background: #62c2d0; }
.secondary-links { position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); }
.secondary-links button { border-block: 0; border-inline-end: 0; border-radius: 0; background: none; padding-block: 0; padding-inline-end: 0; }
.menu-toggle { display: none; }
.back-top { position: fixed; z-index: 9; bottom: calc(var(--nav-height) + 15px); inset-inline-end: 20px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); }
.back-top::after { content: ""; display: block; width: 12px; height: 12px; border: solid currentColor; border-width: 2px 0 0 2px; transform: translate(15px, 17px) rotate(45deg); }

.carousel { display: grid; place-items: center; color: white; }
#about-us { background: var(--partner-blue); }
#why-football { background-color: #53798b; background-image: url("/assets/sec2-bg.jpg"); }
#programmes { color: var(--ink); background: var(--yellow); }
.slide-stack { display: grid; width: 100%; align-items: center; }
.slide {
  grid-area: 1 / 1; display: grid; place-items: center; position: relative; width: 100%;
  padding: 72px 25px; min-height: 100vh; min-height: 100svh; opacity: 1;
  transition: opacity .45s ease, visibility .45s;
}
.slide[aria-hidden="true"] { visibility: hidden; opacity: 0; }
.slide-copy { position: relative; z-index: 1; width: min(100%, 680px); text-align: center; }
.slide-copy .section-title { margin-bottom: 21px; }
.slide-copy p { font-size: 1.125rem; line-height: 1.23; }
#about-us .slide-copy p { font-size: 1rem; line-height: 1.25; }
.partner-logos { margin: 18px auto 0; width: 100%; }
.programme-art { position: absolute; top: calc(50% + 93px); width: min(82%, 430px); max-height: 24svh; object-fit: contain; }
.carousel-arrow {
  position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  border: none; padding: 0; background: center no-repeat; opacity: 0; transition: opacity .2s;
}
.carousel:hover .carousel-arrow, .carousel:focus-within .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow.previous { left: 35px; background-image: url("/assets/left-arrow.png"); background-position: left top; }
.carousel-arrow.next { right: 35px; background-image: url("/assets/right-arrow.png"); background-position: right top; }
.carousel-arrow.previous:hover { background-position: right top; }
.carousel-arrow.next:hover { background-position: left top; }
.carousel-dots { display: none; position: absolute; z-index: 2; inset: auto 0 75px; justify-content: center; gap: 7px; }
.carousel-dots button { width: 12px; height: 12px; border: 2px solid currentColor; border-radius: 50%; padding: 0; background: transparent; }
.carousel-dots button[aria-pressed="true"] { background: currentColor; }

.news { background: var(--paper); padding-block: 50px; }
.news .section-title { margin: 0 0 40px; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.news-card { position: relative; min-width: 0; background: white; }
.news-card.featured { grid-column: 1 / -1; }
.news-photo { aspect-ratio: 460 / 303; background: #ccd7d8; }
.featured .news-photo { aspect-ratio: 940 / 565; }
.news-photo img, .article-photo img { width: 100%; height: 100%; object-fit: cover; }
.news-copy { position: relative; min-height: 307px; padding: 45px 45px 76px; background: white; }
.featured .news-copy { position: absolute; width: 50%; bottom: 0; inset-inline-start: 0; }
.news-copy h3 { font-size: 1.5625rem; text-transform: uppercase; margin-bottom: 11px; line-height: 1.15; }
.news-copy p { font-size: 1.0625rem; line-height: 1.2; }
.news-copy .news-date { position: absolute; bottom: 34px; inset-inline-start: 45px; font-weight: 600; font-size: .6875rem; text-transform: uppercase; }
.news-open { position: absolute; inset: auto 0 0 auto; width: 76px; height: 76px; border: 0; display: grid; place-items: center; padding: 0; }
[dir="rtl"] .news-open { inset: auto auto 0 0; }
.news-open img { width: 31px; transition: transform .3s; }
.news-open:hover img { transform: rotate(90deg); }
.green { --article-color: #00aa80; }
.orange, .red { --article-color: #f46f2c; }
.yellow { --article-color: #fbba33; }
.blue, .teal { --article-color: #62afbf; }
.news-open { background: var(--article-color, #62afbf); }
.button { display: inline-block; border: 1px solid transparent; border-radius: 4px; color: #fff; background: #384a4d; padding: 14px 20px; font-weight: 600; line-height: 1.25; text-transform: uppercase; text-align: center; text-decoration: none; }
.button:hover { background: #4f6c71; }
.more-news { width: 100%; margin-top: 20px; }

.change-banner { display: grid; place-items: center; background-color: var(--partner-blue); background-image: url("/assets/united-change-bg.jpg"); }
.change-banner img { width: min(672px, 86%); transform: translateY(-27px); }
.contact { display: grid; place-items: center; padding: 42px 0; color: white; background: var(--contact-blue); }
.office-tabs { display: flex; justify-content: center; gap: 24px; margin: 21px auto 25px; }
.office-tabs button { background: none; border: 0; border-bottom: 5px solid transparent; padding: 0 0 10px; text-transform: uppercase; font-size: .9375rem; font-weight: 700; }
.office-tabs button:hover, .office-tabs button[aria-selected="true"] { border-bottom-color: #fff; }
.office { min-height: 440px; display: grid; grid-template-columns: 1fr 2fr; background: white; border-radius: 7px; color: var(--text); overflow: hidden; }
.office-detail { min-width: 0; display: flex; flex-direction: column; padding-block: 34px 43px; padding-inline: 45px 55px; }
.office-detail h3 { font-size: 1.5rem; margin-bottom: 12px; }
.office-detail > p { font-size: 1.1875rem; line-height: 1.26; }
.office-links { margin-top: auto; padding-top: 24px; font-size: .875rem; font-weight: 300; line-height: 1.35; }
.office-links div + div { margin-top: 7px; }
.office-links strong { font-weight: 500; }
.office-links a { text-decoration: none; overflow-wrap: anywhere; }
.office-links a:hover { text-decoration: underline; }
.office-map { display: flex; align-items: end; justify-content: end; padding: 20px; }
.office-map a { font-size: .8125rem; color: var(--text); }
.site-footer { padding: 55px 20px; text-align: center; color: white; background: #002c43; }
.site-footer img { margin: 0 auto; width: 142px; height: 142px; object-fit: contain; }
.site-footer p { width: min(945px, 100%); margin: 50px auto 0; font-size: .6875rem; font-weight: 300; text-transform: uppercase; }

dialog { border: 0; padding: 0; color: var(--ink); background: white; max-width: calc(100% - 30px); max-height: calc(100% - 32px); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(0 0 0 / .77); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 43px; height: 43px; border-radius: 50%; border: 0; color: var(--ink); background: white; font: 32px/1 Arial, sans-serif; }
.dialog-close:hover { background: #eaeaea; }
.signup-dialog { width: 520px; padding: 55px 48px 34px; text-align: center; }
.signup-dialog h2 { font-size: 2rem; line-height: 1.08; text-transform: uppercase; margin-bottom: 20px; }
.signup-dialog p { margin-bottom: 22px; line-height: 1.35; }
.signup-dialog input { width: 100%; margin-bottom: 12px; padding: 14px 17px; border: 1px solid #a6b0b1; }
.signup-dialog input::placeholder { text-transform: uppercase; }
.signup-dialog .button { width: 100%; }
.signup-dialog .form-message { margin: 14px 0 0; }
.signup-dialog .form-message:empty { display: none; }
#signup { width: 475px; background: transparent; color: white; padding: 12px 4px; }
#signup::backdrop { background: rgb(0 0 0 / .84); }
#signup h2 { font-size: 2.1875rem; margin-bottom: 30px; }
#signup > p { margin: 0 auto 35px; max-width: 385px; }
#signup form { width: min(100%, 395px); margin-inline: auto; }
#signup input { height: 40px; padding: 8px; border-radius: 3px; text-align: center; font-size: .8125rem; color: var(--ink); }
#signup .button { background: #22b35a; }
#signup .button:hover { background: #0f8a42; }
#signup .dialog-close { position: static; margin-top: 35px; }
.video-dialog { width: 940px; background: #0b1518; }
.video-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - 32px); }
.article-dialog { width: 940px; }
.article-photo { aspect-ratio: 940 / 460; border-bottom: 8px solid var(--article-color, #62afbf); background: var(--paper); }
.article-copy { padding: 36px 10% 55px; }
.article-meta { display: flex; gap: 18px; font-size: .8125rem; text-transform: uppercase; }
.article-copy h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); margin: 18px 0 26px; }
.article-copy p:not(.article-meta) { margin: 0 0 16px; line-height: 1.5; font-weight: 300; }
.article-navigation { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--paper); padding: 18px 10%; }
.article-navigation button { border: 0; background: transparent; padding: 6px; text-decoration: underline; }
.article-navigation button:disabled { visibility: hidden; }

.join-hero { display: grid; place-items: center; padding: 30px; text-align: center; color: white; background-color: #487582; background-image: url("/assets/joinus-bg.jpg"); }
.join-hero h1 { margin-bottom: 30px; }
.join-hero p { font-size: 1.125rem; line-height: 1.3; }
.join-scroll { display: inline-block; width: 52px; height: 52px; margin-top: 60px; background: url("/assets/bottom-arrow.png") no-repeat top left; }
.join-scroll:hover { background-position: bottom left; }
.openings { background: var(--contact-blue); padding: 130px 0; }
.openings h2 { color: white; margin-bottom: 60px; }
.job-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 75px; }
.job-filter { position: relative; }
.job-filter::after { content: ""; position: absolute; pointer-events: none; inset-inline-end: 24px; top: 23px; width: 12px; height: 12px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.job-filter select {
  appearance: none; width: 100%; min-height: 60px; border: 0; border-radius: 6px; padding: 10px 25px; padding-inline-end: 70px;
  color: var(--ink); background: linear-gradient(to left, #384a4d 60px, white 60px); font-size: 1.375rem; cursor: pointer;
}
[dir="rtl"] .job-filter select { background: linear-gradient(to right, #384a4d 60px, white 60px); }
.job { border-radius: 6px; background: white; margin-bottom: 20px; overflow: hidden; }
.job summary { display: grid; align-items: center; grid-template-columns: 2fr 1fr 1fr 60px; min-height: 60px; padding-inline-start: 25px; gap: 10px; list-style: none; cursor: pointer; }
.job summary::-webkit-details-marker { display: none; }
.job-title { font-size: 1.25rem; font-weight: 600; }
.job-toggle { height: 100%; min-height: 60px; display: grid; place-items: center; background: #384a4d; color: #fff; font: 32px/1 Arial, sans-serif; }
.job-toggle::after { content: "+"; }
.job[open] .job-toggle::after { content: "−"; }
.job-detail { padding: 26px; box-shadow: inset 0 4px 10px #0001; }
.job-detail p, .job-page-description p { margin: 0 0 8px; line-height: 1.4; }
.job-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #aaa; margin-top: 30px; padding-top: 16px; }
.job-meta ul { list-style: none; margin: 0; padding: 0; }
.no-jobs { color: white; text-align: center; padding: 18px; }

.internal-page { margin-block: 50px; background: white; }
.internal-brand { display: grid; place-items: center; padding: 80px 20px; border-bottom: 2px solid var(--paper); }
.internal-brand img { width: 152px; height: 171px; object-fit: contain; }
.internal-copy { padding: 65px 140px; }
.internal-copy h1 { font-weight: 600; font-size: 2rem; line-height: 1.2; margin-bottom: 40px; }
.internal-media h1, .internal-faq h1, .internal-job h1, .archived-job-meta { text-align: center; }
.internal-copy p { font-size: .9375rem; line-height: 1.4; font-weight: 300; margin-bottom: 22px; }
.internal-copy .faq-item h2 { font-size: .9375rem; margin: 0 0 6px; }
.internal-copy .faq-item p { margin-inline-start: 20px; }
.media-copy { width: min(100%, 475px); margin-inline: auto; }
.media-copy p { font-size: 1rem; line-height: 1.15; margin-bottom: 20px; }
.media-copy form .button { width: 100%; }
.press-copy img { width: 100%; margin-block: 24px; }
.press-copy ul { padding-inline-start: 1.2rem; margin-bottom: 30px; }
.press-copy li + li { margin-top: 10px; }
.internal-register h1, .internal-register p { text-align: center; }
.internal-register form { max-width: 395px; margin-inline: auto; }
.internal-register input, .application-form input, .application-form textarea {
  display: block; width: 100%; padding: 10px 14px; margin: 8px 0 16px; font: inherit;
  border: 1px solid #bdbdbd; border-radius: 5px; color: var(--text); background: white;
}
.internal-register .button, .application-form .button { width: 100%; background: #22b35a; }
.internal-register .button:hover, .application-form .button:hover { background: #0f8a42; }
.internal-register .form-message { margin-top: 20px; }
.job-page-metadata { padding-inline-start: 1.2rem; }
.application-form { border-top: 2px solid var(--paper); margin-top: 30px; padding-top: 25px; }
.application-form fieldset { margin: 20px 0 30px; padding: 0; border: 0; min-width: 0; }
.application-form legend { margin-bottom: 20px; font-weight: 700; text-transform: uppercase; }
.application-form label { display: block; font-size: .9375rem; }
.application-form :disabled { background: var(--paper); color: #60696b; cursor: default; }
.application-form .application-status { background: var(--paper); padding: 12px; font-weight: 500; }
.internal-terms ul, .internal-terms ol, .internal-terms h4 { margin-bottom: 20px; }
.job-page-description { margin-bottom: 34px; }

@media (max-height: 800px) {
  .office { min-height: 300px; }
  .office-detail { padding-bottom: 25px; }
}

@media (max-width: 1020px) {
  .photo-stripe { background-attachment: scroll; }
  .site-nav { justify-content: center; box-shadow: 0 -1px 3px #0001; }
  .site-nav .language-links, .nav-links { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 60px; height: 100%; padding: 0; background: none; border: 0; }
  .menu-toggle span { width: 39px; height: 3px; background: var(--ink); box-shadow: 0 -6px var(--ink), 0 6px var(--ink); }
  .menu-toggle[aria-expanded="true"] span { height: 30px; box-shadow: none; background: none; }
  .menu-toggle[aria-expanded="true"] span::before, .menu-toggle[aria-expanded="true"] span::after {
    content: ""; display: block; position: absolute; width: 31px; height: 3px; background: var(--ink); top: 26px; transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
  .site-nav.is-open .nav-links {
    position: absolute; inset: auto 0 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: calc(100vh - var(--nav-height)); height: calc(100svh - var(--nav-height)); padding: 55px 20px; background: rgb(255 255 255 / .98);
  }
  .site-nav.is-open .language-links { display: flex; z-index: 1; position: absolute; top: calc(-100svh + var(--nav-height) + 24px); font-size: .875rem; }
  .primary-links, .secondary-links { position: static; transform: none; }
  .primary-links { flex-direction: column; align-items: center; gap: 4px; }
  .primary-links a { font-size: 1rem; line-height: 2.8; }
  .primary-links a::after { bottom: 3px; }
  .secondary-links { margin-top: 30px; font-size: .75rem; }
  .carousel-dots { display: flex; }
  .carousel-arrow { display: none; }
  .section-title { font-size: 3.125rem; }
  .news-copy { padding-inline: 30px; }
  .news-copy .news-date { inset-inline-start: 30px; }
  .internal-copy { padding: 50px 80px; }
}

@media (max-width: 760px) {
  .hero-content { transform: translateY(-76px); }
  .hero-content.has-video { transform: translateY(-30px); }
  .hero-logo { width: 100px; height: 100px; }
  .hero h1 { margin: 29px 30px 0; width: min(620px, calc(100% - 60px)); }
  .hero-tagline { width: 100%; height: auto; }
  [dir="rtl"] .hero-tagline { width: min(100%, 427px); height: auto; margin-inline: auto; }
  .hero-play { width: 40px; height: 40px; margin-top: 52px; }
  .section-title { font-size: 1.75rem; }
  .slide-copy p { font-size: 1rem; line-height: 1.28; }
  .slide-copy .section-title { margin-bottom: 14px; }
  .programme-art { top: calc(50% + 76px); }
  .carousel-dots { bottom: 70px; }
  .news { padding-block: 37px; }
  .news-grid { grid-template-columns: 1fr; }
  .news .section-title { margin-bottom: 30px; }
  .featured .news-copy { position: relative; width: 100%; }
  .news-copy { min-height: 200px; padding: 30px 25px 75px; }
  .news-copy h3 { font-size: 1.25rem; }
  .news-copy p { font-size: 1rem; }
  .news-copy .news-date { inset-inline-start: 25px; bottom: 25px; }
  .news-open { height: 65px; width: 65px; }
  .change-banner img { transform: none; }
  .contact { min-height: max(600px, 100svh); }
  .office { grid-template-columns: 1fr; min-height: 300px; }
  .office-detail, [dir="rtl"] .office-detail { padding: 24px 20px; text-align: center; }
  .office-detail > p { font-size: 1rem; }
  .office-links { margin-top: 12px; }
  .office-map { align-items: center; justify-content: center; }
  .site-footer { padding: 45px 20px; }
  .site-footer p { line-height: 1.45; margin-top: 30px; }
  .openings { padding: 55px 0; }
  .openings h2 { margin-bottom: 30px; }
  .job-filters { gap: 10px; margin-bottom: 35px; }
  .job-filter select { font-size: .875rem; padding-inline: 12px 38px; background: linear-gradient(to left, #384a4d 34px, #fff 34px); }
  [dir="rtl"] .job-filter select { background: linear-gradient(to right, #384a4d 34px, #fff 34px); }
  .job-filter::after { inset-inline-end: 13px; width: 10px; height: 10px; }
  .job summary { grid-template-columns: 2fr 1fr 38px; padding-inline-start: 12px; }
  .job-title { font-size: .9375rem; }
  .job-type { display: none; }
  .job-location { font-size: .8125rem; }
  .job-meta { flex-wrap: wrap; }
  .internal-page { margin-block: 22px; }
  .internal-brand { padding-block: 36px; }
  .internal-brand img { width: 115px; height: 125px; }
  .internal-copy { padding: 30px 20px; }
  .internal-copy h1 { font-size: 1.5625rem; margin-bottom: 24px; }
  .signup-dialog { padding-inline: 22px; }
  #signup h2 { font-size: 1.5625rem; margin-bottom: 20px; }
  #signup > p { margin-bottom: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .photo-stripe { background-attachment: scroll; }
}
