/* Adapted from amna-mohsin/Behance-Portfolio-Clone (MIT) — scoped for channel detail */
.ac-pf-detail { font-family: Poppins, "Noto Sans", system-ui, sans-serif; background: #fff; color: #111; width: 100%; max-width: 100%; }
.ac-pf-section-inner { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(12px, 3vw, 28px); box-sizing: border-box; }
.ac-pf-detail a { text-decoration: none; }
.ac-pf-hero { display: flex; width: 100%; min-height: 320px; }
.ac-pf-hero .ac-pf-left {
  flex: 0 0 min(42%, 420px);
  background: radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 60%), #0d1321;
  display: flex; align-items: center; justify-content: center; position: relative; padding: 2rem 1rem;
}
.ac-pf-hero .ac-pf-photo {
  width: min(220px, 42vw); aspect-ratio: 5/7; border-radius: 110px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.ac-pf-hero .ac-pf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac-pf-hero .ac-pf-right {
  flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 2rem 2.5rem 2rem 2rem;
  background: #fff;
}
.ac-pf-hero .ac-pf-kicker { font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: #666; margin: 0 0 .5rem; }
.ac-pf-hero h1 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 700; line-height: 1.15; }
.ac-pf-hero .ac-pf-tagline { margin: 0 0 1.25rem; color: #444; font-size: 1rem; max-width: 36rem; line-height: 1.5; }
.ac-pf-hero .ac-pf-stats { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 1.25rem; font-size: .9rem; color: #333; }
.ac-pf-hero .ac-pf-stats strong { display: block; font-size: 1.05rem; color: #0d1321; }
.ac-pf-hero .ac-pf-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.ac-pf-btn-dark {
  background: #0d1321; color: #fff; border: 0; padding: 10px 22px; border-radius: 25px;
  font-size: .9rem; font-weight: 500; cursor: pointer; display: inline-block;
}
.ac-pf-btn-dark:hover { opacity: .88; color: #fff; }
.ac-pf-btn-light {
  background: transparent; border: 2px solid #0d1321; color: #0d1321; padding: 8px 20px;
  border-radius: 25px; font-size: .9rem; font-weight: 500; display: inline-block;
}
.ac-pf-btn-light:hover { background: #0d1321; color: #fff; }
.ac-pf-about {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between;
  background: #1a2136; color: #fff; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem);
}
.ac-pf-about-copy { flex: 1 1 320px; max-width: 560px; }
.ac-pf-pill { background: transparent; border: 1px solid #fff; color: #fff; padding: 6px 16px;
  border-radius: 30px; font-size: 13px; margin-bottom: 1.25rem; display: inline-block; }
.ac-pf-about-copy h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.ac-pf-about-copy p { color: #ccc; line-height: 1.65; font-size: .95rem; margin: 0 0 1rem; }
.ac-pf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.ac-pf-tags a {
  font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff;
}
.ac-pf-about-visual { flex: 0 1 380px; display: flex; justify-content: center; }
.ac-pf-about-visual img {
  width: min(360px, 100%); border-radius: 12px; box-shadow: 0 0 25px rgba(255,255,255,.2);
  aspect-ratio: 16/10; object-fit: cover;
}
.ac-pf-projects { background: #1c2230; color: #fff; padding: 2rem 0 2.5rem; }
.ac-pf-projects h2 { font-size: 1.25rem; color: #9ca3af; font-weight: 600; margin: 0 0 1.25rem; text-align: left; }
.ac-pf-related { padding: 2rem 0 2.5rem; background: #f4f4f4; }
.ac-pf-related h2 { font-size: 1.15rem; margin: 0 0 1rem; color: #0d1321; text-align: left; }
.ac-pf-grid {
  display: grid; width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 14px; align-items: stretch;
}
.ac-pf-card {
  display: flex; flex-direction: column; width: 100%; min-width: 0;
  background: #ececec; border-radius: 8px; overflow: hidden; color: #111;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ac-pf-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.35); color: #111; }
.ac-pf-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; flex-shrink: 0; background: #222; }
.ac-pf-card-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ac-pf-card-body h3 { font-size: .88rem; margin: 0; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-pf-card-body p { margin: 0; font-size: .75rem; color: #555; line-height: 1.35; }
.ac-pf-detail--modal .ac-pf-hero { min-height: 260px; }
.ac-pf-detail--modal .ac-pf-hero .ac-pf-left { flex: 0 0 38%; }
@media (max-width: 900px) {
  .ac-pf-hero { flex-direction: column; min-height: 0; }
  .ac-pf-hero .ac-pf-left { flex: none; width: 100%; padding: 2rem 1.5rem 1rem; }
  .ac-pf-hero .ac-pf-right { padding: 1.25rem 1.5rem 2rem; }
  .ac-pf-about { flex-direction: column; text-align: left; }
}