/* Amarante 2.24 — magnesium educational film */
.am-mg-hero {background:linear-gradient(120deg,#f9f8ed,#ebf2da)}
.am-mg-hero .am-guide-split {grid-template-columns: 1fr .9fr}
.am-mg-hero .lead {max-width:610px}
.am-mg-hero-photo {display:block;position:relative;overflow:hidden;border-radius:27px;box-shadow:0 26px 54px #174e3130;transition:transform .25s}
.am-mg-hero-photo:hover {transform:translateY(-4px)}
.am-mg-hero-photo img {width:100%;height:auto;aspect-ratio:16/9;display:block;object-fit:cover}
.am-mg-photo-play {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#f7f9e7f0;color:#143d38;font-size:27px;width:73px;height:73px;border-radius:50%;display:grid;place-items:center;padding-left:3px;box-shadow:0 9px 30px #0a21134d}
.am-mg-watch .am-mg-video-shell {background:#153c36;color:#fcf9ec}
.am-mg-video-shell p {color:#e0e8d5 !important}
.am-mg-video-shell .eyebrow {color:#d6eeb6 !important}
.am-mg-transcript {margin:24px 0 0;border:1px solid #729784;padding:16px 19px;border-radius:14px}
.am-mg-transcript summary {cursor:pointer;font-weight:700;color:#edf5d9}
.am-mg-transcript p {font-size:.93rem;line-height:1.7}
.am-mg-video-length {font-size:.9rem}
.am-mg-video-actions {display:flex;gap:24px;flex-wrap:wrap;padding-top:15px}
.am-mg-video-actions a {color:#d6ebaf;font-weight:700;font-size:.93rem}
.am-mg-facts {background:#f0f4e7}
.am-mg-fact-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:30px}
.am-mg-fact-grid article {background:#fffdf4;padding:27px;border-radius:19px;border:1px solid #d4e0c8}
.am-mg-fact-grid article span {font-size:.8rem;letter-spacing:.11em;color:#517f66;font-weight:800}
.am-mg-fact-grid h3 {font-family:'Playfair Display',Georgia,serif;color:#122f2c;font-size:1.75rem;margin:12px 0}
.am-mg-fact-grid p {color:#3d5b50;line-height:1.6;margin:0}
.am-mg-source {font-size:.9rem;color:#4e6758;margin-top:20px}
.am-mg-source a{color:#315d4b;text-decoration:underline}
.am-mg-home-link {margin-top:17px;display:inline-flex;align-items:center;gap:11px;color:#142a43;font-weight:800;text-decoration:none;padding:10px 14px;border:1px solid #93ba91;border-radius:30px;background:#f7fae7}
.am-mg-home-link span:first-child{display:grid;place-items:center;background:#cce2b5;color:#1a483b;height:32px;min-width:32px;border-radius:50%;font-size:14px}
.am-mg-library-card{margin-top:18px}
.am-mg-library-card img {border-radius:16px;max-width:100%;height:auto;object-fit:cover}
@media(max-width:920px){.am-mg-hero .am-guide-split{grid-template-columns:1fr}.am-mg-fact-grid{grid-template-columns:1fr}}
@media(max-width:640px){.am-mg-fact-grid article{padding:21px}.am-mg-hero-photo{border-radius:18px}.am-mg-home-link{font-size:.88rem}}
