:root {
  --td-navy: #063b5c;
  --td-blue: #0b668f;
  --td-cyan: #2c9fc3;
  --td-ink: #17313f;
  --td-muted: #5b6e78;
  --td-soft: #f2f6f7;
  --td-line: #d7e1e5;
}

html {
  overflow-x: clip;
}

body {
  color: var(--td-ink);
  background: #ffffff;
  overflow-x: clip;
}

.container-header {
  background: var(--td-navy);
  background-image: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 28px rgba(4, 36, 54, 0.2);
}

.container-header .navbar-brand img {
  width: auto;
  height: 58px;
  padding: 6px 8px;
  background: #ffffff;
  border-radius: 3px;
  box-sizing: border-box;
}

.container-header .mod-menu > li > a {
  color: #ffffff;
  font-weight: 700;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li > a:hover {
  color: #71d3ec;
}

.container-header .navbar-toggler {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.site-grid {
  gap: 0;
}

.site-grid > .grid-child.container-component {
  max-width: none;
  padding: 0;
}

.tenders-home {
  font-size: 1rem;
  line-height: 1.65;
}

.tenders-home h1,
.tenders-home h2,
.tenders-home h3 {
  letter-spacing: 0;
}

.tenders-home h1 {
  max-width: 840px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5.5vw, 5.25rem);
  line-height: 1;
}

.tenders-home h2 {
  margin: 0 0 24px;
  color: var(--td-ink);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.tenders-home h3 {
  margin: 0 0 10px;
  color: var(--td-ink);
  font-size: 1.25rem;
}

.td-kicker {
  margin: 0 0 10px;
  color: var(--td-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.td-hero {
  position: relative;
  display: flex;
  width: 100svw;
  min-height: 610px;
  align-items: center;
  overflow: hidden;
  margin-left: calc(50% - 50svw);
  background-color: var(--td-navy);
  background-image: url("/images/slider/szkolenia-1.jpg");
  background-position: center;
  background-size: cover;
}

.td-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(3, 39, 61, 0.78);
}

.td-hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 80px;
}

.td-hero-content > p:not(.td-kicker) {
  max-width: 760px;
  color: #e8f3f7;
  font-size: 1.14rem;
}

.td-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.td-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
}

.td-button-primary {
  color: var(--td-navy);
  background: #ffffff;
}

.td-button-primary:hover {
  color: var(--td-navy);
  background: #dff5fb;
}

.td-button-secondary {
  color: #ffffff;
  background: transparent;
}

.td-button-secondary:hover {
  color: var(--td-navy);
  background: #ffffff;
}

.td-services,
.td-about,
.td-contact {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.td-services {
  padding-block: 82px;
}

.td-section-heading {
  max-width: 690px;
}

.td-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--td-line);
  border-left: 1px solid var(--td-line);
}

.td-service {
  min-height: 270px;
  padding: 30px;
  color: var(--td-muted);
  background: #ffffff;
  border-right: 1px solid var(--td-line);
  border-bottom: 1px solid var(--td-line);
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.td-service:hover {
  color: var(--td-ink);
  background: var(--td-soft);
  transform: translateY(-3px);
}

.td-service > span {
  display: block;
  margin-bottom: 52px;
  color: var(--td-cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.td-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--td-navy);
}

.td-stats > div {
  min-height: 220px;
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.td-stats strong,
.td-stats span {
  display: block;
}

.td-stats strong {
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
}

.td-stats span {
  margin-top: 12px;
  color: #bfe5f0;
  font-weight: 700;
}

.td-about {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 72px;
  padding-block: 90px;
}

.td-owner {
  padding: 30px 30px 22px;
  background: var(--td-soft);
  border-bottom: 6px solid var(--td-cyan);
  text-align: center;
}

.td-owner img {
  width: min(100%, 290px);
  height: auto;
}

.td-owner p {
  margin: 18px 0 0;
}

.td-about > div:last-child > p:not(.td-kicker) {
  color: var(--td-muted);
}

.td-text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--td-blue);
  font-weight: 800;
}

.td-contact {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 72px;
  padding: 46px;
  background: var(--td-soft);
  border-left: 7px solid var(--td-cyan);
}

.td-contact h2 {
  margin-bottom: 0;
}

.td-contact-details {
  display: grid;
  gap: 10px;
}

.td-contact-details a {
  color: var(--td-blue);
  font-size: 1.15rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.container-footer {
  background: var(--td-navy);
  background-image: none;
}

body.site.com_content.view-article:not(.itemid-101)
  .site-grid > .grid-child.container-component {
  width: min(100% - 32px, 1040px);
  max-width: 1040px;
  margin-inline: auto;
  padding-block: 50px 84px;
}

body.site.com_content.view-article:not(.itemid-101)
  .com-content-article .page-header h2 {
  margin: 0 0 28px;
  color: var(--td-ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}

body.site.com_content.view-article:not(.itemid-101)
  .com-content-article .article-info {
  display: none;
}

body.site.com_content.view-article:not(.itemid-101)
  .com-content-article .item-image {
  float: none !important;
  width: 100%;
  overflow: hidden;
  margin: 0 0 36px;
  border-radius: 6px;
  border-bottom: 6px solid var(--td-cyan);
}

body.site.com_content.view-article:not(.itemid-101)
  .com-content-article .item-image img {
  display: block;
  width: 100%;
  height: clamp(230px, 35vw, 390px);
  object-fit: cover;
  object-position: center;
}

body.site.com_content.view-article:not(.itemid-101)
  .com-content-article__body {
  clear: both;
  color: var(--td-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

body.site.com_content.view-article:not(.itemid-101)
  .com-content-article__body h2,
body.site.com_content.view-article:not(.itemid-101)
  .com-content-article__body h3 {
  margin-top: 1.8em;
  color: var(--td-ink);
  line-height: 1.2;
}

@media (max-width: 860px) {
  .td-service-grid {
    grid-template-columns: 1fr;
  }

  .td-service {
    min-height: 0;
  }

  .td-service > span {
    margin-bottom: 24px;
  }

  .td-about,
  .td-contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .td-owner {
    width: min(100%, 420px);
  }
}

@media (max-width: 640px) {
  body.site.com_content.view-article:not(.itemid-101)
    .site-grid > .grid-child.container-component {
    width: min(100% - 24px, 1040px);
    padding-block: 34px 64px;
  }

  body.site.com_content.view-article:not(.itemid-101)
    .com-content-article .item-image img {
    height: 230px;
  }

  .tenders-home h1 {
    font-size: 2.45rem;
  }

  .td-hero {
    min-height: 540px;
  }

  .td-hero-content,
  .td-services,
  .td-about,
  .td-contact {
    width: min(100% - 24px, 1180px);
  }

  .td-stats {
    grid-template-columns: 1fr;
  }

  .td-stats > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .td-button {
    width: 100%;
  }

  .td-contact {
    padding: 30px 22px;
  }
}
