/**
 * Shared event components.
 *
 * Organization themes load after this stylesheet and own visual overrides.
 */

.psy-event-section {
  margin: 2.5rem 0;
}

.eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.event .entry-header div.category-badge a {
  background-color: var(--ast-global-color-1);
  border-radius: 5px;
  color: white;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.psy-event-card {
  border-radius: var(--radius-event-card, 8px);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  min-height: 300px;
  width: 100%;
}

.psy-event-card__summary,
.psy-event-card__details,
.psy-event-card__art {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 40px;
}

.psy-event-card__summary {
  justify-content: space-between;
  border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
}

.psy-event-card__details,
.psy-event-card__art {
  border-radius: 0 var(--radius-top-right, 8px) var(--radius-md, 8px) 0;
}

.psy-event-card__main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.psy-event-card h3 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0;
}

.psy-event-card h3,
.psy-event-card h3 a {
  color: var(--ast-global-color-0);
}

.psy-event-card h3 a {
  text-decoration: none;
}

.psy-event-card__details {
  background: white;
  gap: 2rem;
}

.psy-event-card__supporting {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.psy-event-card__category {
  color: var(--ast-global-color-5);
}

.psy-event-card__schedule {
  color: var(--ast-global-color-2);
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  gap: 0.15rem;
}

.psy-event-card__date {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.55rem;
}

.psy-event-card__presenters,
.psy-event-card__credits,
.psy-event-card__excerpt {
  color: var(--ast-global-color-2);
  line-height: 1.45;
}

.psy-event-card__divider {
  border-top: 1px solid var(--ast-global-color-5);
  width: 100%;
}

.psy-event-card__excerpt p:last-child {
  margin-bottom: 0;
}

.psy-event-card--credit .psy-event-card__summary {
  background: #E7EBEC;
}

.psy-event-listing .psy-event-card--credit .psy-event-card__details {
  background: var(--ast-global-color-4);
}

.psy-event-card--social .psy-event-card__summary {
  background: var(--ast-global-color-2);
}

.psy-event-card--social .psy-event-card__category,
.psy-event-card--social .psy-event-card__schedule,
.psy-event-card--social h3,
.psy-event-card--social h3 a {
  color: var(--ast-global-color-4);
}

.psy-event-card--social .psy-event-card__category {
  color: var(--ast-global-color-7);
}

.psy-event-card--social .psy-event-card__art--fallback {
  background-color: var(--ast-global-color-0);
}

.psy-event-card__art {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


.psy-event-card--featured {
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ast-global-color-3) 16%, transparent);
  grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 0.95fr);
  min-height: 340px;
}

.psy-event-card--featured .psy-event-card__art {
  background-color: var(--ast-global-color-1);
  border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
  justify-content: flex-end;
  position: relative;
}

.psy-event-card--featured .psy-event-card__art--fallback {
  background-position: right center;
  background-size: cover;
}

.psy-event-card__featured-badge {
  background: var(--ast-global-color-4);
  border-radius: var(--radius-md, 8px);
  color: var(--ast-global-color-1);
  font-size: 0.85rem;
  font-weight: 700;
  left: 40px;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.45rem 0.8rem;
  position: absolute;
  text-transform: uppercase;
  top: 40px;
}

.psy-event-card--featured .psy-event-card__main {
  gap: 0.7rem;
}

