/* EAF production visual override, isolated release v7.
   Activated explicitly from /ar/templates/shaper_finance/index.php.
*/

:root {
  --eaf-ink: #07111f;
  --eaf-ink-soft: #101b2d;
  --eaf-white: #ffffff;
  --eaf-line: rgba(255, 255, 255, 0.14);
  --eaf-muted: #aeb9c8;
  --eaf-red: #d71920;
  --eaf-gold: #ffd23f;
  --eaf-blue: #123b63;
}

body.site.rtl {
  background: var(--eaf-white);
  color: var(--eaf-ink);
  font-family: Cairo, "El Messiri", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

body.site.rtl a,
body.site.rtl button,
body.site.rtl input {
  font-family: inherit;
}

#sp-top-bar {
  position: relative;
  min-height: 40px;
  background: var(--eaf-ink);
  color: var(--eaf-white);
  border: 0;
  overflow: hidden;
  z-index: 40;
}

#sp-top-bar::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 34%;
  height: 4px;
  background: var(--eaf-red);
}

#sp-top-bar .container {
  max-width: 1320px;
  min-height: 40px;
}

.eaf-stage-topbar {
  min-height: 40px;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--eaf-white);
  font-size: 12px;
  font-weight: 700;
}

.eaf-stage-topbar__meta,
.eaf-stage-topbar__links {
  display: inline-flex;
  direction: rtl;
  align-items: center;
  gap: 12px;
}

.eaf-stage-topbar a {
  color: var(--eaf-white);
  text-decoration: none;
}

.eaf-stage-topbar__handle {
  color: var(--eaf-gold);
}

#sp-logo-wrapper {
  background: var(--eaf-white);
  border: 0;
  padding: 11px 0 10px;
  box-shadow: none;
}

#sp-logo-wrapper .container {
  max-width: 1320px;
}

#sp-logo-wrapper .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
}

#sp-logo {
  flex: 0 1 auto;
  max-width: none;
}

#sp-logo-right {
  display: none !important;
}

#sp-logo .logo {
  display: flex;
  align-items: center;
  height: auto;
  line-height: 1;
}

#sp-logo .logo a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  text-decoration: none;
}

#sp-logo .logo img {
  width: 84px;
  max-width: 84px;
  height: auto;
}

#sp-logo .logo a::after {
  content: "الاتحاد المصري لألعاب القوى\A EGYPTIAN ATHLETICS FEDERATION";
  white-space: pre;
  color: var(--eaf-ink);
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

#sp-logo .logo a::before {
  content: none;
}

#sp-header,
#sp-header.menu-fixed {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  background: var(--eaf-white) !important;
  box-shadow: none;
  border-top: 1px solid #eff2f5;
  z-index: 35;
}

#sp-header .container {
  max-width: 1320px;
}

#sp-header .row {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}

#sp-menu {
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
  order: 2;
}

#sp-search {
  flex: 0 0 56px;
  max-width: 56px;
  min-height: 64px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
}

#sp-search .sp-column,
#sp-search .sp-module,
#sp-search .sp-module-content,
#sp-search .search,
#sp-search form {
  width: 44px;
  height: 44px;
}

#sp-search form {
  position: relative;
  margin: 0;
}

#sp-search form::before {
  content: "";
  position: absolute;
  top: 10px;
  right: auto;
  left: 11px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--eaf-ink);
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 10;
}

#sp-search form::after {
  content: "" !important;
  position: absolute;
  top: 25px !important;
  right: auto !important;
  bottom: auto !important;
  left: 25px !important;
  width: 8px;
  height: 2px;
  background: var(--eaf-ink);
  border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 10;
}

#sp-search .search-query {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #f3f6f9;
  color: transparent;
  caret-color: var(--eaf-ink);
  cursor: pointer;
  transition: width .24s ease, box-shadow .24s ease, color .24s ease;
}

#sp-search .search-query::placeholder {
  color: transparent;
}

#sp-search .search-query:focus {
  position: absolute;
  inset-inline-start: 0;
  width: min(280px, 78vw);
  color: var(--eaf-ink);
  padding-inline: 46px 14px;
  box-shadow: 0 14px 30px rgba(7, 17, 31, .13);
  cursor: text;
  z-index: 8;
}

