/* SecurityTalent Editorial Design System 1.1.0 */
:root {
  --st-ink-950: #062c36;
  --st-teal-800: #075e63;
  --st-teal-650: #087f86;
  --st-coral-650: #c74625;
  --st-aqua-300: #78dbd6;
  --st-gold-500: #d5a93f;
  --st-cloud-50: #f7f6f1;
  --st-white: #fff;
  --st-slate-700: #294b54;
  --st-mist-200: #d7e3e1;
  --st-mist-100: #edf3f1;
  --st-radius-sm: 12px;
  --st-radius-md: 18px;
  --st-radius-lg: 24px;
  --st-shadow-soft: 0 12px 34px rgba(6, 44, 54, .08);
  --st-shadow-lift: 0 20px 46px rgba(6, 44, 54, .14);
  --st-motion: 180ms cubic-bezier(.2, .7, .2, 1);
  --st-navy-950: var(--st-ink-950);
  --st-navy-900: var(--st-teal-800);
  --st-blue-700: var(--st-teal-650);
  --st-blue-600: var(--st-teal-650);
  --st-cyan-500: #13999d;
  --st-orange-500: var(--st-coral-650);
  --st-gold: var(--st-gold-500);
  --st-sage: var(--st-mist-100);
  --st-sand: #f1f4f1;
  --st-ivory: var(--st-cloud-50);
  --st-ink: var(--st-ink-950);
  --st-muted: #587078;
  --st-line: var(--st-mist-200);
  --st-surface: var(--st-white);
  --st-canvas: var(--st-cloud-50);
}

html { color-scheme: light; }

body.st-design-system,
body.st-design-system .body-wrapper,
body.st-design-system #sp-main-body {
  color: var(--st-slate-700) !important;
  background: var(--st-cloud-50) !important;
  font-family: Inter, "Noto Sans Arabic", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.st-design-system h1,
body.st-design-system h2,
body.st-design-system h3,
body.st-design-system h4,
body.st-design-system h5,
body.st-design-system h6 {
  color: var(--st-ink-950);
  font-family: Manrope, Sora, Inter, "Noto Sans Arabic", sans-serif;
  font-weight: 800;
  letter-spacing: -.025em;
  text-wrap: balance;
}

html[dir="rtl"] body.st-design-system h1,
html[dir="rtl"] body.st-design-system h2,
html[dir="rtl"] body.st-design-system h3,
html[dir="rtl"] body.st-design-system h4 {
  font-family: "Noto Kufi Arabic", "Noto Sans Arabic", Manrope, sans-serif;
  letter-spacing: 0;
}

body.st-design-system p { text-wrap: pretty; }

body.st-design-system a {
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

body.st-design-system :focus-visible {
  outline: 3px solid rgba(8, 127, 134, .32);
  outline-offset: 3px;
}

body.st-design-system #sp-header {
  background: var(--st-ink-950) !important;
  border-bottom-color: rgba(213, 169, 63, .72) !important;
  box-shadow: 0 10px 28px rgba(6, 44, 54, .14) !important;
}

body.st-design-system .btn,
body.st-design-system button,
body.st-design-system input[type="submit"],
body.st-design-system .es-button,
body.st-design-system .o-btn {
  border-radius: var(--st-radius-sm);
  transition: color var(--st-motion), background-color var(--st-motion), border-color var(--st-motion), transform var(--st-motion), box-shadow var(--st-motion);
}

body.st-design-system .btn-primary,
body.st-design-system .button-primary,
body.st-design-system input[type="submit"],
body.st-design-system .es-button--primary,
body.st-design-system .o-btn--primary {
  border-color: var(--st-teal-650) !important;
  background: var(--st-teal-650) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(8, 127, 134, .2) !important;
}

body.st-design-system .btn-primary:hover,
body.st-design-system .button-primary:hover,
body.st-design-system input[type="submit"]:hover,
body.st-design-system .es-button--primary:hover,
body.st-design-system .o-btn--primary:hover {
  transform: translateY(-2px);
  border-color: var(--st-ink-950) !important;
  background: var(--st-ink-950) !important;
  box-shadow: var(--st-shadow-soft) !important;
}

body.st-design-system .card,
body.st-design-system .well,
body.st-design-system .panel,
body.st-design-system .es-card,
body.st-design-system .eb-card,
body.st-design-system .ed-card,
body.st-design-system .o-card,
body.st-design-system .t-card {
  border-color: var(--st-mist-200) !important;
  border-radius: var(--st-radius-md) !important;
  background: var(--st-white) !important;
  box-shadow: 0 8px 24px rgba(6, 44, 54, .06) !important;
}

body.st-design-system img[data-st-editorial-image="1"] {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  border: 1px solid rgba(215, 227, 225, .92);
  border-radius: var(--st-radius-md);
  background: var(--st-mist-100);
  box-shadow: var(--st-shadow-soft);
  object-fit: cover;
  object-position: center;
}

body.st-design-system .item-page .item-image,
body.st-design-system .com-content-article .item-image,
body.st-design-system .eb-entry-featured-image,
body.st-design-system .eb-post-image {
  overflow: hidden;
  border-radius: var(--st-radius-md);
}

body.st-design-system .item-page .item-image img[data-st-editorial-image="1"],
body.st-design-system .com-content-article .item-image img[data-st-editorial-image="1"],
body.st-design-system .eb-entry-featured-image img[data-st-editorial-image="1"],
body.st-design-system .eb-post-image img[data-st-editorial-image="1"] {
  aspect-ratio: 16 / 9;
}

