/* Night Charm — Article Detail (bestvibe-style), scoped to .ncad-active */
.ncad-active .entry-content{font-family:'Manrope',sans-serif}

/* Full-site alignment: match the /blog/ homepage EXACTLY — a centered 1400px
   container with 40px gutters, so the article content starts at x:60 on a
   1440px screen and x:300 on a 1920px screen, identical to the blog cards. */
body.ncad-active .content-container.site-container{max-width:none!important;padding-left:0!important;padding-right:0!important}
body.ncad-active #main.site-main > .content-wrap{box-sizing:border-box!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important;padding-left:40px!important;padding-right:40px!important}
body.ncad-active .ncad-wrap{width:100%!important;margin-left:0!important;margin-right:0!important}

/* H1 title: keep it inside the article column, never over the right sidebar.
   Long titles wrap onto the next line. The DB title is already Title Case, so
   disable the theme's forced uppercase. */
body.ncad-active .entry-header h1{max-width:calc(100% - 384px)!important;overflow-wrap:break-word!important;word-break:normal!important;text-transform:none!important}
body.nc-skin.ncad-active .entry-header h1,
body.nc-skin .ncad-active .entry-header h1{text-transform:none!important}
@media (max-width:1080px){body.ncad-active .entry-header h1{max-width:calc(100% - 330px)!important}}
@media (max-width:820px){body.ncad-active .entry-header h1{max-width:100%!important}}

/* Author bar (after H1). Keep it inside the article column so the social
   share icons sit at the right edge of the content, not over the sidebar. */
