/* Zkriva Blog - Styles globaux */

:root{
  --zk-yellow:#f2d123;
  --zk-yellow-50:#fff8cc;
  --zk-yellow-100:#feef99;
  --zk-yellow-200:#f6e059;
  --zk-yellow-300:#f2d12361;
  --zk-dark:#111;
  --zk-soft:#f7f7f7;
  --zk-muted:#6b7280;
  --card-radius:18px;
  --shadow-1:0 10px 24px rgba(0,0,0,.08);
  --shadow-2:0 18px 42px rgba(0,0,0,.12);
}

body{background:#fff;color:#1f2937;margin:0;padding:0;}

/* TOPBAR */
.topbar{
  border-bottom:1px solid #eee;
  background:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
}
.topbar .navbar-brand{
  font-weight:800; letter-spacing:.3px;
  display:flex; align-items:center; gap:.6rem;
}
.topbar .navbar-brand img{height:36px;}
.brand-dot{
  width:10px; height:10px; border-radius:50%; background:var(--zk-yellow);
  box-shadow:0 0 0 4px color-mix(in hsl, var(--zk-yellow) 40%, transparent);
}
.nav-sep{
  width:1px; height:24px; background:#e5e7eb; margin:0 .75rem;
}
.btn-light{
  padding:.5rem 1rem;
  background:#fff;
  border:none;
  transition:background-color 0.2s ease;
}
.btn-light:hover{
  background:#f3f4f6;
}
.btn-dark{
  padding:.5rem 1rem;
}
.btn-active{
  padding:.5rem 1rem;
  background:var(--zk-yellow-300);
  border:none;
  color:#111;
  font-weight:600;
  transition:background-color 0.2s ease;
}
.btn-active:hover{
  background:#e6c31f;
  color:#111;
}

/* Recherche dans topbar - Style Zkriva */
.zkriva-search-form{
  --zk-search-collapsed:190px;
  --zk-search-expanded:520px;
  position:relative;
  flex:0 1 auto;
  width:var(--zk-search-collapsed);
  transition:width .28s ease;
}
.zkriva-search-form:focus-within,
.zkriva-search-form.is-open{
  width:min(var(--zk-search-expanded), calc(100vw - 380px));
}
.zkriva-search-input{
  position:relative;
  z-index:1;
  height:36px;
  border-radius:999px;
  padding-left:2.0rem;
  padding-right:1.2rem;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.04);
  border:1px solid #e5e7eb;
  background:#f9fafb;
  width:100%;
  transition:all 0.3s ease;
  font-size:.95rem;
}
.zkriva-search-input:focus{
  border-color:var(--zk-yellow);
  box-shadow:0 0 0 3px rgba(242,209,35,.1);
  outline:none;
  background:#fff;
}
.zks-left-btn{
  position:absolute;
  left:.55rem;
  top:50%;
  transform:translateY(-50%);
  padding:0;
  border:0;
  background:transparent;
  line-height:1;
  color:#8b8b8b;
  cursor:pointer;
  z-index:3;
}
.zks-left-btn:hover{
  color:#5f5f5f;
}

/* FEATURED SECTION */
.featured-wrap{
  position:relative; isolation:isolate;
  background:#f2d123;
  border-bottom:1px solid #d9b91f;
  padding:3rem 0;
}

.featured-grid-3{
  display:grid;
  grid-template-columns:2fr 1fr;
  grid-template-rows:auto auto;
  gap:2rem;
  align-items:start;
}

