/* Keep line glow styling consistent after the backend capability styles load. */

html body #main-content .gal-circuit__glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    stroke-width: 0.5px !important;
}

html body #main-content .gal-circuit__spark {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    stroke-width: 0.5px !important;
}

html body #main-content .gal-circuit--why.is-animated .gal-circuit__glow,
html body #main-content .gal-circuit--why.is-animated .gal-circuit__spark {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    animation-name: gal-why-line-glow !important;
    animation-duration: 8000ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation-delay: 1450ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
}

html body #main-content .gal-circuit--news .gal-circuit__glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    stroke-width: 0.25px !important;
}

html body #main-content .gal-news.sequence-visible .gal-circuit--news .gal-circuit__glow,
html body #main-content .gal-news.is-section-visible .gal-circuit--news .gal-circuit__glow {
    animation-name: gal-why-line-glow !important;
    animation-duration: 8000ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation-delay: 1450ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
}

html body #main-content .gal-about-overview::after,
html body #main-content .gal-about-team::after {
    background: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%201157%20245%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M0%20245V156C0%20140%2013%20127%2029%20127H729C745%20127%20758%20140%20758%20156V196C758%20212%20771%20225%20787%20225H864C880%20225%20893%20212%20893%20196V29C893%2013%20906%200%20922%200H1157%27%20stroke%3D%27rgba(211%2C186%2C89%2C0.92)%27%20stroke-width%3D%270.5%27/%3E%3C/svg%3E") right top / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content #overview > .gal-about-split:first-of-type::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 570' fill='none'%3E%3Cpath d='M0 570H385C404 570 420 554 420 535V514' stroke='rgba(211,186,89,0.92)' stroke-width='0.6'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-leadership::after {
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%201157%20245%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M0%20245V156C0%20140%2013%20127%2029%20127H729C745%20127%20758%20140%20758%20156V196C758%20212%20771%20225%20787%20225H864C880%20225%20893%20212%20893%20196V29C893%2013%20906%200%20922%200H1157%27%20stroke%3D%27rgba(211%2C186%2C89%2C0.92)%27%20stroke-width%3D%270.5%27/%3E%3C/svg%3E") !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-capability-detail[aria-labelledby="gal-technical-service-title"]::after {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%27-775%200%201918%201000%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M-775%20770H-30C-13%20770%200%20783%200%20800V471C0%20454%2013%20441%2030%20441H106C123%20441%20136%20428%20136%20411V117C136%20100%20149%2087%20166%2087H633C650%2087%20664%20100%20664%20117V154C664%20171%20677%20186%20694%20186H775C792%20186%20805%20173%20805%20156V0H1143%27%20stroke%3D%27rgba%28211%2C186%2C89%2C0.92%29%27%20stroke-width%3D%270.5%27%2F%3E%3C%2Fsvg%3E") right top / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}

html body #main-content .gal-capability-detail[aria-labelledby="gal-engineering-support-title"]::after {
    background: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%201441%20135%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M0%20135V86C0%2069%2013%2056%2030%2056H599C616%2056%20629%2069%20629%2086V100C629%20119%20642%20134%20659%20134H690C709%20134%20724%20119%20724%20100V30C724%2013%20737%200%20754%200H1441%27%20stroke%3D%27rgba(211%2C186%2C89%2C0.92)%27%20stroke-width%3D%270.5%27/%3E%3C/svg%3E") right top / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
}

html body #main-content .gal-capability-detail[aria-labelledby="gal-specialist-services-title"]::after {
    background: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20480%20181%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M480%200V6C480%2023%20467%2036%20450%2036H367C350%2036%20337%2049%20337%2066V151C337%20168%20324%20181%20307%20181H0%27%20stroke%3D%27rgba(211%2C186%2C89%2C0.92)%27%20stroke-width%3D%270.5%27/%3E%3C/svg%3E") left top / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content #specialized-augmentation > .gal-capability-detail[aria-labelledby="gal-integrated-expertise-title"]::after {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201340%20123%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1340%200H530C513%200%20500%2013%20500%2030V80C500%2097%20487%20110%20470%20110H436C419%20110%20406%2097%20406%2080V75C406%2058%20393%2050%20376%2050H30C13%2050%200%2063%200%2080V123%22%20stroke%3D%22rgba(211%2C186%2C89%2C0.92)%22%20stroke-width%3D%220.5%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content #engineering-modifications > .gal-capability-detail[aria-labelledby="gal-modifications-title"]::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1100 510' fill='none'%3E%3Cpath d='M0 0V130C0 147 13 160 30 160H106C123 160 136 173 136 190V480C136 497 149 510 166 510H1100' stroke='rgba(211,186,89,0.92)' stroke-width='0.5'/%3E%3C/svg%3E") right top / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content #training-development > .gal-capability-detail[aria-labelledby="gal-ild-title"]::before {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201440%20230%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M0%200H680C699%200%20714%2015%20714%2034V108C714%20123%20729%20128%20744%20128H1058C1073%20128%201088%20113%201088%2098V62C1088%2047%201103%2040%201118%2040H1165C1180%2040%201195%2055%201195%2070V205C1195%20220%201210%20230%201225%20230H1440%27%20stroke%3D%27rgba%28211%2C186%2C89%2C0.92%29%27%20stroke-width%3D%270.5%27%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    animation-duration: 8000ms !important;
}

html body #main-content #training-development > .gal-capability-detail--training-end-user[aria-labelledby="gal-end-user-title"]::before {
    display: block !important;
    z-index: 0 !important;
    background-image: url("../images/training-wireframe.png") !important;
    animation: none !important;
    opacity: 1 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    filter: none !important;
}

html body #main-content #training-development > .gal-capability-detail--training-end-user[aria-labelledby="gal-end-user-title"]::after {
    content: none !important;
    animation: none !important;
}

html body #main-content .gal-contact-content::after {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    border-top: 0.5px solid rgba(211, 186, 89, 0.92) !important;
    border-left: 0.5px solid rgba(211, 186, 89, 0.92) !important;
}

html body #main-content body.page-template-page-careers #build-your-career .gal-careers-growth__work::after {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201340%20123%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1340%200H530C513%200%20500%2013%20500%2030V80C500%2097%20487%20110%20470%20110H436C419%20110%20406%2097%20406%2080V75C406%2058%20393%2050%20376%2050H30C13%2050%200%2063%200%2080V123%22%20stroke%3D%22rgba%28211%2C186%2C89%2C0.92%29%22%20stroke-width%3D%220.5%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-careers-students-intro__line-glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    stroke-width: 0.5px !important;
}

html body #main-content .gal-national-talent__line-glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    stroke-width: 0.5px !important;
}

html body #main-content .gal-national-talent__line {
    transform: translate(-50%, 7.5rem) !important;
}

html body #main-content .gal-national-circuit.is-animated .gal-national-circuit__glow,
html body #main-content .gal-national-circuit.is-animated .gal-national-circuit__spark {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    animation-name: gal-why-line-glow !important;
    animation-duration: 8000ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation-delay: 1450ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
}

html body #main-content .gal-careers-professionals-areas__line .gal-careers-professionals-areas__line-glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    stroke-width: 0.5px !important;
}

html body #main-content .gal-careers--elite .gal-elite-education::after {
    background: url("../images/elite-education-map-glow.svg") left top / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-careers-emiratisation::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 320' preserveAspectRatio='none'%3E%3Cpath d='M1920 0H1614C1596.3 0 1582 14.3 1582 32V92C1582 109.7 1567.7 124 1550 124H1519C1501.3 124 1487 109.7 1487 92V88C1487 70.3 1472.7 56 1455 56H1151C1133.3 56 1119 70.3 1119 88V136C1119 153.7 1104.7 168 1087 168H750C732.3 168 718 182.3 718 200V320' fill='none' stroke='rgb(211,186,89)' stroke-opacity='.92' stroke-width='0.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-careers-emiratisation__line-glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    border-top: 0.5px solid rgba(211, 186, 89, 0.92) !important;
    border-right: 0.5px solid rgba(211, 186, 89, 0.92) !important;
}

