html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.wp-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 30, 46, 0.9);
}

.admin-bar .wp-site-header {
  top: 32px;
}

.wp-site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 80px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wp-site-header .logo-link {
  display: inline-flex;
  align-items: center;
}

.wp-site-header .logo-link img {
  height: 40px;
  width: auto;
  display: block;
}

.wp-primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.wp-primary-nav a {
  text-decoration: none;
  color: rgba(156, 163, 175, 1);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.wp-primary-nav a:hover,
.wp-primary-nav a.is-active {
  color: rgba(0, 212, 170, 1);
}

.wp-start-investing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  background: rgba(0, 212, 170, 1);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
}

#root nav.fixed.top-0.left-0.right-0.z-50 {
  display: none !important;
}

#root .xeqt-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

#root .hero-with-image {
  background: #0a0a0f;
}

#root .hero-with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
}

#root .hero-with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(6, 8, 14, 0.66) 0%, rgba(6, 8, 14, 0.58) 34%, rgba(6, 8, 14, 0.26) 62%, rgba(6, 8, 14, 0.5) 100%),
    linear-gradient(to bottom, rgba(6, 8, 14, 0.07) 0%, rgba(6, 8, 14, 0.16) 60%, rgba(6, 8, 14, 0.82) 100%);
  z-index: 1;
}

#root .hero-with-image .relative.z-10 h1 + p {
  color: rgba(255, 255, 255, 0.92) !important;
}

#root .hero-edge-blur {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: blur(10px);
  opacity: 0.72;
  transform: scale(1.03);
  mask-image: radial-gradient(circle at center, transparent 66%, black 100%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 66%, black 100%);
  z-index: 0;
}

.etf-details-page .etf-details-section {
  padding-top: clamp(1.6rem, 2.8vw, 2.4rem);
  padding-bottom: clamp(1.6rem, 2.8vw, 2.4rem);
}

.etf-details-page .etf-details-section + .etf-details-section {
  margin-top: clamp(1rem, 2vw, 1.75rem);
}

.etf-details-page .etf-pros-list,
.etf-details-page .etf-cons-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.etf-details-page .etf-pros-list li,
.etf-details-page .etf-cons-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.etf-details-page .etf-pros-list li {
  color: #22d3a8;
}

.etf-details-page .etf-cons-list li {
  color: #fb7185;
}

.etf-details-page .etf-pros-panel,
.etf-details-page .etf-cons-panel {
  border: 1px solid rgba(30, 41, 78, 0.8);
  border-radius: 1rem;
  background: rgba(10, 12, 28, 0.55);
  padding: 1.25rem;
}

.etf-details-page .etf-pros-panel {
  border-left: 4px solid #14d8b4;
}

.etf-details-page .etf-cons-panel {
  border-left: 4px solid #ff5b6b;
}

.etf-details-page .etf-list-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 700;
}

.etf-details-page .etf-list-icon--pro {
  color: #14d8b4;
  background: rgba(20, 216, 180, 0.18);
}

.etf-details-page .etf-list-icon--con {
  color: #ff6a78;
  background: rgba(255, 106, 120, 0.18);
}

.etf-details-page .etf-performance-chart {
  position: relative;
  min-height: 290px;
  padding-top: 0.5rem;
}

.etf-details-page .etf-performance-grid {
  position: absolute;
  inset: 0 0 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.etf-details-page .etf-performance-grid span {
  border-top: 1px solid rgba(30, 46, 95, 0.35);
}

.etf-details-page .etf-performance-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  height: 235px;
}

.etf-details-page .etf-performance-year {
  flex: 1 1 0;
  min-width: 0;
}

.etf-details-page .etf-performance-columns {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  height: 205px;
}

.etf-details-page .etf-performance-bar {
  width: clamp(14px, 2vw, 30px);
  border-radius: 0.45rem 0.45rem 0 0;
}

