section.guides-hero{
    padding: 120px calc(8% - 15px) 50px;
    background-color: var(--white);
    margin: 15px 15px 0;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

section.guides-hero .text{
    max-width: 500px;
}

section.guides-hero img{
    object-fit: contain;
    width: 450px;
}

section.guides{
    padding: 40px 8% 70px;
}

section.guides .guides-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}


section.guides .guide-card{
	display: flex;
    flex-direction: column;
    background-color: #281942;
    padding: 30px 20px;
    gap: 10px;
    border-radius: 14px;
  width: calc((100% / 3) - 14px);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    will-change: transform;
}

section.guides .guide-card{
  display: flex;
  flex-direction: column;
  background-color: #281942;

  /* subtle depth on dark gradient */
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;

  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    filter 200ms ease;
}

section.guides .guide-card:hover{
  transform: translateY(-6px);
  background-color: #2f1f4e; /* tiny lift in tone */

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(176, 136, 255, 0.18),
    0 12px 28px rgba(176, 136, 255, 0.14);

  border-color: rgba(176, 136, 255, 0.28);
  filter: brightness(1.03);
}

section.guides .guide-card:focus-visible{
  outline: none;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 0 3px rgba(176, 136, 255, 0.35);
}

/* optional: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  section.guides .guide-card{
    transition: none;
  }
  section.guides .guide-card:hover{
    transform: none;
  }
}

.guide-card__text{
	color: var(--white);
}

section.guides .guide-card .underline-cta{
	color: #B8A2DD;
}

section.guides .guide-card .underline-cta svg{
	background: #B8A2DD;
}

@media screen and (max-width:1200px){
    section.guides-hero {
    flex-direction: column;
    gap: 20px;
}
section.guides-hero img {
    width: 100%;
    max-width: 680px;
}
section.guides-hero .text{
    max-width: 100%
}
}

@media screen and (max-width:1024px){
	section.guides-hero {
    flex-direction: column;
    align-items: start;
    gap: 20px;
}
	
	section.guides-hero img {
    width: 100%;
}
}

@media screen and (max-width:860px){
section.guides .guide-card{
	    width: calc((100% / 2) - 10px);
}
}

@media screen and (max-width:768px){
    section.guides-hero{
    padding: 130px calc(5% - 15px) 30px;
    }
	section.guides {
    padding: 40px 5% 70px;
}
}

@media screen and (max-width:640px){
section.guides .guide-card{
	    width: 100%;
}
}