/* Task-based navigation and resident/publication hubs. No animation dependency. */
.representative-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.representative-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}
.representative-card h3 {
  font-size: 23px;
}
.representative-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #e5eee9;
  border-radius: 8px;
  margin-bottom: 24px;
}
.representative-photo-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #e5eee9;
  color: #343b37;
}
.representative-photo-placeholder .icon {
  width: 64px;
  height: 64px;
}
.representative-card:nth-child(2) .representative-photo-placeholder {
  background: #e8eff5;
}
.representative-card:nth-child(3) .representative-photo-placeholder {
  background: #f6ecda;
}
.representative-card:nth-child(4) .representative-photo-placeholder {
  background: #f4e7e1;
}
.community-archive-photo {
  margin: 0 0 24px;
}
.community-archive-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (max-width: 1100px) {
  .representative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .representative-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  .representative-grid {
    display: block;
  }
  .representative-card {
    break-inside: avoid;
    margin-bottom: 16px;
  }
}
.page-home .hub-contact-actions {
  min-width: 0;
}
.page-home .hub-contact-actions a {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.hub-section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}
.hub-section-heading h2 {
  margin-bottom: 12px;
}
.hub-contact, .edition-feature, .community-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hub-contact {
  padding: clamp(24px, 4vw, 48px);
  background: #edf3ef;
  border: 1px solid #d3ded6;
  border-radius: 12px;
}
.hub-contact h2 {
  font-size: clamp(26px, 3vw, 38px);
}
.hub-contact p:last-child {
  margin-bottom: 0;
}
.hub-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.hub-contact-actions a {
  overflow-wrap: anywhere;
}
.hub-tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.hub-task {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf8;
  text-decoration: none;
  color: #292b2a;
}
.hub-task:nth-child(2) {
  background: #edf3f7;
}
.hub-task:nth-child(3) {
  background: #f7efeb;
}
.hub-task:nth-child(4) {
  background: #edf3ef;
}
.hub-task > .icon {
  width: 32px;
  height: 32px;
}
.hub-task h3 {
  font-size: 21px;
  margin: 0 0 10px;
}
.hub-task p {
  margin: 0;
  font-size: 14px;
}
.hub-task:hover {
  border-color: #555e59;
}
.hub-task-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hub-secondary-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
}
.hub-secondary-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: #292b2a;
  text-decoration: none;
}
.hub-secondary-links a:hover {
  text-decoration: underline;
}
.hub-secondary-links small {
  display: block;
  margin-top: 5px;
  color: #535a56;
  font-size: 12px;
}
.edition-feature {
  padding: clamp(24px, 4vw, 52px);
  background: #faf4e6;
  border-radius: 12px;
  grid-template-columns: minmax(160px, .65fr) minmax(0, 1.35fr);
}
.edition-feature-cover {
  display: block;
  max-width: 280px;
  margin-inline: auto;
}
.edition-feature-text {
  grid-template-columns: 1fr;
}
.edition-feature-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d3cec3;
  box-shadow: 0 12px 30px #292b2a12;
}
.edition-feature h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 10px 0 16px;
}
.edition-highlights {
  padding-left: 20px;
  margin: 18px 0 26px;
}
.edition-highlights li {
  padding-left: 4px;
  margin-bottom: 10px;
}
.policy-facts {
  margin: 20px 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.policy-facts div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 6px 0;
}
.policy-facts dt {
  color: #535a56;
}
.policy-facts dd {
  margin: 0;
  font-weight: 500;
}
.policy-source-note {
  font-size: 12px;
  color: #535a56;
}
.policy-full-description {
  margin: 12px 0;
  font-size: 13px;
}
.policy-full-description summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.community-feature {
  align-items: start;
}
.community-feature figure {
  margin: 0;
}
.community-feature figure img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #f4f1e9;
  border-radius: 10px;
}
.community-updates, .story-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.community-update, .story-highlight {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
}
.community-update:nth-child(2) {
  background: #edf3ef;
}
.community-update .story-scene, .story-highlight .story-scene {
  max-width: 220px;
  margin: 0 auto 22px;
}
.community-update h2 {
  font-size: clamp(25px, 3vw, 34px);
}
.community-update details {
  margin-top: 20px;
  font-size: 13px;
}
.community-update summary {
  cursor: pointer;
  font-weight: 500;
}
.community-update details p {
  margin-top: 12px;
  font-size: 13px;
}
.story-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.story-highlight {
  display: flex;
  flex-direction: column;
}
.story-highlight h3 {
  font-size: 23px;
  margin-top: 0;
}
.story-highlight p {
  font-size: 14px;
}
.story-highlight > a {
  margin-top: auto;
  padding-top: 16px;
}
.story-highlights + .button-row {
  margin-top: 28px;
}
@media (max-width: 899px) {
  .hub-secondary-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-updates {
    grid-template-columns: 1fr;
  }
  .story-highlights {
    grid-template-columns: 1fr;
  }
  .story-highlight .story-scene {
    max-width: 180px;
  }
}
/* Let long action labels wrap within narrow cards and enlarged text settings. */
.community-update .button, .edition-feature .button {
  max-width: 100%;
  text-align: left;
}
.hub-contact > *, .edition-feature > *, .community-feature > *, .story-highlight > * {
  min-width: 0;
}
@media (max-width: 600px) {
  .hub-contact, .hub-tasks, .edition-feature, .community-feature, .community-updates, .hub-secondary-links {
    grid-template-columns: 1fr;
  }
  .hub-task {
    padding: 22px;
    gap: 10px;
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .edition-feature-cover {
    max-width: 150px;
  }
  .community-feature figure img {
    max-height: 360px;
  }
  .hub-contact-actions .button {
    max-width: 100%;
  }
}
@media print {
  .hub-contact, .edition-feature, .community-feature, .hub-tasks, .community-updates, .story-highlights, .hub-secondary-links {
    display: block;
  }
  .hub-task, .community-update, .story-highlight {
    margin-bottom: 16px;
    break-inside: avoid;
  }
  .edition-feature-cover {
    max-width: 120px;
  }
}
