.tpa-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.tpa-wrap, .tpa-grid, .tpa-card, .tpa-featured {
  box-sizing: border-box;
  max-width: 100%;
}

/* Featured (large) card */
.tpa-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid #E7ECEF;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 40px;
}

.tpa-featured-media {
  display: block;
  aspect-ratio: 16 / 10;
  background-color: #1F6F5B;
  background-size: cover;
  background-position: center;
}

.tpa-featured-body {
  padding: 12px 32px 12px 0;
}

.tpa-featured-body h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 26px;
  color: #102A43;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.tpa-featured-body h2 a {
  color: inherit;
  text-decoration: none;
}

.tpa-featured-body h2 a:hover {
  color: #1F6F5B;
}

@media (max-width: 800px) {
  .tpa-featured {
    grid-template-columns: 1fr;
  }
  .tpa-featured-body {
    padding: 0 20px 20px;
  }
}

/* Regular grid */
.tpa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.tpa-card {
  background: #fff;
  border: 1px solid #E7ECEF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tpa-card:hover {
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.12);
  transform: translateY(-3px);
}

.tpa-media {
  display: block;
  aspect-ratio: 16 / 9;
  background-color: #F3F6F8;
  background-size: cover;
  background-position: center;
}

.tpa-body {
  padding: 20px;
}

.tpa-card h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  color: #102A43;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.tpa-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tpa-card h3 a:hover {
  color: #1F6F5B;
}

.tpa-excerpt {
  font-family: 'Public Sans', sans-serif;
  font-size: 14.5px;
  color: #5B6B78;
  line-height: 1.5;
  margin-bottom: 12px;
}

.tpa-meta {
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  color: #8494A0;
}

/* Load more button */
.tpa-load-more {
  display: block;
  margin: 28px auto 0;
  height: 46px;
  padding: 0 26px;
  border-radius: 9px;
  border: 1.5px solid #102A43;
  background: transparent;
  color: #102A43;
  font-family: 'Public Sans', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tpa-load-more:hover {
  background: #102A43;
  color: #fff;
}

.tpa-load-more:disabled {
  opacity: 0.6;
  cursor: default;
}

@media (max-width: 600px) {
  .tpa-wrap { padding: 16px; }
  .tpa-grid { gap: 14px; }
  .tpa-featured-body h2 { font-size: 21px; }
}
