/*
Theme Name: Corbett Package Tour Blog
Theme URI: https://corbettpackagetour.in/blog/
Author: Performa DigiTech Solutions
Author URI: https://performadigitech.com/
Description: Blog theme for corbettpackagetour.in with the same header, footer, forms and design as the main website. Enquiry forms send leads to the website email, CRM and thank-you page.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: corbett-blog
*/

/* The main website stylesheet (/assets/css/style.css) is loaded first. Only blog parts are styled here. */
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.bhero{min-height:340px}
.bhero .bsearch{margin-top:20px;max-width:520px}
.bsearch{display:flex;gap:8px}
.bsearch .field{flex:1;min-width:0;background:#fff}
.btopics ul{list-style:none;display:flex;gap:8px;flex-wrap:wrap;padding:18px 0 0;margin:0}
.btopics a{display:inline-block;padding:7px 14px;border:1px solid var(--line);border-radius:999px;font-size:13.5px;font-weight:500}
.btopics a:hover{border-color:var(--orange);color:var(--orange)}
.bwrap{padding:56px 0}
.blayout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
.bmain{min-width:0}
/* cards */
.bgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.bgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.bcard2{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:.25s}
.bcard2:hover{transform:translateY(-4px);box-shadow:var(--shadow-h)}
.bcard2-img{display:block;aspect-ratio:16/10;background:#eee;overflow:hidden}
.bcard2-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.bcard2:hover .bcard2-img img{transform:scale(1.04)}
.bcard2-ph{display:grid;place-items:center;width:100%;height:100%;background:var(--grad);color:#fff;font-size:46px;font-weight:800}
.bcard2-body{padding:18px;display:flex;flex-direction:column;flex:1}
.bcard2 h3{font-size:17px;line-height:1.35;margin:6px 0 8px}
.bcard2 h3 a:hover{color:var(--orange)}
.bcard2 p{font-size:14px;color:var(--muted);margin-bottom:12px}
.bcat{display:inline-block;align-self:flex-start;font-size:11.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#c2410c;background:#fff1e8;padding:4px 10px;border-radius:999px}
.bmeta{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:var(--muted)}
.bmeta span+span::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-right:14px;vertical-align:middle;opacity:.6}
.bfeat{grid-column:1/-1;display:grid;grid-template-columns:1.1fr 1fr;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
.bfeat-img{display:block;min-height:280px;background:#eee}
.bfeat-img img{width:100%;height:100%;object-fit:cover}
.bfeat-body{padding:26px;display:flex;flex-direction:column;gap:10px}
.bfeat h2{font-size:clamp(20px,2.2vw,26px);line-height:1.3}
.bfeat h2 a:hover{color:var(--orange)}
.bfeat p{color:var(--muted);font-size:14.5px}
.bfeat .bmeta{margin-top:0}
.bfeat .btn{align-self:flex-start;margin-top:4px}
.bempty{background:var(--soft,#f6f4f1);border-radius:16px;padding:32px;text-align:center}
.bempty h2{margin-bottom:6px}.bempty p{color:var(--muted);margin-bottom:16px}
.bempty .bsearch{max-width:440px;margin:0 auto 16px}
/* pagination */
.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:36px}
.pager a,.pager span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border:1px solid var(--line);border-radius:10px;font-weight:600;font-size:14px;background:#fff}
.pager .current{background:var(--grad);color:#fff;border-color:transparent}
.pager a:hover{border-color:var(--orange);color:var(--orange)}
/* sidebar */
.bside{display:grid;gap:20px;position:sticky;top:96px}
.side-box{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}
.side-form{padding:0;border:0}
.side-form .cform{padding:22px}
.side-form .cform .grid2{grid-template-columns:1fr}
.side-h{font-size:17px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #fff1e8}
.side-pk{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.side-pk a{display:flex;gap:12px;align-items:center}
.side-pk img{width:84px;height:60px;object-fit:cover;border-radius:10px;flex:none}
.side-pk span{display:flex;flex-direction:column;line-height:1.35}
.side-pk b{font-size:14px;font-weight:600}
.side-pk small{font-size:12px;color:var(--muted)}
.side-pk a:hover b{color:var(--orange)}
.side-all{display:inline-block;margin-top:14px;font-size:13.5px;font-weight:600;color:var(--orange)}
.side-posts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.side-posts a{display:block;font-size:14px;font-weight:600;line-height:1.4}
.side-posts a:hover{color:var(--orange)}
.side-posts small{font-size:12px;color:var(--muted)}
.side-cats{display:flex;flex-wrap:wrap;gap:8px}
.side-cats a{font-size:13px;padding:6px 12px;border-radius:999px;background:#f4f4f5}
.side-cats a:hover{background:#fff1e8;color:#c2410c}
.side-box.side-help{border:0;background:#121212;color:#fff}
.side-box.side-help h3{color:#fff}
.side-box.side-help p{color:#cdd0d3}
/* single post */
.bpost-head{background:#0b0b0c;color:#fff;padding:40px 0 36px;background-image:radial-gradient(circle at 85% 20%,rgba(234,90,18,.25),transparent 45%)}
.bpost-head h1{color:#fff;font-size:clamp(26px,3.6vw,42px);line-height:1.2;font-weight:800;margin:14px 0 12px;max-width:920px}
.bpost-head .bcat{margin-top:16px;background:rgba(249,160,27,.15);color:#f9a01b}
.bmeta.big{font-size:13.5px;color:#cfd2d6}
.bpost-img{margin:0 0 26px;border-radius:18px;overflow:hidden}
.bpost-img img{width:100%;height:auto}
.entry{font-size:16.5px;line-height:1.8;color:#2b2f36}
.entry>*+*{margin-top:1.1em}
.entry h2{font-size:clamp(22px,2.4vw,28px);line-height:1.3;margin-top:1.8em;color:var(--ink,#14161a)}
.entry h3{font-size:clamp(19px,2vw,22px);line-height:1.35;margin-top:1.5em}
.entry h4{font-size:18px;margin-top:1.3em}
.entry a{color:#c2410c;text-decoration:underline;text-underline-offset:3px}
.entry a:hover{color:var(--orange)}
.entry ul,.entry ol{padding-left:1.3em}
.entry li+li{margin-top:.45em}
.entry li::marker{color:var(--orange)}
.entry img{border-radius:14px;height:auto}
.entry figure{margin-left:0;margin-right:0}
.entry figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}
.entry blockquote{border-left:4px solid var(--orange);background:#fff7f1;padding:16px 20px;border-radius:0 12px 12px 0;font-style:italic}
.entry table{width:100%;border-collapse:collapse;font-size:15px}
.entry .btn,.entry .btn:hover{text-decoration:none}
.post-cta .btn-outline{color:#14161a}
.post-cta .btn-primary{color:#fff}
.entry th,.entry td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.entry th{background:#fff1e8}
.entry .wp-block-image,.entry .wp-block-embed{margin-top:1.4em}
.entry iframe{max-width:100%}
.alignleft{float:left;margin:0 20px 12px 0}.alignright{float:right;margin:0 0 12px 20px}.aligncenter{margin-left:auto;margin-right:auto}
.post-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:linear-gradient(135deg,#fff7ef,#ffeedd);border:1px solid #f9d0ac;border-radius:16px;padding:20px 22px;margin:1.6em 0}
.post-cta b{display:block;font-size:17px;color:#14161a}
.post-cta span{font-size:14px;color:#6a5440}
.post-cta-btns{display:flex;gap:10px;flex-wrap:wrap}
.btags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.btags a{font-size:13px;padding:6px 12px;border-radius:999px;background:#f4f4f5}
.btags a:hover{background:#fff1e8;color:#c2410c}
.bshare{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px}
.bshare span{font-weight:600}
.bshare a{padding:6px 14px;border-radius:999px;border:1px solid var(--line);font-weight:500}
.bshare a:hover{border-color:var(--orange);color:var(--orange)}
.bpost-form{margin-top:32px}
.brel{margin-top:40px}
.brel h2{font-size:24px;margin-bottom:18px}
.bcomments{margin-top:40px}
.bcomments h2,.bcomments .comment-reply-title{font-size:22px;margin-bottom:14px}
.clist{list-style:none;padding:0}
.clist .comment-body{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:12px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit}
.comment-form p{margin-bottom:12px}
/* 404 */
.b404{text-align:center}
.b404 h1{font-size:clamp(26px,3.6vw,40px);margin:8px 0 10px}
.b404 p{color:var(--muted);margin-bottom:20px}
.b404 .bsearch{max-width:460px;margin:0 auto 20px}
.b404-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
/* responsive */
@media (max-width:1100px){.blayout{grid-template-columns:minmax(0,1fr) 300px;gap:28px}.bgrid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){
 .blayout{grid-template-columns:1fr}
 .bside{position:static}
 .bfeat{grid-template-columns:1fr}
 .bfeat-img{min-height:0;aspect-ratio:16/9}
}
@media (max-width:640px){
 .bwrap{padding:36px 0}
 .bgrid,.bgrid.three{grid-template-columns:1fr;gap:18px}
 .bhero{min-height:0}
 .bsearch .btn{padding:10px 14px}
 .entry{font-size:16px}
 .entry table{display:block;overflow-x:auto}
 .post-cta-btns{width:100%}.post-cta-btns .btn{flex:1}
 .bpost-head{padding:28px 0}
 .alignleft,.alignright{float:none;margin:0 0 12px}
}
