/* TrePage runtime: loaded on the site and inside the editor canvas */
/* prefixed */ /* Component rules start with .tpg so a theme's content styles (e.g. ".kb-prose a") cannot override them. */
.tpg {
    /* Theme colours: TreCloud, then WiseCP's Basic / WStyle (theme settings primary / secondary / text), then our own. */
    --tpg-primary: var(--nl-navy, var(--basic-primary, var(--wstyle-primary, #0b2647)));
    --tpg-primary-2: var(--nl-navy-2, color-mix(in srgb, var(--tpg-primary) 82%, #fff));
    --tpg-accent: var(--nl-sky, var(--basic-secondary, var(--wstyle-secondary, #0e8fd6)));
    --tpg-accent-soft: var(--nl-sky-soft, color-mix(in srgb, var(--tpg-accent) 12%, #fff));
    --tpg-ink: var(--nl-ink, #0c1427);
    --tpg-text: var(--nl-text, var(--basic-text, #525e7a));
    --tpg-muted: var(--nl-muted, #64748b);
    --tpg-line: var(--nl-line, #e3e8f0);
    --tpg-soft: var(--nl-bg, #f4f6fa);
    --tpg-radius: 18px;
    --tpg-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 32px -18px rgba(11, 38, 71, .28);
    --tpg-max: 1200px;
    color: var(--tpg-text);
}
.tpg *, .tpg *::before, .tpg *::after { box-sizing: border-box; }
.tpg img { max-width: 100%; height: auto; }

/* contact form (WiseCP contact operation) */
.tpg .tpg-form-mount { width: 100%; }
.tpg .tpg-form-mount > .tpg-form-kvkk { display: none; }
.tpg .tpg-form-noscript { margin: 0; padding: 14px 16px; border: 1px dashed var(--tpg-line); border-radius: 12px; color: var(--tpg-text); }
.tpg .tpg-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.tpg .tpg-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px 16px; }
.tpg .tpg-form--2 .tpg-form-grid { grid-template-columns: 1fr 1fr; }
.tpg .tpg-form--2 .tpg-field--full { grid-column: 1 / -1; }
.tpg .tpg-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.tpg .tpg-field > span { color: var(--tpg-ink); font-size: .85rem; font-weight: 600; }
.tpg .tpg-field input, .tpg .tpg-field textarea, .tpg .tpg-field select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--tpg-line); border-radius: 12px; background: #fff; color: var(--tpg-ink); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.tpg .tpg-field textarea { min-height: 140px; resize: vertical; }
.tpg .tpg-field select { appearance: auto; min-height: 46px; }
.tpg .tpg-field input:focus, .tpg .tpg-field textarea:focus, .tpg .tpg-field select:focus { outline: 0; border-color: var(--tpg-accent); box-shadow: 0 0 0 4px var(--tpg-accent-soft); }
.tpg .tpg-check { display: flex; align-items: flex-start; gap: 10px; color: var(--tpg-text); font-size: .88rem; line-height: 1.45; cursor: pointer; }
.tpg .tpg-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--tpg-accent); }
.tpg .tpg-check a { color: var(--tpg-accent); }
.tpg .tpg-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.tpg .tpg-form-msg { font-size: .9rem; font-weight: 600; }
.tpg .tpg-form-msg.is-ok { color: #067647; }
.tpg .tpg-form-msg.is-err { color: #b42318; }
.tpg .tpg-form.is-busy { opacity: .75; }
@media (max-width: 767.98px) { .tpg .tpg-form--2 .tpg-form-grid { grid-template-columns: 1fr; } }
.tpg-preview-bar { position: fixed; left: 50%; bottom: 18px; z-index: 99999; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #b26a00; color: #fff; font: 600 13px/1.3 system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* layout */
.tpg .tpg-section { position: relative; padding: 72px 0; background-size: cover; background-position: center; }
.tpg .tpg-section.tpg-overlay::before { content: ""; position: absolute; inset: 0; background: var(--tpg-overlay, rgba(11, 38, 71, .65)); pointer-events: none; }
.tpg .tpg-section > .tpg-inner { position: relative; }
.tpg .tpg-inner { width: 100%; max-width: var(--tpg-max); margin: 0 auto; padding: 0 20px; }
.tpg .tpg-inner.tpg-full { max-width: none; }
.tpg .tpg-row { display: flex; flex-wrap: wrap; align-items: stretch; margin: 0 -12px; row-gap: 24px; }
.tpg .tpg-row > .tpg-col { flex: 1 1 0; min-width: 0; padding: 0 12px; }
.tpg .tpg-gap-0 { margin: 0; row-gap: 0; }
.tpg .tpg-gap-0 > .tpg-col { padding: 0; }
.tpg .tpg-gap-s { margin: 0 -8px; row-gap: 16px; }
.tpg .tpg-gap-s > .tpg-col { padding: 0 8px; }
.tpg .tpg-gap-l { margin: 0 -20px; row-gap: 40px; }
.tpg .tpg-gap-l > .tpg-col { padding: 0 20px; }
.tpg .tpg-va-center { align-items: center; }
.tpg .tpg-va-end { align-items: flex-end; }
.tpg .tpg-col { display: flex; flex-direction: column; gap: 16px; }
.tpg .tpg-col:empty, .tpg .tpg-inner:empty { min-height: 60px; }
@media (max-width: 991.98px) {
    .tpg .tpg-row.tpg-stack-t > .tpg-col { flex: 0 0 100% !important; max-width: 100% !important; }
}
@media (max-width: 767.98px) {
    .tpg .tpg-section { padding: 48px 0; }
    .tpg .tpg-row.tpg-stack-m > .tpg-col { flex: 0 0 100% !important; max-width: 100% !important; }
}
.tpg .tpg-hide-d, .tpg .tpg-hide-t, .tpg .tpg-hide-m { }
@media (min-width: 992px) { .tpg .tpg-hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 991.98px) { .tpg .tpg-hide-t { display: none !important; } }
@media (max-width: 767.98px) { .tpg .tpg-hide-m { display: none !important; } }

/* text */
.tpg .tpg-heading { margin: 0; color: var(--tpg-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.tpg h1.tpg-heading { font-size: clamp(2rem, 4vw, 3.1rem); }
.tpg h2.tpg-heading { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.tpg h3.tpg-heading { font-size: 1.35rem; }
.tpg h4.tpg-heading { font-size: 1.15rem; }
.tpg h5.tpg-heading, .tpg h6.tpg-heading { font-size: 1rem; }
.tpg .tpg-heading span, .tpg .tpg-accent { color: var(--tpg-accent); }
.tpg .tpg-kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--tpg-accent-soft); color: var(--tpg-accent); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.tpg .tpg-text { line-height: 1.7; font-size: 1rem; }
.tpg .tpg-text > :first-child { margin-top: 0; }
.tpg .tpg-text > :last-child { margin-bottom: 0; }
.tpg .tpg-lead { font-size: 1.15rem; line-height: 1.65; }
.tpg .tpg-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.tpg .tpg-list li { position: relative; padding-left: 1.75rem; line-height: 1.55; }
.tpg .tpg-list li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--tpg-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230e8fd6'%3E%3Cpath d='M12.7 4.7a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4 0l-2.5-2.5a1 1 0 1 1 1.4-1.4l1.8 1.8 4.3-4.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E") center / 70% no-repeat; }
.tpg .tpg-list--dot li::before { width: .5rem; height: .5rem; top: .55rem; left: .35rem; background: var(--tpg-accent); }
.tpg .tpg-list--num { counter-reset: tpgn; }
.tpg .tpg-list--num li { counter-increment: tpgn; }
.tpg .tpg-list--num li::before { content: counter(tpgn); display: grid; place-items: center; background: var(--tpg-primary); color: #fff; font-size: .7rem; font-weight: 700; }

/* buttons */
.tpg .tpg-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.tpg .tpg-btn { display: inline-flex; align-self: flex-start; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.5rem; border: 0; border-radius: 12px; background: var(--tpg-primary); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.tpg .tpg-btns .tpg-btn { align-self: auto; }
.tpg .tpg-btn:hover { background: var(--tpg-primary-2); color: #fff; transform: translateY(-1px); }
.tpg .tpg-btn--accent { background: var(--tpg-accent); }
.tpg .tpg-btn--accent:hover { background: var(--tpg-primary); }
.tpg .tpg-btn--ghost { background: #fff; color: var(--tpg-ink); box-shadow: inset 0 0 0 1px var(--tpg-line); }
.tpg .tpg-btn--ghost:hover { background: var(--tpg-soft); color: var(--tpg-ink); }
.tpg .tpg-btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.tpg .tpg-btn--line:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.tpg .tpg-btn--link { min-height: 0; padding: 0; background: none; color: var(--tpg-accent); }
.tpg .tpg-btn--link:hover { background: none; color: var(--tpg-primary); transform: none; }
.tpg .tpg-btn--sm { min-height: 38px; padding: .5rem 1rem; font-size: .85rem; border-radius: 10px; }
.tpg .tpg-btn--lg { min-height: 56px; padding: .9rem 2rem; font-size: 1.05rem; }
.tpg .tpg-btn--block { align-self: stretch; width: 100%; }

/* media */
.tpg .tpg-img { display: block; border-radius: var(--tpg-radius); }
.tpg .tpg-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--tpg-radius); background: #000; }
.tpg .tpg-video iframe, .tpg .tpg-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tpg .tpg-map { width: 100%; height: 380px; border: 0; border-radius: var(--tpg-radius); }
.tpg .tpg-icon { display: inline-grid; place-items: center; align-self: flex-start; width: 56px; height: 56px; border-radius: 16px; background: var(--tpg-accent-soft); color: var(--tpg-accent); font-size: 1.6rem; line-height: 1; }
.tpg .tpg-icon--plain { width: auto; height: auto; background: none; border-radius: 0; }
.tpg .tpg-icon--dark { background: var(--tpg-primary); color: #fff; }
.tpg .tpg-icon--round { border-radius: 50%; }
.tpg .tpg-spacer { height: 48px; }
.tpg .tpg-divider { width: 100%; height: 0; margin: 8px 0; border: 0; border-top: 1px solid var(--tpg-line); opacity: 1; }

/* cards & blocks */
.tpg .tpg-card { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 28px; border: 1px solid var(--tpg-line); border-radius: var(--tpg-radius); background: #fff; box-shadow: var(--tpg-shadow); }
.tpg .tpg-card--flat { box-shadow: none; }
.tpg .tpg-card--soft { border-color: transparent; background: var(--tpg-soft); box-shadow: none; }
.tpg .tpg-card--dark { border-color: transparent; background: linear-gradient(135deg, var(--tpg-primary), var(--tpg-primary-2)); color: #c9d6e8; }
.tpg .tpg-card--dark .tpg-heading { color: #fff; }
.tpg .tpg-card > .tpg-heading + .tpg-text { margin-top: -4px; }
.tpg .tpg-iconbox--h { flex-direction: row; align-items: flex-start; }
.tpg .tpg-iconbox--h > div { display: flex; flex-direction: column; gap: 8px; }

.tpg .tpg-hero { padding: 96px 0; background: linear-gradient(180deg, #dcecf8 0%, #eef5fb 60%, #fff 100%); }
.tpg .tpg-hero .tpg-heading { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.tpg .tpg-dark { background: linear-gradient(135deg, var(--tpg-primary) 0%, #0a4a78 100%); color: #c9d6e8; }
.tpg .tpg-dark .tpg-heading { color: #fff; }
.tpg .tpg-dark .tpg-heading span, .tpg .tpg-dark .tpg-accent, .tpg .tpg-card--dark .tpg-heading span { color: var(--nl-sky, #7dd3fc); }
.tpg .tpg-dark .tpg-kicker { background: rgba(56, 189, 248, .14); color: #7dd3fc; }
.tpg .tpg-soft { background: var(--tpg-soft); }
.tpg .tpg-center { text-align: center; align-items: center; }
.tpg .tpg-center .tpg-kicker, .tpg .tpg-center .tpg-btn, .tpg .tpg-center .tpg-icon { align-self: center; }
.tpg .tpg-center .tpg-btns { justify-content: center; }
.tpg .tpg-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.tpg .tpg-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px; border-radius: 24px; background: radial-gradient(circle at 88% 15%, rgba(56, 189, 248, .35), transparent 45%), linear-gradient(135deg, var(--tpg-primary) 0%, #0a4a78 100%); color: #c9d6e8; }
.tpg .tpg-cta .tpg-heading { color: #fff; }
.tpg .tpg-cta > div { display: flex; flex-direction: column; gap: 8px; }

.tpg .tpg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.tpg .tpg-stat { padding: 24px; border-radius: var(--tpg-radius); background: #fff; border: 1px solid var(--tpg-line); text-align: center; }
.tpg .tpg-stat strong { display: block; color: var(--tpg-ink); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.tpg .tpg-stat span { display: block; margin-top: .35rem; color: var(--tpg-muted); font-size: .9rem; }

.tpg .tpg-faq { display: grid; gap: 12px; }
.tpg .tpg-faq details { border: 1px solid var(--tpg-line); border-radius: 14px; background: #fff; }
.tpg .tpg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 18px 20px; color: var(--tpg-ink); font-weight: 700; cursor: pointer; list-style: none; }
.tpg .tpg-faq summary::-webkit-details-marker { display: none; }
.tpg .tpg-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tpg-accent-soft); color: var(--tpg-accent); font-size: 1.1rem; transition: transform .2s ease; }
.tpg .tpg-faq details[open] summary::after { transform: rotate(45deg); }
.tpg .tpg-faq details > div { padding: 0 20px 18px; line-height: 1.65; }

.tpg .tpg-quote { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 28px; border-radius: var(--tpg-radius); background: #fff; border: 1px solid var(--tpg-line); }
.tpg .tpg-quote blockquote { margin: 0; color: var(--tpg-ink); font-size: 1.05rem; line-height: 1.6; }
.tpg .tpg-quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tpg .tpg-quote footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tpg .tpg-quote footer strong { display: block; color: var(--tpg-ink); }
.tpg .tpg-quote footer small { color: var(--tpg-muted); }
.tpg .tpg-stars { color: #f59e0b; letter-spacing: .1em; }

.tpg .tpg-price { position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 32px 28px; border: 1px solid var(--tpg-line); border-radius: 22px; background: #fff; }
.tpg .tpg-price--featured { border: 2px solid var(--tpg-accent); box-shadow: 0 24px 48px -28px rgba(14, 143, 214, .55); }
.tpg .tpg-price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: .25rem .8rem; border-radius: 999px; background: var(--tpg-accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.tpg .tpg-price-amount { color: var(--tpg-ink); font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.tpg .tpg-price-amount small { color: var(--tpg-muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.tpg .tpg-price .tpg-list { margin: 4px 0 8px; }
.tpg .tpg-price .tpg-btn { margin-top: auto; align-self: stretch; }

/* ---------- 2.1: grids ---------- */
.tpg .tpg-cols-1, .tpg .tpg-cols-2, .tpg .tpg-cols-3, .tpg .tpg-cols-4, .tpg .tpg-cols-5, .tpg .tpg-cols-6 { display: grid; gap: 20px; }
.tpg .tpg-cols-1 { grid-template-columns: 1fr; }
.tpg .tpg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpg .tpg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpg .tpg-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpg .tpg-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tpg .tpg-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .tpg .tpg-cols-3, .tpg .tpg-cols-4, .tpg .tpg-cols-5, .tpg .tpg-cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .tpg .tpg-cols-2, .tpg .tpg-cols-3, .tpg .tpg-cols-4 { grid-template-columns: 1fr; } .tpg .tpg-cols-5, .tpg .tpg-cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* counters */
.tpg .tpg-counter { display: flex; flex-direction: column; gap: 6px; padding: 26px 20px; border-radius: var(--tpg-radius); background: #fff; border: 1px solid var(--tpg-line); text-align: center; }
.tpg .tpg-counter > i { align-self: center; margin-bottom: 4px; color: var(--tpg-accent); font-size: 1.6rem; }
.tpg .tpg-count { color: var(--tpg-ink); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tpg .tpg-counter > span { color: var(--tpg-muted); font-size: .92rem; }
.tpg .tpg-dark .tpg-counter { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.tpg .tpg-dark .tpg-count { color: #fff; }

/* progress bars */
.tpg .tpg-bars { display: grid; gap: 16px; }
.tpg .tpg-bar-head { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--tpg-ink); font-weight: 700; font-size: .92rem; }
.tpg .tpg-bar-track { height: 10px; overflow: hidden; border-radius: 99px; background: var(--tpg-soft); }
.tpg .tpg-bar-track > i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--tpg-primary), var(--tpg-accent)); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }

/* tabs */
.tpg .tpg-tabs-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--tpg-soft); }
.tpg .tpg-tabs-nav > button { flex: 1 1 auto; padding: 10px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--tpg-muted); font: inherit; font-weight: 700; cursor: pointer; }
.tpg .tpg-tabs-nav > button.is-on { background: #fff; color: var(--tpg-ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.tpg .tpg-tab-pane { display: none; padding: 22px 4px 4px; }
.tpg .tpg-tab-pane.is-on { display: block; }

/* gallery & lightbox */
.tpg .tpg-gallery { display: grid; gap: 12px; }
.tpg .tpg-gallery figure { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--tpg-soft); }
.tpg .tpg-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.tpg .tpg-gallery figure:hover img { transform: scale(1.05); }
.tpg-lb { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: rgba(5, 12, 24, .92); }
.tpg-lb img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.tpg-lb button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.tpg-lb-x { top: 18px; right: 18px; }
.tpg-lb-nav.is-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.tpg-lb-nav.is-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* timeline */
.tpg .tpg-timeline { position: relative; display: grid; gap: 22px; padding-left: 28px; }
.tpg .tpg-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--tpg-line); }
.tpg .tpg-tl { position: relative; display: flex; flex-direction: column; gap: 6px; }
.tpg .tpg-tl::before { content: ""; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border: 3px solid #fff; border-radius: 50%; background: var(--tpg-accent); box-shadow: 0 0 0 2px var(--tpg-accent); }
.tpg .tpg-tl-date { color: var(--tpg-accent); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* compare table */
.tpg .tpg-table-wrap, .tpg .tpg-tlds-wrap { overflow-x: auto; border: 1px solid var(--tpg-line); border-radius: var(--tpg-radius); background: #fff; }
.tpg .tpg-compare, .tpg .tpg-tlds { width: 100%; margin: 0; border-collapse: collapse; font-size: .95rem; }
.tpg .tpg-compare th, .tpg .tpg-compare td, .tpg .tpg-tlds th, .tpg .tpg-tlds td { padding: 14px 16px; border-bottom: 1px solid var(--tpg-line); text-align: center; }
.tpg .tpg-compare th:first-child, .tpg .tpg-compare td:first-child, .tpg .tpg-tlds th:first-child, .tpg .tpg-tlds td:first-child { text-align: left; }
.tpg .tpg-compare thead th, .tpg .tpg-tlds thead th { background: var(--tpg-soft); color: var(--tpg-ink); font-weight: 800; }
.tpg .tpg-compare tbody tr:last-child td, .tpg .tpg-tlds tbody tr:last-child td { border-bottom: 0; }
.tpg .tpg-compare tbody tr:hover, .tpg .tpg-tlds tbody tr:hover { background: #fafcff; }
.tpg .tpg-yes { color: #12b76a; font-weight: 800; }
.tpg .tpg-no { color: #c4ccd8; font-weight: 800; }

/* countdown */
.tpg .tpg-countdown { display: flex; flex-wrap: wrap; gap: 12px; }
.tpg .tpg-countdown > div { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 16px 12px; border-radius: 16px; background: var(--tpg-primary); color: #fff; }
.tpg .tpg-countdown b { font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tpg .tpg-countdown span { margin-top: 6px; color: #9fb4cc; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* team, logos, social, alert */
.tpg .tpg-team { align-items: center; text-align: center; }
.tpg .tpg-avatar { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 5px var(--tpg-accent-soft); }
.tpg .tpg-social { display: flex; flex-wrap: wrap; gap: 8px; }
.tpg .tpg-center .tpg-social { justify-content: center; }
.tpg .tpg-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tpg-soft); color: var(--tpg-ink); text-decoration: none; transition: background .15s, color .15s; }
.tpg .tpg-social a:hover { background: var(--tpg-accent); color: #fff; }
.tpg .tpg-social .tpg-icon { font-size: 1rem; color: inherit; }
.tpg .tpg-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 44px; }
.tpg .tpg-logos img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.tpg .tpg-logos img:hover { filter: none; opacity: 1; }
.tpg .tpg-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid #b9dcf3; border-radius: 14px; background: #f0f8fd; color: #0b4a72; }
.tpg .tpg-alert > i { flex: none; font-size: 1.3rem; line-height: 1.4; }
.tpg .tpg-alert--ok { border-color: #a6e8c6; background: #ecfdf3; color: #05603a; }
.tpg .tpg-alert--warn { border-color: #fcd68c; background: #fffaeb; color: #93370d; }
.tpg .tpg-alert--err { border-color: #fdb4ab; background: #fef3f2; color: #912018; }

/* WiseCP widgets */
.tpg .tpg-w { min-height: 40px; }
.tpg .tpg-w:empty { min-height: 0; }
.tpg .tpg-w:not(:empty) + .tpg-w:not(:empty) { margin-top: 18px; }
.tpg .tpg-w-empty { padding: 22px; border: 1px dashed #9cc9ea; border-radius: 14px; background: #f6fbfe; color: #4a7aa0; font-weight: 600; text-align: center; }
.tpg .tpg-plans { align-items: stretch; }
.tpg .tpg-domain-box { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border: 1px solid var(--tpg-line); border-radius: 16px; background: #fff; box-shadow: var(--tpg-shadow); }
.tpg .tpg-domain-box > i { color: var(--tpg-muted); font-size: 1.15rem; }
.tpg .tpg-domain-box input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--tpg-ink); font: inherit; font-size: 1.05rem; }
.tpg .tpg-domain-box .tpg-btn { align-self: auto; }
.tpg .tpg-domain-tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tpg .tpg-domain-tlds a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--tpg-line); border-radius: 999px; background: #fff; color: var(--tpg-ink); text-decoration: none; font-size: .9rem; }
.tpg .tpg-domain-tlds a:hover { border-color: var(--tpg-accent); }
.tpg .tpg-domain-tlds span { color: var(--tpg-accent); font-weight: 700; }
.tpg .tpg-center .tpg-domain-tlds { justify-content: center; }
.tpg .tpg-compare--live .tpg-price-badge { position: static; transform: none; display: inline-block; margin-left: 6px; vertical-align: middle; }
.tpg .tpg-cmp-price td { color: var(--tpg-ink); }
.tpg .tpg-cmp-price b { font-size: 1.2rem; font-weight: 800; }
.tpg .tpg-cmp-price small { color: var(--tpg-muted); }
.tpg .tpg-cmp-cta .tpg-btn { align-self: auto; }

/* announcements, articles, knowledge base */
.tpg .tpg-posts { align-items: stretch; }
.tpg .tpg-post { display: flex; flex-direction: column; overflow: hidden; height: 100%; border: 1px solid var(--tpg-line); border-radius: var(--tpg-radius); background: #fff; color: var(--tpg-text); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.tpg .tpg-post:hover { transform: translateY(-2px); box-shadow: var(--tpg-shadow); color: var(--tpg-text); }
.tpg .tpg-post-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tpg .tpg-post-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.tpg .tpg-post-body small { color: var(--tpg-muted); font-size: .8rem; font-weight: 600; }
.tpg .tpg-post-title { color: var(--tpg-ink); font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.tpg .tpg-post-text { line-height: 1.6; font-size: .93rem; }
.tpg .tpg-post-more { margin-top: auto; padding-top: 6px; color: var(--tpg-accent); font-weight: 700; font-size: .9rem; }

/* slider: a scroll-snap strip, tpg.js adds arrows, dots and autoplay */
.tpg .tpg-slider { position: relative; }
.tpg .tpg-slides { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tpg .tpg-slides::-webkit-scrollbar { display: none; }
.tpg .tpg-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.tpg .tpg-sl-2 .tpg-slide { flex-basis: calc((100% - 20px) / 2); }
.tpg .tpg-sl-3 .tpg-slide { flex-basis: calc((100% - 40px) / 3); }
@media (max-width: 767.98px) { .tpg .tpg-sl-2 .tpg-slide, .tpg .tpg-sl-3 .tpg-slide { flex-basis: 85%; } }
.tpg .tpg-slider-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; }
.tpg .tpg-slider-nav > button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--tpg-line); border-radius: 50%; background: #fff; color: var(--tpg-ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.tpg .tpg-slider-nav > button:hover { border-color: var(--tpg-accent); color: var(--tpg-accent); }
.tpg .tpg-sl-dots { display: flex; gap: 6px; }
.tpg .tpg-sl-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--tpg-line); cursor: pointer; transition: width .2s, background .2s; }
.tpg .tpg-sl-dots button.is-on { width: 24px; background: var(--tpg-accent); }

/* reveal on scroll: hidden only when tpg.js runs (html.tpg-js), never in the editor */
.tpg-js .tpg [class*="tpg-anim-"] { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.tpg-js .tpg .tpg-anim-up { transform: translateY(28px); }
.tpg-js .tpg .tpg-anim-zoom { transform: scale(.94); }
.tpg-js .tpg .tpg-anim-left { transform: translateX(-36px); }
.tpg-js .tpg .tpg-anim-right { transform: translateX(36px); }
.tpg-js .tpg [class*="tpg-anim-"].is-in { opacity: 1; transform: none; }
.tpg-js .tpg [class*="tpg-anim-"]:not(.is-in) { animation: tpg-reveal 0s 4s forwards; }
@keyframes tpg-reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tpg-js .tpg [class*="tpg-anim-"] { opacity: 1; transform: none; transition: none; } }
