/* Blog article (single.php): the article design of the previous store theme, without Bootstrap. */

/* ---- hero ---- */
.blog-hero{background:#f5f7ff;padding:clamp(28px,4vw,56px) 0 34px}
.bp-container{width:100%;max-width:1320px;margin-inline:auto;padding-inline:12px}
.bp-crumbs{width:100%;overflow-x:auto;overflow-y:hidden;white-space:nowrap;margin-bottom:clamp(22px,4vw,42px)}
.bp-crumbs ol{display:flex;flex-wrap:nowrap;align-items:center;margin:0;padding:0;list-style:none}
.bp-crumbs li{display:inline-flex;align-items:center;flex-shrink:0;font-size:13px;line-height:1.4;color:#555}
.bp-crumbs a{color:#1A56DB;text-decoration:none;font-size:13px}
.bp-crumbs li+li::before{content:">";padding:0 8px;color:#aaa}
.bp-hero-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.bp-hero-text{order:1;min-width:0}
.bp-hero-media{order:2;min-width:0}
.blog-hero h1{color:#0f172a;font-size:clamp(32px,2.85vw,44px);line-height:1.14;letter-spacing:-.015em;font-weight:700;max-width:780px;margin:0 0 20px;text-wrap:balance}
.image-box-fixed{width:100%;aspect-ratio:887/483;border-radius:24px;overflow:hidden;background:#f2f2f2;box-shadow:0 20px 48px rgba(15,23,42,.12)}
.image-box-fixed img{width:100%;height:100%;object-fit:cover;display:block}
.bp-author{display:flex;align-items:center;gap:8px;color:#0f172a;font-size:16px}
.bp-author svg{color:#2563eb;flex:none}
.bp-author strong{font-weight:700}
.blog-hero .meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:24px 0;color:#475569;font-size:16px;line-height:1.6}
.blog-hero .meta svg{color:#475569;flex:none}
.blog-hero .meta .bp-clock{color:#2563eb}
.blog-hero .meta .sep{margin:0 4px}

/* reviewed-by box */
.blog-review-top{margin:24px 0}
.review-box{background:#f3f3f3;border-radius:22px;padding:18px 22px;max-width:520px;box-shadow:0 14px 35px rgba(15,23,42,.08)}
.review-header{display:flex;align-items:center;gap:14px}
.review-icon{width:54px;height:54px;border-radius:50%;overflow:hidden;flex-shrink:0}
.review-icon img{width:100%;height:100%;object-fit:cover}
.review-meta p{margin:0;font-size:15px;font-weight:600;line-height:1.5;color:#555}
.review-title{margin:0;font-size:15px;font-weight:600;line-height:1.5}
.review-inline-text{font-weight:400;color:#444;margin-left:6px}
.review-footer{margin-top:10px;font-size:15px;line-height:1.65;color:#333;display:flex;flex-direction:column;gap:4px}

/* ---- contents + article ---- */
.hero_container{background:#f5f7ff;max-width:1320px;margin:0 auto;padding:0 18px}
.bp-row{display:grid;grid-template-columns:25% 75%;background:#fff;border-radius:30px 0 0 0}
.bp-toc{min-width:0}
.bp-toc-sticky{position:sticky;top:96px}
.toc-container{background:#fff;border-right:10px solid #f5f7ff;border-radius:0 30px 30px 0;padding:20px 14px;max-height:calc(100vh - 260px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(26,86,219,.45) rgba(237,241,245,.85)}
.toc-container::-webkit-scrollbar{width:6px}
.toc-container::-webkit-scrollbar-track{background:rgba(237,241,245,.85);border-radius:999px}
.toc-container::-webkit-scrollbar-thumb{background:rgba(26,86,219,.45);border-radius:999px}
.toc-header{color:#0f172a;font-size:22px;line-height:1.25;font-weight:700;padding:0 10px 10px}
.toc-list{list-style:none;margin:0;padding:0}
.toc-list li{margin:0 0 1px;padding:0}
.toc-link{display:block;width:100%;height:auto;margin:0;padding:9px 10px 9px 14px;background:transparent;border:0;border-left:3px solid transparent;border-radius:0;box-shadow:none;color:#253044;font:400 15px/1.45 inherit;font-family:inherit;text-align:left;white-space:normal;cursor:pointer;transition:color .2s,border-color .2s,transform .2s}
.toc-link.toc-h3{padding-left:26px;font-size:14px}
.toc-link:hover{color:#1a56db;border-left-color:rgba(26,86,219,.28);transform:translateX(2px)}
.toc-link.active{color:#1a56db;border-left-color:#1a56db;font-weight:700;transform:none}
.toc-link:focus-visible{outline:2px solid rgba(26,86,219,.32);outline-offset:3px;border-radius:8px}
.toc-social{margin-top:16px;padding:14px;background:#edf1f5;border-radius:10px}
.social-title{font-size:18px;line-height:1.3;font-weight:700;color:#000;margin-bottom:10px}
.social-icons{display:flex;flex-wrap:wrap;gap:4px}
.blog_icons{width:38px;height:38px;display:block}

.bp-main{min-width:0}
.custom-padding{background:#fff;padding:clamp(28px,4vw,48px) clamp(20px,4vw,48px) 40px;border-top-left-radius:30px}
.content-body{max-width:900px;color:#243044;overflow-wrap:break-word}
.content-body p,.content-body li{font-size:18px;line-height:1.78;font-weight:400;color:#243044}
.content-body p{margin:0 0 1.15rem}
.content-body ul,.content-body ol{padding-left:1.35rem;margin:0 0 1.4rem}
.content-body li{margin-bottom:.55rem}
.content-body h1,.content-body h2,.content-body h3,.content-body h4,.content-body h5,.content-body h6{color:#0f172a;letter-spacing:0;line-height:1.22;font-weight:700;margin:2.1rem 0 .9rem}
.content-body h1{font-size:clamp(34px,4vw,44px)}
.content-body h2{font-size:clamp(28px,3vw,36px)}
.content-body h3{font-size:clamp(24px,2.4vw,30px)}
.content-body h4{font-size:clamp(21px,2vw,25px)}
.content-body h5{font-size:clamp(19px,1.8vw,22px)}
.content-body a{color:#1a56db;text-decoration-thickness:1px;text-underline-offset:3px}
.content-body img{max-width:100%;height:auto;border-radius:16px}
.content-body iframe,.content-body video{max-width:100%}
.content-body blockquote{margin:28px 0;padding:18px 22px;border-left:4px solid #1a56db;background:#f5f7ff;border-radius:0 16px 16px 0}
.content-body blockquote p{margin-bottom:0}
.content-body pre{max-width:100%;overflow-x:auto}
.content-body .wp-block-code code{background:#000;color:#fff;display:block;padding:16px;border-radius:10px}
.content-body table{max-width:100%;border-collapse:collapse}
.content-body [id^="section-"]{scroll-margin-top:110px}

/* ---- FAQ ---- */
.faq-section-wrapper{margin-top:24px}
.faq-title{margin:0 0 24px;text-align:center;font-size:28px;font-weight:700;background:linear-gradient(45deg,#6a11cb,#2575fc);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.faq-container{max-width:780px;margin:0 auto}
.faq-item{background:#fff;border:1px solid #ddd;margin-bottom:15px;border-radius:8px;overflow:hidden;box-shadow:0 14px 35px rgba(15,23,42,.08);transition:all .3s}
.faq-question{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;height:auto;margin:0;padding:20px;background:#fff;border:0;border-radius:0;cursor:pointer;color:#0f172a;font:600 16px/1.45 inherit;font-family:inherit;text-align:left;white-space:normal;transition:background .3s,color .3s}
.faq-question:hover{background:#f0f0f0}
.faq-question svg{flex:none;transition:transform .3s}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .5s;background:#2563eb;color:#fff}
.faq-answer p{padding:0 20px 20px;margin:0;font-size:15px;line-height:1.65;color:#fff}
.faq-item.active .faq-question{background:#2563eb;color:#fff}
.faq-item.active .faq-question svg{transform:rotate(45deg)}
.related-blogs{margin-top:28px}

/* ---- author's bio ---- */
.reviewer-bio-box{margin:40px 0;padding:0 18px}
.reviewer-card{max-width:1000px;margin:auto;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;box-shadow:0 14px 35px rgba(15,23,42,.08)}
.reviewer-card h3{margin:0 0 18px;font-size:16px;font-weight:500}
.bio-wrapper{display:flex;gap:18px;align-items:flex-start}
.author-image-wrap{position:relative;width:56px;height:56px;flex-shrink:0}
.author-image-wrap img{width:100%;height:100%;border-radius:10px;object-fit:cover;display:block}
.linkedin-link{position:absolute;bottom:-6px;right:-6px;width:22px;height:22px;background:#0A66C2;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;text-decoration:none;border:2px solid #fff}
.linkedin-link:hover{background:#084b91}
.reviewer-title{margin:4px 0 8px;font-size:15px;line-height:1.65;color:#666}
.reviewer-bio{margin:0;font-size:15px;line-height:1.65;color:#333}

/* ---- you can also read ---- */
.related-posts-section{max-width:1320px;margin:48px auto;padding:48px 12px;background:#EDF1F5;border-radius:24px}
.rp-head{text-align:center;margin-bottom:48px;line-height:1}
.rp-read{font-size:14px;color:#3B82F6;margin-bottom:10px}
.rp-read::before{content:"";display:inline-block;width:20px;height:1px;background:#3B82F6;margin-right:6px;vertical-align:middle}
.related-posts-section h2{display:inline-block;margin:0;font-weight:700;font-size:clamp(34px,4vw,46px);line-height:1.1;letter-spacing:0;background:linear-gradient(180deg,#1A56DB 0%,#3B82F6 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.rp-row{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.rp-card{flex:1 1 320px;max-width:500px;background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:24px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,.075)}
.rp-media{position:relative}
.rp-media img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.rp-date{position:absolute;bottom:0;left:50%;transform:translateX(-50%);background:#0d6efd;color:#fff;padding:4px 16px;border-radius:10px;font-size:14px;white-space:nowrap}
.rp-body{padding:16px}
.rp-title{margin:0 0 8px;color:#0f172a;font-size:20px;line-height:1.3;font-weight:700}
.rp-text{margin:0 0 16px;font-size:15px;line-height:1.65;color:#212529}
.rp-more{color:#0d6efd;font-weight:600}

/* ---- responsive ---- */
@media (max-width:991px){
	.blog-hero{padding-top:18px}
	.bp-hero-row{grid-template-columns:1fr}
	.bp-hero-media{order:1}
	.bp-hero-text{order:2}
	.blog-hero h1{font-size:clamp(28px,6vw,36px);margin-bottom:14px}
	.image-box-fixed{border-radius:18px}
	.blog-hero .meta{font-size:13px}
	.hero_container{padding:0 12px}
	.bp-row{grid-template-columns:1fr}
	.bp-toc{display:none}
	.custom-padding{border-top-left-radius:20px}
}
@media (max-width:768px){
	.content-body table{display:block;overflow-x:auto;white-space:nowrap}
	.content-body pre,.content-body code{white-space:pre-wrap;word-wrap:break-word}
	.review-box{max-width:100%}
}
@media (max-width:575.98px){
	.blog-hero{padding:14px 0 22px}
	.blog-hero h1{font-size:clamp(27px,8vw,34px);line-height:1.16}
	.bp-crumbs{margin-bottom:18px}
	.bp-crumbs li,.bp-crumbs a{font-size:11px}
	.custom-padding{padding:22px 14px 30px}
	.content-body p,.content-body li{font-size:16px;line-height:1.68;word-break:break-word}
	.content-body h1{font-size:30px}
	.content-body h2{font-size:25px}
	.content-body h3{font-size:22px}
	.content-body h4{font-size:20px}
	.content-body h5{font-size:18px}
	.review-box{border-radius:18px;padding:16px}
	.bio-wrapper{gap:14px}
	.reviewer-card{padding:18px;border-radius:16px}
	.faq-question{padding:16px;font-size:15px}
	.related-posts-section{padding-top:32px;padding-bottom:32px;border-radius:18px}
	.related-posts-section h2{font-size:32px}
}
