/* ==========================================================================
   Patriots Account — site-specific styles (loaded after main.css)
   ========================================================================== */

/* Home Style 5 feature slider uses 190px media placeholders; PA icons are 60px. */
.feature-wrap-3 .icon img {
  width: 72px;
  height: auto;
}

/* ---- Official website banner (top bar content only; bar chrome stays with the theme) ---- */
.pa-official-banner {
  color: #ffffff;
  font-size: 18px;
  font-family: "Satoshi-Medium", sans-serif;
  font-weight: 500;
  line-height: 1.4;
}
.pa-official-banner__flag {
  display: block;
  width: 20px;
  height: 12px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* ---- Text logo (used when brand.logo is empty) ---- */
.pa-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Radio Canada Big", "Satoshi-Bold", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #104042;
  white-space: nowrap;
}
.pa-logo img { width: 40px; height: 40px; flex: 0 0 auto; }
.pa-logo small { display: block; font-family: "Satoshi-Medium", sans-serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #6b8a8b; margin-top: 4px; }
.pa-logo.is-light, .pa-logo.is-light small { color: #fff; }
.pa-logo.is-light small { color: rgba(255, 255, 255, 0.7); }
.theme-menu-four .pa-logo { color: #fff; }
.theme-menu-four .pa-logo small { color: rgba(255, 255, 255, 0.7); }
.sticky-menu .pa-logo { color: #104042; }
.sticky-menu .pa-logo small { color: #6b8a8b; }

.logo-area {
  max-width: 100%;
  min-width: 0;
}
.logo-area a {
  display: block;
  max-width: 100%;
}
.logo-area img {
  max-width: 100%;
  height: auto;
  display: block;
}
.theme-main-menu .logo-area {
  max-width: 240px;
}

/* ---- Hero ---- */
.theme-banner-four .pa-eyebrow {
  display: inline-block;
  font-family: "Satoshi-Medium", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #AEFF1C;
  border: 1px solid rgba(174, 255, 28, 0.5);
  border-radius: 30px;
  padding: 8px 18px;
  margin-bottom: 24px;
}
.theme-banner-four .hero-content p { max-width: 720px; margin-left: auto; margin-right: auto; }
/* Hero slider: the theme's .ht-carousel (Slick), same mechanism as Home Style 2. The section keeps
   theme-banner-four for typography; background, overlay and padding move onto each slide. */
.theme-banner-four.pa-hero { padding: 0; }
.theme-banner-four.pa-hero::before { display: none; }
.pa-hero .ht-slider-wrapper { position: relative; z-index: 1; padding: 230px 0 329px; background-position: center; background-size: cover; }
.pa-hero .ht-slider-wrapper::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); z-index: -1; }
.pa-hero .slick-slide, .pa-hero .slick-slide:focus { outline: none; }
/* content slides up each time a slide becomes active */
.pa-hero .hero-content > * { opacity: 0; transform: translateY(28px); }
.pa-hero .slick-active .hero-content > * { animation: paHeroUp 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.pa-hero .slick-active .hero-content > :nth-child(2) { animation-delay: 0.1s; }
.pa-hero .slick-active .hero-content > :nth-child(3) { animation-delay: 0.2s; }
.pa-hero .slick-active .hero-content > :nth-child(4) { animation-delay: 0.3s; }
@keyframes paHeroUp { to { opacity: 1; transform: none; } }
/* dots sit in the band between the buttons and the overlapping feature cards */
.pa-hero ul.slick-dots { position: absolute; left: 0; right: 0; bottom: 250px; margin: 0; z-index: 5; }
.pa-hero ul.slick-dots li button { width: 12px; height: 12px; margin: 0 6px; border: 1.5px solid rgba(255, 255, 255, 0.6); background: transparent; transition: all 0.3s ease; }
.pa-hero ul.slick-dots li.slick-active button { width: 12px; height: 12px; background: #AEFF1C; border-color: #AEFF1C; transform: none; }
/* arrows: round outline buttons at the edges (desktop only; swipe on touch) */
.pa-hero .slick-arrow { position: absolute; top: 50%; transform: translateY(-50%); left: 40px; z-index: 5; width: 60px; height: 60px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.45); background: transparent; color: #fff; font-size: 24px; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.pa-hero .slick-next { left: auto; right: 40px; }
.pa-hero .slick-arrow:hover { background: #AEFF1C; border-color: #AEFF1C; color: #104042; }
@media (max-width: 1200px) {
  .pa-hero .ht-slider-wrapper { padding: 180px 0 100px; }
  .pa-hero ul.slick-dots { bottom: 40px; }
  .pa-hero .slick-arrow { display: none !important; }
}

/* second hero button: the theme's bstyle-2 expects an icon circle on the right (it was built for "Watch video") */
.theme-banner-four .bstyle-2 .pa-btn-icon { display: inline-block; width: 55px; height: 55px; line-height: 55px; text-align: center; font-size: 25px; color: #000; border-radius: 50%; background: #AEFF1C; transition: all 0.3s ease; }
.theme-banner-four .bstyle-2:hover .pa-btn-icon { background: #ffffff; }
@media (max-width: 575px) {
  .theme-banner-four .pa-eyebrow { font-size: 11px; letter-spacing: 0.08em; padding: 7px 14px; }
}

/* ---- Accordion (theme faq-style-5 sets padding-right: 0, so long titles ran under the +/- icon) ---- */
.faq-style-5 .accordion-item .accordion-button { padding-right: 56px; }

/* ---- Market (asset) cards ---- */
.pa-asset-card {
  background: #fff;
  border: 1px solid #e4f0f0;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pa-asset-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(16, 64, 66, 0.10); }
.pa-asset-card__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #0b1f1f; }
.pa-asset-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pa-asset-card:hover .pa-asset-card__img img { transform: scale(1.04); }
.pa-asset-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pa-asset-card__title { font-size: 22px; margin: 12px 0 8px; }
.pa-asset-card__title a { color: #000; }
.pa-asset-card__title a:hover { color: #104042; }
.pa-asset-card__body p { font-size: 15px; line-height: 1.6; color: #4a5a5a; margin-bottom: 18px; flex: 1; }
.pa-more { font-family: "Satoshi-Bold", sans-serif; font-size: 14px; color: #104042; text-transform: uppercase; letter-spacing: 0.04em; }
.pa-more i { transition: transform 0.3s ease; display: inline-block; margin-left: 4px; }
.pa-more:hover i { transform: translateX(4px); }

.pa-badge {
  display: inline-block;
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 30px;
  background: #E2F5F5;
  color: #104042;
}
.pa-badge--crypto { background: #104042; color: #AEFF1C; }
.pa-badge--stock  { background: #AEFF1C; color: #104042; }
.pa-badge--theme  { background: #000; color: #fff; }

.pa-group-title {
  font-family: "Satoshi-Bold", sans-serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #104042;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pa-group-title::after { content: ""; flex: 1; height: 1px; background: #d7e6e6; }

/* ---- Portfolio cards (extends theme .ht-plan) ---- */
.ht-plan .plan-price .month { font-size: 16px; font-weight: 500; color: #6b8a8b; }
.ht-plan .feature-list .pa-alloc { float: right; font-family: "Satoshi-Bold", sans-serif; color: #104042; }
.ht-plan.active .feature-list .pa-alloc { color: inherit; }
/* equal-height cards in a plan row; the button stays pinned to the bottom */
.pa-plans > [class*="col-"] { display: flex; }
.pa-plans .ht-plan { width: 100%; display: flex; flex-direction: column; }
.pa-plans .ht-plan .ht-plan-inner { display: flex; flex-direction: column; flex: 1 1 auto; }
.pa-plans .ht-plan .feature-list { flex: 1 1 auto; }
.pa-portfolio-group + .pa-portfolio-group { margin-top: 30px; }

/* ---- Asset / portfolio detail pages ---- */
.pa-detail-img { border-radius: 24px; overflow: hidden; background: #0b1f1f; }
.pa-detail-img img { width: 100%; display: block; }
.pa-highlights .feature-list-six { align-items: flex-start; }
.pa-highlights .feature-title { display: block; }
.pa-highlights .feature-text { display: block; font-size: 15px; color: #4a5a5a; margin-top: 4px; }
.pa-alloc-table { width: 100%; border-collapse: collapse; }
.pa-alloc-table th, .pa-alloc-table td { padding: 14px 0; border-bottom: 1px solid #e4f0f0; text-align: left; }
.pa-alloc-table th { font-family: "Satoshi-Bold", sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b8a8b; }
.pa-alloc-table td:last-child, .pa-alloc-table th:last-child { text-align: right; }
.pa-alloc-bar { height: 8px; border-radius: 8px; background: #E4F0F0; overflow: hidden; margin-top: 8px; }
.pa-alloc-bar span { display: block; height: 100%; background: #104042; }
.pa-key-facts { background: #E2F5F5; border-radius: 20px; padding: 28px 30px; }
.pa-key-facts dt { font-family: "Satoshi-Bold", sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b8a8b; }
.pa-key-facts dd { font-family: "Radio Canada Big", sans-serif; font-size: 28px; font-weight: 700; color: #104042; margin-bottom: 18px; }
.pa-key-facts dd:last-child { margin-bottom: 0; }

/* ---- Notices ---- */
.pa-notice {
  border-left: 4px solid #AEFF1C;
  background: #f6fbfb;
  padding: 18px 22px;
  border-radius: 0 14px 14px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5a5a;
}
.pa-notice strong { color: #104042; }

.pa-form-msg {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.pa-form-msg.is-ok { background: #eef8d8; color: #104042; }
.pa-form-msg.is-err { background: #fdeeee; color: #8a1f1f; }
.footer-four .pa-form-msg { margin: 0 0 20px; }
.pa-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Footer disclaimer ---- */
.footer-four .pa-disclaimer {
  border-top: 1px solid #e4f0f0;
  padding-top: 28px;
  margin-top: 10px;
}
.footer-four .pa-disclaimer__title {
  font-family: "Radio Canada Big", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #104042;
  margin: 0 0 12px;
}
.footer-four .pa-disclaimer p {
  font-size: 13px;
  line-height: 1.7;
  color: #5f7373;
  margin: 0;
}

/* ---- Footer ghost wordmark ---- */
.footer-watermark {
  width: 100%;
  overflow: hidden;
  overflow-x: hidden;
  text-align: center;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-family: "Radio Canada Big", sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 16rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  height: 0.72em;
  margin-bottom: -0.1em;
}
.footer-watermark span {
  display: block;
  white-space: nowrap;
  color: rgba(16, 64, 66, 0.08);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-watermark span {
    background: linear-gradient(180deg, rgba(16, 64, 66, 0.13) 0%, rgba(16, 64, 66, 0.03) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}
@media (max-width: 767.98px) {
  .footer-watermark {
    /* display: none; */
    display: block;
  }
}

/* ---- Legal pages ---- */
.pa-prose h3 { font-size: 24px; margin: 36px 0 14px; }
.pa-prose p, .pa-prose li { font-size: 16px; line-height: 1.8; color: #333; }
.pa-prose ul { padding-left: 20px; margin-bottom: 20px; }
.pa-prose li { list-style: disc; margin-bottom: 6px; }

/* ---- Video section (theme video-section, Home Style 2) ---- */
.video-wrap-1 .pa-play { color: #000; font-size: 55px; width: 140px; height: 140px; border-radius: 50%; background: #AEFF1C; display: inline-flex; justify-content: center; align-items: center; transition: transform 0.3s ease; }
.video-wrap-1 .popup-video, .video-wrap-1 .pa-play { border-radius: 50%; }
.video-wrap-1 .popup-video:hover, .video-wrap-1 .pa-play:hover { transform: scale(1.06); color: #000; }
.pa-video-caption { color: #fff; font-size: 15px; margin: 18px 0 0; opacity: 0.85; }
.video-content .feature-list-four .feature-title { font-size: 20px; }

/* ---- Testimonials (theme feedback-section, Home Style 2) ---- */
.feedback-wrap-4 .pa-avatar { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin-right: 0; border-radius: 50%; background: #104042; color: #AEFF1C; font-family: "Satoshi-Bold", sans-serif; font-size: 22px; letter-spacing: 0.02em; }
.feedback-wrap-4 .rating span { color: #FF7F49; font-size: 23px; margin: 0 4px; }
.pa-testimonials .feedback-wrap-4 { transition: opacity 0.38s ease; }
.pa-testimonials .feedback-wrap-4.is-swapping { opacity: 0; }
.pa-sample-note { font-size: 14px; color: #6b8a8b; }

.video-content .feature-list-five .feature-title { white-space: nowrap; }