html body #main-content .gal-careers-programs::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 269' preserveAspectRatio='none'%3E%3Cpath d='M0 0H910C928 0 942 14 942 32V108C942 126 956 140 974 140H1046C1064 140 1078 126 1078 108V95C1078 77 1092 63 1110 63H1130C1148 63 1162 77 1162 95V269' fill='none' stroke='rgb(211,186,89)' stroke-opacity='.92' stroke-width='0.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-careers-offer::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1820 448' preserveAspectRatio='none'%3E%3Cpath d='M1820 0H1298C1280 0 1266 14 1266 32V155C1266 173 1252 187 1234 187H932C914 187 900 173 900 155V108C900 90 886 76 868 76H820C802 76 788 90 788 108V448' fill='none' stroke='rgb(211,186,89)' stroke-opacity='.92' stroke-width='0.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content body.page-template-page-careers .gal-careers-opportunity::after {
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201150%20265%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M0%20265V186C0%20168.327%2014.327%20154%2032%20154H721C738.673%20154%20753%20168.327%20753%20186V221C753%20238.673%20767.327%20253%20785%20253H857C874.673%20253%20889%20238.673%20889%20221V34C889%2016.327%20903.327%202%20921%202H1150%22%20fill%3D%22none%22%20stroke%3D%22rgb%28211%2C186%2C89%29%22%20stroke-opacity%3D%22.92%22%20stroke-width%3D%220.5%22%20vector-effect%3D%22non-scaling-stroke%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
}

html body #main-content .gal-careers-veterans-intro__line::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 874 1000' preserveAspectRatio='none'%3E%3Cpath d='M874 0H478C460.3 0 446 14.3 446 32V293C446 310.7 431.7 325 414 325H317C299.3 325 285 310.7 285 293V178C285 160.3 270.7 146 253 146H32C14.3 146 0 160.3 0 178V1000' fill='none' stroke='rgb(211,186,89)' stroke-opacity='.92' stroke-width='0.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    animation-name: gal-why-line-glow !important;
    animation-duration: 8000ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation-delay: 1450ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
}

html body #main-content .gal-about-overview:has(.gal-about-split.is-visible)::after,
html body #main-content .gal-about-team:has(.gal-ceo.is-visible)::after,
html body #main-content #overview:has(> .gal-about-split.is-visible) > .gal-about-split:first-of-type::after,
html body #main-content .gal-leadership.is-visible::after,
html body #main-content .gal-contact-content:has(.gal-contact-card.is-visible)::after,
html body #main-content .gal-careers-professionals-areas.is-visible .gal-careers-professionals-areas__line-glow,
html body #main-content #training-development > .gal-capability-detail[aria-labelledby="gal-ild-title"].is-section-visible::before {
    animation-play-state: running !important;
}

/* Capability line selectors use generated heading IDs in the source markup, so
   address the two rendered MRO lines by their stable section order instead. */
html body #main-content #mro-sustainment > .gal-capability-detail:nth-of-type(3)::after {
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%201441%20135%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M0%20135V86C0%2069%2013%2056%2030%2056H599C616%2056%20629%2069%20629%2086V100C629%20119%20642%20134%20659%20134H690C709%20134%20724%20119%20724%20100V30C724%2013%20737%200%20754%200H1441%27%20stroke%3D%27rgba(211%2C186%2C89%2C0.92)%27%20stroke-width%3D%270.5%27/%3E%3C/svg%3E") !important;
}
html body #main-content #mro-sustainment > .gal-capability-detail:nth-of-type(4)::after {
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20480%20181%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M480%200V6C480%2023%20467%2036%20450%2036H367C350%2036%20337%2049%20337%2066V151C337%20168%20324%20181%20307%20181H0%27%20stroke%3D%27rgba(211%2C186%2C89%2C0.92)%27%20stroke-width%3D%270.5%27/%3E%3C/svg%3E") !important;
}
html body #main-content #mro-sustainment > .gal-capability-detail:nth-of-type(3)::after,
html body #main-content #mro-sustainment > .gal-capability-detail:nth-of-type(4)::after {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    animation-name: gal-why-line-glow !important;
    animation-duration: 8000ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation-delay: 1450ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
}

/* Match the Students & Early Careers connector to the Homepage glow cycle. */
html body #main-content .gal-careers-students-intro::after {
    animation-duration: 8000ms !important;
}

/* Give the Media Latest News circuit the same masked gold sweep as Events. */
html body #main-content #latest-news.gal-media-section--news::after {
    position: absolute;
    z-index: 0;
    top: -5.625rem;
    left: 50%;
    width: 1920px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%20300'%20preserveAspectRatio='none'%20fill='none'%3E%3Cpath%20d='M1920%20.5H1688Q1658%20.5%201658%2030.5V215Q1658%20245%201628%20245H1552Q1522%20245%201522%20215V180Q1522%20150%201492%20150H799Q769%20150%20769%20180V300'%20fill='none'%20stroke='rgba(211,186,89,0.92)'%20stroke-width='0.5'%20vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
    -webkit-mask-position: -45% 0;
    mask-position: -45% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 32% 100%;
    mask-size: 32% 100%;
    opacity: 0;
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
}

html body #main-content #latest-news.gal-media-section--news.is-visible::after {
    animation: gal-why-line-glow 8000ms cubic-bezier(0.16, 1, 0.3, 1) 1450ms infinite normal;
}

/* Give the Media Events circuit the same masked gold sweep as Capabilities. */
html body #main-content #events.gal-media-section--events::after {
    position: absolute;
    z-index: 0;
    top: -1.4375rem;
    left: 50%;
    width: 1920px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201920%20300'%20preserveAspectRatio='none'%20fill='none'%3E%3Cpath%20d='M1920%20.5H1439Q1409%20.5%201409%2030.5V180Q1409%20210%201379%20210H1153Q1123%20210%201123%20180V130Q1123%20100%201093%20100H849Q819%20100%20819%20130V300'%20stroke='rgba(211,186,89,0.92)'%20stroke-width='0.5'%20vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
    -webkit-mask-position: -45% 0;
    mask-position: -45% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 32% 100%;
    mask-size: 32% 100%;
    opacity: 0;
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
}

html body #main-content #events.gal-media-section--events.is-visible::after {
    animation: gal-why-line-glow 8000ms cubic-bezier(0.16, 1, 0.3, 1) 1450ms infinite normal;
}

@media (max-width: 63.9375rem) {
    html body #main-content #latest-news.gal-media-section--news::after,
    html body #main-content #events.gal-media-section--events::after {
        display: none;
    }
}

/* Shared homepage glow sweep, available on pages that do not load home.css. */
@keyframes gal-why-line-glow {
    0% { -webkit-mask-position: -45% 0; mask-position: -45% 0; opacity: 0; }
    12%, 58% { opacity: 1; }
    72%, 100% { -webkit-mask-position: 145% 0; mask-position: 145% 0; opacity: 0; }
}

/* Share the homepage sweep across every page's existing glowing contours. */
html body #main-content .gal-circuit--why .gal-circuit__glow,
html body #main-content .gal-circuit--why .gal-circuit__spark,
html body #main-content .gal-circuit--news .gal-circuit__glow,
html body #main-content .gal-about-overview::after,
html body #main-content .gal-about-team::after,
html body #main-content #overview > .gal-about-split:first-of-type::after,
html body #main-content .gal-leadership::after,
html body #main-content .gal-capability-detail::after,
html body #main-content .gal-contact-content::after,
html body.page-template-page-careers #main-content #build-your-career .gal-careers-growth__work::after,
html body #main-content .gal-careers-students-intro__line-glow,
html body #main-content .gal-careers-professionals-areas__line .gal-careers-professionals-areas__line-glow,
html body #main-content .gal-careers--elite .gal-elite-education::after,
html body #main-content .gal-careers-emiratisation::after,
html body #main-content .gal-careers-emiratisation__line-glow,
html body #main-content .gal-careers-programs::after,
html body #main-content .gal-careers-offer::after,
html body.page-template-page-careers #main-content .gal-careers-opportunity::after,
html body #main-content .gal-national-talent__line-glow,
html body #main-content .gal-national-circuit.is-animated .gal-national-circuit__glow,
html body #main-content .gal-national-circuit.is-animated .gal-national-circuit__spark {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 32% 100% !important;
    mask-size: 32% 100% !important;
    animation-name: gal-why-line-glow !important;
    animation-duration: 8000ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation-delay: 1450ms !important;
    animation-iteration-count: infinite !important;
    animation-direction: normal !important;
}

