

/* ===== fchk styles ===== */
.fchk-wrap {
  margin: 0 120px;
  font-family: 'Montserrat', sans-serif;
}

.fchk-title {
  font-size: 42px;
  color: #2F2F2F;
  text-transform: uppercase;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

.fchk-subtitle {
  color: #555;
  margin-bottom: 60px;
    color: #2F2F2F;
    font-size: 18px;  

}

.fchk-category {
  margin-bottom: 48px;
}

.fchk-cat-title {
  font-size: 24px;
  font-weight: 400;
  margin-top: 60px;
  margin-bottom: 16px;
    color: #2F2F2F;
}

.fchk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.fchk-card {
  display: block;
  padding: 0 16px;
  background: #F8F8F8;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  color: #2F2F2F;
  transition: background 0.2s, transform 0.2s;
}

.fchk-card:hover {
  background: #f0f0f0;
}

.fchk-card-title {
  font-size: 16px;
  font-weight: 400;
}



@media (max-width: 1200px) {
.fchk-wrap {
  margin: 0 20px;
  margin-top: 140px;
  font-family: 'Montserrat', sans-serif;
}


.fchk-title {
  font-size: 24px;
  margin-top: 80px;
}

.fchk-subtitle {
margin-left: 0;
margin-right: 0;
}


}










/* ===== fchk: поиск ===== */
/* контейнер поиска (внешний) */
.fchk-searchbar {
  display: flex;
  align-items: center;
  margin: 0 0 28px;
}

/* новый внутренний контейнер ровно ширины поля */
.fchk-search-field {
  position: relative;
  flex: 1 1 320px;
  min-width: 240px;
  max-width: 740px; /* ← твой лимит остаётся тут */
}

/* само поле тянется на всю ширину внутреннего контейнера */
.fchk-search-input {
  width: 100%;
  padding: 18px 44px 18px 18px; /* справа запас под кнопку */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  outline: none;
  background: #fff;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}

.fchk-search-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

/* ластик теперь привязан к .fchk-search-field */
.fchk-erase {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  width: 28px;
  display: none; /* показываем только когда есть текст */
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  background: #fff;
}

.fchk-erase img {
    width: 28px;
  display: block;
  pointer-events: none;
}


/* показываем кнопку при вводе текста */
.fchk-searchbar.is-filled .fchk-erase {
  display: inline-flex;
}

/* отключаем нативный крестик */
.fchk-search-input::-ms-clear,
.fchk-search-input::-ms-reveal { display: none; width: 0; height: 0; }
.fchk-search-input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }


@media (max-width: 1200px) {
.fchk-search-input {
  font-size: 14px;
}
}






























/* ===== fchk: базовая обёртка разделов ===== */
.fchk-content {
  max-width: 1200px;
  margin: 0 auto;      /* центрирование по горизонтали */
  padding: 24px 0;
}


.fchk-h1-news {
  font-size: 32px;
  font-weight: 300;
    color: #2f2f2f;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.fchk-content h2 {
  font-size: 32px;
  font-weight: 300;
    color: #2f2f2f;
    margin-bottom: 20px;
    max-width: 1200px;
}

.fchk-descriprt-calc {
  color: #4b5563;
  margin: 0 0 40px;
  max-width: 1200px;
  font-size: 18px;
  line-height: 140%;
}

/* ===== fchk: карточка калькулятора ===== */
.fchk-calculator {
  border-radius: 14px;
  padding: 60px;
  background: #F8F8F8;
  margin-top: 12px;
}

.fchk-calculator-dop {
  margin-top: 12px;
}

.fchk-calc-fields {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 16px;
}

@media (min-width: 720px) {
  .fchk-calc-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fchk-calc-field-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}




.field-calc {
  width: calc(100% - 40px);
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.field-calc:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}









.fchk-field-calc {
  width: calc(100% - 40px);
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 16px;
  margin-bottom: 20px;
}

.fchk-field-calc:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* ===== fchk: кнопки ===== */
.fchk-button-calc {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  border-radius: 12px;
  border: 1px solid #111827;
  background: #2f2f2f;
  color: #fff;
  font-weight: 300;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}

.fchk-button-calc:hover {
  background: #E6B92A;
  border-color: #E6B92A;
}

.fchk-invest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-radius: 12px;
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  font-weight: 300;
  text-decoration: none;
}

.fchk-result-calc {
  font-size: 18px;
  margin-top: 16px;
  padding: 40px 0px;
  border: none;
  border-radius: 10px;
  color: #2f2f2f;
}

.fchk-result-calc p {
  margin-bottom: 12px;
  line-height: 150%;
}

/* ===== fchk: график ===== */
#buis_growth_chart {
  display: none;   /* показ/скрытие контролируешь в своём JS */
  width: 100%;
  max-width: 100%;
  border-radius: 24px;
  margin-top: 16px;
}

