/* Sugabi Clinic — blog post page styles */
.post-hero{background:linear-gradient(120deg,#f6f4fe 0%,#fdf3f7 100%);padding:3.5rem 0 2.5rem;}
.post-hero .breadcrumb-sg{font-size:.8rem;color:var(--sg-muted);display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-bottom:1rem;}
.post-hero .breadcrumb-sg a{color:var(--sg-purple);text-decoration:none;font-weight:600;}
.post-hero .breadcrumb-sg a:hover{text-decoration:underline;}
.post-hero h1{font-size:clamp(1.7rem,3.4vw,2.5rem);max-width:52rem;line-height:1.3;}
.post-figure{border-radius:1.5rem;overflow:hidden;box-shadow:0 10px 36px rgba(0,35,82,.12);margin:0;}
.post-figure img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover;}
.post-figure figcaption{background:#fff;padding:.85rem 1.5rem;font-size:.8rem;color:var(--sg-muted);text-align:center;}
.share-bar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;}
.share-bar .share-label{font-size:.8rem;font-weight:600;color:var(--sg-muted);text-transform:uppercase;letter-spacing:.06em;margin-right:.25rem;}
.share-btn{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--sg-bg-soft);color:var(--sg-purple);font-size:1rem;text-decoration:none;transition:all .25s ease;}
.share-btn:hover{background:var(--sg-purple);color:#fff;transform:translateY(-3px);box-shadow:0 8px 18px rgba(94,23,235,.25);}
.post-body{font-size:1.02rem;line-height:1.85;color:var(--sg-ink);}
.post-body p{margin-bottom:1.4rem;}
.post-body .lead-p{font-size:1.12rem;color:var(--sg-muted);}
.post-section{display:flex;gap:1.25rem;margin-bottom:2rem;}
.post-section .sec-num{flex:0 0 3.2rem;height:3.2rem;border-radius:1rem;background:var(--sg-bg-soft);color:var(--sg-purple);font-weight:800;font-size:1.25rem;display:flex;align-items:center;justify-content:center;}
.post-section h2{font-size:1.25rem;margin:.4rem 0 .6rem;line-height:1.4;}
.post-section p{margin:0;color:var(--sg-muted);}
.post-conclusion{background:var(--sg-bg-soft);border-radius:1.25rem;padding:1.75rem 2rem;margin:2.5rem 0;}
.post-conclusion p{margin:0;color:var(--sg-ink);}
.tag-list{display:flex;flex-wrap:wrap;gap:.5rem;}
.tag-chip{display:inline-block;padding:.35rem .95rem;border-radius:50rem;background:var(--sg-bg-soft);color:var(--sg-purple);font-size:.78rem;font-weight:600;text-decoration:none;transition:all .25s ease;}
.tag-chip:hover{background:var(--sg-purple);color:#fff;}
.author-box{display:flex;gap:1.25rem;align-items:center;background:#fff;border:1.5px solid rgba(94,23,235,.15);border-radius:1.25rem;padding:1.5rem 1.75rem;}
.author-box .avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#3D0E9E,#5E17EB);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex:0 0 auto;}
.author-box h4{margin:0 0 .25rem;font-size:1rem;}
.author-box p{margin:0;font-size:.85rem;color:var(--sg-muted);}
@media (max-width:575px){.post-section{flex-direction:column;gap:.6rem;}.post-section .sec-num{flex:0 0 auto;width:3.2rem;}}
/* Sidebar */
.post-sidebar{position:sticky;top:6rem;display:flex;flex-direction:column;gap:1.5rem;}
.side-banner{display:block;border-radius:1.25rem;overflow:hidden;box-shadow:0 8px 26px rgba(0,35,82,.12);transition:transform .3s ease,box-shadow .3s ease;}
.side-banner img{width:100%;display:block;}
.side-banner:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(94,23,235,.2);}
.side-widget{background:#fff;border:1.5px solid rgba(94,23,235,.12);border-radius:1.25rem;padding:1.5rem 1.6rem;}
.side-widget h3{font-size:1rem;font-weight:700;margin:0 0 1rem;}
.side-search{display:flex;gap:.5rem;}
.side-search input{flex:1;min-width:0;border:1.5px solid rgba(94,23,235,.25);border-radius:50rem;padding:.6rem 1.2rem;font-size:.88rem;outline:none;}
.side-search input:focus{border-color:var(--sg-purple);box-shadow:0 0 0 3px rgba(94,23,235,.12);}
.side-search button{border:0;border-radius:50rem;width:42px;height:42px;flex:0 0 auto;background:var(--sg-purple);color:#fff;transition:all .25s ease;}
.side-search button:hover{background:var(--sg-purple-dark,#3D0E9E);transform:translateY(-2px);}
.side-posts{display:flex;flex-direction:column;}
.side-posts a{display:block;padding:.7rem 0;font-size:.88rem;font-weight:600;line-height:1.5;color:var(--sg-ink);text-decoration:none;border-bottom:1px solid rgba(0,35,82,.08);}
.side-posts a:last-child{border-bottom:0;padding-bottom:0;}
.side-posts a:hover{color:var(--sg-purple);}
.side-cta{background:linear-gradient(135deg,#2a0a66 0%,#4a11b8 100%);border:0;color:#fff;text-align:center;}
.side-cta h3{color:#fff;}
.side-cta p{color:rgba(255,255,255,.85);font-size:.85rem;margin:0 0 1.15rem;}
.cite-box{font-size:.78rem;color:var(--sg-muted);}
.cite-tabs{display:flex;flex-wrap:wrap;gap:0;margin-bottom:0;}
.cite-tab{border:1px solid rgba(94,23,235,.18);border-bottom:none;background:var(--sg-bg-soft);color:var(--sg-muted);border-radius:.5rem .5rem 0 0;padding:.3rem .7rem;font-size:.72rem;font-weight:600;cursor:pointer;transition:color .2s ease;margin-right:-1px;position:relative;}
.cite-tab:hover{color:var(--sg-purple);}
.cite-tab.active{background:#fff;color:var(--sg-purple);z-index:1;}
.cite-text{background:#fff;border:1px solid rgba(94,23,235,.18);border-radius:0 .5rem .5rem .5rem;padding:.65rem .85rem;font-size:.75rem;line-height:1.6;word-break:break-word;}
.cite-text a{color:var(--sg-purple);}
@media (max-width:991px){.post-sidebar{position:static;}}

/* Generic WP article body (baked posts) */
.post-content{font-size:1rem;line-height:1.85;color:var(--sg-ink);}
.post-content h1,.post-content h2,.post-content h3,.post-content h4{line-height:1.35;margin:2rem 0 .9rem;}
.post-content h1{font-size:1.6rem;}
.post-content h2{font-size:1.35rem;}
.post-content h3{font-size:1.15rem;}
.post-content h4{font-size:1rem;}
.post-content p{margin:0 0 1.1rem;}
.post-content ul,.post-content ol{margin:0 0 1.25rem;padding-left:1.4rem;}
.post-content li{margin-bottom:.45rem;}
.post-content img{max-width:100%;height:auto;border-radius:1rem;margin:1rem 0;}
.post-content figure{margin:1.5rem 0;}
.post-content figcaption{font-size:.8rem;color:var(--sg-muted);margin-top:.5rem;}
.post-content blockquote{border-left:4px solid var(--sg-purple);background:var(--sg-bg-soft);border-radius:0 1rem 1rem 0;padding:1rem 1.5rem;margin:1.5rem 0;}
.post-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9rem;}
.post-content th,.post-content td{border:1px solid rgba(0,35,82,.12);padding:.6rem .8rem;text-align:left;}
.post-content th{background:var(--sg-bg-soft);}
.post-content a{color:var(--sg-purple);}
.post-content a:hover{color:var(--sg-purple-dark);}

/* Post layout v2: title in left column, small featured image atop sidebar */
.post-body .post-head{margin-bottom:1.75rem;padding-top:2rem;}
.post-body .post-head .breadcrumb-sg{font-size:.8rem;color:var(--sg-muted);display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-bottom:.9rem;}
.post-body .post-head .post-title{font-size:clamp(1.45rem,2.6vw,2.05rem);line-height:1.35;margin:.65rem 0 1rem;}
.side-figure{margin:0 0 1.25rem;}
.side-figure img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:1rem;box-shadow:0 8px 24px rgba(0,35,82,.12);}
@media (min-width:992px){.post-sidebar{padding-top:2rem;}}

/* Author box v2: photo avatar, professional layout (2026-07-21) */
.author-box{align-items:flex-start;background:linear-gradient(120deg,#f6f4fe 0%,#fdf3f7 100%);border:1px solid rgba(94,23,235,.10);}
.author-box .avatar{flex:0 0 auto;width:84px;height:84px;border-radius:50%;overflow:hidden;box-shadow:0 8px 22px rgba(61,14,158,.22);background:#fff;}
.author-box .avatar img{width:100%;height:100%;object-fit:cover;display:block;}
.author-box h4{margin-bottom:.15rem;}
.author-box .author-role{font-size:.85rem;font-weight:600;color:var(--sg-purple);margin:0 0 .5rem;}
.author-box .author-creds{font-size:.8rem;color:var(--sg-muted);line-height:1.65;margin:0;}
