
.pcf-tr-library{
  --pcf-ink:#2f2520;
  --pcf-muted:#7a6d66;
  --pcf-line:rgba(75,53,42,.12);
  --pcf-accent:#d18460;
  --pcf-accent-dark:#af6045;
  max-width:1180px;
  margin:34px auto;
  padding:clamp(20px,4vw,38px);
  border-radius:34px;
  background:
    radial-gradient(circle at top left, rgba(244,201,121,.30), transparent 34%),
    linear-gradient(135deg,#fffaf5 0%,#fff 52%,#f9efe7 100%);
  box-shadow:0 24px 70px rgba(72,45,31,.10);
  color:var(--pcf-ink);
}
.pcf-tr-library-head{
  max-width:760px;
  margin:0 auto 26px;
  text-align:center;
}
.pcf-tr-library-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 13px;
  border-radius:999px;
  background:#fff0e4;
  color:var(--pcf-accent-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.pcf-tr-library-head h2{
  margin:12px 0 10px;
  font-size:clamp(28px,4vw,48px);
  line-height:1.05;
  letter-spacing:-.04em;
  color:var(--pcf-ink);
}
.pcf-tr-library-head p{
  margin:0 auto;
  max-width:620px;
  color:var(--pcf-muted);
  font-size:16px;
  line-height:1.6;
}
.pcf-resource-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.pcf-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:235px;
  border:1px solid var(--pcf-line);
  border-radius:26px;
  padding:18px;
  background:rgba(255,255,255,.78);
  box-shadow:0 16px 38px rgba(58,36,25,.07);
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pcf-card:before{
  content:"";
  position:absolute;
  inset:auto -38px -55px auto;
  width:130px;
  height:130px;
  border-radius:999px;
  background:rgba(209,132,96,.11);
  pointer-events:none;
}
.pcf-card:hover{
  transform:translateY(-3px);
  border-color:rgba(209,132,96,.28);
  box-shadow:0 22px 48px rgba(58,36,25,.11);
}
.pcf-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.pcf-icon,.pcf-cat-icon{
  display:flex;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:#fff0e4;
  font-size:24px;
  object-fit:contain;
  padding:8px;
}
.pcf-cat-chip{
  max-width:145px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff7ef;
  color:var(--pcf-accent-dark);
  font-size:11px;
  font-weight:900;
  line-height:1.2;
  text-align:right;
}
.pcf-card h3{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.18;
  letter-spacing:-.02em;
  color:var(--pcf-ink);
}
.pcf-card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:auto;
  margin-bottom:14px;
  color:var(--pcf-muted);
  font-size:13px;
  font-weight:800;
}
.pcf-card-meta > span,
.pcf-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  border-radius:999px;
  padding:5px 9px;
  background:#fff2e7;
  color:#6b5b52;
}
.pcf-badge{
  margin:0;
  background:#eef4ff;
  color:#315fba;
  font-size:11px;
  font-weight:900;
}
.pcf-badge-pdf{
  background:#ffecee;
  color:#c24f5d;
}
.pcf-badge-exe{
  background:#f0edff;
  color:#6d55c7;
}
.pcf-btn{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:46px;
  padding:10px 14px;
  background:linear-gradient(135deg,var(--pcf-accent),var(--pcf-accent-dark));
  color:#fff!important;
  border-radius:999px;
  text-decoration:none!important;
  font-weight:900;
  box-shadow:0 14px 28px rgba(175,96,69,.22);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.pcf-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 18px 34px rgba(175,96,69,.28);
}
.pcf-tr-wrap,.pcf-cat,.pcf-grid,.pcf-count{display:contents;}
@media(max-width:1100px){
  .pcf-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:780px){
  .pcf-tr-library{margin:24px 12px;padding:22px 16px;border-radius:28px;}
  .pcf-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .pcf-card{min-height:220px;padding:15px;border-radius:22px;}
  .pcf-card h3{font-size:16px;}
  .pcf-cat-chip{font-size:10px;max-width:118px;}
  .pcf-btn{min-height:44px;font-size:14px;}
}
@media(max-width:520px){
  .pcf-resource-grid{grid-template-columns:1fr;}
  .pcf-card{min-height:auto;}
  .pcf-card-top{align-items:flex-start;}
  .pcf-card h3{font-size:18px;}
}