.featured-card{
  position:relative;
  border-radius:var(--card-radius);
  overflow:hidden;
  box-shadow:var(--shadow-1);
  background:#000;
  min-height:420px;
  grid-row:1 / 3;
}
.featured-media{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  filter:saturate(1.05) contrast(1.05);
  transform:scale(1.02);
}
.featured-gradient{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.55) 75%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,0) 60%);
}
.featured-body{
  position:relative; z-index:2; color:#fff;
  padding:2rem; padding-top:2.5rem;
  display:flex; flex-direction:column; justify-content:flex-end; height:100%;
}
.featured-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(17,17,17,.8);
  color:#fff; border:1px solid rgba(255,255,255,.15);
  padding:.35rem .7rem; border-radius:999px; font-weight:600; font-size:.85rem;
  backdrop-filter: blur(6px);
  width:fit-content;
}
.featured-title{
  font-size:clamp(1.6rem, 2.2vw + .6rem, 2.75rem);
  font-weight:800; line-height:1.15; margin:.9rem 0 .5rem;
  text-wrap:balance;
  text-shadow:0 2px 20px rgba(0,0,0,.25);
}
.featured-excerpt{
  max-width:820px; font-size:1.05rem; opacity:.95;
}
.featured-meta{
  display:flex; align-items:center; gap:.75rem; margin-top:1rem; flex-wrap:wrap;
  font-size:.95rem;
}
.avatar{width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.5);}
.btn-cta{
  display:inline-flex; align-items:center; gap:.6rem; margin-top:1.1rem;
  background:#111; color:#fff; border:0; border-radius:999px; padding:.65rem 1.1rem;
  box-shadow:0 10px 16px rgba(17,17,17,.25);
  text-decoration:none; font-weight:700;
  width:fit-content;
}
.btn-cta:hover{opacity:.95; color:#fff; transform:translateY(-1px);}

/* À PROPOS SECTION */
.about-section{
  background:#fff;
  border-radius:var(--card-radius);
  padding:2rem;
  box-shadow:var(--shadow-1);
  animation:slideInRight .6s ease-out;
}
@keyframes slideInRight{
  from{opacity:0;transform:translateX(20px);}
  to{opacity:1;transform:translateX(0);}
}
.about-section h2{
  font-size:1.2rem;
  font-weight:600;
  margin-bottom:1rem;
  color:#111

}
.about-section p{
  color:var(--zk-muted);
  line-height:1.7;
  margin:0;
}

/* CITATION/MOT DU JOUR SECTION */
.daily-section{
  background:#fff;
  border-radius:var(--card-radius);
  padding:1.5rem;
  box-shadow:var(--shadow-1);
  animation:slideInRight .7s ease-out;
  position:relative;
}
.daily-header{
  display:flex;
  align-items:center;
  gap:.5rem;
  margin-bottom:.75rem;
}
.daily-badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  background:var(--zk-yellow);
  color:var(--zk-dark);
  padding:.25rem .6rem;
  border-radius:999px;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.daily-badge i{
  font-size:.85rem;
}
.daily-content{
  font-size:1rem;
  line-height:1.6;
  color:#1f2937;
  font-style:italic;
  margin:.75rem 0;
  position:relative;
  padding-left:1.5rem;
}
.daily-content::before{
  content:'"';
  position:absolute;
  left:0;
  top:-.25rem;
  font-size:2.5rem;
  color:var(--zk-yellow);
  font-family:Georgia, serif;
  line-height:1;
}
.daily-source{
  font-size:.875rem;
  color:var(--zk-muted);
  font-weight:600;
  margin-top:.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.daily-source .source-info{
  display:flex;
  align-items:center;
  gap:.35rem;
}
.daily-source .source-info i{
  color:var(--zk-yellow);
}
.daily-explanation{
  font-size:.8rem;
  color:#6b7280;
  line-height:1.5;
  margin-top:.75rem;
  padding-top:.75rem;
  border-top:1px solid #f3f4f6;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:all .3s ease;
}
.daily-explanation.show{
  max-height:500px;
  opacity:1;
  margin-top:.75rem;
}
.daily-toggle{
  background:transparent;
  border:none;
  color:#9ca3af;
  cursor:pointer;
  padding:.25rem;
  border-radius:50%;
  transition:all .2s;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.daily-toggle:hover{
  background:rgba(242,209,35,.15);
  color:var(--zk-dark);
}
.daily-toggle i{
  font-size:.85rem;
  transition:transform .3s ease;
}
.daily-toggle.active i{
  transform:rotate(180deg);
}

/* GRID ARTICLES */
.section-list{padding:3rem 0;}
.card-post{
  border:1px solid #eee; border-radius:var(--card-radius); overflow:hidden; background:#fff;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  height:100%;
  display:flex;
  flex-direction:column;
}
.card-post:hover{transform:translateY(-4px); box-shadow:var(--shadow-2); border-color:#e9e9e9;}
.thumb{
  aspect-ratio: 16/9; background:#ddd; background-size:cover; background-position:center;
}
.card-body{padding:1.1rem 1.1rem 1.25rem;flex:1;display:flex;flex-direction:column;}
.badge-cat{
  display:inline-block; background:color-mix(in hsl, var(--zk-yellow) 35%, #fff);
  border:1px solid color-mix(in hsl, var(--zk-yellow) 55%, #d4d4d4);
  color:#222; padding:.25rem .6rem; border-radius:999px; font-weight:700; font-size:.75rem;
  width:fit-content;
}
.post-title{
  font-size:1.125rem; font-weight:800; line-height:1.25; margin:.6rem 0 .35rem;
}
.post-title a{color:#1f2937;text-decoration:none;}
.post-title a:hover{color:var(--zk-yellow-200);}
.post-excerpt{color:var(--zk-muted); font-size:.95rem;margin-bottom:auto;}
.post-meta{display:flex; align-items:center; gap:.6rem; margin-top:.9rem; color:#6b7280; font-size:.9rem;}
.post-meta .avatar{width:28px; height:28px; border:1px solid #e5e7eb;}

/* SIDEBAR */
.blog-sidebar{
  position:sticky;
  top:100px;
}
.sidebar-widget{
  background:#fff;
  border-radius:var(--card-radius);
  padding:1.5rem;
  margin-bottom:1.5rem;
  box-shadow:var(--shadow-1);
  border:1px solid #eee;
}
.sidebar-widget-title{
  font-size:1.125rem;
  font-weight:800;
  color:var(--zk-dark);
  margin:0 0 1rem;
  padding-bottom:.75rem;
  border-bottom:2px solid var(--zk-yellow);
}
.recent-post-item{
  display:flex;
  gap:.75rem;
  padding:.75rem 0;
  border-bottom:1px solid #f3f4f6;
}
.recent-post-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}
.recent-post-image{
  width:60px;
  height:60px;
  border-radius:8px;
  object-fit:cover;
  flex-shrink:0;
}
.recent-post-content{
  flex:1;
  min-width:0;
}
.recent-post-content h6{
  font-size:.9rem;
  font-weight:700;
  line-height:1.3;
  margin:0 0 .25rem;
}
.recent-post-content h6 a{
  color:var(--zk-dark);
  text-decoration:none;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.recent-post-content h6 a:hover{
  color:var(--zk-yellow-200);
}
.recent-post-date{
  font-size:.8rem;
  color:var(--zk-muted);
  margin:0;
}
.tags-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.tag{
  display:inline-block;
  padding:.35rem .75rem;
  background:color-mix(in hsl, var(--zk-yellow) 20%, #fff);
  border:1px solid color-mix(in hsl, var(--zk-yellow) 40%, #d4d4d4);
  border-radius:999px;
  font-size:.8rem;
  font-weight:600;
  color:#222;
  text-decoration:none;
  transition:all .2s;
}
.tag:hover{
  background:var(--zk-yellow);
  border-color:var(--zk-yellow-200);
  transform:translateY(-2px);
  color:#111;
}

/* NEWSLETTER SECTION */
.newsletter-section{
  background:linear-gradient(135deg, var(--zk-yellow) 0%, #ffd700 100%);
  padding:2rem 0;
  margin-top:4rem;
  text-align:center;
}
.newsletter-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  border-radius:50%;
  background:#fff;
  margin-bottom:1.5rem;
  box-shadow:0 8px 16px rgba(0,0,0,.15);
}
.newsletter-icon i{
  font-size:1.75rem;
  color:#111;
}
.newsletter-icon img{
  max-width: 64px;
}
.newsletter-title{
  font-size:2rem;
  font-weight:600;
  color:#111;
  margin-bottom:1rem;
  text-align:center;
}
.newsletter-subtitle{
  font-size:1.1rem;
  color:#444;
  margin-bottom:2rem;
  text-align:center;
}
.newsletter-form{
  background:#fff;
  padding:1.5rem;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  max-width:700px;
  margin:0 auto 1rem;
}
.newsletter-form-row{
  display:flex;
  gap:1rem;
  align-items:stretch;
  flex-wrap:wrap;
}
.newsletter-email-wrapper{
  position:relative;
  flex:1;
  min-width:250px;
}
.newsletter-email-icon{
  position:absolute;
  left:1rem;
  top:50%;
  transform:translateY(-50%);
  color:#6b7280;
  font-size:1.1rem;
}
.newsletter-form input[type="email"]{
  width:100%;
  padding:.85rem 1.25rem .85rem 2.75rem;
  border:1px solid #e5e7eb;
  border-radius:8px;
  font-size:1rem;
  background:#fff;
}
.newsletter-form input[type="email"]:focus{
  outline:none;
  border-color:#f2d123;
  box-shadow:0 0 0 3px rgba(242,209,35,.1);
}
.newsletter-captcha{
  display:flex;
  align-items:center;
  gap:0.5rem;
  font-size:0.9rem;
  color:#555;
  font-weight:500;
  white-space:nowrap;
  height:100%;
}
.newsletter-captcha input{
  width:60px;
  padding:0.85rem 0.5rem;
  border:1px solid #e5e7eb;
  border-radius:8px;
  text-align:center;
  font-size:1rem;
  font-weight:600;
}
.newsletter-captcha input:focus{
  outline:none;
  border-color:#f2d123;
  box-shadow:0 0 0 3px rgba(242,209,35,.1);
}
.newsletter-form button{
  padding:.85rem 1.75rem;
  background:#111;
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  transition:all .2s ease;
  white-space:nowrap;
  display:flex;
  align-items:center;
  justify-content:center;
}
.newsletter-form button:hover{
  background:#000;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}
@media (max-width: 768px){
  .newsletter-form-row{
    flex-direction:column;
    align-items:stretch;
  }
  .newsletter-email-wrapper{
    min-width:100%;
  }
  .newsletter-captcha{
    justify-content:center;
  }
  .newsletter-form button{
    width:100%;
  }
}
.newsletter-privacy{
  font-size:.85rem;
  color:#555;
  margin-top:1rem;
  text-align:center;
}

/* FOOTER */
.site-footer{
  border-top:1px solid #2d2d2d;
  padding:3rem 0 0;
  background:#1a1a1a;
  color:#9ca3af;
}
.site-footer h6{
  color:#fff;
}
.site-footer p{
  color:#9ca3af;
  line-height:1.7;
}
.footer-links a{
  color:#9ca3af;
  text-decoration:none;
  transition:color .2s;
}
.footer-links a:hover{
  color:var(--zk-yellow);
}
.share-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#9ca3af;
  text-decoration:none;
  transition:all .2s;
}
.share-btn:hover{
  background:var(--zk-yellow);
  border-color:var(--zk-yellow);
  color:#111;
  transform:translateY(-2px);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:2rem;
  padding:1.5rem 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
}
.footer-bottom p{
  margin:0;
  color:#6b7280;
}
.footer-bottom a{
  color:#9ca3af;
  text-decoration:none;
  font-size:.9rem;
}
.footer-bottom a:hover{
  color:var(--zk-yellow);
}

@media (max-width: 992px){
  .featured-grid-3{
    grid-template-columns:1fr;
  }
  .featured-card{
    grid-row:auto;
  }
  .about-section,
  .daily-section{
    margin-top:2rem;
  }
  .blog-sidebar{
    position:static;
    margin-top:2rem;
  }
  .footer-bottom{
    flex-direction:column;
    text-align:center;
  }
}
@media (max-width: 576px){
  .featured-body{padding:1.25rem;}
  .featured-title{font-size:1.85rem;}
  .topbar-search{max-width:100%;}
  .site-footer{
    text-align:center;
  }
  .site-footer .row > div{
    text-align:center;
  }
}

/* ARTICLE PAGE */
.article-header {
  background: linear-gradient(135deg, var(--zk-dark) 0%, #333 100%);
  color: var(--zk-soft);
  padding: 4rem 0 3rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #fff;
}

.article-meta-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.article-meta-header .article-author {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta-header .article-date {
  color: rgba(255, 255, 255, 0.8);
}

.article-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--zk-yellow);
}

.article-content {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--zk-dark);
}

.article-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--zk-dark);
}

.article-body blockquote {
  border-left: 4px solid var(--zk-yellow);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--zk-muted);
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-tags {
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 2rem 0;
}

.article-tags h5 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--zk-dark);
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 0.75rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

/* Comments section */
.comments-section {
  max-width: 900px;
  margin: 3rem auto;
  padding-top: 3rem;
  border-top: 2px solid #e5e7eb;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--zk-dark);
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--zk-yellow);
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 700;
  color: var(--zk-dark);
  font-size: 1rem;
}

.comment-date {
  font-size: 0.875rem;
  color: var(--zk-muted);
}

.comment-text {
  color: #333;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.comment-reply-btn {
  color: var(--zk-yellow);
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

.comment-reply-btn:hover {
  color: #d9b520;
  text-decoration: underline;
}

.comment-form-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--zk-dark);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--zk-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--zk-yellow);
  box-shadow: 0 0 0 3px rgba(242, 209, 35, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit-comment {
  background-color: var(--zk-dark);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.btn-submit-comment:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.3);
  color: white;
}

.btn-submit-comment:disabled {
  background-color: var(--zk-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.comment-alert {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.comment-alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.comment-alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.no-comments {
  text-align: center;
  padding: 2rem;
  color: var(--zk-muted);
  font-style: italic;
}

/* Article cards (for related articles) */
.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.article-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--zk-yellow);
}

.article-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--zk-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.article-card-title a:hover {
  color: var(--zk-yellow);
}

.article-card-excerpt {
  color: var(--zk-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

@media (max-width: 991px) {
  .article-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .article-title {
    font-size: 1.75rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .comment-form-section {
    padding: 1.5rem;
  }
}

/* SIDEBAR */
.blog-sidebar{
  position:sticky;
  top:100px;
}
.sidebar-widget{
  background:#fff;
  border-radius:var(--card-radius);
  padding:1.5rem;
  margin-bottom:1.5rem;
  box-shadow:var(--shadow-1);
  border:1px solid #eee;
}
.sidebar-widget-title{
  font-size:1.125rem;
  font-weight:800;
  color:var(--zk-dark);
  margin:0 0 1rem;
  padding-bottom:.75rem;
  border-bottom:2px solid var(--zk-yellow);
  display:flex;
  align-items:center;
  gap:.55rem;
}
.sidebar-widget-title span{
  display:inline-block;
}
.sidebar-title-icon{
  width:64px;
  height:64px;
  object-fit:contain;
  flex-shrink:0;
}
.recent-post-item{
  display:flex;
  gap:.75rem;
  padding:.75rem 0;
  border-bottom:1px solid #f3f4f6;
}
.recent-post-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}
.recent-post-image{
  width:60px;
  height:60px;
  border-radius:8px;
  object-fit:cover;
  flex-shrink:0;
}
.recent-post-content{
  flex:1;
  min-width:0;
}
.recent-post-content h6{
  font-size:.9rem;
  font-weight:700;
  line-height:1.3;
  margin:0 0 .25rem;
}
.recent-post-content h6 a{
  color:var(--zk-dark);
  text-decoration:none;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.recent-post-content h6 a:hover{
  color:var(--zk-yellow-200);
}
.recent-post-date{
  font-size:.8rem;
  color:var(--zk-muted);
  margin:0;
}
.tags-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.tag{
  display:inline-block;
  padding:.35rem .75rem;
  background:color-mix(in hsl, var(--zk-yellow) 20%, #fff);
  border:1px solid color-mix(in hsl, var(--zk-yellow) 40%, #d4d4d4);
  border-radius:999px;
  font-size:.8rem;
  font-weight:600;
  color:#222;
  text-decoration:none;
  transition:all .2s;
}
.tag:hover{
  background:var(--zk-yellow);
  border-color:var(--zk-yellow-200);
  transform:translateY(-2px);
  color:#111;
}
