/* Taj Explorer single blog post — scoped to standard posts only */
body.te-single-blog-template main.te-single-post-main{width:100%;margin:0 auto;padding:28px 0 0;color:#202b3a;background:#fff;}
body.te-single-blog-template .te-sp-shell{width:min(1180px,calc(100% - 48px));margin:0 auto;}
body.te-single-blog-template .te-sp-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#788392;font-size:12px;line-height:1.7;margin:0 0 28px;}
body.te-single-blog-template .te-sp-breadcrumb a{color:#687687;text-decoration:none;}body.te-single-blog-template .te-sp-breadcrumb a:hover{color:#e77835;}body.te-single-blog-template .te-sp-breadcrumb span[aria-current]{max-width:440px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.te-single-blog-template .te-sp-header{max-width:900px;margin:0 auto 26px;text-align:center;}
body.te-single-blog-template .te-sp-category{display:inline-flex;align-items:center;margin-bottom:15px;padding:7px 12px;border-radius:30px;background:#fff2e9;color:#c95f24;text-decoration:none;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:800;}
body.te-single-blog-template .te-sp-title{margin:0 auto 17px;max-width:900px;color:#102b49;font-size:clamp(32px,4.2vw,52px);line-height:1.13;letter-spacing:-.035em;font-weight:750;}
body.te-single-blog-template .te-sp-deck{max-width:760px;margin:0 auto 20px;color:#657284;font-size:18px;line-height:1.75;font-weight:400;}
body.te-single-blog-template .te-sp-meta{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;color:#788392;font-size:12px;}
body.te-single-blog-template .te-sp-author-avatar{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;background:#f2f4f6;}body.te-single-blog-template .te-sp-avatar-img{width:34px;height:34px;border-radius:50%;object-fit:cover;}body.te-single-blog-template .te-sp-author{color:#526174;}body.te-single-blog-template .te-sp-author strong{color:#23354b;}body.te-single-blog-template .te-sp-meta-dot{color:#d5dbe2;}
body.te-single-blog-template .te-sp-featured-image{margin:0 auto 46px;max-width:1180px;overflow:hidden;border-radius:16px;background:#f3f5f7;aspect-ratio:16/7;}
body.te-single-blog-template .te-sp-featured-image img{display:block;width:100%;height:100%;max-height:590px;object-fit:cover;}
body.te-single-blog-template .te-sp-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(260px,320px);gap:64px;align-items:start;max-width:1140px;margin:0 auto 76px;}
body.te-single-blog-template .te-sp-article{min-width:0;}
body.te-single-blog-template .te-sp-content{color:#384658;font-size:17px;line-height:1.9;overflow-wrap:anywhere;}
body.te-single-blog-template .te-sp-content>*:first-child{margin-top:0;}body.te-single-blog-template .te-sp-content p{margin:0 0 1.45em;}body.te-single-blog-template .te-sp-content h2{margin:1.8em 0 .65em;color:#102b49;font-size:clamp(25px,2.6vw,32px);line-height:1.25;letter-spacing:-.02em;}body.te-single-blog-template .te-sp-content h3{margin:1.6em 0 .55em;color:#153655;font-size:23px;line-height:1.35;}body.te-single-blog-template .te-sp-content h4{margin:1.5em 0 .5em;color:#153655;font-size:19px;line-height:1.4;}
body.te-single-blog-template .te-sp-content a{color:#c95f24;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}body.te-single-blog-template .te-sp-content a:hover{color:#102b49;}body.te-single-blog-template .te-sp-content ul,body.te-single-blog-template .te-sp-content ol{padding-left:1.4em;margin:0 0 1.5em;}body.te-single-blog-template .te-sp-content li{padding-left:.2em;margin:.35em 0;}body.te-single-blog-template .te-sp-content blockquote{margin:2em 0;padding:20px 25px;border-left:3px solid #e77835;border-radius:0 10px 10px 0;background:#f7f9fb;color:#29415a;font-size:19px;line-height:1.7;}body.te-single-blog-template .te-sp-content img{max-width:100%;height:auto;border-radius:10px;}body.te-single-blog-template .te-sp-content figure{margin:1.8em 0;}body.te-single-blog-template .te-sp-content figcaption{margin-top:8px;color:#788392;text-align:center;font-size:12px;}body.te-single-blog-template .te-sp-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;}body.te-single-blog-template .te-sp-content th,body.te-single-blog-template .te-sp-content td{padding:10px 12px;border:1px solid #e5e9ee;text-align:left;}body.te-single-blog-template .te-sp-content th{background:#f5f7f9;color:#102b49;}body.te-single-blog-template .te-sp-content iframe{max-width:100%;}
body.te-single-blog-template .te-sp-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:34px 0 28px;padding-top:22px;border-top:1px solid #e9edf1;color:#7b8795;font-size:12px;}body.te-single-blog-template .te-sp-tags a{display:inline-block;padding:6px 10px;border:1px solid #e4e8ed;border-radius:20px;color:#526174;text-decoration:none;}body.te-single-blog-template .te-sp-tags a:hover{border-color:#e77835;color:#c95f24;}
body.te-single-blog-template .te-sp-author-box{display:flex;gap:17px;align-items:flex-start;padding:23px;border:1px solid #e8edf2;border-radius:13px;background:#fbfcfd;margin:34px 0 0;}body.te-single-blog-template .te-sp-author-box-avatar img{display:block;border-radius:50%;}body.te-single-blog-template .te-sp-eyebrow{display:block;margin-bottom:7px;color:#c96b36;text-transform:uppercase;letter-spacing:.11em;font-size:10px;font-weight:800;}body.te-single-blog-template .te-sp-author-box h2{margin:0 0 7px;color:#102b49;font-size:18px;line-height:1.3;}body.te-single-blog-template .te-sp-author-box p{margin:0;color:#657284;font-size:13px;line-height:1.7;}
body.te-single-blog-template .te-sp-sidebar{position:sticky;top:28px;display:grid;gap:18px;min-width:0;}body.te-single-blog-template .te-sp-side-card{padding:22px;border:1px solid #e8edf2;border-radius:13px;background:#fff;box-shadow:0 6px 24px rgba(16,43,73,.035);}body.te-single-blog-template .te-sp-side-card h2,body.te-single-blog-template .te-sp-side-cta h2{margin:0 0 13px;color:#102b49;font-size:17px;line-height:1.35;letter-spacing:-.01em;}body.te-single-blog-template .te-sp-side-card p{margin:0 0 15px;color:#778292;font-size:12px;line-height:1.7;}
body.te-single-blog-template .te-sp-side-search form{display:flex;gap:7px;align-items:stretch;}body.te-single-blog-template .te-sp-side-search label{flex:1;min-width:0;}body.te-single-blog-template .te-sp-side-search input[type=search]{width:100%;min-width:0;height:42px;padding:0 11px;border:1px solid #e1e6ec;border-radius:7px;color:#25364b;font-size:12px;box-shadow:none;}body.te-single-blog-template .te-sp-side-search input[type=submit],body.te-single-blog-template .te-sp-side-search button{height:42px;padding:0 12px;border:0;border-radius:7px;background:#102b49;color:#fff;font-size:11px;font-weight:700;cursor:pointer;}
body.te-single-blog-template .te-sp-category-list,body.te-single-blog-template .te-sp-recent-list{list-style:none;margin:0;padding:0;}body.te-single-blog-template .te-sp-category-list li{margin:0;border-bottom:1px solid #eef1f4;}body.te-single-blog-template .te-sp-category-list li:last-child{border-bottom:0;}body.te-single-blog-template .te-sp-category-list a{display:block;padding:10px 0;color:#526174;font-size:13px;text-decoration:none;}body.te-single-blog-template .te-sp-category-list a:hover{color:#d66b2c;}
body.te-single-blog-template .te-sp-recent-list li+li{margin-top:15px;padding-top:15px;border-top:1px solid #eef1f4;}body.te-single-blog-template .te-sp-recent-list a{display:flex;gap:12px;align-items:flex-start;color:#263a51;text-decoration:none;}body.te-single-blog-template .te-sp-recent-thumb{display:block;flex:0 0 68px;width:68px;height:60px;overflow:hidden;border-radius:7px;background:#f0f3f6;}body.te-single-blog-template .te-sp-recent-thumb img{width:100%;height:100%;object-fit:cover;}body.te-single-blog-template .te-sp-recent-list strong{display:block;font-size:12px;line-height:1.5;font-weight:700;}body.te-single-blog-template .te-sp-recent-list a:hover strong{color:#d66b2c;}body.te-single-blog-template .te-sp-recent-list small{display:block;margin-top:5px;color:#8993a0;font-size:10px;}
body.te-single-blog-template .te-sp-side-cta{padding:24px;border-radius:13px;background:#102b49;color:#fff;}body.te-single-blog-template .te-sp-cta-kicker{display:block;margin-bottom:10px;color:#ffc08e;text-transform:uppercase;letter-spacing:.1em;font-size:9px;font-weight:800;}body.te-single-blog-template .te-sp-side-cta h2{color:#fff;font-size:21px;}body.te-single-blog-template .te-sp-side-cta p{margin:0 0 18px;color:#d1dce7;font-size:12px;line-height:1.75;}body.te-single-blog-template .te-sp-side-cta>a{display:inline-flex;gap:12px;align-items:center;padding:11px 14px;border-radius:7px;background:#e77835;color:#fff;text-decoration:none;font-size:12px;font-weight:800;}body.te-single-blog-template .te-sp-side-cta>a:hover{background:#f18b4d;}
body.te-single-blog-template .te-sp-related{padding:64px 0 76px;background:#f7f9fb;border-top:1px solid #edf0f3;}body.te-single-blog-template .te-sp-related-inner{width:min(1180px,calc(100% - 48px));margin:0 auto;}body.te-single-blog-template .te-sp-related-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px;}body.te-single-blog-template .te-sp-related-heading h2{margin:0;color:#102b49;font-size:clamp(27px,3vw,35px);line-height:1.2;letter-spacing:-.025em;}body.te-single-blog-template .te-sp-related-heading>a{flex-shrink:0;color:#c95f24;font-size:12px;font-weight:800;text-decoration:none;}body.te-single-blog-template .te-sp-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}body.te-single-blog-template .te-sp-related-card{overflow:hidden;border:1px solid #e8edf2;border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(16,43,73,.035);transition:transform .2s ease,box-shadow .2s ease;}body.te-single-blog-template .te-sp-related-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,43,73,.08);}body.te-single-blog-template .te-sp-related-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#edf1f5;}body.te-single-blog-template .te-sp-related-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease;}body.te-single-blog-template .te-sp-related-card:hover .te-sp-related-image img{transform:scale(1.03);}body.te-single-blog-template .te-sp-no-image{display:flex;height:100%;align-items:center;justify-content:center;color:#7d8997;font-size:13px;font-weight:700;}body.te-single-blog-template .te-sp-related-body{padding:21px;}body.te-single-blog-template .te-sp-related-category{display:block;margin-bottom:9px;color:#c96b36;text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:800;}body.te-single-blog-template .te-sp-related-body h3{margin:0 0 10px;font-size:18px;line-height:1.4;}body.te-single-blog-template .te-sp-related-body h3 a{color:#102b49;text-decoration:none;}body.te-single-blog-template .te-sp-related-body h3 a:hover{color:#c95f24;}body.te-single-blog-template .te-sp-related-body p{margin:0 0 16px;color:#6f7b8a;font-size:12px;line-height:1.7;}body.te-single-blog-template .te-sp-read-link{color:#c95f24;font-size:11px;font-weight:800;text-decoration:none;}
@media(max-width:1024px){body.te-single-blog-template .te-sp-layout{grid-template-columns:minmax(0,1fr) 270px;gap:34px;}body.te-single-blog-template .te-sp-shell{width:min(100% - 36px,1180px);}body.te-single-blog-template .te-sp-related-inner{width:min(100% - 36px,1180px);}}
@media(max-width:767px){body.te-single-blog-template main.te-single-post-main{padding-top:18px;}body.te-single-blog-template .te-sp-shell,body.te-single-blog-template .te-sp-related-inner{width:calc(100% - 34px);}body.te-single-blog-template .te-sp-breadcrumb{gap:6px;margin-bottom:22px;font-size:10px;}body.te-single-blog-template .te-sp-breadcrumb span[aria-current]{max-width:42vw;}body.te-single-blog-template .te-sp-header{margin-bottom:22px;text-align:left;}body.te-single-blog-template .te-sp-category{margin-bottom:12px;}body.te-single-blog-template .te-sp-title{font-size:clamp(30px,8vw,40px);line-height:1.14;letter-spacing:-.03em;}body.te-single-blog-template .te-sp-deck{font-size:15px;line-height:1.7;}body.te-single-blog-template .te-sp-meta{justify-content:flex-start;gap:7px;font-size:11px;}body.te-single-blog-template .te-sp-featured-image{aspect-ratio:4/3;margin-bottom:30px;border-radius:11px;}body.te-single-blog-template .te-sp-featured-image img{max-height:none;}body.te-single-blog-template .te-sp-layout{display:flex;flex-direction:column;gap:34px;margin-bottom:48px;}body.te-single-blog-template .te-sp-content{font-size:16px;line-height:1.85;}body.te-single-blog-template .te-sp-content h2{font-size:26px;margin-top:1.55em;}body.te-single-blog-template .te-sp-content h3{font-size:21px;}body.te-single-blog-template .te-sp-content blockquote{padding:17px 18px;font-size:17px;}body.te-single-blog-template .te-sp-author-box{padding:17px;gap:13px;}body.te-single-blog-template .te-sp-sidebar{position:static;width:100%;grid-template-columns:1fr;gap:14px;}body.te-single-blog-template .te-sp-side-card{padding:19px;}body.te-single-blog-template .te-sp-related{padding:42px 0 48px;}body.te-single-blog-template .te-sp-related-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:20px;}body.te-single-blog-template .te-sp-related-grid{grid-template-columns:1fr;gap:16px;}body.te-single-blog-template .te-sp-related-image{aspect-ratio:16/8;}body.te-single-blog-template .te-sp-related-body{padding:18px;}body.te-single-blog-template .te-sp-related-body h3{font-size:18px;}}
@media(prefers-reduced-motion:reduce){body.te-single-blog-template .te-sp-related-card,body.te-single-blog-template .te-sp-related-image img{transition:none;}}


/* v1.0.1 layout refinements: isolate the template from theme header/entry styles */
body.te-single-blog-template main.te-single-post-main,
body.te-single-blog-template main.te-single-post-main *{box-sizing:border-box;}
body.te-single-blog-template main.te-single-post-main{padding-top:36px;}
body.te-single-blog-template .te-sp-shell{width:min(1320px,calc(100% - 64px));}
body.te-single-blog-template .te-sp-header{display:block!important;float:none!important;position:relative;width:100%;max-width:1040px;margin:0 auto 34px!important;padding:0!important;text-align:center!important;}
body.te-single-blog-template .te-sp-header:before,
body.te-single-blog-template .te-sp-header:after{display:none!important;content:none!important;}
body.te-single-blog-template .te-sp-header .te-sp-category{display:inline-flex!important;float:none!important;position:static!important;width:auto!important;max-width:max-content;padding:8px 14px!important;margin:0 auto 18px!important;border-radius:999px!important;writing-mode:horizontal-tb!important;transform:none!important;white-space:normal!important;line-height:1.2!important;}
body.te-single-blog-template .te-sp-header .te-sp-title{display:block!important;float:none!important;position:static!important;width:100%!important;max-width:1000px;margin:0 auto 20px!important;padding:0!important;text-align:center!important;color:#102b49!important;font-size:clamp(34px,3.8vw,54px)!important;line-height:1.13!important;letter-spacing:-.035em!important;overflow-wrap:normal;}
body.te-single-blog-template .te-sp-header .te-sp-deck{display:block!important;float:none!important;width:100%;max-width:820px;margin:0 auto 22px!important;text-align:center!important;}
body.te-single-blog-template .te-sp-header .te-sp-meta{display:flex!important;float:none!important;position:static!important;width:100%;justify-content:center!important;align-items:center!important;gap:12px!important;margin:0 auto!important;padding:0!important;line-height:1.4!important;}
body.te-single-blog-template .te-sp-meta>*{float:none!important;position:static!important;flex:0 0 auto;}
body.te-single-blog-template .te-sp-author-avatar{width:32px;height:32px;}
body.te-single-blog-template .te-sp-author-avatar img{display:block;width:32px;height:32px;object-fit:cover;border-radius:50%;}
body.te-single-blog-template .te-sp-featured-image{width:100%;max-width:1240px;margin:0 auto 54px!important;aspect-ratio:16/7;}
body.te-single-blog-template .te-sp-layout{display:grid!important;grid-template-columns:minmax(0,860px) minmax(280px,320px)!important;gap:64px!important;align-items:start!important;width:min(1240px,100%);max-width:1240px!important;margin:0 auto 82px!important;}
body.te-single-blog-template .te-sp-article{width:100%;max-width:none;min-width:0;}
body.te-single-blog-template .te-sp-content{max-width:none;width:100%;font-size:17px;line-height:1.9;}
body.te-single-blog-template .te-sp-sidebar{width:100%;min-width:0;position:sticky;top:28px;}
body.te-single-blog-template .te-sp-side-card{padding:24px;}
body.te-single-blog-template .te-sp-side-card h2{font-size:18px;}
body.te-single-blog-template .te-sp-category-list li{padding:0;}
body.te-single-blog-template .te-sp-category-list a{display:flex;align-items:center;min-height:44px;padding:11px 0!important;line-height:1.45;border-radius:0;}
body.te-single-blog-template .te-sp-author-box{align-items:flex-start;gap:18px;padding:26px;margin-top:42px;}
body.te-single-blog-template .te-sp-author-box-avatar{flex:0 0 64px;}
body.te-single-blog-template .te-sp-author-box-avatar img{width:64px;height:64px;object-fit:cover;}
body.te-single-blog-template .te-sp-author-box p{max-width:680px;font-size:13px;line-height:1.75;}
body.te-single-blog-template .te-sp-related-inner{width:min(1240px,calc(100% - 64px));}
@media(max-width:1200px){
 body.te-single-blog-template .te-sp-shell{width:calc(100% - 48px);}
 body.te-single-blog-template .te-sp-layout{grid-template-columns:minmax(0,1fr) 290px!important;gap:38px!important;width:100%;}
}
@media(max-width:900px){
 body.te-single-blog-template .te-sp-layout{grid-template-columns:minmax(0,1fr) 270px!important;gap:26px!important;}
 body.te-single-blog-template .te-sp-featured-image{margin-bottom:38px!important;}
}
@media(max-width:767px){
 body.te-single-blog-template main.te-single-post-main{padding-top:22px;}
 body.te-single-blog-template .te-sp-shell,body.te-single-blog-template .te-sp-related-inner{width:calc(100% - 34px);}
 body.te-single-blog-template .te-sp-header{margin-bottom:24px!important;text-align:left!important;}
 body.te-single-blog-template .te-sp-header .te-sp-category{margin:0 0 14px!important;}
 body.te-single-blog-template .te-sp-header .te-sp-title{font-size:clamp(30px,8vw,40px)!important;line-height:1.16!important;text-align:left!important;margin-bottom:15px!important;}
 body.te-single-blog-template .te-sp-header .te-sp-deck{text-align:left!important;font-size:15px;}
 body.te-single-blog-template .te-sp-header .te-sp-meta{justify-content:flex-start!important;gap:8px!important;font-size:11px;}
 body.te-single-blog-template .te-sp-featured-image{aspect-ratio:4/3;margin-bottom:30px!important;}
 body.te-single-blog-template .te-sp-layout{display:flex!important;flex-direction:column!important;gap:38px!important;margin-bottom:48px!important;}
 body.te-single-blog-template .te-sp-article{width:100%;}
 body.te-single-blog-template .te-sp-sidebar{position:static;width:100%;}
 body.te-single-blog-template .te-sp-author-box{padding:18px;gap:13px;margin-top:30px;}
 body.te-single-blog-template .te-sp-author-box-avatar{flex-basis:52px;}
 body.te-single-blog-template .te-sp-author-box-avatar img{width:52px;height:52px;}
}

/* v1.0.2: balanced page gutters, tighter top spacing, and visible search icon */
body.te-single-blog-template main.te-single-post-main{padding-top:12px!important;}
body.te-single-blog-template .te-sp-shell{width:min(1320px,calc(100% - 40px))!important;}
body.te-single-blog-template .te-sp-breadcrumb{margin-bottom:16px!important;}
body.te-single-blog-template .te-sp-header{margin-bottom:24px!important;}
body.te-single-blog-template .te-sp-featured-image{margin-bottom:36px!important;}
body.te-single-blog-template .te-sp-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:36px!important;width:min(1320px,calc(100vw - 40px))!important;max-width:1320px!important;margin-left:auto!important;margin-right:auto!important;}
body.te-single-blog-template .te-sp-related-inner{width:min(1320px,calc(100% - 40px))!important;}
body.te-single-blog-template .te-sp-side-search form{display:flex!important;gap:8px!important;align-items:stretch!important;}
body.te-single-blog-template .te-sp-side-search input[type=submit],body.te-single-blog-template .te-sp-side-search button{flex:0 0 46px!important;width:46px!important;min-width:46px!important;padding:0!important;font-size:0!important;line-height:0!important;color:transparent!important;background-color:#102b49!important;background-repeat:no-repeat!important;background-position:center!important;background-size:18px 18px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E")!important;}
body.te-single-blog-template .te-sp-side-search input[type=submit]:hover,body.te-single-blog-template .te-sp-side-search button:hover{background-color:#e77835!important;}
@media(max-width:1200px){
 body.te-single-blog-template .te-sp-layout{grid-template-columns:minmax(0,1fr) 285px!important;gap:28px!important;width:calc(100% - 40px)!important;}
}
@media(max-width:767px){
 body.te-single-blog-template main.te-single-post-main{padding-top:8px!important;}
 body.te-single-blog-template .te-sp-shell,body.te-single-blog-template .te-sp-related-inner{width:calc(100% - 32px)!important;}
 body.te-single-blog-template .te-sp-breadcrumb{margin-bottom:14px!important;}
 body.te-single-blog-template .te-sp-header{margin-bottom:20px!important;}
 body.te-single-blog-template .te-sp-layout{display:flex!important;flex-direction:column!important;gap:30px!important;width:calc(100% - 32px)!important;}
}


/* v1.0.3: keep article/sidebar inside the same centered container with equal outer gutters */
body.te-single-blog-template main.te-single-post-main .te-sp-shell{
  width:min(1240px, calc(100% - 48px)) !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
body.te-single-blog-template main.te-single-post-main .te-sp-layout{
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  grid-template-columns:minmax(0, 1fr) minmax(270px, 300px) !important;
  gap:32px !important;
}
body.te-single-blog-template main.te-single-post-main .te-sp-article,
body.te-single-blog-template main.te-single-post-main .te-sp-sidebar{
  min-width:0 !important;
  max-width:100% !important;
}
body.te-single-blog-template main.te-single-post-main .te-sp-side-card,
body.te-single-blog-template main.te-single-post-main .te-sp-side-cta{
  min-width:0 !important;
  max-width:100% !important;
  overflow-wrap:anywhere;
}
@media(max-width:1000px){
  body.te-single-blog-template main.te-single-post-main .te-sp-layout{
    grid-template-columns:minmax(0, 1fr) minmax(250px, 280px) !important;
    gap:24px !important;
  }
}
@media(max-width:767px){
  body.te-single-blog-template main.te-single-post-main .te-sp-shell{width:calc(100% - 32px) !important;}
  body.te-single-blog-template main.te-single-post-main .te-sp-layout{width:100% !important;grid-template-columns:minmax(0,1fr) !important;gap:30px !important;}
}


/* v1.0.4: desktop-only wide editorial layout; leave mobile layout unchanged */
@media (min-width: 768px) {
  body.te-single-blog-template main.te-single-post-main {
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: 0 !important;
    padding-top: 18px !important;
  }
  body.te-single-blog-template main.te-single-post-main > .te-sp-shell {
    box-sizing: border-box !important;
    width: calc(100% - 72px) !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-header {
    max-width: 1120px !important;
    margin-bottom: 30px !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-layout {
    display: grid !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: 40px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 72px !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-article {
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-featured-image {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 34px !important;
    aspect-ratio: 16 / 7 !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-sidebar {
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: sticky !important;
    top: 24px !important;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  body.te-single-blog-template main.te-single-post-main > .te-sp-shell {
    width: calc(100% - 48px) !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-layout {
    grid-template-columns: minmax(0, 1fr) 285px !important;
    gap: 28px !important;
  }
  body.te-single-blog-template main.te-single-post-main .te-sp-sidebar { max-width: 285px !important; }
}


/* v1.0.5: add a small, balanced left gutter on desktop only; preserve existing layout */
@media (min-width: 768px) {
  body.te-single-blog-template main.te-single-post-main > .te-sp-shell {
    width: calc(100% - 96px) !important;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  body.te-single-blog-template main.te-single-post-main > .te-sp-shell {
    width: calc(100% - 64px) !important;
  }
}
