/* RegalTicker Studio v2.3.2 — Premium Article Block Patterns */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-card,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-quick-answer,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-key-takeaways,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-example,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-terms,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-note,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-risk,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-calculation,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-sources,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-disclaimer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin-block:28px;
  padding:clamp(22px,3vw,30px);
  border:1px solid #dce5ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 14px 36px rgba(17,38,72,.08);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-card>*:first-child,
:where(.rts-entry-content,.editor-styles-wrapper) [class*="is-style-regalticker-"]>*:first-child{margin-top:0}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-card>*:last-child,
:where(.rts-entry-content,.editor-styles-wrapper) [class*="is-style-regalticker-"]>*:last-child{margin-bottom:0}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-eyebrow{
  margin:0 0 8px;
  color:#8a5b00;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-card h3,
:where(.rts-entry-content,.editor-styles-wrapper) [class*="is-style-regalticker-"] h3{
  margin:0 0 12px;
  padding:0;
  border:0;
  color:#0a1d3b;
  font-size:clamp(22px,3vw,28px);
  line-height:1.22;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-card p,
:where(.rts-entry-content,.editor-styles-wrapper) [class*="is-style-regalticker-"] p{margin-bottom:1em}

/* Quick answer */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-quick-answer,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-quick-answer{
  border:0;
  background:linear-gradient(135deg,#061a3b 0%,#0b3269 72%,#123e78 100%);
  color:#eef5ff;
  box-shadow:0 20px 48px rgba(4,23,53,.22);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-quick-answer:after,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-quick-answer:after{
  content:"₹";
  position:absolute;
  right:18px;
  bottom:-58px;
  z-index:-1;
  color:rgba(255,255,255,.055);
  font-size:170px;
  font-weight:900;
  line-height:1;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-quick-answer h3,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-quick-answer h3{color:#fff}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-quick-answer .rts-pattern-eyebrow,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-quick-answer .rts-pattern-eyebrow{color:#f8c55d}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-quick-answer a,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-quick-answer a{color:#ffe09a}

/* Key takeaways */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-key-takeaways,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-key-takeaways{
  border-color:#efd28b;
  background:linear-gradient(145deg,#fff7d9,#fffdf5);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-key-takeaways ul,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-key-takeaways ul{padding-left:0;list-style:none}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-key-takeaways li,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-key-takeaways li{
  position:relative;
  margin:10px 0;
  padding-left:30px;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-key-takeaways li:before,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-key-takeaways li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  display:grid;
  place-items:center;
  width:21px;
  height:21px;
  border-radius:50%;
  background:#0b9860;
  color:#fff;
  font-size:12px;
  font-weight:900;
}

/* Worked examples and calculation cards */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-example,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-example{
  border-color:#bed8fa;
  background:linear-gradient(145deg,#eef6ff,#fff);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-example .rts-pattern-eyebrow,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-example .rts-pattern-eyebrow{color:#0a5dae}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-calculation,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-calculation{
  border-color:#1d477a;
  background:linear-gradient(145deg,#071b3d,#0c2f62);
  color:#eaf2ff;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-calculation h3,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-calculation h3{color:#fff}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-calculation .rts-pattern-eyebrow,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-calculation .rts-pattern-eyebrow{color:#f8c55d}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-calc-grid{gap:12px}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-calc-step{
  min-height:112px;
  padding:16px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:15px;
  background:rgba(255,255,255,.07);
  text-align:center;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-calc-step p{margin:0}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-calc-value{color:#f7c957;font-size:23px;font-weight:900}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-calc-label{color:#c4d2e6;font-size:12px}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-calc-result{color:#54d18d!important}

/* Terms, notes and warnings */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-terms,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-terms{
  border-color:#cbdcf6;
  background:linear-gradient(145deg,#eff5ff,#fff);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-investor-note,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-note{
  border-color:#ded0f4;
  background:linear-gradient(145deg,#f7f1ff,#fff);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-investor-note .rts-pattern-eyebrow,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-note .rts-pattern-eyebrow{color:#6b39ad}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-risk-warning,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-risk{
  border-color:#efc1aa;
  border-left:6px solid #e86f2d;
  background:linear-gradient(145deg,#fff0e9,#fff);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-risk-warning .rts-pattern-eyebrow,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-risk .rts-pattern-eyebrow{color:#a64012}

/* Comparison table */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-comparison,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-comparison{
  margin-block:30px;
  overflow-x:auto;
  border:1px solid #d7e1ed;
  border-radius:18px;
  box-shadow:0 12px 32px rgba(17,38,72,.08);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-comparison table,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-comparison table{min-width:680px;margin:0;border:0}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-comparison th,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-comparison th{
  padding:16px;
  border-color:#24456d;
  background:#071b3d;
  color:#fff;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-comparison td,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-comparison td{padding:16px;border-color:#e1e8f0}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-comparison tr:nth-child(even) td,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-comparison tr:nth-child(even) td{background:#f5f8fc}

/* Sources and disclaimer */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-official-sources,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-sources{
  border-color:#bad7f7;
  background:linear-gradient(145deg,#edf6ff,#fff);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-official-sources a,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-sources a{font-weight:750}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-disclaimer,
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-disclaimer{
  padding:18px 20px;
  border-color:#e0e4ea;
  background:#f4f5f7;
  box-shadow:none;
  color:#586274;
  font-size:13px;
  line-height:1.65;
}

/* FAQ */
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-faq{margin-block:30px}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-faq .wp-block-details,
:where(.rts-entry-content,.editor-styles-wrapper) details.is-style-regalticker-faq{
  margin:12px 0;
  overflow:hidden;
  border:1px solid #dce5ef;
  border-radius:15px;
  background:#fff;
  box-shadow:0 7px 20px rgba(17,38,72,.05);
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-faq summary,
:where(.rts-entry-content,.editor-styles-wrapper) details.is-style-regalticker-faq summary{
  cursor:pointer;
  padding:17px 19px;
  color:#102444;
  font-weight:800;
}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-faq details>*:not(summary),
:where(.rts-entry-content,.editor-styles-wrapper) details.is-style-regalticker-faq>*:not(summary){padding-inline:19px}
:where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-faq details>*:last-child,
:where(.rts-entry-content,.editor-styles-wrapper) details.is-style-regalticker-faq>*:last-child{padding-bottom:18px}

/* Existing checklist style */
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-checklist{padding-left:0;list-style:none}
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-checklist li{position:relative;margin:10px 0;padding-left:31px}
:where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-checklist li:before{content:"✓";position:absolute;left:0;color:#0a9360;font-weight:900}

/* Dark mode */
body.rts-dark-mode .rts-entry-content .rts-pattern-card,
body.rts-dark-mode .rts-entry-content [class*="is-style-regalticker-"]{color:#dbe6f7}
body.rts-dark-mode .rts-entry-content .rts-pattern-key-takeaways,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-key-takeaways{border-color:#5a4d28;background:linear-gradient(145deg,#302a18,#0d203d)}
body.rts-dark-mode .rts-entry-content .rts-pattern-example,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-example,
body.rts-dark-mode .rts-entry-content .rts-pattern-terms,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-terms,
body.rts-dark-mode .rts-entry-content .rts-pattern-official-sources,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-sources{border-color:#294f78;background:linear-gradient(145deg,#102c4b,#0d203d)}
body.rts-dark-mode .rts-entry-content .rts-pattern-investor-note,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-note{border-color:#49375e;background:linear-gradient(145deg,#261f35,#0d203d)}
body.rts-dark-mode .rts-entry-content .rts-pattern-risk-warning,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-risk{border-color:#6b3c2c;background:linear-gradient(145deg,#3b241d,#0d203d)}
body.rts-dark-mode .rts-entry-content .rts-pattern-disclaimer,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-disclaimer{border-color:#38485d;background:#142238;color:#b8c6d8}
body.rts-dark-mode .rts-entry-content .rts-pattern-card h3,
body.rts-dark-mode .rts-entry-content [class*="is-style-regalticker-"] h3{color:#f3f7ff}
body.rts-dark-mode .rts-entry-content .rts-pattern-comparison,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-comparison{border-color:#29415f}
body.rts-dark-mode .rts-entry-content .rts-pattern-comparison td,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-comparison td{border-color:#29415f;background:#0d203d;color:#dbe6f7}
body.rts-dark-mode .rts-entry-content .rts-pattern-comparison tr:nth-child(even) td,
body.rts-dark-mode .rts-entry-content .is-style-regalticker-comparison tr:nth-child(even) td{background:#102746}
body.rts-dark-mode .rts-entry-content .rts-pattern-faq .wp-block-details,
body.rts-dark-mode .rts-entry-content details.is-style-regalticker-faq{border-color:#29415f;background:#0f233f}
body.rts-dark-mode .rts-entry-content .rts-pattern-faq summary,
body.rts-dark-mode .rts-entry-content details.is-style-regalticker-faq summary{color:#edf4ff}

@media(max-width:640px){
  :where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-card,
  :where(.rts-entry-content,.editor-styles-wrapper) [class*="is-style-regalticker-"]{padding:21px;border-radius:17px}
  :where(.rts-entry-content,.editor-styles-wrapper) .rts-pattern-comparison,
  :where(.rts-entry-content,.editor-styles-wrapper) .is-style-regalticker-comparison{border-radius:14px}
}
