:root {
  --ies-navy: #1a6fb5;
  --ies-navy-deep: #0d3d66;
  --ies-navy-mid: #155a94;
  --ies-sky: #4a9fd8;
  --ies-gold: #c4a35a;
  --ies-gold-soft: #e8dfd2;
  --ies-sand: #f4f7fa;
  --ink: #1c2b3a;
  --muted: #5c6b7a;
  --line: #e4ebf2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(13, 61, 102, 0.18);
  --header: 72px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner,
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 42px;
  flex: none;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ies-navy-deep);
}

.brand-text span {
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a,
.nav summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ies-navy-deep);
  cursor: pointer;
  list-style: none;
}

.nav summary::-webkit-details-marker {
  display: none;
}

.nav a:hover,
.nav summary:hover,
.nav a.is-active {
  background: #eef5fb;
}

.nav .btn-login {
  background: #e8f3fb;
  color: var(--ies-navy);
}

.menu {
  position: relative;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 240px;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.menu-panel a {
  display: flex;
  width: 100%;
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(74, 159, 216, 0.35), transparent 42%),
    linear-gradient(165deg, #0c3a62 0%, #1a6fb5 48%, #0e4d86 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23ffffff' stroke-opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-art {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(46vw, 560px);
  height: 78%;
  pointer-events: none;
  opacity: 0.95;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0 1.5rem;
  text-align: center;
  flex: 1;
}

.emblem {
  width: 108px;
  height: auto;
  margin-bottom: 1.1rem;
}

.countdown {
  margin: 1.4rem auto 0;
  max-width: 34rem;
  padding: 1rem 1rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.countdown-grid div {
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  padding: 0.55rem 0.2rem;
  border-radius: 12px;
  background: rgba(8, 32, 54, 0.28);
}

.countdown-grid strong {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-grid span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.countdown.is-open .countdown-grid {
  display: none;
}

.countdown.is-open .countdown-label {
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.2;
}

.hero .lead {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.glass {
  margin: 1.6rem auto 0;
  max-width: 34rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.note {
  margin: 1.15rem 0 0;
  font-weight: 700;
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 1.2rem;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: #1f8a4c;
  color: white;
}

.btn-primary:hover {
  background: #18753f;
}

.btn-navy {
  background: var(--ies-navy);
  color: white;
  width: 100%;
}

.btn-navy:hover {
  background: var(--ies-navy-mid);
}

.btn-ghost {
  background: transparent;
  color: var(--ies-navy);
  border: 1px solid #c9dced;
}

.shortcuts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.shortcut {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(8, 30, 50, 0.18);
}

.shortcut strong {
  display: block;
  font-size: 0.98rem;
}

.shortcut span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.shortcut .chev {
  margin-left: auto;
  opacity: 0.8;
}

.page {
  padding: 2.5rem 0 4rem;
  background: var(--ies-sand);
  min-height: calc(100vh - var(--header) - 180px);
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(26, 111, 181, 0.06);
  padding: 1.5rem;
}

.page-title {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
  color: var(--ies-navy-deep);
}

.lede {
  margin: 0 0 1.4rem;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 460px;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d5e1ec;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hint {
  font-size: 0.82rem;
  color: var(--muted);
}

.legal h2 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--ies-navy-deep);
}

.legal p {
  margin: 0 0 0.7rem;
  color: #334455;
}

.grid-courses {
  display: grid;
  gap: 0.9rem;
}

.course {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
}

.course small {
  color: var(--ies-navy);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.contest {
  display: grid;
  gap: 1.25rem;
}

.contest-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.contest-summary div {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: white;
  border: 1px solid var(--line);
}

.contest-summary span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contest-summary strong {
  font-size: 1.15rem;
  color: var(--ies-navy-deep);
}

.contest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.contest-column {
  display: grid;
  gap: 1rem;
}

.contest-card h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ies-navy-deep);
}

.contest-card > .hint {
  margin: 0.25rem 0 1rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
}

.fact-grid div {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: var(--ies-sand);
}

.fact-grid dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.fact-grid dd {
  margin: 0.2rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ies-navy-deep);
}

.contest-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.6rem 1rem;
  text-align: center;
  border: 1px dashed #c9dced;
  border-radius: 12px;
  background: #f8fbfe;
}

.contest-empty strong {
  color: var(--ies-navy-deep);
}

.contest-empty p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.vacancies-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.vacancy-total {
  display: grid;
  justify-items: end;
  margin: 0;
  line-height: 1;
}

.vacancy-total strong {
  font-size: 1.6rem;
  color: var(--ies-navy);
}

.vacancy-total span {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.vacancy-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.vacancy-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.vacancy-list span {
  color: var(--ink);
}

.vacancy-list strong {
  min-width: 2rem;
  text-align: right;
  color: var(--ies-navy-deep);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  vertical-align: top;
}

th {
  background: #eef5fb;
  color: var(--ies-navy-deep);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  background: var(--ies-navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 1.6rem 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 12px;
  background: #fff;
}

.footer-logo img {
  display: block;
  width: min(300px, 72vw);
  height: auto;
}

.footer-copy {
  display: grid;
  gap: 0.35rem;
  flex: 0 1 24rem;
  width: min(100%, 24rem);
  max-width: 24rem;
  margin-left: auto;
  text-align: justify;
  hyphens: auto;
}

.footer-copy p {
  margin: 0;
  text-align: justify;
}

.footer-copy .footer-links {
  text-align: left;
}

.footer-inner a:hover {
  color: white;
}

.toast {
  display: none;
  margin-top: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #e8f6ee;
  color: #146c39;
  font-size: 0.9rem;
}

.toast.is-error {
  background: #fdecec;
  color: #8d2430;
}

.modal {
  width: min(460px, calc(100% - 2rem));
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.modal::backdrop {
  background: rgba(8, 28, 48, 0.58);
  backdrop-filter: blur(7px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  max-width: none;
  padding: 1.7rem 1.5rem 1.45rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 38%);
  box-shadow: 0 28px 80px rgba(8, 28, 48, 0.32);
  border-top: 5px solid var(--ies-gold);
}

.modal-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(160deg, #1a6fb5, #0d3d66);
  color: white;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 24px rgba(13, 61, 102, 0.22);
}

.modal-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ies-navy);
}

.modal-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ies-navy-deep);
}