.etf-details-page .etf-performance-bar--xeqt {
  background: linear-gradient(180deg, #14d8b4 0%, #12bca2 100%);
}

.etf-details-page .etf-performance-bar--veqt {
  background: linear-gradient(180deg, #8b5cf6 0%, #7c4ef0 100%);
}

.etf-details-page .etf-performance-bar.is-negative {
  opacity: 0.55;
}

.etf-details-page .etf-performance-label {
  margin-top: 0.4rem;
  text-align: center;
  color: rgba(156, 163, 175, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
}

.etf-details-page .etf-performance-legend {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.85rem;
  color: rgba(220, 230, 242, 0.92);
  font-size: 0.82rem;
}

.etf-details-page .etf-performance-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.etf-details-page .etf-performance-key--xeqt {
  background: #14d8b4;
}

.etf-details-page .etf-performance-key--veqt {
  background: #8b5cf6;
}

.etf-details-page .etf-performance-values {
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.35;
}

.etf-details-page {
  padding-top: 7.8rem;
  padding-bottom: 3rem;
}

.admin-bar .etf-details-page {
  padding-top: 10rem;
}

.etf-details-page .etf-details-section:first-child {
  padding-top: clamp(1.2rem, 2.4vw, 2rem) !important;
}

.news-index-page,
.news-single-page {
  padding-top: 7.8rem;
  padding-bottom: 3rem;
}

.admin-bar .news-index-page,
.admin-bar .news-single-page {
  padding-top: 10rem;
}

.news-index-hero {
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.news-index-section {
  padding-top: 0.5rem;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 3rem;
}

.news-featured-media {
  display: block;
  min-height: 260px;
  border-right: 1px solid rgba(32, 42, 78, 0.9);
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-featured-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-featured-meta-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.news-meta-inline {
  color: rgba(146, 161, 188, 0.95);
  font-size: 0.92rem;
}

.news-featured-title {
  font-size: clamp(1.8rem, 3.1vw, 3.3rem);
  line-height: 1.06;
  margin: 0;
}

.news-featured-title a {
  color: #fff;
  text-decoration: none;
}

.news-featured-title a:hover {
  color: #14d8b4;
}

.news-featured-excerpt {
  margin: 0;
  color: rgba(146, 161, 188, 0.95);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.news-featured-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: space-between;
}

.news-featured-author,
.news-card-meta,
.news-single-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-featured-author img,
.news-card-meta img,
.news-single-author img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(20, 216, 180, 0.65);
}

.news-featured-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(146, 161, 188, 0.9);
  font-size: 0.95rem;
}

.news-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.news-section-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  line-height: 1.08;
  color: #fff;
}

.news-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(32, 42, 78, 0.9);
  border-radius: 1rem;
  background: rgba(14, 17, 35, 0.78);
}

.news-latest-thumb {
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-thumb {
  overflow: hidden;
}

.news-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.55s ease;
}

.news-featured-media img,
.news-thumb img,
.news-single-featured-thumb img {
  transform: scale(1);
  transition: transform 0.55s ease;
}

.news-featured-card:hover .news-featured-media img,
.news-card:hover .news-latest-thumb img,
.news-card:hover .news-thumb img,
.news-single-featured-item:hover .news-single-featured-thumb img {
  transform: scale(1.08);
}

.news-card-content {
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card-tags,
.news-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.news-card-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.2rem, 1.65vw, 1.85rem);
  line-height: 1.17;
}

.news-card-title a {
  color: #fff;
  text-decoration: none;
}

.news-card-title a:hover {
  color: #14d8b4;
}

.news-card-excerpt {
  margin: 0 0 0.9rem;
  color: rgba(146, 161, 188, 0.95);
  line-height: 1.45;
  font-size: 0.99rem;
}

.news-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.news-author-sub {
  color: rgba(136, 150, 176, 0.95);
  font-size: 0.9rem;
}

.news-date {
  margin-left: auto;
  color: rgba(136, 150, 176, 0.95);
  font-size: 0.9rem;
  white-space: nowrap;
}

.news-card-meta {
  margin-top: auto;
}

.news-layout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-expert-card {
  padding: 1.35rem 1.2rem 1.25rem;
  text-align: center;
  border: 1px solid rgba(32, 42, 78, 0.9);
}

.news-expert-card > img {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(20, 216, 180, 0.45);
  margin: 0 auto 0.9rem;
}

.news-expert-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.95rem;
  line-height: 1.12;
}

