:root{
  --ps-color-bg:#f8f4ee;
  --ps-color-surface:#fffaf4;
  --ps-color-border:#eadfce;
  --ps-color-text:#3f332b;
  --ps-color-muted:#7b6b5d;
  --ps-color-accent:#c8895a;

  --ps-radius-card:22px;
  --ps-shadow-card:0 10px 28px rgba(80, 55, 35, .08);
}

.ps-card{
  background:var(--ps-color-surface);
  border:1px solid var(--ps-color-border);
  border-radius:var(--ps-radius-card);
  box-shadow:var(--ps-shadow-card);
  color:var(--ps-color-text);
}

/* ========================================
   Breadcrumb
======================================== */

.ps-breadcrumb{
  margin-bottom:28px;
  font-size:13px;
  line-height:1.6;
  color:#777;
}

.ps-breadcrumb a{
  color:#777;
  text-decoration:none;
}

.ps-breadcrumb a:hover{
  color:#111;
}

.ps-breadcrumb-sep{
  margin:0 8px;
  color:#bbb;
}

.ps-breadcrumb span{
  color:#999;
}

/* ========================================
   Author
======================================== */

.ps-learn-author{
  margin-top:80px;
}

.ps-learn-author h2{
  font-size:22px;
  margin:0 0 18px;
}

.ps-author-card{
  display:flex;
  gap:22px;
  align-items:flex-start;
  background:#fafafa;
  border-radius:20px;
  padding:28px;
}

.ps-author-photo{
  flex:0 0 104px;
}

.ps-author-photo img{
  width:104px;
  height:104px;
  object-fit:cover;
  border-radius:16px;
  display:block;
}

.ps-author-body{
  flex:1;
}

.ps-author-role{
  margin:0 0 4px;
  font-size:13px;
  color:#777;
  font-weight:700;
}

.ps-author-name{
  font-size:22px;
  font-weight:800;
  line-height:1.4;
  margin-bottom:10px;
}

.ps-author-card p{
  font-size:15px;
  line-height:1.9;
  color:#555;
  margin:0;
}

.ps-author-card a{
  display:inline-block;
  margin-top:14px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}

@media (max-width:600px){
  .ps-author-card{
    display:block;
    padding:24px;
  }

  .ps-author-photo{
    margin-bottom:16px;
  }
}

/* ========================================
   Container
======================================== */

.ps-container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 20px;
}

.ps-content{
  width:100%;
  max-width:720px;
  margin:0 auto;
  padding:0 20px;
}

/* ========================================
   Section
======================================== */

.ps-section{
  margin-top:72px;
}

.ps-section-header{
  margin-bottom:24px;
}

.ps-section-title{
  margin:0;
  font-size:24px;
  line-height:1.45;
  font-weight:800;
  letter-spacing:.02em;
}

.ps-section-lead{
  max-width:720px;
  margin:12px 0 0;
  font-size:16px;
  line-height:1.9;
  color:#666;
}

/* ========================================
   Card / Grid
======================================== */

.ps-card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}

.ps-card{
  display:block;
  height:100%;
  background:#fff;
  border:1px solid #eee;
  border-radius:20px;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}

.ps-card-link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}

.ps-card-image{
  aspect-ratio:4 / 3;
  overflow:hidden;
  background:#f7f7f7;
}

.ps-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.ps-card-body{
  padding:18px;
}

.ps-card-title{
  margin:0;
  font-size:17px;
  line-height:1.55;
  font-weight:800;
}

.ps-card-text{
  margin:10px 0 0;
  font-size:14px;
  line-height:1.8;
  color:#666;
}

.ps-card-meta{
  margin:0 0 8px;
  font-size:13px;
  line-height:1.6;
  color:#888;
}

/* ========================================
   Chip / Empty
======================================== */

.ps-chip{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:5px 12px;
  background:#f6f2ec;
  font-size:13px;
  line-height:1.4;
  font-weight:700;
  color:#6b5b45;
}

.ps-empty{
  padding:32px;
  border-radius:20px;
  background:#fafafa;
  font-size:15px;
  line-height:1.8;
  color:#666;
  text-align:center;
}

/* ========================================
   Responsive
======================================== */

@media (max-width:900px){
  .ps-card-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:768px){
  .ps-container,
  .ps-content{
    padding:0 16px;
  }

  .ps-section{
    margin-top:56px;
  }

  .ps-section-title{
    font-size:22px;
  }

  .ps-section-lead{
    font-size:15px;
  }
}

@media (max-width:600px){
  .ps-card-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .ps-card-body{
    padding:16px;
  }
}