/* STEP86E2: isolated, shadow-free, responsive public tag and travel-style UI */
.tph86e2-area-tags,.tph86e2-root{--te-green:#087f66;--te-text:#103c36;--te-line:#d5e8e3;--te-muted:#607a76;font-family:inherit;color:var(--te-text)}
.tph86e2-area-tags{width:min(1108px,calc(100% - 32px));margin:14px auto 22px;border:1px solid var(--te-line);border-radius:16px;background:#fff;padding:17px 19px;box-sizing:border-box}
.tph86e2-area-tags *,.tph86e2-root *{box-sizing:border-box}
.tph86e2-tag-header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px}
.tph86e2-tag-header h2{font-weight:850;font-size:18px;line-height:1.45;color:var(--te-text);margin:3px 0}
.tph86e2-tag-header p{margin:0;color:var(--te-muted);font-size:12px;line-height:1.5}
.tph86e2-eyebrow{font-size:10px;letter-spacing:.08em;color:var(--te-green);font-weight:800}
.tph86e2-all-link{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--te-line);border-radius:10px;padding:9px 12px;background:#eff8f4;color:#066d58!important;text-decoration:none;font-weight:750;font-size:12px}
.tph86e2-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.tph86e2-chip{display:inline-flex;align-items:center;max-width:100%;background:#ecf8f3;color:#075c4e!important;text-decoration:none!important;border:1px solid #c8e6d9;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.tph86e2-chip:hover,.tph86e2-chip:focus-visible{background:#d4f0e4;border-color:#087f66}
.tph86e2-more{margin-top:12px}.tph86e2-more summary{cursor:pointer;display:inline-flex;align-items:center;color:#08735e;border:1px solid #d3e9e0;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:750;list-style:none}.tph86e2-more summary::-webkit-details-marker{display:none}
.tph86e2-root{background:#f3f8f6;min-height:50vh;padding-bottom:50px}.tph86e2-shell{max-width:1150px;margin:0 auto;padding:0 22px}
.tph86e2-hero{background:linear-gradient(115deg,#0b6258,#10443f);color:white;padding:36px 0 42px}
.tph86e2-hero .tph86e2-eyebrow{color:#a7f2d6}.tph86e2-hero h1{font-size:clamp(27px,3.3vw,44px);line-height:1.25;color:#fff;margin:10px 0 12px;font-weight:900}.tph86e2-hero p{max-width:750px;color:#e5faf1;font-size:14px;line-height:1.8;margin:0}
.tph86e2-crumb{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12px;margin-bottom:23px;color:#e5faf1}.tph86e2-crumb a{color:#fff;text-decoration:underline}
.tph86e2-h1-icon{font-size:.8em}.tph86e2-main{padding-top:30px}.tph86e2-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.tph86e2-section-head h2{font-size:22px;line-height:1.35;color:#123b36;margin:3px 0;font-weight:850}.tph86e2-pill{background:#e1f5e9;padding:7px 12px;border-radius:999px;font-size:12px;color:#176f55;font-weight:750;white-space:nowrap}
.tph86e2-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.tph86e2-style-card{display:block;border:1px solid #d9e9e3;border-radius:14px;background:#fff;padding:20px;color:#123b36;text-decoration:none!important;min-width:0}.tph86e2-style-card:hover,.tph86e2-style-card:focus-visible{border-color:#078566;background:#fafffd}.tph86e2-style-icon{font-size:30px;display:block;margin-bottom:10px}.tph86e2-style-card h3{font-size:16px;color:#143e38;margin:0 0 8px;line-height:1.4}.tph86e2-style-card p{font-size:12px;color:#5b7771;line-height:1.7;min-height:38px;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tph86e2-style-card>span:last-child{color:#087460;font-size:12px;font-weight:750}
.tph86e2-counter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.tph86e2-counter-row span{background:#fff;border:1px solid #d7e9e2;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:750}.tph86e2-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:5px 0 25px}.tph86e2-tabs a{color:#315e53;text-decoration:none;border:1px solid #cce2d8;background:#fff;border-radius:999px;padding:10px 15px;font-size:12px;font-weight:750}.tph86e2-tabs a[aria-current=page]{background:#087f66;border-color:#087f66;color:#fff}
.tph86e2-result-group{padding:22px 0;border-bottom:1px solid #d6e7df}.tph86e2-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tph86e2-card{background:#fff;border:1px solid #d6e7df;border-radius:14px;overflow:hidden;display:block;text-decoration:none!important;color:#18473c;min-width:0}.tph86e2-card:hover{border-color:#078566}.tph86e2-photo{height:140px;background:#e1efe8;overflow:hidden}.tph86e2-photo img{width:100%;height:100%;object-fit:cover}.tph86e2-photo-fallback{display:grid;place-items:center;font-size:42px;height:100%;background:linear-gradient(125deg,#e2f5ec,#d9e9e7)}.tph86e2-card-body{padding:15px}.tph86e2-kicker{display:block;font-size:10px;color:#087f66;font-weight:850;margin-bottom:6px}.tph86e2-card-body h3{font-size:16px;color:#153d38;line-height:1.5;margin:0 0 7px}.tph86e2-card-body p{font-size:12px;line-height:1.6;margin:0 0 12px;color:#55756d}.tph86e2-read{font-size:12px;color:#087f66;font-weight:800}.tph86e2-empty{background:#fff;padding:22px;border:1px dashed #cadfd6;border-radius:12px;color:#627d74;font-size:13px}.tph86e2-browse{text-align:right;margin-top:14px}.tph86e2-browse a,.tph86e2-pagination a{display:inline-block;color:#07725f;background:#fff;border:1px solid #cfe3da;padding:9px 12px;border-radius:10px;font-size:12px;text-decoration:none;font-weight:750}.tph86e2-pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin:22px 0}.tph86e2-note{font-size:12px;color:#637e75;line-height:1.7;margin:19px 0}
@media(max-width:850px){.tph86e2-style-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tph86e2-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.tph86e2-area-tags{width:calc(100% - 28px);padding:15px;margin:10px auto 16px}.tph86e2-tag-header{display:block}.tph86e2-tag-header h2{font-size:16px}.tph86e2-all-link{margin-top:12px}.tph86e2-chip{font-size:11px;padding:6px 10px}.tph86e2-shell{padding:0 14px}.tph86e2-hero{padding:25px 0 30px}.tph86e2-hero h1{font-size:27px}.tph86e2-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tph86e2-style-card{padding:13px}.tph86e2-style-card h3{font-size:13px}.tph86e2-style-card p{font-size:11px}.tph86e2-card-grid{grid-template-columns:minmax(0,1fr)}.tph86e2-photo{height:170px}.tph86e2-section-head h2{font-size:19px}.tph86e2-main{padding-top:20px}}

/* STEP88D2_RELATED_TRAVEL_TAGS_MOBILE_96VW_20261015
 * Only the "รูปแบบการท่องเที่ยวที่เกี่ยวข้อง" chip container.
 * No effect on the public travel-styles list/detail cards or article image grids.
 */
@media (max-width:600px) {
  nav.tph86e2-area-tags {
    box-sizing:border-box;
    width:96vw;
    max-width:96vw;
    position:relative;
    left:50%;
    transform:translateX(-50%);
    margin:10px 0 16px;
    padding:13px 12px 15px;
  }
  nav.tph86e2-area-tags .tph86e2-tag-header h2 {
    font-size:15px;
    line-height:1.35;
  }
  nav.tph86e2-area-tags .tph86e2-tag-header p {
    font-size:11px;
    line-height:1.5;
  }
  nav.tph86e2-area-tags .tph86e2-chips {
    column-gap:5px;
    row-gap:6px;
  }
  nav.tph86e2-area-tags a.tph86e2-chip {
    font-size:10px;
    line-height:1.35;
    font-weight:700;
    padding:5px 7px;
    max-width:100%;
    overflow-wrap:anywhere;
  }
  nav.tph86e2-area-tags .tph86e2-all-link,
  nav.tph86e2-area-tags .tph86e2-more summary {
    font-size:11px;
    padding:7px 10px;
  }
}

/* STEP88D3_RELATED_TAGS_SMALL_THIN_96VW_CACHEBUST_20261015
 * Only the related travel tags block shown within pages using tph86e2_render_tags.
 * Never affect other category chips, travel-styles page or desktop.
 */
@media (max-width:600px) {
  html body nav.tph86e2-area-tags {
    box-sizing:border-box!important;
    width:96vw!important;
    max-width:96vw!important;
    margin-left:0!important;
    margin-right:0!important;
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
  }
  html body nav.tph86e2-area-tags .tph86e2-chips {
    gap:5px 5px!important;
  }
  html body nav.tph86e2-area-tags a.tph86e2-chip {
    font-size:9px!important;
    font-weight:400!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    padding:4px 6px!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}

/* STEP88D4_DESKTOP_TAGS_COMPACT_REGULAR_20261015
 * Scope: only the related travel tags module, normal/tablet/desktop view.
 * Keep STEP88D3 mobile @media(max-width:600px) absolutely unchanged.
 */
@media (min-width:601px) {
  html body nav.tph86e2-area-tags .tph86e2-chips {
    gap:6px 7px!important;
  }
  html body nav.tph86e2-area-tags a.tph86e2-chip {
    font-size:10px!important;
    font-weight:400!important;
    line-height:1.35!important;
    padding:5px 8px!important;
    letter-spacing:0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}
