* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #1c1c1c;
  line-height: 1.6;
}
.info-column {
  flex: 1;
  padding: 24px;
  min-width: 0; /* Prevent flex overflow */
}

    
.profile-card {
      margin-top: 50px;
      background: white;
      border-radius: 8px;
      padding: 0;
      overflow: hidden;
      display: flex;
      flex-wrap: wrap;
      border: 1px solid #e0e0e0;
    }

.photo-column {
  flex: 0 0 auto;
  max-width: 100%;
}


    .photo-wrapper img {
      display: block;
      width: 200px;
      height: auto;
      object-fit: contain;
      border-radius: 8px 0 8px 0;
    }

    .info-column {
      flex: 1;
      padding: 24px;
    }

    .legislator-name {
      font-weight: 600;
      font-size: 2.2rem;
      margin-bottom: 12px;
      color: #212121;
    }

    .info-list {
      list-style: none;
      padding-left: 0;
      margin-top: 20px;
    }

    .info-list li {
      padding: 8px 0;
      font-size: 1.05rem;
      border-bottom: 1px solid #f0f0f0;
    }

    .label {
      font-weight: 600;
      color: #333;
      display: inline-block;
    }
.custom-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 20px;
  gap: 6px;
}

.custom-pagination a {
  padding: 6px 12px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  transition: background 0.2s;
}

.custom-pagination a:hover {
  background: #f0f0f0;
}

.custom-pagination a.active {
  background: #333;
  color: #fff;
  border-color: #333;
}


.page-btn {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background-color: #f5f5f5;
}

.page-btn.active {
  background-color: #333;
  color: #fff;
  border-color: #333;
  font-weight: bold;
  pointer-events: none;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}
.z-depth-1 {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
body.grey.lighten-5 {
  background-color: #f9f9f9;
}

.bill-list {
  margin-top: 12px;
  padding-left: 0;
}

.bill-entry {
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}

.bill-entry a {
  font-weight: 500;
  font-size: 1.05rem;
  color: #1a0dab;
  text-decoration: none;
}

.bill-entry a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

.bill-entry small {
  display: block;
  margin-top: 4px;
  color: #777;
  font-size: 0.9rem;
}

.committee-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  width: 100%;
  font-size: 14px;
  text-decoration: none;
  color: #1e293b;
  border-radius: 4px;
  transition: background 0.2s;
}

.committee-btn:hover,
.committee-btn:focus {
  background: #e2e8f0;
}

.committee-btn i {
  color: #334155;
}

.committee-btn small {
  margin-left: 10px;
  font-size: 12px;
  color: #475569;
}

.committee-btn .committee-arrow-icon {
  margin-left: 10px;
}

.committee-item + .committee-item {
  margin-top: 6px;
}


body {
  overflow-x: hidden;
}

.container {
  box-sizing: border-box;
}

.profile-card,
.photo-column,
.info-column {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
}
#committee-memberships-container {
  width: 100%;
  box-sizing: border-box;
}
.pin-btn {
  background: none;
  border: none;
  margin-left: 8px;
  font-size: 1rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pin-btn.pinned i {
  color: #e74c3c;
  transform: rotate(-20deg);
}
.website-link {
  display: inline-block;
  font-weight: 500;
  color: #1e40af;
  text-decoration: none;
  word-break: break-word;
  margin-top: 4px;
}

.website-link:hover {
  text-decoration: underline;
  color: #1c3faa;
}
.cosponsor-pill {
  display: inline-block;
  background: #f4f4f4;
  color: #333;
  padding: 6px 12px;
  margin: 4px 6px 4px 0;
  font-size: 0.95em;
  border-radius: 20px;
  border: 1px solid #ccc;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.cosponsor-pill:hover {
  background-color: #e0e0e0;
}

.cosponsor-pill .meta {
  margin-left: 6px;
  color: #777;
  font-size: 0.9em;
}

.cosponsor-list a.cosponsor-pill {
  display: block; /* Forces each pill to be on its own line */
  margin-bottom: 0.4rem;
  max-width: max-content;
}


@media (max-width: 600px) {
  .profile-card {
    flex-direction: column;
    padding: 0;
  }

  .row.no-margin {
    flex-direction: column;
  }

  .photo-column {
    width: 100%;
  }

  .photo-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    display: block;
  }

  .info-column {
    width: 100%;
    padding: 16px;
  }
	  .custom-pagination {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-left: 8px;
  }
}


