/*
 * Tamiyouz Blog V61 | Unified premium navy table of contents.
 * Single-post only: curated .tyz-eco49-toc, generated .tyz-p3-toc,
 * and Elementor .elementor-widget-table-of-contents.
 * Keep article canvas light, one TOC per page, and original anchor IDs.
 */
body.single-post #page_content .content.single_con {
  --tyz61-toc-ink:#f3f7fc;
  --tyz61-toc-muted:#d8e7f2;
  --tyz61-toc-gold:#f4d498;
  --tyz61-toc-border:rgba(236,193,122,.43);
}
body.single-post #page_content .content.single_con :is(
  nav.tyz-eco49-toc,
  nav.tyz-p3-toc,
  .elementor-widget-table-of-contents
){
  color:var(--tyz61-toc-ink)!important;
  background:linear-gradient(143deg,#16384f 0%,#0d283e 69%,#0b2336 100%)!important;
  border:1px solid var(--tyz61-toc-border)!important;
  border-radius:17px!important;
  box-shadow:0 13px 31px rgba(6,25,39,.18),inset 0 1px 0 rgba(247,208,151,.05)!important;
  max-width:100%!important;
  overflow:hidden!important;
  isolation:isolate;
}
body.single-post #page_content .content.single_con nav.tyz-p3-toc summary{
  color:#f5d59d!important;
  font-weight:850!important;
  background:#1b4157!important;
  border-bottom:1px solid rgba(235,197,136,.27)!important;
}
body.single-post #page_content .content.single_con nav.tyz-p3-toc :is(ol,ul){
  color:#e9f2fa!important;
  background:transparent!important;
  scrollbar-color:#ba9763 #102e44;
}
body.single-post #page_content .content.single_con nav.tyz-p3-toc li{
  color:#e5f0f9!important;
  background:transparent!important;
}
body.single-post #page_content .content.single_con nav.tyz-p3-toc li a,
body.single-post:not(.postid-18169) #page_content .content.single_con .cz_post_content nav.tyz-p3-toc li a{
  display:block!important;
  color:#ecf4fc!important;
  -webkit-text-fill-color:#ecf4fc!important;
  border-inline-start-color:rgba(229,191,128,.21)!important;
  background:transparent!important;
  font-weight:700!important;
  line-height:1.85!important;
  text-decoration:none!important;
  transition:color .19s ease,background-color .19s ease,border-color .19s ease!important;
}
body.single-post #page_content .content.single_con nav.tyz-p3-toc li a:is(:hover,:focus-visible,[aria-current="location"]){
  color:#ffe4b4!important;
  -webkit-text-fill-color:#ffe4b4!important;
  border-inline-start-color:#edc789!important;
  background:rgba(239,204,148,.10)!important;
}
body.single-post #page_content .content.single_con nav.tyz-p3-toc summary:focus-visible,
body.single-post #page_content .content.single_con nav.tyz-p3-toc a:focus-visible{
  outline:2px solid #f0d39d!important;
  outline-offset:-2px!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents > .elementor-widget-container,
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__body{
  background:#102e44!important;
  color:#eaf3fb!important;
  border-color:rgba(235,195,126,.29)!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__header{
  background:#1c4055!important;
  color:#ffe0a8!important;
  border-color:rgba(240,200,132,.31)!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__header-title,
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__toggle-button{
  color:#f7d69c!important;
  -webkit-text-fill-color:#f7d69c!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents :is(
  .elementor-toc__list-wrapper,
  .elementor-toc__list-item,
  .elementor-toc__list-item-text-wrapper
){
  background:transparent!important;
  color:#ecf4fb!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__list-item :is(a,.elementor-toc__list-item-text){
  color:#eaf3fa!important;
  -webkit-text-fill-color:#eaf3fa!important;
  background:transparent!important;
  font-weight:700!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__list-item :is(a,.elementor-toc__list-item-text):is(:hover,:focus-visible,.elementor-item-active){
  color:#ffe0a4!important;
  -webkit-text-fill-color:#ffe0a4!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents .elementor-toc__list-item :is(a,.elementor-toc__list-item-text) :is(span,strong,em){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}
body.single-post #page_content .content.single_con .elementor-widget-table-of-contents a:focus-visible{
  outline:2px solid #f4d597!important;
  outline-offset:2px!important;
}
/* Curated ecommerce index: override V52 light-mode rules with higher
   specificity, preserving its 14-section responsive layout. */
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc {
  color:#eff6fb!important;
  background:linear-gradient(143deg,#173d52,#102e45 65%,#0a273d)!important;
  border:1px solid rgba(238,195,122,.53)!important;
  box-shadow:0 17px 35px rgba(9,30,44,.18)!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc h2 {
  color:#f9dca8!important;
  -webkit-text-fill-color:#f9dca8!important;
  font-size:clamp(20px,1.9vw,26px)!important;
  background:none!important;
  border:0!important;
  margin:8px 0!important;
  padding:0!important;
  text-shadow:none!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc .tyz-eco49-kicker{
  color:#f9dca8!important;
  -webkit-text-fill-color:#f9dca8!important;
  background:#25495c!important;
  border:1px solid rgba(237,196,131,.56)!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc p{
  color:#dcebf5!important;
  -webkit-text-fill-color:#dcebf5!important;
  font-size:clamp(14px,1.07vw,16px)!important;
  line-height:1.9!important;
  font-weight:600!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc ol {
  counter-reset:eco49!important;
  list-style:none!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li {
  color:#e7f1f9!important;
  border-bottom:1px solid rgba(231,198,148,.24)!important;
  background:transparent!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li::before{
  color:#f0c989!important;
  -webkit-text-fill-color:#f0c989!important;
  font-weight:900!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li a,
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li a:visited{
  display:block!important;
  min-height:36px!important;
  padding:8px 0!important;
  color:#eff7fe!important;
  -webkit-text-fill-color:#eff7fe!important;
  font:750 clamp(13px,1.08vw,15px)/1.8 Almarai,system-ui,sans-serif!important;
  text-decoration:none!important;
  text-shadow:none!important;
  background:transparent!important;
  transition:color .2s ease,transform .2s ease!important;
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li a:is(:hover,:focus-visible){
  color:#ffe1a7!important;
  -webkit-text-fill-color:#ffe1a7!important;
  transform:translateX(-3px);
}
body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li a:focus-visible{
  outline:2px solid #f4d498!important;
  outline-offset:2px!important;
  border-radius:5px!important;
}
@media(max-width:650px){
  body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc{
    padding:17px!important;
    border-radius:13px!important;
  }
  body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc ol{
    grid-template-columns:minmax(0,1fr)!important;
    gap:3px!important;
  }
  body.single-post.postid-18169 #page_content .content.single_con .cz_post_content .tyz-eco49 nav.tyz-eco49-toc li a{
    min-height:42px!important;
    padding:10px 0!important;
    font-size:14.5px!important;
  }
  body.single-post #page_content .content.single_con nav.tyz-p3-toc{
    border-radius:13px!important;
  }
  body.single-post #page_content .content.single_con .elementor-widget-table-of-contents{
    border-radius:13px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.single-post #page_content .content.single_con :is(
    nav.tyz-p3-toc a,
    nav.tyz-eco49-toc a,
    .elementor-widget-table-of-contents a
  ){
    transition:none!important;
    transform:none!important;
  }
}
@media print {
  body.single-post #page_content .content.single_con :is(
    nav.tyz-p3-toc,
    nav.tyz-eco49-toc,
    .elementor-widget-table-of-contents
  ){
    background:#fff!important;
    color:#111!important;
    border:1px solid #999!important;
    box-shadow:none!important;
  }
  body.single-post #page_content .content.single_con :is(nav.tyz-p3-toc,nav.tyz-eco49-toc) a {
    color:#111!important;
    -webkit-text-fill-color:#111!important;
  }
}
