.council-grid {
    font-family: 'Roboto', Arial, sans-serif;
    font-size:1rem;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
  }
.council-grid {
    display: grid;
    gap: 18px;
    padding-top: 24px;
    /*padding: 24px 16px;*/
    max-width: 920px;
    /*margin: 0 auto;*/
  }


  .member-card {
    background: #ffffff;
    border: 1px solid #dde3ed;
    border-radius: 10px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);;
    display: flex;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
  }

  .member-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
  }


  .member-card.chairman {
    border-left: 4px solid #c8a84b;
  }


  .member-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .chairman-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fdf3dc;
    border: 1px solid var(--accent);
    color: #7a5800;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 11px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 2px;
  }

  .country-name {
    font-size: 1rem;
    font-weight: 500;
    color: #1a3a6b;
  }

  .member-title {
    font-size: .85rem;
    color: #6b7c93;
    line-height: 1.55;
  }

  .contacts {
    list-style: none;
    border-top: 1px solid #dde3ed;
    padding-top: 10px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: .83rem;
    color: #6b7c93;
  }

  .contacts li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size:0.8rem;
    margin-bottom:0 !important;
  }

  .contacts .ico {
    min-width: 16px;
    font-style: normal;
    line-height: 1.6;
  }

  .contacts a {
    color: #1a3a6b;
    text-decoration: none;
  }
  .contacts a:hover { text-decoration: underline; }

  .member-photo {
    width: 148px;
    min-width: 148px;
    background: #eef1f7;
    border-left: 1px solid #dde3ed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    gap: 12px;
    text-align: center;
  }

  .member-photo img {
    width: 96px;
    height: auto;
    max-height: 136px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    display: block;
  }

  .photo-placeholder {
    width: 86px;
    height: 110px;
    background: #ccd3de;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a9bb0;
    font-size: 2.2rem;
  }

  .member-name {
    font-weight: 500;
    font-size: .85rem;
    color: #2c3e50;
    line-height: 1.4;
  }

  @media (max-width: 580px) {
    .member-card { flex-direction: column-reverse; }

    .member-photo {
      width: 100%;
      min-width: unset;
      border-left: none;
      border-bottom: 1px solid #dde3ed;
      flex-direction: row;
      justify-content: flex-start;
      padding: 14px 16px;
      gap: 14px;
    }

    .member-photo img,
    .photo-placeholder {
      width: 64px;
      max-height: 80px;
    }

    .member-name { text-align: left; font-size: .9rem; }
    .member-info { padding: 16px; }
  }