/* ==========================================================================
   FUND PAGE UNIFIED
   Single stylesheet for all fund pages.
   Base: fund-page.css (fp- prefix) + merged sections from fund-page-dynamic.css
   ========================================================================== */

/* Smooth scroll for anchor links */
.hp-landing {
  scroll-behavior: smooth;
}

/* ==========================================================================
   SECTION 1: Hero Banner
   ========================================================================== */

.fp-hero {
  background-color: var(--hp-navy, #1f2f3f);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 200px 0 80px;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.fp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 47, 63, 0.65);
}

.fp-hero .hp-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fp-hero__title {
  color: var(--hp-white, #fff);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 auto;
  max-width: 700px;
}

.fp-hero__logo {
  max-height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   SECTION 2: Intro (fund name + description + CTA)
   ========================================================================== */

.fp-intro {
  background: var(--hp-white, #fff);
  padding: var(--hp-section-py, 60px) 0 0;
}

.fp-intro__content {
  margin-bottom: 32px;
}

.fp-intro__content h2 {
  color: var(--hp-red, #cd2c2a);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
}

.fp-intro__content p {
  color: var(--hp-navy, #1f2f3f);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.fp-intro__content p:last-child {
  margin-bottom: 0;
}

.fp-intro__cta {
  display: block;
  width: 100%;
  background: var(--hp-red, #cd2c2a);
  color: var(--hp-white, #fff) !important;
  text-align: center;
  padding: 18px 40px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: var(--hp-radius-pill, 50px);
  transition: all 0.2s;
  margin-top: 32px;
}

.fp-intro__cta:hover {
  background: var(--hp-red-dark, #A82523);
}

/* ==========================================================================
   SECTION 3: Facts Bar (unit value, risk class, investment time, fund type)
   ========================================================================== */

.fp-facts {
  padding: 0 0 60px;
  background: var(--hp-white, #fff);
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-facts__row {
  display: flex;
  gap: 16px;
}

.fp-facts__card {
  flex: 1;
  background: var(--hp-white, #fff);
  border: 1px solid var(--hp-gray-border, #e0e0e0);
  border-radius: var(--hp-radius-card, 8px);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.fp-facts__card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--hp-red, #cd2c2a);
}

.fp-facts__card label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--hp-gray, #666);
  margin-bottom: 10px;
}

.fp-facts__value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--hp-navy, #1f2f3f);
  line-height: 1.2;
}

.fp-facts__value small {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.5;
}

.fp-facts__date {
  display: block;
  font-size: 11px;
  color: var(--hp-gray, #666);
  margin-top: 6px;
}

/* Risk bar */
.fp-facts__risk {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
  justify-content: center;
  margin-top: 2px;
}

.fp-facts__risk span {
  width: 14px;
  background: var(--hp-gray-border, #e0e0e0);
  border-radius: 2px;
}

.fp-facts__risk span:nth-child(1) { height: 10px; }
.fp-facts__risk span:nth-child(2) { height: 15px; }
.fp-facts__risk span:nth-child(3) { height: 20px; }
.fp-facts__risk span:nth-child(4) { height: 25px; }
.fp-facts__risk span:nth-child(5) { height: 30px; }
.fp-facts__risk span:nth-child(6) { height: 35px; }
.fp-facts__risk span:nth-child(7) { height: 40px; }

.fp-facts__risk.risk-1 span:nth-child(1),
.fp-facts__risk.risk-2 span:nth-child(-n+2),
.fp-facts__risk.risk-3 span:nth-child(-n+3),
.fp-facts__risk.risk-4 span:nth-child(-n+4),
.fp-facts__risk.risk-5 span:nth-child(-n+5),
.fp-facts__risk.risk-6 span:nth-child(-n+6),
.fp-facts__risk.risk-7 span {
  background: var(--hp-red, #cd2c2a);
}

.fp-facts__risk-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-red, #cd2c2a);
  margin-top: 6px;
}

/* ==========================================================================
   SECTION 3: Chart + Tabs
   ========================================================================== */

.fp-main {
  background: var(--hp-gray-light, #f8f8f8);
  padding: var(--hp-section-py, 60px) 0;
}

/* Chart */
.fp-main__chart {
  margin-bottom: 0;
}

.fp-main__chart .chart-wrap {
  background: var(--hp-white, #fff);
  border: 1px solid var(--hp-gray-border, #e0e0e0);
  border-radius: var(--hp-radius-card, 8px);
  padding: 20px;
}

/* Tabs — segmented control style */
.fp-tabs {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-tabs__btn {
  flex: 1;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  background: var(--hp-white, #fff);
  color: var(--hp-navy, #1f2f3f);
  transition: all 0.2s;
  font-family: var(--hp-font, inherit);
}

.fp-tabs__btn + .fp-tabs__btn {
  border-left: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-tabs__btn.is-active {
  background: var(--hp-red, #cd2c2a);
  color: var(--hp-white, #fff);
}

.fp-tabs__btn:hover:not(.is-active) {
  background: var(--hp-gray-light, #f8f8f8);
}

/* Tab panels */
.fp-tabs__panels {
  margin-top: 24px;
}

.fp-tabs__panel {
  display: none;
}

.fp-tabs__panel.is-active {
  display: block;
}

/* ==========================================================================
   TAB CONTENT — Restyle WPBakery output
   ========================================================================== */

/* General tab content reset */
.fp-tabs__panel h2,
.fp-tabs__panel h3 {
  color: var(--hp-red, #cd2c2a);
  font-weight: 700;
  margin: 28px 0 12px;
}

.fp-tabs__panel h2:first-child,
.fp-tabs__panel h3:first-child {
  margin-top: 0;
}

.fp-tabs__panel h2 { font-size: 24px; }
.fp-tabs__panel h3 { font-size: 20px; }

.fp-tabs__panel p {
  color: var(--hp-navy, #1f2f3f);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.fp-tabs__panel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.fp-tabs__panel ul li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
  font-size: 18px;
  color: var(--hp-navy, #1f2f3f);
  line-height: 1.5;
}

.fp-tabs__panel ul li:last-child {
  border-bottom: none;
}

.fp-tabs__panel ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--hp-red, #cd2c2a);
  border-radius: 50%;
}

.fp-tabs__panel ul li a {
  color: var(--hp-navy, #1f2f3f);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.fp-tabs__panel ul li a:hover {
  color: var(--hp-red, #cd2c2a);
}

/* Links inside tab panels */
.fp-tabs__panel a {
  color: var(--hp-red, #cd2c2a);
  text-decoration: none;
  transition: color 0.2s;
}

.fp-tabs__panel a:hover {
  color: var(--hp-red-dark, #A82523);
}

/* Tables inside tabs */
.fp-tabs__panel table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.fp-tabs__panel table td,
.fp-tabs__panel table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-tabs__panel table tr:first-child td,
.fp-tabs__panel table tr:first-child th {
  font-weight: 700;
  color: var(--hp-red, #cd2c2a);
  border-bottom: 2px solid var(--hp-gray-border, #e0e0e0);
}

/* WPBakery progress bars (Top 10) — restyle */
.fp-tabs__panel .vc_progress_bar .vc_single_bar {
  background: var(--hp-gray-light, #f8f8f8) !important;
  border-radius: 6px !important;
  margin-bottom: 8px !important;
  overflow: hidden;
}

.fp-tabs__panel .vc_progress_bar .vc_single_bar .vc_bar {
  background: var(--hp-red, #cd2c2a) !important;
  border-radius: 6px !important;
  height: 100% !important;
}

.fp-tabs__panel .vc_progress_bar .vc_single_bar .vc_label {
  color: var(--hp-white, #fff) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  position: relative;
  z-index: 1;
}

.fp-tabs__panel .vc_progress_bar .vc_single_bar .vc_label .vc_label_units {
  background: var(--hp-white, #fff) !important;
  color: var(--hp-red, #cd2c2a) !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  margin-left: 8px;
}

/* Counter numbers — stats cards inside tabs */
.fp-tabs__panel .wpsm_counter_b_row {
  margin: 0 0 36px !important;
  padding: 0 !important;
}

.fp-tabs__panel .wpsm_counter_b_row > div {
  display: flex !important;
  gap: 16px;
}

.fp-tabs__panel .wpsm_counter_b_row .wpsm_row {
  flex: 1 1 0 !important;
  display: block !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
}

.fp-tabs__panel .wpsm_counter_b_row .wpsm_row:nth-child(4) {
  display: none !important;
}

.fp-tabs__panel .wpsm_counter_b_row .wpsm_row > div[class*="wpsm_col"] {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.fp-tabs__panel .wpsm_counterbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px;
  background: var(--hp-white, #fff);
  border: 1px solid var(--hp-gray-border, #e0e0e0);
  border-radius: var(--hp-radius-card, 8px);
  padding: 24px !important;
  margin: 0 !important;
  width: 100%;
  text-align: left !important;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.fp-tabs__panel .wpsm_counterbox:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--hp-red, #cd2c2a);
}

.fp-tabs__panel .wpsm_counterbox .wpsm_number {
  flex-shrink: 0;
  font-size: 44px !important;
  font-weight: 800 !important;
  color: var(--hp-red, #cd2c2a) !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--hp-font, 'Source Sans 3', sans-serif) !important;
  letter-spacing: -1px !important;
  min-width: 56px;
  text-align: center;
}

.fp-tabs__panel .wpsm_counterbox .wpsm_number .counter {
  font-size: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
}

.fp-tabs__panel .wpsm_counterbox h3.wpsm_count-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--hp-gray, #666) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.fp-counter__label {
  display: block;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--hp-red, #cd2c2a) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.fp-counter__desc {
  display: block;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--hp-gray, #666) !important;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 3px;
}

.fp-tabs__panel .wpsm_counterbox .wpsm_count-icon {
  display: none !important;
}

/* WPBakery buttons (used in Структура/Документи tabs) */
.fp-tabs__panel .vc_btn3-container {
  margin-bottom: 4px !important;
  padding: 0 !important;
}

.fp-tabs__panel .vc_btn3-container a.vc_btn3,
.fp-tabs__panel .vc_btn3-container a.vc_general.vc_btn3,
.fp-tabs__panel a.vc_btn3.vc_btn3-style-flat.vc_btn3-color-danger {
  background: var(--hp-white, #fff) !important;
  color: var(--hp-navy, #1f2f3f) !important;
  border: 1px solid var(--hp-gray-border, #e0e0e0) !important;
  border-radius: var(--hp-radius-card, 8px) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  transition: all 0.2s !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.fp-tabs__panel .vc_btn3-container a.vc_btn3:hover,
.fp-tabs__panel a.vc_btn3.vc_btn3-style-flat.vc_btn3-color-danger:hover {
  border-color: var(--hp-red, #cd2c2a) !important;
  color: var(--hp-red, #cd2c2a) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  background: var(--hp-white, #fff) !important;
}

.fp-tabs__panel .vc_btn3 .vc_btn3-icon {
  color: var(--hp-red, #cd2c2a) !important;
  font-size: 16px;
}

/* Hide empty vc_btn3 icons */
.fp-tabs__panel .vc_btn3-icon:empty {
  display: none !important;
}

/* WPBakery custom headings (year labels in Структура tab) */
.fp-tabs__panel h2.vc_custom_heading,
.fp-tabs__panel .vc_custom_heading.vc_do_custom_heading {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--hp-red, #cd2c2a) !important;
  margin: 24px 0 12px !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--hp-red, #cd2c2a) !important;
  display: inline-block !important;
  font-family: var(--hp-font, 'Source Sans 3', sans-serif) !important;
  text-align: left !important;
}

.fp-tabs__panel .wpb_wrapper > h2.vc_custom_heading:first-child,
.fp-tabs__panel .wpb_wrapper > .vc_custom_heading:first-child {
  margin-top: 0 !important;
}

/* WPBakery inner row columns — grid layout for Структура tab */
.fp-tabs__panel .vc_row.vc_inner {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 !important;
}

.fp-tabs__panel .vc_row.vc_inner > .wpb_column {
  flex: 1 1 calc(33.333% - 16px) !important;
  width: auto !important;
  padding: 0 !important;
  float: none !important;
}

/* Dokumenti tab — style loose links as list items */
.fp-tabs__panel .wpb_wrapper > p > a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
  color: var(--hp-navy, #1f2f3f) !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.2s, padding-left 0.2s;
}

.fp-tabs__panel .wpb_wrapper > p > a:hover {
  color: var(--hp-red, #cd2c2a) !important;
  padding-left: 8px;
}

/* Ordered lists in dokumenti */
.fp-tabs__panel ol {
  padding-left: 20px;
  margin: 0 0 20px;
}

.fp-tabs__panel ol li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
  font-size: 16px;
  color: var(--hp-navy, #1f2f3f);
  line-height: 1.6;
}

.fp-tabs__panel ol li:last-child {
  border-bottom: none;
}

.fp-tabs__panel ol li a {
  color: var(--hp-red, #cd2c2a) !important;
  font-weight: 600;
}

/* Contact Form 7 inside tabs */
.fp-tabs__panel .wpcf7 {
  width: 100%;
  margin: 24px 0 0;
}

.fp-tabs__panel .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 12px;
}

.fp-tabs__panel .wpcf7-form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--hp-font, 'Source Sans 3', sans-serif);
  border: 1px solid var(--hp-gray-border, #e0e0e0);
  border-radius: var(--hp-radius-card, 8px);
  background: var(--hp-white, #fff);
  color: var(--hp-navy, #1f2f3f);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.fp-tabs__panel .wpcf7-form-control:focus {
  border-color: var(--hp-red, #cd2c2a);
  box-shadow: 0 0 0 3px rgba(205, 44, 42, 0.1);
}

.fp-tabs__panel .wpcf7-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.fp-tabs__panel .wpcf7-textarea {
  min-height: 100px;
  resize: vertical;
}

.fp-tabs__panel .wpcf7-submit {
  width: 100%;
  background: var(--hp-red, #cd2c2a) !important;
  color: var(--hp-white, #fff) !important;
  border: none !important;
  border-radius: var(--hp-radius-pill, 50px) !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.fp-tabs__panel .wpcf7-submit:hover {
  background: var(--hp-red-dark, #A82523) !important;
}

.fp-tabs__panel .wpcf7-response-output {
  border: none !important;
  padding: 12px 16px !important;
  border-radius: var(--hp-radius-card, 8px) !important;
  font-size: 14px;
  margin: 12px 0 0 !important;
}

.fp-tabs__panel .wpcf7-not-valid {
  border-color: var(--hp-red, #cd2c2a) !important;
}

.fp-tabs__panel .wpcf7-not-valid-tip {
  font-size: 13px;
  color: var(--hp-red, #cd2c2a);
  margin-top: 4px;
}

/* Action links (Dividend history, Companies) */
.fp-action-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.fp-action-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--hp-red, #cd2c2a);
  color: var(--hp-white, #fff) !important;
  border-radius: var(--hp-radius-card, 8px);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
}

.fp-main .fp-action-links {
  margin-bottom: 24px;
}

.fp-action-link:hover {
  background: var(--hp-red-dark, #A82523);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205, 44, 42, 0.3);
}

.fp-action-link i {
  font-size: 20px;
}

@media (max-width: 576px) {
  .fp-action-links {
    flex-direction: column;
  }
}

/* WPBakery masonry grid (Настани tab in Junior) */
.fp-tabs__panel .vc_grid-container {
  position: relative !important;
}

.fp-tabs__panel .vc_masonry_grid {
  max-height: 800px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.fp-tabs__panel .vc_masonry_grid::-webkit-scrollbar {
  width: 6px;
}

.fp-tabs__panel .vc_masonry_grid::-webkit-scrollbar-track {
  background: var(--hp-gray-light, #f8f8f8);
  border-radius: 3px;
}

.fp-tabs__panel .vc_masonry_grid::-webkit-scrollbar-thumb {
  background: var(--hp-gray, #666);
  border-radius: 3px;
}

.fp-tabs__panel .vc_masonry_grid::-webkit-scrollbar-thumb:hover {
  background: var(--hp-red, #cd2c2a);
}

/* Grid items inside masonry */
.fp-tabs__panel .vc_grid-item {
  margin-bottom: 16px !important;
}

.fp-tabs__panel .vc_grid-item .vc_gitem-zone-a img {
  width: 100%;
  height: auto;
  border-radius: var(--hp-radius-card, 8px) var(--hp-radius-card, 8px) 0 0;
}

.fp-tabs__panel .vc_grid-item .vc_gitem-zone-c {
  padding: 16px !important;
  background: var(--hp-white, #fff);
  border: 1px solid var(--hp-gray-border, #e0e0e0);
  border-top: none;
  border-radius: 0 0 var(--hp-radius-card, 8px) var(--hp-radius-card, 8px);
}

.fp-tabs__panel .vc_grid-item .vc_gitem-zone-c h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--hp-navy, #1f2f3f) !important;
  margin: 0 0 8px !important;
  line-height: 1.3;
}

.fp-tabs__panel .vc_grid-item .vc_gitem-zone-c .vc_gitem-post-data-source-post_excerpt {
  font-size: 14px !important;
  color: var(--hp-gray, #666) !important;
  line-height: 1.5;
}

/* Remove WPBakery spacing elements */
.fp-tabs__panel .vc_empty_space {
  display: none !important;
}

/* Clean up WPBakery row/column padding */
.fp-tabs__panel .vc_row,
.fp-tabs__panel .wpb_row {
  margin: 0 !important;
  padding: 0 !important;
}

.fp-tabs__panel .vc_column-inner,
.fp-tabs__panel .wpb_wrapper {
  padding: 0 !important;
}

.fp-tabs__panel .vc_column_container {
  padding: 0 !important;
}

/* Flex column fix */
.fp-tabs__panel .wpb_column {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide WPBakery native tab navigation (we use our own) */
.fp-tabs__panel .vc_tta-tabs-list,
.fp-tabs__panel .vc_tta-tabs-container {
  display: none !important;
}

/* Reports grid — 3 per row */
.fp-reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.fp-report-year {
  background: var(--hp-white, #fff);
  border: 1px solid var(--hp-gray-border, #e0e0e0);
  border-radius: var(--hp-radius-card, 8px);
  padding: 24px;
  transition: all 0.3s;
}

.fp-report-year:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: var(--hp-red, #cd2c2a);
}

.fp-report-year h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-red, #cd2c2a);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hp-red, #cd2c2a);
}

.fp-report-year ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-report-year li {
  padding: 8px 0;
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
  font-size: 14px;
}

.fp-report-year li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fp-report-year li a {
  color: var(--hp-navy, #1f2f3f);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.fp-report-year li a:hover {
  color: var(--hp-red, #cd2c2a);
}

/* Top 10 Companies Table */
.fp-top10 {
  width: 100%;
  border-collapse: collapse;
}

.fp-top10 thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--hp-gray, #666);
  padding: 0 0 12px;
  border-bottom: 2px solid var(--hp-gray-border, #e0e0e0);
}

.fp-top10 thead th:first-child { width: 40px; }
.fp-top10 thead th:last-child { width: 180px; }

.fp-top10 tbody td {
  padding: 14px 0;
  font-size: 15px;
  color: var(--hp-navy, #1f2f3f);
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-top10 tbody td:first-child {
  font-weight: 700;
  color: var(--hp-red, #cd2c2a);
  width: 40px;
}

.fp-top10__bar {
  position: relative;
  font-weight: 700;
  font-size: 14px;
  color: var(--hp-red, #cd2c2a);
  padding: 6px 12px;
  background: var(--hp-gray-light, #f8f8f8);
  border-radius: 4px;
  overflow: hidden;
}

.fp-top10__bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pct);
  background: rgba(205, 44, 42, 0.12);
  border-radius: 4px;
}

.fp-top10__date {
  font-size: 13px;
  color: var(--hp-gray, #666);
  margin-top: 16px;
  font-style: italic;
}

/* Documents */
.fp-docs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fp-docs__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
  cursor: pointer;
  transition: all 0.2s;
}

.fp-docs__item:first-child {
  border-top: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-docs__item:hover {
  padding-left: 8px;
}

.fp-docs__item i {
  font-size: 28px;
  color: var(--hp-red, #cd2c2a);
  flex-shrink: 0;
}

.fp-docs__item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-navy, #1f2f3f);
}

.fp-docs__item small {
  font-size: 12px;
  color: var(--hp-gray, #666);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fp-docs__item:hover strong {
  color: var(--hp-red, #cd2c2a);
}

/* ==========================================================================
   SECTION 4: Risk (red background section)
   ========================================================================== */

.fp-risk {
  background: var(--hp-red, #cd2c2a);
  padding: var(--hp-section-py, 60px) 0;
}

.fp-risk__title {
  color: var(--hp-white, #fff);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
}

.fp-risk h2 {
  color: var(--hp-white, #fff);
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 16px;
}

.fp-risk p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.fp-risk table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.fp-risk table td,
.fp-risk table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.fp-risk table tr:first-child td,
.fp-risk table tr:first-child th {
  font-weight: 700;
  color: var(--hp-white, #fff);
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

.fp-risk ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.fp-risk ul li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.fp-risk ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--hp-white, #fff);
  border-radius: 50%;
}

/* Risk accordion */
.fp-risk__details {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  margin-top: 24px;
}

.fp-risk__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}

.fp-risk__details summary::-webkit-details-marker {
  display: none;
}

.fp-risk__details summary span:first-child {
  font-size: 18px;
  font-weight: 700;
  color: var(--hp-white, #fff);
}

.fp-risk__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hp-white, #fff);
  color: var(--hp-red, #cd2c2a) !important;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
}

.fp-risk__details summary:hover .fp-risk__toggle {
  background: var(--hp-navy, #1f2f3f);
  color: var(--hp-white, #fff) !important;
}

.fp-risk__details[open] .fp-risk__toggle {
  background: var(--hp-navy, #1f2f3f);
  color: var(--hp-white, #fff) !important;
}

.fp-risk__details-content {
  padding: 0 24px 24px;
}

/* ==========================================================================
   SECTION 5: FAQ
   ========================================================================== */

.fp-faq {
  background: var(--hp-white, #fff);
  padding: var(--hp-section-py, 60px) 0;
}

.fp-faq__title {
  color: var(--hp-navy, #1f2f3f);
  font-size: 50px;
  font-weight: 800;
  margin: 0 0 36px;
}

.fp-faq__list {
  display: flex;
  flex-direction: column;
}

.fp-faq__item,
.fp-faq details {
  border-bottom: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-faq__item:first-child,
.fp-faq details:first-of-type {
  border-top: 1px solid var(--hp-gray-border, #e0e0e0);
}

.fp-faq__item summary,
.fp-faq details summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--hp-navy, #1f2f3f);
  list-style: none;
  transition: color 0.2s;
}

.fp-faq__item summary::-webkit-details-marker,
.fp-faq details summary::-webkit-details-marker {
  display: none;
}

.fp-faq__item summary::before,
.fp-faq details summary::before {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--hp-red, #cd2c2a);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s;
}

.fp-faq__item[open] summary::before,
.fp-faq details[open] summary::before {
  transform: rotate(45deg);
}

.fp-faq__item summary:hover,
.fp-faq details summary:hover {
  color: var(--hp-red, #cd2c2a);
}

.fp-faq__item p,
.fp-faq details p {
  color: var(--hp-gray, #666);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  padding: 0 0 18px 48px;
}

/* ==========================================================================
   RESPONSIVE — Tablet (992px)
   ========================================================================== */

@media (max-width: 992px) {
  .fp-hero__title,
  .fp-intro__content h2,
  .fp-risk__title,
  .fp-faq__title,
  .fp-risk h2 {
    font-size: 36px;
  }

  .fp-facts__row {
    flex-wrap: wrap;
  }

  .fp-facts__card {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .fp-reports-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   RESPONSIVE — Mobile (768px)
   ========================================================================== */

@media (max-width: 768px) {
  .fp-hero { padding: 140px 0 52px; min-height: auto; }
  .fp-hero__logo { max-height: 70px; }

  .fp-hero__title,
  .fp-intro__content h2,
  .fp-risk__title,
  .fp-faq__title,
  .fp-risk h2 {
    font-size: 30px;
  }

  .fp-intro__content p,
  .fp-intro__cta { font-size: 16px; }

  .fp-risk p,
  .fp-faq__item summary,
  .fp-faq details summary,
  .fp-faq__item p,
  .fp-faq details p,
  .fp-tabs__panel p,
  .fp-tabs__panel ul li {
    font-size: 16px;
  }

  .fp-tabs__btn { font-size: 13px; padding: 12px 8px; }

  /* Facts bar */
  .fp-facts { padding: 20px 0; }
  .fp-facts__row { flex-direction: column; gap: 10px; }
  .fp-facts__card { flex: 1 1 100%; padding: 16px; }
  .fp-facts__card:hover { box-shadow: none; border-color: var(--hp-gray-border, #e0e0e0); }
  .fp-facts__value { font-size: 18px; }

  .fp-reports-grid { grid-template-columns: 1fr; }

  /* Inner row columns stack on mobile */
  .fp-tabs__panel .vc_row.vc_inner {
    flex-direction: column;
    gap: 16px;
  }

  .fp-tabs__panel .vc_row.vc_inner > .wpb_column {
    flex: 1 1 100% !important;
  }

  .fp-tabs__panel .vc_btn3-container a.vc_btn3,
  .fp-tabs__panel a.vc_btn3.vc_btn3-style-flat {
    font-size: 13px !important;
    padding: 10px 14px !important;
  }

  .fp-tabs__panel h2.vc_custom_heading,
  .fp-tabs__panel .vc_custom_heading.vc_do_custom_heading {
    font-size: 18px !important;
  }

  /* Top 10 responsive */
  .fp-top10 thead th:last-child { width: 120px; }
  .fp-top10 tbody td { font-size: 14px; padding: 12px 0; }

  /* Counter cards */
  .fp-tabs__panel .wpsm_counter_b_row > div {
    flex-direction: column;
    gap: 10px;
  }

  .fp-tabs__panel .wpsm_counter_b_row {
    margin: 0 0 24px !important;
  }

  .fp-tabs__panel .wpsm_counterbox {
    padding: 18px 16px !important;
    gap: 14px;
  }

  .fp-tabs__panel .wpsm_counterbox:hover {
    box-shadow: none;
    border-color: var(--hp-gray-border, #e0e0e0);
  }

  .fp-tabs__panel .wpsm_counterbox .wpsm_number {
    font-size: 34px !important;
    min-width: 48px;
  }

  .fp-counter__label { font-size: 14px !important; }
  .fp-counter__desc { font-size: 11px !important; }
}

/* ==========================================================================
   RESPONSIVE — Small Mobile (576px)
   ========================================================================== */

@media (max-width: 576px) {
  .fp-hero { padding: 100px 0 36px; }
  .fp-hero__logo { max-height: 56px; }

  .fp-hero__title,
  .fp-intro__content h2,
  .fp-risk__title,
  .fp-faq__title,
  .fp-risk h2 {
    font-size: 26px;
  }

  .fp-intro__content p { font-size: 15px; }
  .fp-intro__cta { font-size: 16px; padding: 14px 24px; }

  .fp-risk p,
  .fp-faq__item summary,
  .fp-faq details summary,
  .fp-faq__item p,
  .fp-faq details p,
  .fp-tabs__panel p,
  .fp-tabs__panel ul li {
    font-size: 15px;
  }

  .fp-tabs__btn { font-size: 12px; padding: 10px 6px; }

  /* Facts bar */
  .fp-facts { padding: 16px 0; }
  .fp-facts__card { padding: 14px 12px; }
  .fp-facts__card label { font-size: 10px; margin-bottom: 8px; }
  .fp-facts__value { font-size: 16px; }

  /* Top 10 responsive */
  .fp-top10 tbody td { font-size: 13px; padding: 10px 0; }
  .fp-top10__bar { font-size: 12px; padding: 4px 8px; }

  .fp-docs__item strong { font-size: 14px; }
  .fp-reports-grid { grid-template-columns: 1fr; }

  .fp-faq__item summary::before,
  .fp-faq details summary::before { width: 28px; height: 28px; }
  .fp-faq__item p,
  .fp-faq details p { padding-left: 40px; }

  /* Counter cards */
  .fp-tabs__panel .wpsm_counterbox {
    padding: 14px 12px !important;
    gap: 12px;
  }

  .fp-tabs__panel .wpsm_counterbox .wpsm_number {
    font-size: 30px !important;
    min-width: 42px;
  }

  .fp-counter__label { font-size: 13px !important; }
  .fp-counter__desc { font-size: 10px !important; }
}
