#custom-regform{
    font-family:Lato,sans-serif
}
#custom-regform input{
    font-size:13px
}
#custom-regform .form-header{
    border-top-left-radius:6px;
    border-top-right-radius:6px;
    text-transform:uppercase;
    background:#60359b;
    text-align:center;
    color:#fff;
    font-weight:700;
    margin:0;
    padding:30px 24px;
    font-size:20px;
    letter-spacing:2px;
    font-family:inherit;
    line-height:40px;
    white-space:normal;
    word-break:break-word
}
.form-body{
    margin:0;
    padding:16px;
    box-sizing:border-box;
    text-indent:0;
    text-align:left
}
.form-wrapper {
    max-width: 380px;
    display: block;
    background: #f1f1f1;
    margin: 24px auto;
    border-radius: 4px;
}
.form-wrapper > div:first-of-type {
    background-color: #1A1AA2;
    padding: 8px;
}
.form-wrapper > div:first-of-type p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
}
.form-header {
    display: none;
}
.form-check,
.form-check-label,
.form-check-label a {
    line-height: 1.2;
    cursor: pointer;
    color: #333;
}
.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 4px;
  min-height: 0;
}
.form-legal {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin: 12px 0 8px;
}
.form-legal a {
  color: #154F5A;
  font-weight: 600;
}
#mypost {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0px 1px 10px 1px #ebebeb;
  padding-bottom: 10px;
}
.form-control {
  margin-bottom: 10px;
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: 1px solid gray;
}
#submit {
  border: none;
  background-color: #FF8C00;
  font-size: 18px;
  margin-top: 18px;
  height: 55px;
  font-weight: 800;
  width: 100%;
  color: #fff;
}
.iti {
  width: 100%;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.modal-open {
  opacity: 1;
  display: block;
}
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  color: #374151;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.modal.modal-open .modal-content {
  animation: modalFadeIn 0.3s ease forwards;
}
.modal .close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 16px;
  right: 16px;
  z-index: 50;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 16px 40px 16px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

.cookie-banner.hidden,
#cookie-modal.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #666;
  text-align: center;
}

.cookie-banner-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.cookie-banner-actions span {
  font-size: 14px;
  color: #666;
  line-height: 1;
}

.cookie-banner-actions button {
  appearance: none;
  -webkit-appearance: none;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: underline;
  cursor: pointer;
  color: #3b82f6 !important;
}

.cookie-banner-actions button[aria-label="Decline"] {
  color: #666 !important;
}

.cookie-banner-close {
  position: absolute;
  top: 4px;
  right: 8px;
  appearance: none;
  -webkit-appearance: none;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 4px 8px !important;
  margin: 0 !important;
  height: auto !important;
  width: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer;
  color: #111 !important;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0f172a;
  color: #fff;
}

.topbar a {
  text-decoration: none;
  color: inherit;
}

.topbar .logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
}

.topbar .logo-icon {
  flex: 0 0 auto;
  display: block;
}

#author-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "ibm-plex-sans", sans-serif;
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.25;
  margin: 12px 0 16px;
}

#author-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

#author-avatar-btn img,
#author-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#author-modal-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex: 0 0 auto;
}

#author-name-btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.page_layout > .row.page_margin_top:has(> .page-sidebar) {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  clear: both;
  width: 100%;
}

.page_layout > .row.page_margin_top:has(> .page-sidebar)::after {
  display: none !important;
  content: none !important;
}

.page_layout > .row.page_margin_top:has(> .page-sidebar) > .column_2_3 {
  float: none !important;
  width: 690px !important;
  max-width: calc(100% - 360px);
  flex: 1 1 auto;
  margin-left: 0 !important;
}

.page_layout > .row.page_margin_top:has(> .page-sidebar) > .page-sidebar,
.page-sidebar {
  float: none !important;
  display: block !important;
  width: 330px !important;
  flex: 0 0 330px;
  margin-left: 30px !important;
}

.page-sidebar .tradingview-widget-container,
.page-sidebar .finlogix-container {
  width: 100% !important;
  max-width: 100%;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.page-sidebar .finlogix-container.sidebar-symbol-list {
  height: 560px !important;
  min-height: 560px !important;
  overflow: hidden !important;
}

.page-sidebar .finlogix-container.sidebar-symbol-list iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 560px !important;
  border: 0 !important;
  overflow: hidden !important;
  display: block;
}

.page-sidebar .sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-sidebar .tradingview-widget-container {
  width: 100% !important;
  height: 550px !important;
  display: block !important;
}

.page-sidebar .tradingview-widget-container.sidebar-tv-events {
  height: 700px !important;
}

.post.single blockquote.inside_text {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center;
}

a.comments-cta,
.post.single a.comments-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 10px 16px;
  border: 1px solid #0A5C36;
  border-radius: 4px;
  background: #fff;
  color: #0A5C36 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  float: none;
  clear: both;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.comments-cta::before,
.post.single a.comments-cta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

a.comments-cta:hover,
a.comments-cta:focus,
.post.single a.comments-cta:hover,
.post.single a.comments-cta:focus {
  background: #0A5C36 !important;
  color: #fff !important;
  border-color: #0A5C36 !important;
  text-decoration: none !important;
}

.page-sidebar .tradingview-widget-copyright {
  font-size: 13px !important;
  line-height: 32px !important;
  text-align: center !important;
  font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif !important;
  color: #B2B5BE !important;
}

.page-sidebar .tradingview-widget-copyright .blue-text {
  color: #2962FF !important;
}

.page-sidebar .tradingview-widget-copyright a {
  text-decoration: none !important;
  color: #B2B5BE !important;
}

@media (max-width: 999px) {
  .page_layout > .row.page_margin_top:has(> .page-sidebar) {
    flex-wrap: wrap !important;
  }

  .page_layout > .row.page_margin_top:has(> .page-sidebar) > .column_2_3 {
    width: 100% !important;
    max-width: 100%;
  }

  .page_layout > .row.page_margin_top:has(> .page-sidebar) > .page-sidebar,
  .page-sidebar {
    display: none !important;
  }
}