.news-expert-title {
  margin: 0 0 0.7rem;
  color: #14d8b4;
  font-size: 1.02rem;
}

.news-expert-bio {
  margin: 0;
  color: rgba(136, 150, 176, 0.95);
  line-height: 1.45;
}

.news-expert-count {
  margin: 0.75rem 0 0;
  color: rgba(233, 240, 250, 0.96);
  font-weight: 600;
}

.news-pagination {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(41, 56, 100, 0.8);
  color: rgba(183, 196, 216, 0.95);
  text-decoration: none;
  padding: 0 0.5rem;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  color: #fff;
  border-color: rgba(20, 216, 180, 0.88);
}

.news-single-wrap {
  padding-top: 0.85rem;
  display: grid;
  gap: 1.45rem;
}

.news-single-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(280px, 1.2fr);
  gap: 1.2rem;
  align-items: start;
}

.news-single-hero-card,
.news-single-content-card {
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(32, 42, 78, 0.9);
}

.news-single-content-card {
  grid-column: 1 / span 2;
}

.news-single-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  width: 100%;
  max-width: none !important;
  background-color: rgba(12, 14, 26, 0.94);
}

.news-single-hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56%, 760px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.56) brightness(0.78) contrast(1.02) blur(0.2px);
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 10%,
    rgba(0, 0, 0, 0.24) 22%,
    rgba(0, 0, 0, 0.46) 36%,
    rgba(0, 0, 0, 0.7) 54%,
    rgba(0, 0, 0, 1) 76%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 10%,
    rgba(0, 0, 0, 0.24) 22%,
    rgba(0, 0, 0, 0.46) 36%,
    rgba(0, 0, 0, 0.7) 54%,
    rgba(0, 0, 0, 1) 76%
  );
  z-index: 0;
}

.news-single-hero-media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 12, 24, 0.96) 0%,
    rgba(10, 12, 24, 0.93) 24%,
    rgba(10, 12, 24, 0.84) 46%,
    rgba(10, 12, 24, 0.62) 66%,
    rgba(10, 12, 24, 0.34) 84%,
    rgba(10, 12, 24, 0.1) 100%
  );
  z-index: 1;
}

.news-single-hero-inner {
  position: relative;
  z-index: 2;
}

.news-single-title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.8rem, 3.6vw, 3.35rem);
  line-height: 1.05;
}

.news-single-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-single-meta-header {
  border-bottom: 1px solid rgba(32, 42, 78, 0.75);
  padding-bottom: 1rem;
  margin-bottom: 0.85rem;
  justify-content: flex-start;
}

.news-single-statline {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(136, 150, 176, 0.95);
  font-size: 0.98rem;
}

.news-single-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(136, 150, 176, 0.95);
}

.news-single-published,
.news-single-engagement {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.news-single-published {
  color: rgba(146, 161, 188, 0.96);
  font-size: 0.98rem;
}

.news-single-engagement {
  color: rgba(146, 161, 188, 0.96);
  font-size: 0.98rem;
}

.news-single-content {
  color: rgba(163, 174, 196, 0.98);
  line-height: 1.75;
  font-size: 1.06rem;
  max-width: none;
  margin: 0;
  text-align: left;
}

.news-single-content h1,
.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
  color: #fff;
  margin-top: 1.8rem;
  margin-bottom: 0.72rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.news-single-content h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.news-single-content h3 {
  font-size: clamp(1.32rem, 2.2vw, 1.82rem);
}

.news-single-content h4 {
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.news-single-content .heading-tail-gradient {
  background-image: linear-gradient(90deg, #14d8b4 0%, #45b5f5 55%, #7c5cf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.news-single-content p {
  margin: 0 0 1.12rem;
  color: rgba(174, 186, 208, 0.96);
}

.news-single-content img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(32, 42, 78, 0.85);
  margin: 1rem 0;
}

.news-single-content a {
  color: #14d8b4;
}

.news-single-content blockquote {
  margin: 1.2rem 0;
  padding: 0.95rem 1rem 0.95rem 1.1rem;
  border-left: 3px solid rgba(20, 216, 180, 0.85);
  background: rgba(18, 24, 48, 0.45);
  border-radius: 0 10px 10px 0;
  color: rgba(202, 213, 232, 0.98);
}

.news-single-featured-feed {
  grid-column: 3;
  padding: 1rem;
  border: 1px solid rgba(32, 42, 78, 0.9);
}

.news-single-featured-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  color: #fff;
}

.news-single-featured-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.news-single-featured-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  border: 1px solid rgba(32, 42, 78, 0.72);
  border-radius: 0.72rem;
  padding: 0.5rem;
  background: rgba(16, 20, 39, 0.72);
}

