/* Photo-led teaching slides; no external image calls and no content behind scrolling. */
/* Change Detectives visuals reuse the same introduction layout. */
#present .cd-svg {display:block;width:100%;height:auto;max-height:49vh;background:#fff;border:1px solid #c6d8df;border-radius:14px}
#present .cd-photo-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
#present .cd-photo-pair > div {min-width:0}
#present .cd-photo-pair b {display:block;text-align:center;font-size:clamp(17px,1.5vw,23px);margin-top:6px;color:#124e4e}
#present .cd-photo-pair .lesson-photo img {aspect-ratio:4/3;max-height:29vh}
#present .science-intro-visual img[src$="filtration-lab.jpg"] {aspect-ratio:auto;object-fit:contain;width:100%;max-height:45vh}
#present .cd-reflection {display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(20px,3vw,44px);max-width:1180px;width:100%;margin:auto;font-size:clamp(18px,1.65vw,25px);line-height:1.35}
#present .cd-reflection h3 {font-size:clamp(23px,2vw,30px);color:#124e4e;margin:0 0 14px}
#present .cd-reflection ol {padding-left:1.3em;margin:0;display:grid;gap:16px}
#present .cd-reflection .present-more {font-size:clamp(17px,1.4vw,22px)}
@media(max-width:850px){#present .cd-reflection{gap:16px;font-size:18px}#present .cd-reflection ol{gap:10px}#present .cd-svg{max-height:43vh}}
@media(max-width:620px){#present .cd-reflection{grid-template-columns:1fr;font-size:16px}#present .cd-photo-pair .lesson-photo img{max-height:17vh}}
#present .science-intro-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(270px,.95fr);gap:clamp(18px,3vw,42px);align-items:center;width:100%;max-width:1180px;margin:auto; }
#present .science-intro-points {display:grid;gap:clamp(12px,1.5vw,22px);min-width:0}
#present .science-intro-point {display:grid;gap:4px;padding:12px 18px;border-left:5px solid #13867b;background:#fff;border-radius:8px}
#present .science-intro-point strong {color:#124e4e;font-size:clamp(21px,2.1vw,30px);line-height:1.2}
#present .science-intro-point span {font-size:clamp(17px,1.5vw,24px);line-height:1.32}
#present .science-intro-question {font-size:clamp(19px,1.7vw,24px);font-weight:650;margin:0;padding:10px 15px;background:#e8f1ea;border-radius:10px}
#present .science-intro-visual {min-width:0;display:grid;align-items:center}
#present .science-intro-visual .lesson-photo {width:100%;max-width:525px;margin:auto}
#present .science-intro-visual .lesson-photo img {aspect-ratio:4/3;object-fit:cover;max-height:40vh}
#present .science-intro-visual .lesson-photo figcaption {font-size:clamp(12px,1vw,14px);line-height:1.25;padding:8px}
#present .science-intro-visual .photo-about {font-size:14px}
#present .science-intro-bags {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
#present .science-intro-bag {min-height:180px;background:linear-gradient(145deg,#fff,#edf5ef);border:3px solid #9ea9ad;border-top:12px solid #c4d4d1;border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px;text-align:center}
#present .science-intro-bag b {font-size:clamp(13px,1.2vw,18px);line-height:1.15}
#present .science-intro-leaves {font-size:clamp(25px,2.5vw,38px);white-space:nowrap}
#present .science-intro-leaves span {display:inline-block;transform:rotate(40deg);margin-left:-12px}
#present .science-intro-visual-note {font-size:clamp(13px,1.2vw,18px);text-align:center;margin:12px 0 0}
#present .science-intro-ph {padding:16px;background:#fff;border:1px solid #d5dfd7;border-radius:14px}
#present .science-intro-ph-row {display:grid;grid-template-columns:7fr 1fr 7fr;gap:5px;text-align:center;font-size:clamp(15px,1.3vw,20px);font-weight:750}
#present .science-intro-ph-row .acid {color:#a92d37} #present .science-intro-ph-row .neutral {color:#397b37} #present .science-intro-ph-row .base {color:#4c4496}
#present .science-intro-ph-ramp {display:grid;grid-template-columns:repeat(15,minmax(0,1fr));margin:18px 0 12px;border-radius:6px;overflow:hidden}
#present .science-intro-ph-ramp span {padding:15px 0;text-align:center;color:#1d2631;font-size:clamp(12px,1vw,17px);font-weight:750}
#present .science-intro-ph p {font-size:clamp(14px,1.2vw,18px);text-align:center;margin:5px 0}
@media(max-width:850px){#present .science-intro-layout {grid-template-columns:1fr 1fr;gap:12px} #present .science-intro-point{padding:9px 12px}#present .science-intro-visual .lesson-photo img{max-height:29vh}#present .science-intro-bag{min-height:125px}}
@media(max-width:620px){#present .science-intro-layout{grid-template-columns:1fr;gap:8px}#present .science-intro-points{gap:5px}#present .science-intro-point{padding:7px 10px}#present .science-intro-point strong{font-size:18px}#present .science-intro-point span{font-size:15px}#present .science-intro-question{font-size:15px;padding:6px}#present .science-intro-visual .lesson-photo img{max-height:18vh}#present .science-intro-bag{min-height:78px;border-top-width:6px}#present .science-intro-leaves{font-size:21px}#present .science-intro-ph{padding:8px}#present .science-intro-ph-ramp span{padding:9px 0}}

/* Material Matters diagrams and photo strips (science-intros.js materialsIntroSlides). */
#present .mi-svg {width:100%;height:auto;max-height:44vh;background:#fff;border:1px solid #d5dfd7;border-radius:14px}
#present .mi-strip {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#present .mi-quad .mi-strip {grid-template-columns:repeat(2,minmax(0,1fr))}
#present .mi-strip-item {display:grid;gap:4px;text-align:center;min-width:0}
#present .mi-strip-item b {font-size:clamp(16px,1.5vw,22px)}
#present .mi-strip .lesson-photo {margin:0;max-width:none}
#present .mi-strip .lesson-photo img {aspect-ratio:1/1;max-height:24vh;width:100%;object-fit:cover}
#present .mi-quad .mi-strip .lesson-photo img {aspect-ratio:4/3;max-height:17vh}
#present .mi-strip .lesson-photo figcaption {padding:3px 4px;font-size:11px}
#present .mi-strip .photo-about {display:none}
#present .mi-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#present .mi-grid div {background:#fff;border:2px solid #cfd9d2;border-radius:12px;padding:12px 14px;display:grid;gap:3px}
#present .mi-grid b {font-size:clamp(20px,1.9vw,28px);color:#124e4e}
#present .mi-grid span {font-size:clamp(15px,1.3vw,20px);color:#3b4a43}
#present .mi-scales {display:grid;gap:14px;background:#fff;border:1px solid #d5dfd7;border-radius:14px;padding:18px}
#present .mi-scales div {display:grid;grid-template-columns:minmax(0,1fr) 1.2fr minmax(0,1fr);align-items:center;gap:10px;font-size:clamp(17px,1.6vw,24px);font-weight:650}
#present .mi-scales div span:last-child {text-align:right}
#present .mi-scales i {height:6px;border-radius:3px;background:linear-gradient(90deg,#13867b,#b9c9c1,#13867b)}
#present .mi-flow {display:grid;gap:14px}
#present .mi-two div {display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:#fff;border:2px solid #cfd9d2;border-radius:12px;padding:14px}
#present .mi-two b {flex-basis:100%;font-size:clamp(20px,1.9vw,28px);color:#124e4e}
#present .mi-two span {background:#e8f1ea;border-radius:8px;padding:8px 12px;font-size:clamp(16px,1.5vw,22px)}
#present .mi-two i {font-style:normal;font-size:24px;color:#13867b}
#present .mi-steps {list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;counter-reset:none}
#present .mi-steps li {display:flex;align-items:center;gap:12px;background:#fff;border:2px solid #cfd9d2;border-radius:12px;padding:14px;font-size:clamp(17px,1.6vw,24px);font-weight:650}
#present .mi-steps b {flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#13867b;color:#fff}
#present .mi-checklist {display:grid;gap:10px;background:#fff;border:2px solid #cfd9d2;border-radius:14px;padding:18px 20px}
#present .mi-checklist b {font-size:clamp(20px,1.9vw,28px);color:#124e4e}
#present .mi-checklist span {font-size:clamp(17px,1.6vw,24px)}
@media(max-width:620px){#present .mi-strip .lesson-photo img{max-height:13vh}#present .mi-grid div,#present .mi-two div,#present .mi-steps li{padding:7px}#present .mi-scales{padding:8px;gap:6px}}

/* The chemical equation slide */
#present .science-eq-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
#present .science-eq{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;background:#fff;border:1px solid #d5dfd7;border-radius:16px;padding:14px}
#present .science-eq-side{display:grid;gap:6px;justify-items:stretch}
#present .science-eq-chip{display:grid;gap:1px;padding:8px 10px;border-radius:12px;text-align:center;line-height:1.15}
#present .science-eq-chip b{font-size:clamp(15px,1.45vw,22px);color:#173128}
#present .science-eq-chip i{font-style:normal;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:clamp(14px,1.3vw,20px);color:#1d4f8a;font-weight:700}
#present .science-eq-chip small{font-size:clamp(12px,1.05vw,16px);color:#42564d}
#present .science-eq-in{background:#fdf1e3;border:2px solid #e2b77c}
#present .science-eq-out{background:#e7f3ee;border:2px solid #8fc0ad}
#present .science-eq-plus{text-align:center;font-weight:800;font-size:clamp(16px,1.5vw,22px);color:#42564d;line-height:1}
#present .science-eq-arrow{display:grid;justify-items:center;font-size:clamp(28px,3vw,44px);font-weight:800;color:#2f7d6b;line-height:1}
#present .science-eq-arrow small{font-size:clamp(11px,1vw,15px);font-weight:700;color:#7a4b12;max-width:9ch;text-align:center;line-height:1.1}
#present .science-eq-balanced{margin:10px 0 0;padding:8px 12px;background:#eef3fb;border-radius:12px;font-size:clamp(14px,1.3vw,20px);text-align:center}
#present .science-eq-balanced span{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700;color:#1d4f8a;white-space:nowrap}
@media(max-width:620px){#present .science-eq-layout{grid-template-columns:1fr}#present .science-eq-balanced span{white-space:normal}}