/* Keep the Executive Leadership glow aligned to the team page connector. */
html body #main-content #our-team .gal-leadership::after {
    background-image: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    opacity: 0 !important;
    animation: none !important;
}

#our-team .gal-leadership__line-glow {
    display: none;
}

@media (min-width: 48rem) {
    #our-team .gal-leadership__line-glow {
        position: absolute;
        z-index: -1;
        top: -12rem;
        left: calc((100% - 100vw) / 2);
        display: block;
        width: 100vw;
        max-width: none !important;
        height: 18.9375rem;
        overflow: visible;
        pointer-events: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 54%, transparent 100%);
        -webkit-mask-position: -45% 0;
        mask-position: -45% 0;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 32% 100%;
        mask-size: 32% 100%;
        opacity: 0;
        animation: gal-why-line-glow 8000ms cubic-bezier(0.16, 1, 0.3, 1) 1450ms infinite paused;
    }

    #our-team .gal-leadership__line-glow path {
        filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72));
        stroke-dasharray: none;
    }

    #our-team .gal-leadership.is-visible .gal-leadership__line-glow {
        animation-play-state: running;
    }
}

html body #main-content [class*="line-glow"],
html body #main-content [class*="__glow"],
html body #main-content [class*="__spark"] {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
}

/* Capabilities uses one gold glow layer; do the same on the Why GAL route. */
html body #main-content .gal-circuit--why .gal-circuit__draw,
html body #main-content .gal-circuit--why .gal-circuit__spark {
    display: none !important;
}

/* Match the Careers opportunity CTA dimensions from the design. */
html body.page-template-page-careers #main-content .gal-careers-opportunity__copy > .button {
    width: 15.9375rem;
    height: 3.25rem;
}

/* Subtle hover and keyboard-focus motion for the Careers benefits cards. */
html body.page-template-page-careers #main-content .gal-careers-benefits .gal-capability-features__grid article {
    transition: border-color var(--transition-component), transform var(--transition-component);
}

html body.page-template-page-careers #main-content .gal-careers-benefits .gal-capability-features__grid article:hover,
html body.page-template-page-careers #main-content .gal-careers-benefits .gal-capability-features__grid article:focus-within {
    border-color: rgba(186, 154, 57, 0.68);
    transform: translateY(-0.25rem);
}

@media (prefers-reduced-motion: reduce) {
    html body.page-template-page-careers #main-content .gal-careers-benefits .gal-capability-features__grid article {
        transition: none;
    }

    html body.page-template-page-careers #main-content .gal-careers-benefits .gal-capability-features__grid article:hover,
    html body.page-template-page-careers #main-content .gal-careers-benefits .gal-capability-features__grid article:focus-within {
        transform: none;
    }
}

html body.page-template-page-careers #main-content .gal-careers-growth__blueprint {
    opacity: 0.1;
}

/* Smooth hover motion for the Your Colleagues testimonial boxes. */
html body.page-template-page-careers #main-content .gal-careers-community .gal-careers-testimonials > article {
    transition: border-color var(--transition-component), transform var(--transition-component);
}

html body.page-template-page-careers #main-content .gal-careers-community .gal-careers-testimonials > article:hover {
    border-color: rgba(186, 154, 57, 0.68);
    transform: translateY(-0.25rem);
}

/* Keep both Emiratisation card groups' borders gold in every state. */
html body.page-template-page-careers-build-your-career-emiratisation #main-content :is(.gal-careers-paths__grid, .gal-careers-programs__grid) > article,
html body.page-template-page-careers-build-your-career-emiratisation #main-content :is(.gal-careers-paths__grid, .gal-careers-programs__grid) > article:is(:hover, :focus-within) {
    border-top-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Share the Find Your Path hover background with Our Programs. */
html body.page-template-page-careers-build-your-career-emiratisation #main-content :is(.gal-careers-paths__grid, .gal-careers-programs__grid) article:has(.gal-careers-paths__link):hover,
html body.page-template-page-careers-build-your-career-emiratisation #main-content :is(.gal-careers-paths__grid, .gal-careers-programs__grid) article:has(.gal-careers-paths__link):focus-within {
    background: linear-gradient(
        180deg,
        rgba(9, 14, 28, 1) 0%,
        rgba(9, 14, 28, 0.3) 60.00000238418579%,
        rgba(0, 26, 65, 1) 100%
    ),
    linear-gradient(to left, #090e1c, #090e1c);
}

@media (prefers-reduced-motion: reduce) {
    html body.page-template-page-careers #main-content .gal-careers-community .gal-careers-testimonials > article {
        transition: none;
    }

    html body.page-template-page-careers #main-content .gal-careers-community .gal-careers-testimonials > article:hover {
        transform: none;
    }
}

html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article h3 {
    color: rgba(255, 255, 255, 0.75);
}

html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:hover h3 {
    color: var(--color-accent);
}

html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img:not(.gal-stage-image),
html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer:is(.is-section-visible, .sequence-visible) .gal-careers-offer__grid > article img.gal-stage-image {
    opacity: .75;
}

html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus) img:not(.gal-stage-image),
html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer:is(.is-section-visible, .sequence-visible) .gal-careers-offer__grid > article:is(:hover, :focus) img.gal-stage-image {
    opacity: 1;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img {
        --gal-default-hover-scale: 1.08;
    }
}

