@font-face {
  font-family: "Avenir Next Condensed";
  src: url("../fonts/AvenirNextCondensed-Regular.woff") format("woff");
}

:root {
  --tf-purple: #6f35d7;
  --tf-purple-dark: #2b185f;
  --tf-orange: #ff7a18;
  --tf-yellow: #ffbd2f;
  --tf-ink: #28194f;
  --tf-muted: #716a86;
  --tf-soft: #fbf4ff;
}

* {
  letter-spacing: 0;
}

body {
  margin: 0;
  color: var(--tf-ink);
  font-family: "Avenir Next Condensed", Arial, Helvetica, sans-serif;
  background: #fff;
}

a {
  text-decoration: none;
}

.tf-blog-header {
  background: rgba(111, 53, 215, 0.96);
  box-shadow: 0 12px 32px rgba(42, 20, 106, 0.16);
}

.tf-blog-header .navbar {
  min-height: 72px;
}

.tf-blog-header .navbar-brand img {
  width: 126px;
  max-height: 44px;
  object-fit: contain;
}

.tf-blog-header .nav-link {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.tf-blog-header .nav-link:hover,
.tf-blog-header .nav-link.active {
  color: var(--tf-yellow);
}

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

.navbar-toggler-icon {
  filter: invert(1);
}

.tf-blog-list-hero,
.tf-post-hero {
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.13) 0 48px, transparent 49px),
    linear-gradient(145deg, #813ce4 0%, #6d35d8 48%, #5d2bc8 100%);
}

.tf-blog-list-hero h1,
.tf-post-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(54px, 9vw, 104px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.tf-post-hero h1 {
  margin: 0 auto;
  font-size: clamp(42px, 6vw, 76px);
}

.tf-blog-list-hero p,
.tf-post-hero p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 22px;
}

.tf-post-hero p {
  margin-right: auto;
  margin-left: auto;
}

.tf-kicker {
  margin-bottom: 10px;
  color: var(--tf-yellow);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.tf-blog-list {
  background:
    radial-gradient(circle at 12px 12px, rgba(111, 53, 215, 0.07) 2px, transparent 3px),
    var(--tf-soft);
  background-size: 44px 44px;
}

.tf-blog-card {
  overflow: hidden;
  border: 2px solid rgba(111, 53, 215, 0.25);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(61, 25, 132, 0.08);
}

.tf-blog-card img {
  width: 100%;
  aspect-ratio: 1 / 0.68;
  object-fit: cover;
}

.tf-blog-card-body {
  padding: 26px;
}

.tf-blog-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--tf-muted);
  font-size: 14px;
  font-weight: 800;
}

.tf-blog-card h2 {
  min-height: 86px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.tf-blog-card h2 a {
  color: var(--tf-ink);
}

.tf-blog-card p {
  color: var(--tf-muted);
}

.tf-read-more {
  color: var(--tf-purple);
  font-weight: 900;
  text-transform: uppercase;
}

.tf-post-image {
  display: block;
  width: min(980px, 100%);
  max-height: 520px;
  margin: -54px auto 0;
  border: 10px solid #fff;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(39, 19, 92, 0.2);
}

.tf-blog-content article {
  max-width: 850px;
  margin: 0 auto;
  color: #433a62;
  font-size: 21px;
  line-height: 1.7;
}

.tf-blog-content h1,
.tf-blog-content h2,
.tf-blog-content h3,
.tf-blog-content h4 {
  color: var(--tf-purple);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.tf-blog-content h2 {
  margin-top: 42px;
  font-size: 36px;
}

.tf-blog-content h3 {
  margin-top: 32px;
  font-size: 28px;
}

.tf-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.tf-blog-content blockquote {
  margin: 34px 0;
  padding: 22px 28px;
  border-left: 6px solid var(--tf-orange);
  color: var(--tf-purple-dark);
  background: var(--tf-soft);
}

.tf-empty {
  min-height: 52vh;
}

.tf-blog-footer {
  color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(rgba(37, 25, 74, 0.94), rgba(37, 25, 74, 0.97)),
    url("../images/footer-bg.jpg") center / cover;
}

.tf-footer-logo {
  width: 132px;
  margin-bottom: 18px;
}

.tf-blog-footer h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.tf-blog-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.tf-blog-footer a:hover {
  color: var(--tf-yellow);
}

.tf-social {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--tf-orange);
}

.tf-social i {
  font-size: 18px;
  line-height: 1;
}

.tf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 767.98px) {
  .tf-blog-list-hero,
  .tf-post-hero {
    padding: 68px 0;
  }

  .tf-blog-list-hero h1,
  .tf-post-hero h1 {
    font-size: 44px;
  }

  .tf-blog-card h2 {
    min-height: auto;
  }

  .tf-blog-content article {
    font-size: 18px;
  }
}
