:root{
  --bg: #f4c44b;          
  --card-bg: #fff;
  --muted: #6b6b6b;
  --text: #111;
  --accent: #f4c44b;    
  --card-width: 360px;
  --radius: 18px;
  --shadow-offset-x: 12px;
  --shadow-offset-y: 18px;
  --shadow-color: #0b0b0b;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
}

.page{
 width:100%;
  max-width:1200px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.card{
  width:var(--card-width);
  background:var(--card-bg);
  border-radius:var(--radius);
  overflow:visible;
  position:relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
 
}
.card::before{
  content:"";
  position:absolute;
  left: calc(var(--shadow-offset-x));
  top: calc(var(--shadow-offset-y));
  right: -6px; 
  bottom: -6px;
  background: var(--shadow-color);
  border-radius: calc(var(--radius) + 6px);
  z-index:-2;
  transform: translate(8px, 6px);
  filter: blur(0.6px);
}  

.card-media{
  padding:18px;
  border-top-left-radius:var(--radius);
  border-top-right-radius:var(--radius);
  background:transparent;
}
.card-media img{
  width:100%;
  height:150px;
  object-fit:cover;
  display:block;
  border-radius:12px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.06) inset;
}
.card-body{
  padding:18px 20px 22px;
}
.tag{
  display:inline-block;
  background:var(--accent);
  color:#111;
  font-weight:600;
  font-size:13px;
  padding:6px 10px;
  border-radius:8px;
  margin-bottom:10px;
}
.date{
  margin:8px 0 14px;
  font-size:13px;
  color:var(--muted);
}
.title{
  font-size:20px;
  margin:0 0 12px;
  color:var(--text);
  line-height:1.15;
  font-weight:700;
}
.avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  object-fit:cover;
  display:block;
  border:2px solid rgba(0,0,0,0.06);
}
.author-name{
  font-weight:600;
  font-size:14px;
  color:var(--text);
}

@media (max-width:420px){
  :root{ --card-width: 320px; }
  .card-media img{ height:140px; }
}


@media (min-width:900px){
  body{ padding:80px; }
}