/* Let the What We Offer copy move with the expanding card. */
@media (min-width: 48rem) {
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article {
        min-height: 26.625rem;
        transition: height 950ms cubic-bezier(.42, 0, .2, 1), background 950ms ease;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img {
        order: 0;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img:not(.gal-stage-image) {
        transition: filter 900ms ease, scale 700ms cubic-bezier(.22, 1, .36, 1);
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img.gal-stage-image {
        transition-duration: 1000ms, 1000ms, 700ms, 900ms;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article::before {
        content: "";
        order: 1;
        flex: 1 0 0;
        transition: flex-grow 950ms cubic-bezier(.42, 0, .2, 1), flex-basis 950ms cubic-bezier(.42, 0, .2, 1);
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article h3 {
        order: 2;
        margin-top: 0;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article p {
        order: 3;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details {
        order: 4;
        transition: max-height 950ms cubic-bezier(.42, 0, .2, 1), margin-top 950ms cubic-bezier(.42, 0, .2, 1), opacity 900ms ease, visibility 0s linear 950ms;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li {
        opacity: 0;
        transform: translateY(.4rem);
        transition: opacity 550ms ease, transform 550ms cubic-bezier(.22, 1, .36, 1);
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(1) { --offer-item-delay: 100ms; }
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(2) { --offer-item-delay: 200ms; }
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(3) { --offer-item-delay: 300ms; }
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(4) { --offer-item-delay: 400ms; }
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(5) { --offer-item-delay: 500ms; }
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(6) { --offer-item-delay: 600ms; }
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li:nth-child(7) { --offer-item-delay: 700ms; }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus)::before {
        flex-grow: 0;
        flex-basis: 7.3rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus) img {
        margin-bottom: 0;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus) h3 {
        margin-top: 0;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus) .gal-careers-offer__details {
        transition-delay: 0s;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus) .gal-careers-offer__details li {
        opacity: 1;
        transform: none;
        transition-delay: var(--offer-item-delay, 100ms);
    }
}

@media (min-width: 75rem) {
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid::before {
        position: absolute;
        top: 5.75rem;
        left: calc(-1 * var(--layout-gutter));
        width: calc(var(--layout-gutter) + 25% + 0.1875rem);
        height: 1px;
        background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) left / var(--layout-gutter) 1px no-repeat,
            linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) right / .75rem 1px no-repeat;
        content: "";
        pointer-events: none;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer.gal-container {
        width: min(calc(100vw - (2 * var(--layout-gutter)) + 0.5rem), 107.5rem);
        padding-bottom: 6.5rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content #gal-careers-offer-title {
        font-weight: 400 !important;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer .gal-careers-benefits__intro,
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer .gal-careers-benefits__intro p {
        max-width: 40rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer .gal-careers-benefits__intro p {
        font-size: 1rem;
        line-height: 1.6;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid {
        gap: 0.75rem;
        min-height: 0;
        margin-top: 4.0625rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:not(:hover):not(:focus) {
        height: 21.625rem;
        min-height: 0;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article {
        padding-inline: 1.5rem;
    }

    @supports (interpolate-size: allow-keywords) {
        html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article {
            interpolate-size: allow-keywords;
        }

        html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus) {
            height: max-content;
            min-height: 0;
        }
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article.gal-careers-offer__card--onboarding:not(:hover):not(:focus) {
        height: 21.625rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article::before {
        flex: 0 0 2.25rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article:is(:hover, :focus)::before {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 5.25rem;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img {
        flex-shrink: 0;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article h3 {
        font-size: 1.75rem;
        font-weight: 400 !important;
        line-height: 1.25;
    }
}

@media (min-width: 48rem) and (prefers-reduced-motion: reduce) {
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article,
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article img,
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article::before,
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details,
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li {
        transition: none;
    }

    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article .gal-careers-offer__details li {
        opacity: 1;
        transform: none;
    }
}


/* Shared viewport reveal pacing, matched to the AMMROC section reveals. */
#main-content .gal-stage-item,
#main-content .gal-stage-image {
    opacity: 0;
    clip-path: none;
    translate: 0 100px;
    transition-property: opacity, translate, transform, filter;
    transition-duration: 1000ms, 1000ms, 700ms, 500ms;
    transition-timing-function: ease, ease, cubic-bezier(0.16, 1, 0.3, 1), ease;
    transition-delay: var(--stage-delay, 0ms), var(--stage-delay, 0ms), 0ms, 0ms;
}

#main-content :is(p, li).paragraph-scroll-reveal,
#main-content .gal-heading-reveal__line,
#main-content .gal-heading-reveal:not(.is-split),
#main-content .gal-reveal {
    opacity: 0;
    clip-path: none;
    filter: none;
    transform: translate3d(0, 100px, 0);
    transition-property: opacity, transform;
    transition-duration: 1000ms;
    transition-timing-function: ease;
}

/* Keep the existing section choreography, but reveal each staged item on entry. */
#main-content .sequence-section .gal-stage-item.gal-stage-on-entry {
    transition-property: opacity, translate, transform, filter;
}

#main-content .sequence-section .gal-stage-item.gal-stage-on-entry:not(.gal-stage-visible) {
    opacity: 0;
    translate: 0 48px;
}

#main-content .sequence-section .gal-stage-item.gal-stage-on-entry.gal-stage-visible {
    translate: 0 0;
}

#main-content .gal-heading-reveal__line {
    transition-delay: 0ms;
}

#main-content :is(p, li).paragraph-scroll-reveal {
    transition-delay: 100ms;
}

#main-content .gal-heading-reveal:not(.is-split),
#main-content .gal-reveal {
    transition-delay: 0ms;
}

#main-content .gal-heading-reveal__mask {
    overflow: visible;
}

#main-content .gal-sustainment.is-scroll-ready .gal-sustainment__message p {
    opacity: 1;
    transform: none;
    transition: none;
}

#main-content .gal-sustainment.is-copy-visible .gal-sustainment__message p {
    opacity: 1;
    transform: none;
}

@media (min-width: 75rem) {
    #main-content .gal-sustainment.is-scroll-ready .gal-sustainment__message p {
        opacity: var(--sustain-copy-opacity);
        transform: translate3d(0, var(--sustain-copy-y), 0);
        transition: none;
    }

    #main-content .gal-sustainment.is-copy-visible .gal-sustainment__message p {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

#main-content .is-section-visible .gal-stage-item,
#main-content .sequence-visible .gal-stage-item,
#main-content .is-section-visible .gal-stage-image,
#main-content .sequence-visible .gal-stage-image {
    opacity: 1;
    clip-path: none;
    translate: 0 0;
}

#main-content :is(p, li).paragraph-scroll-reveal.paragraph-visible,
#main-content .gal-heading-reveal.is-text-visible .gal-heading-reveal__line,
#main-content .gal-heading-reveal.is-text-visible:not(.is-split),
#main-content .gal-reveal.is-visible {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    #main-content .gal-stage-item,
    #main-content .gal-stage-image,
    #main-content :is(p, li).paragraph-scroll-reveal,
    #main-content .gal-heading-reveal__line,
    #main-content .gal-heading-reveal:not(.is-split),
    #main-content .gal-reveal,
    #main-content .gal-about-view:not([hidden]) > .gal-reveal:first-child {
        opacity: 1;
        clip-path: none;
        filter: none;
        transform: none;
        translate: none;
        transition: none;
    }

    #main-content .gal-sustainment .gal-sustainment__message p {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* This panel label stays visible before the user switches its tab. */
#main-content .gal-about-view:not([hidden]) > .gal-reveal:first-child {
    opacity: 1;
    transform: none;
    transition: none;
}

/* Keep the About Us partner logos grayscale after the shared reveal reset. */
#main-content .gal-partners .gal-partners__grid img {
    filter: grayscale(1) brightness(0) invert(0.9);
}

#main-content .gal-partners .gal-partners__grid img[alt="Bae Systems"] {
    filter: grayscale(1) invert(1);
}

#main-content .gal-partners .gal-partners__grid img:not(.gal-stage-image) {
    transition: filter 280ms ease, opacity 280ms ease, transform 280ms ease;
}

#main-content .gal-partners .gal-partners__grid img.gal-stage-image {
    transition:
        opacity 1000ms ease var(--stage-delay, 0ms),
        transform 1000ms ease var(--stage-delay, 0ms),
        filter 280ms ease;
}

#main-content .gal-partners .gal-partners__grid img:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.04);
}

/* Swiper marquee for the About Us partner logos. */
#main-content .gal-partners .gal-partners__grid.is-swiper {
    display: block;
    overflow: visible;
}

#main-content .gal-partners .gal-partners__swiper-row {
    width: 100%;
    margin-bottom: var(--partners-swiper-row-gap);
    overflow-x: clip;
    overflow-y: visible;
}

#main-content .gal-partners .gal-partners__swiper-row:last-child {
    margin-bottom: 0;
}

#main-content .gal-partners .gal-partners__swiper-row .swiper-wrapper {
    align-items: center;
    transition-timing-function: ease-in-out !important;
}

#main-content .gal-partners .gal-partners__swiper-row .swiper-slide {
    height: auto;
}

@media (min-width: 75rem) and (max-width: 100rem) {
    #main-content .gal-partners .gal-partners__grid {
        padding-top: 2rem;
    }

    #main-content .gal-partners .gal-partners__swiper-row {
        margin-bottom: 2rem;
    }
}

/* Keep About Us certifications and partner descriptions at the requested size. */
#main-content .gal-certifications > div > p,
#main-content .gal-partners > p {
    font-size: 18px;
}

/* Keep the initially active Principles accordion paragraph visible. */
#main-content .gal-about-accordion__item:has(button[aria-expanded="true"]) .gal-about-accordion__panel p {
    opacity: 1;
    clip-path: inset(0);
    filter: none;
    transform: none;
}

#main-content .gal-about-accordion__panel p,
#main-content .gal-values dd {
    font-size: 18px;
}

#main-content .gal-values dt {
    font-size: 24px;
}

@media (max-width: 1600px) {
    #main-content .gal-values dt {
        font-size: 20px;
    }

    #main-content .gal-about-accordion__panel p,
    #main-content .gal-values dd {
        font-size: 16px;
    }
}

#main-content section h2:not(article h2) {
    font-size: 46px !important;
}

#main-content .gal-careers-professional-card--spotlight .gal-careers-professional-card__body p {
    font-size: 1.125rem;
}

