/* Content on the presentation canvas. Geometry and scaling live in viewer.css. */
.presentation-slide { background: #f8fbff; color: #12275e; font-family: 'Noto Sans Thai',Tahoma,sans-serif; isolation: isolate; }
.presentation-slide::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: #e6efff; top: -490px; right: -140px; z-index: -1; }
.deck-brand { position: absolute; inset: 28px 62px auto; display: flex; justify-content: space-between; align-items: center; height: 40px; color: #49618b; font-size: 21px; font-weight: 600; line-height: 1.4; }
.deck-brand>span:first-child { display: flex; align-items: center; gap: 12px; }
.deck-brand b { display: grid; place-items: center; width: 40px; height: 40px; background: #f4c20f; border-radius: 10px; color: #12275e; font: 800 31px Arial,sans-serif; }
.deck-brand i { font-style: normal; font-weight: 400; border-left: 1px solid #b8c9e5; padding-left: 12px; }
.deck-kicker { display: block; color: #2455b5; font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: 1px; }
.deck-heading { position: absolute; top: 94px; left: 88px; right: 88px; text-align: center; }
.deck-heading h2 { margin: 8px 0 0; color: #12275e; font-size: 56px; font-weight: 800; line-height: 1.3; letter-spacing: -1.5px; text-wrap: balance; }
.deck-heading>p { margin: 12px auto 0; max-width: 1250px; color: #536887; font-size: 29px; line-height: 1.5; text-wrap: balance; }
.deck-content { position: absolute; left: 100px; right: 100px; top: 290px; bottom: 126px; }
.deck-takeaway { position: absolute; bottom: 0; width: 100%; height: 98px; display: flex; align-items: center; justify-content: center; gap: 21px; background: #12275e; color: #fff; padding: 14px 85px; }
.deck-takeaway>span { color: #f4c20f; font-size: 34px; }
.deck-takeaway p { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.5; text-align: center; text-wrap: balance; }
.deck-concepts { display: grid; grid-template-columns: .9fr 1.35fr; gap: 50px; height: 100%; align-items: center; }
.deck-illustration { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; }
.deck-illustration::before { content: none; }
.deck-art { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.deck-illustration .deck-art { height: auto; border-radius: 32px; mix-blend-mode: normal; box-shadow: 0 18px 40px #173c7d0a; }
.deck-points { display: grid; gap: 18px; }
.deck-point { position: relative; display: flex; align-items: center; gap: 22px; padding: 23px 26px; border: 2px solid #dce7fa; border-radius: 23px; background: #fff; box-shadow: 0 9px 20px #173c7d06; }
.deck-point-icon { display: grid; place-items: center; flex: 0 0 70px; height: 70px; border-radius: 19px; background: #edf3ff; color: #2455b5; }
.deck-point-icon svg { width: 55px; height: 55px; }
.deck-point:nth-child(2) .deck-point-icon { background: #fff4b9; }
.deck-point h3 { font-size: 32px; line-height: 1.4; font-weight: 800; margin: 0 0 5px; color: #173b80; }
.deck-point p { margin: 0; color: #526582; font-size: 27px; line-height: 1.55; }
.deck-flow { display: flex; align-items: stretch; gap: 46px; height: 100%; padding: 20px 0; }
.deck-flow .deck-point { flex: 1 1 0; flex-direction: column; text-align: center; justify-content: center; gap: 30px; padding: 28px; background: #fff; border-top: 8px solid #2f66c9; }
.deck-flow .deck-point:nth-child(2) { border-top-color: #f4c20f; background: #fffdf3; }
.deck-flow .deck-point:not(:last-child)::after { content: '→'; position: absolute; right: -41px; top: 46%; color: #2455b5; font-size: 44px; font-weight: 700; }
.deck-flow .deck-point-icon { flex-basis: 110px; width: 110px; height: 110px; border-radius: 30px; }
.deck-flow .deck-point-icon svg { width: 85px; height: 85px; }
.deck-flow h3 { font-size: 39px; margin-bottom: 18px; }
.deck-flow p { font-size: 29px; }
.deck-example { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; height: 100%; }
.deck-prompt,.deck-result { display: flex; flex-direction: column; padding: 34px 40px; border: 2px solid #dbe6f7; border-radius: 25px; background: #fff; }
.deck-prompt { background: #163b82; border-color: #163b82; color: #fff; }
.deck-box-label { align-self: flex-start; font-size: 23px; font-weight: 700; line-height: 1.5; color: #335b9a; padding-bottom: 20px; }
.deck-prompt .deck-box-label { color: #ffdf6a; }
.deck-example p { margin: 0; font-size: 30px; line-height: 1.7; white-space: normal; overflow-wrap: anywhere; }
.deck-example small { margin-top: auto; padding-top: 16px; color: #647899; font-size: 21px; line-height: 1.6; }
.deck-screen { height: 100%; display: grid; grid-template-columns: 1.5fr 1fr; gap: 42px; align-items: center; }
.deck-screen figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.deck-screen figure img { width: auto; height: auto; max-width: 100%; max-height: 440px; border-radius: 18px; border: 1px solid #d6e0f0; box-shadow: 0 14px 40px #12275e13; object-fit: contain; }
.deck-screen figcaption { color: #6a7c98; font-size: 19px; }
.deck-screen-notes { display: grid; gap: 18px; }
.deck-screen-notes .deck-point { padding: 25px; }
.deck-screen-notes .deck-point-icon { display: none; }
.deck-screen-notes>small { color: #6a7c98; font-size: 21px; line-height: 1.5; }
.deck-image-example .deck-content { top: 238px; }
.deck-image-example .deck-heading h2 { font-size: 50px; }
.deck-image-example-content { display: grid; grid-template-columns: 540px minmax(0, 1fr); gap: 62px; align-items: center; height: 100%; }
.deck-image-example-content figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0; min-width: 0; height: 100%; }
.deck-image-example-content figure img { display: block; width: 490px; height: 490px; max-width: 100%; border: 1px solid #d6e0f0; border-radius: 18px; background: #fff; box-shadow: 0 14px 40px #12275e13; object-fit: contain; }
.deck-image-example-content figcaption { color: #6a7c98; font-size: 20px; line-height: 1.5; }
.deck-image-example-notes { display: grid; gap: 16px; min-width: 0; }
.deck-image-example-notes .deck-point { padding: 20px 26px; }
.deck-image-example-notes .deck-point-icon { display: none; }
.deck-image-example-notes .deck-point h3 { font-size: 30px; }
.deck-image-example-notes .deck-point p { font-size: 26px; }
.deck-summary { background: #eef5ff; }
.deck-summary .deck-point { border: none; border-left: 7px solid #f4c20f; }
.deck-summary .deck-point-icon { background: #f4c20f; }
.deck-cover { background: linear-gradient(120deg,#102655 0%,#1b4594 64%,#276bd6 100%); color: #fff; }
.deck-cover::before { background: #ffffff08; width: 1100px; height: 1100px; top: -570px; right: -360px; border: 1px solid #ffffff0c; }
.deck-cover .deck-brand { color: #d6e3ff; }
.deck-cover .deck-brand i { border-color: #ffffff40; }
.deck-cover .deck-content { top: 125px; bottom: 130px; left: 88px; right: 64px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: center; }
.deck-cover-copy { position: relative; z-index: 2; }
.deck-cover .deck-kicker { display: inline-block; color: #183b7c; background: #f4c20f; border-radius: 13px; padding: 9px 18px; margin-bottom: 22px; font-size: 22px; }
.deck-cover h2 { color: #fff; font-size: 71px; line-height: 1.28; font-weight: 800; letter-spacing: -1.8px; margin: 0; text-wrap: balance; }
.deck-cover-copy>p { color: #d7e6ff; font-size: 31px; line-height: 1.6; margin-top: 24px; }
.deck-cover-tag { display: inline-block; font-size: 22px; color: #ffdb58; margin-top: 26px; }
.deck-cover-art { width: 100%; height: 490px; background: #f5f9ff; border: 10px solid #ffffff25; border-radius: 46% 44% 37% 46%; overflow: hidden; box-shadow: 0 30px 90px #06183c30; transform: rotate(-3deg); }
.deck-cover-art img { transform: rotate(3deg) scale(1.08); mix-blend-mode: multiply; }
.deck-cover .deck-takeaway { background: #091b3f; }
.catalog-page .catalog { padding-top: 30px; }
.catalog-page .search-box { max-width: none; width: 100%; }
.catalog-intro { padding-top: 50px; }
.catalog-intro h1 { font-size: clamp(30px,4vw,48px); margin-bottom: 12px; }
.catalog-intro p { color: #66748b; }
.card-action { gap: 8px; }
.card-slide-count { padding: 4px 9px; border-radius: 6px; background: #eef4ff; font-size: 11px; font-weight: 600; }
@media(max-width:640px) { .catalog-intro { padding-top: 28px; } .catalog-page .catalog { padding-top: 28px; } }

/* Keep three concept cards and worked examples inside the fixed 1600×900 canvas. */
.deck-concepts .deck-points{gap:12px}
.deck-concepts .deck-point{padding:16px 22px;gap:18px}
.deck-concepts .deck-point-icon{flex-basis:60px;height:60px}
.deck-concepts .deck-point-icon svg{width:48px;height:48px}
.deck-concepts .deck-point h3{font-size:29px;line-height:1.35;margin-bottom:4px}
.deck-concepts .deck-point p{font-size:25px;line-height:1.4}
.deck-example .deck-prompt,.deck-example .deck-result{padding:26px 32px}
.deck-example .deck-box-label{font-size:22px;padding-bottom:14px}
.deck-example p{font-size:27px;line-height:1.5}
.deck-example small{font-size:20px;line-height:1.45;padding-top:12px}
