/*
Theme Name: TNTVN Forestry
Author: TNTVN Forestry
Description: A bilingual-ready corporate WordPress theme for wood biomass producers, pellet manufacturers and wood chip exporters.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tntvn-forestry
Tags: custom-logo, custom-menu, featured-images, translation-ready, blog, full-width-template
*/

:root {
  --tnt-ink: #0a2019;
  --tnt-forest: #082a21;
  --tnt-forest-2: #104838;
  --tnt-leaf: #8dcd52;
  --tnt-cobalt: #153aa4;
  --tnt-paper: #fbfaf5;
  --tnt-sand: #eee8dc;
  --tnt-charcoal: #15211d;
  --tnt-muted: #65736d;
  --tnt-line: rgba(10, 32, 25, 0.16);
  --tnt-light-line: rgba(255, 255, 255, 0.17);
  --tnt-shell: 1240px;
  --tnt-header: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--tnt-ink);
  background: var(--tnt-paper);
  font-family: Inter, Aptos, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  position: fixed !important;
  top: 10px;
  left: 10px;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: 12px 16px;
  margin: 0;
  color: #fff;
  background: var(--tnt-cobalt);
  clip: auto;
}

:focus-visible {
  outline: 3px solid #f5c759;
  outline-offset: 4px;
}

.tnt-shell {
  width: min(calc(100% - 48px), var(--tnt-shell));
  margin-inline: auto;
}

.tnt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--tnt-forest-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tnt-eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--tnt-leaf);
}

.tnt-eyebrow--light {
  color: #d8edcd;
}

.tnt-display {
  margin: 0;
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.tnt-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 18px;
  border: 1px solid transparent;
  color: #fff;
  background: var(--tnt-forest);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.tnt-button:hover,
.tnt-button:focus-visible {
  color: #fff;
  background: var(--tnt-cobalt);
  transform: translateY(-2px);
}

.tnt-button--leaf {
  color: var(--tnt-ink);
  background: var(--tnt-leaf);
}

.tnt-button--leaf:hover,
.tnt-button--leaf:focus-visible {
  color: #fff;
  background: var(--tnt-cobalt);
}

.tnt-button--outline {
  border-color: var(--tnt-light-line);
  background: transparent;
}

.tnt-button--outline:hover,
.tnt-button--outline:focus-visible {
  color: var(--tnt-ink);
  background: #fff;
}

.tnt-topbar {
  color: rgba(255, 255, 255, 0.78);
  background: #061a15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.tnt-topbar__inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tnt-topbar p {
  margin: 0;
}

.tnt-topbar a:hover,
.tnt-topbar a:focus-visible {
  color: var(--tnt-leaf);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--tnt-ink);
  background: rgba(251, 250, 245, 0.96);
  border-bottom: 1px solid var(--tnt-line);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.tnt-header__inner {
  min-height: var(--tnt-header);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
}

.tnt-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tnt-brand__mark,
.custom-logo-link {
  width: 54px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(21, 58, 164, 0.2);
  border-radius: 50%;
}

.tnt-brand__mark img,
.custom-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tnt-brand__name {
  display: grid;
  line-height: 1;
}

.tnt-brand__name strong {
  font-size: 1.05rem;
  letter-spacing: 0.13em;
}

.tnt-brand__name small {
  margin-top: 6px;
  color: var(--tnt-muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.tnt-nav {
  justify-self: center;
}

.tnt-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tnt-nav a {
  position: relative;
  display: block;
  padding: 28px 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.tnt-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--tnt-leaf);
  transition: right 180ms ease;
}

.tnt-nav a:hover::after,
.tnt-nav a:focus-visible::after,
.tnt-nav .current-menu-item > a::after {
  right: 0;
}

.tnt-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tnt-language {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--tnt-muted);
  font-size: 0.75rem;
  font-weight: 800;
  list-style: none;
}

.tnt-language .current-lang a {
  color: var(--tnt-cobalt);
}

.tnt-header__phone {
  padding: 11px 17px;
  color: #fff;
  background: var(--tnt-forest);
  font-size: 0.82rem;
  font-weight: 800;
}

.tnt-header__phone:hover,
.tnt-header__phone:focus-visible {
  background: var(--tnt-cobalt);
}

.tnt-menu-toggle {
  display: none;
}

.tnt-hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  background: var(--tnt-forest);
  overflow: hidden;
  isolation: isolate;
}

