/* Groups We Hate / Groups We Love pages */
.groups-page {
  padding: 48px 0;
}

.group-section {
  padding: 40px 0;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.group-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ddd;
  border-radius: 4px;
}

.group-logo.img-placeholder {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  font-size: 0.65rem;
}

.group-header h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.group-body {
  color: #333;
  line-height: 1.7;
  overflow: hidden;
}

.group-photo {
  float: right;
  width: 250px;
  margin: 0 0 16px 20px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid #ddd;
  background: #ccc;
}

.group-photo.img-placeholder {
  float: right;
  width: 250px;
  height: 180px;
  margin: 0 0 16px 20px;
  flex-shrink: 0;
}

.group-body p {
  margin-bottom: 12px;
}

.group-articles {
  clear: both;
  margin-top: 16px;
}

.group-articles h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #555;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.group-articles ul {
  list-style: disc;
  padding-left: 20px;
}

.group-articles ul li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.group-articles ul li a {
  color: var(--color-blue);
}

.group-articles ul li a:hover {
  color: var(--color-red);
}

@media (max-width: 639px) {
  .group-photo, .group-photo.img-placeholder {
    float: none;
    width: 100%;
    height: 160px;
    margin: 0 0 16px 0;
  }
}
