#top .main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

#top #info {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 40px;
  row-gap: 8px;
  align-items: start;
  color: #0f4c93;
}

#top #info > .section-title {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #30343b;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

#top #info > .featured {
  grid-column: 1;
  grid-row: 2 / 4;
  display: block;
  overflow: hidden;
  margin: 0;
  background: #fff;
  border-radius: 16px;
}

#top #info > .featured .cover {
  display: block;
  aspect-ratio: 1.865 / 1;
  overflow: hidden;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background: #151719;
}

#top #info > .featured .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#top #info > .featured > div {
  padding: 22px 0 16px;
}

#top #info > .featured > div::before {
  content: "Terbaru";
  display: block;
  margin-bottom: 12px;
  color: #0f4c93;
  font-size: .9rem;
  font-weight: 700;
}

#top #info > .featured h5 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
}

#top #info a {
  color: inherit;
  text-decoration: none;
}

#top #info a:hover h5,
#top #info > .featured h5 a:hover {
  color: #0a2f5c;
}

#top #info > .featured p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin: 0 0 22px;
  color: #626979;
  font-size: 1rem;
  line-height: 1.6;
}

#top #info .date {
  margin: 0;
  color: #0f4c93;
  font-size: .875rem;
  font-weight: 400;
}

#top #info .date svg {
  flex: none;
  color: #0f4c93;
}

#top #info > .list {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

#top #info > .list li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 0 20px;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid #ececec;
}

#top #info > .list li:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

#top #info > .list li::before {
  content: "";
  width: 100px;
  height: 70px;
  border-radius: 8px;
  background: url("../news/news-thumb-1.svg") center / cover no-repeat;
}

#top #info > .list li:nth-child(2)::before {
  background-image: url("../news/news-thumb-2.svg");
}

#top #info > .list li:nth-child(3)::before {
  background-image: url("../news/news-thumb-3.svg");
}

#top #info > .list li:nth-child(4)::before {
  background-image: url("../news/news-thumb-4.svg");
}

#top #info > .list a {
  display: grid;
  gap: 8px;
  min-width: 0;
}

#top #info > .list a::before {
  content: none;
}

#top #info > .list h5 {
  margin: 0;
  color: #0f4c93;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

#top #info > .list .news-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: #626979;
  font-size: .9rem;
  line-height: 1.5;
}

#top #info > .list .date {
  margin-top: 4px;
}

#top #info > .list .date::before {
  content: "";
  box-sizing: border-box;
  width: 13px;
  height: 13px;
  flex: none;
  border: 1px solid #0f4c93;
  border-radius: 50%;
  background: linear-gradient(#0f4c93, #0f4c93) 5px 2px / 1px 4px no-repeat,
              linear-gradient(#0f4c93, #0f4c93) 5px 5px / 3px 1px no-repeat;
}

#top #info > .btn.out {
  display: block;
  grid-column: 2;
  grid-row: 3;
  box-sizing: border-box;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: #b40000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

#top #info > .btn.out:hover {
  background: #930000;
}

#top #info a:focus-visible {
  outline: 3px solid #b40000;
  outline-offset: 4px;
}

#top #pengumuman {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  #top #info {
    column-gap: 24px;
  }
  #top #info > .list li {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  #top #info > .list li::before {
    width: 84px;
    height: 64px;
  }
}

@media (max-width: 860px) {
  #top #info {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  #top #info > .section-title,
  #top #info > .featured,
  #top #info > .list,
  #top #info > .btn.out {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  #top #info > .featured h5 {
    font-size: 1.4rem;
  }
  #top #info > .list h5 {
    font-size: 1rem;
  }
}