.tnt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
}

.tnt-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 10px;
  background: linear-gradient(90deg, var(--tnt-leaf) 0 26%, #d1a65c 26% 51%, var(--tnt-cobalt) 51% 100%);
}

.tnt-hero__image {
  position: absolute;
  inset: 0 0 0 46%;
  z-index: -2;
}

.tnt-hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--tnt-forest) 0%, rgba(8, 42, 33, 0.86) 14%, rgba(8, 42, 33, 0.15) 66%),
    linear-gradient(0deg, rgba(8, 42, 33, 0.58), transparent 65%);
}

.tnt-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tnt-route-line {
  position: absolute;
  right: 12%;
  bottom: 19%;
  z-index: -1;
  width: 34%;
  height: 42%;
  border-right: 2px solid rgba(141, 205, 82, 0.52);
  border-bottom: 2px solid rgba(141, 205, 82, 0.52);
}

.tnt-route-line::before,
.tnt-route-line::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--tnt-leaf);
  border: 4px solid var(--tnt-forest);
  border-radius: 50%;
  box-sizing: content-box;
}

.tnt-route-line::before {
  left: -8px;
  bottom: -8px;
}

.tnt-route-line::after {
  right: -10px;
  top: -8px;
}

.tnt-hero__inner {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  align-items: center;
  gap: 60px;
  padding-block: 82px 102px;
}

.tnt-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.tnt-hero h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 7.2vw, 7.8rem);
}

.tnt-hero h1 span {
  display: block;
  color: var(--tnt-leaf);
}

.tnt-hero__intro {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.tnt-hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.tnt-hero__meta {
  align-self: end;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  padding: 24px;
  background: rgba(4, 22, 17, 0.72);
  border-left: 3px solid var(--tnt-leaf);
  backdrop-filter: blur(10px);
}

.tnt-hero__meta span {
  display: block;
  color: var(--tnt-leaf);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tnt-hero__meta strong {
  display: block;
  margin-top: 7px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.tnt-metrics {
  background: var(--tnt-sand);
  border-bottom: 1px solid var(--tnt-line);
}

.tnt-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.tnt-metric {
  min-height: 138px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 38px;
  border-right: 1px solid var(--tnt-line);
}

.tnt-metric:last-child {
  border-right: 0;
}

.tnt-metric strong {
  color: var(--tnt-cobalt);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tnt-metric p {
  max-width: 190px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tnt-section {
  padding-block: 118px;
}

.tnt-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 60px;
}

.tnt-section__heading h2,
.tnt-chain h2,
.tnt-about h2,
.tnt-contact h2 {
  max-width: 820px;
  font-size: clamp(3rem, 5.4vw, 5.7rem);
}

.tnt-section__heading > p {
  margin: 0 0 4px;
  color: var(--tnt-muted);
}

.tnt-operations {
  background: var(--tnt-paper);
}

.tnt-operation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tnt-line);
  border-left: 1px solid var(--tnt-line);
}

.tnt-operation {
  min-height: 345px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-right: 1px solid var(--tnt-line);
  border-bottom: 1px solid var(--tnt-line);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.tnt-operation:hover {
  color: #fff;
  background: var(--tnt-forest);
  transform: translateY(-6px);
}

.tnt-operation__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.tnt-operation__no {
  color: var(--tnt-cobalt);
  font-family: Impact, sans-serif;
  font-size: 1.55rem;
}

.tnt-operation:hover .tnt-operation__no {
  color: var(--tnt-leaf);
}

.tnt-operation__arrow {
  color: var(--tnt-muted);
  font-size: 1.4rem;
}

.tnt-operation h3 {
  margin: auto 0 14px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: -0.035em;
  line-height: 1;
}

.tnt-operation p {
  margin: 0;
  color: var(--tnt-muted);
  font-size: 0.92rem;
}

.tnt-operation:hover p {
  color: rgba(255, 255, 255, 0.65);
}

.tnt-products {
  color: #fff;
  background: var(--tnt-charcoal);
}

.tnt-product-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 690px;
}

.tnt-product-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.tnt-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tnt-product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 42, 33, 0.5), transparent 55%);
}

