:root {
  --pt-ink: #16051f;
  --pt-muted: #66576f;
  --pt-line: #eadff1;
  --pt-soft: #fbf7fd;
  --pt-purple: #52007a;
  --pt-purple-dark: #31004b;
  --pt-orange: #ff9f1c;
  --pt-white: #ffffff;
  --pt-shadow: 0 18px 50px rgba(82, 0, 122, 0.12);
}

body {
  color: var(--pt-ink);
  background: var(--pt-white);
  font-family: Inter, Arial, sans-serif;
}

.pt-blog-header,
.pt-blog-footer,
.pt-blog-main {
  padding-right: clamp(20px, 5vw, 64px);
  padding-left: clamp(20px, 5vw, 64px);
}

.pt-blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--pt-line);
  backdrop-filter: blur(14px);
}

body.admin-bar .pt-blog-header {
  top: 32px;
}

.pt-blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pt-ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.pt-blog-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.pt-blog-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.pt-blog-nav a {
  color: var(--pt-muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.pt-blog-nav a:hover,
.pt-blog-nav .is-active {
  color: var(--pt-purple);
}

.pt-blog-main {
  padding-top: 72px;
  padding-bottom: 84px;
}

.pt-blog-hero {
  max-width: 920px;
  margin-bottom: 38px;
}

.pt-eyebrow {
  margin: 0 0 12px;
  color: var(--pt-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pt-blog-title {
  margin: 0 0 16px;
  color: var(--pt-ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
}

.pt-blog-intro {
  max-width: 760px;
  margin: 0;
  color: var(--pt-muted);
  font-size: 18px;
  line-height: 1.7;
}

.pt-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pt-post-card {
  overflow: hidden;
  background: var(--pt-white);
  border: 1px solid var(--pt-line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(82, 0, 122, 0.07);
}

.pt-post-card a {
  color: inherit;
  text-decoration: none;
}

.pt-post-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, var(--pt-purple), var(--pt-purple-dark));
}

.pt-post-card-body {
  padding: 22px;
}

.pt-post-meta {
  margin: 0 0 10px;
  color: var(--pt-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pt-post-card h2,
.pt-single h1 {
  margin-top: 0;
  color: var(--pt-ink);
  line-height: 1.14;
}

.pt-post-card h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.pt-post-card p {
  margin: 0;
  color: var(--pt-muted);
  line-height: 1.7;
}

.pt-read-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--pt-purple);
  font-weight: 800;
}

.pt-pagination {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 42px;
}

.pt-pagination a,
.pt-pagination span {
  min-width: 42px;
  padding: 9px 12px;
  color: var(--pt-purple);
  border: 1px solid var(--pt-line);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.pt-pagination .current {
  color: var(--pt-white);
  background: var(--pt-purple);
  border-color: var(--pt-purple);
}

.pt-single {
  max-width: 920px;
  margin: 0 auto;
}

.pt-single h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 58px);
}

.pt-single-featured {
  width: 100%;
  max-height: 520px;
  margin: 30px 0;
  border-radius: 8px;
  object-fit: cover;
}

.pt-single-content {
  color: var(--pt-ink);
  font-size: 18px;
  line-height: 1.8;
}

.pt-single-content p,
.pt-single-content ul,
.pt-single-content ol {
  margin-bottom: 1.2em;
}

.pt-single-content h2,
.pt-single-content h3 {
  margin-top: 1.8em;
  color: var(--pt-ink);
  line-height: 1.18;
}

.pt-single-content a {
  color: var(--pt-purple);
  font-weight: 700;
}

.pt-back-link {
  display: inline-flex;
  margin-top: 34px;
  color: var(--pt-purple);
  font-weight: 800;
  text-decoration: none;
}

.pt-empty {
  max-width: 720px;
  padding: 28px;
  background: var(--pt-soft);
  border: 1px solid var(--pt-line);
  border-radius: 8px;
}

.pt-blog-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--pt-muted);
  border-top: 1px solid var(--pt-line);
  font-size: 14px;
}

@media (max-width: 980px) {
  .pt-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pt-blog-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .pt-blog-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

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

  .pt-blog-main {
    padding-top: 46px;
  }
}
