  :root {
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-sub: #6b7280;
    --badge-green: #16a34a;
    --badge-blue: #2563eb;
    --accent: #2563eb;
    --radius: 10px;
  }

  * { box-sizing: border-box; }

  .page-layout {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
    padding: 20px 0;
    min-width: 0;
  }

  .fake-article {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-color);
    min-height: 400px;
  }

  .fake-article h1 { font-size: 20px; }
  .fake-article p { color: var(--text-sub); line-height: 1.8; }

  .sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .widget-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 16px;
  }

  .widget-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px 0;
    color: var(--text-main);
  }


  .broker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }


  .broker-grid-track {
    display: contents;
  }

  .broker-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0;
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .15s ease, transform .15s ease;
  }

  .broker-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .broker-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    padding: 4px 8px;
    border-radius: 9px 0 8px 0;
    color: #fff;
  }

  .broker-badge.regulated { background: var(--badge-green); }
  .broker-badge.local { background: var(--badge-blue); }

  .broker-logo-wrap {
    flex: 1;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 10px 12px;
    background: #fff;
  }

  .broker-logo-wrap img {
    max-height: 56px;
    max-width: 88%;
    object-fit: contain;
  }

  .broker-name {
    display: block;
    width: 100%;
    padding: 6px 6px;
    background: #f3f4f6;
    border-top: 1px solid #eceef1;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  .broker-grid .broker-card {
    position: relative;
    background: #fff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding: 0 !important;
    align-items: stretch !important;
    margin-bottom: 0 !important;
  }

  .broker-grid .broker-card:hover {
    border-color: #b8ddf0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .broker-grid .broker-name {
    font-size: 12px !important;
    font-weight: 500 !important;
  }


  .news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .news-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .news-item a:hover { color: #007bbd; }

  .news-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.00s ease;
    font-size: 14px;
    line-height: 1.5;
  }

  .news-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
  }

  .news-time {
    font-size: 12px;
    color: var(--text-sub);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 8px;
  }

  .news-text {
    flex: 1;
  }

  @media (max-width: 1000px) {

    .page-layout {
      flex-direction: column;
    }

    .sidebar {
      width: 100%;
      min-width: 0;
    }

    .widget-block {
      min-width: 0;
    }

 
    .broker-grid {
      display: block;
      width: 100%;
      max-width: 100%;
      min-width: 0;
      overflow: hidden;
      padding-bottom: 2px;
      cursor: grab;
      -webkit-user-select: none;
      user-select: none;
    }

    .broker-grid-track {
      display: flex;
      flex-wrap: nowrap;
      align-items: stretch;
      gap: 12px;
      width: max-content;
      will-change: transform;
    }

    .broker-grid.dragging {
      cursor: grabbing;
    }

    .broker-grid .broker-card {
      flex: 0 0 140px !important;
      min-width: 140px !important;
      width: 140px !important;
      max-width: 140px !important;
      min-height: 118px !important;
      margin-bottom: 0 !important;
    }

    .broker-grid .broker-logo-wrap {
      min-height: 58px;
      padding: 22px 8px 10px;
    }

    .broker-grid .broker-logo-wrap img {
      max-height: 53px;
      width: 100%;
    }

    .broker-grid .broker-name {
      font-size: 11px;
      padding: 7px 4px;
    }
  }


  @media (max-width: 420px) {
    body { padding: 12px; }
    .broker-grid .broker-card {
      flex-basis: 120px !important;
      min-width: 120px !important;
      width: 120px !important;
      max-width: 120px !important;
      min-height: 108px !important;
    }
  }
