/* Security awareness page — training-modules grid, warmer/softer composition */

.awareness-intro{
  padding:1rem 8vw 3rem;
  box-shadow:none;
}
.awareness-intro .callout{
  max-width:760px;
  border-left:2px solid var(--accent);
  padding:.2rem 0 .2rem 1.6rem;
}
.awareness-intro .callout p{
  font-family:'Source Serif 4',serif;
  font-size:1.15rem;
  line-height:1.7;
  color:var(--dark);
}
.awareness-intro .callout p + p{
  margin-top:.9rem;
  font-family:'IBM Plex Mono',monospace;
  font-size:.8rem;
  line-height:1.8;
  color:var(--mid);
}

.module-section{
  padding:2rem 8vw 6rem;
  box-shadow:none;
}
.module-section .section-head{
  margin-bottom:3rem;
  max-width:640px;
}
.module-section .section-head h2{
  font-size:clamp(1.4rem,2.6vw,2rem);
  line-height:1.3;
  margin-top:.8rem;
}

.module-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:1.75rem;
}

.module-card{
  border:1px solid var(--sheet-rule);
  background:rgba(255,253,249,.5);
  padding:2rem 1.7rem;
  display:flex;
  flex-direction:column;
  gap:1.2rem;
  transition:background .35s ease,border-color .35s ease,transform .35s ease,box-shadow .35s ease;
  opacity:0;
  transform:translateY(18px);
}
.module-card.is-visible{
  opacity:1;
  transform:translateY(0);
}
.module-card:hover{
  background:rgba(242,97,10,.06);
  border-color:var(--accent);
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(26,24,21,.06);
}
.module-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
}
.module-icon svg{
  width:30px;
  height:30px;
}
.module-card h3{
  font-size:1.05rem;
  line-height:1.35;
}
.module-card p{
  font-size:.8rem;
  line-height:1.65;
  color:var(--mid);
}

@media(max-width:768px){
  .awareness-intro{padding:1rem 6vw 2.5rem}
  .module-section{padding:1.5rem 6vw 4rem}
  .module-grid{grid-template-columns:1fr;gap:1.25rem}
}

@media(prefers-reduced-motion:reduce){
  .module-card{opacity:1;transform:none;transition:background .2s,border-color .2s}
}
