/* Post body content patches: lists, quotes, and inline code. */

/* ============================== Inline Code: Cherry Glitch ============================== */

.entry-content :not(pre) > code {
    background: linear-gradient(
        120deg,
        rgba(255, 232, 238, 0.96),
        rgba(242, 232, 255, 0.88)
    ) !important;
    color: #C94646 !important;
    word-break: break-word;
    font-family: 'Code-Pro-JetBrains-Mono', 'Source Code Pro', monospace, Helvetica, Tahoma, Arial, STXihei, "STHeiti Light", "Microsoft YaHei", sans-serif;
    padding: 2px;
    text-shadow: none;
    border-radius: 5px;
    border: none;
    box-shadow: none;
}

/* =============================== Inline Code: Dark Mode Soft Matrix ============================== */

body.dark .entry-content :not(pre) > code,
.dark .entry-content :not(pre) > code {
    background: rgba(72, 255, 156, 0.04) !important;
    color: #46E889 !important;
    font-weight: 400;
    word-break: break-word;
    font-family: 'Code-Pro-JetBrains-Mono', 'Source Code Pro', monospace, Helvetica, Tahoma, Arial, STXihei, "STHeiti Light", "Microsoft YaHei", sans-serif;
    padding: 2px;
    text-shadow: 0 0 4px rgba(70, 232, 137, 0.36);
    border-radius: 5px;
    border: none;
    box-shadow: none;
}

/* ============================== Entry Links: Access Trace ============================== */

.entry-content a {
    color: #D85F73 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: solid !important;
    text-decoration-color: transparent !important;

    border-bottom: none !important;
    background-image: linear-gradient(90deg, #D85F73, #9B5CFF, #00D8FF);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: 0 calc(100% - 1px);

    text-shadow: none;
    transition:
        color .18s ease-out,
        background-size .18s ease-out;
}

.entry-content a:hover {
    color: #A92B40 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;

    background-size: 100% 2px;
}

/* =========================================================
   LIST STYLING PATCH 
   ========================================================= */

.wp-block-list{
  font-size:.95em;
  margin:.6em 0!important;
  padding-top:.6em!important;
  padding-bottom:.6em!important;
}

/* control each bullet row height */
.wp-block-list li{
  margin:.3em 0!important;
  padding:.05em 0!important;
}


/* =========================================================
   Gutenberg DEV BLOCKQUOTE 
   ========================================================= */

.wp-block-quote{
  quotes:none!important;
  margin:1.3em 0!important;
  padding:.8em 1em .8em 1.3em!important;
  border-radius:6px!important;
  border:0!important;
  position:relative;
  font-family:inherit!important;
  font-style:normal!important;
  line-height:1.75!important;
	font-size:.95em;
	color:#5C718D!important;
   background:rgba(120,140,180,.08)!important;
}
body.dark .wp-block-quote{
  color:#b8c3d1!important;       
}

/* p */
.wp-block-quote p{
  margin:0!important;
  color:inherit!important;
  line-height:inherit!important;
	margin-top:.35em!important;
	margin-bottom:.35em!important;
}

/* Gradient rail */
.wp-block-quote::before{
  content:""!important;
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:6px 0 0 6px;
  background:linear-gradient(to bottom,#6c7cff,#2dd4bf);
}


/* Dark mode background */
body.dark .wp-block-quote{
  background:rgba(120,160,220,.12)!important;
}

/* Remove theme decorations */
.wp-block-quote::after,
.wp-block-quote p::before,
.wp-block-quote p::after{
  content:none!important;
  display:none!important;
}


/* Tight lists inside quote */
.wp-block-quote ul,
.wp-block-quote ol{
  margin:.5em 0!important;       
  color:inherit!important;
}
.wp-block-quote li{
  color:inherit!important;
  margin:.35em 0!important;
  line-height:1.5!important;
}
.wp-block-quote li::marker{
  color:inherit!important;
}