@media (max-width: 1600px) {
    #main-content section h2:not(article h2) {
        font-size: 36px !important;
        margin: 0 0 1.2rem;
    }
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 10.125rem;
    padding: 0 1.375rem 1.25rem;
    border-bottom: 1px solid var(--color-accent);
    background: linear-gradient(to left, #090e1c, #090e1c);
    align-content: end;
    justify-items: stretch;
    text-align: left;
    isolation: isolate;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgb(9 14 28 / 96%) 0%, rgb(9 14 28 / 0%) 60.00000238418579%, rgb(0 26 65 / 86%) 100%);
    content: "";
    pointer-events: none;
    transition: opacity 500ms ease;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__image::after {
    display: none;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__image img:not([src*="logo"]) {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    opacity: 0.5;
    transform: scale(1.001);
    transition: opacity 500ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__image img[src*="logo"] {
    display: block;
    width: 48%;
    height: 100%;
    margin-inline: auto;
    aspect-ratio: auto;
    object-fit: contain;
    opacity: 0.85;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__meta,
body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card h3 {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    justify-content: flex-start;
    text-align: left;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__meta {
    grid-row: 1;
    margin: 0;
    opacity: 1;
    transform: none;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card h3 {
    grid-row: 2;
    max-width: none;
    margin: 0.25rem 0 0;
    font-size: 1.25rem;
    line-height: 1.15;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card h3 a {
    color: inherit;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card:hover h3 a {
    color: #fff;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__meta time::before {
    content: none;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card .gal-news-card__meta span::after {
    display: inline-block;
    width: 0.3125rem;
    height: 0.3125rem;
    margin-left: 0.75rem;
    background: currentColor;
    content: "";
    vertical-align: 0.2rem;
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card:hover .gal-news-card__image img:not([src*="logo"]),
body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card:focus-within .gal-news-card__image img:not([src*="logo"]) {
    opacity: 0.62;
    transform: scale(1.035);
}

body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card:hover::before,
body.page-template-page-event-detail #main-content .gal-event-detail__related .gal-media-card:focus-within::before {
    opacity: 0.9;
}

@media (max-width: 1060px) {
    #main-content section h2:not(article h2) {
        font-size: 30px !important;
    }
}

#main-content section.gal-partner h2,
#main-content section.gal-aljeer-cta h2,
#main-content section.gal-elite-cta h2 {
    font-size: 40px !important;
}

@media (max-width: 1600px) {
    #main-content section.gal-partner h2,
    #main-content section.gal-aljeer-cta h2,
    #main-content section.gal-elite-cta h2 {
        font-size: 30px !important;
    }
}

@media (max-width: 1060px) {
    body.home #main-content .gal-capabilities .gal-capability-card__media {
        display: grid;
        height: auto;
        grid-template-rows: var(--gal-capability-media-height) auto;
    }

    body.home #main-content .gal-capabilities .gal-capability-card__media > .gal-focus-frame__clip {
        grid-row: 1;
        height: var(--gal-capability-media-height);
    }

    body.home #main-content .gal-capabilities .gal-capability-card__media::after {
        bottom: auto;
        height: calc(var(--gal-capability-media-height) + 0.75rem);
    }

    body.home #main-content .gal-capabilities .gal-capability-card__overlay {
        bottom: auto;
        height: var(--gal-capability-media-height);
    }

    body.home #main-content .gal-capabilities .gal-capability-card:is(:hover, :focus-visible) .gal-capability-card__overlay {
        transform: none;
    }

    body.home #main-content .gal-capabilities .gal-capability-card__copy {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        grid-row: 2;
        height: auto;
        margin-top: 1rem;
        overflow: visible;
        opacity: 1;
        transform: none;
    }
}

/* Cancel the touch-only copy reveal supplied by the remote homepage plugin stylesheet. */
@media (hover: none) and (min-width: 1061px) {
    body.home #main-content .gal-capabilities .gal-capability-card:not(:focus-visible) .gal-capability-card__copy {
        opacity: 0;
        transform: translate3d(0, -0.375rem, 0);
    }
}

/* Match the MRO logistics watermark scale and placement to the capability design. */
@media (min-width: 64rem) {
    html body.page-template-page-capabilities #main-content #mro-sustainment > .gal-capability-detail:nth-of-type(2) .gal-capability-detail__watermark {
        background-position: calc(50% - 31rem) center !important;
        background-size: 56rem auto !important;
    }
}

@media (min-width: 64rem) and (max-width: 1600px) {
    html body.page-template-page-capabilities #main-content #mro-sustainment > .gal-capability-detail:nth-of-type(2) .gal-capability-detail__watermark {
        background-position: calc(50% - 20vw) center !important;
        background-size: min(56rem, 50vw) auto !important;
    }
}

