/*
Theme Name: Kichwahits
Version: 27.0
*/

body{font-family:Arial;margin:0;background:#f5f5f5}

/* HEADER */
.site-header{background:#000;position:sticky;top:0;z-index:999}
.nav-container{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:10px}
.logo img{height:50px}
.nav-menu{list-style:none;display:flex;gap:25px;margin:0;padding:0}
.nav-menu a{color:#fff;text-decoration:none}
.nav-menu a:hover{color:#00796b}

/* LAYOUT */
.container{
 max-width:1100px;
 margin:20px auto;
 display:grid;
 grid-template-columns:2fr 1fr;
 gap:25px;
 align-items:start;
 padding:0 10px;
}

.main-content{
 display:flex;
 flex-direction:column;
 gap:20px;
}

/* CARD */
.post-card{
 display:flex;
 gap:18px;
 background:#fff;
 padding:16px;
 border-radius:14px;
 box-shadow:0 2px 8px rgba(0,0,0,0.05);
}


.post-content{flex:1}
.post-content a{text-decoration:none;color:#000}
.post-content a:hover h2{color:#00796b}
.post-content h2{margin:5px 0;font-size:17px}

.category{
 background:#000;
 color:#fff !important;
 padding:4px 8px;
 border-radius:6px;
 font-size:11px;
 margin-bottom:6px;
 display:inline-block;
}

/* SIDEBAR */
.sidebar{
 background:#fff;
 padding:20px;
 border-radius:12px;
 position:sticky;
 top:80px;
}

/* FOOTER */
.site-footer{
 background:#000;
 color:#fff;
 padding:20px;
 margin-top:30px;
}


/* === V15 UI Upgrade === */

/* Top Menu */
.main-navigation a {
  font-weight: 700;
  font-size: 16px;
}
@media (min-width:768px){
  .main-navigation a { font-size:17px; }
}

/* Top Ten Posts Cards */
.top-posts-widget .post-item {
  display:flex;
  gap:10px;
  margin-bottom:12px;
  background:#111;
  padding:10px;
  border-radius:8px;
}
.top-posts-widget img {
  width:80px;
  height:60px;
  object-fit:cover;
}
.top-posts-widget .post-title {
  font-size:14px;
  font-weight:600;
  color:#fff;
}

/* Hover Color */
a:hover { color:#00796b; }

/* Featured Image */
.post-thumbnail img {
  width:100%;
  height:400px;
  object-fit:cover;
}
@media (max-width:768px){
  .post-thumbnail img { height:220px; }
}

/* Related Posts */
.related-posts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}
.related-post img {
  width:100%;
  height:140px;
  object-fit:cover;
}

/* === Featured Image FINAL FIX === */
.post-thumbnail,
.single-post .post-thumbnail {
  width:100%;
  overflow:hidden;
  border-radius:10px;
}

.post-thumbnail img,
.single-post .post-thumbnail img {
  width:100%;
  height:380px;
  object-fit:cover;
  display:block;
}

@media (max-width:768px){
  .post-thumbnail img,
  .single-post .post-thumbnail img {
    height:220px;
  }
}

/* safety for content images */
.entry-content img:first-child{
  max-height:380px;
  width:100%;
  object-fit:cover;
}

/* === V17 FINAL IMAGE FIX (ALL CASES) === */

/* Featured Image (consistent banner style) */
.post-thumbnail img,
.single-post .post-thumbnail img {
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
  border-radius:10px;
}

/* Content Images (uniform square style like your 2nd screenshot) */
.entry-content img {
  width:100% !important;
  max-width:100%;
  height:320px !important;
  object-fit:cover;
  display:block;
  margin:20px 0;
  border-radius:8px;
}

/* Prevent giant stretched images */
.entry-content img[width],
.entry-content img[height] {
  width:100% !important;
  height:320px !important;
}

/* Fix embeds */
.entry-content iframe,
.entry-content video {
  width:100%;
  height:360px;
  border-radius:10px;
}

/* Mobile */
@media (max-width:768px){
  .post-thumbnail img,
  .single-post .post-thumbnail img {
    height:220px;
  }

  .entry-content img {
    height:220px !important;
  }

  .entry-content iframe,
  .entry-content video {
    height:220px;
  }
}

/* === V18 CLEAN IMAGE SYSTEM (layout + alignment + max size only) === */

/* Featured Image */
.post-thumbnail img,
.single-post .post-thumbnail img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Content Images */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  max-height: 500px;
}

/* Alignment Fix */
.entry-content .alignleft {
  float: left;
  margin: 10px 15px 10px 0;
  max-width: 50%;
}

.entry-content .alignright {
  float: right;
  margin: 10px 0 10px 15px;
  max-width: 50%;
}

.entry-content .aligncenter {
  display: block;
  margin: 20px auto;
}

/* Clear floats */
.entry-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Embeds */
.entry-content iframe,
.entry-content video {
  width: 100%;
  max-width: 100%;
  height: 380px;
  border-radius: 10px;
}

@media (max-width:768px){
  .entry-content iframe,
  .entry-content video {
    height: 220px;
  }

  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    max-width: 100%;
    margin: 15px auto;
  }
}


/* v19 fixes */

.featured-image {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .featured-image { max-height: 250px; }
}

/* RELATED POSTS GRID */
.related-title{margin:30px 0 15px;font-size:20px;font-weight:700;}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.related-card{background:#fff;border-radius:12px;overflow:hidden;transition:.3s ease;box-shadow:0 4px 12px rgba(0,0,0,.08);}
.related-card:hover{transform:translateY(-4px);}
.related-thumb img{width:100%;height:140px;object-fit:cover;display:block;}
.related-content{padding:10px;}
.related-content h4{font-size:14px;font-weight:600;color:#111;line-height:1.4;}
@media(max-width:768px){.related-grid{grid-template-columns:1fr;}}


/* SIDEBAR MODERN CARDS */
.sidebar-widget {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
}

.sidebar-widget h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 700;
}

.sidebar-card {
  margin-bottom: 12px;
}

.sidebar-card a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  align-items: center;
}

.sidebar-thumb img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}

.sidebar-info span {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  line-height: 1.3;
}

.sidebar-card a:hover span {
  color: #00796b;
}


.sidebar-widget button:hover {
  opacity: 0.9;
}

/* PAGINATION MODERN */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 30px 0;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #0f766e;
  color: #0f766e;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: 0.2s ease;
}

.pagination .current {
  background: #0f766e;
  color: #fff;
}

.pagination a:hover {
  background: #0f766e;
  color: #fff;
}

/* PAGINATION COLOR FIX */
.pagination a,
.pagination span {
  border: 1px solid #00796b;
  color: #00796b;
}

.pagination .current {
  background: #00796b;
  color: #fff;
}

.pagination a:hover {
  background: #00796b;
  color: #fff;
}

/* CATEGORY LABEL FIX */
.category,
.post-category,
.cat-label {
  background: #00796b;
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.category a,
.post-category a,
.cat-label a {
  color: #fff !important;
  text-decoration: none;
}

/* PARAGRAPH SPACING FIX */
.entry-content p {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* TAGS + CATEGORY STYLE */
.post-meta {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-meta a {
  background: #00796b;
  color: #fff !important;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
}

/* =========================
   SHARE BUTTONS FINAL
========================= */

.share-buttons {
  margin: 20px 0;
  display: flex;
  gap: 12px;
}

/* clean circle buttons */
.share-buttons a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  color: #fff;
  transition: 0.2s ease;
}

/* colors */
.share-facebook { background:#1877f2; }
.share-twitter { background:#000; }
.share-whatsapp { background:#25d366; }
.share-email { background:#777; }
.share-link { background:#00796b; }

/* hover */
.share-buttons a:hover {
  transform: scale(1.1);
}


/* CATEGORY ABOVE TITLE */
.post-category-top a {
  background:#00796b;
  color:#fff!important;
  padding:4px 10px;
  border-radius:6px;
  font-size:12px;
  text-decoration:none;
}

/* DATE */
.post-date {
  margin-top:8px;
  color:#777;
  font-size:14px;
}

/* TAGS BELOW CONTENT */
.post-tags {
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.post-tags a {
  background:#111;
  color:#fff!important;
  padding:4px 10px;
  border-radius:6px;
  font-size:12px;
  text-decoration:none;
}

/* FIX TAGS SAME AS CATEGORY */
.post-tags a {
  background:#00796b;
  color:#fff !important;
  padding:4px 10px;
  border-radius:6px;
  font-size:12px;
  text-decoration:none;
}



.share-facebook { background:#1877f2; }
.share-twitter { background:#000; }
.share-whatsapp { background:#25d366; }
.share-email { background:#777; }
.share-link { background:#00796b; }

/* FIX POSSIBLE LAYOUT BREAK */
.main-content {
  overflow:hidden;
}

/* === SINGLE POST WHITE CARD v31 === */
.single-post-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 750px;
}

/* === MENU FONT WEIGHT FIX === */
header nav a,
.menu a,
.primary-menu a {
    font-weight: 600 !important;
}

/* === RELATED CARD CLICK FIX === */
.related-card {
    cursor: pointer;
}

/* FINAL MOBILE FIX */
.mobile-controls {
    display: none;
    gap: 15px;
}

.mobile-toggle,
.mobile-search {
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}

@media (max-width:768px){

    .mobile-controls {
        display: flex !important;
    }

    nav.site-menu {
        display: none !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000;
        padding: 60px 20px;
        z-index: 9999;
    }

    nav.site-menu.active {
        display: block !important;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

.menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* SEARCH OVERLAY v37 */
.mobile-search-box {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    padding: 80px 20px;
}

.mobile-search-box.active {
    display: block;
}

.search-inner {
    max-width: 500px;
    margin: 0 auto;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.search-inner input[type="search"],
.search-inner input[type="text"] {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.search-inner input[type="submit"],
.search-inner button {
    margin-top: 10px;
    width: 100%;
    background: #00796b;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* FINAL SEARCH FIX */
.mobile-search-box {
    display: none !important;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#fff;
    z-index:9999;
    padding:80px 20px;
}

.mobile-search-box.active {
    display:block !important;
}

.search-close {
    position:absolute;
    top:20px;
    right:20px;
    font-size:24px;
    cursor:pointer;
}

.search-inner {
    max-width:500px;
    margin:0 auto;
}

.search-inner input {
    width:100%;
    padding:12px;
}







/* === MOBILE SEARCH BOX (SMALL POPUP) === */
.mobile-search-box {
    display: none !important;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: 20px;
}

.mobile-search-box.active {
    display: block !important;
}

.search-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 18px;
    cursor: pointer;
}

/* SEARCH INPUT */
.search-inner input[type="search"],
.search-inner input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.search-inner input[type="submit"] {
    width: 100%;
    margin-top: 10px;
    background: #00796b;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
}


/* === POST LINKS MODERN STYLE === */
.single-post-card a,

.single-post-card a:hover,
.main-content a:hover {
    text-decoration: underline !important;
}







/* === HIDE CLOSE ICON ON DESKTOP === */
.menu-close {
    display: none;
}

@media (max-width: 768px) {
    .menu-close {
        display: block;
    }
}

/* === LINK ISOLATION (ARTICLE ONLY) === */
.single-post-card .post-content a {
    color: #00796b !important;
    text-decoration: none !important;
}
.single-post-card .post-content a:hover {
    text-decoration: underline !important;
}

/* KEEP CATEGORY & TAGS WHITE */
.post-category-top a,
.post-tags a,
.tags a,
.category a {
    color: #fff !important;
    text-decoration: none !important;
}


/* === FINAL NO-LEAK ARTICLE LINKS === */
.post-content p a,
.post-content li a,
.post-content span a {
    color: #00796b !important;
    text-decoration: none !important;
}

.post-content p a:hover,
.post-content li a:hover,
.post-content span a:hover {
    text-decoration: underline !important;
}

/* RESET NON-ARTICLE LINKS */
.post-card a,
.related-card a,
.share-buttons a,
.nav-menu a {
    color: inherit !important;
    text-decoration: none !important;
}

/* KEEP CATEGORY & TAGS WHITE */
.post-category-top a,
.post-tags a {
    color: #fff !important;
}

/* === CATEGORY BADGE LOCK (HOMEPAGE & CARDS) === */
.post-card .post-category-top a,
.related-card .post-category-top a,
.top-posts .post-category-top a {
    color: #fff !important;
    text-decoration: none !important;
}

.post-card .post-category-top a:hover,
.related-card .post-category-top a:hover {
    color: #fff !important;
}

/* === SHARE BUTTON ICON COLOR LOCK === */
.share-buttons a {
    color: inherit !important;
    text-decoration: none !important;
}

.share-facebook i { color: #1877f2 !important; }
.share-twitter i { color: #000 !important; }
.share-whatsapp i { color: #25d366 !important; }
.share-email i { color: #555 !important; }
.share-link i { color: #999 !important; }

/* === FORCE MAIN MENU TEXT WHITE === */
.nav-menu a {
    color: #fff !important;
    text-decoration: none !important;
}

/* === FORCE CATEGORY BADGE WHITE (HOMEPAGE CARDS) === */
.post-card .post-category-top a,
.related-card .post-category-top a {
    color: #fff !important;
    text-decoration: none !important;
}
/* ================= FINAL LOCK PATCH (NO CONFLICT) ================= */

/* 1. FIX GLOBAL RESET THAT WAS BREAKING COLORS */
.post-card a,
.related-card a,
.share-buttons a,
.nav-menu a {
    text-decoration: none !important;
}

/* 2. FORCE MENU WHITE (OVERRIDE EVERYTHING) */
header nav a,
.nav-container nav a,
.nav-menu li a {
    color: #fff !important;
}

header nav a:hover,
.nav-menu li a:hover {
    color: #fff !important;
}

/* 3. FORCE CATEGORY BADGE WHITE (HOMEPAGE CARDS) */
.post-card .post-category-top a,
.related-card .post-category-top a,
.top-posts .post-category-top a {
    color: #fff !important;
}

.post-card .post-category-top a:hover,
.related-card .post-category-top a:hover {
    color: #fff !important;
}

/* 4. HARD ISOLATION OF ARTICLE LINKS */
.post-content p a,
.post-content li a,
.post-content span a {
    color: #00796b !important;
    text-decoration: none !important;
}

.post-content p a:hover,
.post-content li a:hover,
.post-content span a:hover {
    text-decoration: underline !important;
}



/* =========================
   FIX: CATEGORY BADGES (FINAL CLEAN)
========================= */

/* GLOBAL SAFE DEFAULT */
.category,
.post-category,
.cat-label {
  display: inline-flex !important;
  align-items: center;
  width: fit-content !important;
  max-width: 100%;
  padding: 6px 12px;
  white-space: nowrap;
}

/* 🔹 TOP CATEGORY (single post) — keep bar style */
.post-category-top {
  display: inline-flex !important;
  width: auto !important;
  max-width: 300px; /* prevents full stretch */
}

/* 🔹 RELATED POSTS — FORCE SMALL BADGE */
.related-posts .category,
.related-posts .post-category,
.related-posts .cat-label {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: fit-content !important;
}

/* 🔹 CARD FIX (HOMEPAGE + RELATED) */
.post-card .category,
.related-post-card .category {
  display: inline-flex !important;
  width: fit-content !important;
}

/* === FINAL: FORCE WHITE TEXT ON CATEGORY (HOMEPAGE CARDS ONLY) === */

.post-card .category,
.post-card .post-category,
.post-card .cat-label {
  color: #fff !important;
}

.post-card .category a,
.post-card .post-category a,
.post-card .cat-label a {
  color: #fff !important;
}

/* prevent hover turning black */
.post-card .category:hover,
.post-card .category a:hover {
  color: #fff !important;
}


/* =========================
   CUSTOM SIDEBAR SEARCH (FINAL CLEAN)
========================= */

.custom-search {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* INPUT */
.custom-search input {
  flex: 1;
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #f5f5f5;
  font-size: 16px;
  outline: none;
}

/* BUTTON */
.custom-search button {
  width: 60px;
  height: 50px;
  border-radius: 10px;
  border: none;
  background: #00796b;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ICON */
.custom-search i {
  color: #fff;
}

/* FOCUS */
.custom-search input:focus {
  background: #fff;
  border-color: #00796b;
}

/* FINAL SHARE ICON FIX */
.share-buttons i {
  color: #fff !important;
  font-size: 16px;
}

.share-buttons a {
  color: #fff !important;
}

/* =========================
   FINAL REAL FIX (POST CARDS)
========================= */

.post-card {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* DESKTOP THUMBNAIL */
.post-card img {
  width: 160px;
  height: 110px;
  min-width: 160px;
  max-width: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* =========================
   MOBILE COMPACT FIX
========================= */

@media (max-width:768px){

  .container{
    grid-template-columns:1fr !important;
    padding: 0 8px;
    gap: 15px;
  }

  .sidebar{
    display:none !important;
  }

  .post-card{
    flex-direction:column !important;
    padding: 12px;
    gap: 12px;
    border-radius: 10px;
  }

  .post-card img{
    width:100% !important;
    height:160px !important;
  }

  .post-content h2 {
    font-size: 15px;
    line-height: 1.3;
  }

}
/* OPEN SANS TITLES */
.post-content h2 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}

/* GRID FIX FINAL (2 desktop, 1 mobile) */

.main-content{
  display:grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap:20px;
}

@media (max-width:768px){
  .main-content{
    grid-template-columns: 1fr !important;
  }
}

/* BALANCED BIG CARDS (FIX OVERFLOW) */

@media (min-width:769px){

  .main-content{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .post-card{
    padding: 18px;
    gap: 16px;
  }

  .post-card img{
    width: 180px;
    height: 130px;
    min-width: 180px;
    max-width: 180px;
  }

  .post-content h2{
    font-size: 19px;
    line-height: 1.35;
  }

}
/* KICHWAHITS FINAL THEME FIX */
:root{--kh:#00796b;--green:#006400;--text:#070707;--bg:#f5f5f5}*{box-sizing:border-box}body{font-family:"Open Sans",Arial,sans-serif;margin:0;background:var(--bg);color:var(--text);overflow-x:hidden}a{text-decoration:none;color:inherit}.site-header{background:#000;position:sticky;top:0;z-index:9999}.nav-container{max-width:1280px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px}.logo img{height:54px;width:auto}.nav-menu{display:flex;gap:30px;list-style:none;margin:0;padding:0}.nav-menu a{color:#fff!important;font-weight:800;font-size:16px}.nav-menu a:hover{color:var(--kh)!important}.mobile-header,.mobile-icon-menu,.mobile-search-form{display:none!important}.container{max-width:1280px;width:100%;margin:26px auto;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:34px;align-items:start;padding:0 22px}.main-content{min-width:0;overflow:visible!important}.sidebar{background:#fff;border-radius:16px;padding:32px 28px;position:sticky;top:100px}.sidebar-widget{background:transparent;padding:0;margin-bottom:30px}.sidebar-widget h3{font-size:19px;margin:0 0 22px;font-weight:800}.custom-search{display:flex;gap:10px;margin-bottom:28px}.custom-search input{height:54px;flex:1;min-width:0;border:1px solid #ddd;border-radius:12px;padding:0 16px;font-size:16px}.custom-search button{width:62px;height:54px;border:0;border-radius:12px;background:var(--kh);color:#fff;font-size:22px}.sidebar-card{margin:0 0 18px}.sidebar-card a{display:grid;grid-template-columns:78px 1fr;gap:13px;align-items:center}.sidebar-thumb img{width:78px;height:78px;object-fit:cover;border-radius:9px}.sidebar-info span{font-size:15px;line-height:1.35;font-weight:800;color:#080808}.sidebar-card a:hover span{color:var(--kh)}
.home .main-content,.archive .main-content,.search .main-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.home .main-content>h2,.archive .main-content>h2,.search .main-content>h2,.pagination{grid-column:1/-1}.post-card{display:grid;grid-template-columns:190px 1fr;align-items:center;gap:20px;background:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 3px 14px rgba(0,0,0,.05);transition:.2s;min-height:150px}.post-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}.post-card img{width:100%;height:118px;object-fit:cover;border-radius:10px;display:block}.post-card h2{font-size:19px;line-height:1.28;margin:10px 0 0;font-weight:900;color:#070707}.post-card a:hover h2{color:var(--kh)}.category,.category a,.post-category-top a{background:var(--kh);color:#fff!important;padding:6px 12px;border-radius:7px;font-size:12px;font-weight:800;display:inline-block;line-height:1}.single .container{grid-template-columns:minmax(0,780px) 360px;justify-content:center}.single-post-card{background:#fff;border-radius:16px;padding:36px;box-shadow:0 3px 18px rgba(0,0,0,.05);width:100%;max-width:none}.single-post-card h1{font-size:35px;line-height:1.18;margin:20px 0 12px;font-weight:900}.post-date{font-size:15px;color:#777;margin:0 0 12px}.featured-image{width:100%;max-height:none!important;overflow:hidden;border-radius:14px;margin:18px 0 28px}.featured-image img{width:100%;height:auto!important;max-height:560px;object-fit:contain;display:block;border-radius:14px}.single-post-card .post-content{font-size:18px;line-height:1.72;color:#111}.single-post-card .post-content p{margin:0 0 18px}.single-post-card .post-content img{max-width:100%;height:auto!important;border-radius:12px;margin:18px auto;display:block}.single-post-card .post-content a{color:var(--kh)!important;text-decoration:none!important}.single-post-card .post-content a:hover{text-decoration:underline!important}.post-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.post-tags a{background:var(--kh);color:#fff!important;border-radius:7px;padding:6px 12px;font-size:12px;font-weight:800}.share-buttons{display:flex;gap:12px;margin:24px 0}.share-buttons a{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff!important}.share-facebook,.share-facebook i{background:#1877f2;color:#fff!important}.share-twitter,.share-twitter i{background:#000;color:#fff!important}.share-whatsapp,.share-whatsapp i{background:#25d366;color:#fff!important}.share-email,.share-email i{background:#777;color:#fff!important}.share-link,.share-link i{background:var(--kh);color:#fff!important}.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.related-card{background:#fff;border:1px solid #eee;border-radius:16px;padding:14px;box-shadow:0 3px 14px rgba(0,0,0,.05)}.related-thumb img{width:100%;height:135px;object-fit:cover;border-radius:10px}.related-content h4{font-size:16px;line-height:1.35;margin:10px 0;color:#080808}.site-footer{background:#000;color:#fff;margin-top:35px;padding:22px}.footer-container{max-width:1280px;margin:auto;display:flex;justify-content:space-between;align-items:center}.footer-menu{display:flex;gap:18px;list-style:none;margin:0;padding:0}.footer-menu a{color:#fff!important}
@media(max-width:1024px){.container{grid-template-columns:minmax(0,1fr) 330px;gap:24px}.home .main-content,.archive .main-content,.search .main-content{grid-template-columns:1fr}.post-card{grid-template-columns:180px 1fr}.single .container{grid-template-columns:minmax(0,1fr) 330px}.single-post-card{padding:28px}.single-post-card h1{font-size:30px}}
@media(max-width:768px){.desktop-header{display:none!important}.site-header{background:var(--green)}.mobile-header{height:78px;display:grid!important;grid-template-columns:58px 1fr 58px;align-items:center;padding:0 14px;background:var(--green)}.mobile-grid-icon,.mobile-search-mark{color:#fff;font-size:30px;display:flex;justify-content:center}.mobile-logo{text-align:center}.mobile-logo img{max-height:42px;max-width:190px;width:auto}.mobile-icon-menu{display:block!important;background:#fff;border-bottom:1px solid #e6e6e6}.mobile-nav-icons{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;margin:0;padding:0}.mobile-nav-icons li{border-right:1px solid #e7e7e7;text-align:center}.mobile-nav-icons li:last-child{border-right:0}.mobile-nav-icons a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:86px;color:var(--green)!important;font-size:12px;font-weight:900;text-transform:uppercase}.mobile-nav-icons a:before{font-family:"Font Awesome 6 Free";font-weight:900;width:34px;height:34px;border-radius:50%;background:#087b12;color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;content:"\f015"}.mobile-nav-icons li:nth-child(2) a:before{content:"\f001"}.mobile-nav-icons li:nth-child(3) a:before{content:"\f03d"}.mobile-nav-icons li:nth-child(4) a:before{content:"\f15c"}.mobile-nav-icons li:nth-child(5) a:before{content:"\f0e0"}.mobile-search-form{display:block!important;background:#fff;border-bottom:1px solid #ddd;padding:0 14px 12px}.mobile-search-form form{display:flex;margin:0}.mobile-search-form label{flex:1}.mobile-search-form input[type=search]{width:100%;height:44px;border:1px solid #ddd;border-right:0;padding:0 14px;font-size:15px}.mobile-search-form input[type=submit],.mobile-search-form button{width:92px;border:0;background:#222;color:#fff;font-weight:800}.container{display:block;margin:18px auto;padding:0 14px}.home .main-content,.archive .main-content,.search .main-content{display:block}.post-card{grid-template-columns:150px 1fr;gap:16px;margin-bottom:22px;padding:0;background:transparent;box-shadow:none;border-radius:0;min-height:0}.post-card:hover{transform:none;box-shadow:none}.post-card img{height:112px;border-radius:2px}.post-card h2{font-size:20px;line-height:1.25;margin:0;font-weight:900}.post-card .category{display:none}.sidebar{display:none}.single-post-card{border-radius:12px;padding:22px 18px;box-shadow:none}.single-post-card h1{font-size:29px;line-height:1.2}.single-post-card .post-content{font-size:17px;line-height:1.68}.related-grid{grid-template-columns:1fr}.footer-container{display:block;text-align:center}.footer-menu{justify-content:center;flex-wrap:wrap;margin-top:12px}.pagination{display:flex;flex-wrap:wrap}}
@media(max-width:420px){.post-card{grid-template-columns:135px 1fr;gap:14px}.post-card img{height:105px}.post-card h2{font-size:19px}.mobile-nav-icons a{font-size:11px}.mobile-logo img{max-width:160px}.single-post-card h1{font-size:27px}}

/* KICHWAHITS UPDATE v14 - black mobile top bar, no mobile top icons, green accent */
:root{--kh:#00796b!important;--green:#00796b!important;--kh-accent:#00796b!important;}
.site-header,
header.site-header,
.mobile-header,
.desktop-header,
.nav-container,
.main-navigation,
.site-navigation,
.top-bar,
.navbar,
.header-menu{
  background:#000!important;
}
.nav-menu a:hover,
a:hover,
.sidebar-card a:hover span,
.post-card a:hover h2,
.single-post-card .post-content a,
.single-post-card .post-content a:hover{
  color:#00796b!important;
}
.category,
.category a,
.post-category-top a,
.custom-search button,
.post-tags a,
.share-link,
.share-link i,
.search-submit,
button.search-submit,
input[type="submit"],
button[type="submit"]{
  background:#00796b!important;
  border-color:#00796b!important;
  color:#fff!important;
}
.custom-search input:focus,
input[type="search"]:focus,
input[type="text"]:focus{
  border-color:#00796b!important;
  outline:none!important;
}
@media(max-width:768px){
  .site-header{background:#000!important;}
  .mobile-header{
    background:#000!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:72px!important;
    padding:0 12px!important;
  }
  .mobile-grid-icon,
  .mobile-search-mark,
  .mobile-toggle,
  .mobile-search,
  .menu-toggle,
  .hamburger,
  .search-toggle,
  .header-search-icon{
    display:none!important;
    visibility:hidden!important;
  }
  .mobile-logo{display:block!important;text-align:center!important;margin:0 auto!important;}
  .mobile-logo img{max-height:48px!important;max-width:210px!important;width:auto!important;}
  .mobile-nav-icons a{color:#00796b!important;}
  .mobile-nav-icons a:before{background:#00796b!important;color:#fff!important;}
  .mobile-search-form{display:block!important;}
  .mobile-search-form input[type=submit],
  .mobile-search-form button{background:#222!important;color:#fff!important;}
}

/* === KICHWAHITS v15 CATEGORY + MOBILE COMPACT FIX === */
html, body{background:#f5f5f5!important;overflow-x:hidden!important;}
body.category, body.archive, body.search{background:#f5f5f5!important;color:#070707!important;display:block!important;padding:0!important;border-radius:0!important;width:auto!important;max-width:none!important;white-space:normal!important;font-size:inherit!important;font-weight:inherit!important;}
.archive .container,.category .container,.search .container{max-width:1280px!important;width:100%!important;margin:26px auto!important;padding:0 22px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:34px!important;align-items:start!important;}
.archive .main-content,.category .main-content,.search .main-content{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;min-width:0!important;overflow:visible!important;}
.archive .post-card,.category .post-card,.search .post-card{background:#fff!important;color:#070707!important;display:grid!important;grid-template-columns:190px 1fr!important;align-items:center!important;gap:20px!important;border-radius:16px!important;padding:16px 18px!important;box-shadow:0 3px 14px rgba(0,0,0,.05)!important;min-height:150px!important;}
.archive .post-card img,.category .post-card img,.search .post-card img{width:100%!important;height:118px!important;object-fit:cover!important;border-radius:10px!important;}
.archive .post-card h2,.category .post-card h2,.search .post-card h2{color:#070707!important;font-size:19px!important;line-height:1.28!important;margin:10px 0 0!important;}
span.category,div.category:not(body),.post-card .category,.post-category,.cat-label,.post-category-top a{background:#00796b!important;color:#fff!important;padding:6px 12px!important;border-radius:7px!important;font-size:12px!important;font-weight:800!important;display:inline-block!important;line-height:1!important;width:auto!important;max-width:max-content!important;white-space:nowrap!important;}
span.category a,div.category:not(body) a,.post-card .category a{color:#fff!important;background:transparent!important;padding:0!important;}
@media(max-width:768px){.site-header,.mobile-header{background:#000!important}.mobile-header{display:flex!important;justify-content:center!important;align-items:center!important;height:108px!important;padding:16px 10px!important}.mobile-logo img{max-width:230px!important;max-height:70px!important;width:auto!important}.mobile-grid-icon,.mobile-search-mark{display:none!important}.mobile-icon-menu{display:block!important;background:#fff!important;border-bottom:1px solid #e2e2e2!important}.mobile-nav-icons{display:grid!important;grid-template-columns:repeat(5,1fr)!important;margin:0!important;padding:0!important;list-style:none!important}.mobile-nav-icons li{border-right:1px solid #e5e5e5!important;text-align:center!important}.mobile-nav-icons li:last-child{border-right:0!important}.mobile-nav-icons a{min-height:84px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:11px!important;line-height:1.1!important;font-weight:900!important;color:#00796b!important;text-transform:uppercase!important}.mobile-nav-icons a:before{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#00796b!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;content:"\f015"!important}.mobile-nav-icons .mi-music a:before{content:"\f001"!important}.mobile-nav-icons .mi-video a:before{content:"\f03d"!important}.mobile-nav-icons .mi-gospel a:before{content:"\f15c"!important}.mobile-nav-icons .mi-contact a:before{content:"\f0e0"!important}.mobile-search-form{display:block!important;background:#fff!important;padding:6px 14px 10px!important;border-bottom:1px solid #ddd!important}.mobile-search-form form{display:flex!important;width:100%!important;margin:0!important;gap:6px!important;align-items:center!important}.mobile-search-form label{flex:1 1 auto!important;min-width:0!important;margin:0!important}.mobile-search-form input[type=search]{width:100%!important;height:36px!important;border:1px solid #9e9e9e!important;border-radius:2px!important;padding:0 8px!important;font-size:14px!important}.mobile-search-form input[type=submit],.mobile-search-form button{flex:0 0 92px!important;width:92px!important;height:36px!important;border:0!important;border-radius:0!important;background:#222!important;color:#fff!important;font-size:15px!important;font-weight:900!important;padding:0!important}.archive .container,.category .container,.search .container,.container{display:block!important;margin:16px auto!important;padding:0 14px!important;max-width:100%!important;width:100%!important}.archive .main-content,.category .main-content,.search .main-content,.home .main-content{display:block!important}.archive .post-card,.category .post-card,.search .post-card,.home .post-card,.post-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0 0 18px!important;min-height:0!important}.archive .post-card img,.category .post-card img,.search .post-card img,.home .post-card img,.post-card img{width:112px!important;min-width:112px!important;max-width:112px!important;height:86px!important;object-fit:cover!important;border-radius:2px!important}.archive .post-card h2,.category .post-card h2,.search .post-card h2,.home .post-card h2,.post-card h2{font-size:16px!important;line-height:1.25!important;margin:0!important;font-weight:900!important;color:#070707!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.post-card .category{display:none!important}.sidebar{display:none!important}}
@media(max-width:380px){.archive .post-card,.category .post-card,.search .post-card,.home .post-card,.post-card{grid-template-columns:100px minmax(0,1fr)!important;gap:10px!important}.archive .post-card img,.category .post-card img,.search .post-card img,.home .post-card img,.post-card img{width:100px!important;min-width:100px!important;max-width:100px!important;height:78px!important}.archive .post-card h2,.category .post-card h2,.search .post-card h2,.home .post-card h2,.post-card h2{font-size:15px!important}.mobile-nav-icons a{font-size:10px!important}.mobile-search-form input[type=submit],.mobile-search-form button{flex-basis:82px!important;width:82px!important}}

/* === KICHWAHITS v17: archive/search/home cards + compact mobile cards === */
:root{--kh:#00796b!important;--kh-dark:#005f54!important;}

/* Never let WordPress body.category inherit post category pill styles */
body.category,
body.archive,
body.search{
  background:#f5f5f5!important;
  color:#070707!important;
  display:block!important;
  padding:0!important;
  margin:0!important;
  border-radius:0!important;
  width:auto!important;
  max-width:none!important;
  min-height:auto!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  white-space:normal!important;
}

/* Desktop/tablet: category, archive and search must use the same post cards as homepage */
.home .container,
.archive .container,
.category .container,
.search .container{
  max-width:1280px!important;
  width:100%!important;
  margin:26px auto!important;
  padding:0 22px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:34px!important;
  align-items:start!important;
}

.home .main-content,
.archive .main-content,
.category .main-content,
.search .main-content{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  min-width:0!important;
  overflow:visible!important;
}

.home .main-content > h1,
.home .main-content > h2,
.archive .main-content > h1,
.archive .main-content > h2,
.category .main-content > h1,
.category .main-content > h2,
.search .main-content > h1,
.search .main-content > h2,
.pagination{
  grid-column:1/-1!important;
}

.home .post-card,
.archive .post-card,
.category .post-card,
.search .post-card{
  background:#fff!important;
  color:#070707!important;
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  align-items:center!important;
  gap:20px!important;
  border-radius:16px!important;
  padding:16px 18px!important;
  box-shadow:0 3px 14px rgba(0,0,0,.06)!important;
  min-height:150px!important;
  margin:0!important;
  overflow:hidden!important;
}

.home .post-card img,
.archive .post-card img,
.category .post-card img,
.search .post-card img{
  width:100%!important;
  height:118px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  display:block!important;
}

.home .post-card h2,
.archive .post-card h2,
.category .post-card h2,
.search .post-card h2{
  font-size:19px!important;
  line-height:1.28!important;
  margin:10px 0 0!important;
  font-weight:900!important;
  color:#070707!important;
}

/* Category boxes back */
.post-card span.category,
.post-card .category,
.post-category-top a,
.post-tags a{
  display:inline-block!important;
  background:var(--kh)!important;
  color:#fff!important;
  padding:6px 12px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  width:auto!important;
  max-width:max-content!important;
  white-space:nowrap!important;
}
.post-card span.category a,
.post-card .category a{
  color:#fff!important;
  background:transparent!important;
  padding:0!important;
  border-radius:0!important;
}

@media(max-width:1024px){
  .home .container,
  .archive .container,
  .category .container,
  .search .container{grid-template-columns:minmax(0,1fr) 320px!important;gap:22px!important;}
  .home .main-content,
  .archive .main-content,
  .category .main-content,
  .search .main-content{grid-template-columns:1fr!important;}
}

@media(max-width:768px){
  .site-header,.mobile-header{background:#000!important;}
  .mobile-header{display:flex!important;justify-content:center!important;align-items:center!important;height:106px!important;padding:16px 10px!important;}
  .mobile-grid-icon,.mobile-search-mark{display:none!important;}
  .mobile-logo{display:block!important;text-align:center!important;margin:0 auto!important;}
  .mobile-logo img{max-width:225px!important;max-height:70px!important;width:auto!important;height:auto!important;}

  .mobile-icon-menu{display:block!important;background:#fff!important;border-bottom:1px solid #e4e4e4!important;overflow:hidden!important;}
  .mobile-nav-icons{display:grid!important;grid-template-columns:repeat(5,1fr)!important;margin:0!important;padding:0!important;list-style:none!important;}
  .mobile-nav-icons li{border-right:1px solid #e5e5e5!important;text-align:center!important;min-width:0!important;}
  .mobile-nav-icons li:last-child{border-right:0!important;}
  .mobile-nav-icons a{min-height:82px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:11px!important;line-height:1.08!important;font-weight:900!important;color:var(--kh)!important;text-transform:uppercase!important;overflow:hidden!important;}
  .mobile-nav-icons a:before{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;width:34px!important;height:34px!important;border-radius:50%!important;background:var(--kh)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;content:"\f015"!important;}
  .mobile-nav-icons .mi-music a:before{content:"\f001"!important;}
  .mobile-nav-icons .mi-video a:before{content:"\f03d"!important;}
  .mobile-nav-icons .mi-gospel a:before{content:"\f15c"!important;}
  .mobile-nav-icons .mi-contact a:before{content:"\f0e0"!important;}

  /* CeeNaija-style fitted search bar */
  .mobile-search-form{display:block!important;background:#fff!important;padding:6px 14px 10px!important;border-bottom:1px solid #ddd!important;overflow:hidden!important;}
  .mobile-search-form form,
  .search-form{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:6px!important;width:100%!important;max-width:100%!important;margin:0!important;align-items:center!important;}
  .mobile-search-form label,
  .search-form label{display:block!important;min-width:0!important;width:100%!important;margin:0!important;}
  .mobile-search-form .screen-reader-text,
  .search-form .screen-reader-text{display:none!important;}
  .mobile-search-form input[type=search],
  .search-form input[type=search]{width:100%!important;min-width:0!important;height:36px!important;border:1px solid #999!important;border-radius:2px!important;border-right:0!important;padding:0 8px!important;font-size:14px!important;box-sizing:border-box!important;background:#fff!important;}
  .mobile-search-form input[type=submit],
  .mobile-search-form button,
  .search-form input[type=submit],
  .search-form button{width:96px!important;min-width:96px!important;height:36px!important;border:0!important;border-radius:0!important;background:#222!important;color:#fff!important;font-size:15px!important;font-weight:900!important;padding:0!important;box-sizing:border-box!important;}

  .home .container,
  .archive .container,
  .category .container,
  .search .container,
  .container{display:block!important;margin:14px auto!important;padding:0 12px!important;max-width:100%!important;width:100%!important;}
  .home .main-content,
  .archive .main-content,
  .category .main-content,
  .search .main-content{display:block!important;}

  /* Compact mobile cards: cards are back, category boxes are back, more posts visible */
  .home .post-card,
  .archive .post-card,
  .category .post-card,
  .search .post-card,
  .post-card{
    display:grid!important;
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
    background:#fff!important;
    box-shadow:0 2px 10px rgba(0,0,0,.06)!important;
    border-radius:12px!important;
    padding:8px!important;
    margin:0 0 12px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .home .post-card img,
  .archive .post-card img,
  .category .post-card img,
  .search .post-card img,
  .post-card img{
    width:104px!important;
    min-width:104px!important;
    max-width:104px!important;
    height:78px!important;
    object-fit:cover!important;
    border-radius:8px!important;
    display:block!important;
  }
  .post-card .post-content{min-width:0!important;overflow:hidden!important;}
  .post-card span.category,
  .post-card .category{
    display:inline-block!important;
    padding:5px 9px!important;
    border-radius:6px!important;
    font-size:10px!important;
    line-height:1!important;
    margin:0 0 5px!important;
    max-width:100%!important;
  }
  .post-card span.category a,
  .post-card .category a{font-size:10px!important;color:#fff!important;}
  .home .post-card h2,
  .archive .post-card h2,
  .category .post-card h2,
  .search .post-card h2,
  .post-card h2{
    font-size:15px!important;
    line-height:1.22!important;
    margin:0!important;
    font-weight:900!important;
    color:#070707!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    word-break:normal!important;
  }
  .sidebar{display:none!important;}
}

@media(max-width:380px){
  .mobile-search-form form,
  .search-form{grid-template-columns:minmax(0,1fr) 82px!important;}
  .mobile-search-form input[type=submit],
  .mobile-search-form button,
  .search-form input[type=submit],
  .search-form button{width:82px!important;min-width:82px!important;font-size:14px!important;}
  .home .post-card,
  .archive .post-card,
  .category .post-card,
  .search .post-card,
  .post-card{grid-template-columns:96px minmax(0,1fr)!important;gap:9px!important;padding:7px!important;}
  .home .post-card img,
  .archive .post-card img,
  .category .post-card img,
  .search .post-card img,
  .post-card img{width:96px!important;min-width:96px!important;max-width:96px!important;height:72px!important;}
  .home .post-card h2,
  .archive .post-card h2,
  .category .post-card h2,
  .search .post-card h2,
  .post-card h2{font-size:14px!important;}
  .mobile-nav-icons a{font-size:10px!important;}
}

/* === V18 FINAL: CeeNaija search + unified homepage/category/archive/search cards === */
:root{--kh:#00796b!important;}

/* Search form: fitted in one line like CeeNaija */
.kh-search-form,
.mobile-search-form .kh-search-form,
.mobile-search-form form.search-form,
.mobile-search-form #searchform,
.search-form,
#searchform{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  gap:0!important;
  box-sizing:border-box!important;
}
.kh-search-form label,
.mobile-search-form .kh-search-form label,
.mobile-search-form form.search-form label,
.search-form label,
#searchform > div{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
.kh-search-form .screen-reader-text,
.search-form .screen-reader-text{display:none!important;}
.kh-search-form input[type="search"],
.mobile-search-form input[type="search"],
.search-form input[type="search"],
#searchform input[type="text"],
#searchform input[type="search"]{
  width:100%!important;
  min-width:0!important;
  height:40px!important;
  margin:0!important;
  border:1px solid #999!important;
  border-right:0!important;
  border-radius:0!important;
  padding:0 12px!important;
  background:#fff!important;
  color:#111!important;
  font-size:15px!important;
  line-height:40px!important;
  box-sizing:border-box!important;
  outline:none!important;
}
.kh-search-form button,
.kh-search-form input[type="submit"],
.mobile-search-form button,
.mobile-search-form input[type="submit"],
.search-form button,
.search-form input[type="submit"],
#searchform input[type="submit"]{
  flex:0 0 112px!important;
  width:112px!important;
  min-width:112px!important;
  height:40px!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#222!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:900!important;
  text-align:center!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.mobile-search-form{display:block!important;background:#fff!important;padding:8px 20px 12px!important;border-bottom:1px solid #ddd!important;}

/* Sidebar desktop search keeps premium rounded look */
.sidebar .custom-search{display:flex!important;gap:10px!important;align-items:center!important;margin:0 0 28px!important;}
.sidebar .custom-search input{height:54px!important;border:1px solid #ddd!important;border-radius:12px!important;border-right:1px solid #ddd!important;padding:0 16px!important;font-size:16px!important;}
.sidebar .custom-search button{width:62px!important;min-width:62px!important;height:54px!important;border-radius:12px!important;background:var(--kh)!important;font-size:22px!important;}

/* Same card layout on homepage, category, archive and search */
.home .main-content,
.blog .main-content,
.archive .main-content,
.category .main-content,
.search .main-content{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:start!important;
}
.archive-title,
.home .main-content > h1,
.blog .main-content > h1,
.archive .main-content > h1,
.category .main-content > h1,
.search .main-content > h1,
.home .main-content > h2,
.blog .main-content > h2,
.archive .main-content > h2,
.category .main-content > h2,
.search .main-content > h2,
.pagination{
  grid-column:1/-1!important;
  margin:0 0 4px!important;
}
.home .post-card,
.blog .post-card,
.archive .post-card,
.category .post-card,
.search .post-card{
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr)!important;
  align-items:center!important;
  gap:20px!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:16px 18px!important;
  box-shadow:0 3px 14px rgba(0,0,0,.06)!important;
  margin:0!important;
  min-height:150px!important;
  overflow:hidden!important;
}
.home .post-card .post-thumb,
.blog .post-card .post-thumb,
.archive .post-card .post-thumb,
.category .post-card .post-thumb,
.search .post-card .post-thumb{display:block!important;min-width:0!important;}
.home .post-card img,
.blog .post-card img,
.archive .post-card img,
.category .post-card img,
.search .post-card img{
  width:100%!important;
  height:118px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  display:block!important;
  max-width:none!important;
}
.home .post-card .post-content,
.blog .post-card .post-content,
.archive .post-card .post-content,
.category .post-card .post-content,
.search .post-card .post-content{
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  color:#070707!important;
}
.home .post-card h2,
.blog .post-card h2,
.archive .post-card h2,
.category .post-card h2,
.search .post-card h2{
  background:transparent!important;
  color:#070707!important;
  padding:0!important;
  margin:10px 0 0!important;
  font-size:19px!important;
  line-height:1.28!important;
  font-weight:900!important;
  word-break:normal!important;
}
.home .post-card .category,
.blog .post-card .category,
.archive .post-card .category,
.category .post-card .category,
.search .post-card .category{
  display:inline-block!important;
  background:var(--kh)!important;
  color:#fff!important;
  padding:6px 12px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  width:auto!important;
  max-width:max-content!important;
  white-space:nowrap!important;
  margin:0!important;
}

/* Clean Top Ten list, no green blocks */
.sidebar-card{background:transparent!important;margin:0 0 18px!important;padding:0!important;border-radius:0!important;}
.sidebar-card a{background:transparent!important;display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;gap:13px!important;align-items:center!important;padding:0!important;border-radius:0!important;color:#070707!important;}
.sidebar-thumb img{width:78px!important;height:78px!important;object-fit:cover!important;border-radius:9px!important;display:block!important;}
.sidebar-info,.sidebar-info span{background:transparent!important;color:#070707!important;font-size:15px!important;line-height:1.35!important;font-weight:900!important;padding:0!important;margin:0!important;}

@media(max-width:1024px){
  .home .container,.blog .container,.archive .container,.category .container,.search .container{grid-template-columns:minmax(0,1fr) 320px!important;gap:22px!important;}
  .home .main-content,.blog .main-content,.archive .main-content,.category .main-content,.search .main-content{grid-template-columns:1fr!important;}
}

@media(max-width:768px){
  .desktop-header{display:none!important;}
  .site-header,.mobile-header{background:#000!important;}
  .mobile-header{display:flex!important;justify-content:center!important;align-items:center!important;height:116px!important;padding:18px 10px!important;}
  .mobile-grid-icon,.mobile-search-mark{display:none!important;}
  .mobile-logo img{max-width:235px!important;max-height:74px!important;width:auto!important;height:auto!important;}

  .mobile-icon-menu{display:block!important;background:#fff!important;border-bottom:1px solid #e5e5e5!important;overflow:hidden!important;}
  .mobile-nav-icons{display:grid!important;grid-template-columns:repeat(5,1fr)!important;margin:0!important;padding:0!important;list-style:none!important;}
  .mobile-nav-icons li{border-right:1px solid #e5e5e5!important;text-align:center!important;min-width:0!important;}
  .mobile-nav-icons li:last-child{border-right:0!important;}
  .mobile-nav-icons a{min-height:82px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:11px!important;line-height:1.08!important;font-weight:900!important;color:var(--kh)!important;text-transform:uppercase!important;overflow:hidden!important;}
  .mobile-nav-icons a:before{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;width:34px!important;height:34px!important;border-radius:50%!important;background:var(--kh)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important;content:"\f015"!important;}
  .mobile-nav-icons .mi-music a:before{content:"\f001"!important;}
  .mobile-nav-icons .mi-video a:before{content:"\f03d"!important;}
  .mobile-nav-icons .mi-gospel a:before{content:"\f15c"!important;}
  .mobile-nav-icons .mi-contact a:before{content:"\f0e0"!important;}

  .mobile-search-form{display:block!important;background:#fff!important;padding:8px 20px 12px!important;border-bottom:1px solid #ddd!important;overflow:hidden!important;}
  .mobile-search-form .kh-search-form,
  .mobile-search-form form.search-form,
  .mobile-search-form #searchform{height:40px!important;display:flex!important;flex-wrap:nowrap!important;width:100%!important;gap:0!important;}
  .mobile-search-form input[type="search"],
  .mobile-search-form #s{height:40px!important;border:1px solid #999!important;border-right:0!important;border-radius:0!important;font-size:15px!important;padding:0 12px!important;}
  .mobile-search-form button,
  .mobile-search-form input[type="submit"],
  .mobile-search-form #searchsubmit{flex:0 0 112px!important;width:112px!important;min-width:112px!important;height:40px!important;background:#222!important;color:#fff!important;border-radius:0!important;font-weight:900!important;font-size:16px!important;}

  .home .container,.blog .container,.archive .container,.category .container,.search .container,.container{display:block!important;width:100%!important;max-width:100%!important;margin:16px auto!important;padding:0 16px!important;}
  .home .main-content,.blog .main-content,.archive .main-content,.category .main-content,.search .main-content{display:block!important;}

  .home .post-card,.blog .post-card,.archive .post-card,.category .post-card,.search .post-card,.post-card{
    display:grid!important;
    grid-template-columns:126px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
    background:#fff!important;
    border-radius:14px!important;
    box-shadow:0 2px 12px rgba(0,0,0,.07)!important;
    padding:10px!important;
    margin:0 0 14px!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  .home .post-card img,.blog .post-card img,.archive .post-card img,.category .post-card img,.search .post-card img,.post-card img{
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
    height:92px!important;
    object-fit:cover!important;
    border-radius:8px!important;
  }
  .post-card .post-content{background:transparent!important;padding:0!important;min-width:0!important;overflow:hidden!important;}
  .home .post-card .category,.blog .post-card .category,.archive .post-card .category,.category .post-card .category,.search .post-card .category,.post-card .category{
    display:inline-block!important;
    background:var(--kh)!important;
    color:#fff!important;
    padding:5px 9px!important;
    border-radius:6px!important;
    font-size:10px!important;
    line-height:1!important;
    margin:0 0 6px!important;
    max-width:100%!important;
  }
  .post-card .category a{color:#fff!important;font-size:10px!important;background:transparent!important;padding:0!important;}
  .home .post-card h2,.blog .post-card h2,.archive .post-card h2,.category .post-card h2,.search .post-card h2,.post-card h2{
    background:transparent!important;
    color:#070707!important;
    padding:0!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1.22!important;
    font-weight:900!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    word-break:normal!important;
  }
  .sidebar{display:none!important;}
}

@media(max-width:380px){
  .mobile-search-form{padding-left:14px!important;padding-right:14px!important;}
  .mobile-search-form button,.mobile-search-form input[type="submit"],.mobile-search-form #searchsubmit{flex-basis:96px!important;width:96px!important;min-width:96px!important;font-size:15px!important;}
  .home .post-card,.blog .post-card,.archive .post-card,.category .post-card,.search .post-card,.post-card{grid-template-columns:112px minmax(0,1fr)!important;gap:10px!important;padding:9px!important;}
  .home .post-card img,.blog .post-card img,.archive .post-card img,.category .post-card img,.search .post-card img,.post-card img{width:112px!important;min-width:112px!important;max-width:112px!important;height:84px!important;}
  .home .post-card h2,.blog .post-card h2,.archive .post-card h2,.category .post-card h2,.search .post-card h2,.post-card h2{font-size:15px!important;}
}

/* === V19 FINAL FIX: desktop top search hidden + category archive not broken === */
@media (min-width:769px){
  .mobile-icon-menu,
  .mobile-search-form{
    display:none!important;
    height:0!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
}

/* WordPress adds body class="category" on category pages; protect it from old .category label CSS */
body.category{
  background:#f5f5f5!important;
  color:#070707!important;
  padding:0!important;
  border-radius:0!important;
}
body.category a{
  background:transparent!important;
  color:inherit!important;
  padding:0!important;
  border-radius:0!important;
}
body.category .site-header,
body.category .mobile-header{background:#000!important;}
body.category .nav-menu a{color:#fff!important;font-weight:800!important;}
body.category .nav-menu a:hover{color:var(--kh)!important;}
body.category .site-menu a,
body.category .logo a,
body.category .mobile-logo{background:transparent!important;padding:0!important;}
body.category .nav-menu a{padding:0!important;}
body.category .custom-search button,
body.category .kh-search-form button,
body.category .kh-search-form input[type="submit"],
body.category .search-form button,
body.category .search-form input[type="submit"]{
  background:#222!important;color:#fff!important;
}
body.category .sidebar .custom-search button{background:var(--kh)!important;color:#fff!important;}

/* Use safe category pill class so category archive body class can never affect cards */
.post-card .cat-label,
.home .post-card .cat-label,
.blog .post-card .cat-label,
.archive .post-card .cat-label,
.category .post-card .cat-label,
.tag .post-card .cat-label,
.search .post-card .cat-label{
  display:inline-block!important;
  background:var(--kh)!important;
  color:#fff!important;
  padding:6px 12px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  width:auto!important;
  max-width:max-content!important;
  white-space:nowrap!important;
  margin:0!important;
}
.post-card .cat-label a,
body.category .post-card .cat-label a{
  color:#fff!important;background:transparent!important;padding:0!important;border-radius:0!important;
}

@media (min-width:769px){
  .home .main-content,.blog .main-content,.archive .main-content,.category .main-content,.tag .main-content,.search .main-content{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:24px!important;
    align-items:start!important;
  }
  .home .post-card,.blog .post-card,.archive .post-card,.category .post-card,.tag .post-card,.search .post-card{
    display:grid!important;
    grid-template-columns:190px minmax(0,1fr)!important;
    align-items:center!important;
    gap:20px!important;
    background:#fff!important;
    border-radius:16px!important;
    padding:16px 18px!important;
    box-shadow:0 3px 14px rgba(0,0,0,.06)!important;
    margin:0!important;
    min-height:150px!important;
    overflow:hidden!important;
  }
  .home .post-card .post-thumb,.blog .post-card .post-thumb,.archive .post-card .post-thumb,.category .post-card .post-thumb,.tag .post-card .post-thumb,.search .post-card .post-thumb{
    display:block!important;background:transparent!important;padding:0!important;border-radius:0!important;
  }
  .home .post-card img,.blog .post-card img,.archive .post-card img,.category .post-card img,.tag .post-card img,.search .post-card img{
    width:100%!important;height:118px!important;object-fit:cover!important;border-radius:10px!important;display:block!important;max-width:none!important;background:transparent!important;padding:0!important;
  }
  .home .post-card .post-content,.blog .post-card .post-content,.archive .post-card .post-content,.category .post-card .post-content,.tag .post-card .post-content,.search .post-card .post-content{
    background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important;min-width:0!important;color:#070707!important;
  }
  .home .post-card h2,.blog .post-card h2,.archive .post-card h2,.category .post-card h2,.tag .post-card h2,.search .post-card h2{
    background:transparent!important;color:#070707!important;padding:0!important;margin:10px 0 0!important;font-size:19px!important;line-height:1.28!important;font-weight:900!important;word-break:normal!important;
  }
}

@media(max-width:768px){
  .post-card .cat-label{padding:5px 9px!important;border-radius:6px!important;font-size:10px!important;margin:0 0 6px!important;}
  body.category .mobile-nav-icons a{color:var(--kh)!important;background:transparent!important;padding:0!important;}
  body.category .mobile-nav-icons a:before{background:var(--kh)!important;color:#fff!important;}
  body.category .mobile-search-form button,
  body.category .mobile-search-form input[type="submit"]{background:#222!important;color:#fff!important;}
}

/* === v20 single post width + meta fix === */
.single .container{
  grid-template-columns:minmax(0,920px) 360px!important;
  max-width:1420px!important;
  justify-content:center!important;
  gap:42px!important;
}
.single .main-content{width:100%!important;max-width:920px!important;}
.single-post-card{
  width:100%!important;
  max-width:920px!important;
  padding:44px 50px!important;
}
.single-post-card h1{
  font-size:42px!important;
  line-height:1.16!important;
  margin:22px 0 16px!important;
}
.post-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px 18px!important;
  margin:0 0 18px!important;
  color:#777!important;
  font-size:15px!important;
  font-weight:600!important;
}
.post-meta span{display:inline-flex!important;align-items:center!important;gap:6px!important;}
.post-meta a{color:#00796b!important;text-decoration:none!important;font-weight:800!important;}
.post-meta a:hover{text-decoration:underline!important;}
.post-meta-date:before{content:"\f073";font-family:"Font Awesome 6 Free";font-weight:900;color:#00796b;}
.post-meta-author:before{content:"\f007";font-family:"Font Awesome 6 Free";font-weight:900;color:#00796b;}
.post-meta-comments:before{content:"\f075";font-family:"Font Awesome 6 Free";font-weight:900;color:#00796b;}
.single .featured-image img{width:100%!important;max-height:650px!important;object-fit:contain!important;}
.single-post-card .post-content{font-size:19px!important;line-height:1.75!important;}

@media(max-width:1100px){
  .single .container{grid-template-columns:minmax(0,1fr) 330px!important;gap:26px!important;}
  .single .main-content,.single-post-card{max-width:none!important;}
  .single-post-card{padding:34px!important;}
  .single-post-card h1{font-size:34px!important;}
}
@media(max-width:768px){
  .single .container{display:block!important;max-width:100%!important;padding:0 14px!important;margin:16px auto!important;}
  .single .main-content{max-width:100%!important;}
  .single-post-card{max-width:100%!important;padding:20px 16px!important;border-radius:12px!important;}
  .single-post-card h1{font-size:27px!important;line-height:1.2!important;}
  .post-meta{font-size:13px!important;gap:8px 12px!important;margin-bottom:14px!important;}
  .single-post-card .post-content{font-size:17px!important;line-height:1.68!important;}
}

/* === v21 single post final desktop width + author cleanup === */
@media (min-width:1101px){
  body.single .container,body.single-post .container{max-width:1500px!important;width:100%!important;margin:32px auto!important;padding:0 70px!important;display:grid!important;grid-template-columns:minmax(760px,980px) 360px!important;gap:60px!important;justify-content:center!important;align-items:start!important;}
  body.single .main-content,body.single-post .main-content{width:100%!important;max-width:980px!important;display:block!important;min-width:0!important;}
  body.single .single-post-card,body.single-post .single-post-card{width:100%!important;max-width:980px!important;box-sizing:border-box!important;padding:44px 52px!important;}
  body.single .single-post-card h1,body.single-post .single-post-card h1{font-size:42px!important;line-height:1.15!important;}
  body.single .featured-image img,body.single-post .featured-image img{width:100%!important;max-width:100%!important;height:auto!important;}
}
.post-meta-author,.post-meta-author a,.post-meta-author a:link,.post-meta-author a:visited{background:transparent!important;color:#666!important;padding:0!important;margin:0!important;border-radius:0!important;display:inline-flex!important;font-size:inherit!important;line-height:inherit!important;font-weight:700!important;}
.post-meta-author a:hover{color:#00796b!important;text-decoration:underline!important;}

/* === v21 fallback: widen any page that contains the single post card === */
@media (min-width:1101px){
  .container:has(.single-post-card){max-width:1500px!important;width:100%!important;margin:32px auto!important;padding:0 70px!important;display:grid!important;grid-template-columns:minmax(760px,980px) 360px!important;gap:60px!important;justify-content:center!important;align-items:start!important;}
  .container:has(.single-post-card) .main-content{width:100%!important;max-width:980px!important;display:block!important;}
  .container:has(.single-post-card) .single-post-card{width:100%!important;max-width:980px!important;}
}

/* === v22: mobile popular/search, footer, related cards, 24-post list polish === */
@media (min-width:769px){
  .mobile-search-form{display:none!important;}
}
.sidebar-widget h3,
.sidebar h3{
  text-transform:capitalize!important;
  font-size:20px!important;
  line-height:1.2!important;
  margin:0 0 22px!important;
  font-weight:900!important;
  color:#070707!important;
}
@media (max-width:768px){
  .sidebar{
    display:block!important;
    position:static!important;
    background:#fff!important;
    border-radius:14px!important;
    padding:16px!important;
    margin:18px 0 0!important;
    box-shadow:0 2px 12px rgba(0,0,0,.06)!important;
  }
  .sidebar-widget{margin-bottom:20px!important;}
  .sidebar-widget h3,.sidebar h3{font-size:18px!important;margin-bottom:15px!important;}
  .sidebar .custom-search{display:flex!important;gap:0!important;width:100%!important;margin:0 0 22px!important;}
  .sidebar .custom-search input{
    flex:1 1 auto!important;min-width:0!important;height:40px!important;border:1px solid #999!important;border-right:0!important;border-radius:0!important;padding:0 12px!important;font-size:15px!important;
  }
  .sidebar .custom-search button{
    flex:0 0 96px!important;width:96px!important;min-width:96px!important;height:40px!important;border-radius:0!important;background:#222!important;color:#fff!important;font-size:0!important;font-weight:900!important;
  }
  .sidebar .custom-search button:after{content:"Search"!important;font-size:15px!important;font-weight:900!important;}
  .sidebar .custom-search button i{display:none!important;}
  .sidebar-card{margin:0 0 14px!important;}
  .sidebar-card a{grid-template-columns:86px minmax(0,1fr)!important;gap:12px!important;}
  .sidebar-thumb img{width:86px!important;height:68px!important;border-radius:6px!important;}
  .sidebar-info span{font-size:14px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
}
.site-footer{background:#000!important;color:#fff!important;padding:22px 12px!important;margin-top:28px!important;text-align:center!important;}
.footer-container{max-width:1100px!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:12px!important;font-size:16px!important;line-height:1.4!important;}
.footer-menu{list-style:none!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:16px 24px!important;margin:0!important;padding:0!important;}
.footer-menu a{color:#fff!important;text-decoration:none!important;}
.footer-menu a:hover{color:var(--kh)!important;}
@media(max-width:768px){
  .site-footer{padding:16px 10px!important;margin-top:18px!important;}
  .footer-container{gap:8px!important;font-size:13px!important;}
  .footer-menu{gap:8px 15px!important;}
  .footer-menu a{font-size:13px!important;}
}
.related-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;margin-top:16px!important;}
.related-card{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;background:#fff!important;border-radius:16px!important;padding:15px!important;box-shadow:0 3px 14px rgba(0,0,0,.06)!important;cursor:pointer!important;overflow:hidden!important;}
.related-thumb img{width:100%!important;height:112px!important;object-fit:cover!important;border-radius:10px!important;display:block!important;}
.related-content{min-width:0!important;background:transparent!important;padding:0!important;}
.related-content .post-category-top,
.related-content .post-category-top a{display:inline-block!important;background:var(--kh)!important;color:#fff!important;padding:5px 10px!important;border-radius:7px!important;font-size:11px!important;line-height:1!important;font-weight:900!important;text-decoration:none!important;margin:0 0 8px!important;}
.related-content h4{margin:0!important;font-size:17px!important;line-height:1.25!important;font-weight:900!important;color:#070707!important;}
.related-content .post-date{display:none!important;}
@media(max-width:768px){
  .related-title{font-size:20px!important;margin:24px 0 10px!important;}
  .related-grid{display:block!important;margin-top:8px!important;}
  .related-card{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:10px!important;padding:9px!important;border-radius:14px!important;margin:0 0 14px!important;box-shadow:0 2px 12px rgba(0,0,0,.07)!important;}
  .related-thumb img{width:112px!important;min-width:112px!important;max-width:112px!important;height:84px!important;border-radius:8px!important;}
  .related-content .post-category-top,
  .related-content .post-category-top a{padding:5px 9px!important;border-radius:6px!important;font-size:10px!important;margin:0 0 6px!important;}
  .related-content h4{font-size:15px!important;line-height:1.22!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
}

/* === v23: make related posts smaller and cleaner === */
@media (min-width: 901px){
  .related-title{
    font-size:24px!important;
    margin:34px 0 14px!important;
  }
  .related-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    margin-top:12px!important;
  }
  .related-card{
    grid-template-columns:112px minmax(0,1fr)!important;
    gap:11px!important;
    padding:10px!important;
    border-radius:13px!important;
    min-height:112px!important;
    box-shadow:0 2px 10px rgba(0,0,0,.055)!important;
  }
  .related-thumb img{
    width:112px!important;
    height:86px!important;
    border-radius:8px!important;
  }
  .related-content .post-category-top,
  .related-content .post-category-top a{
    padding:4px 8px!important;
    border-radius:6px!important;
    font-size:10px!important;
    margin:0 0 6px!important;
  }
  .related-content h4{
    font-size:14px!important;
    line-height:1.22!important;
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
}

@media (min-width: 769px) and (max-width: 1100px){
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
}

@media(max-width:768px){
  .related-card{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:9px!important;
    padding:8px!important;
    margin-bottom:11px!important;
  }
  .related-thumb img{
    width:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    height:72px!important;
  }
  .related-content h4{font-size:14px!important;line-height:1.2!important;}
}

/* === v24: related posts 2 columns + smaller pills + polished comments === */
@media (min-width: 769px){
  .related-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    margin-top:12px!important;
  }
  .related-card{
    display:grid!important;
    grid-template-columns:118px minmax(0,1fr)!important;
    gap:12px!important;
    align-items:center!important;
    padding:10px!important;
    border-radius:13px!important;
    min-height:110px!important;
    box-shadow:0 2px 10px rgba(0,0,0,.055)!important;
  }
  .related-thumb img{
    width:118px!important;
    min-width:118px!important;
    max-width:118px!important;
    height:84px!important;
    object-fit:cover!important;
    border-radius:8px!important;
  }
  .related-content .post-category-top,
  .related-content .post-category-top a{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    padding:3px 7px!important;
    border-radius:5px!important;
    font-size:9px!important;
    line-height:1!important;
    margin:0 0 5px!important;
    font-weight:800!important;
  }
  .related-content h4{
    font-size:14px!important;
    line-height:1.2!important;
    margin:0!important;
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
}

@media(max-width:768px){
  .related-grid{display:block!important;grid-template-columns:none!important;gap:0!important;}
  .related-card{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:9px!important;
    padding:8px!important;
    margin-bottom:10px!important;
    border-radius:13px!important;
  }
  .related-thumb img{
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
    height:68px!important;
    border-radius:8px!important;
  }
  .related-content .post-category-top,
  .related-content .post-category-top a{
    display:inline-flex!important;
    width:auto!important;
    min-width:0!important;
    padding:3px 6px!important;
    border-radius:5px!important;
    font-size:9px!important;
    line-height:1!important;
    margin:0 0 5px!important;
  }
  .related-content h4{font-size:13.5px!important;line-height:1.18!important;-webkit-line-clamp:2!important;}
}

.comments-area{
  margin-top:32px;
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:0 3px 14px rgba(0,0,0,.06);
  border:1px solid #eee;
}
.comments-title,.comment-reply-title{
  font-size:22px;
  line-height:1.25;
  margin:0 0 18px;
  font-weight:900;
  color:#050505;
}
.comment-list{list-style:none;margin:0 0 22px;padding:0;}
.comment-list li{border-bottom:1px solid #eee;padding:14px 0;}
.comment-list li:last-child{border-bottom:0;}
.comment-author .avatar{border-radius:50%;margin-right:8px;vertical-align:middle;}
.comment-author .fn{font-weight:900;color:#111;}
.comment-metadata a{font-size:12px;color:#777!important;text-decoration:none!important;}
.comment-content{font-size:15px;line-height:1.6;color:#222;margin-top:8px;}
.comment-reply-link{display:inline-block;background:var(--kh);color:#fff!important;border-radius:6px;padding:5px 10px;font-size:12px;font-weight:800;text-decoration:none!important;}
.comment-form{display:grid;gap:12px;}
.comment-form p{margin:0;}
.comment-form label{display:block;font-weight:800;margin-bottom:6px;color:#111;font-size:14px;}
.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url]{
  width:100%;
  border:1px solid #ddd;
  border-radius:10px;
  padding:12px 14px;
  font-size:15px;
  outline:none;
  background:#fafafa;
}
.comment-form textarea:focus,
.comment-form input:focus{border-color:var(--kh);background:#fff;box-shadow:0 0 0 3px rgba(0,128,112,.10);}
.comment-form .submit{
  background:var(--kh);
  color:#fff;
  border:0;
  border-radius:8px;
  padding:12px 20px;
  font-weight:900;
  cursor:pointer;
}
.comment-form .submit:hover{filter:brightness(.95);}
.comment-notes,.logged-in-as,.comment-form-cookies-consent{font-size:13px;color:#666;}
.comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start;}
@media(max-width:768px){
  .comments-area{padding:16px;margin-top:22px;border-radius:14px;box-shadow:0 2px 12px rgba(0,0,0,.06);}
  .comments-title,.comment-reply-title{font-size:18px;}
  .comment-form textarea{min-height:110px;}
}

/* === KICHWAHITS v25: single article font, 10 related posts, sticky sidebar === */
@media (min-width: 769px){
  body.single .container{
    display:grid!important;
    grid-template-columns:minmax(0, 860px) 360px!important;
    gap:42px!important;
    align-items:start!important;
    max-width:1380px!important;
    margin:34px auto!important;
  }
  body.single .main-content{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }
  body.single .single-post-card{
    width:100%!important;
    max-width:none!important;
    padding:46px 54px!important;
  }
  body.single .single-post-card .post-content,
  body.single .single-post-card .post-content p,
  body.single .entry-content,
  body.single .entry-content p{
    font-size:24px!important;
    line-height:1.65!important;
    letter-spacing:.1px!important;
  }
  body.single .single-post-card .post-content p,
  body.single .entry-content p{
    margin-bottom:24px!important;
  }
  body.single .single-post-card h1{
    font-size:42px!important;
    line-height:1.16!important;
  }
  body.single .sidebar{
    position:sticky!important;
    top:115px!important;
    align-self:start!important;
    max-height:calc(100vh - 130px)!important;
    overflow-y:auto!important;
  }
  body.single .related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:16px!important;
  }
  body.single .related-card{
    padding:12px!important;
  }
  body.single .related-thumb img{
    height:125px!important;
  }
  body.single .related-content h4{
    font-size:15px!important;
    line-height:1.28!important;
    margin:8px 0 0!important;
  }
  body.single .related-card .post-category-top a{
    padding:4px 8px!important;
    border-radius:6px!important;
    font-size:10px!important;
    line-height:1!important;
  }
}

@media (max-width:768px){
  body.single .single-post-card .post-content,
  body.single .single-post-card .post-content p,
  body.single .entry-content,
  body.single .entry-content p{
    font-size:17px!important;
    line-height:1.7!important;
  }
  body.single .related-card .post-category-top a{
    padding:3px 7px!important;
    font-size:10px!important;
    border-radius:5px!important;
  }
}

/* === KICHWAHITS v26: smaller single font + proper sticky sidebar + tighter desktop gap === */
@media (min-width: 769px){
  body.single .container,
  body.single-post .container,
  .container:has(.single-post-card){
    display:grid!important;
    grid-template-columns:minmax(0, 900px) 340px!important;
    gap:18px!important;
    column-gap:18px!important;
    align-items:start!important;
    max-width:1320px!important;
    width:100%!important;
    margin:28px auto!important;
    padding-left:20px!important;
    padding-right:20px!important;
    justify-content:center!important;
  }

  body.single .main-content,
  body.single-post .main-content,
  .container:has(.single-post-card) .main-content{
    width:100%!important;
    max-width:900px!important;
    min-width:0!important;
  }

  body.single .single-post-card,
  body.single-post .single-post-card,
  .container:has(.single-post-card) .single-post-card{
    width:100%!important;
    max-width:900px!important;
    padding:36px 42px!important;
    box-sizing:border-box!important;
  }

  body.single .single-post-card h1,
  body.single-post .single-post-card h1,
  .container:has(.single-post-card) .single-post-card h1{
    font-size:38px!important;
    line-height:1.18!important;
  }

  body.single .single-post-card .post-content,
  body.single .single-post-card .post-content p,
  body.single .entry-content,
  body.single .entry-content p,
  body.single-post .single-post-card .post-content,
  body.single-post .single-post-card .post-content p,
  .container:has(.single-post-card) .single-post-card .post-content,
  .container:has(.single-post-card) .single-post-card .post-content p{
    font-size:20px!important;
    line-height:1.68!important;
    letter-spacing:0!important;
  }

  body.single .single-post-card .post-content p,
  body.single .entry-content p,
  body.single-post .single-post-card .post-content p,
  .container:has(.single-post-card) .single-post-card .post-content p{
    margin-bottom:18px!important;
  }

  body.single .sidebar,
  body.single-post .sidebar,
  .container:has(.single-post-card) .sidebar{
    position:sticky!important;
    top:24px!important;
    align-self:start!important;
    width:100%!important;
    max-width:340px!important;
    max-height:none!important;
    overflow:visible!important;
  }

  body.admin-bar.single .sidebar,
  body.admin-bar.single-post .sidebar,
  body.admin-bar .container:has(.single-post-card) .sidebar{
    top:56px!important;
  }
}

/* === KICHWAHITS v27: smaller article typography + tighter desktop single layout === */
@media (min-width: 769px){
  body.single .container,
  body.single-post .container,
  .container:has(.single-post-card){
    grid-template-columns:minmax(0, 920px) 330px!important;
    gap:10px!important;
    column-gap:10px!important;
    max-width:1280px!important;
    padding-left:12px!important;
    padding-right:12px!important;
    margin-top:24px!important;
    margin-bottom:24px!important;
  }

  body.single .main-content,
  body.single-post .main-content,
  .container:has(.single-post-card) .main-content{
    max-width:920px!important;
  }

  body.single .single-post-card,
  body.single-post .single-post-card,
  .container:has(.single-post-card) .single-post-card{
    max-width:920px!important;
    padding:34px 38px!important;
  }

  body.single .single-post-card h1,
  body.single-post .single-post-card h1,
  .container:has(.single-post-card) .single-post-card h1{
    font-size:34px!important;
    line-height:1.18!important;
    letter-spacing:-.3px!important;
  }

  body.single .single-post-card .post-content,
  body.single .single-post-card .post-content p,
  body.single .entry-content,
  body.single .entry-content p,
  body.single-post .single-post-card .post-content,
  body.single-post .single-post-card .post-content p,
  .container:has(.single-post-card) .single-post-card .post-content,
  .container:has(.single-post-card) .single-post-card .post-content p{
    font-size:17px!important;
    line-height:1.7!important;
    font-weight:400!important;
  }

  body.single .single-post-card .post-content p,
  body.single .entry-content p,
  body.single-post .single-post-card .post-content p,
  .container:has(.single-post-card) .single-post-card .post-content p{
    margin-bottom:16px!important;
  }

  body.single .post-meta,
  body.single-post .post-meta,
  .container:has(.single-post-card) .post-meta{
    font-size:14px!important;
    line-height:1.4!important;
  }

  body.single .featured-image,
  body.single-post .featured-image,
  .container:has(.single-post-card) .featured-image{
    margin-top:20px!important;
    margin-bottom:24px!important;
  }

  body.single .sidebar,
  body.single-post .sidebar,
  .container:has(.single-post-card) .sidebar{
    position:sticky!important;
    top:22px!important;
    max-width:330px!important;
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
    overflow-y:visible!important;
  }

  body.single .sidebar *,
  body.single-post .sidebar *,
  .container:has(.single-post-card) .sidebar *{
    max-height:none!important;
  }
}

@media (max-width: 768px){
  body.single .single-post-card .post-content,
  body.single .single-post-card .post-content p,
  body.single-post .single-post-card .post-content,
  body.single-post .single-post-card .post-content p{
    font-size:16px!important;
    line-height:1.65!important;
  }
  body.single .single-post-card h1,
  body.single-post .single-post-card h1{
    font-size:25px!important;
    line-height:1.2!important;
  }
}
