/**
 * AM Wealth — Media & Events page
 */
.page-template-page-media-events-php .events-grid-tight {
  gap: 2.5rem;
}
.events-empty {
  color: var(--color-muted-fg);
}
.articles-block-head {
  margin-bottom: 3rem;
}
.articles-block-head__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.articles-block-head__icon {
  flex-shrink: 0;
}
.articles-block-head h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--color-primary);
  margin: 0;
}
.articles-block-head > p {
  font-size: 1.125rem;
  color: var(--color-muted-fg);
}

/* Insight cards (from inline block) */
.insight-card {
  background: var(--color-white);
  border: 1px solid rgba(139, 111, 71, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.insight-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.insight-card__img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.insight-card__body {
  padding: 1.25rem;
}
.insight-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.insight-card__cat {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-secondary);
}
.insight-card__read {
  font-size: 0.6875rem;
  color: rgba(139, 111, 71, 0.7);
}
.insight-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.insight-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.insight-card__date {
  font-size: 0.75rem;
  color: rgba(139, 111, 71, 0.6);
}
.insight-card__more {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  transition: color 0.2s;
}
.insight-card__more:hover {
  color: var(--color-secondary);
}

.media-events-cta {
  max-width: 56rem;
}
.media-events-cta__head {
  text-align: center;
  margin-bottom: 3rem;
}
.media-events-cta__head h2 {
  margin-bottom: 1rem;
}
.media-events-cta__head p {
  color: var(--color-muted-fg);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Registration modal */
#registerModal.event-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
#registerModal.event-modal.is-open {
  display: flex;
}
.event-modal__panel {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 28rem;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.event-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--color-border);
}
.event-modal__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.event-modal__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}
.event-modal__head h3 {
  font-size: 1.5rem;
}
.event-modal__head p {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  margin-top: 0.5rem;
}
.event-modal__field {
  margin-bottom: 1rem;
}
.event-modal__field--msg {
  margin-bottom: 1.5rem;
}
.event-modal__field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-fg);
  margin-bottom: 0.375rem;
}
.event-modal__req {
  color: var(--color-secondary);
}
.event-modal__opt {
  color: var(--color-muted-fg);
  font-weight: 400;
}
.event-modal__field textarea {
  resize: none;
}
.event-modal__submit {
  font-weight: 600;
}