/* Live home-page discovery surface */
.st-fresh-content {
  position: relative;
  width: 100%;
  padding: clamp(64px, 8vw, 112px) 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 5%, rgba(120, 219, 214, .16), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--st-cloud-50) 100%);
}

.st-fresh-content::before {
  position: absolute;
  top: 0;
  right: max(22px, calc((100% - 1320px) / 2));
  left: max(22px, calc((100% - 1320px) / 2));
  height: 1px;
  background: var(--st-mist-200);
  content: "";
}

.st-fresh-content__shell {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin-inline: auto;
}

.st-fresh-content__heading {
  display: grid;
  max-width: 880px;
  margin-bottom: clamp(28px, 4vw, 50px);
  gap: 10px;
}

.st-fresh-content__eyebrow,
.st-fresh-feed__heading p {
  margin: 0;
  color: var(--st-teal-650);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.st-fresh-content__heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
  line-height: 1.02;
}

.st-fresh-content__heading > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #587078;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.65;
}

.st-fresh-content__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.st-fresh-feed {
  --st-feed-accent: var(--st-teal-650);
  display: flex;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--st-mist-200);
  border-top: 5px solid var(--st-feed-accent);
  border-radius: var(--st-radius-lg);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--st-shadow-soft);
  flex-direction: column;
}

.st-fresh-feed--jobs { --st-feed-accent: var(--st-coral-650); }
.st-fresh-feed--study { --st-feed-accent: var(--st-gold-500); }

.st-fresh-feed__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.st-fresh-feed__heading h3 {
  margin: 5px 0 0;
  font-size: clamp(1.3rem, 2vw, 1.72rem);
  line-height: 1.12;
}

.st-fresh-feed__heading > a {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--st-feed-accent);
  font-size: .8rem;
  font-weight: 850;
  text-decoration: none;
}

.st-fresh-feed__heading > a:hover { text-decoration: underline; }

.st-fresh-feed__description {
  min-height: 4.5em;
  margin: 14px 0 20px;
  color: #5a7078;
  font-size: .91rem;
  line-height: 1.55;
}

.st-fresh-feed__items {
  display: grid;
  gap: 12px;
}

.st-fresh-card {
  display: flex;
  min-height: 224px;
  padding: 17px;
  border: 1px solid var(--st-mist-200);
  border-radius: var(--st-radius-md);
  background: #fff;
  flex-direction: column;
  transition: transform var(--st-motion), border-color var(--st-motion), box-shadow var(--st-motion);
}

.st-fresh-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--st-feed-accent) 52%, var(--st-mist-200));
  box-shadow: 0 14px 30px rgba(6, 44, 54, .1);
}

.st-fresh-card__meta {
  display: flex;
  margin: 0 0 10px;
  gap: 7px;
  flex-wrap: wrap;
}

.st-fresh-card__meta span {
  display: inline-flex;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--st-mist-100);
  color: var(--st-slate-700);
  align-items: center;
  font-size: .72rem;
  font-weight: 760;
}

.st-fresh-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.st-fresh-card h3 a {
  color: var(--st-ink-950);
  text-decoration: none;
}

.st-fresh-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.st-fresh-card { position: relative; }

.st-fresh-card__summary {
  display: -webkit-box;
  margin: 10px 0 16px;
  overflow: hidden;
  color: #587078;
  font-size: .84rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.st-fresh-card__footer {
  display: flex;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--st-mist-200);
  color: #6a8086;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
}

.st-fresh-card__footer > a {
  position: relative;
  z-index: 1;
  color: var(--st-feed-accent);
  font-weight: 850;
  text-decoration: none;
}

/* News cards receive a real image even when an EasyBlog media record is absent
   or points to a file that was not included in the site archive. */
body.st-design-system .st-news-story-card__image[data-st-fallback="1"] {
  position: relative;
  background: var(--st-ink-950);
}

body.st-design-system .st-news-story-card__image[data-st-fallback="1"]::after {
  position: absolute;
  inset: auto 12px 12px auto;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(6, 44, 54, .72);
  color: #fff;
  content: "SecurityTalent";
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  pointer-events: none;
}

body.st-design-system .st-news-story-card__image img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.st-design-system .st-news-story-card,
body.st-design-system .st-news-static-article,
body.st-design-system .st-news-hub-intro {
  border-color: var(--st-mist-200) !important;
  border-radius: var(--st-radius-lg) !important;
  box-shadow: var(--st-shadow-soft) !important;
}

body.st-design-system #sp-bottom,
body.st-design-system #sp-footer,
body.st-design-system .st-footer {
  background: var(--st-ink-950) !important;
}

html[dir="rtl"] .st-fresh-content,
html[dir="rtl"] .st-fresh-feed,
html[dir="rtl"] .st-fresh-card { text-align: right; }

html[dir="rtl"] .st-fresh-card__footer span[aria-hidden="true"],
html[dir="rtl"] .st-fresh-feed__heading span[aria-hidden="true"] {
  display: inline-block;
  transform: scaleX(-1);
}

@media (max-width: 1199.98px) {
  .st-fresh-content__grid { grid-template-columns: 1fr; }
  .st-fresh-feed__description { min-height: 0; }
  .st-fresh-feed__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .st-fresh-content { padding: 54px 14px; }
  .st-fresh-content__heading h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .st-fresh-feed { padding: 18px; border-radius: 20px; }
  .st-fresh-feed__heading { align-items: flex-start; flex-direction: column; }
  .st-fresh-feed__items { grid-template-columns: 1fr; }
  .st-fresh-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.st-design-system *,
  body.st-design-system *::before,
  body.st-design-system *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