.modal-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #e8f2fa;
  color: var(--ies-navy-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: #d7e8f6;
}

.modal-card .btn {
  width: 100%;
  margin-top: 0.2rem;
}

.modal-card .toast {
  margin-top: 0.15rem;
  background: #f3f8fc;
  color: var(--ies-navy-deep);
  border: 1px solid #d5e4f2;
}

.auth-body {
  background: white;
}

.split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(380px, 0.95fr);
}

.split-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 2.8rem 2rem;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.1), transparent 26%),
    radial-gradient(circle at 12% 80%, rgba(196, 163, 90, 0.22), transparent 32%),
    linear-gradient(165deg, #0c3a62 0%, #1a6fb5 52%, #0e4d86 100%);
}

.split-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23ffffff' stroke-opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.split-lockup,
.split-story,
.split-foot {
  position: relative;
  z-index: 1;
}

.split-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: white;
}

.split-lockup img {
  width: 46px;
  height: 54px;
  object-fit: contain;
}

.split-lockup strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.split-lockup span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.split-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ies-gold-soft);
}

.split-story h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.split-story p {
  margin: 1rem 0 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
}

.split-points {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.split-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.split-points i {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
}

.split-foot {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.split-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem clamp(1.4rem, 5vw, 4.2rem);
  background: white;
}

.split-form {
  width: min(440px, 100%);
}

.split-form .form {
  max-width: none;
}

.split-form h1 {
  margin: 0;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--ies-navy-deep);
}

.split-form .lede {
  margin: 0.45rem 0 1.4rem;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.field-label-row a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ies-navy);
}

.field-label-row a:hover {
  text-decoration: underline;
}

.split-form input:focus,
.split-form select:focus {
  outline: 3px solid rgba(26, 111, 181, 0.16);
  border-color: var(--ies-navy);
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
}

.auth-check input {
  width: 1.05rem;
  min-width: 1.05rem;
  min-height: 1.05rem;
  margin-top: 0.15rem;
}