.psy-event-card__presenter {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.psy-event-card .psy-event-card__presenter-photo img {
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  height: 120px;
  object-fit: cover;
  width: 120px;
}

.psy-event-card__presenter-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.psy-event-card__presenter-label {
  color: var(--ast-global-color-0);
}

.psy-event-card__presenter-label.eyebrow {
  font-size: 0.8rem;
}

.psy-event-card__presenter-name {
  color: var(--ast-global-color-4);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
}

.psy-event-card__presenters-list {
  color: var(--ast-global-color-4);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 28rem;
}

.psy-event-card__presenters-list a {
  color: var(--ast-global-color-4);
  text-decoration: none;
}

.psy-event-card__presenters-list a:hover,
.psy-event-card__presenters-list a:focus {
  color: var(--ast-global-color-4);
  text-decoration: underline;
}

.psy-event-card__presenters-list .psy-presenters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.psy-event-card__presenters-list .psy-presenters__role strong {
  color: var(--ast-global-color-0);
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.psy-event-listing {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.psy-related-events__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.psy-related-events__item {
  margin: 1rem 0;
}

.psy-event-pricing__heading {
  margin: 0.5rem 0;
}


.single-event .psy-presenters {
  padding-bottom: 0.5rem;
}

.single-event .psy-presenters__role {
  font-size: 1.2rem;
}

.psy-presenters__role strong {
  color: var(--ast-global-color-2);
}

.psy-event-presenter {
  margin: 1rem 0;
  overflow: hidden;
}

.psy-event-presenter__photo {
  float: left;
  margin: 0 20px 0 0;
}

.psy-event-presenter .psy-event-presenter__photo img {
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  height: 150px;
  object-fit: cover;
  width: 150px;
}

.psy-event-presenter__details {
  display: block;
}

.psy-event-presenter__details h4 {
  display: inline-block;
  margin-top: 0;
  vertical-align: top;
}

.psy-event-tags {
  display: inline-flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.psy-event-tags li {
  margin: 0;
}

.psy-event-accordion {
  margin: 1em 0;
}

.psy-event-accordion__item {
  margin: 10px 10px 20px 0;
}

.psy-event-accordion__toggle {
  align-items: center;
  background: var(--ast-global-color-2);
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  font-weight: 600;
  justify-content: space-between;
  padding: 15px 30px;
  transition: background-color 0.3s ease;
  width: 100%;
}

.psy-event-accordion__toggle:hover,
.psy-event-accordion__toggle:focus {
  color: #fff;
  outline: none;
}

.psy-event-accordion__toggle:focus-visible {
  outline: 2px solid var(--ast-global-color-2);
  outline-offset: 2px;
}

.psy-event-accordion__toggle::after {
  content: "+";
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.psy-event-accordion__toggle.is-active::after {
  content: "-";
}

.psy-event-accordion__content {
  animation: psy-event-accordion-fade-in 0.3s ease-in-out;
  border: 1px solid var(--ast-global-color-2);
  border-top: none;
  display: block;
  padding: 1rem 1.25rem;
}

.psy-event-accordion__section--readings .psy-event-accordion__content-body p {
  margin-bottom: 0;
}

.psy-event-accordion__content:not(.is-active) {
  display: none;
}

@keyframes psy-event-accordion-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.psy-event-references__list .psy-event-references__item {
  padding-left: 2em;
  text-indent: -2em;
}

.psy-event-syllabus {
  margin: 2em 0 3em;
}

.psy-event-agenda__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.psy-event-objectives__list {
  margin: 1rem;
}

.psy-event-agenda__item {
  align-items: flex-start;
  display: flex;
  margin-bottom: 8px;
}

.psy-event-agenda__time {
  font-weight: bold;
  min-width: 120px;
}

.psy-event-agenda__description {
  flex: 1;
}

@media (max-width: 768px) {
	.psy-event-presenter__photo {
		float: none;
		margin: 0 0 1rem;
		width: 100%;
	}

	.psy-event-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}


	.psy-event-card__summary {
		border-radius: var(--radius-md, 8px) var(--radius-top-right, 8px) 0 0;
		gap: 1.5rem;
		justify-content: flex-start;
	}

	.psy-event-card__date {
		flex-direction: column;
		gap: 0.15rem;
	}

	.psy-event-card__separator {
		display: none;
	}

	.psy-event-card__details,
	.psy-event-card__art {
		border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
	}

	.psy-event-card__art {
		min-height: 220px;
	}

	.psy-event-card--featured .psy-event-card__art {
		border-radius: var(--radius-md, 8px) var(--radius-top-right, 8px) 0 0;
		min-height: 260px;
	}

	.psy-event-card--featured .psy-event-card__details {
		border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
	}

	.psy-event-card__presenter {
		align-items: flex-start;
		flex-direction: column;
		gap: 1rem;
	}

}

/* === Shared homepage events module === */
.psy-home-events {
  overflow: hidden;
  padding: 4rem 0 12rem;
  position: relative;
  width: 100%;
}

.psy-home-events__inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.psy-home-events__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.psy-home-events__header h2,
.psy-related-events__header h3 {
  font-size: 1.8rem;
  margin: 0;
}

.view-all-events {
  align-items: center;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  gap: 0.25rem;
  text-transform: uppercase;
}

.btn-minimal.btn-minimal {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-transform: uppercase;
}

.psy-home-events__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.psy-home-events .psy-event-card {
  border-radius: var(--radius-md, 8px);
  min-height: 0;
  overflow: hidden;
}

.psy-home-events .psy-event-card__details,
.psy-home-events .psy-event-card__summary,
.psy-home-events .psy-event-card__art {
  border-radius: 0;
  padding: 32px;
}

.psy-home-events .psy-event-card--featured {
  display: flex;
  flex-direction: column;
  grid-row: span 2;
}

.psy-home-events .psy-event-card--featured .psy-event-card__art {
  border-radius: 0;
  flex: 0 0 230px;
  justify-content: flex-end;
  position: relative;
}

.psy-home-events .psy-event-card--featured .psy-event-card__featured-badge {
  left: 24px;
  top: 24px;
}

.psy-home-events .psy-event-card--featured .psy-event-card__details {
  background: #fff;
  flex: 1 1 auto;
  justify-content: space-between;
}

.psy-home-events .psy-event-card--credit {
  display: flex;
}

.psy-home-events .psy-event-card--credit .psy-event-card__details {
  background: #fff;
  flex: 1 1 auto;
  justify-content: space-between;
}

.psy-home-events .psy-event-card--social {
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.85fr);
}

.psy-home-events .psy-event-card--social .psy-event-card__summary {
  justify-content: space-between;
}

.psy-home-events .psy-event-card--social .psy-event-card__art {
  min-height: 100%;
}

.psy-home-events .psy-event-card--credit h3 {
  font-size: 1.45rem;
}

.psy-home-events .psy-event-card--social h3 {
  font-size: 1.5rem;
}

.psy-home-events .psy-event-card__schedule,
.psy-home-events .psy-event-card__presenters,
.psy-home-events .psy-event-card__credits {
  font-size: 0.9rem;
}

.psy-home-events .psy-event-card__main {
  gap: 0.45rem;
}

@media (max-width: 768px) {
  .psy-home-events {
    padding: 3rem 0 6rem;
  }

  .psy-home-events__inner {
    padding: 0 1.25rem;
  }

  .psy-home-events__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .psy-home-events__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .psy-home-events .psy-event-card--featured,
  .psy-home-events .psy-event-card--social {
    grid-template-columns: 1fr;
  }

  .psy-home-events .psy-event-card--featured {
    grid-row: auto;
  }

  .psy-home-events .psy-event-card--social .psy-event-card__art {
    min-height: 220px;
  }
}

/* === Shared single-event baseline ===
 * Organization child themes load after this stylesheet and take precedence. */

.single-event #primary .divider > h3 {
  border-top: 5px solid var(--ast-border-color, #d5d5d5);
	padding:2rem 0 0.5rem 0;
	overflow:hidden;
}

.single-event .entry-header hr {
  background: transparent;
  border: 0;
  border-top: 5px solid var(--ast-border-color, #d5d5d5);
  height: 0;
  margin: 1rem 0;
  padding: 0;
}



.single-event .entry-content h3 {margin-top:0;}

/* Base credit badge */
.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: 'Asta Sans',sans-serif;
  border-radius: 5px;
  line-height: 130%;

}

.single-event .notice.alert {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 90%;
  padding: 1rem 1.25rem;
  border: 0;
  border-left: 5px solid var(--ast-global-color-7);
  border-radius: 5px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}



.single-event .entry-header h1.entry-title {
	margin-bottom:0px;
}
