/* DigyGo blog — listing / homepage styles.
   Pairs with site.css (compiled Tailwind for nav/footer/CTA). */
.blog-filter-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-filter-btn.active {
  background-color: #FF6233;
  color: white;
  box-shadow: 0 4px 14px rgba(255, 98, 51, 0.4);
}
.blog-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(255, 98, 51, 0.15);
}
.blog-card-img-container {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.blog-card-img-container img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card:hover .blog-card-img-container img,
.blog-card:hover .blog-card-img-container .pc-thumb {
  transform: scale(1.05);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1.45fr 1fr;
  }
}
.featured-img-container {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}
.featured-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Generated (no-photo) post thumbnails: black bg + texture + wording, 16:9 */
.pc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background-color: #0a0a0c;
  background-image:
    radial-gradient(circle at 86% 8%, rgba(255,98,51,0.38), transparent 46%),
    radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.4px);
  background-size: auto, 18px 18px;
  background-position: 0 0, 0 0;
  transition: transform 0.5s ease;
}
.pc-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0px, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 11px);
  mix-blend-mode: overlay;
  z-index: 0;
}
.pc-thumb-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.7);
}
.pc-thumb-tag::before {
  content: "// ";
  color: #FF8A5B;
}
.pc-thumb--titled {
  background-color: #000;
}
.pc-thumb-blob {
  position: absolute;
  top: 50%;
  width: 55%;
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.85;
  pointer-events: none;
}
.pc-thumb-blob--left {
  left: -22%;
  background:
    radial-gradient(circle at 62% 32%, #ffd166, transparent 42%),
    radial-gradient(circle at 32% 68%, #ff6233, transparent 50%),
    radial-gradient(circle at 72% 78%, #e0303d, transparent 55%);
}
.pc-thumb-blob--right {
  right: -24%;
  background:
    radial-gradient(circle at 38% 30%, #ffd166, transparent 42%),
    radial-gradient(circle at 66% 62%, #ff6233, transparent 50%),
    radial-gradient(circle at 28% 76%, #e0303d, transparent 55%);
}
.pc-thumb-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, transparent 80%);
  pointer-events: none;
}
.pc-thumb-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pc-thumb--md .pc-thumb-title {
  font-size: 1.15rem;
  padding: 1.1rem 1.75rem;
}
.pc-thumb--lg .pc-thumb-title {
  font-size: 1.5rem;
  padding: 1.25rem 2.5rem;
}
@media (min-width: 768px) {
  .pc-thumb--lg .pc-thumb-title { font-size: 2.1rem; padding: 1.5rem 4.5rem; }
}

/* --- Utility polyfills (classes used on the page but not in compiled CSS) --- */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-2 { padding-top: 0.5rem; }
.w-1 { width: 0.25rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.overflow-x-auto { overflow-x: auto; }
.text-\[9px\] { font-size: 9px; }
.rounded-\[2rem\] { border-radius: 2rem; }
.bg-\[\#FF6233\]\/30 { background-color: rgb(255 98 51 / 0.3); }
.bg-\[\#FF6233\]\/40 { background-color: rgb(255 98 51 / 0.4); }
.border-\[\#FF6233\]\/5 { border-color: rgb(255 98 51 / 0.05); }
.hover\:border-\[\#FF6233\]\/50:hover { border-color: rgb(255 98 51 / 0.5); }
.hover\:shadow-\[0_20px_50px_-20px_rgba\(255\,98\,51\,0\.25\)\]:hover { box-shadow: 0 20px 50px -20px rgba(255,98,51,0.25); }
.hover\:text-black:hover { color: #000; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
@media (min-width: 768px) {
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:gap-3 { gap: 0.75rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
