/* Homepage: a new editorial construction image with quiet motion. */
body.kn-page .tc-home-hero .tc-hero-background {
  object-position: 66% 52%;
  transform-origin: 69% 53%;
  animation: tc-home-image-arrive 10s cubic-bezier(.2,.65,.2,1) both;
}

body.kn-page .tc-home-hero::before {
  background: linear-gradient(90deg, #061a38cf 0%, #061a38a8 34%, #061a3852 61%, #061a381a 100%);
}

@keyframes tc-home-image-arrive {
  from { transform: scale(1.075) translateX(1%); }
  to { transform: scale(1) translateX(0); }
}

@media (max-width: 680px) {
  body.kn-page .tc-home-hero .tc-hero-background { object-position: 65% center; }
  body.kn-page .tc-home-hero::before {
    background: linear-gradient(90deg, #061a38e8 0%, #061a38cb 54%, #061a3880 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.kn-page .tc-home-hero .tc-hero-background { animation: none; }
}

/* Blue dates with four evenly rounded corners across cards and articles. */
body.kn-page .tc-card-date,
body.kn-page .tc-list-card .tc-card-date,
body.kn-page .tc-article-listing .tc-list-card .tc-card-date {
  position: absolute;
  top: auto;
  right: 11%;
  bottom: -18px;
  left: auto;
  z-index: 2;
  width: auto;
  min-height: 36px;
  padding: 8px 12px;
  transform: none;
  border: 0;
  border-radius: 14px !important;
  background: #0036ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .01em;
  text-transform: none;
  white-space: nowrap;
}

body.kn-page .tc-card-date::before,
body.kn-page .tc-card-date::after { display: none !important; content: none !important; }

body.kn-page .tc-list-card .card-copy,
body.kn-page #tin-tuc .tc-list-card .card-copy {
  padding: 50px 35px 35px !important;
}

body.kn-page .tc-article-cover { margin-bottom: 40px; }

body.kn-page .tc-article-cover > time {
  top: auto;
  right: 6%;
  bottom: -19px;
  gap: 8px;
  padding: 9px 16px;
  border: 0;
  border-radius: 14px !important;
  background: #0036ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
}

body.kn-page .tc-article-byline .kn-article-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #9db5ff;
  border-radius: 12px;
  background: #eef3ff;
  color: #0036ff;
  font-size: 12px;
  font-weight: 700;
}

/* Search fields retain their blue outline even before focus. */
body.kn-page .tc-sidebar-search form {
  border: 2px solid #0036ff;
  border-radius: 12px !important;
  background: #fff;
  transition: box-shadow .2s ease;
}

body.kn-page .tc-sidebar-search form:focus-within {
  box-shadow: 0 0 0 4px #0036ff24;
}

body.kn-page .tc-sidebar-search input {
  outline: none;
}

body.kn-page .tc-search-form input,
body.kn-page .search-form input[type="search"] {
  border: 1.5px solid #0036ff;
  border-radius: 9px !important;
  background: #fff;
}

body.kn-page .tc-search-form input:focus,
body.kn-page .search-form input[type="search"]:focus {
  outline: 3px solid #0036ff24;
  outline-offset: 1px;
}

@media (max-width: 680px) {
  body.kn-page .tc-card-date,
  body.kn-page .tc-list-card .tc-card-date,
  body.kn-page .tc-article-listing .tc-list-card .tc-card-date {
    right: 11%;
    bottom: -16px;
    left: auto;
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
  }

  body.kn-page .tc-list-card .card-copy,
  body.kn-page #tin-tuc .tc-list-card .card-copy {
    padding: 43px 22px 30px !important;
  }

  body.kn-page .tc-article-cover > time {
    right: 6%;
    bottom: -16px;
    padding: 7px 12px;
    font-size: 11px;
  }
}
