.elementor-1274 .elementor-element.elementor-element-c475b94{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS *//* ══════════════════════════════════════════
   FX NOTES — TRADING JOURNAL ARTICLE
   Paste into: Elementor > Site Settings > Custom CSS
   or Elementor section > Advanced > Custom CSS
   ══════════════════════════════════════════ */

/* ── Google Font (add to Elementor > Site Settings > Custom Code > Head) ──
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap" rel="stylesheet">
── */

:root {
  --fxn-lavender: #9995e8;
  --fxn-mauve: #cf9bce;
  --fxn-peach: #fab8a2;
  --fxn-green: #7ede85;
  --fxn-pink: #ed9fc5;
  --fxn-lavender-light: #f0effc;
  --fxn-mauve-light: #faf5fa;
  --fxn-peach-light: #fff5f2;
  --fxn-green-light: #f0fdf1;
  --fxn-pink-light: #fdf2f7;
  --fxn-text: #1a1a2e;
  --fxn-text-soft: #4a4a5a;
  --fxn-radius: 14px;
  --fxn-radius-lg: 22px;
}

/* ── Article wrapper ── */
.fxn-article {
  font-family: 'DM Sans', sans-serif;
  color: var(--fxn-text);
  line-height: 1.75;
  font-size: 17px;
  max-width: 860px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* ── Hero banner ── */
.fxn-hero {
  background: linear-gradient(135deg, var(--fxn-lavender-light) 0%, #e8e6fb 40%, var(--fxn-mauve-light) 100%);
  border-radius: var(--fxn-radius-lg);
  padding: 44px 40px 0;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(153,149,232,0.18);
}

.fxn-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(207,155,206,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.fxn-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(126,222,133,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fxn-hero h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 700;
  color: var(--fxn-text);
  line-height: 1.22;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.fxn-hero h2 .fxn-accent {
  background: linear-gradient(90deg, var(--fxn-lavender), var(--fxn-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fxn-hero .fxn-hero-sub {
  color: var(--fxn-text-soft);
  font-size: 14px;
  letter-spacing: 0.3px;
  opacity: 0.7;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.fxn-hero-img {
  position: relative;
  z-index: 1;
  margin: 0 -40px;
  display: block;
}

.fxn-hero-img img {
  width: 100%;
  display: block;
  border-radius: var(--fxn-radius) var(--fxn-radius) 0 0;
  box-shadow: 0 -4px 30px rgba(153,149,232,0.12);
}

/* ── TLDR summary ── */
.fxn-summary {
  background: #ffffff;
  border-radius: var(--fxn-radius-lg);
  padding: 38px 36px 32px;
  margin-bottom: 28px;
  border: 1px solid rgba(153,149,232,0.15);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 8px 28px rgba(153,149,232,0.06);
  position: relative;
}

.fxn-summary::before {
  content: 'SUMMARY';
  position: absolute;
  top: -12px;
  left: 26px;
  background: linear-gradient(135deg, var(--fxn-lavender), var(--fxn-mauve));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  padding: 4px 16px;
  border-radius: 20px;
}

.fxn-summary p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fxn-text-soft);
  font-weight: 500;
}

/* ── Controls row ── */
.fxn-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.fxn-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.fxn-dot:nth-child(1),
.fxn-dot:nth-child(6) { --fxn-dot-c: var(--fxn-lavender); }
.fxn-dot:nth-child(2),
.fxn-dot:nth-child(7) { --fxn-dot-c: var(--fxn-mauve); }
.fxn-dot:nth-child(3),
.fxn-dot:nth-child(8) { --fxn-dot-c: var(--fxn-peach); }
.fxn-dot:nth-child(4),
.fxn-dot:nth-child(9) { --fxn-dot-c: var(--fxn-green); }
.fxn-dot:nth-child(5) { --fxn-dot-c: var(--fxn-pink); }

.fxn-dot.is-read {
  background: var(--fxn-dot-c);
  box-shadow: 0 0 8px var(--fxn-dot-c);
  transform: scale(1.2);
}

.fxn-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.fxn-expand-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--fxn-text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fxn-expand-all:hover {
  border-color: var(--fxn-lavender);
  color: var(--fxn-lavender);
  background: var(--fxn-lavender-light);
}

.fxn-expand-all svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.fxn-expand-all.all-open svg {
  transform: rotate(180deg);
}

/* ── Accordion sections ── */
.fxn-section {
  margin-bottom: 12px;
  border-radius: var(--fxn-radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(12px);
  animation: fxnFadeUp 0.4s ease forwards;
}

.fxn-section:nth-child(1) { animation-delay: .05s; }
.fxn-section:nth-child(2) { animation-delay: .1s; }
.fxn-section:nth-child(3) { animation-delay: .15s; }
.fxn-section:nth-child(4) { animation-delay: .2s; }
.fxn-section:nth-child(5) { animation-delay: .25s; }
.fxn-section:nth-child(6) { animation-delay: .3s; }
.fxn-section:nth-child(7) { animation-delay: .35s; }
.fxn-section:nth-child(8) { animation-delay: .4s; }
.fxn-section:nth-child(9) { animation-delay: .45s; }

@keyframes fxnFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.fxn-section:hover {
  box-shadow: 0 2px 14px rgba(0,0,0,0.04);
}

.fxn-section-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: var(--fxn-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-family: inherit;
  outline: none;
}

.fxn-section.is-open .fxn-section-header {
  border-radius: var(--fxn-radius) var(--fxn-radius) 0 0;
  border-bottom-color: transparent;
}

.fxn-section-header:hover {
  border-color: rgba(153,149,232,0.3);
}

/* Section colour bands on hover */
.fxn-section:nth-child(1) .fxn-section-header:hover,
.fxn-section:nth-child(6) .fxn-section-header:hover { background: var(--fxn-lavender-light); }
.fxn-section:nth-child(2) .fxn-section-header:hover,
.fxn-section:nth-child(7) .fxn-section-header:hover { background: var(--fxn-mauve-light); }
.fxn-section:nth-child(3) .fxn-section-header:hover,
.fxn-section:nth-child(8) .fxn-section-header:hover { background: var(--fxn-peach-light); }
.fxn-section:nth-child(4) .fxn-section-header:hover,
.fxn-section:nth-child(9) .fxn-section-header:hover { background: var(--fxn-green-light); }
.fxn-section:nth-child(5) .fxn-section-header:hover { background: var(--fxn-pink-light); }

.fxn-section-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.3s ease;
}

.fxn-section.is-open .fxn-section-number { transform: scale(1.1); }

.fxn-section:nth-child(1) .fxn-section-number,
.fxn-section:nth-child(6) .fxn-section-number { background: var(--fxn-lavender); }
.fxn-section:nth-child(2) .fxn-section-number,
.fxn-section:nth-child(7) .fxn-section-number { background: var(--fxn-mauve); }
.fxn-section:nth-child(3) .fxn-section-number,
.fxn-section:nth-child(8) .fxn-section-number { background: var(--fxn-peach); }
.fxn-section:nth-child(4) .fxn-section-number,
.fxn-section:nth-child(9) .fxn-section-number { background: var(--fxn-green); }
.fxn-section:nth-child(5) .fxn-section-number { background: var(--fxn-pink); }

.fxn-section-header h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 600;
  color: var(--fxn-text);
  flex: 1;
  line-height: 1.35;
  margin: 0;
  padding: 0;
}

.fxn-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.fxn-section.is-open .fxn-chevron {
  transform: rotate(180deg);
  background: var(--fxn-lavender-light);
}

.fxn-chevron svg {
  width: 16px;
  height: 16px;
  color: var(--fxn-text-soft);
}

/* ── Accordion body ── */
.fxn-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
}

.fxn-section-body-inner {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-top: none;
  border-radius: 0 0 var(--fxn-radius) var(--fxn-radius);
  padding: 8px 28px 32px;
}

.fxn-section-body-inner p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fxn-text-soft);
  margin-top: 14px;
}

.fxn-section-body-inner p:first-child { margin-top: 8px; }

/* ── Answer highlight ── */
.fxn-answer {
  font-weight: 600;
  color: var(--fxn-text);
  display: block;
  margin-bottom: 2px;
}

/* ── H3 subsections ── */
.fxn-subsection {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--fxn-radius);
}

.fxn-section:nth-child(1) .fxn-subsection,
.fxn-section:nth-child(6) .fxn-subsection { background: var(--fxn-lavender-light); }
.fxn-section:nth-child(2) .fxn-subsection,
.fxn-section:nth-child(7) .fxn-subsection { background: var(--fxn-mauve-light); }
.fxn-section:nth-child(3) .fxn-subsection,
.fxn-section:nth-child(8) .fxn-subsection { background: var(--fxn-peach-light); }
.fxn-section:nth-child(4) .fxn-subsection,
.fxn-section:nth-child(9) .fxn-subsection { background: var(--fxn-green-light); }
.fxn-section:nth-child(5) .fxn-subsection { background: var(--fxn-pink-light); }

.fxn-subsection h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--fxn-text);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}