/* ===== fchk: баннер ===== */
.fchk-investor-banner {
  margin-top: 20px;
  border-radius: 14px;
  background: linear-gradient(85deg, #fff6cc -21.2%, #FFDD2D 96.28%);
}

.fchk-investor-banner__content {
  padding: 40px;
}

.fchk-investor-banner__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.fchk-investor-banner__text {
  color: #2f2f2f;
  margin: 0 0 30px;
  font-size: 18px;
  max-width: 760px;
  line-height: 140%;
}



.fchk-calculator-list {
  padding-left: 0px;
  color: #374151;
list-style: none;
font-size: 18px;
}

.fchk-calculator-list a {
  padding-left: 0px;
  color: #374151;
}


.fchk-calculator-list li {
  margin: 14px 0;
}


.fchk-result-calc table {
  border-collapse: separate;   /* не схлопывать границы */
  border-spacing: 12px 6px;    /* горизонтальный и вертикальный зазоры */
}

.fchk-result-calc th,
.fchk-result-calc td {
  text-align: left;
  padding: 6px 8px;
  font-size: 15px;
}

.fchk-result-calc th {
  font-weight: 600;
  color: #374151;
}

.fchk-h2-calc{
color: #2f2f2f;
}
.fchk-calculator-dop h3 {
  color: #2f2f2f;
  font-weight: 500;
  font-size: 24px;
}



@media (max-width: 1200px) {
.fchk-content {
margin: 0 20px;

}

.fchk-top {
  margin-top: 100px;
}



}


@media (max-width: 950px) {

  .fchk-calculator-dop h3 {
  color: #2f2f2f;
  font-weight: 500;
  font-size: 18px;
}

  .fchk-content h2 {
  font-size: 24px;
  }
  .fchk-h1-news{
    font-size: 24px;
    margin-bottom: 20px;
  }

.fchk-descriprt-calc {
font-size: 14px;
margin-bottom: 20px;
}

.fchk-calculator{
padding: 20px;
}

.fchk-calc-field-group label{
font-size: 12px;
}

.fchk-calc-fields{
gap: 0px;
margin-bottom: 0px;
}

.fchk-button-calc {
margin-top: 20px;
}

.fchk-investor-banner__content {
padding: 20px;
}

.fchk-investor-banner__text {
margin-bottom: 0px;
font-size: 14px;
}

.fchk-investor-banner__title {
  font-size: 18px!important;
}

.fchk-button-calc {
font-size: 14px;
}

.fchk-calculator-list {
font-size: 14px;
}

.fchk-result-calc {
  padding: 20px 0;
font-size: 14px;
}

.fchk-result-calc p{
font-size: 14px;
margin-left: 0;
margin-right: 0;
}



.fchk-result-calc table {
  font-size: 10px;
  border-collapse: separate;   /* не схлопывать границы */
  border-spacing: 6px 3px;    /* горизонтальный и вертикальный зазоры */
}

.fchk-result-calc th,
.fchk-result-calc td {
  text-align: left;
  padding: 2px 4px;
  font-size: 10px;
}

.fchk-result-calc th {
  font-weight: 600;
  color: #374151;
}

}



@media (max-width: 390px) {

.fchk-result-calc table {
  font-size: 8px;
  border-collapse: separate;   /* не схлопывать границы */
  border-spacing: 2px 2px;    /* горизонтальный и вертикальный зазоры */
}

.fchk-result-calc th,
.fchk-result-calc td {
  text-align: left;
  padding: 1px 2px;
  font-size: 8px;
}
}




.calc-field-group {
margin-bottom: 14px;
}


.fchk-field-calc-select{
  width: calc(100% - 10px);
      border: 1px solid #e5e7eb;
    border-radius: 10px;
  background: #fff;
    margin-bottom: 20px;
    font-size: 16px;
    padding: 12px 40px 12px 20px; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M7 10l5 5 5-5z" fill="%232f2f2f"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    transition: background-image 0.3s ease;
    color: #2f2f2f;
}


.fchk-button-calc-dop {
margin-bottom: 20px;
color: #2F2F2F;
background-color: #F8F8F8;
      border: 1px solid #2f2f2f;
}

.fchk-button-calc-dop:hover {
color: #ffffff;
}


/* базовая стрелка вниз */
.fchk-field-calc-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">\
<path d="M7 10l5 5 5-5z" fill="%232f2f2f"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  transition: background-image .2s ease;
}

/* «открыто» — стрелка вверх */
.fchk-field-calc-select.is-open{
  background-image: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">\
<path d="M7 14l5-5 5 5z" fill="%232f2f2f"/></svg>');
}


.fcf-input {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 16px;
}


.cf-input {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 16px;
}