.tnt-product-image__label {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 2;
  padding: 9px 12px;
  color: var(--tnt-ink);
  background: var(--tnt-leaf);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tnt-product-list {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.tnt-product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 48px;
  border-bottom: 1px solid var(--tnt-light-line);
}

.tnt-product:last-child {
  border-bottom: 0;
}

.tnt-product__no {
  color: var(--tnt-leaf);
  font-family: Impact, sans-serif;
  font-size: 2rem;
}

.tnt-product h3 {
  margin: 0 0 13px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.tnt-product p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.tnt-product__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tnt-product__tags li {
  padding: 6px 9px;
  border: 1px solid var(--tnt-light-line);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 750;
}

.tnt-chain {
  position: relative;
  color: #fff;
  background: var(--tnt-cobalt);
  overflow: hidden;
}

.tnt-chain::before {
  content: "SUPPLY";
  position: absolute;
  right: -34px;
  top: 35px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Impact, sans-serif;
  font-size: clamp(9rem, 20vw, 19rem);
  line-height: 1;
}

.tnt-chain__heading {
  position: relative;
  z-index: 1;
}

.tnt-chain__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
}

.tnt-chain__steps li {
  position: relative;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.tnt-chain__steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -7px;
  width: 13px;
  height: 13px;
  background: var(--tnt-leaf);
  border: 4px solid var(--tnt-cobalt);
  border-radius: 50%;
  box-sizing: content-box;
}

.tnt-chain__steps span {
  color: #cceeb0;
  font-family: Impact, sans-serif;
  font-size: 1.5rem;
}

.tnt-chain__steps h3 {
  margin: 20px 0 10px;
  font-size: 1.06rem;
}

.tnt-chain__steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.tnt-about {
  background: var(--tnt-sand);
}

.tnt-about__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 100px;
}

.tnt-about__title {
  position: sticky;
  top: 120px;
  align-self: start;
}

.tnt-about__lead {
  margin: 0 0 50px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.tnt-proof-list {
  border-top: 1px solid var(--tnt-line);
}

.tnt-proof {
  display: grid;
  grid-template-columns: 50px 0.65fr 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--tnt-line);
}

.tnt-proof > span {
  color: var(--tnt-cobalt);
  font-family: Impact, sans-serif;
}

.tnt-proof h3,
.tnt-proof p {
  margin: 0;
}

.tnt-proof h3 {
  font-size: 1rem;
}

.tnt-proof p {
  color: var(--tnt-muted);
  font-size: 0.9rem;
}

.tnt-contact {
  position: relative;
  color: #fff;
  background: var(--tnt-forest);
  overflow: hidden;
}

.tnt-contact::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -220px;
  top: -230px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(255, 255, 255, 0.025),
    0 0 0 104px rgba(255, 255, 255, 0.025),
    0 0 0 164px rgba(255, 255, 255, 0.02);
}

.tnt-contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
}

.tnt-contact__intro > p:last-child {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.tnt-contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 38px;
}

.tnt-contact__detail {
  padding: 18px;
  border: 1px solid var(--tnt-light-line);
}