/* Match the Our Programs cards' default and hover states to the design. */
html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid img {
    filter: brightness(0) invert(1);
    transition: filter 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:is(:hover, :focus-within) img {
    filter: none;
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid .gal-careers-programs__cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.5rem);
    transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 650ms;
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:is(:hover, :focus-within) .gal-careers-programs__cta {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* transform: translateY(0); */
    transition-delay: 0s;
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid h3,
html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid p {
    transition-duration: 650ms;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fade the card fill and move its copy on the compositor during hover. */
html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:has(.gal-careers-paths__link) {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(10, 16, 31, 0.08), rgba(13, 33, 70, 0.72));
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:has(.gal-careers-paths__link)::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(180deg, #090e1c 0%, rgba(9, 14, 28, 0.3) 60%, #001a41 100%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:has(.gal-careers-paths__link):is(:hover, :focus-within) {
    background: linear-gradient(180deg, rgba(10, 16, 31, 0.08), rgba(13, 33, 70, 0.72));
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:has(.gal-careers-paths__link):is(:hover, :focus-within)::before {
    opacity: 1;
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid .gal-careers-paths__link {
    position: relative;
    z-index: 1;
}

@media (min-width: 48rem) {
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article {
        --gal-programs-copy-lift: 5rem;
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid .gal-careers-paths__link {
        padding-bottom: 0;
        transition: padding-bottom 650ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid p {
        transition-property: transform;
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:is(:hover, :focus-within) :is(h3, p) {
        top: -8px;
        transform: none;
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:is(:hover, :focus-within) .gal-careers-paths__link {
        padding-bottom: 4.25rem;
    }
}

@media (min-width: 48rem) and (max-width: 1600px) {
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article {
        --gal-programs-copy-lift: 4rem;
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid .gal-careers-paths__link {
        padding-bottom: 0;
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs__grid article:is(:hover, :focus-within) .gal-careers-paths__link {
        padding-bottom: 2.8rem;
    }
}

/* Give Find Your Path the same gradual card and content reveal. */
html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article:has(.gal-careers-paths__link) {
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, rgba(9, 14, 28, 0) 55%, rgba(0, 30, 76, 0.52) 100%);
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article:has(.gal-careers-paths__link)::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(180deg, #090e1c 0%, rgba(9, 14, 28, 0.3) 60%, #001a41 100%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article:has(.gal-careers-paths__link):is(:hover, :focus-within) {
    background: linear-gradient(180deg, rgba(9, 14, 28, 0) 55%, rgba(0, 30, 76, 0.52) 100%);
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article:has(.gal-careers-paths__link):is(:hover, :focus-within)::before {
    opacity: 1;
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid .gal-careers-paths__link {
    position: relative;
    z-index: 1;
}

html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid img {
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 48rem) {
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article {
        transition: min-height 650ms cubic-bezier(0.22, 1, 0.36, 1), border-color 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid .gal-careers-paths__cta {
        transition: height 650ms cubic-bezier(0.22, 1, 0.36, 1), margin-top 650ms cubic-bezier(0.22, 1, 0.36, 1), padding 650ms cubic-bezier(0.22, 1, 0.36, 1), border-color 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 650ms;
    }

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article:is(:hover, :focus-within) .gal-careers-paths__cta {
        transition-delay: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article,
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid article::before,
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid img,
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-paths__grid .gal-careers-paths__cta {
        transition: none;
    }
}

/* Keep the existing scroll reveal while adding zoom timing to otherwise static images. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    #main-content img.gal-stage-image:not(:where(
        .gal-capability-card img,
        .gal-news-card img,
        .gal-why__media img,
        .gal-capability-detail__media img,
        .gal-social__gallery img,
        .gal-national-pillars img,
        .gal-national-talent__gallery img,
        .gal-partners__grid img,
        .gal-about-split__media img,
        .gal-about-principles__media img,
        .gal-about-team .gal-focus-frame img,
        .gal-certification img,
        .gal-careers-students-practice__media img,
        .gal-careers-professional-card img,
        .gal-aljeer-intro__media img,
        .gal-elite-intro__media img,
        .gal-elite-education__media img,
        .gal-careers-emiratisation__media img,
        .gal-careers-split__media img,
        .gal-careers-programs__grid img,
        .gal-careers-paths__grid img,
        .gal-careers-offer__grid img,
        .gal-careers-veterans-program img
    )) {
        transition:
            opacity 800ms cubic-bezier(0.16, 1, 0.3, 1) var(--stage-delay, 0ms),
            transform 1150ms cubic-bezier(0.16, 1, 0.3, 1) var(--stage-delay, 0ms),
            filter 950ms cubic-bezier(0.16, 1, 0.3, 1) var(--stage-delay, 0ms),
            clip-path 1150ms cubic-bezier(0.16, 1, 0.3, 1) var(--stage-delay, 0ms),
            scale 700ms cubic-bezier(0.22, 1, 0.36, 1);
    }
}

.gal-careers--al-jeer .gal-aljeer-difference__grid article {
    background: transparent var(--gal-aljeer-card-image) center / cover no-repeat;
}

.gal-careers--al-jeer .gal-aljeer-difference__grid article::after {
    content: none;
}

/* Suppress only focus outlines throughout the rendered site. */
.wp-site-blocks:is(:focus, :focus-visible, :focus-within),
.wp-site-blocks :is(:focus, :focus-visible, :focus-within) {
    outline: none !important;
}

@media (max-width: 1600px) {
    .gal-careers--veterans .gal-careers-veterans-features article {
        min-height: 14rem;
        padding: 2rem 1.5rem;
    }

    .gal-careers--veterans .gal-careers-veterans-features p {
        font-size: 14px;
        line-height: 1.3;
    }

    .gal-careers--veterans .gal-careers-veterans-features h3 {
        font-size: 20px;
    }

    .gal-careers--veterans .gal-careers-veterans-program {
        min-height: 14rem;
    }

    .gal-careers--veterans .gal-careers-veterans-next__copy p {
        font-size: 14px;
    }

    .gal-careers--veterans .gal-careers-veterans-next__copy .button {
        width: 16rem;
        min-height: 2.925rem;
    }

    .gal-careers--veterans .gal-careers-veterans-program .button {
        width: 12rem;
        min-height: 2.5rem;
    }

    .gal-careers--veterans .gal-careers-veterans-intro::before {
        width: min(66.1875rem, 50vw);
        top: 1rem;
        right: -3rem;
    }


    body.page-template-page-careers-students-early-careers .gal-careers-students-features article,
    body.page-template-page-careers-experienced-professionals .gal-careers-professionals-features article {
        min-height: 14rem;
        padding: 2rem 1.5rem;
    }

    body.page-template-page-careers-students-early-careers .gal-careers-students-features h3,
    body.page-template-page-careers-experienced-professionals .gal-careers-professionals-features h3 {
        font-size: 20px;
    }

    body.page-template-page-careers-students-early-careers .gal-careers-students-features p,
    body.page-template-page-careers-experienced-professionals .gal-careers-professionals-features p {
        font-size: 14px;
        line-height: 1.3;
    }

    .gal-careers-professionals-intro__blueprint {
        width: min(76rem, 55vw);
    }

    .gal-careers-professionals-features {
        margin-top: 2rem;
    }
}

@media (min-width: 48rem) and (max-width: 1600px) {
    html body.page-template-page-careers-students-early-careers #main-content .gal-careers-students-intro__features-title {
        margin-top: clamp(9rem, 10vw, 10rem) !important;
    }
}

@media (min-width: 64rem) and (max-width: 1600px) {
    html body.page-template-page-careers-experienced-professionals #main-content .gal-careers-professionals-intro__features-title {
        margin-top: clamp(9rem, 10vw, 10rem) !important;
    }
}

/* Directional entrance for existing two-column image/content layouts only. */
@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) {
    #main-content .gal-side-entry-ready:not(.gal-side-entry-visible):not(.is-camera-zoom-ready),
    #main-content .sequence-section .gal-stage-item.gal-stage-on-entry.gal-side-entry-ready:not(.gal-side-entry-visible):not(.is-camera-zoom-ready) {
        opacity: 0;
        translate: var(--gal-side-entry-x) 0;
        transition: opacity 900ms ease-out, translate 1100ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    #main-content .gal-side-entry-ready.gal-side-entry-visible:not(.is-camera-zoom-ready),
    #main-content .sequence-section .gal-stage-item.gal-stage-on-entry.gal-side-entry-ready.gal-side-entry-visible:not(.is-camera-zoom-ready) {
        opacity: 1;
        translate: 0 0;
        transition: opacity 900ms ease-out, translate 1100ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Preserve the homepage Why section's existing scroll-controlled opacity. */
    #main-content .gal-why .gal-why__content.gal-side-entry-ready {
        opacity: var(--why-content-opacity, 1);
    }

    #main-content .gal-side-entry-ready.is-camera-zoom-ready:not(.gal-side-entry-visible),
    #main-content .sequence-section .gal-stage-item.gal-stage-on-entry.gal-side-entry-ready.is-camera-zoom-ready:not(.gal-side-entry-visible) {
        opacity: 0;
        transform: translate3d(var(--gal-side-entry-x), 0, 0);
        transition: opacity 900ms ease-out, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    #main-content .gal-side-entry-ready.is-camera-zoom-ready.gal-side-entry-visible,
    #main-content .sequence-section .gal-stage-item.gal-stage-on-entry.gal-side-entry-ready.is-camera-zoom-ready.gal-side-entry-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition: opacity 900ms ease-out, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
    }
}

/* Keep the Homepage Why line glow styled like About Overview. */
html body #main-content .gal-circuit--why.is-animated .gal-circuit__glow {
    filter: drop-shadow(0 0 0.04rem rgba(211, 186, 89, 0.72)) !important;
    animation-duration: 8000ms !important;
}

/* Keep section title-to-description spacing consistent on MacBook-sized viewports. */
@media (max-width: 1600px) {
    html body #main-content section:not(.gal-page-banner) h2:has(+ p):not(article h2) {
        margin-block-end: clamp(0.75rem, 1.25vw, 1.5rem) !important;
    }

    html body #main-content section:not(.gal-page-banner) h2:has(+ p):not(article h2) + p {
        margin-block-start: 0 !important;
    }
}

/* Keep text in page banners visible without reveal animations. */
#main-content :is(.gal-page-banner, .gal-careers-hero, .gal-hero) :is(
    .gal-heading-reveal,
    .gal-heading-reveal__line,
    .gal-text-reveal,
    :is(p, li).paragraph-scroll-reveal
) {
    opacity: 1;
    clip-path: none;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
    will-change: auto;
}

#main-content :is(.gal-page-banner, .gal-careers-hero, .gal-hero) .gal-heading-reveal__mask {
    overflow: visible;
}

@media (max-width: 1600px) {
    html body.page-template-page-careers-benefits-growth #main-content .gal-careers-offer__grid > article h3 {
        font-size: 1.45rem;
    }
}

@media (max-width: 1600px) {
   P,li {
        font-size: 16px !important;
    }
    .gal-sustainment__message p {
        font-size: 25px !important;
    }
}

@media (max-width: 1060px) {
    html body .wp-site-blocks :is(p, li) {
        font-size: 14px !important;
    }
    html body .wp-site-blocks .gal-national-leadership blockquote p{
        font-size: 20px !important;
    }
    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs .gal-careers-programs__grid .gal-careers-programs__cta{
        position: relative;
    }
    html body.page-template-page-careers-students-early-careers #main-content .gal-careers-students-intro__features-title{
        margin-top: clamp(6rem, 10vw, 8rem) !important; 
    }
    body.page-template-page-careers-students-early-careers .gal-careers-students-features article, body.page-template-page-careers-experienced-professionals .gal-careers-professionals-features article{
        min-height: 10rem;
    }
}

#main-content section.gal-stats {
    padding-block: 0 !important;
    padding-block-end: var(--home-section-edge-space) !important;
}

@media (max-width: 1024px) {
    body.home #main-content .gal-capabilities__cards.swiper .gal-capability-card.swiper-slide {
        display: grid;
    }

    body.home #main-content .gal-capabilities .gal-capability-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
    }

    body.home #main-content .gal-capabilities .gal-capability-card__media {
        display: contents;
    }

    body.home #main-content .gal-capabilities .gal-capability-card__media > .gal-focus-frame__clip {
        grid-column: 1;
        grid-row: 1;
        height: var(--gal-capability-media-height);
    }

    body.home #main-content .gal-capabilities .gal-capability-card__media::after {
        grid-column: 1;
        grid-row: 1;
    }

    body.home #main-content .gal-capabilities .gal-capability-card strong {
        grid-column: 1;
        grid-row: 2;
    }

    body.home #main-content .gal-capabilities .gal-capability-card__copy {
        grid-column: 1;
        grid-row: 3;
        margin-top: 0.75rem;
    }
}

