:root{
  --ty-bg:#0e0f17;
  --ty-text:#f2f3ff;
  --ty-muted:#a9add6;
  --ty-accent:#6d8cff;
  --ty-border:#22263a;
  --ty-radius:16px;
  --ty-shadow:0 8px 24px rgba(0,0,0,.45);
}

.ty-post{
  max-width:1100px;
  margin:50px auto;
  padding:0 20px;
  color:var(--ty-text);
}

.ty-post__wrapper{
  display:flex;
  gap:30px;
  align-items:flex-start;
  background:var(--ty-bg);
  border:1px solid var(--ty-border);
  border-radius:var(--ty-radius);
  box-shadow:var(--ty-shadow);
  overflow:hidden;
}

.ty-post__cover{
  flex:0 0 45%;
  margin:0;
  height:100%;
  border-right:1px solid var(--ty-border);
}
.ty-post__cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.ty-post__body{
  flex:1;
  padding:28px 26px;
}

.ty-post__title{
  font-size:clamp(1.8rem,2.5vw,2 rem);
color:#fff;
  line-height:1.25;
}

.ty-post__meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:var(--ty-muted);
  font-size:.95rem;
  margin-bottom:16px;
}
.ty-meta__item i{
  margin-right:6px;
  opacity:.8;
  color:var(--ty-accent);
}

.ty-post__content{
  background:#16192a;
  border:1px solid var(--ty-border);
  border-radius:var(--ty-radius);
  padding:20px 24px;
  box-shadow:var(--ty-shadow);
  font-size:1.05rem;
  line-height:1.75;
}
.ty-post__content p{margin:0 0 1rem}
.ty-post__content h2{margin:1.4rem 0 .7rem;font-size:1.4rem}
.ty-post__content a{color:var(--ty-accent);text-decoration:none}
.ty-post__content a:hover{text-decoration:underline}

.ty-post__excerpt{
  margin:18px 0 0;
  font-style:italic;
  color:var(--ty-muted);
}

.ty-post__share{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:20px;
}
.ty-btn{
  padding:8px 14px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--ty-accent),#a86dff);
  color:#fff;
  text-decoration:none;
  font-size:.95rem;
  border:none;
  transition:transform .2s;
}
.ty-btn:hover{transform:translateY(-2px);filter:brightness(1.1)}

@media(max-width:900px){
  .ty-post__wrapper{flex-direction:column}
  .ty-post__cover{border-right:none;border-bottom:1px solid var(--ty-border)}
  .ty-post__cover img{height:auto}
}