.tnt-contact__detail span {
  display: block;
  margin-bottom: 5px;
  color: var(--tnt-leaf);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tnt-contact__detail strong,
.tnt-contact__detail address {
  display: block;
  color: #fff;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.45;
}

.tnt-form-wrap {
  padding: 42px;
  color: var(--tnt-ink);
  background: var(--tnt-paper);
  box-shadow: 18px 18px 0 rgba(141, 205, 82, 0.22);
}

.tnt-form-wrap h3 {
  margin: 0 0 26px;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 2.1rem;
  letter-spacing: -0.035em;
}

.tnt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tnt-field {
  display: grid;
  gap: 7px;
}

.tnt-field--full {
  grid-column: 1 / -1;
}

.tnt-field label {
  font-size: 0.76rem;
  font-weight: 800;
}

.tnt-field input,
.tnt-field select,
.tnt-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--tnt-ink);
  background: #fff;
  border: 1px solid var(--tnt-line);
  border-radius: 0;
}

.tnt-field textarea {
  min-height: 118px;
  resize: vertical;
}

.tnt-field input:focus,
.tnt-field select:focus,
.tnt-field textarea:focus {
  border-color: var(--tnt-cobalt);
  outline: 2px solid rgba(21, 58, 164, 0.14);
}

.tnt-honeypot {
  position: absolute;
  left: -9999px;
}

.tnt-form-status {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-left: 4px solid var(--tnt-leaf);
  background: #eaf4e2;
  font-weight: 700;
}

.tnt-form-status--error {
  border-color: #b73737;
  background: #f8e5e3;
}

.tnt-form-submit {
  width: 100%;
  margin-top: 20px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: #061a15;
}

