/* =====================================================================
   responsive.css  —  โหลดต่อจาก presentation.css (ห้ามสลับลำดับ)

   แนวคิด: หน้านี้มี 2 โหมด
   1) โหมดสไลด์ 16:9 (คอมพิวเตอร์ / แล็ปท็อป / แท็บเล็ตแนวนอนที่จอกว้างพอ)
      -> ใช้ CSS เดิมใน presentation.css ทุกอย่าง ไม่แตะต้อง
   2) โหมดเลื่อนอ่านต่อเนื่อง (มือถือ / แท็บเล็ตแนวตั้ง / มือถือแนวนอน)
      -> ไฟล์นี้จัด layout ใหม่ให้เนื้อหาไหลตามความสูงจริง ไม่ถูกบีบเป็นสไลด์

   เงื่อนไขของโหมด 2 ต้องตรงกับ matchMedia ใน presentation.js
   (กว้าง < 1280px, หรือแนวตั้ง, หรือสูง ≤ 520px = มือถือแนวนอน)
   หมายเหตุ: iPad แนวนอน (1024 / 1180px) จึงใช้โหมดเลื่อนอ่าน เพราะสไลด์ 16:9 ที่จอกว้างขนาดนี้
   เนื้อหาบางหน้า (สินค้า, Disruptive, SWOT) สูงเกินสไลด์แล้วถูกตัด
   ===================================================================== */