.fxn-subsection p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--fxn-text-soft);
  margin-top: 12px;
}

.fxn-subsection p:first-of-type { margin-top: 0; }

/* ── FX Notes CTA callout ── */
.fxn-callout {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--fxn-lavender-light) 0%, #ede6fb 50%, var(--fxn-pink-light) 100%);
  border-radius: var(--fxn-radius);
  padding: 26px 28px;
  border: 1px solid rgba(153,149,232,0.2);
  position: relative;
  overflow: hidden;
}

.fxn-callout::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(126,222,133,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.fxn-callout p {
  color: var(--fxn-text) !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  position: relative;
  z-index: 1;
}

.fxn-callout .fxn-brand {
  color: var(--fxn-lavender);
  font-weight: 700;
}

.fxn-callout .fxn-tagline-text {
  color: #5e9c62;
  font-weight: 600;
  font-style: italic;
}

/* ── Inline images ── */
.fxn-img-block {
  margin: 24px 0;
  border-radius: var(--fxn-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #ebebeb;
}

.fxn-img-block img {
  width: 100%;
  height: auto;
  display: block;
}

.fxn-img-caption {
  background: #fafafa;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--fxn-text-soft);
  text-align: center;
  border-top: 1px solid #ebebeb;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .fxn-hero { padding: 32px 22px 0; }
  .fxn-hero-img { margin: 0 -22px; }
  .fxn-summary { padding: 30px 20px 24px; }
  .fxn-section-header { padding: 16px 16px; gap: 12px; }
  .fxn-section-body-inner { padding: 8px 18px 24px; }
  .fxn-subsection { padding: 18px 16px; }
  .fxn-callout { padding: 22px 20px; }
  .fxn-section-number { width: 32px; height: 32px; font-size: 12px; }
}/* End custom CSS */