.news-single-featured-thumb {
  display: block;
  width: 86px;
  height: 62px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.news-single-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-single-featured-copy h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
}

.news-single-featured-copy h3 a {
  color: rgba(227, 235, 247, 0.98);
  text-decoration: none;
}

.news-single-featured-copy h3 a:hover {
  color: #14d8b4;
}

.news-single-featured-tag {
  margin: 0 0 0.28rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #14d8b4;
}

.news-single-featured-empty {
  margin: 0;
  color: rgba(148, 162, 188, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
}

.rrsp-tfsa-page {
  padding-top: 7.8rem;
  padding-bottom: 3rem;
}

.admin-bar .rrsp-tfsa-page {
  padding-top: 10rem;
}

.rrsp-tfsa-hero {
  padding-top: 1.15rem;
  padding-bottom: 1.1rem;
}

.rrsp-title {
  margin: 0 0 0.7rem;
  font-size: clamp(2.3rem, 4.3vw, 4.3rem);
  line-height: 1.03;
  font-weight: 700;
}

.rrsp-subtitle {
  margin: 0;
  max-width: 920px;
  color: rgba(156, 170, 194, 0.96);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.48;
}

.rrsp-tfsa-section {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.rrsp-tfsa-section--tight {
  padding-top: 0.2rem;
  padding-bottom: 0.5rem;
}

.rrsp-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.rrsp-feature-card,
.rrsp-compare-card,
.rrsp-limit-chart-card,
.rrsp-signal-card,
.rrsp-cta-card {
  border: 1px solid rgba(32, 42, 78, 0.9);
  padding: clamp(1.15rem, 2vw, 1.8rem);
}

.rrsp-feature-card h2,
.rrsp-compare-card h2,
.rrsp-signal-card h2,
.rrsp-cta-card h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.14;
  color: #fff;
}

.rrsp-feature-card p,
.rrsp-signal-card p,
.rrsp-cta-card p {
  margin: 0;
  color: rgba(160, 174, 198, 0.96);
  line-height: 1.55;
}

.rrsp-pill-wrap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.rrsp-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(38, 52, 93, 0.85);
  background: rgba(16, 20, 39, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
}

.rrsp-pill--rrsp {
  color: #14d8b4;
}

.rrsp-pill--tfsa {
  color: #8b5cf6;
}

.rrsp-list {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(160, 174, 198, 0.96);
  line-height: 1.56;
}

.rrsp-list li + li {
  margin-top: 0.55rem;
}

.rrsp-list strong {
  color: #fff;
}

.rrsp-table-wrap {
  overflow: auto;
  border-radius: 0.9rem;
  border: 1px solid rgba(35, 47, 86, 0.88);
}

.rrsp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.rrsp-table th,
.rrsp-table td {
  padding: 0.78rem 0.85rem;
  border-bottom: 1px solid rgba(32, 43, 78, 0.72);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.4;
}

.rrsp-table th {
  color: #fff;
  background: rgba(14, 19, 36, 0.96);
  font-weight: 700;
}

.rrsp-table td {
  color: rgba(164, 176, 199, 0.97);
}

.rrsp-table tbody tr:last-child td {
  border-bottom: 0;
}

.rrsp-limit-chart-card h2 {
  margin-bottom: 1rem;
}

.rrsp-limit-chart-wrap {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.rrsp-limit-chart {
  position: relative;
  min-height: 300px;
}

.rrsp-limit-grid {
  position: absolute;
  inset: 0 0 3.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.rrsp-limit-grid span {
  border-top: 1px solid rgba(30, 46, 95, 0.35);
}

.rrsp-limit-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.45rem;
  height: 260px;
  min-width: 980px;
}

.rrsp-limit-year {
  flex: 1 1 0;
  min-width: 0;
}

.rrsp-limit-column {
  height: 208px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rrsp-limit-bar {
  width: clamp(14px, 1.9vw, 24px);
  border-radius: 0.4rem 0.4rem 0 0;
  background: linear-gradient(180deg, #14d8b4 0%, #12bca2 100%);
}

.rrsp-limit-year.is-spike .rrsp-limit-bar {
  background: linear-gradient(180deg, #8b5cf6 0%, #7c4ef0 100%);
}

.rrsp-limit-label {
  margin-top: 0.4rem;
  text-align: center;
  color: rgba(156, 163, 175, 0.95);
  font-size: 0.74rem;
  font-weight: 600;
}

.rrsp-limit-value {
  margin-top: 0.2rem;
  text-align: center;
  color: rgba(188, 198, 214, 0.96);
  font-size: 0.72rem;
  line-height: 1.2;
}

.rrsp-limit-total {
  margin: 0.85rem 0 0.25rem;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(35, 47, 86, 0.84);
  border-radius: 0.7rem;
  background: rgba(14, 19, 36, 0.72);
  color: rgba(174, 186, 208, 0.96);
  font-size: 0.95rem;
  line-height: 1.35;
}

.rrsp-limit-total strong {
  color: #fff;
}

.rrsp-signal + .rrsp-signal {
  margin-top: 0.9rem;
}

.rrsp-signal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.38rem;
  color: rgba(201, 212, 228, 0.96);
  font-size: 0.92rem;
}

.rrsp-signal-head strong {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.rrsp-signal-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(26, 38, 69, 0.8);
  overflow: hidden;
}

.rrsp-signal-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14d8b4 0%, #42b9f2 100%);
}

.rrsp-signal-bar--tfsa span {
  background: linear-gradient(90deg, #8b5cf6 0%, #45b5f5 100%);
}

.rrsp-signal-bar--balanced span {
  background: linear-gradient(90deg, #14d8b4 0%, #8b5cf6 100%);
}

.rrsp-note {
  margin-top: 0.9rem !important;
  font-size: 0.92rem;
}

.rrsp-note a {
  color: #14d8b4;
}

.rrsp-note a:hover {
  color: #45b5f5;
}

.rrsp-cta-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

#root .hero-with-image {
  overflow: hidden;
}

#root .hero-with-image > .relative.z-10 {
  position: relative;
  z-index: 2 !important;
}

#root .hero-with-image .hero-bg-hide {
  display: none !important;
}

#root .xeqt-footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

#root .home-kpi-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform: scale(1);
  will-change: transform;
}

#root .home-kpi-card:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(5, 10, 22, 0.45);
}

