/* -------- Modern Floating Action Button (always visible, no toggle) -------- */
.tvv-fab{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}
.tvv-fab__item{
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 10px;
    background: var(--fab-bg, #004DA0);
    color: #fff !important;
    border-radius: 999px;
    text-decoration: none !important;
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 6px 18px rgba(0,0,0,.18), 0 2px 4px rgba(0,0,0,.12);
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.tvv-fab__item:hover{
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 22px rgba(0,0,0,.22), 0 3px 6px rgba(0,0,0,.14);
    color: #fff !important;
}
.tvv-fab__icon{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    font-size: 16px;
}
.tvv-fab__label{ white-space: nowrap; }

@media (max-width: 576px){
    .tvv-fab{ right: 10px; bottom: 10px; gap: 8px; }
    .tvv-fab__item{ padding: 8px 14px 8px 8px; font-size: 13px; }
    .tvv-fab__icon{ width: 32px; height: 32px; flex-basis: 32px; font-size: 14px; }
}

/* Hide legacy kc.fab if present */
.kc_fab_wrapper{ display: none !important; }

/* -------- Cookie / PDPA consent -------- */
.tvv-cookie{
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    max-width: 920px;
    margin: 0 auto;
    background: #ffffff;
    color: #222;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 16px 18px;
    font-family: "Noto Sans Thai", sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}
.tvv-cookie[hidden]{ display: none !important; }
.tvv-cookie__text{ flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
.tvv-cookie__text p{ margin: 6px 0 0 0; color: #555; }
.tvv-cookie__text a{ color: #004DA0; text-decoration: underline; }
.tvv-cookie__actions{ display: flex; gap: 8px; flex-wrap: wrap; }
.tvv-btn{
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}
.tvv-btn--primary{ background: #004DA0; color: #fff; }
.tvv-btn--primary:hover{ background: #0066d6; }
.tvv-btn--ghost{ background: #f1f3f6; color: #333; }
.tvv-btn--ghost:hover{ background: #e4e8ee; }

body.has-tvv-cookie .tvv-fab{ bottom: 120px; }
@media (max-width: 576px){
    body.has-tvv-cookie .tvv-fab{ bottom: 180px; }
}

/* ============================================================
   CONTACT PAGE (modernized)
   ============================================================ */
.tvv-contact-hero{ position: relative; overflow: hidden; color:#fff; }
.tvv-contact-hero__bg{
    position:absolute; inset:0;
    background-size:cover; background-position:center;
    transform:scale(1.05); filter:saturate(1.1);
}
.tvv-contact-hero__overlay{
    position:absolute; inset:0;
    background: linear-gradient(120deg, rgba(0,77,160,.92) 0%, rgba(15,105,200,.80) 60%, rgba(0,0,0,.35) 100%);
}
.tvv-contact-hero__inner{
    position:relative; padding:90px 20px 110px; text-align:center;
}
.tvv-chip{
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(6px);
    border-radius:999px; padding:6px 16px; font-size:14px; font-weight:600;
    margin-bottom:16px;
}
.tvv-contact-hero__title{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    font-size: clamp(28px, 4vw, 44px); margin:0 0 10px;
    text-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.tvv-contact-hero .tvv-contact-hero__sub{ font-size:16px; color:#fff; opacity:.92; max-width:720px; margin:0 auto 26px; text-shadow:0 1px 3px rgba(0,0,0,.35); }
.tvv-contact-hero__ctas{
    display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
}

.tvv-cta{
    display:inline-flex; align-items:center; gap:10px;
    padding:12px 22px; border-radius:999px; font-weight:700;
    text-decoration:none !important; font-family:"Noto Sans Thai", sans-serif;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    border:0;
}
.tvv-cta:hover{ transform: translateY(-2px); filter: brightness(1.05); color:#fff; }
.tvv-cta--primary{ background:#ff6a00; color:#fff !important; }
.tvv-cta--line{ background:#06c755; color:#fff !important; }
.tvv-cta--whatsapp{ background:#25d366; color:#fff !important; }

.tvv-contact-section{ padding: 60px 0; }
.tvv-contact-section--alt{ background:#f6f8fb; }
.tvv-contact-section--tags{ padding: 30px 0 60px; }

.tvv-contact-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:18px;
    margin-top:-70px; /* overlap into hero */
    position:relative; z-index:2;
}
.tvv-card{
    display:flex; gap:14px; align-items:center;
    background:#fff; border-radius:16px; padding:18px;
    text-decoration:none !important; color:inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.04);
    transition: transform .22s ease, box-shadow .22s ease;
    position:relative; overflow:hidden;
}
.tvv-card::before{
    content:""; position:absolute; inset:auto -40px -40px auto;
    width:120px; height:120px; border-radius:50%;
    background:var(--c, #004DA0); opacity:.08;
    transition: transform .4s ease;
}
.tvv-card:hover{ transform:translateY(-4px); box-shadow:0 18px 40px rgba(0,0,0,.14); color:inherit; }
.tvv-card:hover::before{ transform: scale(1.4); }
.tvv-card__icon{
    width:52px; height:52px; border-radius:14px; flex:0 0 52px;
    display:inline-flex; align-items:center; justify-content:center;
    color:#fff; font-size:22px; background:var(--c, #004DA0);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--c, #004DA0) 40%, transparent);
}
.tvv-card__label{ font-size:13px; color:#888; }
.tvv-card__value{ font-size:17px; font-weight:700; color:#111; line-height:1.3; margin:2px 0 6px; word-break:break-all; }
.tvv-card__cta{ font-size:13px; color:var(--c, #004DA0); font-weight:600; }
.tvv-card--phone{ --c:#ff6a00; }
.tvv-card--line{ --c:#06c755; }
.tvv-card--whatsapp{ --c:#25d366; }
.tvv-card--wechat{ --c:#1aad19; }
.tvv-card--email{ --c:#f4a100; }
.tvv-card--map{ --c:#ea4335; }

.tvv-h2{ font-family:"Noto Sans Thai", sans-serif; font-weight:700; font-size:22px; margin-bottom:10px; display:flex; align-items:center; gap:10px; }
.tvv-h3{ font-family:"Noto Sans Thai", sans-serif; font-weight:700; font-size:18px; margin-bottom:12px; display:flex; align-items:center; gap:8px; }

.tvv-qr-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap:14px; }
.tvv-qr{ background:#fff; border-radius:14px; padding:10px; box-shadow:0 6px 18px rgba(0,0,0,.06); text-align:center; transition: transform .2s ease; }
.tvv-qr:hover{ transform:translateY(-3px); }
.tvv-qr img{ width:100%; height:auto; border-radius:8px; display:block; }
.tvv-qr__caption{ margin-top:8px; font-weight:600; font-size:14px; }

.tvv-form-card{ background:#fff; border-radius:16px; padding:28px; box-shadow:0 10px 30px rgba(0,0,0,.08); border:1px solid rgba(0,0,0,.04); }
.tvv-form-card label{ font-weight:600; font-size:14px; margin-bottom:6px; display:block; color:#333; }
.tvv-form-card .form-control{
    border-radius:10px; border:1px solid #e3e6ec; padding:10px 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tvv-form-card .form-control:focus{ border-color:#004DA0; box-shadow:0 0 0 3px rgba(0,77,160,.15); outline:0; }
.tvv-check{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:#444; }
.tvv-check input{ margin-top:4px; }

.tvv-addr-card{ background:#fff; border-radius:16px; padding:26px; box-shadow:0 10px 30px rgba(0,0,0,.08); height:100%; }
.tvv-info-list{ list-style:none; padding:0; margin:12px 0 18px; }
.tvv-info-list li{ padding:8px 0; display:flex; gap:10px; align-items:center; color:#333; border-bottom:1px dashed #eceff4; }
.tvv-info-list li:last-child{ border-bottom:0; }
.tvv-info-list li i{ color:#004DA0; width:20px; text-align:center; }

.tvv-map-wrap{
    border-radius:16px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.08);
    height:100%; min-height:380px; background:#eee;
}
.tvv-map-wrap iframe{ width:100%; height:100%; min-height:380px; border:0; display:block; }

.tvv-tags a, .tvv-tags .tag{ display:inline-block; margin:4px; padding:6px 12px; background:#eef2f7; border-radius:999px; font-size:13px; color:#333 !important; text-decoration:none !important; transition: background .15s ease, color .15s ease; }
.tvv-tags a:hover, .tvv-tags .tag:hover{ background:#004DA0; color:#fff !important; }

/* ============================================================
   CONTACT BUTTONS WIDGET (replaces old btn-block grid)
   ============================================================ */
.tvv-contact-btns{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap:12px;
}
.tvv-cbtn{
    display:flex; align-items:center; gap:12px;
    padding:14px 16px; border-radius:14px; text-decoration:none !important;
    background: var(--cb, #004DA0); color:#fff !important;
    font-family:"Noto Sans Thai", sans-serif;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--cb, #004DA0) 35%, transparent);
    position:relative; overflow:hidden;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.tvv-cbtn::after{
    content:""; position:absolute; top:-50%; left:-60%;
    width:40%; height:200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}
.tvv-cbtn:hover{ transform: translateY(-3px); filter: brightness(1.05); }
.tvv-cbtn:hover::after{ left:120%; }
.tvv-cbtn__ico{
    width:42px; height:42px; border-radius:12px; flex:0 0 42px;
    display:inline-flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.18); font-size:18px;
}
.tvv-cbtn__txt{ display:flex; flex-direction:column; line-height:1.15; flex:1; min-width:0; }
.tvv-cbtn__txt small{ opacity:.85; font-size:12px; }
.tvv-cbtn__txt strong{ font-size:15px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tvv-cbtn__arrow{ opacity:.85; font-size:14px; }

.tvv-cbtn--phone    { --cb:#ff6a00; }
.tvv-cbtn--phone2   { --cb:#ff8800; }
.tvv-cbtn--line     { --cb:#06c755; }
.tvv-cbtn--whatsapp { --cb:#25d366; }
.tvv-cbtn--wechat   { --cb:#1aad19; }
.tvv-cbtn--mail     { --cb:#f4a100; }

/* ============================================================
   FOOTER (modernized)
   ============================================================ */
.tvv-footer{
    background:
        radial-gradient(circle at 15% 0%, rgba(15,105,200,.35), transparent 50%),
        radial-gradient(circle at 85% 100%, rgba(0,77,160,.35), transparent 55%),
        linear-gradient(180deg, #0b1f3a 0%, #071324 100%);
    color:#e5ecf6;
    position:relative; overflow:hidden;
}
.tvv-footer::before{
    content:""; position:absolute; inset:0;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 100% 36px;
    pointer-events:none; opacity:.4;
}
.tvv-footer__top{ padding: 60px 0 30px; position:relative; z-index:1; }
.tvv-footer__brand img{ max-width:220px; height:auto; margin-bottom:14px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.tvv-footer__about{ font-size:14px; line-height:1.7; color:#c8d3e3; margin-bottom:16px; }
.tvv-footer__social{ display:flex; gap:10px; flex-wrap:wrap; }
.tvv-footer__social a{
    width:38px; height:38px; border-radius:50%;
    display:inline-flex; align-items:center; justify-content:center;
    background: rgba(255,255,255,.08); color:#fff !important;
    text-decoration:none !important; font-size:15px;
    transition: transform .2s ease, background .2s ease;
    border:1px solid rgba(255,255,255,.1);
}
.tvv-footer__social a:hover{ transform:translateY(-3px); background:#004DA0; }

.tvv-footer__title{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    text-transform:uppercase; letter-spacing:.08em; font-size:14px;
    color:#fff; margin-bottom:16px; position:relative; padding-bottom:10px;
}
.tvv-footer__title::after{
    content:""; position:absolute; left:0; bottom:0;
    width:36px; height:3px; border-radius:2px;
    background: linear-gradient(90deg,#ff6a00,#ff8800);
}

.tvv-footer__contact{ list-style:none; padding:0; margin:0 0 18px; }
.tvv-footer__contact li{ display:flex; gap:12px; align-items:flex-start; padding:7px 0; font-size:14px; color:#c8d3e3; }
.tvv-footer__contact li a{ color:#fff !important; text-decoration:none; }
.tvv-footer__contact li a:hover{ color:#ff8800 !important; }
.tvv-footer__contact small{ color:#8c9ab1; }
.tvv-footer__ico{
    width:30px; height:30px; flex:0 0 30px; border-radius:50%;
    background:#004DA0; color:#fff; display:inline-flex;
    align-items:center; justify-content:center; font-size:13px;
}

.tvv-footer__cta-row{ display:flex; gap:10px; flex-wrap:wrap; }
.tvv-btn-g{
    display:inline-flex; align-items:center; gap:8px;
    padding:10px 16px; border-radius:999px;
    font-weight:600; text-decoration:none !important; color:#fff !important;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow:0 6px 14px rgba(0,0,0,.25);
}
.tvv-btn-g:hover{ transform:translateY(-2px); filter:brightness(1.1); color:#fff !important; }
.tvv-btn-g--line{ background:#06c755; }
.tvv-btn-g--call{ background:#ff6a00; }

.tvv-footer__tags a{
    display:inline-block; margin:3px 2px; padding:4px 10px;
    border-radius:999px; background: rgba(255,255,255,.08);
    color:#dfe7f3 !important; font-size:12px; text-decoration:none !important;
    border:1px solid rgba(255,255,255,.06);
    transition: background .15s ease, color .15s ease;
}
.tvv-footer__tags a:hover{ background:#ff6a00; color:#fff !important; }

.tvv-footer__stat{ background:rgba(255,255,255,.04); padding:10px 14px; border-radius:10px; border:1px solid rgba(255,255,255,.06); }

.tvv-footer__bottom{
    border-top:1px solid rgba(255,255,255,.08);
    padding:18px 0; font-size:13px; color:#a9b4c6;
    position:relative; z-index:1;
}
.tvv-footer__bottom a{ color:#dfe7f3 !important; text-decoration:none; margin-left:14px; }
.tvv-footer__bottom a:hover{ color:#ff8800 !important; }

.tvv-back-top{
    position:fixed; right:18px; bottom:90px; z-index:9990;
    width:44px; height:44px; border-radius:50%; border:0;
    background:#004DA0; color:#fff; font-size:16px;
    box-shadow:0 10px 24px rgba(0,0,0,.25); cursor:pointer;
    opacity:0; transform: translateY(20px) scale(.9); pointer-events:none;
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.tvv-back-top:hover{ background:#ff6a00; }
.tvv-back-top.is-show{ opacity:1; transform: translateY(0) scale(1); pointer-events:auto; }

@media (max-width: 576px){
    .tvv-contact-hero__inner{ padding:60px 16px 90px; }
    .tvv-contact-grid{ margin-top:-50px; }
    .tvv-footer__top{ padding: 40px 0 10px; }
    .tvv-back-top{ right:12px; bottom:84px; width:40px; height:40px; }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.tvv-services{
    position:relative; padding:70px 0 80px; overflow:hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(0,77,160,.08), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(255,106,0,.08), transparent 55%),
        #f6f8fb;
}
.tvv-services__bg-deco{
    position:absolute; inset:0; pointer-events:none;
    background-image:
        radial-gradient(rgba(0,77,160,.08) 1px, transparent 1px);
    background-size: 24px 24px; opacity:.5;
}
.tvv-services__header{ text-align:center; margin-bottom:34px; position:relative; z-index:1; }
.tvv-services__title{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    font-size: clamp(24px, 3vw, 34px); color:#0b1f3a; margin:12px 0 8px;
}
.tvv-services__sub{ color:#5a6a85; max-width:680px; margin:0 auto; font-size:15px; }

.tvv-services__grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap:14px; position:relative; z-index:1;
}
.tvv-service{
    display:flex; align-items:center; gap:14px;
    padding:16px 18px; border-radius:14px;
    background:#fff;
    text-decoration:none !important; color:#0b1f3a !important;
    border:1px solid rgba(0,0,0,.04);
    box-shadow:0 6px 16px rgba(0,0,0,.05);
    position:relative; overflow:hidden;
    transition: transform .22s ease, box-shadow .22s ease, color .22s ease, background .22s ease;
}
.tvv-service::before{
    content:""; position:absolute; left:0; top:0; bottom:0; width:4px;
    background: var(--sc, #004DA0);
    transition: width .25s ease;
}
.tvv-service:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.1); color:#fff !important; background: var(--sc, #004DA0); }
.tvv-service:hover::before{ width:100%; opacity:.9; }
.tvv-service:hover .tvv-service__ico{ background:rgba(255,255,255,.2); color:#fff; }
.tvv-service:hover .tvv-service__arrow{ transform:translateX(4px); opacity:1; }
.tvv-service__ico{
    width:44px; height:44px; flex:0 0 44px; border-radius:12px;
    background: color-mix(in srgb, var(--sc, #004DA0) 12%, #fff);
    color: var(--sc, #004DA0); font-size:18px;
    display:inline-flex; align-items:center; justify-content:center;
    position:relative; z-index:1;
    transition: background .22s ease, color .22s ease;
}
.tvv-service__name{ flex:1; font-weight:600; font-size:15px; position:relative; z-index:1; }
.tvv-service__arrow{ opacity:.55; font-size:13px; position:relative; z-index:1; transition: transform .22s ease, opacity .22s ease; }

.tvv-service--airport { --sc:#004DA0; }
.tvv-service--transfer{ --sc:#ff6a00; }
.tvv-service--tour    { --sc:#06c755; }
.tvv-service--island  { --sc:#0ea5e9; }

/* ============================================================
   FACILITIES SECTION
   ============================================================ */
.tvv-facilities{ padding:70px 0 60px; background:#ffffff; }
.tvv-facilities__header{ text-align:center; margin-bottom:34px; }
.tvv-facilities__title{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    font-size: clamp(24px, 3vw, 34px); color:#0b1f3a; margin:12px 0 8px;
}
.tvv-facilities__sub{ color:#5a6a85; max-width:680px; margin:0 auto; font-size:15px; }
.tvv-facilities__grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:18px;
}
.tvv-facility{
    background:#fff; border-radius:16px; padding:22px;
    border:1px solid #eef1f6; box-shadow:0 6px 18px rgba(0,0,0,.04);
    text-align:center;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position:relative; overflow:hidden;
}
.tvv-facility::after{
    content:""; position:absolute; left:50%; bottom:-40px;
    width:140px; height:140px; border-radius:50%;
    background: radial-gradient(circle, rgba(0,77,160,.14), transparent 70%);
    transform: translateX(-50%) scale(.5); opacity:0;
    transition: transform .4s ease, opacity .4s ease;
}
.tvv-facility:hover{ transform:translateY(-6px); box-shadow:0 20px 40px rgba(0,0,0,.08); border-color:#dbe3ee; }
.tvv-facility:hover::after{ transform:translateX(-50%) scale(1); opacity:1; }
.tvv-facility__ico{
    width:64px; height:64px; margin:0 auto 14px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:26px; color:#004DA0;
    background: linear-gradient(135deg, rgba(0,77,160,.12), rgba(255,106,0,.10));
    position:relative; z-index:1;
    transition: transform .25s ease, color .25s ease;
}
.tvv-facility:hover .tvv-facility__ico{ transform:scale(1.08) rotate(-4deg); color:#ff6a00; }
.tvv-facility h3{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    font-size:16px; margin:0 0 6px; color:#0b1f3a; position:relative; z-index:1;
}
.tvv-facility p{ color:#5a6a85; font-size:14px; line-height:1.55; margin:0; position:relative; z-index:1; }

.tvv-chip--light{
    background: rgba(0,77,160,.08); color:#004DA0; border:1px solid rgba(0,77,160,.15);
}

/* ============================================================
   AEO / AI Search block (home page)
   ============================================================ */
.tvv-aeo{
    padding: 70px 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(0,77,160,.07), transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(255,106,0,.06), transparent 55%),
        #ffffff;
}

/* Quick answer card */
.tvv-aeo__answer{
    background: linear-gradient(135deg, #0b1f3a 0%, #004DA0 100%);
    color:#fff; border-radius:20px;
    padding: 30px 32px;
    box-shadow: 0 20px 50px rgba(0,77,160,.25);
    position:relative; overflow:hidden;
}
.tvv-aeo__answer::before,
.tvv-aeo__answer::after{
    content:""; position:absolute; border-radius:50%;
    background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
    pointer-events:none;
}
.tvv-aeo__answer::before{ width:260px; height:260px; top:-60px; right:-60px; }
.tvv-aeo__answer::after { width:200px; height:200px; bottom:-80px; left:-40px; }
.tvv-aeo__answer-head{ display:flex; flex-direction:column; gap:10px; margin-bottom:12px; position:relative; z-index:1; }
.tvv-aeo__answer-head .tvv-chip{
    align-self:flex-start; background: rgba(255,255,255,.15); color:#fff;
    border:1px solid rgba(255,255,255,.25);
}
.tvv-aeo__answer-title{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    margin:0; font-size: clamp(22px, 2.5vw, 30px);
}
.tvv-aeo__answer p{
    position:relative; z-index:1;
    font-size:17px; line-height:1.7; margin:0; color:#eaf2ff;
}
.tvv-aeo__answer strong{ color:#ffd199; font-weight:700; }

/* Key facts strip */
.tvv-aeo__facts{
    margin: 24px 0 36px;
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:12px;
}
.tvv-aeo__fact{
    display:flex; gap:12px; align-items:center;
    background:#fff; border:1px solid #eef1f6; border-radius:12px;
    padding:12px 14px; box-shadow: 0 4px 10px rgba(0,0,0,.03);
    transition: transform .18s ease, box-shadow .18s ease;
}
.tvv-aeo__fact:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.08); }
.tvv-aeo__fact i{
    width:38px; height:38px; flex:0 0 38px; border-radius:10px;
    display:inline-flex; align-items:center; justify-content:center;
    background: rgba(0,77,160,.1); color:#004DA0; font-size:15px;
}
.tvv-aeo__fact small{ display:block; color:#7a869a; font-size:12px; }
.tvv-aeo__fact strong{ display:block; color:#0b1f3a; font-size:15px; font-weight:700; }
.tvv-aeo__fact a{ color:inherit; text-decoration:none; }

/* FAQ */
.tvv-aeo__faq-wrap{ margin: 40px 0; }
.tvv-aeo__h2{
    font-family:"Noto Sans Thai", sans-serif; font-weight:700;
    font-size: clamp(20px, 2.4vw, 26px); margin:0 0 4px;
    display:flex; align-items:center; gap:10px; color:#0b1f3a;
}
.tvv-aeo__faq{ display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.tvv-aeo__faq details{
    background:#fff; border:1px solid #eef1f6; border-radius:12px;
    overflow:hidden; transition: box-shadow .2s ease, border-color .2s ease;
}
.tvv-aeo__faq details[open]{ box-shadow: 0 10px 24px rgba(0,0,0,.06); border-color:#dbe3ee; }
.tvv-aeo__faq summary{
    list-style:none; cursor:pointer;
    padding:16px 48px 16px 18px;
    font-weight:600; color:#0b1f3a; font-size:15px;
    position:relative;
    transition: background .18s ease;
}
.tvv-aeo__faq summary::-webkit-details-marker{ display:none; }
.tvv-aeo__faq summary::after{
    content:"\f067"; font-family:"Font Awesome 6 Free"; font-weight:900;
    position:absolute; right:18px; top:50%; transform: translateY(-50%);
    color:#004DA0; font-size:13px; transition: transform .25s ease, content .25s ease;
}
.tvv-aeo__faq details[open] summary::after{ content:"\f068"; }
.tvv-aeo__faq summary:hover{ background: #f6f8fb; }
.tvv-aeo__faq-body{ padding: 0 18px 18px; color:#3a4a62; line-height:1.7; font-size:14.5px; }

/* HowTo */
.tvv-aeo__howto{ margin-top: 40px; }
.tvv-aeo__steps{
    list-style:none; padding:0; margin:18px 0 0;
    display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:14px;
}
.tvv-aeo__steps li{
    background:#fff; border:1px solid #eef1f6; border-radius:14px;
    padding:18px; display:flex; gap:14px; align-items:flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
}
.tvv-aeo__steps li:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.08); }
.tvv-aeo__step-num{
    width:36px; height:36px; flex:0 0 36px; border-radius:50%;
    background: linear-gradient(135deg,#ff6a00,#ff8800); color:#fff;
    display:inline-flex; align-items:center; justify-content:center;
    font-weight:800; font-size:16px;
    box-shadow:0 6px 14px rgba(255,106,0,.35);
}
.tvv-aeo__steps strong{ display:block; color:#0b1f3a; margin-bottom:4px; font-size:15px; }
.tvv-aeo__steps p{ margin:0; color:#5a6a85; font-size:14px; line-height:1.6; }
.tvv-aeo__steps a{ color:#004DA0; text-decoration:none; font-weight:600; }

.tvv-aeo__updated{
    text-align:center; color:#7a869a; font-size:13px; margin-top: 28px;
}
.tvv-aeo__updated i{ color:#004DA0; margin-right:6px; }

/* ============================================================
   TVV FADE SLIDER (vanilla, replaces layerslider)
   ============================================================ */
.tvv-slider{
    position:relative; width:100%; overflow:hidden;
    aspect-ratio: 16 / 9;
    background:#000;
}
.tvv-slider__track{ position:absolute; inset:0; }
.tvv-slider__slide{
    position:absolute; inset:0;
    opacity:0; transition: opacity .8s ease;
    pointer-events:none;
}
.tvv-slider__slide.is-active{ opacity:1; pointer-events:auto; }
/* Banners that aren't 16:9 are shown whole; a blurred copy fills the spare space. */
.tvv-slider__slide::before{
    content:""; position:absolute; inset:-30px;
    background: var(--tvv-slide-bg) center / cover no-repeat;
    filter: blur(26px) brightness(.75) saturate(1.1);
}
.tvv-slider__slide img{
    position:relative; width:100%; height:100%; object-fit:contain; display:block;
    /* explicitly NO pan / zoom animation */
}
.tvv-slider__nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:44px; height:44px; border-radius:50%;
    border:0; background: rgba(0,0,0,.4); color:#fff;
    font-size:18px; cursor:pointer; z-index:2;
    display:inline-flex; align-items:center; justify-content:center;
    transition: background .2s ease;
}
.tvv-slider__nav:hover{ background: rgba(0,0,0,.65); }
.tvv-slider__nav--prev{ left:14px; }
.tvv-slider__nav--next{ right:14px; }
.tvv-slider__dots{
    position:absolute; left:0; right:0; bottom:14px; z-index:2;
    display:flex; justify-content:center; gap:8px;
}
.tvv-slider__dot{
    width:10px; height:10px; border-radius:50%; border:0;
    background: rgba(255,255,255,.5); cursor:pointer; padding:0;
    transition: background .2s ease, transform .2s ease;
}
.tvv-slider__dot.is-active{ background:#fff; transform:scale(1.3); }

/* ============================================================
   TVV CAROUSEL (vanilla, replaces slick)
   ============================================================ */
.tvv-carousel{ position:relative; }
.tvv-carousel__viewport{ overflow:hidden; }
.tvv-carousel__track{
    display:flex; align-items:stretch;
    transition: transform .5s cubic-bezier(.4,.2,.2,1);
    will-change: transform;
}
.tvv-carousel__slide{
    flex: 0 0 33.3333%; max-width: 33.3333%;
    padding: 0 10px; box-sizing: border-box;
    transition: transform .3s ease, opacity .3s ease;
}
.tvv-carousel__slide img{ width:100%; height:auto; display:block; border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.25); }
.tvv-carousel__slide.is-center{ transform: scale(1.05); }

.tvv-carousel__nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:40px; height:40px; border-radius:50%;
    border:0; background:#fff; color:#004DA0;
    box-shadow:0 6px 14px rgba(0,0,0,.18);
    cursor:pointer; z-index:2; font-size:14px;
}
.tvv-carousel__nav:hover{ background:#004DA0; color:#fff; }
.tvv-carousel__nav--prev{ left:-4px; }
.tvv-carousel__nav--next{ right:-4px; }

/* ============================================================
   TVV GALLERY + LIGHTBOX (vanilla, replaces unitegallery)
   ============================================================ */
.tvv-gallery{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:10px;
}
.tvv-gallery__item{
    display:block; border-radius:12px; overflow:hidden;
    aspect-ratio: 4/3;
    cursor:zoom-in; position:relative;
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.tvv-gallery__item:hover{ transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.14); }
.tvv-gallery__item img{
    width:100%; height:100%; object-fit:cover; display:block;
    transition: filter .25s ease;
}
.tvv-gallery__item:hover img{ filter: brightness(.85); }
.tvv-gallery__item::after{
    content:"\f00e"; font-family:"Font Awesome 6 Free"; font-weight:900;
    position:absolute; right:10px; bottom:10px;
    background: rgba(0,0,0,.55); color:#fff;
    width:34px; height:34px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition: opacity .2s ease;
}
.tvv-gallery__item:hover::after{ opacity:1; }

.tvv-lightbox{
    position:fixed; inset:0;
    background: rgba(0,0,0,.9);
    display:flex; align-items:center; justify-content:center;
    opacity:0; pointer-events:none;
    transition: opacity .25s ease;
    z-index: 10000;
}
.tvv-lightbox.is-open{ opacity:1; pointer-events:auto; }
.tvv-lightbox__img{
    max-width:92vw; max-height:85vh; object-fit:contain;
    border-radius:4px; box-shadow:0 10px 40px rgba(0,0,0,.6);
}
.tvv-lightbox__caption{
    position:absolute; left:0; right:0; bottom:16px;
    text-align:center; color:#fff; font-size:14px;
    opacity:.85;
}
.tvv-lightbox__close, .tvv-lightbox__prev, .tvv-lightbox__next{
    position:absolute; background: rgba(255,255,255,.1); color:#fff;
    border:0; width:44px; height:44px; border-radius:50%;
    font-size:18px; cursor:pointer;
    transition: background .2s ease;
}
.tvv-lightbox__close:hover, .tvv-lightbox__prev:hover, .tvv-lightbox__next:hover{ background: rgba(255,255,255,.2); }
.tvv-lightbox__close{ top:18px; right:18px; }
.tvv-lightbox__prev { left:18px; top:50%; transform:translateY(-50%); }
.tvv-lightbox__next { right:18px; top:50%; transform:translateY(-50%); }

/* ============================================================
   HEADER (modernized, replaces Porto #header)
   ============================================================ */
.tvv-header{
    --tvv-topbar-h: 38px;
    position: sticky; top: calc(-1 * var(--tvv-topbar-h));
    z-index: 1030;
    font-family: "Noto Sans Thai", sans-serif;
}
.tvv-topbar{
    height: var(--tvv-topbar-h);
    background: linear-gradient(120deg, #003a7a 0%, #004DA0 55%, #0F69C8 100%);
    color: #fff; font-size: 13.5px;
}
.tvv-topbar__inner{
    height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.tvv-topbar__tagline{ opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvv-topbar__tagline i{ margin-right: 6px; color: #ffb066; }
.tvv-topbar__links{ display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.tvv-topbar__links a{
    color: #fff !important; text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 6px; opacity: .92;
    transition: opacity .15s ease, color .15s ease;
}
.tvv-topbar__links a:hover{ opacity: 1; color: #ffb066 !important; }

.tvv-mainbar{
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .25s ease, background .25s ease;
}
@supports (backdrop-filter: blur(10px)){
    .tvv-mainbar{ background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
}
.tvv-header.is-scrolled .tvv-mainbar{ box-shadow: 0 8px 24px rgba(11,31,58,.10); }
.tvv-mainbar__inner{
    height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    transition: height .25s ease;
}
.tvv-header.is-scrolled .tvv-mainbar__inner{ height: 64px; }

.tvv-brand{ display: inline-flex; align-items: center; flex: 0 0 auto; }
.tvv-brand img{ height: 50px; width: auto; transition: height .25s ease; }
.tvv-header.is-scrolled .tvv-brand img{ height: 42px; }

.tvv-nav{ align-items: center; gap: 4px; }
.tvv-nav__link{
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: 999px; border: 0; background: transparent;
    color: #0b1f3a !important; font-weight: 600; font-size: 15px;
    text-decoration: none !important; cursor: pointer;
    transition: background .18s ease, color .18s ease;
}
.tvv-nav__link::after{
    content: ""; position: absolute; left: 50%; bottom: 4px;
    width: 0; height: 2px; border-radius: 2px; background: #ff6a00;
    transform: translateX(-50%); transition: width .22s ease;
}
.tvv-nav__link:hover{ background: rgba(0,77,160,.07); color: #004DA0 !important; }
.tvv-nav__link:hover::after, .tvv-nav__link.is-active::after{ width: 22px; }
.tvv-nav__link.is-active{ color: #004DA0 !important; }
.tvv-nav__admin{ background: rgba(255,106,0,.1); color: #c24f00 !important; }
.tvv-nav__admin::after{ display: none; }
.tvv-nav__admin:hover{ background: rgba(255,106,0,.18); color: #c24f00 !important; }
.tvv-dropdown{
    border: 0; border-radius: 14px; padding: 8px; min-width: 230px;
    box-shadow: 0 16px 40px rgba(11,31,58,.16);
}
.tvv-dropdown .dropdown-item{ border-radius: 8px; padding: 9px 12px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.tvv-dropdown .dropdown-item i{ width: 18px; text-align: center; color: #004DA0; }
.tvv-dropdown .dropdown-item.text-danger i{ color: inherit; }

.tvv-mainbar__actions{ display: flex; align-items: center; gap: 10px; }
.tvv-header-cta{
    align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
    background: linear-gradient(135deg, #ff6a00, #ff8a1f); color: #fff !important;
    font-weight: 700; font-size: 15px; text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(255,106,0,.32);
    transition: transform .18s ease, box-shadow .18s ease;
}
.tvv-header-cta:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255,106,0,.4); }
.tvv-header-cta i{ animation: tvv-ring 2.4s ease-in-out infinite; }
@keyframes tvv-ring{
    0%, 70%, 100%{ transform: rotate(0); }
    75%{ transform: rotate(-14deg); } 80%{ transform: rotate(12deg); }
    85%{ transform: rotate(-8deg); } 90%{ transform: rotate(6deg); }
}
@media (prefers-reduced-motion: reduce){ .tvv-header-cta i{ animation: none; } }

.tvv-burger{
    width: 46px; height: 46px; border-radius: 12px; border: 0;
    background: rgba(0,77,160,.08); cursor: pointer;
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.tvv-burger span{ display: block; width: 20px; height: 2px; border-radius: 2px; background: #004DA0; }
.tvv-burger:hover{ background: rgba(0,77,160,.14); }

.tvv-offcanvas{ width: min(86vw, 340px) !important; font-family: "Noto Sans Thai", sans-serif; z-index: 10001 !important; }
/* Must sit above the floating buttons (9998) and the cookie banner (9999) */
.offcanvas-backdrop{ z-index: 10000 !important; }
.tvv-offcanvas .offcanvas-header{ border-bottom: 1px solid #eef1f6; }
.tvv-offcanvas .offcanvas-header img{ height: 38px; width: auto; }
.tvv-mnav{ display: flex; flex-direction: column; gap: 4px; }
.tvv-mnav__link{
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 13px 14px; border-radius: 12px;
    color: #0b1f3a !important; font-weight: 600; font-size: 16px; text-decoration: none !important;
    transition: background .15s ease;
}
.tvv-mnav__link small{ color: #8a96a8; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.tvv-mnav__link i{ width: 20px; color: #004DA0; }
.tvv-mnav__link:hover, .tvv-mnav__link.is-active{ background: rgba(0,77,160,.07); color: #004DA0 !important; }
.tvv-mnav__group{ margin: 14px 14px 4px; font-size: 12px; font-weight: 700; color: #c24f00; text-transform: uppercase; letter-spacing: .06em; }
.tvv-mnav__cta{ display: grid; gap: 10px; margin-top: 22px; }

@media (max-width: 575.98px){
    .tvv-header{ --tvv-topbar-h: 34px; }
    .tvv-topbar{ font-size: 12.5px; }
    .tvv-topbar__tagline{ display: none; }
    .tvv-topbar__inner{ justify-content: center; }
    .tvv-mainbar__inner{ height: 64px; }
    .tvv-brand img{ height: 40px; }
}

/* Smooth jump to in-page sections, leaving room for the sticky bar */
html{ scroll-behavior: smooth; }
#services, #faq{ scroll-margin-top: 80px; }

/* ============================================================
   SERVICES + ARTICLES PAGES (JSON content)
   ============================================================ */
.tvv-page-hero{
    position: relative; overflow: hidden; color: #fff;
    padding: 46px 0 56px;
    background:
        radial-gradient(circle at 85% 0%, rgba(255,138,31,.25), transparent 45%),
        linear-gradient(130deg, #0b1f3a 0%, #004DA0 60%, #0F69C8 100%);
    font-family: "Noto Sans Thai", sans-serif;
}
.tvv-page-hero .tvv-chip{ background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.tvv-page-hero__title{ color: #fff; font-weight: 700; font-size: clamp(26px, 4vw, 40px); line-height: 1.3; margin: 12px 0 8px; }
.tvv-page-hero__en{ color: #ffd199; font-weight: 600; letter-spacing: .02em; }
.tvv-page-hero__sub{ color: #dce8fa; font-size: 16px; max-width: 760px; margin: 8px 0 0; line-height: 1.7; }
.tvv-page-hero--detail{ padding-bottom: 44px; }
.tvv-crumbs{ display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; margin-bottom: 14px; color: #b9cdea; }
.tvv-crumbs a{ color: #fff !important; text-decoration: none; opacity: .85; }
.tvv-crumbs a:hover{ opacity: 1; text-decoration: underline; }
.tvv-crumbs strong{ color: #fff; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvv-detail-head{ display: flex; align-items: center; gap: 16px; }
.tvv-detail-head__ico{
    width: 64px; height: 64px; flex: 0 0 64px; border-radius: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 26px;
}
.tvv-narrow{ max-width: 860px; }

.tvv-list-section{ padding: 48px 0 64px; background: #f6f8fb; font-family: "Noto Sans Thai", sans-serif; }
.tvv-empty{ text-align: center; color: #7a869a; padding: 40px 0; }
.tvv-section-title{ font-weight: 700; font-size: 22px; color: #0b1f3a; margin: 48px 0 16px; }
.tvv-more{ color: #004DA0; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.tvv-more i{ transition: transform .2s ease; }

.tvv-svc-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tvv-svc-card, .tvv-art-card{
    display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
    border: 1px solid #e9eef5; box-shadow: 0 6px 18px rgba(11,31,58,.05);
    text-decoration: none !important; color: inherit !important;
    transition: transform .22s ease, box-shadow .22s ease;
}
.tvv-svc-card:hover, .tvv-art-card:hover{ transform: translateY(-5px); box-shadow: 0 18px 38px rgba(11,31,58,.12); }
.tvv-svc-card:hover .tvv-more i, .tvv-art-card:hover .tvv-more i{ transform: translateX(4px); }
.tvv-svc-card__media, .tvv-art-card__media{ aspect-ratio: 16/9; background: #e8eef7; overflow: hidden; }
.tvv-svc-card__media img, .tvv-art-card__media img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tvv-svc-card:hover img, .tvv-art-card:hover img{ transform: scale(1.04); }
.tvv-svc-card__media.is-empty, .tvv-art-card__media.is-empty{
    display: flex; align-items: center; justify-content: center; font-size: 44px; color: rgba(255,255,255,.9);
    background: linear-gradient(135deg, #004DA0 0%, #0F69C8 60%, #ff8a1f 140%);
}
.tvv-svc-card__body, .tvv-art-card__body{ padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; position: relative; }
.tvv-svc-card__ico{
    position: absolute; top: -26px; right: 18px;
    width: 52px; height: 52px; border-radius: 14px; background: #fff; color: #004DA0; font-size: 20px;
    display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(11,31,58,.14);
}
.tvv-svc-card__title, .tvv-art-card__title{ font-size: 19px; font-weight: 700; color: #0b1f3a; margin: 0; line-height: 1.4; padding-right: 56px; }
.tvv-art-card__title{ padding-right: 0; }
.tvv-svc-card__en{ color: #ff6a00; font-size: 13px; font-weight: 600; }
.tvv-svc-card__excerpt, .tvv-art-card__excerpt{ color: #5a6a85; font-size: 14.5px; line-height: 1.65; margin: 4px 0 8px; flex: 1; }
.tvv-svc-card__foot{ display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #e3e8f0; padding-top: 12px; }
.tvv-price{ font-weight: 800; color: #c24f00; font-size: 15px; }
.tvv-price--ask{ color: #5a6a85; font-weight: 600; }

.tvv-cta-band{ padding: 50px 0 60px; background: #fff; text-align: center; font-family: "Noto Sans Thai", sans-serif; }
.tvv-cta-band h2{ font-weight: 700; color: #0b1f3a; font-size: clamp(22px, 3vw, 28px); }
.tvv-cta-band p{ color: #5a6a85; margin-bottom: 22px; }
.tvv-cta-band .tvv-contact-btns{ text-align: left; }

.tvv-detail{ display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.tvv-detail__main, .tvv-article{ background: #fff; border-radius: 18px; padding: 28px; border: 1px solid #e9eef5; }
.tvv-detail__img{ width: 100%; border-radius: 14px; margin-bottom: 22px; display: block; }
.tvv-detail__side{ position: sticky; top: 84px; }
.tvv-book-card{ background: #fff; border-radius: 18px; padding: 22px; border: 1px solid #e9eef5; box-shadow: 0 10px 30px rgba(11,31,58,.07); display: grid; gap: 10px; }
.tvv-book-card__label{ font-size: 13px; color: #7a869a; }
.tvv-book-card__price{ font-size: 26px; font-weight: 800; color: #0b1f3a; line-height: 1.2; }
.tvv-book-card__note{ font-size: 13px; color: #7a869a; margin-bottom: 6px; }

.tvv-prose{ color: #2d3b52; font-size: 16.5px; line-height: 1.9; }
.tvv-prose h2{ font-size: 22px; font-weight: 700; color: #0b1f3a; margin: 28px 0 10px; }
.tvv-prose h3{ font-size: 18px; font-weight: 700; color: #0b1f3a; margin: 22px 0 8px; }
.tvv-prose p{ margin: 0 0 14px; }
.tvv-prose ul, .tvv-prose ol{ margin: 0 0 16px; padding-left: 22px; }
.tvv-prose li{ margin-bottom: 6px; }
.tvv-prose ul li::marker{ color: #ff6a00; }
.tvv-prose ol li::marker{ color: #004DA0; font-weight: 700; }
.tvv-prose strong{ color: #0b1f3a; }
.tvv-lead{ font-size: 18px; color: #3a4a62; line-height: 1.8; border-left: 4px solid #ff6a00; padding-left: 14px; margin-bottom: 22px; }

.tvv-mini-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tvv-mini-card{
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-radius: 14px;
    border: 1px solid #e9eef5; text-decoration: none !important; color: #0b1f3a !important; font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tvv-mini-card:hover{ transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11,31,58,.08); border-color: #cfdbed; }
.tvv-mini-card__ico{ width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: rgba(0,77,160,.08); color: #004DA0; display: inline-flex; align-items: center; justify-content: center; }
.tvv-mini-card__title{ flex: 1; line-height: 1.4; }
.tvv-mini-card > i{ color: #9aa6b8; font-size: 13px; }

.tvv-art-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.tvv-art-meta{ display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #7a869a; }
.tvv-art-meta i{ margin-right: 4px; color: #004DA0; }
.tvv-art-meta--light{ color: #dce8fa; margin-top: 6px; }
.tvv-art-meta--light i{ color: #ffd199; }
.tvv-pager{ display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.tvv-pager a{ width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #e3e8f0; color: #0b1f3a !important; font-weight: 700; text-decoration: none !important; }
.tvv-pager a.is-active, .tvv-pager a:hover{ background: #004DA0; border-color: #004DA0; color: #fff !important; }

.tvv-tagrow{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tvv-tag{ background: #eef3fa; color: #004DA0; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.tvv-share{ display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #eef1f6; color: #5a6a85; font-size: 14px; }
.tvv-share a, .tvv-share button{
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e3e8f0; background: #fff; color: #004DA0 !important;
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tvv-share a:hover, .tvv-share button:hover{ background: #004DA0; color: #fff !important; }
.tvv-art-cta{
    margin-top: 26px; padding: 22px 24px; border-radius: 18px; color: #fff;
    background: linear-gradient(130deg, #0b1f3a, #004DA0);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.tvv-art-cta strong{ display: block; font-size: 18px; }
.tvv-art-cta span{ color: #c9d9f0; font-size: 14px; }
.tvv-art-cta .tvv-header-cta span{ color: #fff; font-size: 15px; }

@media (max-width: 991.98px){
    .tvv-detail{ grid-template-columns: 1fr; }
    .tvv-detail__side{ position: static; }
}
@media (max-width: 575.98px){
    .tvv-detail__main, .tvv-article{ padding: 20px; }
    .tvv-prose{ font-size: 16px; }
    .tvv-detail-head__ico{ width: 52px; height: 52px; flex-basis: 52px; font-size: 21px; }
}

/* ---------------- Admin content manager ---------------- */
.tvv-admin{ padding: 34px 0 60px; background: #f6f8fb; font-family: "Noto Sans Thai", sans-serif; }
.tvv-admin__head{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 20px; }
.tvv-admin__head h1{ font-size: 26px; font-weight: 700; color: #0b1f3a; margin: 6px 0 0; }
.tvv-admin__back{ font-size: 14px; color: #5a6a85 !important; text-decoration: none; }
.tvv-admin__tabs{ display: inline-flex; background: #e8eef7; border-radius: 12px; padding: 4px; }
.tvv-admin__tabs a{ padding: 8px 16px; border-radius: 9px; color: #3a4a62 !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.tvv-admin__tabs a.is-active{ background: #fff; color: #004DA0 !important; box-shadow: 0 2px 6px rgba(11,31,58,.08); }
.tvv-admin__form, .tvv-admin__list{ background: #fff; border-radius: 16px; border: 1px solid #e9eef5; margin-bottom: 22px; }
.tvv-admin__form{ padding: 24px; }
.tvv-admin__form h2{ font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.tvv-admin__form .form-label{ font-weight: 600; font-size: 14px; }
.tvv-admin__content{ font-family: ui-monospace, Menlo, monospace; font-size: 14px; line-height: 1.7; }
.tvv-admin__img{ display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.tvv-admin__img img{ width: 160px; height: 90px; object-fit: cover; border-radius: 10px; }
.tvv-admin__actions{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.tvv-admin__list-head{ display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eef1f6; }
.tvv-admin__row{ display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f1f4f8; }
.tvv-admin__row:last-child{ border-bottom: 0; }
.tvv-admin__row-main{ display: flex; align-items: center; gap: 12px; min-width: 0; }
.tvv-admin__ico{ width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: rgba(0,77,160,.08); color: #004DA0; display: inline-flex; align-items: center; justify-content: center; }
.tvv-admin__row-title{ font-weight: 600; color: #0b1f3a; }
.tvv-admin__row-meta{ font-size: 12.5px; color: #8a96a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvv-admin__row-actions{ display: flex; gap: 6px; flex: 0 0 auto; }
.tvv-admin__row-actions form{ margin: 0; }

/* -------- Admin-only nav pill -------- */
.nav-pill-admin{
    background: #ff6a00 !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 4px 12px !important;
}
