@charset "UTF-8";

.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] { color: #e67700; background: rgba(230, 119, 0, .07); }

.materials-main {
  width: min(100% - 2rem, 1120px);
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  margin: 0 auto;
  color: #5c4444;
}

.materials-hero { max-width: 760px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.materials-hero__eyebrow { margin: 0 0 .5rem; color: #e67700; font-size: .8rem; font-weight: 900; letter-spacing: .18em; }
.materials-hero h1 { margin: 0 0 1rem; color: #966464; font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.25; }
.materials-hero p { margin: 0; line-height: 1.9; }
.materials-hero__note { padding: .875rem 1rem; margin-top: 1.5rem !important; font-size: .875rem; text-align: left; background: rgba(255, 255, 255, .82); border: 1px solid rgba(150, 100, 100, .18); border-radius: 12px; }

.materials-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.75rem); align-items: stretch; }
.material-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid rgba(150, 100, 100, .18); border-radius: 20px; box-shadow: 0 16px 36px rgba(70, 47, 44, .09); }
.material-card__preview { display: grid; min-height: 280px; padding: 1rem; place-items: center; background-color: #f4ece8; background-image: linear-gradient(45deg, rgba(150, 100, 100, .08) 25%, transparent 25%), linear-gradient(-45deg, rgba(150, 100, 100, .08) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(150, 100, 100, .08) 75%), linear-gradient(-45deg, transparent 75%, rgba(150, 100, 100, .08) 75%); background-position: 0 0, 0 12px, 12px -12px, -12px 0; background-size: 24px 24px; }
.material-card__preview video { width: 100%; max-height: 430px; background: #fff; border-radius: 12px; object-fit: contain; box-shadow: 0 8px 22px rgba(70, 47, 44, .12); }
.material-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(1.25rem, 4vw, 2rem); }
.material-card__labels { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.material-card__labels span { padding: .3rem .6rem; color: #966464; font-size: .72rem; font-weight: 800; background: #fff7ef; border: 1px solid rgba(230, 119, 0, .2); border-radius: 999px; }
.material-card h2 { margin: 0 0 1rem; color: #7f5555; font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.45; }
.material-card p { margin: 0 0 1rem; line-height: 1.8; }
.material-card__condition { padding: .75rem; color: #765f5c; font-size: .82rem; background: #faf6f4; border-radius: 10px; }
.material-card__button { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: .85rem 1rem; margin-top: auto; color: #fff; font-weight: 900; text-align: center; text-decoration: none; background: #e67700; border-radius: 12px; box-shadow: 0 5px 12px rgba(180, 93, 0, .2); transition: background-color .2s ease, transform .2s ease; }
.material-card__button span { margin-left: .35rem; font-size: .7rem; font-weight: 700; }
.material-card__button:hover { background: #ff901a; transform: translateY(-2px); }
.material-card__button:focus-visible { outline: 3px solid rgba(230, 119, 0, .42); outline-offset: 3px; }

.materials-share { max-width: 760px; padding: clamp(1.25rem, 4vw, 2rem); margin: clamp(2.5rem, 7vw, 4rem) auto 0; text-align: center; background: #fff; border: 1px solid rgba(150, 100, 100, .18); border-radius: 16px; box-shadow: 0 10px 28px rgba(70, 47, 44, .06); }
.materials-share h2 { margin: 0 0 .75rem; color: #966464; font-size: 1.2rem; }
.materials-share p { margin: 0; line-height: 1.8; }

@media (max-width: 767px) {
  .materials-main { width: min(100% - 1.25rem, 1120px); padding-top: 2rem; }
  .materials-list { grid-template-columns: 1fr; }
  .material-card__preview { min-height: 0; padding: .75rem; }
  .material-card__preview video { max-height: none; }
  .materials-hero br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .material-card__button { transition: none; }
}