#sp-search .search-query:focus::placeholder {
  color: #718096;
}

.sp-megamenu-parent {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
}

.sp-megamenu-parent > li {
  float: none;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 0 14px;
  color: var(--eaf-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.sp-megamenu-parent > li > a::before,
.sp-megamenu-parent > li > span::before {
  inset-inline-start: 14px;
  inset-inline-end: 14px;
  inset-block-end: 0;
  width: auto;
  height: 3px;
  background: var(--eaf-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.current-item > a,
.sp-megamenu-parent > li:hover > a {
  color: var(--eaf-red);
}

.sp-megamenu-parent > li.active > a::before,
.sp-megamenu-parent > li.current-item > a::before,
.sp-megamenu-parent > li:hover > a::before {
  transform: scaleX(1);
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  overflow: hidden;
  border: 1px solid rgba(7, 17, 31, .08);
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(7, 17, 31, .18);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span {
  font-weight: 700;
}

#offcanvas-toggler {
  height: 48px;
  width: 48px;
  border-radius: 10px;
  background: #f3f6f9;
  display: none;
  align-items: center;
  justify-content: center;
}

.eaf-news-stage {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  background:
    linear-gradient(110deg, rgba(215, 25, 32, .22), transparent 28%),
    linear-gradient(145deg, #1d1627 0%, var(--eaf-ink) 46%, #08182a 100%);
  color: var(--eaf-white);
  overflow: hidden;
}

.eaf-news-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .05) 58% 62%, transparent 62%),
    linear-gradient(115deg, transparent 0 70%, rgba(255, 255, 255, .035) 70% 76%, transparent 76%);
}

.eaf-news-stage__inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 620px;
  margin: 0 auto;
  padding: 54px 0 42px;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(420px, 1fr) minmax(310px, 380px);
  grid-template-areas: "rail media copy";
  gap: 18px;
  direction: ltr;
  align-items: center;
}

.eaf-news-stage__rail,
.eaf-news-stage__media,
.eaf-news-stage__copy {
  direction: rtl;
}

.eaf-news-stage__rail {
  grid-area: rail;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.eaf-news-stage__all {
  align-self: flex-start;
  color: var(--eaf-white);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .75);
  padding-bottom: 8px;
}

.eaf-news-stage__cards {
  display: grid;
  gap: 10px;
}

.eaf-news-card {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr 92px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, .05);
  color: var(--eaf-white);
  text-align: right;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.eaf-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .42);
}

.eaf-news-card.is-active {
  background: var(--eaf-white);
  color: var(--eaf-ink);
  border-color: var(--eaf-white);
  box-shadow: inset 0 -3px 0 var(--eaf-red);
}

.eaf-news-card__kicker {
  color: var(--eaf-gold);
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
}

.eaf-news-card.is-active .eaf-news-card__kicker {
  color: var(--eaf-red);
}

.eaf-news-card__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.eaf-news-card__thumb {
  position: relative;
  aspect-ratio: 1.25 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .09);
}

.eaf-news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eaf-news-card__number {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 0;
  min-width: 30px;
  padding: 3px 5px;
  background: rgba(7, 17, 31, .86);
  color: var(--eaf-white);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.eaf-news-stage__media {
  grid-area: media;
  align-self: center;
  margin: 0;
}

.eaf-news-stage__imageLink {
  position: relative;
  display: block;
  min-height: 470px;
  border-inline-end: 7px solid var(--eaf-red);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  background: #162033;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .33);
}

.eaf-news-stage__imageLink img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  max-height: 570px;
  object-fit: contain;
  display: block;
}

.eaf-news-stage__badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  border-radius: 999px;
  background: var(--eaf-red);
  color: var(--eaf-white);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
}

.eaf-news-stage__copy {
  grid-area: copy;
  align-self: center;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
  border-inline-end: 4px solid var(--eaf-red);
  background: rgba(24, 27, 45, .72);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .08);
}

