/* Basic grid & card styles */
.ghed-grid{display:grid;gap:20px}
.ghed-cols-1{grid-template-columns:1fr}
.ghed-cols-2{grid-template-columns:repeat(2,1fr)}
.ghed-cols-3{grid-template-columns:repeat(3,1fr)}
.ghed-cols-4{grid-template-columns:repeat(4,1fr)}
.ghed-cols-5{grid-template-columns:repeat(5,1fr)}
.ghed-cols-6{grid-template-columns:repeat(6,1fr)}
@media(max-width:900px){.ghed-cols-3,.ghed-cols-4,.ghed-cols-5,.ghed-cols-6{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ghed-grid{grid-template-columns:1fr}}
.ghed-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.ghed-cover img{width:100%;height:auto;border-radius:8px;display:block}
.ghed-title{font-size:1.05rem;margin:12px 0}
.ghed-button{display:inline-block;padding:10px 16px;border-radius:999px;text-decoration:none;background:var(--ghed-btn-bg,#0ea5e9);color:var(--ghed-btn-color,#fff);font-weight:600;font-size:var(--ghed-btn-font-size,16px)}
.ghed-button:hover{opacity:.9}

/* Single template layout */
.ghed-single{max-width:1100px;margin:0 auto;padding:24px}
.ghed-hero{display:grid;grid-template-columns:1fr 1.2fr;gap:28px;align-items:start}
.ghed-hero .ghed-cover img{width:100%;height:auto;border-radius:12px}
.ghed-desc{font-size:1rem;line-height:1.7}
@media(max-width:900px){.ghed-hero{grid-template-columns:1fr}}
.ghed-form{margin-top:24px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa}
.ghed-form form input[type="submit"], .ghed-form button, .ghed-form input[type="button"]{background:var(--ghed-btn-bg,#0ea5e9);color:var(--ghed-btn-color,#fff);border:none;border-radius:8px;padding:10px 16px;cursor:pointer;font-weight:600;font-size:var(--ghed-btn-font-size,16px)}
.ghed-form form input[type="submit"]:hover, .ghed-form button:hover, .ghed-form input[type="button"]{opacity:.9}

/* Pagination */
.ghed-pagination{margin-top:18px;display:flex;gap:8px;flex-wrap:wrap}
.ghed-pagination a{padding:6px 10px;border:1px solid #e5e7eb;border-radius:6px;text-decoration:none}
.ghed-pagination a.current{background:#0ea5e9;color:#fff;border-color:#0ea5e9}