@media (max-width: 1279px), (orientation: portrait), (max-height: 520px) {

  /* ---------- พื้นฐาน ---------- */
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  html, body.presentation-site { max-width: 100%; overflow-x: hidden; }

  body.presentation-site .presentation-content {
    width: 100%;
    padding: 0;
    overflow-x: clip;
    scroll-snap-type: none;
  }

  /* ต้นเหตุของบั๊กเดิม: aspect-ratio 16/9 + height คงที่ ทำให้ section สูงไม่พอกับเนื้อหา แล้วซ้อนทับกัน */
  body.presentation-site .presentation-content > section {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  body.presentation-site .presentation-content > .cover {
    min-height: 100svh !important;
  }

  body.presentation-site .presentation-content > section > .slide-content {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: clamp(36px, 7vw, 64px) max(clamp(16px, 4.5vw, 40px), env(safe-area-inset-left)) clamp(40px, 7vw, 68px) max(clamp(16px, 4.5vw, 40px), env(safe-area-inset-right));
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: clamp(18px, 3.2vw, 28px);
    overflow: visible;
    max-width: 1180px;
    margin-inline: auto !important;
  }
  body.presentation-site .presentation-content > .cover > .slide-content {
    min-height: 100svh !important;
    justify-content: center;
  }

  /* ลูกของ slide-content ไม่ต้องยืด/หดตามสไลด์ */
  body.presentation-site .slide-content > * {
    flex: 0 0 auto !important;
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
  }

  /* การ์ดทั้งหมด สูงตามเนื้อหา */
  body.presentation-site .slide-content :is(
    .product-card, .adoption-card, .segment-card, .target-facts, .channel-card, .force-card,
    .crisis-stage, .pestel-card, .foundation-card, .competitor-product, .raci-definitions > div, .team-member
  ) {
    height: auto !important;
    min-height: 0 !important;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* ---------- ตัวอักษร ---------- */
  body.presentation-site .slide-content h2 {
    font-size: clamp(28px, 6vw, 46px) !important;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  body.presentation-site .slide-content :is(h3, h4) {
    font-size: clamp(19px, 3vw, 24px) !important;
    line-height: 1.3;
  }
  body.presentation-site .slide-content :is(p, li, .target-list span, .target-list b, .fact-row) {
    font-size: clamp(15px, 2.1vw, 18px) !important;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  body.presentation-site .slide-content :is(.section-tag, .eyebrow, .kicker, .product-topline, .adopter-index, .crisis-phase, .foundation-card > span) {
    font-size: 12px !important;
    line-height: 1.5;
    letter-spacing: .06em;
  }
  body.presentation-site .slide-content .section-heading {
    display: block;
    margin: 0;
  }
  body.presentation-site .slide-content .section-heading > p {
    max-width: none;
    margin-top: 12px;
  }

  /* ---------- หน้าปก ---------- */
  body.presentation-site .cover > .slide-content { gap: 22px; }
  /* CSS เดิมกำหนด order ให้ cover-visual ไว้ ทำให้แถบ cover-bottom โผล่มาก่อนรูป */
  body.presentation-site .cover-copy { grid-column: auto; grid-row: auto; order: 0; }
  body.presentation-site .cover-visual { order: 1; }
  body.presentation-site .cover-bottom { order: 2; }
  body.presentation-site .cover h1 { font-size: clamp(56px, 14vw, 96px) !important; line-height: 1.05; }
  body.presentation-site .cover-overline { margin-top: 24px; }
  body.presentation-site .cover-lead { font-size: 16px !important; margin: 14px 0 22px; }
  body.presentation-site .cover-actions { flex-wrap: wrap; gap: 14px 22px; }
  body.presentation-site .button { min-height: 48px; padding: 0 24px; font-size: 15px; }
  body.presentation-site .text-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 15px; }
  body.presentation-site .cover-stats {
    flex-wrap: wrap;
    gap: 16px 26px;
    margin-top: 28px;
    max-width: none;
  }
  body.presentation-site .cover-stats span { font-size: 11px !important; letter-spacing: .08em; }
  body.presentation-site .cover-stats b { font-size: 18px; }
  body.presentation-site .cover-visual {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 0;
    height: auto !important;
    padding: 8px 0 34px;
  }
  body.presentation-site .cover-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 520px);
    height: auto;
    aspect-ratio: 1.1;
  }
  body.presentation-site .cover-image img { width: 100%; height: 100%; object-fit: contain; }
  body.presentation-site .visual-label { left: 0; right: 0; font-size: 11px !important; }
  body.presentation-site .cover-bottom {
    position: static;
    padding-top: 14px;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 11px !important;
  }
  body.presentation-site .cover-bottom a { font-size: 14px !important; }

  /* ---------- สินค้า ---------- */
  body.presentation-site .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  body.presentation-site .product-card { display: flex; flex-direction: column; }
  body.presentation-site .product-art {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 4 / 3;
    padding: 12px;
  }
  body.presentation-site .product-art img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  body.presentation-site .product-copy { padding: 18px 18px 20px; }
  body.presentation-site .product-price { font-size: 14px !important; }
  body.presentation-site .product-price b { font-size: 22px !important; }
  body.presentation-site .feature-list { grid-template-columns: 1fr; gap: 8px; }
  body.presentation-site .feature-list li { font-size: 15px !important; line-height: 1.5; }

  /* ---------- Disruptive ---------- */
  body.presentation-site .innovation > .slide-content { display: flex !important; flex-direction: column; }
  body.presentation-site .innovation-visual {
    grid-column: auto;
    grid-row: auto;
    order: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: clamp(230px, 52vw, 380px) !important;
    padding: 0;
  }
  body.presentation-site .innovation-visual::before { inset: 10% 2% 8%; }
  body.presentation-site .innovation-chip { display: flex; align-items: center; justify-content: center; width: 100%; height: 76% !important; }
  body.presentation-site .innovation-chip img { width: 100%; height: 100%; object-fit: contain; }
  body.presentation-site .floating-code { font-size: 11px !important; }
  body.presentation-site .code-one { right: 0; top: 18%; }
  body.presentation-site .code-two { left: 0; bottom: 6%; }
  body.presentation-site .innovation-copy {
    grid-column: auto;
    grid-row: auto;
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  body.presentation-site .innovation-copy h2 { margin: 4px 0 !important; }
  body.presentation-site .competitor-gallery {
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 6px 0 0;
  }
  body.presentation-site .competitor-product { grid-template-columns: 1fr; padding: 16px; }
  body.presentation-site .competitor-image { height: clamp(150px, 26vw, 210px) !important; }
  body.presentation-site .competitor-image img { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; }
  body.presentation-site .competitor-details small { font-size: 12px !important; }
  body.presentation-site .competitor-details b { font-size: 17px !important; }
  body.presentation-site .competitor-details ul { padding-left: 20px; margin-top: 10px; }
  body.presentation-site .competitor-details li { font-size: 15px !important; line-height: 1.55; }
  body.presentation-site .innovation > .slide-content > .disruptive-copy {
    grid-column: auto;
    grid-row: auto;
    order: 2;
    width: 100%;
    padding: clamp(16px, 3vw, 24px);
  }
  body.presentation-site .innovation > .slide-content > .disruptive-copy p { font-size: clamp(15px, 2.1vw, 18px) !important; line-height: 1.7; }

  /* ---------- Diffusion of Innovation ---------- */
  body.presentation-site .adoption-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
  }
  body.presentation-site .adoption-card { padding: clamp(16px, 3vw, 24px); }
  body.presentation-site .adoption-bridge { font-size: 11px; }
  body.presentation-site .adoption-card h4 { font-size: 16px !important; }

  /* ---------- Positioning / Target ---------- */
  body.presentation-site .position-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.presentation-site .target-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  body.presentation-site .target-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.presentation-site .target-list { grid-template-columns: minmax(130px, .8fr) 1.4fr; gap: 10px 16px; }
  body.presentation-site .segment-card,
  body.presentation-site .target-facts { padding: clamp(16px, 3vw, 24px); }
  body.presentation-site .target-products .segment-card > span { font-size: 14px !important; }

  /* ---------- Marketing ---------- */
  body.presentation-site .market-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(14px, 3vw, 22px);
  }
  body.presentation-site .market-copy > .market-context { grid-column: 1 / -1; font-size: clamp(16px, 2.4vw, 19px) !important; }
  body.presentation-site .market-copy article { padding: 4px; }
  body.presentation-site .market-copy ul { padding-left: 20px; }
  body.presentation-site .channel-summary { display: block; margin: 0; padding: 0; background: none; border: 0; }
  body.presentation-site .channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body.presentation-site .channel-card { display: block; }
  body.presentation-site .channel-card p + p { margin-top: 8px; }

  /* ---------- รูปตัวอย่างช่องทางจำหน่าย ---------- */
  body.presentation-site .distribution > .slide-content { padding-top: clamp(24px, 5vw, 44px); padding-bottom: clamp(24px, 5vw, 44px); }
  body.presentation-site .distribution .distribution-gallery { display: block; width: 100%; height: auto !important; }
  body.presentation-site .distribution .marketing-reference {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0;
    padding: 6px;
    border: 1px solid #1d4774;
    background: #0b1d36;
    overflow: hidden;
  }
  body.presentation-site .distribution .marketing-reference img { display: block; width: 100%; height: auto !important; max-height: none; object-fit: contain; }

  /* ---------- SWOT (แท็บเล็ต: ตาราง 3 คอลัมน์พอดีจอ) ---------- */
  body.presentation-site .swot-matrix-wrap {
    display: block;
    width: 100%;
    height: auto !important;
    overflow: visible;
    border: 1px solid #2383d7;
  }
  body.presentation-site .swot .swot-matrix {
    width: 100%;
    min-width: 0 !important;
    height: auto !important;
    table-layout: fixed;
  }
  body.presentation-site .swot .swot-matrix thead { height: auto; }
  body.presentation-site .swot .swot-matrix tbody tr { height: auto; }
  body.presentation-site .swot .swot-matrix th,
  body.presentation-site .swot .swot-matrix td {
    padding: 14px 12px;
    font-size: 14px !important;
    line-height: 1.55;
    vertical-align: top;
    overflow-wrap: anywhere;
  }
  body.presentation-site .swot .swot-matrix thead th { font-size: 15px !important; }
  body.presentation-site .swot .swot-matrix th ol,
  body.presentation-site .swot .swot-matrix td ul {
    font-size: 13.5px !important;
    line-height: 1.55;
    padding-left: 18px;
    margin-top: 8px;
  }
  body.presentation-site .swot .swot-matrix li { font-size: 13.5px !important; line-height: 1.55; }
  body.presentation-site .swot .swot-matrix td h3 { font-size: 14px !important; margin: 4px 0 6px; }
  body.presentation-site .swot .swot-matrix .strategy-code { font-size: 26px; }
  body.presentation-site .swot .swot-matrix thead .matrix-axis { min-height: 120px; }
  body.presentation-site .swot .swot-matrix thead .matrix-axis span { font-size: 12px !important; max-width: 48%; }

  /* ---------- Five forces / Crisis / PESTEL / Foundation ---------- */
  body.presentation-site .force-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  body.presentation-site .force-grid > .force-card,
  body.presentation-site .forces .force-card:nth-child(n) { grid-column: auto; }
  body.presentation-site .force-grid > .force-card:last-child { grid-column: 1 / -1; }
  body.presentation-site .crisis-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
  body.presentation-site .pestel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body.presentation-site .pestel-card { display: block; }
  body.presentation-site .foundation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  body.presentation-site .foundation-grid > .foundation-card:last-child { grid-column: 1 / -1; }
  body.presentation-site .foundation-card p { max-width: none; }
  body.presentation-site .foundation-card.values-list { display: block; }
  body.presentation-site .foundation-card.values-list ul { margin: 8px 0 0; padding-left: 20px; }
  body.presentation-site .slide-content :is(.force-card, .crisis-stage, .pestel-card, .foundation-card) { padding: clamp(16px, 3vw, 24px); }

  /* ---------- RACI ---------- */
  body.presentation-site .raci-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  body.presentation-site .raci .raci-table { width: 100%; min-width: 0; table-layout: auto; }
  body.presentation-site .raci .raci-table th,
  body.presentation-site .raci .raci-table td {
    padding: 12px 12px;
    font-size: 14px !important;
    text-align: center;
  }
  body.presentation-site .raci .raci-table th:first-child,
  body.presentation-site .raci .raci-table td:first-child { text-align: left; }
  body.presentation-site .raci-definitions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
  body.presentation-site .raci-definitions b { font-size: 16px !important; }
  body.presentation-site .raci-definitions span { font-size: 15px !important; line-height: 1.55; }

  /* ---------- หน้าจบ / ร้านค้า ---------- */
  body.presentation-site .closing > .slide-content { align-items: center; text-align: center; justify-content: center; min-height: 80svh !important; }
  body.presentation-site .closing h2 { font-size: clamp(36px, 8vw, 64px) !important; }
  body.presentation-site .closing-url { font-size: clamp(17px, 3.4vw, 22px); margin: 4px 0 18px; }
  body.presentation-site .closing .team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }
  body.presentation-site .closing .team-member {
    width: auto !important;
    min-width: 0;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
  }
  body.presentation-site .closing .team-member b { white-space: normal !important; font-size: clamp(15px, 2.2vw, 18px) !important; margin: 4px 0; }
  body.presentation-site .closing .team-member span,
  body.presentation-site .closing .team-member small { font-size: 13px !important; }
  body.presentation-site .store-cta > .slide-content { align-items: center; justify-content: center; min-height: 70svh !important; background: none; }
  body.presentation-site .store-cta-content { width: 100%; max-width: 640px; padding: clamp(24px, 6vw, 48px); }
  body.presentation-site .store-cta-content h2 { font-size: clamp(30px, 7vw, 52px) !important; }
  body.presentation-site .store-cta-content .button { width: 100%; max-width: 360px; }

  /* ---------- ปุ่มลอย ---------- */
  body.presentation-site .next-section {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
}