#root .geo-alloc-ready .geo-alloc-fill {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#root .geo-alloc-ready.geo-alloc-animate .geo-alloc-fill {
  transform: scaleX(1);
}

#root .dividend-source-note {
  margin: 0.9rem auto 0;
  max-width: 980px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(180, 188, 202, 0.82);
  font-weight: 400;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

#root .dividend-source-note:hover {
  font-weight: 700;
  color: rgba(214, 221, 234, 0.95);
}

.dividend-comparison-page {
  padding-top: 7.8rem;
  padding-bottom: 3rem;
}

.dividend-comparison-page .glass-card {
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.dividend-comparison-page .glass-card:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(67, 90, 152, 0.95);
  box-shadow:
    0 16px 32px rgba(5, 10, 22, 0.46),
    0 0 24px rgba(20, 216, 180, 0.16),
    0 0 24px rgba(139, 92, 246, 0.14);
}

.admin-bar .dividend-comparison-page {
  padding-top: 10rem;
}

.dividend-hero {
  padding-top: 1.25rem;
  padding-bottom: 1.1rem;
}

.dividend-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 1.02;
  font-weight: 700;
}

.dividend-subtitle {
  margin: 0;
  max-width: 980px;
  color: rgba(156, 170, 194, 0.96);
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  line-height: 1.5;
}

