:root{--kt-red:#ef2626;--kt-deep:#e01f1f;--kt-brown:#5c3a21;--kt-ink:#292526;--kt-muted:#706a6a;--kt-radius:18px}
*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}
body.kingthong-site{margin:0;background:#fff;color:var(--kt-ink);font-family:'Kanit',sans-serif;overflow-x:hidden}

.kingthong-site button,.kingthong-site a{font:inherit}
.kingthong-site a{text-decoration:none}
.kingthong-site img{max-width:100%}
.kt-skip-link{position:absolute;left:12px;top:-100px;z-index:9999;background:#fff;padding:10px;color:#222}
.kt-skip-link:focus{top:12px}
.kt-header{position:relative;z-index:1000;background:var(--kt-red);box-shadow:0 5px 20px #7f000025}
.kt-header-inner{max-width:1420px;margin:auto;padding:13px clamp(18px,4vw,56px);min-height:118px;display:flex;justify-content:space-between;align-items:center;gap:24px}
.kt-brand{display:flex;align-items:center;gap:18px;min-width:0}
.kt-logo{width:clamp(68px,8vw,120px);height:clamp(68px,8vw,120px);object-fit:contain;border-radius:50%;background:white;padding:5px;flex:none;box-shadow:0 5px 18px #60000022}
.kt-brand-name{font-size:clamp(17px,2.2vw,29px);font-weight:700;line-height:1.25;color:var(--kt-brown);letter-spacing:-.025em}
.kt-brand-name>span:last-child{white-space:nowrap}
.kt-brand-separator{margin:0 5px;color:#fff8}
.kt-menu-toggle{position:relative;z-index:1002;display:flex;flex-flow:column;justify-content:center;gap:6px;width:50px;height:50px;padding:11px;border:1px solid #ffffff70;background:#ffffff16;border-radius:13px;cursor:pointer;flex:none}
.kt-menu-toggle span{display:block;height:3px;width:100%;border-radius:5px;background:#fff;transition:transform .22s,opacity .22s}
.kt-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(9px) rotate(45deg)}
.kt-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.kt-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-9px) rotate(-45deg)}
.kt-main-nav{position:absolute;top:calc(100% - 6px);right:max(16px,calc((100vw - 1420px)/2 + 50px));width:min(340px,calc(100vw - 32px));padding:16px;background:#fff;box-shadow:0 16px 45px #0003;border-radius:15px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s}
.kt-main-nav.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.kt-menu-list,.kt-main-nav ul{list-style:none;margin:0;padding:0}
.kt-main-nav li{margin:0}
.kt-main-nav a{display:block;padding:12px 16px;color:#3b2525;border-radius:9px;font-weight:500}
.kt-main-nav a:hover,.kt-main-nav a:focus-visible{background:#fff0ee;color:var(--kt-red)}
.kt-hero{padding:clamp(28px,4.5vw,60px) clamp(14px,4vw,50px) 36px;background:#fff}
.kt-hero-heading,.kt-section-heading{text-align:center;max-width:900px;margin:0 auto 32px}
.kt-eyebrow{font-size:13px;letter-spacing:.22em;font-weight:700;color:var(--kt-red);margin:0 0 12px}
.kt-hero-heading h1,.kt-section-heading h2{font-size:clamp(27px,4.2vw,48px);line-height:1.2;font-weight:700;letter-spacing:-.03em;margin:0 0 10px}
.kt-hero-heading>p:last-child,.kt-section-heading>p:last-child{font-size:clamp(14px,1.5vw,17px);color:var(--kt-muted);margin:0}
.kt-touch-hint{display:none}
.kt-scene-scroll{width:100%;max-width:1080px;margin:0 auto;overflow:visible;scrollbar-width:thin;scrollbar-color:#cbb #f4f4f4}
.kt-scene{position:relative;width:100%;aspect-ratio:1667/2048;isolation:isolate;border-radius:18px;background:#e8f2fb;box-shadow:0 20px 52px #1b2a3c14}
.kt-building-photo{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none!important;object-fit:fill;border-radius:18px}
.kt-connector-layer{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none;overflow:visible}
.kt-connector-layer path{fill:none;stroke:var(--kt-red);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke;filter:drop-shadow(0 1px 2px #fff)}
.kt-connector-layer circle{fill:var(--kt-red);stroke:#fff;stroke-width:4;filter:drop-shadow(0 2px 4px #2225)}
.kt-place-card{position:absolute;z-index:3;width:27%;min-width:0;background:#fff;border:1px solid #fff;border-radius:14px;overflow:hidden;box-shadow:0 14px 34px #1118;transition:box-shadow .2s}
.kt-place-card:hover{box-shadow:0 19px 44px #111a}
.kt-place-aikido{top:2.4%;left:37%}
.kt-place-shop{top:44%;left:4%}
.kt-place-coffee{top:44%;right:4%}
.kt-slider{position:relative;width:100%;aspect-ratio:16/10;background:#eee;overflow:hidden}
.kt-slide{position:absolute;inset:0;width:100%;height:100%;max-width:none!important;object-fit:cover;display:none}
.kt-slide.is-active{display:block}
.kt-slide[hidden]{display:none!important}
.kt-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:38px;border:0;border-radius:7px;background:#161616b0;color:white;cursor:pointer;font-family:Arial,sans-serif!important;font-size:21px!important;line-height:1}
.kt-prev{left:7px}.kt-next{right:7px}
.kt-slider-arrow:hover{background:var(--kt-red)}
.kt-slide-count{position:absolute;bottom:7px;right:8px;padding:3px 8px;border-radius:99px;background:#141414ab;color:#fff;font-size:11px;letter-spacing:.04em}
.kt-card-copy{padding:clamp(10px,1.6vw,19px);text-align:left}
.kt-card-copy h2{margin:0 0 5px;font-size:clamp(14px,1.75vw,21px);line-height:1.25;color:#2a2424;font-weight:700}
.kt-card-copy p{margin:0 0 11px;color:#686060;font-size:clamp(11px,1.05vw,14px);line-height:1.55;min-height:2.6em}
.kt-view-more{display:inline-flex;align-items:center;gap:8px;background:var(--kt-red);color:#fff!important;border-radius:999px;padding:7px 14px;font-size:clamp(11px,1vw,13px);font-weight:600}
.kt-view-more:hover{background:#c91414}
.kt-posts{background:#fff;padding:clamp(50px,7vw,95px) clamp(18px,4vw,50px)}
.kt-section-heading{margin-bottom:33px}
.kt-posts-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.kt-post-card{overflow:hidden;background:#fff;border:1px solid #eee;border-radius:var(--kt-radius);box-shadow:0 10px 30px #1414140b}
.kt-post-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#f5f5f5}
.kt-post-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.kt-post-card:hover img{transform:scale(1.04)}
.kt-post-copy{padding:24px}
.kt-post-copy time{font-size:12px;color:var(--kt-red)}
.kt-post-copy h3{font-size:20px;line-height:1.35;margin:8px 0 10px}
.kt-post-copy h3 a{color:var(--kt-ink)}
.kt-post-copy p{font-size:14px;line-height:1.7;color:#716a6a;margin:0 0 14px}
.kt-post-read{color:var(--kt-red);font-size:14px;font-weight:600}
.kt-empty-posts{grid-column:1/-1;text-align:center;color:var(--kt-muted);border:1px dashed #eed0d0;padding:40px;border-radius:14px}
.kt-footer-upper{background:var(--kt-red);color:#fff;padding:55px clamp(18px,4vw,50px)}
.kt-footer-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px}
.kt-footer-heading{font-size:18px;font-weight:700;color:#fff;margin:0 0 16px}
.kt-footer-col{min-width:0;font-size:14px;line-height:1.8;color:#fff}
.kt-footer-col p{margin:0 0 10px}
.kt-footer-col a{color:#fff!important}
.kt-footer-col a:hover{text-decoration:underline}
.kt-footer-col ul{margin:0;padding-left:16px}
.kt-footer-bottom{background:var(--kt-deep);text-align:center;color:#fff;padding:19px 16px;font-size:13px;line-height:1.6}
.kingthong-site :focus-visible{outline:3px solid #ffd15a;outline-offset:3px}
@media(min-width:1400px){.kt-scene-scroll{max-width:1160px}}
@media(max-width:850px){.kt-header-inner{min-height:94px}.kt-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kt-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kt-scene-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;border-radius:13px}.kt-scene{width:850px;max-width:none}.kt-touch-hint{display:block;text-align:center;color:#806565;font-size:13px;margin:0 auto 16px}.kt-hero{padding-inline:14px}.kt-card-copy h2{font-size:17px}.kt-card-copy p{font-size:12px}.kt-view-more{font-size:12px}}
@media(max-width:540px){.kt-header-inner{min-height:82px;padding:9px 14px;gap:8px}.kt-brand{gap:10px}.kt-logo{width:59px;height:59px;padding:3px}.kt-brand-name{font-size:clamp(13px,3.8vw,18px)}.kt-brand-separator{margin:0 2px}.kt-brand-name>span:last-child{white-space:normal}.kt-menu-toggle{width:44px;height:44px}.kt-hero-heading{margin-bottom:22px}.kt-posts-grid{grid-template-columns:1fr}.kt-footer-grid{grid-template-columns:1fr 1fr;gap:25px 16px}.kt-footer-upper{padding-block:38px}.kt-footer-heading{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.kingthong-site{font-size:18px;line-height:1.65}
.kt-header-inner{max-width:1580px}
.kt-brand-name{font-size:clamp(21px,2.4vw,34px)}
.kt-main-nav a{font-size:18px}
.kt-hero{padding-bottom:12px}
.kt-hero-heading{max-width:1100px;margin-bottom:22px}
.kt-eyebrow{font-size:clamp(16px,1.5vw,21px);letter-spacing:.12em;line-height:1.5}
.kt-hero-heading h1,.kt-section-heading h2{font-size:clamp(30px,4.6vw,54px)}
.kt-hero-heading>p:last-child,.kt-section-heading>p:last-child{font-size:clamp(18px,1.8vw,23px);line-height:1.7}
.kt-scene-scroll{max-width:1280px}
.kt-scene{aspect-ratio:1120/1407}
.kt-place-card{width:34%;border-radius:17px;box-shadow:0 16px 42px #1119}
.kt-place-aikido{top:2%;left:33%}
.kt-place-shop{top:45%;left:1.5%}
.kt-place-coffee{top:45%;right:1.5%}
.kt-slider{aspect-ratio:16/9}
.kt-card-copy{padding:clamp(14px,1.65vw,23px)}
.kt-card-copy h2{font-size:clamp(20px,2vw,28px);line-height:1.35;margin-bottom:9px}
.kt-card-copy p{font-size:clamp(16px,1.37vw,20px);line-height:1.65;min-height:0;margin-bottom:10px;color:#403a3a}
.kt-view-more{font-size:12px;line-height:1.35;padding:5px 11px;gap:4px}
.kt-slider-arrow{width:40px;height:42px}
.kt-slide-count{font-size:12px}
.kt-posts{padding-top:30px;padding-bottom:70px}
.kt-section-heading{max-width:1100px}
.kt-post-copy time{font-size:15px}
.kt-post-copy h3{font-size:25px}
.kt-post-copy p{font-size:18px}
.kt-post-read{font-size:17px}
.kt-footer-heading{font-size:22px}
.kt-footer-col{font-size:18px}
.kt-footer-bottom{font-size:16px}
.kt-footer-col .wp-block-navigation a{color:#fff}
@media(min-width:1400px){.kt-scene-scroll{max-width:1300px}}
@media(max-width:900px){
  .kt-scene-scroll{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;scrollbar-width:thin;scrollbar-color:#ef2626 #f3e5e5;-webkit-overflow-scrolling:touch;border-radius:14px}
  .kt-scene{width:1040px;min-width:1040px;max-width:none;aspect-ratio:1120/1407}
  .kt-place-card{width:33%}
  .kt-place-aikido{left:33.5%}
  .kt-place-shop{left:1.5%}
  .kt-place-coffee{right:1.5%}
  .kt-card-copy h2{font-size:24px}
  .kt-card-copy p{font-size:18px}
  .kt-view-more{font-size:12px}
  .kt-touch-hint{font-size:16px}
  .kt-hero{padding:28px 12px 8px}
  .kt-posts{padding-top:24px}
}
@media(max-width:540px){
  .kt-header-inner{padding:10px 12px;min-height:88px}
  .kt-logo{width:66px;height:66px;max-width:none;flex:none}
  .kt-brand-name{font-size:clamp(16px,4vw,21px);line-height:1.35}
  .kt-main-nav{right:10px;width:calc(100vw - 20px)}
  .kt-hero-heading h1{font-size:33px}
  .kt-eyebrow{font-size:17px}
  .kt-hero-heading>p:last-child,.kt-section-heading>p:last-child{font-size:18px}
  .kt-scene{width:1040px;min-width:1040px}
  .kt-posts{padding:26px 16px 52px}
  .kt-posts-grid{grid-template-columns:1fr}
  .kt-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kt-footer-col{font-size:16px}
  .kt-footer-heading{font-size:18px}
  .kt-footer-bottom{font-size:15px}
}

.floating-card {
    width: 380px;
    max-width: none;
}

.slider-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-inner {
    padding: 14px;
}

.card-details {
    padding: 14px 6px 6px;
}

/* หัวข้อ */
.card-details h3 {
    font-size: 1.5rem;
    line-height: 1.35;
}

.card-details p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.view-more-btn {
    font-size: 0.85rem;
    padding: 6px 14px;
}

body {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

.header-title {
    font-size: 2rem;
}

.section-title {
    font-size: 2.8rem;
    line-height: 1.25;
}

.section-description {
    font-size: 1.3rem;
    line-height: 1.8;
}

.post-content h4 {
    font-size: 1.5rem;
}

.post-content h4 a {
    font-size: inherit;
}

.post-content p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.main-navigation a {
    font-size: 1.2rem;
}

/* Footer */
.site-footer {
    font-size: 1.1rem;
}


html,
body.kingthong-site {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.kt-scene-scroll {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: visible;
    touch-action: auto;
}

.kt-scene {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1120 / 1407;
    overflow: visible;
}

.kt-building-photo {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.kt-place-card {
    position: absolute;
    width: 34%;
    min-width: 0;
    max-width: none;
    overflow: hidden;
}

.kt-place-aikido {
    top: 2%;
    left: 33%;
}

.kt-place-shop {
    top: 45%;
    left: 1.5%;
}

.kt-place-coffee {
    top: 45%;
    right: 1.5%;
}

.kt-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.kt-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 900px) {

    .kt-scene-scroll {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        border-radius: 10px;
    }

    .kt-scene {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .kt-hero {
        padding: 24px 12px 12px;
    }

    .kt-place-card {
        width: 34%;
    }

    .kt-card-copy {
        padding: clamp(5px, 1vw, 12px);
    }

    .kt-card-copy h2 {
        font-size: clamp(10px, 1.6vw, 18px);
        line-height: 1.25;
    }

    .kt-card-copy p {
        font-size: clamp(9px, 1.4vw, 15px);
        line-height: 1.4;
    }

    .kt-view-more {
        font-size: clamp(9px, 1.2vw, 12px);
        padding: 4px 7px;
    }

    .kt-slider-arrow {
        width: 25px;
        height: 28px;
        font-size: 15px !important;
    }

    .kt-touch-hint {
        display: none;
    }
}

@media (max-width: 600px) {

    .kt-hero {
        padding: 18px 6px 8px;
    }

    .kt-scene-scroll,
    .kt-scene {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .kt-scene {
        border-radius: 6px;
    }

    .kt-building-photo {
        border-radius: 6px;
    }

    .kt-place-card {
        width: 34%;
        min-width: 0;
        border-radius: 5px;
        border-width: 1px;
        box-shadow: 0 3px 10px #0003;
    }

    .kt-place-aikido {
        top: 2%;
        left: 33%;
    }

    .kt-place-shop {
        top: 45%;
        left: 1.5%;
    }

    .kt-place-coffee {
        top: 45%;
        right: 1.5%;
    }

    .kt-slider {
        aspect-ratio: 16 / 9;
    }

    .kt-slider-arrow {
        width: 18px;
        height: 20px;
        font-size: 11px !important;
        border-radius: 3px;
    }

    .kt-prev { left: 2px; }
    .kt-next { right: 2px; }

    .kt-slide-count {
        font-size: 8px;
        padding: 1px 3px;
        right: 3px;
        bottom: 2px;
    }

    .kt-card-copy {
        padding: 5px;
    }

    .kt-card-copy h2 {
        font-size: clamp(9px, 2.5vw, 13px);
        line-height: 1.2;
        margin-bottom: 3px;
        overflow-wrap: anywhere;
    }

    .kt-card-copy p {
        font-size: clamp(8px, 2vw, 11px);
        line-height: 1.3;
        margin-bottom: 4px;
        min-height: 0;
        overflow-wrap: anywhere;
    }

    .kt-view-more {
        font-size: 9px;
        padding: 3px 5px;
        border-radius: 4px;
        line-height: 1.2;
    }

    .kt-header-inner {
        width: 100%;
        padding: 10px;
    }

    .kt-logo {
        width: 55px;
        height: 55px;
    }

    .kt-brand-name {
        font-size: clamp(13px, 3.5vw, 18px);
        overflow-wrap: anywhere;
    }

    .kt-hero-heading h1,
    .kt-section-heading h2 {
        font-size: clamp(24px, 6vw, 34px);
    }

    .kt-hero-heading > p:last-child,
    .kt-section-heading > p:last-child {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Featured Posts */
    .kt-posts {
        padding: 24px 14px 45px;
    }

    .kt-posts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Footer */
    .kt-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }
}

@media (max-width: 360px) {

    .kt-card-copy {
        padding: 3px;
    }

    .kt-card-copy h2 {
        font-size: 9px;
    }

    .kt-card-copy p {
        font-size: 8px;
    }

    .kt-view-more {
        font-size: 8px;
        padding: 2px 4px;
    }
}


.kt-page-content {
    width: min(1200px, 100% - 32px);
    margin: 0 auto;
    padding: 60px 0 80px;
    min-height: 60vh;
}

.kt-entry-header h1,
.kt-archive-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #ef2626;
    margin-bottom: 30px;
}

.kt-entry-content {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    line-height: 1.85;
}

.kt-post-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.kt-post-item h2 {
    font-size: clamp(22px, 3vw, 30px);
}

.kt-post-item a {
    color: #ef2626;
}

body.postid-22 .kt-entry-header h1,
body.postid-22 .kt-entry-header .entry-title {
    color: #111111 !important;
}

body.postid-22 .kt-entry-content h2.wp-block-heading {
    color: #ef2626 !important;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.5;
    text-align: center;
}

body.postid-22 .kt-entry-content ul.wp-block-list {
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.9;
}


.kt-place-aikido {
    left: calc(45% + 20px) !important;
}

.kt-place-shop {
    top: calc(45% - 50px) !important;
}

.kt-place-coffee {
    top: calc(45% - 50px) !important;
}

@media (max-width: 600px) {

    .kt-place-aikido {
        left: calc(45% + 20px) !important;
    }

    .kt-place-shop {
        top: calc(35% - 10px) !important;
    }

    .kt-place-coffee {
        top: calc(35% - 10px) !important;
    }
}
