/* pf-theme/guides-landing.css
   Guides listing page (Mock 1)
   Scoped styles only for the template output
*/

.pf-guides{
  padding: 22px 0 70px;
}

.pf-guides,
.pf-guides *{
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.pf-guides-wrap{
  max-width: var(--pf-max-w, 1200px);
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.pf-guides-hero{
  margin-top: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow: hidden;
}

.pf-guides-hero-inner{
  padding: 26px 22px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: center;
}

.pf-guides-kicker{
  color: rgba(203,213,245,.75);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
}

.pf-guides-title{
  margin: 10px 0 8px;
  font-size: 42px;
  line-height: 1.12;
  color: var(--pf-text-main, #f9fafb);
}

.pf-guides-sub{
  color: rgba(203,213,245,.75);
  max-width: 60ch;
  font-size: 15px;
}

.pf-guides-back{
  margin-top: 12px;
}

.pf-guides-back a{
  color: rgba(203,213,245,.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(37,150,190,.25);
  padding-bottom: 2px;
}

.pf-guides-back a:hover{
  color: #fff;
  border-bottom-color: rgba(37,150,190,.65);
}

.pf-guides-hero-card{
  background: rgba(11,18,32,.58);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 16px;
}

.pf-guides-hero-card b{
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.pf-guides-hero-card ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(203,213,245,.78);
}

.pf-guides-hero-card li{
  margin: 6px 0;
}

/* GRID */
.pf-guides-grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* MAIN cards: 2 per row */
.pf-guides-card{
  grid-column: span 6;
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;

  background: var(--pf-glass-bg, rgba(11,18,32,.78));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 16px;
  color: var(--pf-text-main, #f9fafb);

  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.pf-guides-card::before{
  content:"";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(420px 140px at 20% 0%, rgba(37,150,190,.18), transparent 60%);
  opacity: .9;
}

.pf-guides-card:hover{
  border-color: rgba(37,150,190,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

.pf-guides-card:focus-visible{
  outline: none;
  box-shadow:
    0 18px 50px rgba(0,0,0,.35),
    0 0 0 3px rgba(37,150,190,.22);
}

.pf-guides-card-title{
  margin: 0 0 6px;
  font-size: 18px;
  position: relative;
}

.pf-guides-card-desc{
  margin: 0;
  color: rgba(203,213,245,.72);
  position: relative;
}

/* TAGS */
.pf-guides-meta{
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
}

.pf-guides-tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(203,213,245,.75);
}

.pf-guides-tag--count{
  border-color: rgba(37,150,190,.25);
  background: rgba(37,150,190,.10);
  color: rgba(235,245,255,.92);
}

/* ARROW */
.pf-guides-go{
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.03);
  z-index: 1;
}

.pf-guides-go span{
  transform: translateX(1px);
}

/* GROUP view list */
.pf-guides-grid--list .pf-guides-card{
  grid-column: span 12;
}

.pf-guides-card--wide{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pf-guides-go--right{
  position: static;
  flex: 0 0 auto;
}

/* Responsive */
@media (max-width: 980px){
  .pf-guides-wrap{ padding: 0 14px; }
  .pf-guides-hero-inner{ grid-template-columns: 1fr; }
  .pf-guides-title{ font-size: 34px; }
  .pf-guides-card{ grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce){
  .pf-guides-card{ transition: none !important; }
}