.eaf-news-stage__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  color: var(--eaf-gold);
  font-size: 13px;
  font-weight: 900;
}

.eaf-news-stage__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--eaf-red);
}

.eaf-news-stage__sectionTitle {
  margin: 0 0 34px;
  color: var(--eaf-white);
  font-size: 64px;
  line-height: 1.1;
  font-weight: 900;
}

.eaf-news-stage__headline {
  margin: 0 0 26px;
  color: var(--eaf-white);
  display: -webkit-box;
  overflow: hidden;
  font-size: 42px;
  line-height: 1.32;
  font-weight: 900;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.eaf-news-stage__counter {
  margin: 0 0 28px;
  color: var(--eaf-white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.eaf-news-stage__counter b {
  color: var(--eaf-red);
  padding-inline: 6px;
}

.eaf-news-stage__category {
  margin-bottom: 14px;
  color: var(--eaf-gold);
  font-size: 14px;
  font-weight: 900;
}

.eaf-news-stage__excerpt {
  color: #cdd7e4;
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.eaf-news-stage__read {
  margin-top: 24px;
  color: var(--eaf-gold);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.eaf-news-stage__controls {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.eaf-news-stage__arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: transparent;
  color: var(--eaf-white);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.eaf-news-stage__arrow:hover {
  border-color: var(--eaf-white);
  background: rgba(255, 255, 255, .08);
}

/* Hide the old hero only after its replacement has mounted successfully. */
#section-id-1735780434112.eaf-original-hero-hidden {
  display: none !important;
}

html[data-eaf-homepage="true"] #sp-main-body {
  padding-top: 0;
}

#sp-page-builder .sppb-addon-title,
#sp-page-builder .sppb-title-heading {
  color: #7b1917;
  font-family: "El Messiri", Cairo, Tahoma, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

#sp-page-builder .sppb-img-responsive,
#sp-page-builder .sppb-addon-image-layout-wrap {
  border-radius: 8px;
}

/* Partner organizations: compact, even and responsive. */
#section-id-1731626120282 {
  margin: 0 !important;
  padding: 30px 0 28px !important;
  background: #f6f8fb;
  border-block: 1px solid #e6eaf0;
}

#section-id-1731626120282 > .sppb-row-container {
  width: min(calc(100% - 32px), 1320px);
  max-width: 1320px;
  margin-inline: auto;
  padding: 0;
}

#section-id-1731626120282 > .sppb-row-container > .sppb-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  margin: 0;
}

#section-id-1731626120282 .sppb-col-md-2 {
  width: 100%;
  max-width: none;
  padding: 0;
}

#section-id-1731626120282 .sppb-addon-wrapper {
  min-height: 0;
  margin: 0 !important;
}

#section-id-1731626120282 .sppb-addon-single-image-container {
  width: min(100%, 148px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--eaf-white);
  border: 1px solid #d9dee6;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(7, 17, 31, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#section-id-1731626120282 .sppb-addon-single-image-container:hover {
  transform: translateY(-3px);
  border-color: #bac3cf;
  box-shadow: 0 12px 28px rgba(7, 17, 31, .1);
}

#section-id-1731626120282 .sppb-addon-single-image-container > a {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

#section-id-1731626120282 .sppb-img-responsive {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
}

#sp-footer {
  background: var(--eaf-ink);
  color: rgba(255, 255, 255, .72);
  padding: 0 !important;
  border-block-start: 3px solid var(--eaf-red);
}

#sp-footer > .container {
  max-width: 1320px;
  padding-inline: 12px;
}

#sp-footer > .container > .row {
  min-height: 72px;
  display: flex;
  align-items: center;
  margin-inline: -12px;
}

#sp-footer1,
#sp-footer2 {
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  padding-inline: 12px;
}

#sp-footer1 .sp-column {
  min-height: 72px;
  display: flex;
  align-items: center;
}

#sp-footer .sp-copyright {
  display: block;
  direction: ltr;
  unicode-bidi: isolate;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}

#sp-footer .sp-copyright strong {
  color: var(--eaf-white);
}