/* WordPress news templates. */
#top .news-page { padding-top: 40px; padding-bottom: 56px; }
#top #info.news-dynamic > .list li::before { content: none; }
#top #info.news-dynamic > .list .news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  border-radius: 8px;
}
#top #info.news-dynamic .news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#top #info.news-dynamic > .featured .date::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  border: 1px solid #0f4c93;
  border-radius: 50%;
  background: linear-gradient(#0f4c93, #0f4c93) 5px 2px / 1px 4px no-repeat,
              linear-gradient(#0f4c93, #0f4c93) 5px 5px / 3px 1px no-repeat;
}
#top #info .news-pagination,
#top #info .news-empty { grid-column: 1 / -1; }
#top #info .news-pagination { display: flex; flex-wrap: wrap; gap: 12px; }
#top #info .news-pagination .page-numbers { padding: 8px 14px; border: 1px solid #dce4ec; border-radius: 6px; }
#top #info .news-pagination .current { background: #0f4c93; color: white; }
#top .news-article { max-width: 850px; margin: auto; }
#top .news-article h1 { color: #0f4c93; font-weight: 700; line-height: 1.3; }
#top .news-article .date { color: #0f4c93; margin: 16px 0 24px; }
#top .news-article-cover { display: block; width: 100%; height: auto; border-radius: 16px; margin-bottom: 24px; }
#top .news-article-content { line-height: 1.8; overflow-wrap: anywhere; }
#top .news-article-content img { max-width: 100%; height: auto; }

/* Card layout for the Berita archive. */
#top .news-catalog { --news-ink: #0f4c93; --news-muted: #626979; --news-border: #e7dbc1; max-width: 1320px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 32px; padding-bottom: 56px; align-items: start; }
#top .news-catalog-main { min-width: 0; }
#top .news-catalog h1 { margin: 0 0 14px; color: var(--news-ink); text-align: center; font-size: 1.6rem; font-weight: 700; }
#top .news-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
#top .news-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--news-border); border-radius: 18px; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
#top .news-card:hover { box-shadow: 0 16px 30px #20433220; transform: translateY(-4px); }
#top .news-card a { color: var(--news-ink); text-decoration: none; }
#top .news-card-image { display: block; aspect-ratio: 1.42; overflow: hidden; }
#top .news-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
#top .news-card-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
#top .news-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
#top .news-card-meta > * { padding: 5px 11px; border-radius: 24px; background: #ecf0ed; color: #0f4c93; font-size: .73rem; font-weight: 700; }
#top .news-card h2 { margin: 0 0 10px; font-size: .95rem; font-weight: 700; line-height: 1.5; }
#top .news-card-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 22px; color: var(--news-muted); font-size: .875rem; line-height: 1.6; }
#top .news-card .news-card-more { margin-top: auto; padding-top: 24px; font-size: .82rem; font-weight: 700; }
#top .news-card a:hover { color: #0a2f5c; }
#top .news-search { display: flex; gap: 4px; margin: 0 0 18px; }
#top .news-search input[type=search] { min-width: 0; width: 100%; padding: 10px 16px; border: 1px solid #d0e1d4; border-radius: 24px; font: inherit; font-size: .85rem; }
#top .news-search button { border: 0; border-radius: 24px; padding: 10px 21px; color: white; background: #143b29; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
#top .news-category-panel { padding: 20px 18px 6px; border: 1px solid var(--news-border); border-radius: 18px; }
#top .news-category-panel h2 { color: var(--news-ink); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; margin: 0 0 10px; }
#top .news-category-panel ul { list-style: none; margin: 0; padding: 0; }
#top .news-category-panel li + li { border-top: 1px dashed var(--news-border); }
#top .news-category-panel a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--news-ink); font-size: .875rem; text-decoration: none; }
#top .news-category-panel a[aria-current] { font-weight: 700; }
#top .news-category-panel a span { border-radius: 20px; background: #ecf0ed; color: #0f4c93; padding: 2px 10px; font-size: .75rem; font-weight: 700; }
#top .news-catalog-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
#top .news-catalog-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--news-border); border-radius: 8px; color: var(--news-ink); text-decoration: none; }
#top .news-catalog-pagination .current { color: white; background: #143b29; }
#top .news-catalog-empty { grid-column: 1 / -1; }
@media (max-width: 1100px) { #top .news-catalog { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; } #top .news-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { #top .news-catalog { grid-template-columns: minmax(0, 1fr); } #top .news-catalog-sidebar { grid-row: 1; } }
@media (max-width: 480px) { #top .news-card-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { #top .news-card { transition: none; } }

/* News cards: photo, plain date, two-line title and three-line excerpt. */
#top .news-catalog .news-card-grid { gap: 28px; }
#top .news-catalog .news-card { border: 0; border-radius: 13px; box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
#top .news-catalog .news-card-image { aspect-ratio: 5 / 3; }
#top .news-catalog .news-card-body { padding: 24px; }
#top .news-catalog .news-card-meta { margin-bottom: 12px; }
#top .news-catalog .news-card-meta time { padding: 0; border-radius: 0; background: transparent; color: #808080; font-size: .875rem; font-weight: 400; }
#top .news-catalog .news-card h2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 16px; font-size: 1.25rem; font-weight: 800; line-height: 1.4; }
#top .news-catalog .news-card h2 a { color: #282828; }
#top .news-catalog .news-card h2 a:hover { color: #0f4c93; }
#top .news-catalog .news-card-body p { -webkit-line-clamp: 3; margin: 0; color: #626262; font-size: 1rem; line-height: 1.5; }
@media (max-width: 520px) {
  #top .news-catalog .news-card-body { padding: 20px; }
  #top .news-catalog .news-card h2 { font-size: 1.125rem; }
}

/* Homepage: clear service access and editorial information hierarchy. */
#top .lppm-home { color: #25364b; background: #fff; }
#top .lppm-home .container { max-width: 1200px; }
#top .lppm-home .carousel { position: relative; height: 510px; }
#top .lppm-home .carousel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,31,60,.92), rgba(7,31,60,.65) 48%, rgba(7,31,60,.12)); pointer-events: none; z-index: 1; }
#top .lppm-home .home-hero-copy { position: relative; z-index: 2; padding-top: 84px; pointer-events: none; }
#top .lppm-home .home-hero-copy a { pointer-events: auto; }
#top .lppm-home .home-eyebrow { color: #d3e5ff; font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
#top .lppm-home h1 { color: #fff; font-size: clamp(1.9rem, 3.1vw, 2.8rem); line-height: 1.2; font-weight: 800; margin: 18px 0; max-width: 710px; }
#top .lppm-home .home-hero-copy p { max-width: 560px; margin: 0 0 26px; color: #e0e9f5; font-size: 1rem; line-height: 1.7; }
#top .lppm-home .home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
#top .lppm-home .home-actions a { display: inline-flex; align-items: center; gap: 20px; padding: 12px 18px; border-radius: 8px; font-size: .875rem; font-weight: 700; text-decoration: none; }
#top .lppm-home .home-primary { background: #fff; color: #0f4c93; }
#top .lppm-home .home-secondary { color: #fff; background: #ffffff12; border: 1px solid #ffffff65; }
#top .lppm-home .arrow { z-index: 3; width: 42px; height: 42px; top: 45%; bottom: auto; border-radius: 50%; background: #ffffff20; opacity: 1; font-size: 2rem; }
#top .lppm-home .arrow.prev { left: 12px; }
#top .lppm-home .arrow.next { right: 12px; }
#top .lppm-home .dots { z-index: 3; bottom: 40px; }
#top .lppm-home > .quick { z-index: 5; max-width: 1200px; margin-bottom: 0; }
#top .lppm-home .home-services { padding-top: 56px; padding-bottom: 56px; }
#top .lppm-home .home-section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 24px; }
#top .lppm-home .home-kicker { display: block; margin-bottom: 10px; color: #0f4c93; font-size: .75rem; font-weight: 800; letter-spacing: .09em; }
#top .lppm-home h2 { font-size: 1.75rem; line-height: 1.3; font-weight: 750; color: #152d49; }
#top .lppm-home .home-section-head > p { max-width: 340px; margin: 0; color: #626f80; font-size: .9rem; line-height: 1.6; }
#top .lppm-home .home-service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
#top .lppm-home .home-service-grid > a { display: flex; flex-direction: column; padding: 24px; border: 1px solid #dfE7f0; border-radius: 12px; background: #fff; color: #25364b; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
#top .lppm-home .home-service-grid > a:hover { border-color: #1976d2; box-shadow: 0 8px 24px #0f4c9310; }
#top .lppm-home .home-service-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #edf5ff; color: #0f4c93; font-size: .8rem; font-weight: 700; margin-bottom: 20px; }
#top .lppm-home .home-service-grid h3 { color: #152d49; font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
#top .lppm-home .home-service-grid p { margin: 0 0 20px; color: #626f80; font-size: .875rem; line-height: 1.6; }
#top .lppm-home .home-service-link { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; color: #0f4c93; font-size: .8rem; font-weight: 700; }
#top .lppm-home .home-about { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; padding-bottom: 64px; }
#top .lppm-home .home-about-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 1.5; background: #edf5ff; }
#top .lppm-home .home-about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
#top .lppm-home .home-about h2 { margin-bottom: 18px; }
#top .lppm-home .home-about p { color: #626f80; font-size: .95rem; line-height: 1.75; margin: 0 0 12px; }
#top .lppm-home .home-text-link { display: inline-block; color: #0f4c93; font-weight: 700; font-size: .9rem; text-decoration: none; margin-top: 10px; }
#top .lppm-home .home-updates { padding: 56px 0 64px; background: #f6f9fd; border-top: 1px solid #e6edf5; }
#top .lppm-home .main-grid { gap: 48px; }
#top .lppm-home #pengumuman { grid-row: 1; margin: 0; padding: 26px; border: 1px solid #dce7f5; border-radius: 14px; background: #fff; }
#top .lppm-home #pengumuman > .section-title { margin-bottom: 18px; padding: 0; background: transparent; color: #152d49; font-size: 1.25rem; font-weight: 750; }
#top .lppm-home #pengumuman .list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-bottom: 20px; }
#top .lppm-home #pengumuman .list li { padding: 14px 0 0; border-top: 2px solid #dce7f5; }
#top .lppm-home #pengumuman h5 { color: #25364b; font-size: .95rem; line-height: 1.5; font-weight: 600; }
#top .lppm-home #pengumuman .date { margin-top: 10px; font-size: .8rem; color: #626f80; }
#top .lppm-home #pengumuman .btn { font-size: .875rem; padding: 9px 14px; }
#top .lppm-home #info { grid-row: 2; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); row-gap: 20px; column-gap: 36px; }
#top .lppm-home #info > .section-title { font-size: 1.75rem; }
#top .lppm-home #info > .featured { border: 1px solid #e3eaf3; }
#top .lppm-home #info > .featured > div { padding: 22px 24px; }
#top .lppm-home #info > .featured h5 { font-size: 1.45rem; line-height: 1.35; }
#top .lppm-home #info > .featured p { font-size: .95rem; }
#top .lppm-home #info > .list li { margin-bottom: 18px; padding-bottom: 18px; }
#top .lppm-home #info > .btn.out { align-self: start; }
#top .lppm-home .team { padding: 64px 0; background: #fff; }
#top .lppm-home .team > .container > .home-kicker { text-align: center; }
#top .lppm-home .team h2 { margin-bottom: 12px; }
#top .lppm-home .team h2::after { display: none; }
#top .lppm-home .home-team-intro { text-align: center; color: #626f80; margin: 0 0 32px; font-size: .95rem; }
#top .lppm-home .person { border-radius: 14px; box-shadow: none; }
#top .lppm-home .person::before { height: 64px; background: #edf5ff; }
#top .lppm-home .person .avatar { width: 80px; height: 80px; margin-top: -40px; background: #0f4c93; box-shadow: none; font-size: 1.4rem; }
#top .lppm-home a:focus-visible { outline: 3px solid #1976d2; outline-offset: 4px; }
@media (max-width: 1000px) {
  #top .lppm-home .home-hero-copy { padding-left: 64px; padding-right: 64px; }
  #top .lppm-home .home-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #top .lppm-home .home-about { gap: 32px; }
}
@media (max-width: 860px) {
  #top .lppm-home #info { grid-template-columns: minmax(0,1fr); }
  #top .lppm-home #pengumuman .list { grid-template-columns: minmax(0,1fr); gap: 12px; }
  #top .lppm-home .home-about { grid-template-columns: minmax(0,1fr); }
  #top .lppm-home .home-about-photo { max-height: 280px; }
}
@media (max-width: 520px) {
  #top .lppm-home .carousel { height: 550px; }
  #top .lppm-home .home-hero-copy { padding: 56px 44px 0; }
  #top .lppm-home .home-hero-copy p { font-size: .9rem; }
  #top .lppm-home .home-actions { gap: 8px; }
  #top .lppm-home .home-actions a { padding: 11px 14px; font-size: .8rem; }
  #top .lppm-home .home-section-head { display: block; }
  #top .lppm-home .home-section-head > p { margin-top: 12px; }
  #top .lppm-home h2 { font-size: 1.45rem; }
  #top .lppm-home .home-service-grid { gap: 12px; }
  #top .lppm-home .home-service-grid > a { padding: 18px; }
  #top .lppm-home .home-service-grid h3 { font-size: .95rem; }
  #top .lppm-home .home-services { padding-top: 40px; padding-bottom: 40px; }
  #top .lppm-home #pengumuman { padding: 20px; }
  #top .lppm-home #info > .featured > div { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { #top .lppm-home .home-service-grid > a { transition: none; } }

/* Team portraits occupy the full upper area of each card. */
#top .lppm-home .person { padding: 0 24px 26px; }
#top .lppm-home .person::before,
#top .lppm-home .person::after { display: none; }
#top .lppm-home .person .avatar { align-self: center; width: calc(100% + 48px); height: auto; aspect-ratio: 4 / 3; margin: 0 0 4px; border: 0; border-radius: 0; background: linear-gradient(135deg, #edf5ff, #dbe9fa); color: #0f4c93; font-size: 3.5rem; }
#top .lppm-home .person .avatar img { object-fit: contain; object-position: center bottom; }
#top .lppm-home .person .avatar img[hidden] { display: none; }
#top .lppm-home .person h4 { font-size: 1.1rem; }
#top .lppm-home .person .icons { margin-top: auto; padding-top: 20px; }

/* Align the news action with the heading and keep both columns compact. */
#top .lppm-home #info { grid-template-rows: auto auto; align-items: start; gap: 24px 32px; }
#top .lppm-home #info > .section-title { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
#top .lppm-home #info > .btn.out { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; width: auto; padding: 10px 18px; }
#top .lppm-home #info > .featured { grid-column: 1; grid-row: 2; }
#top .lppm-home #info > .featured .cover { aspect-ratio: 16 / 9; border-radius: 14px 14px 0 0; }
#top .lppm-home #info > .list { grid-column: 2; grid-row: 2; padding: 22px; background: #fff; border: 1px solid #e3eaf3; border-radius: 14px; }
#top .lppm-home #info > .list li { grid-template-columns: 100px minmax(0,1fr); gap: 16px; margin-bottom: 18px; padding-bottom: 18px; }
#top .lppm-home #info > .list li:last-child { margin-bottom: 0; padding-bottom: 0; }
#top .lppm-home #info > .list h5 { font-size: 1rem; line-height: 1.45; }
#top .lppm-home #info > .list .news-excerpt { font-size: .875rem; }
@media (max-width: 860px) {
  #top .lppm-home #info > .section-title { grid-column: 1; grid-row: 1; }
  #top .lppm-home #info > .featured { grid-column: 1; grid-row: 2; }
  #top .lppm-home #info > .list { grid-column: 1; grid-row: 3; }
  #top .lppm-home #info > .btn.out { grid-column: 1; grid-row: 4; justify-self: stretch; width: 100%; }
}
@media (max-width: 520px) {
  #top .lppm-home #info > .list { padding: 18px; }
  #top .lppm-home #info > .list li { grid-template-columns: 80px minmax(0,1fr); gap: 12px; }
}

/* Keep team-photo alternative text readable when images are unavailable. */
#top .lppm-home .person .avatar,
#top .lppm-home .person .avatar > span,
#top .lppm-home .person .avatar > img { font-size: 14px; }

/* Posts without featured images use the available width for text. */
#top #info.news-dynamic > .list li.no-image { grid-template-columns: minmax(0, 1fr); }
#top #info.news-dynamic > .list li.no-image .news-summary { grid-column: 1 / -1; }
#top .lppm-home #info > .list li::before { content: none; }

#top .lppm-home .people > .person:only-child { grid-column: 1 / -1; width: 100%; max-width: 380px; justify-self: center; }

/* Academic profile links use the supplied logo assets. */
#top .lppm-home .person .academic-profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
#top .lppm-home .person .academic-profiles a { display: inline-flex; align-items: center; justify-content: center; height: 38px; flex: 1 1 76px; max-width: 108px; padding: 8px 10px; background: #fff; border: 1px solid #dce7f5; border-radius: 8px; }
#top .lppm-home .academic-profiles img { display: block; max-width: 100%; width: auto; max-height: 22px; height: auto; object-fit: contain; }
#top .lppm-home .person .team-expertise { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e7edf5; }
#top .lppm-home .team-expertise b { display: block; margin-bottom: 5px; color: #0f4c93; font-size: .8rem; }

/* Balanced four-member team and clear academic-profile interactions. */
#top .lppm-home .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#top .lppm-home .person .academic-profiles a { transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
#top .lppm-home .academic-profiles img { transition: transform .2s ease; }
#top .lppm-home .person .academic-profiles a:hover,
#top .lppm-home .person .academic-profiles a:focus-visible { background: #edf5ff; border-color: #1976d2; box-shadow: 0 4px 12px rgba(15,76,147,.16); transform: translateY(-2px); }
#top .lppm-home .academic-profiles a:hover img,
#top .lppm-home .academic-profiles a:focus-visible img { transform: scale(1.06); }
@media (max-width: 1100px) {
  #top .lppm-home .people { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
}
@media (max-width: 600px) {
  #top .lppm-home .people { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  #top .lppm-home .person .academic-profiles a,
  #top .lppm-home .academic-profiles img { transition: none; }
  #top .lppm-home .person .academic-profiles a:hover,
  #top .lppm-home .person .academic-profiles a:focus-visible,
  #top .lppm-home .academic-profiles a:hover img,
  #top .lppm-home .academic-profiles a:focus-visible img { transform: none; }
}

/* Keep all three academic profile logos on one row within each team card. */
#top .lppm-home .person .academic-profiles { flex-wrap: nowrap; gap: 6px; }
#top .lppm-home .person .academic-profiles a { flex: 1 1 0; min-width: 0; max-width: none; padding: 8px 6px; }
