/* Shared editorial card style, including existing partner-story cards. */
.wp-block-group:is(.is-style-ost-card,.ost-partner-card) {
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(20px,2.5vw,30px);
  border: 1px solid #dce9e1;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--ost-shadow-soft,0 9px 28px rgba(14,49,29,.075));
  overflow-wrap: break-word;
}
.wp-block-group:is(.is-style-ost-card,.ost-partner-card)>:first-child { margin-top: 0; }
.wp-block-group:is(.is-style-ost-card,.ost-partner-card)>:last-child { margin-bottom: 0; }
.wp-block-group.ost-partner-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  align-items: stretch;
}
.wp-block-group.ost-partner-grid>.wp-block-group { min-width: 0; margin: 0; }
.wp-block-group.ost-partner-grid>.ost-partner-card { display: flex; flex-direction: column; padding: 22px; }
.wp-block-group.ost-partner-grid>.ost-partner-card h3 { font-size: 1.4rem; line-height: 1.2; }
.wp-block-group.ost-partner-grid>.ost-partner-card>.wp-block-buttons { margin-top: auto; padding-top: 12px; }
@media (min-width:782px) and (max-width:1100px) {
  .wp-block-group.ost-partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:781px) {
  .wp-block-group.ost-partner-grid { grid-template-columns: minmax(0,1fr); }
}