#sp-footer2 .page-content,
#sp-footer2 .sppb-section,
#sp-footer2 .sppb-container-inner,
#sp-footer2 .sppb-row,
#sp-footer2 .sppb-column,
#sp-footer2 .sppb-column-addons,
#sp-footer2 .sppb-addon-wrapper {
  min-height: 0;
  height: auto;
}

#sp-footer2 .sppb-container-inner,
#sp-footer2 .sppb-row,
#sp-footer2 .sppb-column,
#sp-footer2 .sppb-column-addons,
#sp-footer2 .sppb-addon-wrapper {
  width: 100%;
}

#sp-footer2 .sppb-row {
  margin: 0 !important;
}

#sp-footer2 .sppb-icons-group-list {
  min-height: 72px;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

#sp-footer2 .sppb-icons-group-list li {
  display: block !important;
  margin: 0 !important;
}

#sp-footer2 .sppb-icons-group-list li a {
  width: 38px;
  height: 38px;
  padding: 0 !important;
  display: grid !important;
  place-items: center;
  color: var(--eaf-white);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

#sp-footer2 .sppb-icons-group-list li a:hover {
  color: var(--eaf-white);
  background: var(--eaf-red);
  border-color: var(--eaf-red);
  transform: translateY(-2px);
}

/* Joomla search route: never inherit the home news stage. */
body.com-search .eaf-news-stage {
  display: none !important;
}

body.com-search #sp-main-body {
  padding: 46px 0 72px !important;
  background: #f4f7fa;
}

body.com-search #sp-main-body > .container {
  width: min(calc(100% - 32px), 1160px);
  max-width: 1160px;
  padding: 0;
}

body.com-search #sp-main-body > .container > .row {
  margin: 0;
}

body.com-search #sp-component {
  width: 100%;
  max-width: none;
  padding: 0;
}

body.com-search #sp-component > .sp-column > .search {
  margin: 0;
  color: var(--eaf-ink);
  font-size: 16px;
  line-height: 1.75;
}

body.com-search #sp-component > .sp-column > .search::before {
  content: "نتائج البحث";
  display: block;
  margin-bottom: 20px;
  color: var(--eaf-ink);
  font-family: "El Messiri", Cairo, Tahoma, Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
}

body.com-search #searchForm {
  margin: 0 0 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  background: var(--eaf-white);
  border: 1px solid #dfe5ec;
  border-block-start: 4px solid var(--eaf-red);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 17, 31, .06);
}

body.com-search #searchForm .btn-toolbar {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 !important;
  display: flex;
  direction: rtl;
  align-items: stretch;
  gap: 10px;
}

body.com-search #searchForm .btn-group {
  float: none !important;
  margin: 0 !important;
  display: flex;
}

body.com-search #searchForm .btn-group:first-of-type {
  flex: 1 1 auto;
  min-width: 0;
}

body.com-search #searchForm label.element-invisible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.com-search #search-searchword {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 9px 14px;
  color: var(--eaf-ink);
  background: #f8fafc;
  border: 1px solid #cfd7e2;
  border-radius: 6px;
  box-shadow: none;
  font-size: 16px;
}

body.com-search #search-searchword:focus {
  background: var(--eaf-white);
  border-color: var(--eaf-blue);
  box-shadow: 0 0 0 3px rgba(18, 59, 99, .12);
  outline: 0;
}

body.com-search #searchForm button[name="Search"] {
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--eaf-white);
  background: var(--eaf-red);
  border: 1px solid var(--eaf-red);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

body.com-search #searchForm button[name="Search"]:hover,
body.com-search #searchForm button[name="Search"]:focus {
  color: var(--eaf-white);
  background: #b91319;
  border-color: #b91319;
}

body.com-search #searchForm button[name="Search"] .icon-search {
  display: none;
}

body.com-search #searchForm .searchintro,
body.com-search #searchForm .form-limit {
  margin: 0;
}

body.com-search #searchForm .searchintro p {
  margin: 0;
}

body.com-search #searchForm .searchintro strong {
  font-size: 16px;
  font-weight: 800;
}