@media (max-width: 1023px) {
    body.home #main-content .gal-news__grid.swiper {
        display: block;
        overflow: hidden;
        width: calc(100% + 0.75rem);
        margin-inline: -0.375rem;
        padding: 0.375rem;
    }

    body.home #main-content .gal-news__grid.swiper .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news-card.swiper-slide {
        height: auto;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls {
        position: absolute;
        z-index: 3;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls[hidden] {
        display: none;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls .gal-capabilities__arrow {
        width: 40px;
        min-width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: rgba(9, 14, 28, 0.82);
        pointer-events: auto;
    }
}

@media (min-width: 1024px) {
    body.home #main-content .gal-news__grid.swiper {
        display: block;
        overflow: hidden;
        width: calc(100% + 0.75rem);
        margin-inline: -0.375rem;
        padding: 0.375rem;
    }

    body.home #main-content .gal-news__grid.swiper .swiper-wrapper {
        display: flex;
        gap: 0;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news-card.swiper-slide {
        height: auto;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls {
        position: absolute;
        z-index: 3;
        top: 0;
        right: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls[hidden] {
        display: none;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls .gal-capabilities__arrow {
        width: 40px;
        min-width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: rgba(9, 14, 28, 0.82);
        pointer-events: auto;
    }
}

@media (max-width: 1199px) {
    body.home #main-content .gal-capabilities__cards.swiper .gal-capabilities__controls {
        top: 50%;
        right: 0;
        left: 0;
        justify-content: space-between;
        gap: 0;
        transform: translateY(-50%);
        pointer-events: none;
    }

    body.home #main-content .gal-capabilities__cards.swiper .gal-capabilities__arrow {
        width: 40px;
        min-width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: rgba(9, 14, 28, 0.82);
        pointer-events: auto;
    }
}

@media (max-width: 1600px) {
    body.home #main-content .gal-news .gal-news-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    body.home #main-content .gal-news .gal-news-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    body #main-content.gal-capabilities-page .gal-capabilities-intro {
        padding-block: 5rem 3.1875rem;
    }

    body #main-content.gal-capabilities-page .gal-capability-detail {
        padding-block: 3rem;
    }

    body #main-content.gal-capabilities-page .gal-capability-detail__media {
        order: 0;
        grid-row: 1;
    }

    body #main-content.gal-capabilities-page .gal-capability-detail__content {
        order: 1;
        grid-row: 2;
    }

    body #main-content.gal-capabilities-page #mro-sustainment > .gal-capability-features,
    body #main-content.gal-capabilities-page #engineering-modifications > .gal-capability-features {
        padding-block: 3rem 0;
    }

    body #main-content.gal-capabilities-page #mro-sustainment > .gal-capability-features .gal-capability-features__intro,
    body #main-content.gal-capabilities-page #engineering-modifications > .gal-capability-features .gal-capability-features__intro {
        max-width: 36rem;
        margin-bottom: 2.5rem;
    }

    body #main-content.gal-capabilities-page #mro-sustainment > .gal-capability-features article,
    body #main-content.gal-capabilities-page #engineering-modifications > .gal-capability-features article {
        padding: 1rem 1.4rem;
    }

    body #main-content.gal-capabilities-page .gal-capability-features__grid article {
        padding-block: 20px;
    }

    body #main-content.gal-capabilities-page .gal-capabilities-view:not(#specialized-augmentation) > .gal-partner {
        margin-top: 0;
    }

    body #main-content.gal-capabilities-page .gal-capabilities-tabs {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap;
        margin-right: calc(-1 * var(--layout-gutter));
        margin-bottom: 1rem;
        padding-right: var(--layout-gutter);
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: #ba9a39 rgba(255, 255, 255, 0.16);
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    body #main-content.gal-capabilities-page .gal-capabilities-tabs::-webkit-scrollbar {
        display: block !important;
        height: 4px !important;
        background: rgba(255, 255, 255, 0.16);
    }

    body #main-content.gal-capabilities-page .gal-capabilities-tabs::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.16);
    }

    body #main-content.gal-capabilities-page .gal-capabilities-tabs::-webkit-scrollbar-thumb {
        background: #ba9a39 !important;
        border-radius: 999px;
    }

    body #main-content.gal-capabilities-page .gal-capabilities-tabs .button {
        min-width: 10rem;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    body.page-template-page-about-us #main-content .gal-about-partner {
        min-height: 22rem;
        padding-block: 2rem;
    }
    #mro-sustainment > .gal-capability-features article p, #engineering-modifications > .gal-capability-features article p{
        margin-bottom: 0;
    }
    #mro-sustainment > .gal-capability-features article, #engineering-modifications > .gal-capability-features article{
        min-height: 9rem;
    }
    body.page-template-page-about-us #main-content .gal-partners .gal-partners__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-template-page-about-us #main-content .gal-partners__controls {
        position: relative;
        top: auto;
        right: auto;
        justify-content: flex-end;
        margin-block: 0.75rem 0.5rem;
    }

    body.page-template-page-about-us #main-content #overview > .gal-about-split:first-of-type {
        padding-top: 3rem;
    }

    body.page-template-page-about-us #main-content .gal-about-split {
        padding-top: 2.5rem;
        padding-bottom: 6.5rem;
    }

    body.home #main-content .gal-news .gal-news-card h3 {
        font-size: 20px;
    }

    body.home #main-content .gal-partner {
        min-height: 28rem;
        padding-block: 2rem;
    }

    body.home #main-content .gal-partner__actions {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    body.home #main-content .gal-news {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    body.home #main-content .gal-news > .gal-section-heading {
        display: contents;
    }

    body.home #main-content .gal-news > .gal-section-heading > h2 {
        grid-column: 1;
        grid-row: 1;
    }

    body.home #main-content .gal-news > .gal-news__grid {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
        width: 100%;
    }

    body.home #main-content .gal-news > .gal-section-heading > .button {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        margin-top: var(--space-5);
    }
}

@media (max-width: 47.9375rem) {
    body #main-content.gal-capabilities-page .gal-capability-detail {
        gap: 1.3rem;
        padding-block: 1rem;
        padding-bottom: 2rem !important;
    }

    body.home #main-content .gal-partner {
        min-height: 22rem;
    }
}

@media (max-width: 500px) {
    body.page-template-page-about-us #main-content .gal-about-partner {
        min-height: 20rem;
        padding-block: 1.25rem;
    }

    body.page-template-page-about-us #main-content #overview > .gal-about-split:first-of-type {
        padding-top: 4rem;
    }

    body.page-template-page-about-us #main-content .gal-about-split {
        padding-block: 1rem;
    }

    body.home #main-content .gal-capabilities__cards.swiper .gal-capabilities__arrow {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }

    body.home #main-content .gal-news__grid.swiper .gal-news__controls .gal-capabilities__arrow {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }

    body.home #main-content .gal-news .gal-news-card h3 {
        font-size: 20px;
    }

    body.home #main-content .gal-partner {
        min-height: 16rem;
        padding-block: 1.25rem;
    }
    body #main-content.gal-capabilities-page .gal-capabilities-intro{
        padding-block: 3rem 3.1875rem;
    }
}

