/*
Theme Name: DEKA-TRANS Smart Logistic Premium
Description: Blokowy motyw firmowy DEKA-TRANS z edytowalnymi szablonami i wzorcami.
Version: 3.2.8
Requires at least: 6.6
Requires PHP: 8.4
Text Domain: dekatrans-block
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --dt-navy: #031e33;
  --dt-ink: #09192e;
  --dt-orange: #ff7900;
  --dt-blue: #008dd7;
  --dt-line: #cbd4df;
  --dt-paper: #f6f8fb;
  --dt-gutter: clamp(20px, 4vw, 72px);
  --dt-max: 1536px;
  --dt-header-height: clamp(62px, 6.7vw, 104px);
  --dt-admin-bar-offset: 0px;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; }
:where(.dt-head, .dt-home, .dt-footer, .dt-post) :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
:where(.dt-head, .dt-home, .dt-footer) :where(h1, h2, h3, p, figure) { margin: 0; }
:where(.dt-head, .dt-home, .dt-footer) a:where(:not(.wp-element-button)) { color: inherit; }
.dt-container { width: min(100% - 2 * var(--dt-gutter), var(--dt-max)); margin-inline: auto; }
.dt-home :where(h1, h2, h3) { font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.dt-home h2 { font-size: clamp(27px, 3.05vw, 48px); }
.dt-home h3 { font-size: clamp(16px, 1.9vw, 29px); }
.dt-home p { line-height: 1.35; }

/* Keep the template part in view without taking it out of the document flow. */
@media (min-width: 601px) {
  html:has(body.admin-bar) {
    --dt-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
  }
}
html:has(.wp-site-blocks > header.wp-block-template-part .dt-head) {
  scroll-padding-block-start: calc(var(--dt-header-height) + var(--dt-admin-bar-offset));
}
.wp-site-blocks > header.wp-block-template-part:has(.dt-head) {
  position: sticky;
  top: var(--dt-admin-bar-offset);
  z-index: 20;
}
.dt-head { background: var(--dt-navy); color: #fff; position: relative; z-index: 5; }
.dt-head-grid {
  width: min(100% - 2 * clamp(20px, 2.75vw, 52px), var(--dt-max));
  min-height: var(--dt-header-height);
  display: grid;
  grid-template-columns: clamp(152px, 23.4vw, 330px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.1vw, 36px);
}
.dt-logo a { display: grid; place-items: center; padding: 4px 12px; min-height: 52px; background: #fff; }
.dt-logo img { display: block; width: auto; height: clamp(42px, 5vw, 70px); }
.dt-head .dt-nav { margin: 0; min-width: 0; border-left: 1px solid #ffffff4d; padding-left: 8px; }
.dt-head .wp-block-navigation__container { gap: clamp(10px, 2vw, 34px); }
.dt-head .wp-block-navigation-item__content { font-size: clamp(11px, 1.23vw, 17px); font-weight: 800; }
.dt-head .wp-block-navigation__container > li > a { white-space: nowrap; padding-block: 10px; }
.dt-head .wp-block-navigation-item__content:hover,
.dt-head .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline 3px var(--dt-orange); text-underline-offset: 7px; }
.dt-head .wp-block-navigation__submenu-container {
  --navigation-layout-justification-setting: flex-start;
  color: #fff !important;
  background: var(--dt-navy) !important;
  border: 1px solid #ffffff45 !important;
}
.dt-head .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px; }
.dt-head .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--dt-navy);
  color: #fff;
  padding: 22px var(--dt-gutter);
}
.dt-head .is-menu-open .wp-block-navigation__responsive-container-content { align-items: start; padding-block: 40px 20px; }
.dt-head .is-menu-open .wp-block-navigation__container { align-items: start; }
.dt-head .is-menu-open .wp-block-navigation-item__content { font-size: 16px; }
.dt-head .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding-block: 8px !important; }
.dt-head .wp-block-navigation__responsive-container-close,
.dt-head .wp-block-navigation__responsive-container-open { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

.dt-btn .wp-block-button__link, .dt-outline .wp-block-button__link {
  border-radius: 5px;
  border: 1px solid transparent;
  padding: .72em 1.37em;
  font-size: clamp(12px, 1.34vw, 17px);
  font-weight: 800;
  min-height: 38px;
  display: inline-flex;
  gap: .68em;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-decoration: none;
}
.dt-btn .wp-block-button__link { background: var(--dt-orange); color: #09192e; }
.dt-btn .wp-block-button__link:hover { background: #ffa54e; }
.dt-outline .wp-block-button__link { color: inherit; background: transparent; border-color: currentColor; }
.dt-outline .wp-block-button__link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.dt-btn .wp-block-button__link:focus-visible { outline-color: #0064a6; }
.dt-head .dt-btn .wp-block-button__link:focus-visible,
.dt-hero .dt-btn .wp-block-button__link:focus-visible,
.dt-lower .dt-btn .wp-block-button__link:focus-visible { outline-color: #fff; }
.dt-arrow .wp-block-button__link::after, .dt-plane .wp-block-button__link::before,
.dt-icon::before, .dt-card h3 a::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 1.22em;
  height: 1.22em;
  background: currentColor;
  mask: var(--dt-symbol) center / contain no-repeat;
  pointer-events: none;
}
.dt-arrow .wp-block-button__link::after, .dt-card h3 a::after { --dt-symbol: url("assets/icon-arrow.svg"); }
.dt-plane .wp-block-button__link::before { --dt-symbol: url("assets/icon-plane.svg"); }
.dt-kicker {
  display: flex; align-items: center; gap: .9em;
  font-size: clamp(11px, 1.35vw, 17px) !important;
  font-weight: 800; letter-spacing: 0 !important;
  line-height: 1.25; text-transform: uppercase;
}
.dt-kicker::before {
  content: ""; width: 2.85em; height: .9em; flex: none;
  background: linear-gradient(140deg, #ff9c20, var(--dt-orange) 55%, #e35b00);
  clip-path: polygon(31% 0,100% 0,70% 100%,0 100%);
}

.dt-hero {
  position: relative; isolation: isolate;
  min-height: clamp(335px, 36.9vw, 620px);
  display: grid; align-items: center;
  color: #fff; background: linear-gradient(112deg, #021c30 25%, #07416e 67%, #031e33);
}
.dt-hero-photo { position: absolute; z-index: -1; inset: 0 0 0 34%; }
.dt-hero-photo img { display: block; width: 100%; height: 100%; object-fit: fill; }
.dt-hero-photo { --dt-hero-text-room: clamp(0px, (820px - 100vw) * .32, 70px); clip-path: polygon(calc(29% + var(--dt-hero-text-room)) 0, 100% 0, 100% 100%, calc(6% + var(--dt-hero-text-room)) 100%); }
.dt-hero-shell { padding-block: clamp(30px, 4vw, 72px); }
.dt-hero-copy { max-width: min(51vw, 740px); }
.dt-hero h1 { font-size: clamp(36px, 4.52vw, 72px); }
.dt-accent { color: #ff830e; }
.dt-hero p { max-width: 24em; margin-top: .85em; font-size: clamp(15px, 1.7vw, 26px); }
.dt-hero .wp-block-buttons { gap: clamp(10px, 1.8vw, 25px); margin-top: clamp(18px, 2.4vw, 40px); }

.dt-statbar { background: linear-gradient(110deg, #eef2f7, #f8f9fb 55%, #edf1f5); }
.dt-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: clamp(18px, 2.3vw, 34px);
}
.dt-stat { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: clamp(12px, 2vw, 28px); justify-content: center; align-content: center; }
.dt-stat + .dt-stat { border-left: 1px solid var(--dt-line); }
.dt-stat::before { grid-row: 1 / 3; align-self: center; font-size: clamp(28px, 4.65vw, 61px); }
.dt-stat p { font-size: clamp(14px, 1.6vw, 24px); }
.dt-stat .dt-stat-number { font-size: clamp(25px, 3.3vw, 50px); letter-spacing: -.05em; line-height: 1; }
.dt-icon::before { color: var(--dt-orange); }
.dt-icon-people { --dt-symbol: url("assets/icon-people.svg"); }
.dt-icon-truck { --dt-symbol: url("assets/icon-truck.svg"); }
.dt-icon-box { --dt-symbol: url("assets/icon-box.svg"); }
.dt-icon-warehouse { --dt-symbol: url("assets/icon-warehouse.svg"); }
.dt-icon-pin { --dt-symbol: url("assets/icon-pin.svg"); }
.dt-icon-award { --dt-symbol: url("assets/icon-award.svg"); }
.dt-icon-shield { --dt-symbol: url("assets/icon-shield.svg"); }
.dt-icon-tools { --dt-symbol: url("assets/icon-tools.svg"); }
.dt-icon-cap { --dt-symbol: url("assets/icon-cap.svg"); }
.dt-icon-chart { --dt-symbol: url("assets/icon-chart.svg"); }
.dt-icon-mail { --dt-symbol: url("assets/icon-mail.svg"); }
.dt-icon-phone { --dt-symbol: url("assets/icon-phone.svg"); }

.dt-home { background: var(--dt-paper); color: var(--dt-ink); }
.dt-services { padding-block: clamp(23px, 2.85vw, 49px); }
.dt-services-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 2.1fr); gap: clamp(16px, 2.2vw, 38px); }
.dt-service-intro { align-self: center; }
.dt-service-intro h2 { margin-top: .52em; }
.dt-service-intro p:not(.dt-kicker), .dt-tms-copy p:not(.dt-kicker) { margin-top: .85em; max-width: 32em; font-size: clamp(14px, 1.49vw, 23px); }
.dt-service-intro .wp-block-buttons { margin-top: clamp(15px, 2.25vw, 32px); }
.dt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(7px, 1vw, 16px); padding-inline: 3%; }
.dt-card {
  --dt-skew: -12deg;
  min-height: clamp(244px, 27vw, 430px);
  transform: skewX(var(--dt-skew)); overflow: hidden; isolation: isolate; position: relative;
  border-radius: 8px; display: grid; align-items: end;
  background: var(--dt-navy); color: #fff;
}
.dt-card:focus-within { outline: 3px solid #005b94; outline-offset: 3px; }
.dt-card-photo {
  position: absolute; z-index: -2; inset: 0 -16% 27%;
  transform: skewX(calc(-1 * var(--dt-skew)));
}
.dt-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dt-card::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(0deg, #031e33 21%, #031e33ec 33%, #031e3310 71%, transparent);
}
.dt-card-copy { transform: skewX(calc(-1 * var(--dt-skew))); padding: 13px 14% 18px 11%; }
.dt-card-copy::before { font-size: clamp(21px, 3vw, 44px); display: block; }
.dt-card-copy h3 { margin-block: 3px .45em; letter-spacing: -.035em; }
.dt-card-copy h3 a { text-decoration: none; }
.dt-card-copy h3 a:hover { text-decoration: underline; }
.dt-card-copy h3 a::after { position: absolute; bottom: 16%; right: 7%; font-size: .92em; }
.dt-card-copy p { font-size: clamp(12px, 1.42vw, 21px); padding-right: .5em; }

.dt-tms {
  display: grid; grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); align-items: center;
  background: linear-gradient(126deg,#f6f9fc 85%,#e0eef9 85%,#f5f9fd 92%,#d5e9f9 92%);
}
.dt-tms-photo img { display: block; width: 100%; height: auto; }
.dt-tms-copy { padding: clamp(13px, 1.5vw, 28px) var(--dt-gutter) clamp(17px, 2.3vw, 38px) clamp(18px, 2.6vw, 44px); }
.dt-tms-copy h2 { margin-top: .35em; font-size: clamp(29px, 3.8vw, 59px); }
.dt-tms-copy h2 span { display: inline-block; font-size: .67em; }
.dt-tms-copy .wp-block-buttons { margin-top: .7em; }

.dt-quality { padding-block: clamp(12px, 1.45vw, 26px) clamp(17px, 2vw, 34px); background: #fafafa; }
.dt-quality-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin-top: .8em; }
.dt-quality-item {
  display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; align-items: start;
  column-gap: clamp(7px, 1vw, 16px); padding: 4px clamp(5px, 1.15vw, 20px);
}
.dt-quality-item:first-child { padding-left: 3px; }
.dt-quality-item + .dt-quality-item { border-left: 1px solid var(--dt-line); }
.dt-quality-item::before { grid-row: 1 / 3; font-size: clamp(22px,3.2vw,52px); }
.dt-quality-item h3 { font-size: clamp(13px, 1.49vw, 23px); margin-block: 2px 4px; }
.dt-quality-item p { font-size: clamp(11px, 1.19vw, 19px); }

.dt-lower { width: min(94%, var(--dt-max)); display: grid; gap: clamp(14px, 1.7vw, 28px); padding-block: clamp(15px, 2vw, 31px) clamp(22px, 2.55vw, 42px); }
.dt-career {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 13px;
  padding: clamp(16px, 1.8vw, 32px) clamp(22px, 5.2vw, 85px);
  background: linear-gradient(110deg, #031e33 9%, #075a91 67%); color: white;
}
.dt-career-photo { position: absolute; z-index: -1; inset: 0 0 0 35%; clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); }
.dt-career-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.dt-career-copy { max-width: 43%; }
.dt-career h2 { font-size: clamp(25px, 2.95vw, 48px); margin-block: .17em; }
.dt-career p:not(.dt-kicker) { font-size: clamp(13px, 1.39vw, 22px); }
.dt-career .wp-block-buttons { margin-top: clamp(11px, 1.25vw, 20px); }
.dt-contact-strip {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(15px, 2.9vw, 44px); align-items: center;
  color: white; background: linear-gradient(120deg, #075e9a 2%, #031e33 22%, #04213b 80%, #074471);
  border-radius: 8px; clip-path: polygon(4.4% 0,100% 0,95.6% 100%,0 100%);
  padding: clamp(13px, 1.55vw, 25px) 5% clamp(13px, 1.55vw, 25px) 8%;
}
.dt-contact-strip::before { color: #fff; font-size: clamp(25px,3.5vw,56px); }
.dt-contact-copy { border-left: 1px solid #ffffffa0; padding-left: clamp(15px, 3vw, 48px); }
.dt-contact-copy h2 { font-size: clamp(20px, 2.48vw, 37px); margin-bottom: .3em; }
.dt-contact-copy p { font-size: clamp(13px,1.48vw,22px); }

.dt-footer { color: white; background: #031e33; position: relative; padding-block: clamp(20px,2.4vw,42px) clamp(15px,2vw,32px); isolation: isolate; }
.dt-footer::before, .dt-footer::after {
  content: ""; position: absolute; inset: auto 0 32% auto; z-index: -1; pointer-events: none;
  width: min(18vw, 245px); height: clamp(44px,6.5vw,102px);
  background: var(--dt-orange); clip-path: polygon(100% 0,100% 41%,0 100%);
}
.dt-footer::after { background: var(--dt-blue); clip-path: polygon(100% 54%,100% 87%,8% 100%); }
.dt-footer-grid { display: grid; grid-template-columns: 1.34fr 1.34fr 1fr 1.16fr; align-items: center; }
.dt-footer-grid > * { min-width: 0; padding-inline: clamp(10px, 3.2vw, 48px) 7px; }
.dt-footer-grid > :first-child { padding-left: 0; }
.dt-footer-grid > * + * { border-left: 1px solid #ffffff4d; }
.dt-footer h2 { font-weight: 800; font-size: clamp(16px, 1.78vw, 25px); margin-bottom: 6px; }
.dt-footer p { font-size: clamp(12px,1.3vw,18px); line-height: 1.35; margin-block: .35em; overflow-wrap: anywhere; }
.dt-footer a:hover { text-decoration: underline; }
.dt-footer p.dt-icon { display: flex; gap: .72em; align-items: center; }
.dt-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; border-top: 1px solid #ffffff4d; margin-top: clamp(16px,2vw,30px); padding-top: clamp(8px,1.05vw,16px); }
.dt-footer-bottom p { font-size: clamp(11px, 1.15vw, 15px); }
.dt-legal { display: flex; flex-wrap: wrap; column-gap: 1.1em; }
.dt-legal p + p { border-left: 1px solid #ffffff4d; padding-left: 1.1em; }

.dt-post { width: min(100% - 2 * var(--dt-gutter), 920px); margin-inline: auto; padding-block: clamp(32px, 6vw, 86px); }
.dt-post h1 { font-size: clamp(30px, 5vw, 60px); margin-block: 0 .5em; line-height: 1.08; overflow-wrap: anywhere; }
.dt-post :where(.wp-block-post-content, .dt-page-copy) > * + * { margin-block-start: .9rem; }
.dt-post .wp-block-post-featured-image img { height: auto; }

@media (max-width: 900px) {
  .dt-head-grid { grid-template-columns: minmax(118px,175px) 1fr auto; gap: 12px; }
  .dt-head .dt-nav { justify-self: end; padding: 0; border: 0; }
  .dt-head .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .dt-head .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
}
@media (max-width: 760px) {
  .dt-services-grid { grid-template-columns: minmax(0,1fr); }
  .dt-service-intro { padding-bottom: 6px; }
  .dt-quality-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
  .dt-quality-item { padding-inline: 4px; }
  .dt-quality-item + .dt-quality-item { border: 0; }
  .dt-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .dt-footer-grid > * { padding-inline: 0; }
  .dt-footer-grid > * + * { border: 0; }
}
@media (max-width: 600px) {
  .dt-hero { min-height: clamp(425px, 108vw, 560px); align-items: end; }
  .dt-hero-photo { clip-path: none; inset: 0; }
  .dt-hero-photo img { object-fit: cover; object-position: 72% center; }
  .dt-hero::after, .dt-career::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, #031e33 14%, #031e33dc 48%, #031e3320 100%);
  }
  .dt-hero-copy, .dt-career-copy { max-width: 100%; }
  .dt-stat { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; justify-items: center; text-align: center; gap: 4px; padding: 0 4px; }
  .dt-stat::before { grid-row: auto; }
  .dt-stat p { font-size: clamp(11px, 3vw, 15px); overflow-wrap: anywhere; }
  .dt-cards { grid-template-columns: minmax(0,1fr); padding-inline: 0; gap: 12px; }
  .dt-card { --dt-skew: 0deg; min-height: 255px; }
  .dt-card-photo { inset: 0 0 15%; }
  .dt-card-copy { padding-inline: 20px; }


  .dt-tms { grid-template-columns: minmax(0,1fr); }
  .dt-tms-copy { padding: 18px var(--dt-gutter) 23px; }
  .dt-career { padding-top: 126px; }
  .dt-career-photo { inset: 0; clip-path: none; }
  .dt-career-photo img { object-position: 30% center; }
  .dt-contact-strip { clip-path: none; padding: 18px; grid-template-columns: auto minmax(0,1fr); }
  .dt-contact-strip .wp-block-buttons { grid-column: 2; }
}
@media (max-width: 390px) {
  .dt-head-grid { grid-template-columns: minmax(86px,1fr) auto auto; gap: 6px; }
  .dt-logo a { padding-inline: 5px; min-height: 44px; }
  .dt-logo img { height: 38px; }
  .dt-head .dt-plane .wp-block-button__link::before { display: none; }
  .dt-head .wp-block-button__link { padding-inline: .65em; }
  .dt-hero h1 { font-size: clamp(31px, 10vw, 36px); }
  .dt-footer-grid { grid-template-columns: 1fr; }
}


@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

.dt-head .wp-block-navigation a, .dt-home .dt-card a, .dt-footer a { color: inherit; }
.dt-hero .dt-outline .wp-block-button__link { color: white; }
.dt-home .dt-service-intro .dt-outline .wp-block-button__link,
.dt-home .dt-tms .dt-outline .wp-block-button__link { color: var(--dt-ink); }



body, .editor-styles-wrapper {
  font-family: Manrope, system-ui, sans-serif;
}
.dt-logo, .dt-hero-photo, .dt-card-photo, .dt-tms-photo, .dt-career-photo {
  margin: 0;
}
.dt-head .wp-block-navigation__container.dt-nav {
  border: 0;
  padding-left: 0;
}
.dt-head .wp-block-navigation a, .dt-footer a {
  text-decoration: none;
}
.dt-footer a:hover {
  text-decoration: underline;
}
.dt-hero p {
  max-width: 20em;
}
.dt-card-photo img {
  object-position: 50% 65%;
}
@media (min-width: 761px) {
  .dt-services-grid {
    width: min(100% - var(--dt-gutter) - clamp(14px, 2.3vw, 42px), var(--dt-max));
    position: relative;
    left: calc((var(--dt-gutter) - clamp(14px, 2.3vw, 42px)) / 2);
    grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr);
  }
}
@media (min-width: 601px) {
  .dt-hero {
    align-items: start;
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .dt-career {
    padding-block: 15px;
  }
}


.dt-hero .dt-outline .wp-block-button__link {
  background: #031e3378;
}
.dt-hero .dt-outline .wp-block-button__link:hover {
  background: #ffffff22;
}
.dt-quality-item {
  align-content: start;
}
@media (min-width: 850px) {
  .dt-service-intro h2 {
    position: relative;
    width: calc(100% + 32px);
    font-size: clamp(26px, 3vw, 47px);
  }
}
@media (min-width: 601px) {
  .dt-tms-copy {
    padding-block: clamp(8px, 1vw, 17px);
  }
  .dt-tms-photo {
    align-self: start;
  }
}

/* The banner accents follow the layout instead of being baked into the photos. */
.dt-hero-photo img { object-fit: cover; }
.dt-tms-photo {
  position: relative;
  background: #ff7900;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.dt-tms-photo img { clip-path: polygon(0 0, 98% 0, 84% 100%, 0 100%); }
@media (min-width: 601px) {
  .dt-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 23%;
    height: 33%;
    background: linear-gradient(135deg, #008dd7 65%, #ff7900 65%);
    clip-path: polygon(0 100%, 78% 49%, 100% 0, 100% 100%);
    pointer-events: none;
  }
  .dt-hero-shell { position: relative; }
}

.dt-logo a {
  position: relative;
  isolation: isolate;
  width: min(100%, clamp(146px, 18vw, 214px));
  min-height: clamp(51px, 5.85vw, 83px);
  margin-block: 4px;
  padding: 4px 14% 4px 7%;
  background: transparent;
}
.dt-logo a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 12px;
  background: #fff;
  clip-path: none;
}
.dt-logo img {
  width: min(100%, clamp(106px, 12.5vw, 150px));
  height: auto;
}
@media (max-width: 390px) {
  .dt-logo a { min-height: 44px; }
}

.dt-footer-grid { grid-template-columns: minmax(0, 1fr) max-content max-content; }
.dt-footer-grid > .dt-footer-links { padding-right: clamp(14px, 2vw, 30px); }
.dt-footer-grid > .dt-footer-links:last-child { min-width: min(12vw, 145px); padding-right: 0; }
.dt-footer::before, .dt-footer::after { bottom: 14%; }
.dt-subpage { display: grid; gap: clamp(16px, 3vw, 28px); }
.dt-subpage .dt-subpage-intro,
.dt-subpage .dt-subpage-card {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 12px;
  background: #f6f8fb;
}
.dt-subpage .dt-subpage-intro { color: #fff; background: linear-gradient(112deg, #031e33, #06446d); }
.dt-subpage .dt-subpage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.3vw, 24px); }
.dt-subpage-card { border-top: 3px solid #ff7900; }
.dt-subpage :where(h2, h3, p, ol) { margin-block: 0; }
.dt-subpage :where(h2, h3) + p { margin-top: .6em; }
.dt-subpage :where(p, ol) + :where(p, ol) { margin-top: .65em; }
.dt-subpage .dt-kicker { margin-bottom: .7em; }
.dt-subpage ol { padding-inline-start: 1.5em; }
.dt-subpage li + li { margin-top: .35em; }
.dt-subpage a { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .dt-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dt-footer-company { grid-column: 1 / -1; }
  .dt-footer-grid > .dt-footer-links:last-child { min-width: 0; }
}
@media (max-width: 620px) {
  .dt-subpage .dt-subpage-grid { grid-template-columns: minmax(0,1fr); }
}

.dt-head-grid {
  grid-template-columns: clamp(128px, 19.5vw, 300px) minmax(0, 1fr) auto auto;
  column-gap: clamp(8px, 1.3vw, 22px);
}
.dt-language {
  display: inline-flex;
  justify-self: end;
  border: 1px solid #ffffff55;
  border-radius: 5px;
  white-space: nowrap;
}
.dt-language a {
  display: grid;
  place-items: center;
  min-width: 31px;
  min-height: 34px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.dt-language a[aria-current] {
  color: #092238;
  background: #e4f1f9;
}
.dt-language a:hover { text-decoration: underline; }
@media (max-width: 1050px) {
  .dt-head .wp-block-navigation__container { gap: 10px; }
}
@media (max-width: 900px) {
  .dt-head-grid { grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; }
}
@media (max-width: 360px) {
  .dt-language a { min-width: 26px; }
  .dt-head-grid { column-gap: 5px; }
}




.dt-footer-bottom, .dt-legal { align-items: center; }
.dt-legal { row-gap: .35rem; position: relative; background: #031e33; padding-inline: .45rem; border-radius: 3px; }
.dt-footer .dt-legal > p { margin: 0; line-height: 1.35; }
.dt-subpage.dt-sustainability { gap: clamp(14px, 2.4vw, 24px); }
.dt-feature-image { margin-block: 0; border-radius: 12px; overflow: hidden; border-bottom: 3px solid #ff7900; }
.dt-feature-image img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center; }
.dt-principle::before { font-size: 27px; margin-bottom: .55rem; }
.dt-sustainability .dt-principle h3 { margin-top: 0; }
.dt-quote { padding: clamp(18px, 4vw, 40px); background: #f6f8fb; border: 1px solid #d9e4ec; border-top: 3px solid #ff7900; border-radius: 12px; }
.dt-quote h2 { margin: 0 0 .65rem; }
.dt-quote > p { margin-block: .75rem; }
.dt-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.dt-quote-grid label { display: grid; gap: .35rem; font-weight: 700; }
.dt-quote-message { grid-column: 1 / -1; }
.dt-quote input:not([type=hidden]), .dt-quote select, .dt-quote textarea {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: .65rem .8rem;
  background: #fff; color: #092238; border: 1px solid #8098ab; border-radius: 6px; font: inherit; font-weight: 400;
}
.dt-quote textarea { resize: vertical; }
.dt-quote :focus-visible { outline: 2px solid #07578c; outline-offset: 2px; }
.dt-quote button { background: #ff7900; color: #092238; font-weight: 800; border: 0; border-radius: 5px; cursor: pointer; }
.dt-quote-status { padding: .75rem 1rem; border-left: 3px solid #ff7900; background: #fff; }
.dt-quote-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) {
  .dt-quote-grid { grid-template-columns: minmax(0, 1fr); }
  .dt-feature-image img { aspect-ratio: 2 / 1; }
}



.dt-sustainability .dt-csr-hero, .dt-sustainability .dt-csr-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
}
.dt-sustainability .dt-csr-hero {
  overflow: hidden; border-radius: 14px; color: #fff;
  background: linear-gradient(126deg,#031e33,#08547e); border-bottom: 4px solid #ff7900;
}
.dt-csr-hero-copy { display: grid; align-content: center; gap: .7rem; padding: clamp(22px, 4vw, 42px); }
.dt-sustainability .dt-csr-hero-copy :where(h2,p) { margin: 0; }
.dt-csr-hero-copy h2 { font-size: clamp(24px,3vw,41px); line-height: 1.1; }
.dt-csr-hero-image, .dt-csr-tile-photo { margin: 0; position: relative; }
.dt-csr-hero-image img, .dt-csr-tile-photo img { display: block; width: 100%; object-fit: cover; }
.dt-csr-hero-image img { height: 100%; min-height: 235px; }
.dt-csr-hero-image figcaption {
  position: absolute; bottom: 0; right: 0; margin: 0; padding: .3rem .6rem;
  background: #031e33e8; color: #fff; font-size: .72rem;
}
.dt-csr-nav h2 { margin-bottom: .7rem; }
.dt-csr-nav .dt-csr-jump { gap: .55rem; }
.dt-sustainability .dt-csr-grid { gap: clamp(14px, 2.4vw, 24px); }
.dt-csr-tile { overflow: hidden; border: 1px solid #dce7ee; background: #f6f8fb; border-radius: 12px; scroll-margin-top: 1rem; }
.dt-csr-tile-photo img { aspect-ratio: 2.55 / 1; }
.dt-csr-tile-copy { padding: clamp(19px,3vw,30px); border-top: 3px solid #ff7900; }
.dt-csr-tile-copy::before { font-size: 24px; margin-bottom: .45rem; }
.dt-sustainability .dt-csr-tile-copy h3 { margin-top: 0; }
.dt-sustainability .dt-csr-tile-copy ol { margin-top: .85rem; }
.dt-csr-closing { background: #edf5fa; border-left: 4px solid #ff7900; padding: clamp(16px,3vw,28px); border-radius: 8px; }
@media (max-width: 620px) {
  .dt-sustainability .dt-csr-hero, .dt-sustainability .dt-csr-grid { grid-template-columns: minmax(0,1fr); }
  .dt-csr-hero-image img { height: auto; min-height: 0; aspect-ratio: 1.8 / 1; }
}

.dt-csr-tile-photo {
  display: grid; place-items: center; min-height: 0; aspect-ratio: 2.55 / 1;
  background: linear-gradient(125deg,#f6fbff,#e5f1f7);
}
.dt-csr-tile-photo img {
  width: clamp(70px, 23%, 108px); height: auto; max-height: none; aspect-ratio: 1; object-fit: contain;
}
.dt-csr-tile-copy::before { display: none; }




.dt-csr-hero-image:has(img[src*="sustainability-principles-white.jpg"]) { background: #031a32; }
.dt-csr-hero-image img[src*="sustainability-principles-white.jpg"] { object-fit: contain; padding: 8px 12px 24px; }



/* The card's overflow clips the extended hit area to its visible shape. */
.dt-card-copy {
  position: relative;
}
.dt-card-copy h3 a::before {
  content: "";
  position: absolute;
  inset: -100vmax;
  z-index: 1;
}





/* Compact sticky navigation without shrinking the interactive controls. */
.dt-head-grid { min-height: clamp(54px, 5.55vw, 84px); }
.dt-logo a {
  width: min(100%, clamp(119px, 15.4vw, 180px));
  min-height: clamp(42px, 4.65vw, 64px);
  margin-block: 3px;
  padding-block: 3px;
}
.dt-logo img { width: min(100%, clamp(88px, 10.6vw, 126px)); }
@media (max-width: 390px) {
  .dt-logo a { min-height: 40px; }
}
@media (min-width: 391px) and (max-width: 900px) {
  .dt-logo a { padding-inline: 8px 12px; }
  .dt-logo img { width: min(100%, 82px); }
}

.dt-logo a {
  width: min(100%, calc(clamp(88px, 10.6vw, 126px) + 24px));
  margin-inline: auto;
  padding-inline: 12px;
}
@media (min-width: 391px) and (max-width: 900px) {
  .dt-logo a { width: min(100%, 106px); }
}
@media (max-width: 390px) {
  .dt-logo a { padding-inline: 5px; }
}



.dt-service-links { margin-block: 0 clamp(26px, 5vw, 56px); }
.dt-service-links h2 { margin: 0 0 1rem; }
.dt-service-links .dt-cards { margin-top: 0; gap: clamp(14px, 2vw, 26px); }
.dt-service-links .dt-card {
  min-height: clamp(238px, 32vw, 350px);
  --dt-skew: -7deg;
}
.dt-service-links .dt-card-copy h3 { font-size: clamp(19px, 2.2vw, 28px); }
.dt-service-links .dt-card-copy p { font-size: clamp(14px, 1.65vw, 18px); }
.dt-service-links .dt-card-copy h3 a { color: white; }
.dt-post :is(#transport, #magazynowanie, #spedycja) { scroll-margin-top: 110px; }
.dt-service-anchor { display: block; }
@media (max-width: 600px) {
  .dt-service-links .dt-card { --dt-skew: 0deg; }
}
