/* OWND — shared styles for every page under /article/
   Extracted from the 5 article pages, whose <style> blocks were byte-identical.
   Page-specific rules stay inline in each page and load after this file. */

  :root{
    --green-100:#79F233; --green-300:#3DB140; --green-500:#00704C; --green-700:#004D33;
    --dark-900:#0A2633; --dark-800:#083538; --dark-1000:#061A22; --cream:#F8F9F6; --line:rgba(10,38,51,0.10);
  }
  *{box-sizing:border-box}
  html,body{margin:0;padding:0;background:#fff;color:var(--dark-900)}
  body{font-family:'Kanit','Noto Sans Thai',sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;line-height:1.6}
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
  .wrap{margin:0 auto;padding:0 20px}
  @media(min-width:768px){.wrap{padding:0 32px}}
  .wrap-main{max-width:896px}
  .wrap-related{max-width:1152px}
  .wrap-footer{max-width:1280px}

  /* Nav */
  .nav-wrap{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
  .nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;max-width:1280px;margin:0 auto}
  @media(min-width:768px){.nav-inner{padding:18px 32px}}
  .nav-logo{height:30px;width:auto}
  .nav-right{display:flex;align-items:center;gap:12px}
  .btn-cta{display:none;border-radius:9999px;background:var(--green-500);color:#fff;font-weight:500;font-size:14px;padding:8px 20px;transition:background .2s ease}
  .btn-cta:hover{background:var(--green-700)}
  @media(min-width:640px){.btn-cta{display:inline-flex;align-items:center}}
  .menu-btn{width:42px;height:42px;border-radius:9999px;border:1px solid var(--line);background:rgba(255,255,255,.8);display:flex;align-items:center;justify-content:center;color:var(--dark-900);cursor:pointer}
  .page-top-spacer{height:60px}
  @media(min-width:768px){.page-top-spacer{height:70px}}

  /* Article shell */
  main{padding-top:8px;padding-bottom:64px}
  .back-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:rgba(10,38,51,.7);margin:8px 0 24px;transition:color .2s}
  .back-link:hover{color:var(--green-500)}
  .crumb{font-size:14px;color:rgba(10,38,51,.68);margin-bottom:28px;display:flex;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px}
  .crumb a:hover{color:var(--green-500)}
  .crumb .sep{opacity:.4;margin:0 8px}
  .crumb .cur{color:rgba(10,38,51,.8);max-width:60vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  @media(min-width:768px){.crumb .cur{max-width:none;white-space:normal}}
  .title-block{position:relative;padding-left:22px;margin-bottom:28px}
  .title-block::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:5px;background:var(--green-300);border-radius:3px}
  .title-block h1{font-size:28px;font-weight:700;line-height:1.25;margin:0;color:var(--dark-900)}
  @media(min-width:768px){.title-block h1{font-size:42px}}
  .meta-row{display:flex;flex-direction:column;gap:16px;padding-bottom:28px;border-bottom:1px solid var(--line);margin-bottom:36px}
  @media(min-width:768px){.meta-row{flex-direction:row;align-items:center;justify-content:space-between}}
  .meta-info{display:flex;align-items:center;gap:12px}
  .meta-mark{width:40px;height:40px;border-radius:9999px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
  .meta-mark img{width:26px;height:26px;object-fit:contain;display:block}
  .meta-date{font-size:14px;color:var(--dark-900);font-weight:500}
  .share{display:flex;align-items:center;gap:8px}
  .share-label{font-size:14px;color:rgba(10,38,51,.68);margin-right:2px}
  .share-btn{width:38px;height:38px;border-radius:9999px;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;color:var(--dark-900);transition:all .2s;cursor:pointer;background:#fff}
  .share-btn:hover{border-color:var(--green-300);color:var(--green-500);transform:translateY(-1px)}
  .hero-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;margin-bottom:44px;background:#E5E7EB}

  /* Prose */
  .prose{max-width:760px;margin:0 auto;color:var(--dark-900)}
  .prose p{font-size:17px;line-height:1.85;margin:0 0 20px}
  .prose .lead{color:var(--green-500);font-weight:600;font-size:20px;line-height:1.65;margin-bottom:28px}
  .prose h2{font-size:28px;font-weight:700;line-height:1.3;margin:44px 0 16px}
  .prose h3{font-size:22px;font-weight:600;line-height:1.35;margin:32px 0 12px}
  .prose ul,.prose ol{margin:0 0 20px;padding-left:22px}
  .prose li{font-size:17px;line-height:1.85;margin-bottom:8px}
  .prose blockquote{border-left:4px solid var(--green-100);background:var(--cream);padding:20px 24px;margin:28px 0;border-radius:6px;font-size:19px;line-height:1.6;font-weight:500}
  .prose figure{margin:32px 0}
  .prose figcaption{font-size:14px;color:rgba(10,38,51,.68);margin-top:10px;text-align:center}
  .prose strong{font-weight:600}
  .prose .note{color:rgba(10,38,51,.68);font-size:15px;border-top:1px dashed var(--line);padding-top:20px;margin-top:36px}
  .img-ph{background:repeating-linear-gradient(135deg,rgba(10,38,51,.05) 0 10px,rgba(10,38,51,.02) 10px 20px),#E5E7EB;color:rgba(10,38,51,.35);display:flex;align-items:center;justify-content:center;font-family:ui-monospace,Menlo,monospace;font-size:12px;letter-spacing:.08em;text-transform:uppercase;border-radius:16px;aspect-ratio:16/9}

  /* Related */
  .related{background:var(--cream);padding:64px 0}
  @media(min-width:768px){.related{padding:80px 0}}
  .related h2{font-size:24px;font-weight:700;color:var(--green-500);margin:0 0 32px;position:relative;padding-left:22px}
  .related h2::before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:5px;background:var(--green-300);border-radius:3px}
  @media(min-width:768px){.related h2{font-size:30px}}
  .related-grid{display:grid;grid-template-columns:1fr;gap:24px}
  @media(min-width:768px){.related-grid{grid-template-columns:repeat(2,1fr)}}
  @media(min-width:1024px){.related-grid{grid-template-columns:repeat(3,1fr)}}
  .card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease;display:flex;flex-direction:column;height:100%}
  .card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(10,38,51,.15)}
  .card-cover{position:relative;aspect-ratio:16/10;background:#E5E7EB}
  .card-cover img{width:100%;height:100%;object-fit:cover}
  .card .badge{position:absolute;top:14px;left:14px;background:#fff;color:var(--dark-900);border-radius:9999px;padding:5px 12px;font-size:12px;font-weight:500}
  .card-body{padding:20px;display:flex;flex-direction:column;flex:1}
  .card-body h3{font-size:18px;font-weight:600;line-height:1.35;margin:0 0 8px}
  .card-body p{font-size:14px;color:rgba(10,38,51,.68);line-height:1.6;flex:1;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
  .card-foot .date{font-size:12px;color:rgba(10,38,51,.68)}
  .card-foot .more{font-size:14px;font-weight:500;color:var(--green-500)}

  /* Footer */
  footer{background:var(--dark-800);color:#fff;padding:64px 0}
  @media(min-width:768px){footer{padding:80px 0}}
  .footer-grid{display:grid;grid-template-columns:1fr;gap:40px;margin-bottom:56px}
  @media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
  @media(min-width:768px){.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}}
  .footer-brand .desc{font-size:14px;color:rgba(255,255,255,.6);margin:16px 0 0;line-height:1.7;max-width:22rem}
  .footer-badge{margin-top:20px;display:inline-flex;align-items:center;gap:6px;background:rgba(121,242,51,.1);border:1px solid rgba(121,242,51,.3);color:var(--green-100);font-size:12px;border-radius:9999px;padding:6px 14px}
  @media(min-width:640px){.footer-brand{grid-column:span 2}}
  @media(min-width:768px){.footer-brand{grid-column:auto}}
  .fcol-h{font-size:14px;font-weight:600;color:var(--green-100);margin-bottom:18px}
  .fcol ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
  .fcol a{font-size:14px;color:rgba(255,255,255,.6);transition:color .2s}
  .fcol a:hover{color:#fff}
  .contact a,.contact .addr{display:flex;align-items:center;gap:12px;font-size:14px;color:rgba(255,255,255,.8)}
  .contact{display:flex;flex-direction:column;gap:16px}
  .contact .ic{width:36px;height:36px;border-radius:9999px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;flex-shrink:0}
  .contact .addr{align-items:flex-start;color:rgba(255,255,255,.7);line-height:1.6}
  .footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:24px;display:flex;flex-direction:column;gap:16px;align-items:center}
  @media(min-width:640px){.footer-bottom{flex-direction:row;justify-content:space-between}}
  .footer-bottom .copy{font-size:12px;color:rgba(255,255,255,.68)}
  .footer-bottom .links{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}
  .footer-bottom .links a{font-size:12px;color:rgba(255,255,255,.6)}
  .footer-bottom .links a:hover{color:#fff}

  ::selection{background:var(--green-100);color:var(--dark-900)}
  @media(max-width:767px){
    .prose p,.prose li{font-size:16px;line-height:1.8}
    .prose h2{font-size:24px}.prose h3{font-size:19px}.prose .lead{font-size:18px}
    .title-block::before{width:4px}
  }

  /* ===== Dropdown menu button (burger <-> X morph) ===== */
  .menu-btn{position:relative}
  .menu-btn svg{position:absolute;transition:opacity .35s ease,transform .45s ease}
  .menu-btn .ic-x{opacity:0;transform:rotate(-180deg) scale(.5)}
  .menu-btn[aria-expanded="true"] .ic-burger{opacity:0;transform:rotate(180deg) scale(.5)}
  .menu-btn[aria-expanded="true"] .ic-x{opacity:1;transform:rotate(0) scale(1)}
