/* STEP85C: scoped child place cards and public/admin detail */
.tp85c-child-section{margin:22px auto 0;max-width:1100px;padding:24px 18px;background:#fff;border:1px solid #d6e6e0;border-radius:16px;color:#123d37}
.tp85c-child-head h2{margin:0 0 4px;font-size:clamp(20px,2.3vw,26px);line-height:1.25}
.tp85c-child-head p{margin:0 0 18px;color:#5a706d;font-size:13px}
.tp85c-child-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tp85c-child-card{display:block;min-width:0;text-decoration:none;color:#122f2b;background:#fff;border:1px solid #dce8e4;border-radius:12px;overflow:hidden}
.tp85c-child-card img,.tp85c-no-photo{display:block;width:100%;height:160px;object-fit:cover;background:#e8f3ee}
.tp85c-no-photo{display:grid;place-items:center;font-size:44px}
.tp85c-child-copy{padding:13px}.tp85c-child-copy strong{display:block;font-size:16px}.tp85c-child-copy p{font-size:13px;color:#4f6661;margin:7px 0;line-height:1.55}.tp85c-child-copy span{color:#087d66;font-size:13px;font-weight:700}
.tp85c-detail-body{margin:0;background:#f4f8f7;color:#132a2b;font-family:"Noto Sans Thai","Leelawadee UI",Tahoma,Arial,sans-serif;line-height:1.72}
.tp85c-nav{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:18px max(18px,calc((100vw - 1120px)/2));border-bottom:1px solid #dce9e5;gap:16px}.tp85c-nav a{color:#076c59;text-decoration:none;font-weight:700}
.tp85c-main{max-width:960px;margin:0 auto;padding:22px 18px 45px}.tp85c-breadcrumb{font-size:13px;margin-bottom:15px;color:#536f69}.tp85c-breadcrumb a{color:#087965;text-decoration:none}
.tp85c-detail{background:#fff;border:1px solid #dce8e2;border-radius:17px;padding:clamp(18px,4vw,36px)}.tp85c-kicker{color:#087966;font-size:13px;font-weight:700;margin:0}.tp85c-detail h1{font-size:clamp(26px,4vw,38px);line-height:1.3;margin:9px 0}.tp85c-summary{font-size:17px;color:#455d59}
.tp85c-cover{display:block;width:100%;height:auto;max-height:550px;object-fit:cover;border-radius:12px;margin:20px 0}.tp85c-body-text{line-height:1.95;overflow-wrap:anywhere;white-space:normal}.tp85c-gallery{margin-top:30px}.tp85c-gallery>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.tp85c-gallery img{width:100%;height:120px;object-fit:cover;border-radius:9px}.tp85c-small{color:#5d706b;font-size:14px}
.tp85c-btn{display:inline-block;border-radius:9px;padding:11px 17px;background:#087e65;color:#fff!important;text-decoration:none;font-weight:700}.tp85c-notice{border-radius:9px;background:#eaf6ef;padding:12px 15px;font-size:13px;color:#34574c}.tp85c-footer{text-align:center;color:#67827a;padding:20px;font-size:13px}
.tp85c-edit-btn{display:inline-block;background:#087e65;color:#fff!important;text-decoration:none;padding:10px 14px;border-radius:9px;font-weight:700;margin-top:8px}.tp85c-admin-panel{max-width:1000px;margin:28px auto;background:#fff;border:1px solid #d4e4dd;border-radius:14px;padding:clamp(16px,3vw,30px)}.tp85c-admin-panel h1{line-height:1.3}.tp85c-form{display:grid;gap:14px}.tp85c-form label{display:grid;gap:5px;font-weight:700;color:#163b33}.tp85c-form input[type=text],.tp85c-form textarea,.tp85c-form select{font:inherit;min-width:0;width:100%;box-sizing:border-box;border:1px solid #bccfc9;border-radius:8px;padding:10px;background:#fff;color:#123}.tp85c-form textarea{min-height:100px}.tp85c-form .tp85c-long{min-height:270px}.tp85c-form .tp85c-check{display:flex;align-items:center;gap:8px;font-size:14px}.tp85c-form .tp85c-check input{width:18px;height:18px}.tp85c-form button{padding:12px 18px;background:#087e65;color:white;border:0;border-radius:9px;cursor:pointer;font-weight:700}.tp85c-form button.tp85c-secondary{background:#435c58}.tp85c-form button.tp85c-danger{background:#a43738}.tp85c-form-actions{display:flex;gap:10px;flex-wrap:wrap}.tp85c-edit-notice{background:#e9f5ef;padding:12px;border-radius:8px;color:#174e3b}.tp85c-edit-error{background:#fff0ef;padding:12px;border-radius:8px;color:#8a2b29}.tp85c-images{display:flex;flex-wrap:wrap;gap:12px}.tp85c-images label{cursor:pointer!important;display:flex;flex-direction:column;gap:6px;font-size:13px}.tp85c-images img{height:110px;width:160px;object-fit:cover;border-radius:8px}
@media(max-width:760px){.tp85c-child-section{padding:16px 12px}.tp85c-child-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tp85c-child-card img,.tp85c-no-photo{height:110px}.tp85c-child-copy{padding:9px}.tp85c-child-copy strong{font-size:14px}.tp85c-gallery>div{grid-template-columns:repeat(2,minmax(0,1fr))}.tp85c-nav{padding:15px}.tp85c-form-actions button{flex:1 1 120px}}

.tp85c-upload-form{margin:18px 0;padding:16px;background:#edf7f1;border:1px solid #c4e2d5;border-radius:11px;display:grid;gap:9px}.tp85c-upload-form h2{font-size:18px;margin:0}.tp85c-upload-form p{margin:0;color:#4b675d;font-size:13px}.tp85c-upload-form button{width:max-content;max-width:100%;padding:11px 15px;background:#087e65;color:#fff;border:0;border-radius:8px;font-weight:700;cursor:pointer}

/* STEP85J — two-column recommended child places on desktop, single-column on mobile.
   The parent site's font is inherited, and excerpt is taken from published summary. */
.tp85c-child-section,
.tp85c-child-section .tp85c-child-head,
.tp85c-child-section .tp85c-child-head h2,
.tp85c-child-section .tp85c-child-head p,
.tp85c-child-section .tp85c-child-copy,
.tp85c-child-section .tp85c-child-copy strong,
.tp85c-child-section .tp85c-child-copy p,
.tp85c-child-section .tp85c-child-copy time{font-family:inherit}
.tp85c-child-section .tp85c-child-head h2{font-size:clamp(19px,2.1vw,25px);font-weight:700;line-height:1.35;letter-spacing:normal;color:inherit}
.tp85c-child-section .tp85c-child-head p{font-size:13px;line-height:1.6;margin:5px 0 16px}
.tp85c-child-section .tp85c-child-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;max-width:none;width:100%;margin:0}
.tp85c-child-section .tp85c-child-card{display:flex;align-items:flex-start;gap:12px;min-width:0;width:100%;box-sizing:border-box;padding:12px;border:1px solid #deebe7;border-radius:12px;background:#fff;color:inherit;overflow:hidden;text-decoration:none;transition:border-color .15s ease}
.tp85c-child-section .tp85c-child-card:hover{border-color:#a0cfc1}
.tp85c-child-section .tp85c-child-card img,
.tp85c-child-section .tp85c-no-photo{width:108px;height:94px;min-width:108px;max-width:108px;flex:0 0 108px;border-radius:8px;object-fit:cover;background:#e8f3ee;overflow:hidden}
.tp85c-child-section .tp85c-no-photo{font-size:30px;display:grid;place-items:center}
.tp85c-child-section .tp85c-child-copy{flex:1 1 auto;min-width:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px;line-height:1.55}
.tp85c-child-section .tp85c-child-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:15px;line-height:1.45;font-weight:700;color:#123b35;overflow-wrap:anywhere}
.tp85c-child-section .tp85c-child-copy .tp85c-child-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:100%;margin:0;color:#5b6f6b;font-size:13px;font-weight:400;line-height:1.55;overflow-wrap:anywhere}
.tp85c-child-section .tp85c-child-copy .tp85c-child-date{display:block;margin-top:auto;font-size:12px;line-height:1.4;color:#879b97;font-weight:400}
.tp85c-child-section .tp85c-child-card:hover .tp85c-child-copy strong{color:#087e65}
.tp85c-child-section .tp85c-child-card:focus-visible{outline:2px solid #087e65;outline-offset:3px}
@media(max-width:760px){
 .tp85c-child-section .tp85c-child-grid{grid-template-columns:minmax(0,1fr);gap:10px}
 .tp85c-child-section .tp85c-child-card{padding:10px;gap:10px}
 .tp85c-child-section .tp85c-child-card img,.tp85c-child-section .tp85c-no-photo{width:88px;height:90px;min-width:88px;max-width:88px;flex-basis:88px}
 .tp85c-child-section .tp85c-child-copy strong{font-size:14px}
 .tp85c-child-section .tp85c-child-copy .tp85c-child-excerpt{font-size:12px}
 .tp85c-child-section .tp85c-child-head h2{font-size:20px}
}
@media(max-width:340px){.tp85c-child-section .tp85c-child-card img,.tp85c-child-section .tp85c-no-photo{width:74px;min-width:74px;flex-basis:74px;height:85px}}

/* STEP85K: The child-place detail page now uses the same Noto Sans Thai font family as the Teephak public website; listing/layout rules unchanged. */
