/* PET Single Post 2026 — scoped to news post template only. */
body.single-post .pet-single-2026{--pet-blue:#155e9d;--pet-blue-dark:#0d4075;--pet-light:#edf5fc;--pet-line:#d8e5f2;--pet-text:#203449;color:var(--pet-text);background:#fff}
body.single-post .pet-single-2026 .pet-single-shell{max-width:1200px;padding-top:22px;padding-bottom:60px}
body.single-post .pet-single-2026 .pet-single-main{max-width:950px;margin:0 auto;min-width:0}
body.single-post .pet-single-2026 .pet-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:25px;padding:12px 16px;border-radius:9px;background:var(--pet-light);color:#54708a;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
body.single-post .pet-single-2026 .pet-breadcrumb a{color:var(--pet-blue-dark);text-decoration:none}
body.single-post .pet-single-2026 .pet-breadcrumb a:hover{text-decoration:underline}
body.single-post .pet-single-2026 .pet-breadcrumb [aria-current]{overflow-wrap:anywhere}
body.single-post .pet-single-2026 .pet-article-header{text-align:center;margin:0 auto 30px}
body.single-post .pet-single-2026 .pet-article-title{font-family:"noto-serif-thai","Noto Serif Thai","Anuphan",sans-serif;font-size:clamp(25px,2.7vw,35px);font-weight:600;line-height:1.55;color:#113d69;margin:0 0 13px;overflow-wrap:break-word}
body.single-post .pet-single-2026 .pet-article-meta{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 16px;color:#60758a;font-size:14px;line-height:1.65}
body.single-post .pet-single-2026 .pet-category{padding:3px 11px;border-radius:20px;background:var(--pet-light);color:var(--pet-blue-dark);font-weight:600}
body.single-post .pet-single-2026 .pet-article-content{font-family:"Sarabun",sans-serif;font-size:18px;line-height:1.85;color:var(--pet-text);min-width:0;overflow-wrap:break-word}
body.single-post .pet-single-2026 .pet-article-content>p{margin-bottom:1.3em}
body.single-post .pet-single-2026 .pet-article-content h2{font-size:1.45em}body.single-post .pet-single-2026 .pet-article-content h3{font-size:1.23em}
body.single-post .pet-single-2026 .pet-article-content img{height:auto;max-width:100%;object-fit:contain}
body.single-post .pet-single-2026 .pet-article-content figure{max-width:100%;margin-left:auto;margin-right:auto}
body.single-post .pet-single-2026 .pet-article-content figure img{display:block;margin-left:auto;margin-right:auto}
body.single-post .pet-single-2026 .pet-article-content figcaption,body.single-post .pet-single-2026 .pet-article-content .wp-caption-text{font-size:14px;color:#64788b;text-align:center;line-height:1.7;margin-top:7px}
body.single-post .pet-single-2026 .pet-article-content .wp-caption{max-width:100%}
body.single-post .pet-single-2026 .pet-article-content .wp-block-image{text-align:center}
body.single-post .pet-single-2026 .pet-article-content .wp-block-image img{max-width:100%}
body.single-post .pet-single-2026 .pet-article-content table{display:block;max-width:100%;overflow-x:auto}
body.single-post .pet-single-2026 .pet-article-content iframe{max-width:100%}
body.single-post .pet-single-2026 .pet-article-content a{overflow-wrap:anywhere}
body.single-post .pet-single-2026 .pet-media-panel{margin-top:22px;background:var(--pet-light);border:1px solid var(--pet-line);border-radius:13px;padding:20px 22px}
body.single-post .pet-single-2026 .pet-media-panel h2,body.single-post .pet-single-2026 .pet-share h2,body.single-post .pet-single-2026 .pet-related h2{font-family:"Anuphan","Sarabun",sans-serif;font-size:21px;font-weight:700;color:#103d70;margin:0 0 15px;line-height:1.5}
body.single-post .pet-single-2026 .pet-media-panel h2 span{font-size:16px;font-weight:500}
body.single-post .pet-single-2026 .pet-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
body.single-post .pet-single-2026 .pet-media-btn{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 15px;background:#0968c4;border:1px solid #0753a0;border-radius:9px;color:white;text-decoration:none!important;font-family:"Anuphan","Sarabun",sans-serif;font-weight:600;font-size:15px;line-height:1.55;min-height:49px;text-align:center;transition:background .18s ease,transform .18s ease;overflow-wrap:anywhere}
body.single-post .pet-single-2026 .pet-media-btn:hover{background:#084c90;color:white;transform:translateY(-1px)}
body.single-post .pet-single-2026 .pet-external{font-size:15px;opacity:.9}
body.single-post .pet-single-2026 .pet-document-btn{background:#25775b;border-color:#1b654c}
body.single-post .pet-single-2026 .pet-document-btn:hover{background:#195a45}
body.single-post .pet-single-2026 .pet-share{border:1px solid var(--pet-line);border-radius:12px;margin-top:24px;padding:19px 22px}
body.single-post .pet-single-2026 .pet-share-actions{display:flex;flex-wrap:wrap;gap:12px}
body.single-post .pet-single-2026 .pet-share-actions>a,body.single-post .pet-single-2026 .pet-share-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:135px;padding:10px 18px;border:none;border-radius:9px;color:#fff;font:600 15px/1.4 "Anuphan","Sarabun",sans-serif;cursor:pointer;text-decoration:none!important}
body.single-post .pet-single-2026 .pet-share-line{background:#06c755}
body.single-post .pet-single-2026 .pet-share-facebook{background:#1877f2}
body.single-post .pet-single-2026 .pet-copy-link{background:#586b7c}
body.single-post .pet-single-2026 .pet-share-actions>*:hover{filter:brightness(.9)}
body.single-post .pet-single-2026 .pet-copy-status{font-size:14px;color:#36637c;margin:9px 0 0;min-height:0}
body.single-post .pet-single-2026 .pet-copy-status:empty{display:none}
body.single-post .pet-single-2026 .pet-related{margin-top:35px}
body.single-post .pet-single-2026 .pet-related h2{border-left:4px solid var(--pet-blue);padding-left:13px}
body.single-post .pet-single-2026 .pet-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
body.single-post .pet-single-2026 .pet-related-card{display:flex;flex-direction:column;border:1px solid var(--pet-line);border-radius:11px;overflow:hidden;text-decoration:none;color:var(--pet-text);background:#fff;transition:box-shadow .18s ease}
body.single-post .pet-single-2026 .pet-related-card:hover{box-shadow:0 6px 20px rgba(19,65,110,.12)}
body.single-post .pet-single-2026 .pet-related-card img,body.single-post .pet-single-2026 .pet-card-placeholder{width:100%;height:145px;object-fit:cover;display:block}
body.single-post .pet-single-2026 .pet-card-placeholder{background:var(--pet-light);color:#527698;display:flex;justify-content:center;align-items:center;font-size:14px}
body.single-post .pet-single-2026 .pet-related-info{padding:13px 14px;display:flex;flex-direction:column;gap:7px}
body.single-post .pet-single-2026 .pet-related-info strong{color:#123e6b;font-size:15px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.single-post .pet-single-2026 .pet-related-info small{color:#667a8b;font-size:12px}
body.single-post .pet-single-2026 .pet-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}
body.single-post .pet-single-2026 .pet-post-nav>a{display:flex;flex-direction:column;gap:4px;min-width:0;background:var(--pet-light);padding:15px 18px;border-radius:10px;border:1px solid var(--pet-line);text-decoration:none}
body.single-post .pet-single-2026 .pet-post-nav>a:last-child{text-align:right}
body.single-post .pet-single-2026 .pet-post-nav a span{color:#516c83;font-size:13px}
body.single-post .pet-single-2026 .pet-post-nav a strong{font-size:14px;line-height:1.5;color:#123e6b;overflow-wrap:break-word}
body.single-post .pet-single-2026 .pet-post-nav a:hover{border-color:#85b7e3}
body.single-post .pet-single-2026 .pet-news-return{text-align:center;margin:28px 0 0}
body.single-post .pet-single-2026 .pet-news-return a{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 24px;background:var(--pet-blue);color:#fff;border-radius:9px;font-size:15px;font-weight:600;text-decoration:none}
body.single-post .pet-single-2026 .pet-news-return a:hover{background:var(--pet-blue-dark)}
body.single-post .pet-single-2026 a:focus-visible,body.single-post .pet-single-2026 button:focus-visible{outline:3px solid #f4c36b;outline-offset:3px}
@media(max-width:767px){
 body.single-post .pet-single-2026 .pet-single-shell{padding-top:16px;padding-bottom:40px}
 body.single-post .pet-single-2026 .pet-breadcrumb{padding:10px 12px;font-size:12px;margin-bottom:19px}
 body.single-post .pet-single-2026 .pet-article-title{font-size:clamp(22px,6vw,27px);line-height:1.5}
 body.single-post .pet-single-2026 .pet-article-header{margin-bottom:22px}
 body.single-post .pet-single-2026 .pet-article-content{font-size:16.5px;line-height:1.8}
 body.single-post .pet-single-2026 .pet-media-panel,body.single-post .pet-single-2026 .pet-share{padding:16px}
 body.single-post .pet-single-2026 .pet-media-grid{grid-template-columns:1fr}
 body.single-post .pet-single-2026 .pet-related-grid{grid-template-columns:1fr}
 body.single-post .pet-single-2026 .pet-related-card{flex-direction:row;min-height:110px}
 body.single-post .pet-single-2026 .pet-related-card img,body.single-post .pet-single-2026 .pet-card-placeholder{width:35%;height:auto;min-height:105px;flex-shrink:0}
 body.single-post .pet-single-2026 .pet-related-info{justify-content:center}
 body.single-post .pet-single-2026 .pet-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.single-post .pet-single-2026 .pet-share-actions>a,body.single-post .pet-single-2026 .pet-share-actions>button{width:100%;min-width:0}
 body.single-post .pet-single-2026 .pet-post-nav{gap:9px}
 body.single-post .pet-single-2026 .pet-post-nav>a{padding:11px}
}
@media(max-width:420px){body.single-post .pet-single-2026 .pet-post-nav{grid-template-columns:1fr}body.single-post .pet-single-2026 .pet-post-nav .pet-nav-empty{display:none}body.single-post .pet-single-2026 .pet-share-actions{grid-template-columns:1fr}}
/* Lightweight fallback lightbox for image links in the story. */
body.single-post .pet-lightbox{padding:0;border:0;border-radius:12px;max-width:min(96vw,1200px);max-height:95vh;background:#0d1722;color:white;box-shadow:0 12px 70px rgba(0,0,0,.45)}
body.single-post .pet-lightbox::backdrop{background:rgba(0,0,0,.86)}
body.single-post .pet-lightbox img{max-width:95vw;max-height:88vh;display:block;object-fit:contain;margin:auto}
body.single-post .pet-lightbox-close{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.75);color:#fff;border:1px solid #fff;border-radius:50%;width:40px;height:40px;cursor:pointer;font-size:23px;line-height:1}

/* PET 1.1 compact sharing and reliable navigation */
body.single-post .pet-single-2026 .pet-share{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 16px}
body.single-post .pet-single-2026 .pet-share h2{font-size:16px;margin:0;white-space:nowrap}
body.single-post .pet-single-2026 .pet-share-actions{display:flex;flex-wrap:wrap;gap:7px}
body.single-post .pet-single-2026 .pet-share-actions>a,
body.single-post .pet-single-2026 .pet-share-actions>button{display:inline-flex;gap:6px;min-width:0;width:auto;min-height:38px;padding:7px 12px;border-radius:7px;font-size:13px;line-height:1.4}
body.single-post .pet-single-2026 .pet-share-icon{display:inline-grid;place-items:center;min-width:14px;font-family:Arial,sans-serif;font-size:15px;font-weight:700}
body.single-post .pet-single-2026 .pet-copy-status{flex-basis:100%;margin:0}
body.single-post .pet-single-2026 .pet-post-nav{display:flex;gap:12px}
body.single-post .pet-single-2026 .pet-post-nav>a{flex:1 1 0}
body.single-post .pet-single-2026 .pet-post-nav>a.pet-nav-older{text-align:right;margin-left:auto}
body.single-post .pet-single-2026 .pet-media-grid{display:flex;flex-wrap:wrap;gap:10px}
body.single-post .pet-single-2026 .pet-media-btn{width:auto;max-width:100%;min-height:42px;padding:9px 14px}
body.single-post .pet-single-2026 .pet-related-info strong{font-size:15px}
@media(max-width:767px){
 body.single-post .pet-single-2026 .pet-share{padding:12px;gap:8px}
 body.single-post .pet-single-2026 .pet-share-actions{display:flex;flex-wrap:wrap;gap:6px}
 body.single-post .pet-single-2026 .pet-share-actions>a,
 body.single-post .pet-single-2026 .pet-share-actions>button{min-width:0;width:auto;min-height:38px;padding:7px 9px;font-size:12px}
 body.single-post .pet-single-2026 .pet-article-content{font-size:17px}
 body.single-post .pet-single-2026 .pet-media-grid{display:flex}
 body.single-post .pet-single-2026 .pet-media-btn{max-width:100%}
 body.single-post .pet-single-2026 .pet-related-info strong{font-size:14px}
 body.single-post .pet-single-2026 .pet-post-nav{flex-direction:column}
 body.single-post .pet-single-2026 .pet-post-nav>a{width:100%}
}