.dividend-hero-grid {
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dividend-hero-card {
  border: 1px solid rgba(32, 42, 78, 0.9);
  padding: 1rem 1.05rem;
}

.dividend-hero-label {
  margin: 0 0 0.42rem;
  color: rgba(146, 161, 188, 0.95);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dividend-hero-value {
  margin: 0;
  color: #fff;
  font-size: clamp(1.08rem, 1.55vw, 1.5rem);
  font-weight: 700;
}

.dividend-hero-value span {
  color: #14d8b4;
}

.dividend-hero-muted {
  margin: 0.38rem 0 0;
  color: rgba(140, 154, 180, 0.94);
  font-size: 0.9rem;
}

.dividend-section {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.dividend-summary-card,
.dividend-tool-card {
  border: 1px solid rgba(32, 42, 78, 0.9);
  padding: clamp(1.12rem, 1.8vw, 1.7rem);
}

.dividend-detail-card {
  border: 1px solid rgba(32, 42, 78, 0.9);
  padding: clamp(1.15rem, 1.9vw, 1.7rem);
}

.dividend-detail-card--xeqt {
  border-left: 4px solid #14d8b4;
}

.dividend-detail-card--veqt {
  border-left: 4px solid #8b5cf6;
}

.dividend-detail-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.dividend-detail-icon {
  color: #14d8b4;
  font-size: 3rem;
  line-height: 1;
}

.dividend-detail-card--veqt .dividend-detail-icon {
  color: #8b5cf6;
}

.dividend-detail-head h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.12;
}

.dividend-detail-head p {
  margin: 0.08rem 0 0;
  color: #14d8b4;
  font-size: 1rem;
}

.dividend-detail-card--veqt .dividend-detail-head p {
  color: #8b5cf6;
}

.dividend-detail-rows {
  display: grid;
}

.dividend-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(35, 48, 88, 0.8);
  padding: 0.96rem 0;
}

.dividend-detail-row span {
  color: rgba(146, 161, 188, 0.95);
  font-size: 1rem;
}

.dividend-detail-row strong {
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.dividend-detail-card--xeqt .dividend-detail-row:first-child strong {
  color: #14d8b4;
}

.dividend-detail-card--veqt .dividend-detail-row:first-child strong {
  color: #8b5cf6;
}

.dividend-detail-note {
  margin: 1.05rem 0 0;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.dividend-detail-note--xeqt {
  background: rgba(20, 216, 180, 0.12);
  color: rgba(156, 170, 194, 0.96);
}

.dividend-detail-note--xeqt strong {
  color: #14d8b4;
}

.dividend-detail-note--veqt {
  background: rgba(139, 92, 246, 0.12);
  color: rgba(156, 170, 194, 0.96);
}

.dividend-detail-note--veqt strong {
  color: #8b5cf6;
}

.dividend-detail-footnote {
  margin: 0.95rem auto 0;
  max-width: 980px;
  text-align: center;
  color: rgba(180, 188, 202, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
}

.dividend-summary-card h2,
.dividend-tool-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.42rem, 2vw, 2rem);
  line-height: 1.14;
}

.dividend-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.dividend-summary-list li {
  display: grid;
  gap: 0.2rem;
}

.dividend-summary-list span {
  color: rgba(146, 161, 188, 0.95);
}

.dividend-summary-list strong {
  color: rgba(233, 240, 250, 0.96);
}

.dividend-mini-table-wrap {
  overflow-x: auto;
}

.dividend-mini-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.dividend-mini-table th,
.dividend-mini-table td {
  border-bottom: 1px solid rgba(35, 48, 88, 0.82);
  padding: 0.62rem 0.48rem;
  text-align: left;
}

.dividend-mini-table th {
  color: rgba(230, 238, 250, 0.95);
  font-weight: 700;
}

.dividend-mini-table td {
  color: rgba(156, 170, 194, 0.96);
}

.dividend-tool-head p {
  margin: 0;
  color: rgba(156, 170, 194, 0.95);
}

.dividend-tool-controls {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.dividend-tool-controls label {
  display: grid;
  gap: 0.34rem;
  color: rgba(169, 182, 206, 0.96);
  font-size: 0.92rem;
}

.dividend-tool-controls select {
  border: 1px solid rgba(35, 48, 88, 0.9);
  background: rgba(12, 16, 32, 0.86);
  color: #fff;
  border-radius: 8px;
  padding: 0.48rem 0.72rem;
  min-width: 220px;
}

.dividend-tool-chart {
  margin-top: 1rem;
  border: 1px solid rgba(35, 48, 88, 0.78);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(10, 14, 28, 0.58);
}

.dividend-tool-legend {
  display: flex;
  gap: 1rem;
  color: rgba(194, 205, 223, 0.95);
  font-size: 0.86rem;
}

.dividend-tool-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.dividend-tool-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.dividend-tool-legend .dot-xeqt {
  background: #14d8b4;
}

.dividend-tool-legend .dot-veqt {
  background: #8b5cf6;
}

.dividend-tool-bars {
  margin-top: 0.8rem;
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.66rem;
}

.dividend-tool-year {
  flex: 1 1 0;
  min-width: 0;
}

.dividend-tool-columns {
  height: 198px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.42rem;
}

.dividend-tool-bar {
  width: clamp(12px, 1.6vw, 18px);
  border-radius: 0.42rem 0.42rem 0 0;
  display: block;
  position: relative;
  cursor: pointer;
}

.dividend-tool-bar::after {
  content: attr(data-value);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -8px);
  padding: 0.24rem 0.42rem;
  border-radius: 6px;
  border: 1px solid rgba(34, 44, 80, 0.92);
  background: rgba(8, 12, 24, 0.96);
  color: #e8effb;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 6;
}

.dividend-tool-bar:hover::after {
  opacity: 1;
  transform: translate(-50%, -14px);
}

.dividend-tool-bar-xeqt {
  background: linear-gradient(180deg, #14d8b4 0%, #45b5f5 100%);
}

.dividend-tool-bar-veqt {
  background: linear-gradient(180deg, #8b5cf6 0%, #6c4ef0 100%);
}

.dividend-tool-year-label {
  margin-top: 0.34rem;
  text-align: center;
  color: rgba(146, 161, 188, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
}

.dividend-tool-summary {
  margin-top: 0.9rem;
}

.dividend-tool-summary-card {
  border: 1px solid rgba(35, 48, 88, 0.8);
  border-radius: 10px;
  padding: 0.72rem 0.84rem;
  background: rgba(12, 18, 35, 0.75);
}

.dividend-tool-summary-card p {
  margin: 0 0 0.2rem;
  color: rgba(146, 161, 188, 0.95);
  font-size: 0.9rem;
}

.dividend-tool-summary-card strong {
  color: rgba(234, 241, 251, 0.96);
}

.dividend-tool-table-wrap {
  margin-top: 0.95rem;
  overflow-x: auto;
}

.dividend-tool-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

.dividend-tool-table th,
.dividend-tool-table td {
  border-bottom: 1px solid rgba(35, 48, 88, 0.8);
  padding: 0.56rem 0.48rem;
  text-align: left;
  font-size: 0.9rem;
}

.dividend-tool-table th {
  color: rgba(230, 238, 250, 0.95);
  font-weight: 700;
}

.dividend-tool-table td {
  color: rgba(160, 174, 198, 0.96);
}

.dividend-sources p {
  margin: 0;
  text-align: center;
  color: rgba(146, 161, 188, 0.94);
  line-height: 1.55;
  font-size: clamp(0.62rem, 0.8vw, 0.72rem);
  white-space: nowrap;
}

.dividend-sources a {
  color: #14d8b4;
}

@media (prefers-reduced-motion: reduce) {
  #root .home-kpi-card,
  #root .geo-alloc-ready .geo-alloc-fill,
  .news-featured-media img,
  .news-latest-thumb img,
  .news-thumb img,
  .news-single-featured-thumb img,
  .dividend-hero-card,
  .dividend-detail-card {
    transition: none !important;
  }

  #root .home-kpi-card:hover {
    transform: none;
  }

  .dividend-comparison-page .glass-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 1100px) {
  .wp-primary-nav {
    gap: 16px;
  }

  .wp-site-header .inner {
    min-height: 72px;
  }
}

@media (max-width: 900px) {
  .admin-bar .wp-site-header {
    top: 46px;
  }

  .wp-primary-nav {
    display: none;
  }

  .wp-start-investing {
    padding: 10px 16px;
    font-size: 14px;
  }

  .wp-site-header .logo-link img {
    height: 34px;
  }

  #root .hero-with-image::before,
  #root .hero-edge-blur {
    background-position: 64% 35%;
  }

  #root .hero-with-image::after {
    background:
      radial-gradient(circle at 50% 42%, rgba(6, 8, 14, 0.69) 0%, rgba(6, 8, 14, 0.61) 34%, rgba(6, 8, 14, 0.31) 62%, rgba(6, 8, 14, 0.56) 100%),
      linear-gradient(to bottom, rgba(6, 8, 14, 0.08) 0%, rgba(6, 8, 14, 0.18) 58%, rgba(6, 8, 14, 0.84) 100%);
  }

  .etf-details-page .etf-details-section + .etf-details-section {
    margin-top: 0.85rem;
  }

  .etf-details-page {
    padding-top: 6.8rem;
  }

  .admin-bar .etf-details-page {
    padding-top: 9.4rem;
  }

  .etf-details-page .etf-performance-bars {
    gap: 0.6rem;
    height: 210px;
  }

  .etf-details-page .etf-performance-columns {
    gap: 0.35rem;
    height: 180px;
  }

  .etf-details-page .etf-performance-bar {
    width: 12px;
  }

  .news-index-page,
  .news-single-page {
    padding-top: 6.8rem;
  }

  .admin-bar .news-index-page,
  .admin-bar .news-single-page {
    padding-top: 9.4rem;
  }

  .news-card-meta,
  .news-single-meta {
    flex-wrap: wrap;
  }

  .news-date {
    margin-left: 0;
  }

  .news-featured-card,
  .news-layout-grid {
    grid-template-columns: 1fr;
  }

  .news-single-layout-grid {
    grid-template-columns: 1fr;
  }

  .news-single-content-card,
  .news-single-featured-feed {
    grid-column: auto;
  }

  .news-featured-media {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(32, 42, 78, 0.9);
  }

  .news-featured-title {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }

  .news-latest-grid {
    grid-template-columns: 1fr;
  }

  .news-section-title {
    font-size: clamp(1.9rem, 7vw, 2.4rem);
  }

  .news-single-statline {
    gap: 0.7rem;
    font-size: 0.9rem;
  }

  .news-single-toolbar {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .news-single-hero-media {
    width: 100%;
    opacity: 0.35;
  }

  .news-single-hero-media-fade {
    background: linear-gradient(
      to right,
      rgba(12, 14, 30, 0.95) 0%,
      rgba(12, 14, 30, 0.9) 44%,
      rgba(12, 14, 30, 0.66) 72%,
      rgba(12, 14, 30, 0.34) 100%
    );
  }

  .news-single-featured-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .rrsp-tfsa-page {
    padding-top: 6.8rem;
  }

  .admin-bar .rrsp-tfsa-page {
    padding-top: 9.4rem;
  }

  .rrsp-grid-two {
    grid-template-columns: 1fr;
  }

  .rrsp-table {
    min-width: 620px;
  }

  .rrsp-limit-bars {
    min-width: 860px;
    gap: 0.38rem;
    height: 248px;
  }

  .rrsp-limit-column {
    height: 196px;
  }

  .dividend-comparison-page {
    padding-top: 6.8rem;
  }

  .admin-bar .dividend-comparison-page {
    padding-top: 9.4rem;
  }

  .dividend-hero-grid {
    grid-template-columns: 1fr;
  }

  .dividend-detail-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dividend-tool-controls {
    flex-direction: column;
  }

  .dividend-tool-controls select {
    min-width: 0;
    width: 100%;
  }

  .dividend-sources p {
    white-space: normal;
    font-size: 0.76rem;
  }

  .dividend-tool-bars {
    gap: 0.34rem;
  }

  .dividend-tool-columns {
    gap: 0.26rem;
  }
}
