/* Constrained hero with cacao gradient */
.full-page-hero{
  position:relative;
  color:#fff;
  padding: clamp(2rem, 4vw, 3rem) 1rem;
  background:
	radial-gradient(900px 500px at 115% 120%, rgba(247,181,58,.10), transparent 55%),
	radial-gradient(1100px 600px at -10% -10%, rgba(255,255,255,.06), transparent 60%),
	linear-gradient(165deg, var(--ehca-plum) 0%, var(--ehca-plum-dk) 100%);
  max-width: 1100px;  /* constrain section itself */
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* Left card — stretch to full column height */
.general-card{
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: clamp(1.1rem, 2.4vw, 1.8rem) clamp(1.2rem, 2.8vw, 2rem);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  height: 100%;            /* fill the grid row height */
  font-weight: 800;
  font-size: 1.1rem;
}
.general-card a{
	color: var(--ehca-gold);
	text-decoration: none;
}
.general-card .eyebrow{
  display:inline-block;
  background: rgba(253,231,184,.18);
  color: var(--ehca-gold);
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.28rem .62rem;
  border-radius:999px;
  font-size:.92rem;
  margin-bottom:.7rem;
}
.general-card h1{
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.4rem);
  line-height:0.9;
  margin:.1rem 0 .8rem;
  text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 14px 28px rgba(0,0,0,.35);
}

/* Gold underline as an <hr> after the time row */
.gold-hr{
  height: 3px;
  border: 0;
  width: 240px;
  background: linear-gradient(90deg, var(--ehca-gold), rgba(247,181,58,0));
  border-radius: 2px;
  margin: .4rem 0 0;
}

.educational {
	background-color:white;
	color:black;
	padding-left:30px;
	margin: 2rem;
	border-radius:18px;
}
.educational ul{
	padding-left:2.5rem;
	padding-right:1.5rem;
	padding-bottom:0rem;
}
.educational ul li{
	padding-left:0.5rem;
	padding-right:1.5rem;
	padding-bottom:1.1rem;
}


/* Resource list container */
.educational .resource-list{
  display: grid;
  grid-template-columns: 1fr;  /* one item per row */
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0; /* override generic UL padding for this list only */
}

/* Remove default li padding from the base .educational UL rules for this list only */
.educational .resource-list > li{
  padding: 0;
}

.educational .resource-list .resource-card{
	background-color: #672645;
	padding: 2rem;
	color: white;
	border-radius: 14px;
	margin: 0 0.75rem;
	display: flex;
	flex-direction: column; /* image on top, content below */
	gap: 0.75rem;
}

/* Figure and thumbnail — keep natural aspect ratio; roughly one-third width with bounds */
.educational .resource-list .resource-figure{
  margin: 0;
  width: clamp(220px, 33%, 420px);
  align-self: flex-start; /* keep image left-aligned within the card */
}

/* Best practices for responsive images */
.educational .resource-list .resource-figure img{
  display: block;
  width: 100%;
  height: auto;        /* preserve intrinsic aspect ratio */
}

/* Text/meta spacing */
.educational .resource-list .resource-meta h3{
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}
.educational .resource-list .resource-meta .presenter{
  margin: 0 0 0.2rem 0;
  font-weight: 600;
}
.educational .resource-list .resource-meta .date{
  margin: 0 0 0.6rem 0;
  opacity: 0.9;
}

/* Action button */
.educational .resource-list .resource-actions a{
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid currentColor; /* inherits link color from site theme */
}
.educational .resource-list .resource-actions a:hover{
  opacity: 0.9;
}

/* Title link behavior */
.educational .resource-list .resource-title-link{
  text-decoration: none;
}
.educational .resource-list .resource-title-link:hover{
  text-decoration: underline;
}

/* Small-screen tweak: allow the image to expand to full card width if space is very tight */
@media (max-width: 420px){
  .educational .resource-list .resource-figure{
    width: 100%;
  }
}

/* Mobile tweaks */
@media (max-width: 980px){
	.educational {
		padding-left:5px;
		margin: 0.1rem;
	}
	.educational ul{
		padding-left:1rem;
	}
}