@media (max-width: 400px) {
    body.page-template-page-about-us #main-content .gal-partners .gal-partners__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.page-template-page-national-champion #main-content .gal-national-foundations {
        padding-block: 3rem 2rem;
    }

    body.page-template-page-national-champion #main-content .gal-national-pillars {
        padding-block: 0 3rem;
    }

    body.page-template-page-national-champion #main-content .gal-national-foundations__grid article {
        padding: 2rem var(--layout-gutter);
        min-height: auto;
    }

    body.page-template-page-national-champion #main-content .gal-national-pillars article {
        display: flex;
        flex-direction: column;
    }

    body.page-template-page-national-champion #main-content .gal-national-pillars h2 {
        order: 0;
        position: static;
        margin: 0 0 1rem;
    }

    body.page-template-page-national-champion #main-content .gal-national-pillars figure {
        order: 1;
        margin: 0;
    }

    body.page-template-page-national-champion #main-content .gal-national-pillars__description {
        position: static;
        order: 2;
        height: auto;
        overflow: visible;
        margin-top: 1rem;
        opacity: 1;
        visibility: visible !important;
        transform: none;
    }
}

@media (max-width: 47.9375rem) {
    body.page-template-page-about-us #main-content .gal-about-accordion__item button {
        min-height: 2.5rem;
        font-size:25px;
    }
}

@media (max-width: 700px) {
    body.page-template-page-about-us #main-content .gal-about-principles {
        padding-bottom: 1.5rem;
    }

    body.page-template-page-about-us #main-content .gal-certifications {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    body.page-template-page-about-us #main-content .gal-partners {
        padding-top: 2rem;
    }
}

@media (max-width: 63.9375rem) {
    body.page-template-page-about-us #main-content .gal-certifications {
        gap: 0;
    }

    body.page-template-page-about-us #main-content .gal-certification {
        position: relative;
        isolation: isolate;
        display: flex;
        min-height: clamp(8.5rem, 10.85vw, 13rem);
        align-items: center;
        padding-block: 1rem;
        border-block: 1px solid rgba(255, 255, 255, 0.18);
        gap: clamp(1rem, 3vw, 2.5rem);
        justify-content: center;
        transition: border-color 320ms ease, background 320ms ease;
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    body.page-template-page-about-us #main-content .gal-about-principles {
        padding-bottom: 1rem;
    }

    body.page-template-page-about-us #main-content .gal-certifications {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }

    body.page-template-page-about-us #main-content .gal-partners {
        padding-top: 1.5rem;
        padding-bottom: 0;
    }
    .gal-partner {
        min-height: 25rem;
        margin-top: 0 !important;
    }
}
@media (max-width: 1060px) {
#main-content section h2:not(article h2){
    margin: 0 0 3rem;
}

    html body.page-template-page-careers-build-your-career-emiratisation #main-content .gal-careers-programs .gal-careers-programs__grid .gal-careers-programs__cta {
        display: inline-flex;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
}
@media (max-width: 992px) {
    .gal-why .gal-why__media,
    .gal-about-split .gal-about-split__media,
    .gal-capability-detail .gal-capability-detail__media,
    .gal-careers-opportunity .gal-careers-opportunity__media,
    .gal-careers-split .gal-careers-split__media,
    .gal-careers-uae .gal-careers-uae__media {
        order: 0;
    }

    .gal-why .gal-why__content,
    .gal-about-split .gal-about-split__content,
    .gal-capability-detail .gal-capability-detail__content,
    .gal-careers-opportunity .gal-careers-opportunity__copy,
    .gal-careers-split .gal-careers-split__copy,
    .gal-careers-uae .gal-careers-uae__copy {
        order: 1;
    }
    #main-content section h2:not(article h2){
        font-size: 25px !important;
    }
    html body #main-content section:not(.gal-page-banner) h2:has(+ p):not(article h2){
        margin-block-end: clamp(1.75rem, 1.25vw, 1.5rem) !important;
    }
}

@media (max-width: 767px) {
    #main-content :is(header, section):has(+ section) {
        margin-block-end: 0;
    }

    #main-content :is(header, section) + section {
        margin-block-start: 50px;
    }


    .wp-site-blocks > #main-content {
        margin-block-end: 0;
    }

    body .wp-site-blocks > #main-content > section:last-child,
    body .wp-site-blocks > #main-content > .gal-about-view:not([hidden]) > section:last-child,
    body .wp-site-blocks > #main-content > .gal-capabilities-view:not([hidden]) > section:last-child {
        margin-block-end: 0;
        padding-block-end: 0;
    }

    body .wp-site-blocks > #main-content + .gal-footer {
        margin-block-start: 0;
        padding-block-start:80px;
    }
}

@media (max-width: 1060px) {
    body.page-template-page-event-detail #main-content .gal-event-detail__lead {
        display: block;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__main {
        display: contents;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__image img {
        aspect-ratio: 1.46 / 1;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__intro {
        margin-top: 2.5rem;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__body {
        padding-top: 3.5rem;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__facts {
        display: flex;
        position: static;
        margin-bottom: 1rem;
        padding-top: 20px;
        gap: 1rem;
        flex-wrap: wrap;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__facts p {
        min-height: 0;
        padding-block: 0.25rem;
        border: 0;
    }
}

@media (max-width: 767px) {
    P, li {
        font-size: 15px !important;
    }
    body.page-template-page-event-detail #main-content .gal-event-detail__breadcrumbs ol {
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: auto;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__breadcrumbs li {
        min-width: auto;
        white-space: nowrap;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__facts {
        padding-top: 20px;
    }

    body.page-template-page-event-detail #main-content .gal-event-detail__breadcrumbs {
        margin-bottom: 2rem;
    }
    .gal-careers--veterans .gal-careers-veterans-features article{
        min-height: auto;
    }

    html body #main-content .gal-supplier-registration.gal-dynamic-section .gal-supplier-registration__blueprint {
        background-image: none !important;
    }
    #main-content section.gal-partner h2,
    #main-content section.gal-aljeer-cta h2,
    #main-content section.gal-elite-cta h2 {
        font-size: 26px !important;
    }
    #main-content section h2:not(article h2) {
        margin: 0 0 2rem;
    }
    html body #main-content section:not(.gal-page-banner) h2:has(+ p):not(article h2){
        margin-block-end: clamp(1rem, 1.25vw, 1.5rem) !important;
    }
    html body.page-template-page-careers #main-content .gal-careers-opportunity__copy > .button {
        width: 13rem;
        height: 3rem;
    }
}

/* Keep page banner titles visible without entrance or reveal animation. */
#main-content :is(.gal-page-banner, .gal-careers-hero, .gal-hero) .gal-page-banner__title {
    opacity: 1;
    clip-path: none;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
    will-change: auto;
}

/* Keep banner tabs static while preserving transitions on the tab links. */
#main-content :is(.gal-page-banner, .gal-careers-hero, .gal-hero) .gal-page-banner__tabs {
    opacity: 1;
    clip-path: none;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
    will-change: auto;
}

/* Keep reveal-based content readable until the page scripts initialize. */
html:not(.gal-text-motion) #main-content :is(
    .gal-reveal,
    .gal-heading-reveal__line,
    .gal-heading-reveal:not(.is-split),
    .gal-text-reveal,
    :is(p, li).paragraph-scroll-reveal,
    .gal-stage-item,
    .gal-stage-image
) {
    opacity: 1;
    clip-path: none;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;


}
@media (hover: hover) and (pointer: fine) {
    html body.page-template-page-national-champion #main-content .gal-national-pillars article:is(:focus, :focus-visible, :focus-within, :active):not(:hover) img {
        filter: none !important;
        transform: none !important;
    }

    html body.page-template-page-national-champion #main-content .gal-national-pillars article:is(:focus, :focus-visible, :focus-within, :active):not(:hover) .gal-national-pillars__description {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translate3d(0, 0.375rem, 0) !important;
    }
}
