:root{
  --celadon:#99e2b4ff;
  --celadon-2:#88d4abff;
  --mint-leaf:#78c6a3ff;
  --mint-leaf-2:#67b99aff;
  --seagrass:#56ab91ff;
  --seagrass-2:#469d89ff;
  --jungle-teal:#358f80ff;
  --blue-spruce:#248277ff;
  --deep-ocean:#14746fff;
  --stormy-teal:#036666ff;

  --bg:#071514;
  --panel:#0d2423;
  --panel-2:#0a1f1e;
  --text:#eafff7;
  --muted:#b9e9d8;
  --border:rgba(153,226,180,.18);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(153,226,180,.18), transparent 60%),
    radial-gradient(900px 600px at 120% 10%, rgba(3,102,102,.22), transparent 55%),
    linear-gradient(180deg, var(--bg), #03110f 70%);
}

a{color:var(--celadon); text-decoration:none}
a:hover{color:var(--celadon-2)}

.container{max-width:1100px; margin:0 auto; padding:0 18px}
.muted{color:rgba(234,255,247,.72)}

.site-header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(7,21,20,.72);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; gap:16px; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex; gap:10px; align-items:center}
.brand-mark{
  width:38px;height:38px;border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--celadon), var(--stormy-teal));
  color:#04110f;
  font-weight:800;
}
.brand-text{display:flex; flex-direction:column; line-height:1.1}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-tagline{font-size:12px; color:rgba(234,255,247,.68)}

.search{
  flex:1;
  display:flex; gap:10px; align-items:center;
  max-width:520px;
}
.search input{
  width:100%;
  background: rgba(13,36,35,.6);
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
  outline:none;
}
.search input:focus{border-color: rgba(153,226,180,.45)}
.search button{
  border:1px solid rgba(153,226,180,.35);
  background: linear-gradient(135deg, rgba(153,226,180,.18), rgba(3,102,102,.18));
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
}
.admin-link{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(13,36,35,.35);
  color:rgba(234,255,247,.92);
}
.admin-link:hover{border-color: rgba(153,226,180,.45)}

.nav{border-top:1px solid rgba(153,226,180,.12)}
.nav-inner{display:flex; gap:14px; padding:10px 0; overflow:auto}
.nav-link{white-space:nowrap; color:rgba(234,255,247,.78)}
.nav-link:hover{color:var(--celadon)}

.main{padding:22px 0 48px}

.hero{
  display:grid; grid-template-columns: 1.4fr .6fr;
  gap:18px;
  margin:14px 0 22px;
}
.hero-card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(13,36,35,.65), rgba(10,31,30,.6));
  border-radius:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-body{padding:18px}
.hero-featured{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 320px;
}
.hero-featured-body{padding:18px}
.hero-featured-media{position:relative; min-height: 220px}
.hero-featured-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.02);
}
.media-placeholder{
  width:100%;
  height:100%;
  min-height:180px;
  background:
    radial-gradient(600px 280px at 20% 20%, rgba(153,226,180,.25), transparent 60%),
    radial-gradient(500px 260px at 90% 30%, rgba(3,102,102,.28), transparent 55%),
    linear-gradient(135deg, rgba(13,36,35,.35), rgba(10,31,30,.55));
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(153,226,180,.26);
  background: rgba(153,226,180,.10);
  color: rgba(234,255,247,.85);
  font-size:12px;
}
.hero-title{font-size:30px; margin:12px 0 8px; letter-spacing:-.3px}
.hero-excerpt{color:rgba(234,255,247,.76); margin:0 0 12px; font-size:15px; line-height:1.55}
.meta{display:flex; gap:12px; flex-wrap:wrap; color:rgba(234,255,247,.6); font-size:12px}
.pill{
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(153,226,180,.18);
  background: rgba(13,36,35,.35);
  color:rgba(234,255,247,.75);
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border:1px solid var(--border);
  background: rgba(13,36,35,.55);
  border-radius:16px;
  overflow:hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{transform: translateY(-2px); border-color: rgba(153,226,180,.42)}
.card-media{
  display:block;
  height:180px;
  background: rgba(13,36,35,.45);
  border-bottom:1px solid rgba(153,226,180,.10);
}
.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.card-body{padding:14px 14px 16px}
.card-title{margin:10px 0 8px; font-weight:800; color:rgba(234,255,247,.95)}
.card-excerpt{margin:0; color:rgba(234,255,247,.74); line-height:1.55}
.card-top{display:flex; gap:10px; align-items:center; justify-content:space-between}
.card-top a{font-size:12px}

.latest-list{margin-top:10px; display:flex; flex-direction:column; gap:10px}
.latest-item{
  display:grid;
  grid-template-columns: 52px 1fr;
  gap:10px;
  align-items:center;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(153,226,180,.14);
  background: rgba(6,20,19,.22);
  color:rgba(234,255,247,.92);
}
.latest-item:hover{border-color: rgba(153,226,180,.35); background: rgba(153,226,180,.06)}
.latest-thumb{width:52px; height:52px; border-radius:12px; overflow:hidden; border:1px solid rgba(153,226,180,.16)}
.latest-thumb img{width:100%; height:100%; object-fit:cover; display:block}
.latest-thumb-placeholder{
  display:block; width:100%; height:100%;
  background: linear-gradient(135deg, rgba(153,226,180,.14), rgba(3,102,102,.14));
}
.latest-meta{display:flex; flex-direction:column; gap:3px}
.latest-title{font-size:13px; font-weight:800; line-height:1.25; color:rgba(234,255,247,.95)}

.post{
  border:1px solid var(--border);
  background: rgba(13,36,35,.55);
  border-radius:18px;
  padding:18px;
}
.post h1{margin:8px 0 10px; letter-spacing:-.4px}
.post-content{
  color:rgba(234,255,247,.82);
  line-height:1.75;
}
.post-content img{max-width:100%; border-radius:12px; border:1px solid rgba(153,226,180,.22)}

.pagination{display:flex; gap:10px; justify-content:center; margin:20px 0 0}
.page-btn{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(13,36,35,.35);
  color:rgba(234,255,247,.85);
}
.page-btn:hover{border-color: rgba(153,226,180,.45)}

.site-footer{
  border-top:1px solid var(--border);
  background: rgba(7,21,20,.72);
}
.footer-inner{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:14px;
  padding:22px 0;
}
.footer-brand{font-weight:900; letter-spacing:.2px}

@media (max-width: 940px){
  .hero{grid-template-columns:1fr}
  .hero-featured{grid-template-columns:1fr}
  .hero-featured-media{min-height:200px}
  .grid{grid-template-columns: repeat(2,1fr)}
  .search{display:none}
}
@media (max-width: 560px){
  .grid{grid-template-columns:1fr}
  .header-inner{gap:10px}
  .brand-name{font-size:15px}
  .card-media{height:200px}
}

