/* ทางเข้าศูนย์บัญชาการเครื่องจักรกล หน้าฝ่ายป้องกันฯ — ออกแบบใหม่ 27 ต.ค. 69 (ตรา อบจ. + ไอคอน 3D ชุดเดียวกับศูนย์บัญชาการ)
   mobile-first: ภาพเครื่องจักรอยู่บน ข้อความอยู่ล่าง · จอ ≥860px แบ่ง 2 คอลัมน์ · การ์ดโทนเข้มทั้งธีมสว่างและมืด */
.ops-portal{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:6px;overflow:hidden;isolation:isolate;padding:22px 20px 24px;border:1px solid #1f5a82;border-radius:20px;color:#fff;text-decoration:none;
  background:radial-gradient(ellipse 70% 60% at 78% 38%,rgba(83,212,191,.20),transparent 70%),
    repeating-linear-gradient(0deg,rgba(143,212,210,.07) 0 1px,transparent 1px 32px),
    repeating-linear-gradient(90deg,rgba(143,212,210,.07) 0 1px,transparent 1px 32px),
    linear-gradient(135deg,#08223c 0%,#0b3d6b 58%,#0e5a6c 100%);
  box-shadow:0 16px 40px rgba(8,34,60,.22);transition:transform .2s,box-shadow .2s,border-color .2s}
.ops-portal::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#c9a227,#e6c558 50%,#c9a227);z-index:2}
.ops-portal:hover{transform:translateY(-3px);border-color:#e6c558;box-shadow:0 22px 48px rgba(8,34,60,.32)}
.ops-portal:focus-visible{outline:4px solid #e6c558;outline-offset:5px}
.ops-copy{position:relative;z-index:1;min-width:0}
.ops-brand{display:flex;align-items:center;gap:12px}
.ops-seal{flex:none;width:58px;height:58px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 0 0 3px #c9a227,0 6px 16px rgba(0,0,0,.28)}
.ops-seal img{width:50px;height:50px;object-fit:contain}
.ops-org{display:flex;flex-direction:column;min-width:0;line-height:1.35}
.ops-org b{font-size:17px;font-weight:700;color:#fff}
.ops-org small{font-size:15px;color:#e6c558;font-weight:600}
.ops-portal h2{margin:16px 0 6px;font-size:clamp(28px,7.4vw,42px);line-height:1.3;color:#fff;font-weight:800;text-wrap:balance}
.ops-portal p{margin:0;color:#d3e3ef;font-size:18px;line-height:1.7;text-wrap:pretty}
.ops-features{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 20px;padding:0}
.ops-features li{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:7px 12px;border:1px solid rgba(255,255,255,.16);border-radius:12px;background:rgba(255,255,255,.07);font-size:15px;color:#e8f1f7;line-height:1.35}
.ops-features li::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#53d4bf;box-shadow:0 0 0 4px rgba(83,212,191,.18)}
.ops-action{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;padding:12px 22px;border-radius:12px;background:linear-gradient(180deg,#f0d36e,#c9a227);color:#072a4d;font-size:19px;font-weight:800;box-shadow:0 8px 20px rgba(201,162,39,.32)}
.ops-action svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.ops-portal:hover .ops-action svg{transform:translateX(4px)}
.ops-visual{order:-1;position:relative;margin:4px -6px 0}
.ops-stage{position:relative;width:100%;max-width:520px;margin:0 auto;aspect-ratio:16/10}
.ops-stage::before{content:"";position:absolute;left:6%;right:6%;bottom:4%;height:36%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(83,212,191,.34),rgba(83,212,191,.08) 55%,transparent 72%)}
.ops-stage::after{content:"";position:absolute;left:14%;right:14%;bottom:11%;height:20%;border-radius:50%;border:1px solid rgba(143,233,216,.35);box-shadow:0 0 0 14px rgba(143,233,216,.05)}
.ops-m{position:absolute;z-index:1;height:auto;filter:drop-shadow(0 10px 12px rgba(0,0,0,.38));animation:ops-float 6s ease-in-out infinite}
.ops-m-grader{width:30%;left:0;top:16%;animation-delay:-1s}
.ops-m-excavator{width:42%;left:28%;top:0;animation-delay:-3s}
.ops-m-truck{width:33%;right:0;top:12%;animation-delay:-2s}
.ops-m-pump{width:29%;left:8%;bottom:1%;z-index:2;animation-delay:-4s}
.ops-m-tanker{width:31%;right:7%;bottom:0;z-index:2;animation-delay:-5s}
.ops-m-boat{width:25%;left:39%;bottom:-3%;z-index:3}
@keyframes ops-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(min-width:560px){.ops-action{width:auto;display:inline-flex}}
@media(min-width:860px){
  .ops-portal{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:center;padding:40px 40px 40px 44px}
  .ops-visual{order:0;margin:0 -10px 0 0}
  .ops-seal{width:66px;height:66px}.ops-seal img{width:57px;height:57px}
  .ops-org b{font-size:18px}.ops-org small{font-size:16px}
  .ops-portal h2{margin-top:22px}
}
body.theme-dark .ops-portal{border-color:#2b5a78;box-shadow:0 16px 40px rgba(0,0,0,.45)}
@media(prefers-reduced-motion:reduce){.ops-portal,.ops-action svg{transition:none}.ops-m{animation:none}}
