/* Blog listing + single */

.pt-blog {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.pt-blog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pt-pad-x, 1.5rem);
}

.pt-blog-head {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.pt-blog-head h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  color: #1e1f45;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.pt-blog-head p {
  color: #6b6c86;
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
}

.pt-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pt-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.pt-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(66, 68, 151, 0.1);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 12px 35px rgba(30, 31, 69, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pt-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(30, 31, 69, 0.1);
}

.pt-blog-card-media {
  display: block;
  overflow: hidden;
  background: #eef0f8;
  aspect-ratio: 16 / 10;
}

.pt-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.pt-blog-card:hover .pt-blog-card-media img {
  transform: scale(1.05);
}

.pt-blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.pt-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: #8b8ca8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pt-blog-meta a {
  color: #a47b1a;
  text-decoration: none;
}

.pt-blog-card h2 {
  margin: 0 0 0.65rem;
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pt-blog-card h2 a {
  color: #1e1f45;
  text-decoration: none;
}

.pt-blog-card h2 a:hover {
  color: #424497;
}

.pt-blog-card p {
  flex: 1;
  margin: 0 0 1.15rem;
  color: #5c5d78;
  font-size: 0.95rem;
  line-height: 1.65;
}

.pt-blog-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a47b1a;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.pt-blog-more:hover {
  color: #424497;
}

.pt-blog-pager {
  margin-top: 2.5rem;
}

.pt-blog-pager .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pt-blog-pager a,
.pt-blog-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(66, 68, 151, 0.12);
  background: #fff;
  color: #424497;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.pt-blog-pager .current {
  background: #424497;
  border-color: #424497;
  color: #fff;
}

/* Single post */
.pt-single {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.pt-single-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pt-pad-x, 1.5rem);
}

.pt-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: #8b8ca8;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pt-single-meta a {
  color: #a47b1a;
  text-decoration: none;
}

.pt-single h1 {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1e1f45;
  margin: 0 0 1.25rem;
}

.pt-single-featured {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(30, 31, 69, 0.1);
}

.pt-single-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.pt-single-content {
  color: #3a3b55;
  font-size: 1.05rem;
  line-height: 1.75;
}

.pt-single-content p {
  margin: 0 0 1.2rem;
}

.pt-single-content h2,
.pt-single-content h3 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: #1e1f45;
  margin: 1.85rem 0 0.75rem;
}

.pt-single-content ul,
.pt-single-content ol {
  margin: 0 0 1.2rem 1.25rem;
}

.pt-single-content a {
  color: #424497;
  font-weight: 600;
}

.pt-single-content img {
  border-radius: 1rem;
  max-width: 100%;
  height: auto;
}

.pt-single-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #eceef5;
}

@media (min-width: 640px) {
  .pt-single-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.pt-single-nav a {
  display: block;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(66, 68, 151, 0.1);
  border-radius: 1rem;
  background: #f7f8fc;
  color: #1e1f45;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pt-single-nav a:hover {
  border-color: #424497;
  background: #eef0f8;
}

.pt-single-nav span {
  display: block;
  margin-bottom: 0.25rem;
  color: #a47b1a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pt-single-nav strong {
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
}

.pt-single-nav .is-next {
  text-align: right;
}
