@font-face {
  font-family: "Tourpoka Bengali";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-sans-bengali-400.ttf") format("truetype");
}
@font-face {
  font-family: "Tourpoka Bengali";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/noto-sans-bengali-600.ttf") format("truetype");
}
/* Readable Bengali typography and category-first discovery. */
body.tp-site {
  font-family: "Tourpoka Bengali", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
.tp-site h1,
.tp-site h2,
.tp-site h3,
.tp-site input,
.tp-site button,
.tp-site select {
  font-family: "Tourpoka Bengali", sans-serif;
}
.tp-site h1,
.tp-site h2,
.tp-site h3 {
  font-weight: 600;
  line-height: 1.6;
}
.tp-site .tp-card h3 {
  font-size: 23px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 0;
}
.tp-site .tp-card-body > p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--tp-muted);
}
.tp-site .tp-card-body {
  padding: 23px;
}
.tp-site .tp-card-meta {
  font-size: 13px;
  padding-top: 17px;
}
.tp-site .tp-eyebrow {
  font-size: 13px;
  font-weight: 500;
}
.tp-site .tp-content {
  font-size: 19px;
  line-height: 2.05;
}
.tp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tp-category-card {
  position: relative;
  padding: 28px;
  border-radius: 19px;
  background: var(--tp-soft);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.tp-category-card h3 {
  font-size: 25px;
  margin: 0;
}
.tp-category-card h3 a {
  color: var(--tp-ink);
  text-decoration: none;
}
.tp-category-symbol {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  color: var(--tp-accent);
}
.tp-category-card p {
  color: var(--tp-muted);
  font-size: 15px;
}
.tp-category-children {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 15px;
}
.tp-category-children a {
  padding: 7px 12px;
  border-radius: 100px;
  background: var(--tp-surface);
  font-size: 14px;
  text-decoration: none;
}
.tp-category-more {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-decoration: none;
  font-size: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--tp-line);
}
.tp-category-header {
  max-width: 850px;
  margin: 25px 0 35px;
}
.tp-category-header h1 {
  margin: 10px 0;
}
.tp-category-header p {
  color: var(--tp-muted);
}
.tp-infinite {
  text-align: center;
  padding: 36px 0 10px;
  position: relative;
}
.tp-feed-status {
  margin-top: 17px;
  font-size: 14px;
  color: var(--tp-muted);
}
.tp-feed-sentinel {
  display: block;
  height: 2px;
  width: 100%;
}
.tp-loading-line {
  height: 3px;
  background: var(--tp-soft);
  max-width: 240px;
  margin: 0 auto 20px;
  border-radius: 4px;
  overflow: hidden;
}
.tp-loading-line:after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: var(--tp-accent);
  animation: tp-loading 1s ease-in-out infinite alternate;
}
.tp-load-more:disabled {
  opacity: 0.65;
  cursor: wait;
}
@keyframes tp-loading {
  to {
    transform: translateX(150%);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .tp-card,
  .tp-category-card {
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease;
  }
  .tp-card-image img {
    transition: transform 0.45s ease;
  }
  .tp-card:hover,
  .tp-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px #183b2910;
  }
  .tp-card:hover .tp-card-image img {
    transform: scale(1.035);
  }
}
@media (max-width: 900px) {
  .tp-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 550px) {
  .tp-category-grid {
    grid-template-columns: 1fr;
  }
  .tp-site .tp-card h3 {
    font-size: 22px;
  }
  .tp-site .tp-card-body > p {
    font-size: 16px;
  }
  .tp-site .tp-hero h1 {
    font-size: 36px;
    line-height: 1.6;
  }
  .tp-category-card {
    padding: 24px;
  }
  .tp-category-children a {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tp-loading-line:after {
    animation: none;
  }
}
