/* ===== Style 4: Editorial Magazine ===== */
html{ font-size: 100% !important; }
.mqh_tbfour_editorial-wrap {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #2c2c2c;
  line-height: 1.85;
  /*max-width: 820px;*/
  margin: 0 auto;
  padding: 40px 20px;
  background: #fdfbf7;
}

.mqh_tbfour_toc b {
  font-size: 1.5rem;
  color: #8b0000;
  margin-bottom: 16px;
  border-bottom: 1px solid #d4c5a0;
  padding-bottom: 8px;
}

/* --- Header / Hero Area --- */
.mqh_tbfour_hero {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 3px double #8b0000;
}

.mqh_tbfour_hero h1 {
  font-size: 2.6rem;
  color: #8b0000;
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 700;
}

.mqh_tbfour_intro-para {
  font-size: 1.15rem;
  color: #3a3a3a;
  text-align: justify;
  margin-bottom: 16px;
  text-indent: 0;
}

.mqh_tbfour_intro-image {
  width: 100%;
  max-width: 700px;
  margin: 28px auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(139,0,0,0.12);
}

/* --- Decorative Divider --- */
.mqh_tbfour_divider {
  text-align: center;
  margin: 32px 0;
  font-size: 1.4rem;
  color: #c8a951;
  letter-spacing: 12px;
  user-select: none;
}

/* --- Table of Contents --- */
.mqh_tbfour_toc {
  background: #f5f0e8;
  border-left: 4px solid #8b0000;
  padding: 24px 30px;
  margin: 30px 0 40px;
  border-radius: 0 6px 6px 0;
}

.mqh_tbfour_toc h2 {
  font-size: 1.5rem;
  color: #8b0000;
  margin-bottom: 16px;
  border-bottom: 1px solid #d4c5a0;
  padding-bottom: 8px;
}

.mqh_tbfour_toc ol {
  list-style: none;
  counter-reset: toc-counter;
  padding-left: 0;
}

.mqh_tbfour_toc ol li {
  counter-increment: toc-counter;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.mqh_tbfour_toc ol li::before {
  content: counter(toc-counter, upper-roman) ".";
  color: #c8a951;
  font-weight: 700;
  margin-right: 10px;
}

.mqh_tbfour_toc a {
  color: #4a4a4a;
  text-decoration: none;
  border-bottom: 1px dotted #8b0000;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.mqh_tbfour_toc a:hover {
  color: #8b0000;
  border-bottom-color: #c8a951;
}

/* --- Section / Article Blocks --- */
.mqh_tbfour_section {
  margin-bottom: 42px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e0d0;
}

.mqh_tbfour_section h2 {
  font-size: 1.9rem;
  color: #8b0000;
  margin-bottom: 18px;
  position: relative;
  padding-left: 20px;
}

.mqh_tbfour_section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 70%;
  background: linear-gradient(to bottom, #8b0000, #c8a951);
  border-radius: 3px;
}

.mqh_tbfour_section p {
  font-size: 1.1rem;
  margin-bottom: 14px;
  text-align: justify;
}

/* --- First Letter Drop Cap --- */
.mqh_tbfour_dropcap::first-letter {
  font-size: 3.4rem;
  font-weight: 700;
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
  color: #8b0000;
}

/* --- Pull Quote --- */
.mqh_tbfour_pullquote {
  font-size: 1.35rem;
  font-style: italic;
  color: #6b4c2a;
  border-top: 2px solid #c8a951;
  border-bottom: 2px solid #c8a951;
  padding: 16px 24px;
  margin: 24px 40px;
  position: relative;
  text-align: center;
}

.mqh_tbfour_pullquote::before {
  content: "\201C";
  font-size: 4rem;
  color: #c8a951;
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.5;
}

.mqh_tbfour_pullquote::after {
  content: "\201D";
  font-size: 4rem;
  color: #c8a951;
  position: absolute;
  bottom: -24px;
  right: 10px;
  opacity: 0.5;
}

/* --- Floating Image --- */
.mqh_tbfour_float-img {
  float: right;
  width: 40%;
  margin: 0 0 16px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* --- Chart Area --- */
.mqh_tbfour_chart-wrap {
  background: #f5f0e8;
  padding: 24px;
  border-radius: 6px;
  margin: 28px 0;
  border: 1px solid #e0d6c2;
}

.mqh_tbfour_chart-wrap h3 {
  font-size: 1.3rem;
  color: #8b0000;
  margin-bottom: 16px;
  text-align: center;
}

.mqh_tbfour_chart-wrap canvas {
  max-width: 100%;
  margin: 0 auto;
}

/* --- Table Styles --- */
.mqh_tbfour_table-wrap {
  overflow-x: auto;
  margin: 28px 0;
}

.mqh_tbfour_table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.mqh_tbfour_table-wrap thead th {
  background: #8b0000;
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.mqh_tbfour_table-wrap tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #ece4d4;
  color: #3a3a3a;
  transition: background 0.3s ease;
}

.mqh_tbfour_table-wrap tbody tr:hover td {
  background: #faf5eb;
}

.mqh_tbfour_table-wrap tbody tr:nth-child(even) td {
  background: #f9f6f0;
}

.mqh_tbfour_table-wrap tbody tr:nth-child(even):hover td {
  background: #f3ecdd;
}

/* --- FAQ Accordion --- */
.mqh_tbfour_faq {
  margin: 36px 0;
}

.mqh_tbfour_faq h2 {
  font-size: 1.9rem;
  color: #8b0000;
  margin-bottom: 20px;
  text-align: center;
}

.mqh_tbfour_faq-item {
  border-bottom: 1px solid #e0d6c2;
  margin-bottom: 0;
}

.mqh_tbfour_faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 40px 16px 16px;
  font-size: 1.1rem;
  font-family: Georgia, serif;
  font-weight: 700;
  color: #3a3a3a;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.mqh_tbfour_faq-question:hover {
  color: #8b0000;
}

.mqh_tbfour_faq-question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #c8a951;
  transition: transform 0.3s ease;
}

.mqh_tbfour_faq-item.active .mqh_tbfour_faq-question::after {
  content: "\2212";
}

.mqh_tbfour_faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 16px;
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
}

.mqh_tbfour_faq-item.active .mqh_tbfour_faq-answer {
  max-height: 500px;
  padding: 0 16px 18px;
}

/* --- Conclusion --- */
.mqh_tbfour_conclusion {
  background: linear-gradient(135deg, #f5f0e8, #faf7f0);
  padding: 30px;
  border-radius: 6px;
  border-top: 3px solid #8b0000;
  margin-top: 36px;
}

.mqh_tbfour_conclusion h2 {
  font-size: 1.8rem;
  color: #8b0000;
  margin-bottom: 16px;
  text-align: center;
}

.mqh_tbfour_conclusion p {
  font-size: 1.1rem;
  margin-bottom: 14px;
  text-align: justify;
}

/* --- Hover Effects --- */
.mqh_tbfour_section:hover {
  border-bottom-color: #c8a951;
  transition: border-color 0.4s ease;
}

/* --- Clearfix --- */
.mqh_tbfour_clearfix::after {
  content: "";
  display: table;
  clear: both;
}
