/* Vibino — automatic blockquote (نقل قول) style for every blog / magazine post.
   Dark glass card, fuchsia→violet glowing edge on the reading side (right in RTL),
   big quote mark, soft glow. Matches the H2 style in fk-post-h2.css.
   Scoped to `.blogsingle .fk-post-content` so it is safe to load on every page. */
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote){
  position:relative;
  display:block;
  box-sizing:border-box;
  isolation:isolate;
  overflow:hidden;
  margin:2em 0 !important;
  padding:26px 30px 24px 26px !important;
  padding-right:72px !important;
  border:1px solid rgba(217,70,239,.22) !important;
  border-right:0 !important;
  border-radius:20px !important;
  direction:rtl;
  text-align:right;
  color:#e7e5e4 !important;
  font-size:1.04em;
  line-height:2.1;
  background:
    radial-gradient(120% 140% at 100% 0%,rgba(217,70,239,.20) 0%,rgba(124,58,237,.10) 38%,transparent 70%),
    linear-gradient(160deg,rgba(255,255,255,.055) 0%,rgba(255,255,255,.015) 100%) !important;
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  box-shadow:0 14px 40px -18px rgba(124,58,237,.55),inset 0 1px 0 rgba(255,255,255,.06) !important;
}
/* glowing vertical bar on the reading edge */
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote)::before{
  content:'' !important;
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  left:auto;
  width:5px;
  border-radius:0 20px 20px 0;
  background:linear-gradient(180deg,#e879f9 0%,#d500f9 55%,#7c3aed 100%) !important;
  box-shadow:0 0 18px rgba(217,70,239,.6);
}
/* big quote mark */
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote)::after{
  content:'' !important;
  position:absolute;
  top:20px;
  right:20px;
  width:36px;
  height:30px;
  z-index:-1;
  opacity:.9;
  background:no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 30'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23f0abfc'/><stop offset='1' stop-color='%237c3aed'/></linearGradient></defs><path fill='url(%23g)' d='M0 30V16.5C0 6.6 5.2 1.2 14.4 0l1.2 4.4C10.8 5.9 8.6 8.8 8.2 12.6H15V30H0zm21 0V16.5C21 6.6 26.2 1.2 35.4 0l.6 4.4c-4.8 1.5-7 4.4-7.4 8.2H36V30H21z'/></svg>");
  filter:drop-shadow(0 4px 14px rgba(217,70,239,.45));
}
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote) > :first-child{margin-top:0 !important}
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote) > :last-child{margin-bottom:0 !important}
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote) p{
  margin:0 0 .8em;
  color:inherit !important;
  font-size:inherit;
  line-height:inherit;
}
/* "who said it" line */
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote) :is(cite,footer,figcaption,.wp-block-quote__citation){
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:.6em;
  font-style:normal;
  font-size:.86em;
  color:#f0abfc !important;
}
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote) :is(cite,footer,figcaption,.wp-block-quote__citation)::before{
  content:'';
  width:26px;
  height:2px;
  border-radius:4px;
  background:linear-gradient(270deg,#d946ef,rgba(124,58,237,.2));
}
html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote) a{color:#f0abfc}
/* pullquote: centered, bigger */
html body .blogsingle .fk-post-content .wp-block-pullquote{
  text-align:center;
  padding:34px 28px 28px !important;
  padding-top:70px !important;
  font-size:1.2em;
}
html body .blogsingle .fk-post-content .wp-block-pullquote::before{
  top:0;right:0;left:0;bottom:auto;width:auto;height:4px;border-radius:20px 20px 0 0;
  background:linear-gradient(270deg,#e879f9,#d500f9 50%,#7c3aed) !important;
}
html body .blogsingle .fk-post-content .wp-block-pullquote::after{top:20px;right:calc(50% - 18px)}
/* wp-block-quote wrapping a real <blockquote>: don't double the box */
html body .blogsingle .fk-post-content :is(.wp-block-quote,.wp-block-pullquote) blockquote{
  all:unset;display:block;color:inherit;
  padding:0 !important;margin:0 !important;border:0 !important;border-radius:0 !important;
  background:none !important;box-shadow:none !important;overflow:visible !important;
  -webkit-backdrop-filter:none;backdrop-filter:none;
}
html body .blogsingle .fk-post-content :is(.wp-block-quote,.wp-block-pullquote) blockquote::before,
html body .blogsingle .fk-post-content :is(.wp-block-quote,.wp-block-pullquote) blockquote::after{display:none !important}
html body .blogsingle .fk-post-content .wp-block-pullquote :is(cite,footer){justify-content:center}
@media (max-width:639px){
  html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote){
    margin:1.6em 0 !important;
    padding:20px 18px 18px 16px !important;
    padding-right:56px !important;
    border-radius:16px !important;
    line-height:2;
  }
  html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote)::after{width:28px;height:23px;top:18px;right:15px}
  html body .blogsingle .fk-post-content :is(blockquote,.wp-block-quote,.wp-block-pullquote)::before{border-radius:0 16px 16px 0}
}