.ncad-author-bar{margin:14px 0 4px;max-width:100%;font-family:'Manrope',sans-serif}
@media (max-width:820px){.ncad-author-bar{max-width:100%}}
.ncad-author-top{display:flex;align-items:center;gap:12px}
.ncad-author-avatar{flex:0 0 40px;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#F4EDE6;border:1px solid #E7DBD2;display:inline-flex;align-items:center;justify-content:center}
.ncad-author-avatar img{width:100%;height:100%;object-fit:contain;display:block;padding:5px}
.ncad-author-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.ncad-author-name{font-size:13px;font-weight:700;color:#3E1038!important;line-height:1.2}
.ncad-author-date{font-size:11px;color:#93838D;line-height:1.2}
.ncad-meta-share{margin-left:auto;display:inline-flex;align-items:center;gap:8px}
.ncad-meta-share a{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:#8A7A86!important;background:#F6F0F2;transition:background .2s,color .2s,transform .2s}
.ncad-meta-share a svg{width:13px;height:13px;display:block}
.ncad-meta-share a:hover{background:#3E1038;color:#fff!important;transform:translateY(-2px)}
.ncad-meta-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.ncad-meta-tag{display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;background:#F4EDE6;border:1px solid #E7DBD2;color:#6E5A66!important;font-size:11px;font-weight:600;line-height:1;text-decoration:none!important;transition:background .2s,border-color .2s,color .2s,transform .2s}
.ncad-meta-tag:hover{background:#B2863C;border-color:#B2863C;color:#fff!important;transform:translateY(-1px)}
/* hide the theme's empty default meta and the category eyebrow above the H1
   (the breadcrumb already shows the category) */
.ncad-active .entry-header .entry-meta{display:none!important}
.ncad-active .entry-header .entry-taxonomies{display:none!important}

/* Favorite note */
.ncad-fav-note{margin:10px 0 0;font-size:11px;line-height:1.6;color:#93838D}
.ncad-fav-note a{color:#B2863C!important;text-decoration:underline!important;font-weight:700}
.ncad-fav-wish.is-done{background:#3E1038;border-color:#3E1038;color:#fff!important}
.ncad-fav-wish.is-done svg{fill:#fff;stroke:#fff}

/* Two-column layout: article left, module right */
.ncad-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:44px;align-items:start;margin:0}
.ncad-main{min-width:0}
.ncad-side{min-width:0;display:flex;flex-direction:column;gap:34px}
/* Lift the sidebar so its first box starts level with the article H1 */
@media (min-width:821px){
  .ncad-side{margin-top:-180px}
}

/* ---- Hide the theme's external full-width hero banner (cover is now in body) ---- */
.ncad-active .post-thumbnail.article-post-thumbnail{display:none!important}

/* ---- Cover image INSIDE the article, as its first element ---- */
.ncad-active .ncad-prose .ncad-cover-inbody{margin:0 0 26px!important;padding:0!important;border:0!important;line-height:0}
.ncad-active .ncad-prose .ncad-cover-inbody img.ncad-cover-img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important;border-radius:6px;box-shadow:0 6px 22px rgba(62,16,56,.10)}

/* ---- Prose (original article body) ---- */
.ncad-active .ncad-prose p{font-size:15px;line-height:1.85;color:#4A3A42;margin:0 0 22px}
.ncad-active .ncad-prose h2,.ncad-active .ncad-prose h3{color:#3E1038;font-family:'Playfair Display',Georgia,serif}

/* ---- Section titles ---- */
.ncad-sec-title{margin:0 0 16px!important;font-family:'Playfair Display',Georgia,serif!important;font-size:19px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:0!important;text-transform:none!important;color:#3E1038!important}
.ncad-active body.nc-skin .ncad-sec-title,
body.nc-skin .ncad-sec-title{font-size:19px!important;color:#3E1038!important}

/* ---- Related articles (after body) ---- */
.ncad-related{margin-top:44px;padding-top:34px;border-top:1px solid #E7DBD2}
.ncad-rel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ncad-rel-card{display:flex;flex-direction:column;background:#F4EDE6;border:1px solid #E7DBD2;border-radius:4px;overflow:hidden;text-decoration:none!important;transition:transform .25s,box-shadow .25s,border-color .25s}
.ncad-rel-card:hover{transform:translateY(-4px);border-color:#B2863C;box-shadow:0 10px 24px rgba(62,16,56,.12)}
.ncad-rel-thumb{display:block;aspect-ratio:16/10;overflow:hidden;background:#EADFD4}
.ncad-rel-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.ncad-rel-card:hover .ncad-rel-thumb img{transform:scale(1.05)}
.ncad-rel-title{flex:1;padding:14px 14px 6px;font-family:'Playfair Display',Georgia,serif;font-size:14px;line-height:1.4;font-weight:600;color:#3E1038!important}
.ncad-rel-view{display:inline-block;align-self:flex-start;margin:0 14px 14px;padding:4px 12px;border:1px solid #C9B7A6;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.5px;color:#6E5A66!important;background:#fff;transition:background .2s,color .2s,border-color .2s}
.ncad-rel-card:hover .ncad-rel-view{background:#3E1038;border-color:#3E1038;color:#fff!important}

/* ---- Previous / Next navigation ---- */
.ncad-postnav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:34px;padding-top:26px;border-top:1px solid #E7DBD2}
.ncad-navlink{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;border:1px solid #E7DBD2;border-radius:4px;background:#fff;text-decoration:none!important;transition:border-color .2s,box-shadow .2s}
.ncad-navlink:hover{border-color:#B2863C;box-shadow:0 4px 16px rgba(62,16,56,.08)}
.ncad-nav-next{justify-content:flex-end;text-align:right}
.ncad-nav-arrow{flex:0 0 34px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #C9B7A6;border-radius:50%;color:#B2863C!important;background:#FCF9F5;transition:background .2s,color .2s,border-color .2s}
.ncad-nav-arrow svg{width:16px;height:16px;display:block}
.ncad-navlink:hover .ncad-nav-arrow{background:#3E1038;border-color:#3E1038;color:#fff!important}
.ncad-nav-info{display:flex;flex-direction:column;min-width:0;gap:4px}
.ncad-nav-label{font-size:9px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase;color:#B2863C!important}
.ncad-nav-thumb{display:block;width:56px;height:40px;overflow:hidden;border-radius:3px;background:#F4EDE6}
.ncad-nav-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ncad-nav-title{font-family:'Playfair Display',Georgia,serif;font-size:12px;line-height:1.35;font-weight:600;color:#3E1038!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ncad-navlink.is-empty{visibility:hidden}

/* ---- Helpful / Favorite actions ---- */
.ncad-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px;padding:22px 0 8px;border-top:1px solid #E7DBD2}
.ncad-action{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border:1px solid #E2D5C9;border-radius:999px;background:#fff;color:#6E5A66!important;font-family:'Manrope',sans-serif;font-size:12px;font-weight:700;letter-spacing:.2px;cursor:pointer;transition:background .2s,border-color .2s,color .2s,transform .2s}
.ncad-action svg{width:17px;height:17px;flex:0 0 17px}
.ncad-action:hover{background:#F4EDE6;border-color:#B2863C;color:#3E1038!important;transform:translateY(-1px)}
.ncad-action.is-done{background:#3E1038;border-color:#3E1038;color:#fff!important}
.ncad-action.is-done svg{fill:#fff;stroke:#fff}
.ncad-active body.nc-skin .ncad-action,body.nc-skin .ncad-action{color:#6E5A66!important}
.ncad-active body.nc-skin .ncad-action:hover,body.nc-skin .ncad-action:hover{color:#3E1038!important}

/* ---- Right sidebar boxes ---- */
.ncad-box{padding:22px;background:#fff;border:1px solid #E7DBD2;border-radius:4px;box-shadow:0 2px 12px rgba(62,16,56,.04)}

/* Products grid (2 columns) */
/* You May Also Like: one product per row, 6 rows */
.ncad-prod-grid{display:flex;flex-direction:column;gap:10px}
.ncad-prod{display:flex;flex-direction:row;align-items:center;gap:12px;min-width:0;padding:8px;border:1px solid #EFE6DC;border-radius:4px;background:#FCF9F5;text-decoration:none!important;transition:border-color .2s,box-shadow .2s,transform .2s}
.ncad-prod:hover{border-color:#B2863C;box-shadow:0 4px 14px rgba(62,16,56,.08);transform:translateY(-2px)}
.ncad-prod-info{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1}
.ncad-prod-img{display:block;flex:0 0 74px;width:74px;height:74px;overflow:hidden;border-radius:3px;background:#F4EDE6}
.ncad-prod-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.ncad-prod:hover .ncad-prod-img img{transform:scale(1.06)}
.ncad-prod-ph{display:block;width:100%;height:100%;background:linear-gradient(135deg,#F4EDE6,#EADFD4)}
.ncad-prod-name{display:block;flex:1;min-width:0;margin:0;font-family:'Playfair Display',Georgia,serif;font-size:12px;line-height:1.35;font-weight:600;color:#3E1038!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ncad-prod-price{display:block;margin-top:3px;font-size:12px;font-weight:800;color:#B2863C!important}
.ncad-stars{margin-top:2px;font-size:10px;color:#C9A15A!important;letter-spacing:1px}
.ncad-empty{font-size:12px;color:#8A7A86;margin:0}

/* Category pills */
.ncad-cats{display:flex;flex-wrap:wrap;gap:8px}
.ncad-pill{display:inline-flex;align-items:center;padding:8px 13px;border:1px solid #E7DBD2;border-radius:999px;background:#FAF6F1;color:#6E5A66!important;font-size:11px;font-weight:700;line-height:1;text-decoration:none!important;transition:background .2s,border-color .2s,color .2s,transform .2s}
.ncad-pill:hover{background:#B2863C;border-color:#B2863C;color:#fff!important;transform:translateY(-1px)}
.ncad-pill.is-active{background:#3E1038;border-color:#3E1038;color:#fff!important}

/* Popular articles */
.ncad-pop-list{display:flex;flex-direction:column}
.ncad-pop-item{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #EFE6DC;text-decoration:none!important;transition:background .2s}
.ncad-pop-item:first-child{padding-top:0}
.ncad-pop-item:last-child{border-bottom:0;padding-bottom:0}
.ncad-pop-item:hover .ncad-pop-title{color:#B2863C!important}
.ncad-pop-thumb{flex:0 0 58px;width:58px;height:44px;overflow:hidden;border-radius:3px;background:#F4EDE6}
.ncad-pop-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ncad-pop-title{font-family:'Playfair Display',Georgia,serif;font-size:12px;line-height:1.4;font-weight:600;color:#3E1038!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}

/* Responsive */
@media (max-width:1080px){
  .ncad-wrap{grid-template-columns:minmax(0,1fr) 300px;gap:30px}
  .ncad-rel-grid{gap:12px}
}
@media (max-width:820px){
  .ncad-wrap{grid-template-columns:1fr;gap:38px;width:100%!important;margin-left:0!important;margin-right:0!important}
  .ncad-side{flex-direction:column}
  .ncad-prod-grid{gap:8px}
}
@media (max-width:640px){
  body.ncad-active #main.site-main > .content-wrap{padding-left:20px!important;padding-right:20px!important}
  .ncad-wrap{gap:32px}
  .ncad-rel-grid{grid-template-columns:1fr;gap:12px}
  .ncad-rel-card{flex-direction:row;align-items:center}
  .ncad-rel-thumb{flex:0 0 36%;width:36%;aspect-ratio:auto;height:96px}
  .ncad-rel-title{padding:10px 12px 4px;font-size:13px}
  .ncad-rel-view{margin:0 12px 10px}
  .ncad-postnav{grid-template-columns:1fr;gap:12px}
  .ncad-nav-next{justify-content:flex-start;text-align:left;order:2}
  .ncad-actions{gap:10px}
  .ncad-action{flex:1 1 auto;justify-content:center;font-size:11px;padding:10px 12px}
  .ncad-meta-share{margin-left:0;width:100%;justify-content:flex-start;margin-top:4px}
  .ncad-author-top{flex-wrap:wrap}
}