body.com-search #searchForm .badge-info {
  min-width: 28px;
  padding: 4px 8px;
  color: var(--eaf-white);
  background: var(--eaf-red);
  border-radius: 4px;
}

body.com-search #searchForm .form-limit {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

body.com-search #searchForm .form-limit label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

body.com-search #searchForm #limit {
  width: 92px;
  min-height: 42px;
  padding-block: 6px;
  border-color: #cfd7e2;
  border-radius: 6px;
}

body.com-search #searchForm .counter,
body.com-search #searchForm .clearfix {
  display: none;
}

body.com-search .search-results {
  margin: 0;
  padding: 0;
}

body.com-search .search-results .result-title {
  margin: 16px 0 0;
  padding: 20px 22px 7px;
  color: var(--eaf-muted);
  background: var(--eaf-white);
  border: 1px solid #dfe5ec;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

body.com-search .search-results .result-title:first-child {
  margin-top: 0;
}

body.com-search .search-results .result-title a {
  color: #0d579a;
  font-size: 19px;
  font-weight: 900;
  text-decoration: none;
}

body.com-search .search-results .result-title a:hover {
  color: var(--eaf-red);
  text-decoration: underline;
}

body.com-search .search-results .result-category {
  margin: 0;
  padding: 0 22px 6px;
  color: var(--eaf-red);
  background: var(--eaf-white);
  border-inline: 1px solid #dfe5ec;
  font-size: 13px;
  font-weight: 800;
}

body.com-search .search-results .result-text {
  margin: 0;
  padding: 0 22px 20px;
  display: -webkit-box;
  overflow: hidden;
  color: #526174;
  background: var(--eaf-white);
  border: 1px solid #dfe5ec;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  font-size: 15px;
  line-height: 1.9;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.com-search .search-results .highlight {
  padding: 1px 4px;
  color: #4b3700;
  background: #ffe690;
  border-radius: 3px;
  font-weight: 800;
}

body.com-search #sp-component .pagination {
  margin-top: 24px;
  justify-content: center;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .eaf-news-stage__inner {
    grid-template-columns: minmax(250px, 310px) minmax(390px, 1fr) minmax(300px, 340px);
    padding-block: 42px 36px;
  }

  .eaf-news-stage__copy {
    min-height: 500px;
    padding: 32px 28px;
  }

  .eaf-news-stage__sectionTitle {
    margin-bottom: 20px;
    font-size: 48px;
  }

  .eaf-news-stage__counter {
    margin-bottom: 18px;
  }

  .eaf-news-stage__headline {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.28;
    -webkit-line-clamp: 4;
  }

  .eaf-news-stage__excerpt {
    line-height: 1.75;
  }

  .eaf-news-stage__read {
    margin-top: 18px;
  }

  .eaf-news-stage__controls {
    margin-top: 22px;
  }
}

@media (max-width: 1199px) {
  .eaf-news-stage__inner {
    grid-template-columns: minmax(230px, 300px) 1fr;
    grid-template-areas:
      "copy copy"
      "rail media";
    align-items: stretch;
  }

  .eaf-news-stage__copy {
    min-height: auto;
  }

  .eaf-news-stage__sectionTitle {
    font-size: 54px;
  }

  .eaf-news-stage__imageLink,
  .eaf-news-stage__imageLink img {
    min-height: 390px;
  }
}

@media (max-width: 991px) {
  #sp-logo-wrapper {
    padding: 10px 0;
  }

  #sp-logo-wrapper .row,
  #sp-header .row {
    gap: 12px;
  }

  #sp-logo .logo a::after {
    font-size: 16px;
  }

  .sp-megamenu-parent {
    display: none !important;
  }

  #offcanvas-toggler {
    display: inline-flex;
  }

  #sp-menu {
    flex: 0 0 56px;
    max-width: 56px;
    order: 2;
  }

  #sp-search {
    margin-inline-start: auto;
  }

  #section-id-1731626120282 > .sppb-row-container > .sppb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eaf-news-stage__inner {
    width: min(100% - 28px, 720px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "rail";
    min-height: auto;
    padding: 34px 0;
  }

  .eaf-news-stage__copy {
    padding: 30px 24px;
    border-inline-end-width: 3px;
  }

  .eaf-news-stage__headline {
    font-size: 32px;
  }

  .eaf-news-stage__sectionTitle {
    font-size: 44px;
  }

  .eaf-news-stage__imageLink,
  .eaf-news-stage__imageLink img {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  body.com-search #sp-main-body {
    padding: 32px 0 52px !important;
  }

  body.com-search #sp-component > .sp-column > .search::before {
    margin-bottom: 16px;
    font-size: 27px;
  }

  body.com-search #searchForm {
    padding: 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.com-search #searchForm .btn-toolbar {
    flex-direction: column;
  }

  body.com-search #searchForm .btn-group,
  body.com-search #searchForm button[name="Search"] {
    width: 100%;
  }

  body.com-search #searchForm .form-limit {
    justify-content: space-between;
  }

  body.com-search .search-results .result-title {
    padding: 17px 17px 6px;
  }

  body.com-search .search-results .result-title a {
    font-size: 17px;
  }

  body.com-search .search-results .result-category {
    padding-inline: 17px;
  }

  body.com-search .search-results .result-text {
    padding: 0 17px 17px;
  }

  #sp-footer > .container > .row {
    padding-block: 16px;
    gap: 12px;
  }

  #sp-footer1,
  #sp-footer2 {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  #sp-footer1 .sp-column,
  #sp-footer2 .sppb-icons-group-list {
    min-height: 0;
    justify-content: center;
  }

  #sp-footer .sp-copyright {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575px) {
  #sp-top-bar::before {
    width: 58%;
  }

  .eaf-stage-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 9px 0;
    line-height: 1.6;
  }

  #sp-logo .logo img {
    width: 72px;
  }

  #sp-logo .logo a::after {
    max-width: 210px;
    font-size: 13px;
  }

  #sp-logo .logo a::before {
    display: none;
  }

  #section-id-1731626120282 {
    padding-block: 24px !important;
  }

  #section-id-1731626120282 > .sppb-row-container > .sppb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #section-id-1731626120282 .sppb-addon-single-image-container {
    width: min(100%, 132px);
  }

  .eaf-news-stage__headline {
    font-size: 28px;
  }

  .eaf-news-stage__sectionTitle {
    font-size: 36px;
  }

  .eaf-news-stage__imageLink,
  .eaf-news-stage__imageLink img {
    min-height: 300px;
  }

  .eaf-news-card {
    grid-template-columns: 1fr 82px;
    min-height: 98px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eaf-news-card,
  #sp-search .search-query,
  .sp-megamenu-parent > li > a::before,
  .sp-megamenu-parent > li > span::before {
    scroll-behavior: auto;
    transition: none;
  }
}

