:root{
      --brand-pink:#ff6f91; /* light rose */
      --brand-rose:#ff4081; /* vivid pink */
      --brand-purple:#7e57c2; /* purple */
      --ink-1:#1f1f22;
      --ink-2:#3a3a40;
      --muted:#6b6b76;
      --bg:#ffffff;
      --card:#faf9fb;
      --border:#ece8f3;
      --shadow: 0 10px 25px rgba(127, 90, 179, .15);
    }
    @media (prefers-color-scheme: dark){
      :root{
        --ink-1:#f3f3f7; --ink-2:#d9d9e2; --muted:#a7a7b3;
        --bg:#0e0e12; --card:#13131a; --border:#232232;
        --shadow: 0 10px 25px rgba(0,0,0,.35);
      }
    }
    *{box-sizing:border-box;text-decoration:none}
    html,body{height:100%}
    body{
      margin:0;
	  /* font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji"; */
	  font-family: 'Inter', sans-serif;
      color:var(--ink-1);
	  background:var(--bg);
    }
    .container{max-width:1040px; margin:0 auto; padding:0 20px}
	
	body.post main.container, body.blog main.container {
      display: grid;
      grid-template-columns: 3fr 1fr; /* 2/3 postimi, 1/3 sidebar */
	  gap: 2em;
    }

    /* ====== Header ====== */
    header{
      position:sticky; top:0; z-index:20; backdrop-filter:saturate(160%) blur(6px);
      background: color-mix(in oklab, var(--bg) 88%, transparent);
      border-bottom:1px solid var(--border);
    }
    .nav{display:flex; align-items:center; justify-content:space-between; gap:16px; height:72px}
    .brand{display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit}
    .logo{display:inline-block; width:40px; height:40px}
	.logo .text { display: none; }
    .wordmark{font-weight:800; letter-spacing:.2px}

    /* Inline SVG tint */
    .grad{fill:url(#g1)}
    .stroke{stroke:url(#g1)}

    .btn{display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border-radius:14px; border:1px solid var(--border); background:var(--card); color:var(--ink-1); text-decoration:none; box-shadow:var(--shadow)}
    .btn-ghost{background:transparent; border-color:transparent; box-shadow:none}

    /* ====== Hero ====== */
    .hero{padding:64px 0 36px}
    .title{font-size:clamp(34px, 6vw, 56px); line-height:1.1; margin:0 0 12px; font-weight:900}
    .title .gradient{background:linear-gradient(90deg, var(--brand-pink), var(--brand-rose), var(--brand-purple)); -webkit-background-clip:text; background-clip:text; color:transparent}
    .subtitle{margin:0; color:var(--muted); font-size:clamp(16px, 2.4vw, 20px)}

    /* ====== Grid ====== */
    .grid{display:grid; grid-template-columns:repeat(12, 1fr); gap:20px; margin:40px 0}
    .card{grid-column: span 12; background:var(--card); border:1px solid var(--border); border-radius:20px; padding:20px; box-shadow:var(--shadow)}
    .card h3{margin:6px 0 8px; font-size:20px;color: var(--ink-1);}
    .chip{display:inline-block; font-size:12px; padding:4px 10px; border-radius:999px; background:linear-gradient(90deg, var(--brand-pink), var(--brand-purple)); color:#fff; margin: 0 .5em .5em 0}
    .meta{color:var(--muted); font-size:13px}
    .card p{margin:10px 0 0}
	.card a{text-decoration: none;}

    @media (min-width:720px){
      .card{grid-column: span 6}
      .card.feature{grid-column: span 12; display:grid; grid-template-columns: 1.15fr 1fr; gap:24px; align-items:center}
    }

    /* ====== Section ====== */
    .section h2{font-size:22px; margin:8px 0 6px}
    .rule{height:1px; background:linear-gradient(90deg, transparent, var(--brand-rose), transparent); border:0}

    /* ====== Footer ====== */
    footer{border-top:1px solid var(--border); padding:24px 0 56px; color:var(--muted)}
    .social{display:flex; gap:14px}
    .social a{display:inline-flex; padding:5px; border-radius:12px; border:1px solid var(--border)}
    .social a svg{fill:var(--brand-purple); border:1px solid var(--border); width: 1.3em;
    height: 1.3em;}
	footer .container{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap}

    /* Utility */
    .spacer{height:12px}
	
	/* Pagination */
	.pagination {width:100%;display:flex;justify-content:center;margin:1em auto;}
	.pagination a {display: inline-block;
    font-size: 1.1em;
    padding: .05em .5em;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .5em;
    margin: 0 .2em;
	background: var(--card);}
	.pagination a.active {background: var(--border);}

/* About page */
section.about {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
}
section.about img.profile-pic {
  width: 200px;
  height: 180px;
  border-radius: 20%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
section.about .social a {
  margin-right: 1rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
section.about .social a:hover {
  text-decoration: underline;
}

#subscribe {
	margin-bottom: 2em;
}

/* Post page */
.post h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  color: var(--ink-1);
}
.post .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}
.post .content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.post-nav a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.post-nav a:hover {
  text-decoration: underline;
}

    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 20px;
	  margin-top: 20px;
    }
    .sidebar .box {
      background: #fff;
      padding: 15px;
      border-radius: 12px;
      box-shadow: 0 2px 5px rgba(0,0,0,.05);
    }
    .sidebar .box h1 {
      margin-top: 0;
    }
    .sidebar .box h3 {
      margin: 0 0 10px 0;
      font-size: 1.1rem;
      border-bottom: 1px solid #eee;
      padding-bottom: 5px;
    }
    .sidebar .box ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .sidebar .box ul li {
      margin: 6px 0;
    }
    .sidebar .box ul li a {
      text-decoration: none;
      color: #555;
    }
    .sidebar .box ul li a:hover {
      color: #d33;
    }

    @media (max-width:720px){
	  body.post main.container, body.blog main.container { display: flex;
    flex-direction: column;
	  gap: 2em;}
	  section.about{flex-direction:column}
    }

/* article cover */

.article_cover {
	border-radius: 1em;
}

.article_cover.half {
	width: 50%;
}

.article_cover.full {
	width: 100%;
}

/* comments */

/* Stil minimal që i përshtatet shumicës së temave */
#comments {
  max-width: 600px;
  margin: 2em auto;
  font-family: sans-serif;
  font-size: 15px;
  color: #333;
}

.comment-list {
  margin-bottom: 2em;
}

.comment {
  border-bottom: 1px solid #ddd;
  padding: 0.8em 0;
}

@keyframes flash {
  0%   { background-color: #fffa9c; }
  50%  { background-color: #fff; }
  100% { background-color: #fffa9c; }
}

.comment.now {
  animation: flash 1s ease-in-out 3; /* flash 3 times */
}

.comment strong {
  display: block;
  margin-bottom: 0.3em;
  color: #222;
}

.comment-date {
  font-size: 0.85em;
  color: #777;
}

.comment-form label {
  display: block;
  margin-bottom: 0.2em;
  font-weight: bold;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.comment-form button {
  background: #333;
  color: #fff;
  border: none;
  padding: 0.7em 1.5em;
  border-radius: 4px;
  cursor: pointer;
}

.comment-form button:hover {
  background: #555;
}