/* ===================== มือถือ (≤ 700px) ===================== */
@media (max-width: 700px) {
  body.presentation-site .product-grid,
  body.presentation-site .competitor-gallery,
  body.presentation-site .position-grid,
  body.presentation-site .target-products,
  body.presentation-site .market-copy,
  body.presentation-site .channel-grid,
  body.presentation-site .force-grid,
  body.presentation-site .foundation-grid,
  body.presentation-site .adoption-rail { grid-template-columns: 1fr; }
  body.presentation-site .adoption-bridge { display: none; }
  body.presentation-site .force-grid > .force-card:last-child,
  body.presentation-site .foundation-grid > .foundation-card:last-child { grid-column: auto; }
  body.presentation-site .product-art { aspect-ratio: 16 / 11; }
  body.presentation-site .competitor-image { height: clamp(150px, 46vw, 220px) !important; }
  body.presentation-site .market-copy > .market-context { grid-column: auto; }

  /* SWOT: เปลี่ยนตารางเป็นการ์ดเรียงลงมา (จุดแข็ง > จุดอ่อน > โอกาส > SO > WO > อุปสรรค > ST > WT) */
  body.presentation-site .swot-matrix-wrap { border: 0; background: none; box-shadow: none; }
  body.presentation-site .swot .swot-matrix,
  body.presentation-site .swot .swot-matrix thead,
  body.presentation-site .swot .swot-matrix tbody,
  body.presentation-site .swot .swot-matrix tr,
  body.presentation-site .swot .swot-matrix th,
  body.presentation-site .swot .swot-matrix td { display: block; width: auto !important; }
  body.presentation-site .swot .swot-matrix thead th.matrix-axis { display: none; }
  body.presentation-site .swot .swot-matrix th,
  body.presentation-site .swot .swot-matrix td {
    margin: 0 0 12px;
    padding: 16px;
    border: 1px solid #2374bb;
    border-left-width: 4px;
    border-radius: 4px;
    font-size: 16px !important;
    background: #0b1b33;
  }
  body.presentation-site .swot .swot-matrix thead th:nth-child(2) { border-left-color: #3be0c0; }
  body.presentation-site .swot .swot-matrix thead th:nth-child(3) { border-left-color: #ff997c; }
  body.presentation-site .swot .swot-matrix tbody th { border-left-color: #66c9ff; }
  body.presentation-site .swot .swot-matrix tbody tr:nth-child(2) th { border-left-color: #a68aff; }
  body.presentation-site .swot .swot-matrix thead th { font-size: 17px !important; }
  body.presentation-site .swot .swot-matrix th ol,
  body.presentation-site .swot .swot-matrix td ul,
  body.presentation-site .swot .swot-matrix li { font-size: 15px !important; line-height: 1.6; }
  body.presentation-site .swot .swot-matrix td h3 { font-size: 16px !important; }
  body.presentation-site .swot .swot-matrix .strategy-code { font-size: 30px; }

  /* RACI: ให้ทั้ง 6 คอลัมน์พอดีจอ ไม่ต้องเลื่อนข้าง */
  body.presentation-site .raci .raci-table { table-layout: fixed; }
  body.presentation-site .raci .raci-table th:first-child,
  body.presentation-site .raci .raci-table td:first-child { width: 31%; padding-left: 10px; font-size: 12.5px !important; text-align: left; }
  body.presentation-site .raci .raci-table th,
  body.presentation-site .raci .raci-table td { padding: 10px 2px; font-size: 12.5px !important; }
  body.presentation-site .raci .raci-table thead th { font-size: 11px !important; letter-spacing: 0; overflow-wrap: normal; word-break: normal; }
  body.presentation-site .raci .raci-table thead th:first-child { font-size: 11px !important; overflow-wrap: anywhere; }
  body.presentation-site .closing .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.presentation-site .closing .team-member:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ===================== จอเล็กมาก (≤ 480px) ===================== */
@media (max-width: 480px) {
  body.presentation-site .target-list { grid-template-columns: 1fr; gap: 2px; }
  body.presentation-site .target-list span { margin-bottom: 10px; }
  body.presentation-site .pestel-grid { grid-template-columns: 1fr; }
  body.presentation-site .raci-definitions { grid-template-columns: 1fr; }
  body.presentation-site .cover-stats { gap: 14px 20px; }
}
@media (max-width: 360px) {
  body.presentation-site .raci .raci-table thead th { font-size: 9.5px !important; }
  body.presentation-site .raci .raci-table td { font-size: 12px !important; }
  body.presentation-site .raci .raci-table th:first-child,
  body.presentation-site .raci .raci-table td:first-child { width: 29%; font-size: 11.5px !important; padding-left: 8px; }
  body.presentation-site .slide-content h2 { font-size: 27px !important; }
  body.presentation-site .raci .raci-table th,
  body.presentation-site .raci .raci-table td { padding-left: 1px; padding-right: 1px; }
}

/* ===================== แท็บเล็ต (701–900px) ===================== */
@media (min-width: 701px) and (max-width: 900px) {
  body.presentation-site .crisis-grid { grid-template-columns: 1fr; }
  body.presentation-site .target-grid { grid-template-columns: 1fr; }
}
/* ===================== แท็บเล็ตกว้าง / iPad แนวนอน (901–1279px) ===================== */
@media (min-width: 901px) and (max-width: 1279px) {
  body.presentation-site .crisis-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.presentation-site .pestel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.presentation-site .foundation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.presentation-site .foundation-grid > .foundation-card:last-child { grid-column: auto; }
  body.presentation-site .target-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
  body.presentation-site .target-products { grid-template-columns: 1fr; }
  body.presentation-site .force-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body.presentation-site .forces .force-card:nth-child(-n+3) { grid-column: span 2; }
  body.presentation-site .forces .force-card:nth-child(n+4) { grid-column: span 3; }
  body.presentation-site .presentation-content > .innovation > .slide-content {
    display: grid !important;
    grid-template-columns: .8fr 1.2fr;
    gap: 22px 28px;
    align-items: center;
  }
  body.presentation-site .innovation > .slide-content > .innovation-visual { grid-column: 1; grid-row: 1; height: 360px !important; }
  body.presentation-site .innovation > .slide-content > .innovation-copy { grid-column: 2; grid-row: 1; }
  body.presentation-site .innovation > .slide-content > .disruptive-copy { grid-column: 1 / -1; grid-row: 2; }
  body.presentation-site .closing .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ===================== หน้าปกแนวนอน: ข้อความซ้าย รูปขวา ===================== */
@media ((max-width: 1279px) or (max-height: 520px)) and (orientation: landscape) and (min-width: 640px) {
  body.presentation-site .presentation-content > .cover > .slide-content {
    min-height: 100svh !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 28px;
  }
  body.presentation-site .presentation-content > .cover > .slide-content > .cover-copy { grid-column: 1; grid-row: 1; }
  body.presentation-site .presentation-content > .cover > .slide-content > .cover-visual { grid-column: 2; grid-row: 1; }
  body.presentation-site .presentation-content > .cover > .slide-content > .cover-bottom { grid-column: 1 / -1; grid-row: 2; }
  body.presentation-site .cover-image { width: min(100%, 440px); }
}

/* ===================== มือถือแนวนอน (เตี้ย) ===================== */
@media (max-height: 520px) and (orientation: landscape) {
  body.presentation-site .cover h1 { font-size: clamp(44px, 9vw, 72px) !important; }
  body.presentation-site .cover-overline { margin-top: 10px; }
  body.presentation-site .cover-stats { margin-top: 18px; }
  body.presentation-site .cover-visual { padding-bottom: 30px; }
  body.presentation-site .cover-image { width: min(100%, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  body.presentation-site .page-fade-in { animation: none; }
}