/* Helix puts .offcanvas on body; Bootstrap 5 uses it for hidden panels. */
body.site.off-canvas-menu-init.offcanvas {
  display: block !important;
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  min-height: 100vh;
  max-height: none !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  z-index: auto !important;
}

body.site.off-canvas-menu-init.offcanvas > .body-wrapper {
  right: 0 !important;
  left: 0 !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  transition: none !important;
}

body.site.off-canvas-menu-init > .offcanvas-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(7, 17, 31, .28);
  z-index: 9998 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
  transition: opacity .25s ease, visibility .25s ease;
}

body.site.off-canvas-menu-init.offcanvas > .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.site.off-canvas-menu-init > .offcanvas-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(320px, calc(100vw - 64px));
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #20252d;
  box-shadow: -8px 0 28px rgba(7, 17, 31, .18);
  z-index: 10000 !important;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%) !important;
  transition: transform .25s ease, visibility .25s ease;
}

body.site.off-canvas-menu-init.offcanvas > .offcanvas-menu {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) !important;
}

body.site.off-canvas-menu-init > .offcanvas-menu > .close-offcanvas {
  top: 12px;
  right: auto;
  left: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  body.site.off-canvas-menu-init > .offcanvas-overlay,
  body.site.off-canvas-menu-init > .offcanvas-menu {
    transition: none;
  }
}
