:root{
  --bg:#0b0e10;
  --panel:#14181c;
  --panel2:#1a1f24;
  --text:#f3f4f5;
  --muted:#aeb6bf;
  --red:#e4231c;
  --line:#30373f;
}

*{
  box-sizing:border-box;
}

html{
  background:var(--bg);
}

body{
  margin:0;
  background:
    radial-gradient(circle at 75% 20%,rgba(228,35,28,.08),transparent 28%),
    linear-gradient(180deg,#0a0d10 0%,#0b1115 100%);
  color:var(--text);
  font-family:Arial,sans-serif;
}

a{
  color:inherit;
  text-decoration:none;
}

.tips-shell{
  width:min(1460px,92%);
  margin:0 auto;
  padding:42px 0 70px;
}

.tips-hero{
  min-height:500px;
  display:grid;
  grid-template-columns:minmax(380px,40%) 1fr;
  gap:48px;
  align-items:center;
  margin-bottom:36px;
}

.tips-hero img{
  width:100%;
  height:460px;
  object-fit:contain;
  object-position:center;
  display:block;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--panel);
}

.tips-hero > div{
  padding-right:28px;
}

.eyebrow{
  color:var(--red);
  font-size:15px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 18px;
}

.tips-hero h1{
  margin:0;
  font-size:clamp(52px,6vw,88px);
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:800;
}

.tips-hero h1:after{
  content:"";
  display:block;
  width:105px;
  height:4px;
  margin:26px 0;
  border-radius:4px;
  background:var(--red);
}

.tips-copy{
  color:var(--muted);
  font-size:clamp(18px,1.5vw,23px);
  line-height:1.55;
  max-width:850px;
  margin:0;
}

.tips-tools{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin:24px 0;
}

.tips-tools a{
  border:1px solid var(--line);
  background:var(--panel);
  color:#fff;
  padding:11px 16px;
  border-radius:5px;
  font-weight:700;
}

.tips-tools a.active{
  background:var(--red);
  border-color:var(--red);
}

.tips-search{
  margin-left:auto;
  min-width:260px;
}

.tips-search input{
  width:100%;
  padding:12px 14px;
  background:#101417;
  color:#fff;
  border:1px solid var(--line);
  border-radius:5px;
}

.tips-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  padding-bottom:60px;
}

.tip-card{
  background:var(--panel);
  border:1px solid var(--line);
  overflow:hidden;
  border-radius:8px;
}

.tip-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  background:#222;
}

.tip-card-body{
  padding:20px;
}

.tip-card .cat{
  color:var(--red);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

.tip-card h2{
  font-size:22px;
  margin:8px 0;
}

.meta{
  color:var(--muted);
  font-size:13px;
}

.article{
  width:min(1000px,92%);
  margin:0 auto;
  padding:60px 0 80px;
}

.article .featured{
  width:100%;
  max-height:460px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid var(--line);
  margin:24px 0;
}

.article-content{
  line-height:1.75;
  color:#e3e6e8;
}

.article-content p{
  margin:0 0 1.25rem;
}

.article-content ul,
.article-content ol{
  margin:0 0 1.4rem;
  padding-left:1.5rem;
}

.article-content blockquote{
  margin:1.5rem 0;
  padding:1rem 1.25rem;
  border-left:4px solid var(--red);
  background:var(--panel);
}

.article-content h2,
.article-content h3{
  color:#fff;
  margin-top:28px;
}

.article-content a{
  color:#ff6b63;
  text-decoration:underline;
}

.back{
  display:inline-block;
  margin-bottom:16px;
  color:#ff6b63;
}

.empty{
  padding:40px;
  background:var(--panel);
  border:1px solid var(--line);
  color:var(--muted);
}

@media(max-width:800px){
  .tips-hero{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .tips-hero img{
    height:360px;
  }

  .tips-grid{
    grid-template-columns:1fr;
  }

  .article h1{
    font-size:38px;
  }

  .tips-search{
    margin-left:0;
    width:100%;
  }
}

.article-cta{
  margin-top:48px;
  padding:28px;
  border:1px solid var(--line);
  background:var(--panel);
}

.article-cta h2{
  margin-bottom:8px;
}
