/* TG Blog UI (techguruclub.com) - layout follows techguru.co.in blog pages; colours are Tech Guru Club's. */

/* ---------- Listing pages: blog, category, tag, author, date, search ---------- */
.tg-bl{padding:60px 0 90px;background:#f6f8fc}
.tg-bl-wrap{max-width:1240px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:34px;align-items:start}
.tg-bl-main{min-width:0}

.tg-bl-head{background:#fff;padding:28px 32px;margin-bottom:26px;border-radius:16px;border:1px solid #e6eaf3;box-shadow:0 6px 24px rgba(0,16,66,.05)}
.tg-bl-head--blog{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.tg-bl-title{font-size:30px;line-height:1.25;margin:0;color:#001042;font-weight:700}
.tg-bl-title span{color:#1062FE}
.tg-bl-desc{margin:10px 0 0;font-size:15px;line-height:1.65;color:#4A5372}
.tg-bl-desc p{margin:0}
.tg-bl-author{display:flex;align-items:center;gap:20px}
.tg-bl-author-avatar img{width:80px;height:80px;border-radius:50%;display:block;border:3px solid #eef3ff}

.tg-bl-search{display:flex;gap:8px;flex:1 1 280px;max-width:420px;margin:0}
.tg-bl-search input[type=search]{flex:1;min-width:0;height:44px;border:1px solid #e6eaf3;border-radius:10px;padding:0 14px;font-size:14px;background:#fff;color:#001042;box-shadow:none}
.tg-bl-search input[type=search]:focus{border-color:#1062FE;outline:0;box-shadow:0 0 0 3px rgba(16,98,254,.15)}
.tg-bl-search button{height:44px;padding:0 18px;border:0;border-radius:10px;background:#1062FE;color:#fff;font-weight:600;font-size:14px;cursor:pointer;transition:background .2s}
.tg-bl-search button:hover{background:#001042}
.tg-bl-search--wide{max-width:560px;margin:0 0 6px}

.tg-bl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tg-card{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e6eaf3;border-radius:16px;overflow:hidden;box-shadow:0 6px 24px rgba(0,16,66,.05);transition:transform .2s,box-shadow .2s}
.tg-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(0,16,66,.1)}
.tg-card-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef3ff}
.tg-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.tg-card:hover .tg-card-img img{transform:scale(1.03)}
.tg-card-noimg{display:block;width:100%;height:100%;background:linear-gradient(135deg,#eef3ff,#dfe9ff)}
.tg-card-body{display:flex;flex-direction:column;flex:1;padding:18px 22px 22px}
.tg-card-title{font-size:19px;line-height:1.35;margin:0 0 8px;font-weight:700}
.tg-card-title a{color:#001042;text-decoration:none}
.tg-card-title a:hover{color:#1062FE}
.tg-card-meta{font-size:14px;color:#6b7390;margin-bottom:2px}
.tg-card-meta a{color:#1062FE;text-decoration:none}
.tg-card-meta a:hover{text-decoration:underline}
.tg-card-excerpt{font-size:14px;line-height:1.65;color:#4A5372;margin-top:6px}
.tg-card-excerpt p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.tg-card-more{margin:14px 0 0;margin-top:auto;padding-top:14px}
.tg-card-more a{font-weight:600;font-size:14px;color:#1062FE;text-decoration:none}
.tg-card-more a:hover{color:#001042}

.tg-bl-pagination{margin-top:30px}
.tg-bl-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.tg-bl-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border:1px solid #e6eaf3;border-radius:10px;background:#fff;color:#001042;font-size:14px;font-weight:600;text-decoration:none}
.tg-bl-pagination .page-numbers.current,.tg-bl-pagination a.page-numbers:hover{background:#1062FE;border-color:#1062FE;color:#fff}
.tg-bl-pagination .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* No results */
.tg-bl-empty{background:#fff;padding:28px 32px;border-radius:16px;border:1px solid #e6eaf3;box-shadow:0 6px 24px rgba(0,16,66,.05)}
.tg-bl-empty h2{font-size:22px;margin:0 0 8px;color:#001042}
.tg-bl-empty > p{font-size:16px;color:#4A5372;margin:0 0 18px}
.tg-nr-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 30px}
.tg-nr-btn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none!important;border:1px solid #001042;transition:background .2s,color .2s}
.tg-nr-btn svg{width:18px;height:18px}
.tg-nr-back{background:#fff;color:#001042}
.tg-nr-back:hover{background:#001042;color:#fff}
.tg-nr-blog{background:#001042;color:#fff!important}
.tg-nr-blog:hover{background:#1062FE;border-color:#1062FE}
.tg-nr-recent h3{font-size:18px;font-weight:700;color:#001042;margin:0 0 12px}
.tg-nr-recent ul{list-style:none;margin:0;padding:0}
.tg-nr-recent li{border-top:1px solid #e2e8f0;padding:12px 0;margin:0}
.tg-nr-recent li:last-child{border-bottom:1px solid #e2e8f0}
.tg-nr-recent a{font-size:15px;color:#001042;text-decoration:none}
.tg-nr-recent a:hover{color:#1062FE}

/* Sidebar (no form) */
.tg-bl-side{display:flex;flex-direction:column;gap:22px;min-width:0}
.tg-side-card{background:#fff;border:1px solid #e6eaf3;border-radius:16px;padding:24px 22px;box-shadow:0 6px 24px rgba(0,16,66,.05)}
.tg-side-title{font-size:18px;line-height:1.3;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid #e6eaf3;position:relative;color:#001042;font-weight:700}
.tg-side-title:after{content:"";position:absolute;left:0;bottom:-2px;width:44px;height:2px;background:#1062FE}
.tg-side-recent-list,.tg-side-cat-list{list-style:none;margin:0;padding:0}
.tg-side-recent-list li{display:grid;grid-template-columns:72px 1fr;column-gap:14px;row-gap:4px;align-content:start;padding:12px 0;margin:0;border-top:1px dashed #e2e8f0}
.tg-side-recent-list li:first-child{border-top:0;padding-top:4px}
.tg-side-recent-list li.no-thumb{grid-template-columns:1fr}
.tg-side-thumb{grid-row:1 / span 2;display:block;width:72px;height:72px;border-radius:10px;overflow:hidden;background:#eef3ff;box-shadow:0 3px 10px rgba(0,16,66,.08)}
.tg-side-thumb img{width:72px!important;height:72px!important;max-width:none;object-fit:cover;display:block;transition:transform .3s}
.tg-side-recent-list li:hover .tg-side-thumb img{transform:scale(1.06)}
.tg-side-post{font-size:14.5px;font-weight:600;line-height:1.4;color:#001042;text-decoration:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tg-side-post:hover{color:#1062FE}
.tg-side-recent-list time{font-size:12.5px;color:#64748b}
.tg-side-cat-list li{padding:9px 0;border-bottom:1px dashed #e6eaf3;margin:0;font-size:14px;line-height:1.45;color:#6b7390}
.tg-side-cat-list li:last-child{border-bottom:0}
.tg-side-cat-list a{color:#001042;text-decoration:none}
.tg-side-cat-list a:hover{color:#1062FE}
.tg-side-tag-cloud{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.tg-side-tag-cloud a{display:inline-block;margin:0;padding:6px 12px;border:1px solid #e6eaf3;border-radius:999px;background:#f5f8fc;color:#001042;text-decoration:none;font-size:13px!important;line-height:1.3}
.tg-side-tag-cloud a:hover{background:#1062FE;border-color:#1062FE;color:#fff}

@media (max-width:991px){
	.tg-bl{padding:40px 0 70px}
	.tg-bl-wrap{grid-template-columns:1fr}
}
@media (max-width:767px){
	.tg-bl-wrap{padding:0 16px}
	.tg-bl-grid{grid-template-columns:1fr}
	.tg-bl-head,.tg-bl-empty{padding:22px 20px}
	.tg-bl-title{font-size:24px}
	.tg-bl-search{max-width:none;flex-basis:100%}
	.tg-bl-author{flex-direction:column;align-items:flex-start}
}

/* ---------- Single blog post layout (card like techguru.co.in) ---------- */
.tg-sp-card{background:#fff;border:1px solid #e6eaf3;border-radius:16px;box-shadow:0 6px 24px rgba(0,16,66,.05);padding:34px 36px}
.tg-sp-thumb{margin:0 0 26px;border-radius:12px;overflow:hidden;background:#eef3ff}
.tg-sp-thumb img{width:100%;height:auto;display:block}
.tg-sp-header{margin:0 0 26px}
.tg-sp-title{font-size:36px;line-height:1.22;margin:0 0 14px;color:#001042;font-weight:700;letter-spacing:-.01em}
.tg-sp-title::after{content:"";display:block;width:64px;height:4px;border-radius:4px;background:linear-gradient(90deg,#1062FE,#22c55e);margin-top:14px}
.tg-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tg-sp-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:14px;color:#6b7390}
.tg-sp-meta a{color:#1062FE;text-decoration:none}
.tg-sp-meta a:hover{text-decoration:underline}
.tg-sp-sep{color:#c3cad9}
.tg-sp-content{font-size:16.5px;line-height:1.8;color:#2b3350}
.tg-sp-content > *:first-child{margin-top:0}
.tg-sp-content p{margin:0 0 18px}
.tg-sp-content h1,.tg-sp-content h2,.tg-sp-content h3,.tg-sp-content h4{color:#001042;line-height:1.3}
.tg-sp-content h2{font-size:26px;margin:36px 0 16px}
.tg-sp-content h3{font-size:21px;margin:28px 0 12px}
.tg-sp-content a{color:#1062FE}
.tg-sp-content img{border-radius:12px;max-width:100%;height:auto}
.tg-sp-content ul,.tg-sp-content ol{margin:0 0 18px;padding-left:22px}
.tg-sp-content li{margin-bottom:6px}
.tg-sp-content table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:15px}
.tg-sp-content th,.tg-sp-content td{border:1px solid #e6eaf3;padding:10px 12px;text-align:left;vertical-align:top}
.tg-sp-content th{background:#f5f8fc;color:#001042}
.tg-sp-content blockquote{margin:0 0 20px;padding:14px 18px;border-left:4px solid #1062FE;background:#f5f8fc;border-radius:0 10px 10px 0}
.tg-sp-content .e-con-boxed > .e-con-inner{max-width:100%}
.tg-sp-content > .elementor .e-con.e-parent{--padding-left:0px;--padding-right:0px}
.tg-sp-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:28px;padding-top:20px;border-top:1px solid #e6eaf3}
.tg-sp-tags span{font-weight:600;color:#001042;font-size:14px;margin-right:4px}
.tg-sp-tags a{display:inline-block;padding:6px 12px;border:1px solid #e6eaf3;border-radius:999px;background:#f5f8fc;color:#001042;text-decoration:none;font-size:13px}
.tg-sp-tags a:hover{background:#1062FE;border-color:#1062FE;color:#fff}
.tg-sp-nav{margin-top:28px;padding-top:20px;border-top:1px solid #e6eaf3}
.tg-sp-nav .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.tg-sp-nav .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tg-sp-nav .nav-next{text-align:right;grid-column:2}
.tg-sp-nav a{display:block;padding:14px 16px;border:1px solid #e6eaf3;border-radius:12px;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.tg-sp-nav a:hover{border-color:#1062FE;box-shadow:0 6px 18px rgba(16,98,254,.12)}
.tg-sp-nav-label{display:block;font-size:12.5px;font-weight:600;color:#1062FE;margin-bottom:4px}
.tg-sp-nav-title{display:block;font-size:15px;font-weight:600;color:#001042;line-height:1.4}
.tg-sp-comments{margin-top:28px}
.tg-sp-comments > *:first-child,.tg-sp-comments .comments-area,.tg-sp-comments .comment-respond{margin-top:0!important;padding-top:0!important;border-top:0!important}
.tg-sp-comments .comment-reply-title{font-size:22px;color:#001042;margin:0 0 8px}
@media (max-width:767px){
	.tg-sp-card{padding:22px 18px}
	.tg-sp-title{font-size:27px}
	.tg-sp-content h2{font-size:22px}
	.tg-sp-nav .nav-links{grid-template-columns:1fr}
	.tg-sp-nav .nav-next{grid-column:1;text-align:left}
}

/* ---------- Single blog post: divider under the title and every H1 and H2 ---------- */
.tg-blog-single .breadcrumb-area .breadcrumb-content > h1::after,
.tg-blog-single .breadcrumb-area .breadcrumb-content > h2::after{content:"";display:block;width:64px;height:4px;border-radius:4px;background:linear-gradient(90deg,#ffffff,#7dd3fc);margin:14px auto 0}
.tg-blog-single .hostim_blog_content h1::after,
.tg-blog-single .hostim_blog_content h2::after{content:"";display:block;width:64px;height:4px;border-radius:4px;background:linear-gradient(90deg,#1062FE,#22c55e);margin-top:14px}
.tg-blog-single .hostim_blog_content h2::after{width:48px;height:3px;margin-top:12px}
.tg-blog-single .hostim_blog_content .has-text-align-center::after,
.tg-blog-single .hostim_blog_content [style*="text-align:center"]::after,
.tg-blog-single .hostim_blog_content [style*="text-align: center"]::after,
.tg-blog-single .hostim_blog_content .elementor-align-center h1::after,
.tg-blog-single .hostim_blog_content .elementor-align-center h2::after{margin-left:auto;margin-right:auto}
.tg-blog-single .hostim_blog_content .has-text-align-right::after{margin-left:auto}