.auth-switch {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.auth-switch a {
  font-weight: 700;
  color: var(--ies-navy-deep);
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-back {
  display: inline-flex;
  margin-bottom: 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ies-navy);
}

.auth-back:hover {
  text-decoration: underline;
}

[data-step="request"] {
  display: grid;
  gap: 0.85rem;
}

.field-label-row + input {
  margin-top: 0.35rem;
}

.auth-sent {
  display: grid;
  gap: 0.75rem;
}

.auth-sent[hidden],
[data-step="request"][hidden] {
  display: none;
}

.auth-sent h1 {
  margin-top: 0.2rem;
}

.contest-filters {
  display: grid;
  grid-template-columns: minmax(200px, 1.6fr) repeat(3, minmax(150px, 0.85fr)) auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.filter-field {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.filter-field span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.contest-filters input,
.contest-filters select {
  min-height: 46px;
  border-color: #d5e1ec;
  background-color: #fbfcfe;
}

.contest-filters select {
  appearance: none;
  padding-right: 2.3rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.2 7 9l4-3.8' stroke='%231a6fb5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}

.contest-filters input:focus,
.contest-filters select:focus {
  outline: 2px solid rgba(26, 111, 181, 0.28);
  outline-offset: 1px;
  border-color: var(--ies-navy);
  background-color: white;
}

.btn-clear,
.btn-despacho {
  background: white;
  color: var(--ies-navy-deep);
  border: 1px solid #d5e1ec;
  white-space: nowrap;
}

.btn-clear:hover,
.btn-despacho:hover {
  background: #eef5fb;
}

.btn-details {
  background: var(--ies-navy);
  color: white;
  min-height: 42px;
  white-space: nowrap;
}

.btn-details:hover {
  background: var(--ies-navy-mid);
}

.contest-count {
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contest-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.contest-item {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem 1.2rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contest-item:hover {
  border-color: #b7d3ea;
  box-shadow: 0 14px 34px rgba(26, 111, 181, 0.1);
}

.contest-item-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contest-item-heading {
  flex: 1;
  min-width: 0;
}

.contest-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 14px;
  background: #e8f3fb;
  color: var(--ies-navy);
}

.contest-item h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  color: var(--ies-navy-deep);
}

.contest-kicker {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.contest-summary-text {
  margin: 0;
  color: #334455;
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contest-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contest-meta li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--ies-sand);
  color: var(--ies-navy-deep);
  font-size: 0.8rem;
  font-weight: 600;
}

.contest-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.contest-seats {
  color: var(--ies-navy);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: #e7f6ee;
  color: #146c39;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill.is-closed {
  background: #fdecec;
  color: #8d2430;
}

.contest-empty-list {
  margin: 0;
}

.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-link {
  color: var(--ies-navy);
  font-weight: 700;
}

.fact-grid .is-wide {
  grid-column: 1 / -1;
}

.fact-grid .is-prose dd {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pager-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.pager button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 0.75rem;
  border: 1px solid #d5e1ec;
  border-radius: 10px;
  background: white;
  color: var(--ies-navy-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.pager button[aria-current="page"] {
  background: var(--ies-navy);
  border-color: var(--ies-navy);
  color: white;
}

.pager button:disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width: 820px) {
  .hero-art {
    opacity: 0.22;
    right: -12%;
    height: 46%;
  }

  .shortcuts {
    grid-template-columns: 1fr;
    margin-bottom: 1.4rem;
  }

  .hero {
    min-height: auto;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split-brand {
    min-height: auto;
    gap: 1.25rem;
    padding: 1.3rem 1.2rem 1.5rem;
  }

  .split-story h1 {
    max-width: none;
    font-size: 1.7rem;
  }

  .split-points,
  .split-foot {
    display: none;
  }

  .split-panel {
    align-items: flex-start;
    padding: 1.6rem 1.2rem 2.4rem;
  }

  .contest-summary {
    grid-template-columns: 1fr 1fr;
  }

  .contest-layout,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .contest-filters {
    grid-template-columns: 1fr;
  }

  .contest-item-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .contest-item-foot .btn-details {
    width: 100%;
  }

  .pager {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.15rem 0 0.55rem;
    background: white;
  }

  .nav.is-open {
    display: flex;
  }

  .menu-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .footer-copy {
    margin-left: 0;
    max-width: none;
  }

  .footer-copy .footer-links {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
