.afp-external-communications {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.afp-external-communications__title {
  margin: 0 0 24px;
}

.afp-press__subtitle {
  margin: 8px 0 0;
  color: var(--afp-homepage-muted);
  font-size: 0.875rem;
}

.afp-press__list-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.afp-press__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.afp-press__item {
  border-bottom: 1px solid var(--afp-homepage-border);
  padding: 20px 0;
}

.afp-press__item:first-child {
  padding-top: 0;
}

.afp-press__date {
  display: block;
  margin-bottom: 8px;
  color: var(--afp-homepage-muted);
  font-size: 0.8125rem;
  line-height: 1;
}

.afp-press__item-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

/* YOG-1126: MediaConnect (or per-item issuer) logo badge. */
.afp-press__source-icon {
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.afp-press__source-icon img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  opacity: 1;
}

.afp-press__title {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--afp-homepage-text, #1a1a2e);
  text-decoration: none;
}

.afp-press__title:hover {
  text-decoration: underline;
}

.afp-press__excerpt {
  margin: 0;
  color: var(--afp-homepage-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.afp-press__list-column > .afp-homepage-link {
  margin-top: 24px;
}

.afp-press-search {
  border-radius: 8px;
  background: var(--afp-homepage-light-blue);
  padding: 40px;
  align-self: start;
}

.afp-press-search__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.afp-press-search__desc {
  margin: 0 0 24px;
  color: var(--afp-homepage-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.afp-press-search__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 16px;
}

.afp-press-search__bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  outline: none;
  padding: 4px 4px;
}

.afp-press-search__bar button {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: var(--afp-homepage-blue);
  color: #fff;
  cursor: pointer;
}

.afp-press-search__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.afp-press-search__tag {
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--afp-homepage-border, #d8dde6);
  background: #fff;
  font-size: 0.8125rem;
  color: var(--afp-homepage-text, #1a1a2e);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.afp-press-search__tag:hover,
.afp-press-search__tag.is-active {
  background: var(--afp-homepage-blue);
  border-color: var(--afp-homepage-blue);
  color: #fff;
}

.afp-press__list.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.afp-press__item--empty {
  color: var(--afp-homepage-text-muted, #6b7280);
  font-size: 0.9375rem;
  padding: 24px 0;
}

.afp-press__layout {
  display: grid;
  grid-template-columns: minmax(0, 648px) minmax(320px, 480px);
  justify-content: space-between;
  gap: 64px;
}

.afp-press {
  min-height: 662px;
}

.afp-press-search__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

@media (max-width: 1023px) {
  .afp-press {
    min-height: 0;
  }

  .afp-press__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .afp-press-search {
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .afp-press-search {
    padding: 24px;
  }

  .afp-press-search__title {
    font-size: 1.25rem;
  }

  .afp-press__item {
    padding: 16px 0;
  }
}