.tnt-footer__main {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.tnt-footer__brand {
  color: #fff;
}

.tnt-footer__brand .tnt-brand__name small {
  color: rgba(255, 255, 255, 0.5);
}

.tnt-footer__column span {
  display: block;
  margin-bottom: 7px;
  color: var(--tnt-leaf);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tnt-footer__column p,
.tnt-footer__column address {
  margin: 0;
  font-style: normal;
  font-size: 0.84rem;
}

.tnt-footer__bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
}

.tnt-footer__bottom p {
  margin: 0;
}

.tnt-content-header {
  padding: 96px 0 70px;
  color: #fff;
  background: var(--tnt-forest);
}

.tnt-content-header h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.tnt-content {
  padding-block: 80px 110px;
}

.entry-content {
  width: min(100%, 820px);
  margin-inline: auto;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3 {
  color: var(--tnt-forest);
  line-height: 1.18;
}

.entry-content a {
  color: var(--tnt-cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content img {
  margin-block: 32px;
}

.tnt-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tnt-post-card {
  background: #fff;
  border: 1px solid var(--tnt-line);
}

.tnt-post-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tnt-sand);
}

.tnt-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.tnt-post-card:hover .tnt-post-card__image img {
  transform: scale(1.035);
}

.tnt-post-card__body {
  padding: 26px;
}

.tnt-post-card__meta {
  color: var(--tnt-cobalt);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tnt-post-card h2 {
  margin: 12px 0 10px;
  font-size: 1.35rem;
  line-height: 1.28;
}

.tnt-post-card p {
  margin: 0;
  color: var(--tnt-muted);
  font-size: 0.9rem;
}

.navigation.pagination {
  margin-top: 46px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tnt-line);
  font-weight: 700;
}

.page-numbers.current,
.page-numbers:hover {
  color: #fff;
  background: var(--tnt-forest);
}

.tnt-empty {
  padding: 50px;
  text-align: center;
  background: var(--tnt-sand);
}

@media (max-width: 1050px) {
  .tnt-header__inner {
    gap: 22px;
  }

  .tnt-nav ul {
    gap: 20px;
  }

  .tnt-hero__image {
    inset-inline-start: 38%;
  }

  .tnt-hero__inner {
    grid-template-columns: minmax(0, 0.76fr) minmax(240px, 0.24fr);
  }

  .tnt-operation {
    padding: 27px;
  }

  .tnt-section__heading,
  .tnt-about__grid,
  .tnt-contact__grid {
    gap: 58px;
  }
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .tnt-topbar {
    display: none;
  }

  .tnt-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .tnt-menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .tnt-menu-toggle span:not(.screen-reader-text) {
    width: 24px;
    height: 2px;
    background: var(--tnt-ink);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .tnt-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .tnt-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .tnt-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .tnt-nav {
    position: fixed;
    inset: var(--tnt-header) 0 auto;
    z-index: 99;
    color: #fff;
    background: var(--tnt-forest);
    border-bottom: 8px solid var(--tnt-leaf);
    transform: translateY(-125%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .admin-bar .tnt-nav {
    top: calc(var(--tnt-header) + 46px);
  }

  .tnt-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .tnt-nav ul {
    width: min(calc(100% - 48px), var(--tnt-shell));
    display: grid;
    gap: 0;
    margin-inline: auto;
    padding-block: 18px 28px;
  }

  .tnt-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--tnt-light-line);
    font-size: 1.05rem;
  }

  .tnt-nav a::after {
    display: none;
  }

  .tnt-header__actions {
    justify-self: end;
    margin-right: 50px;
  }

  .tnt-header__phone {
    display: none;
  }

  .tnt-hero__image {
    inset: 0;
    opacity: 0.52;
  }

  .tnt-hero__image::before {
    background: linear-gradient(90deg, rgba(8, 42, 33, 0.96), rgba(8, 42, 33, 0.45));
  }

  .tnt-hero__inner {
    grid-template-columns: 1fr;
  }

  .tnt-hero__copy {
    align-self: center;
  }

  .tnt-hero__meta {
    max-width: 330px;
  }

  .tnt-section__heading,
  .tnt-about__grid,
  .tnt-contact__grid {
    grid-template-columns: 1fr;
  }

  .tnt-section__heading {
    gap: 28px;
  }

  .tnt-operation-grid,
  .tnt-chain__steps {
    grid-template-columns: 1fr 1fr;
  }

  .tnt-product-layout {
    grid-template-columns: 1fr;
  }

  .tnt-product-image {
    min-height: 500px;
  }

  .tnt-about__title {
    position: static;
  }

  .tnt-form-wrap {
    width: min(100%, 680px);
  }

  .tnt-footer__main {
    grid-template-columns: 1fr 1fr;
    padding-block: 38px;
  }

  .tnt-footer__brand {
    grid-column: 1 / -1;
  }

  .tnt-post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tnt-shell {
    width: min(calc(100% - 32px), var(--tnt-shell));
  }

  .tnt-brand__name {
    display: none;
  }

  .tnt-header__actions {
    margin-right: 42px;
  }

  .tnt-hero,
  .tnt-hero__inner {
    min-height: 690px;
  }

  .tnt-hero__inner {
    padding-block: 62px 82px;
  }

  .tnt-hero h1 {
    font-size: clamp(3.6rem, 17vw, 5.4rem);
  }

  .tnt-hero__intro {
    font-size: 1rem;
  }

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

  .tnt-hero__actions .tnt-button {
    width: 100%;
  }

  .tnt-metrics__grid {
    grid-template-columns: 1fr;
  }

  .tnt-metric {
    min-height: 104px;
    padding: 22px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--tnt-line);
  }

  .tnt-section {
    padding-block: 84px;
  }

  .tnt-section__heading h2,
  .tnt-chain h2,
  .tnt-about h2,
  .tnt-contact h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .tnt-operation-grid,
  .tnt-chain__steps {
    grid-template-columns: 1fr;
  }

  .tnt-operation {
    min-height: 280px;
  }

  .tnt-product-image {
    min-height: 420px;
  }

  .tnt-product {
    grid-template-columns: 1fr;
    padding: 36px 26px;
  }

  .tnt-product__no {
    font-size: 1.5rem;
  }

  .tnt-proof {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .tnt-proof p {
    grid-column: 2;
  }

  .tnt-contact__details,
  .tnt-form-grid {
    grid-template-columns: 1fr;
  }

  .tnt-form-wrap {
    padding: 28px 22px;
    box-shadow: 10px 10px 0 rgba(141, 205, 82, 0.22);
  }

  .tnt-field--full {
    grid-column: 1;
  }

  .tnt-footer__main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tnt-footer__brand {
    grid-column: 1;
  }

  .tnt-footer__brand .tnt-brand__name {
    display: grid;
  }

  .tnt-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }

  .tnt-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
