/*
Theme Name: Tsubomi Link
Theme URI: https://tsubomilink.com
Author: Tsubomi Link
Description: Tema ringan untuk Tsubomi Link (CV Tsubomi Kizuna Swantara). Konsultasi karier & studi, visa & dokumen, terjemahan & interpreter.
Version: 1.4.5
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: Proprietary
Text Domain: tsubomi-link
*/

:root {
  --tl-radius: 24px;
  --tl-radius-sm: 16px;
  --tl-shadow: 0 18px 50px rgba(22, 24, 35, 0.12);
  --tl-sun: linear-gradient(135deg, #ffc21c, #ff9a3c);
  --tl-sakura: linear-gradient(135deg, #ff2d6b, #ff8db8);
  --tl-ume: linear-gradient(135deg, #9b2cf5, #ea5bcf);
  --tl-sora: linear-gradient(135deg, #1e6fc4, #5ed9e0);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:where(a, button, summary):focus-visible { outline: 3px solid var(--wp--preset--color--sora); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.tl-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eef0f4; }
.admin-bar .tl-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tl-header { top: 46px; } }
.tl-header .tl-logo img { height: 40px; width: auto; display: block; }
.tl-header .wp-block-navigation { font-weight: 600; font-size: .975rem; gap: 1.6rem; }
.tl-header .wp-block-navigation a { text-decoration: none; color: #3e4254; }
.tl-header .wp-block-navigation a:hover { color: var(--wp--preset--color--ink); }
.tl-header .wp-block-navigation__submenu-container { border-radius: 14px; border: 1px solid #e4e7ee !important; box-shadow: var(--tl-shadow); padding: .5rem !important; min-width: 250px !important; }
.tl-header .wp-block-navigation__submenu-container a { padding: .55rem .75rem !important; border-radius: 10px; }
.tl-header .wp-block-navigation__submenu-container a:hover { background: var(--wp--preset--color--mist); }
.tl-header .wp-block-button__link { padding: .6rem 1.15rem; font-size: .925rem; }
@media (max-width: 900px) { .tl-header .tl-header-cta { display: none; } }

/* ---------- Generic ---------- */
.tl-section { padding-top: var(--wp--preset--spacing--60) !important; padding-bottom: var(--wp--preset--spacing--60) !important; }
.tl-section-tight { padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.tl-mist { background: var(--wp--preset--color--mist); }
.tl-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--slate); line-height: 1.55; max-width: 640px; }
.tl-muted { color: var(--wp--preset--color--slate); }
.tl-small { font-size: .9rem; color: var(--wp--preset--color--soft); }
.tl-badge { display: inline-flex !important; align-items: center; gap: .5rem; width: fit-content; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--slate); font-weight: 600; font-size: .875rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; }
.tl-badge::before { content: ""; width: 22px; height: 22px; flex: none; background: url(assets/img/logo-ikon.png) center/contain no-repeat; }
.tl-section-head { max-width: 680px; margin-bottom: var(--wp--preset--spacing--50) !important; }
.tl-section-head p { color: var(--wp--preset--color--slate); font-size: 1.0625rem; }

/* tile marker (motif ubin berlian dari logo) */
.tl-tile-mark { position: relative; padding-left: 0; }
.tl-tile-mark::before { content: ""; display: block; width: 34px; height: 34px; border-radius: 26%; transform: rotate(45deg); margin: 6px 0 22px 6px; background: var(--tl-sun); }
.tl-c-sun .tl-tile-mark::before, .tl-c-sun.tl-tile-mark::before { background: var(--tl-sun); }
.tl-c-sakura .tl-tile-mark::before, .tl-c-sakura.tl-tile-mark::before { background: var(--tl-sakura); }
.tl-c-ume .tl-tile-mark::before, .tl-c-ume.tl-tile-mark::before { background: var(--tl-ume); }
.tl-c-sora .tl-tile-mark::before, .tl-c-sora.tl-tile-mark::before { background: var(--tl-sora); }

/* Buttons */
.wp-block-button.is-style-outline .wp-block-button__link { border: 1.5px solid #d5d9e3; color: var(--wp--preset--color--ink); background: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--wp--preset--color--ink); background: #fff; color: var(--wp--preset--color--ink); }
.tl-btn-wa .wp-block-button__link { background: var(--wp--preset--color--wa) !important; color: #fff !important; }
.tl-btn-wa .wp-block-button__link:hover { background: #17924a !important; }
.tl-btn-light .wp-block-button__link { background: #fff !important; color: var(--wp--preset--color--ink) !important; }
.wp-block-button__link { text-decoration: none !important; }

/* ---------- Hero ---------- */
.tl-hero { position: relative; overflow: hidden; }
.tl-hero h1 { margin-top: 1.25rem !important; max-width: 15ch; }
.tl-hero .tl-lead { margin-top: 1.25rem !important; }
.tl-hero .wp-block-buttons { margin-top: 2rem !important; }
.tl-proof { display: flex !important; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2.5rem !important; }
.tl-proof p { margin: 0 !important; font-size: .85rem; color: var(--wp--preset--color--soft); font-weight: 500; line-height: 1.3; }
.tl-proof strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: var(--wp--preset--color--ink); font-weight: 800; }
.tl-visual { position: relative; min-height: 460px; }
.tl-visual::before, .tl-visual::after { content: ""; position: absolute; border-radius: 26%; transform: rotate(45deg); z-index: 0; }
.tl-visual::before { width: 96px; height: 96px; background: var(--tl-sun); top: 2%; left: 48%; }
.tl-visual::after { width: 64px; height: 64px; background: var(--tl-ume); bottom: 6%; right: 6%; }
.tl-visual .tl-tile-pink { position: absolute; width: 56px; height: 56px; border-radius: 26%; transform: rotate(45deg); background: var(--tl-sakura); top: 22%; left: 6%; margin: 0 !important; z-index: 0; }

/* diamond photo frame */
.wp-block-image.tl-diamond { position: relative; width: min(330px, 70vw); aspect-ratio: 1; margin: 70px auto 0 !important; border-radius: 24%; overflow: hidden; transform: rotate(45deg); z-index: 1; box-shadow: var(--tl-shadow); }
.wp-block-image.tl-diamond img { position: absolute; width: 142%; height: 142%; max-width: none; left: -21%; top: -21%; object-fit: cover; transform: rotate(-45deg); }
.wp-block-image.tl-diamond.tl-diamond-sm { width: min(220px, 60vw); margin-top: 40px !important; }

/* tracking card */
.tl-track { position: absolute !important; left: 0; bottom: 4%; z-index: 2; width: 250px; background: #fff; border-radius: 20px; box-shadow: var(--tl-shadow); padding: 1.1rem 1.25rem !important; }
.tl-track p { margin: 0 !important; font-size: .85rem; font-weight: 600; color: #3e4254; line-height: 1.4; }
.tl-track .tl-track-label { font-size: .75rem; color: var(--wp--preset--color--soft); }
.tl-track .tl-track-title { font-size: .975rem; font-weight: 700; color: var(--wp--preset--color--ink); margin-bottom: .5rem !important; }
.tl-track .tl-done, .tl-track .tl-now { display: flex; gap: .55rem; align-items: center; margin-top: .45rem !important; }
.tl-track .tl-done::before, .tl-track .tl-now::before { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .7rem; font-weight: 800; }
.tl-track .tl-done::before { content: "✓"; background: #1fa855; }
.tl-track .tl-now::before { content: "•"; background: var(--wp--preset--color--sora); font-size: 1rem; }
.tl-float-pill { position: absolute !important; right: 0; top: 30%; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--tl-shadow); padding: .8rem 1rem !important; }
.tl-float-pill p { margin: 0 !important; font-size: .85rem; font-weight: 700; line-height: 1.3; }
.tl-float-pill p + p { font-size: .75rem; font-weight: 500; color: var(--wp--preset--color--soft); }
@media (max-width: 781px) {
  .tl-visual { min-height: 400px; margin-top: 1rem; }
  .tl-track { left: 0; bottom: 0; width: 220px; }
  .tl-float-pill { right: 0; top: 8%; }
}

/* trust bar */
.tl-trust { border-top: 1px solid #eef0f4; padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; gap: .75rem 2.25rem !important; }
.tl-trust p { margin: 0 !important; font-weight: 700; color: #a7acbc; font-size: 1rem; white-space: nowrap; }
.tl-trust p.tl-trust-label { font-weight: 600; font-size: .85rem; color: var(--wp--preset--color--soft); }

/* ---------- Cards ---------- */
.tl-cards { gap: 1.25rem !important; }
.tl-card { background: #fff; border: 1.5px solid #e8ebf1; border-radius: var(--tl-radius); padding: 1.75rem !important; display: flex; flex-direction: column; }
.tl-mist .tl-card { border-color: #e8ebf1; }
.tl-card h3 { margin-top: 0 !important; }
.tl-card p { color: var(--wp--preset--color--slate); font-size: .975rem; }
.tl-card .tl-card-more { margin-top: auto !important; padding-top: .75rem; font-weight: 700; font-size: .95rem; }
.tl-card .tl-card-more a { text-decoration: none; color: var(--wp--preset--color--ink); }
.tl-card .tl-card-more a::after { content: " ›"; }
.tl-card.tl-card-dark { background: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); }
.tl-card.tl-card-dark h3, .tl-card.tl-card-dark .tl-card-more a { color: #fff; }
.tl-card.tl-card-dark p { color: #c3c7d6; }
.tl-card ul { color: var(--wp--preset--color--slate); font-size: .95rem; padding-left: 1.1rem; }
.tl-card ul li { margin: .25rem 0; }

/* audience */
.tl-aud .tl-card h3 { font-size: 1.15rem; }

/* ---------- Steps ---------- */
ol.tl-steps { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: tlstep; }
ol.tl-steps > li { counter-increment: tlstep; position: relative; font-size: .95rem; color: var(--wp--preset--color--slate); line-height: 1.5; }
ol.tl-steps > li::before { content: counter(tlstep); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; transform: rotate(45deg); margin: 6px 0 1.25rem 6px; color: #fff; font-weight: 800; background: var(--wp--preset--color--ink); }
ol.tl-steps > li:nth-child(1)::before { background: var(--wp--preset--color--sun); }
ol.tl-steps > li:nth-child(2)::before { background: var(--wp--preset--color--sakura); }
ol.tl-steps > li:nth-child(3)::before { background: var(--wp--preset--color--ume); }
ol.tl-steps > li:nth-child(4)::before { background: var(--wp--preset--color--sora); }
ol.tl-steps > li strong { display: block; color: var(--wp--preset--color--ink); font-size: 1.05rem; margin-bottom: .25rem; }
/* counter text must not rotate */
ol.tl-steps > li::before { font-size: 0; }
ol.tl-steps > li::after { content: counter(tlstep); position: absolute; top: 6px; left: 6px; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem; }
@media (max-width: 900px) { ol.tl-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { ol.tl-steps { grid-template-columns: 1fr; } }

/* why */
.tl-why h3 { font-size: 1.1rem; }
.tl-why p { color: var(--wp--preset--color--slate); font-size: .975rem; }

/* timeline */
.tl-timeline { border-left: 2px dashed #cdd2dd; padding-left: 1.75rem !important; }
.tl-timeline h3 { position: relative; font-size: 1.05rem; margin-top: 1.5rem !important; }
.tl-timeline h3::before { content: ""; position: absolute; left: calc(-1.75rem - 9px); top: .25em; width: 16px; height: 16px; border-radius: 26%; transform: rotate(45deg); background: var(--tl-sora); }
.tl-timeline p { color: var(--wp--preset--color--slate); margin-top: .35rem !important; }

/* ---------- Prices ---------- */
.tl-price { background: #fff; border: 1.5px solid #e8ebf1; border-radius: var(--tl-radius); padding: 1.75rem !important; }
.tl-price h3 { margin: 0 !important; }
.tl-price .tl-price-num { font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; color: var(--wp--preset--color--ink); margin-top: .75rem !important; line-height: 1.15; }
.tl-price .tl-price-num small, .tl-price .tl-price-pre { font-size: .85rem; font-weight: 600; letter-spacing: 0; color: var(--wp--preset--color--soft); }
.tl-price .tl-price-pre { display: block; margin-top: .4rem !important; margin-bottom: 0 !important; }
.tl-price .tl-price-num { margin-top: .1rem !important; }
.tl-price .tl-price-total { background: var(--wp--preset--color--mist); border-radius: 12px; padding: .6rem .85rem !important; font-size: .9rem; color: #3e4254; font-weight: 600; margin-top: .9rem !important; }
.tl-price p { font-size: .95rem; color: var(--wp--preset--color--slate); }
.tl-price ul { font-size: .925rem; color: var(--wp--preset--color--slate); padding-left: 1.1rem; }
.tl-price .tl-up { font-size: .875rem; color: var(--wp--preset--color--slate); border-top: 1px solid #eef0f4; padding-top: .9rem !important; margin-top: 1rem !important; }
.tl-note { background: #fff8e6; border-radius: 14px; padding: 1rem 1.2rem !important; font-size: .925rem; color: #6b5a2a; }

.wp-block-table.tl-table { overflow-x: auto; }
.wp-block-table.tl-table table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; border: 1.5px solid #e8ebf1; border-radius: 18px; overflow: hidden; background: #fff; }
.wp-block-table.tl-table th, .wp-block-table.tl-table td { border: 0; border-bottom: 1px solid #eef0f4; padding: .8rem 1rem; text-align: left; }
.wp-block-table.tl-table thead th { background: var(--wp--preset--color--ink); color: #fff; font-weight: 700; font-size: .85rem; border-bottom: 0; }
.wp-block-table.tl-table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table.tl-table td:first-child { font-weight: 700; color: var(--wp--preset--color--ink); }
.wp-block-table.tl-table thead { border: 0; }
.wp-block-table.tl-table figcaption { font-size: .85rem; color: var(--wp--preset--color--soft); text-align: left; }

/* ---------- Team ---------- */
.tl-team .wp-block-image img { border-radius: 26%; aspect-ratio: 1; object-fit: cover; width: 120px; height: 120px; }
.tl-team h3 { font-size: 1.05rem; margin-top: .9rem !important; margin-bottom: 0 !important; }
.tl-team p { margin-top: .2rem !important; font-size: .9rem; color: var(--wp--preset--color--slate); }
.tl-initial { width: 120px; height: 120px; border-radius: 26%; display: grid !important; place-items: center; background: var(--tl-sora); color: #fff; font-size: 2.2rem !important; font-weight: 800; margin: 0 !important; }

/* ---------- FAQ ---------- */
.wp-block-details.tl-faq { border: 1.5px solid #e8ebf1; border-radius: 16px; padding: 1rem 1.25rem; background: #fff; margin-top: .75rem !important; }
.wp-block-details.tl-faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details.tl-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.tl-faq summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-size: 1.4rem; font-weight: 500; color: var(--wp--preset--color--soft); }
.wp-block-details.tl-faq[open] summary::after { content: "–"; }
.wp-block-details.tl-faq p { color: var(--wp--preset--color--slate); margin-top: .6rem; }

/* ---------- CTA band ---------- */
.tl-cta { position: relative; overflow: hidden; background: var(--wp--preset--color--ink); color: #fff; border-radius: 32px; padding: clamp(2rem, 5vw, 4rem) !important; }
.tl-cta h2 { color: #fff; max-width: 16ch; }
.tl-cta p { color: #c9ccda; max-width: 520px; }
.tl-cta::before, .tl-cta::after { content: ""; position: absolute; border-radius: 26%; transform: rotate(45deg); opacity: .95; }
.tl-cta::before { width: 150px; height: 150px; right: 12%; top: -50px; background: var(--tl-sun); }
.tl-cta::after { width: 110px; height: 110px; right: 3%; bottom: -30px; background: var(--tl-sora); }
@media (max-width: 781px) { .tl-cta::before { width: 90px; height: 90px; right: -36px; top: -36px; } .tl-cta::after { display: none; } .tl-cta h2 { max-width: 13ch; } }

/* service page hero */
.tl-page-hero { padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.tl-page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 16ch; }
.tl-page-hero .wp-block-image img { border-radius: var(--tl-radius); }
.tl-crumb { font-size: .9rem; font-weight: 600; color: var(--wp--preset--color--soft); }
.tl-crumb a { color: var(--wp--preset--color--soft); text-decoration: none; }

/* chips */
.tl-chips { gap: .5rem !important; }
.tl-chips p { margin: 0 !important; background: var(--wp--preset--color--mist); border-radius: 999px; padding: .4rem .9rem; font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--slate); }
.tl-chips p.tl-chip-soon { background: transparent; border: 1.5px dashed #cdd2dd; color: var(--wp--preset--color--soft); }

/* contact */
.tl-contact-list p { display: flex; gap: .75rem; align-items: baseline; }
.tl-contact-list p strong { min-width: 120px; color: var(--wp--preset--color--ink); }
.tl-photo-rounded img { border-radius: var(--tl-radius); }

/* ---------- Footer ---------- */
.tl-footer { background: var(--wp--preset--color--ink); color: #aeb3c6; font-size: .925rem; }
.tl-footer a { color: #fff; text-decoration: none; }
.tl-footer a:hover { text-decoration: underline; color: #fff; }
.tl-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .75rem !important; }
.tl-footer p { margin: .35rem 0 !important; }
.tl-footer .tl-legal { border-top: 1px solid #2e3140; padding-top: 1.5rem !important; font-size: .825rem; color: #8f94a8; }
.tl-footer .tl-legal p { margin: .2rem 0 !important; }
.tl-footer img { height: 38px; width: auto; }

/* ---------- Floating WhatsApp ---------- */
.tl-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 99; display: inline-flex; align-items: center; gap: .55rem; background: #1fa855; color: #fff !important; text-decoration: none !important; font-weight: 700; font-size: .95rem; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: 0 12px 30px rgba(31,168,85,.35); }
.tl-wa-float:hover { background: #17924a; }
.tl-wa-float svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 600px) { .tl-wa-float span { display: none; } .tl-wa-float { padding: .85rem; } }

/* hide WP default title on our pages */
.tl-page .wp-block-post-title { display: none; }

/* layout fixes */
.tl-section-head { max-width: 1200px !important; width: 100%; margin-left: auto !important; margin-right: auto !important; }
.tl-section-head > * { max-width: 680px; }
.wp-block-column > .tl-card:only-child, .wp-block-column > .tl-price:only-child { height: 100%; }
.wp-block-column > .tl-card + .tl-card { margin-top: 1rem; }
.tl-trust { gap: .6rem 2rem !important; }

.tl-photo-rounded img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tl-why-photo img { aspect-ratio: 4 / 3; }
.wp-block-table.tl-table th:first-child { width: 22%; }
.wp-block-table.tl-table th:last-child { width: 13%; }

/* ===== v1.0.1 fixes ===== */
/* Link colors: win against plugin/global styles (e.g. Elementor kit) */
body .tl-page a:not(.wp-block-button__link),
body .tl-page a:not(.wp-block-button__link):visited { color: var(--wp--preset--color--ink); text-decoration: underline; text-decoration-color: rgba(22,24,35,.3); text-underline-offset: 3px; }
body .tl-page a:not(.wp-block-button__link):hover { color: var(--wp--preset--color--sora); text-decoration-color: currentColor; }
body .tl-page .tl-crumb a { color: var(--wp--preset--color--soft); text-decoration: none; }
body .tl-page .tl-card-more a, body .tl-page .tl-card-more a:visited { color: var(--wp--preset--color--ink); text-decoration: none; }
body .tl-page .tl-card-dark .tl-card-more a, body .tl-page .tl-card-dark .tl-card-more a:visited { color: #fff; }
body .tl-header .wp-block-navigation a, body .tl-header .wp-block-navigation a:visited { color: #3e4254; text-decoration: none; }
body .tl-footer a, body .tl-footer a:visited { color: #ECFDC4; text-decoration: none; }
body .tl-footer a:hover { color: #fff; text-decoration: underline; }
body .tl-footer h4, body .tl-footer .wp-block-heading { color: #2E8292; }
body .wp-block-button__link, body .wp-block-button__link:visited { text-decoration: none; }

/* Mobile menu overlay above everything */
.tl-header .wp-block-navigation__responsive-container.is-menu-open { z-index: 100000; background: #fff !important; padding: 1.5rem; }
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 1.1rem; font-size: 1.15rem; }
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: .25rem 0 0 1rem !important; }
.tl-header .wp-block-navigation__responsive-container-open svg, .tl-header .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.tl-wa-float { z-index: 9990; }

/* Hide duplicate floating contact button injected by Elementor (old site) */
.e-contact-buttons, .e-floating-buttons { display: none !important; }
.tl-header { z-index: 9995 !important; }
html.has-modal-open .tl-wa-float { display: none; }
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { width: 100%; gap: 1.1rem; }
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a { font-weight: 700; color: var(--wp--preset--color--ink) !important; }
.tl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a { font-weight: 500; color: #3e4254 !important; }

/* ===== v1.0.3: price table on mobile ===== */
body .wp-block-table.tl-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body .wp-block-table.tl-table table { table-layout: auto !important; min-width: 820px; width: 100%; }
body .wp-block-table.tl-table th, body .wp-block-table.tl-table td { word-break: normal !important; overflow-wrap: normal !important; hyphens: none; }
body .wp-block-table.tl-table td:not(:first-child) { white-space: nowrap; }
body .wp-block-table.tl-table th:not(:first-child) { min-width: 110px; }
body .wp-block-table.tl-table th:first-child, body .wp-block-table.tl-table td:first-child { width: auto; min-width: 190px; position: sticky; left: 0; z-index: 1; }
body .wp-block-table.tl-table td:first-child { background: #fff; box-shadow: 1px 0 0 #eef0f4; }
body .wp-block-table.tl-table thead th:first-child { background: var(--wp--preset--color--ink); }
@media (max-width: 781px) {
  body .wp-block-table.tl-table { margin-right: calc(-1 * clamp(1.25rem, 5vw, 4.5rem)); }
  body .wp-block-table.tl-table::before { content: "Geser tabel ke samping untuk melihat semua bahasa →"; display: block; font-size: .8rem; color: var(--wp--preset--color--soft); margin-bottom: .5rem; }
  body .wp-block-table.tl-table th, body .wp-block-table.tl-table td { padding: .7rem .8rem; }
  body .wp-block-table.tl-table th:first-child, body .wp-block-table.tl-table td:first-child { min-width: 150px; max-width: 150px; white-space: normal; }
}
/* sticky first column needs no overflow:hidden on the table itself */
body .wp-block-table.tl-table table { overflow: visible; border: 0; border-radius: 0; }
body .wp-block-table.tl-table { border: 1.5px solid #e8ebf1; border-radius: 18px; background: #fff; }
body .wp-block-table.tl-table figcaption { padding: .9rem 1rem; margin: 0; border-top: 1px solid #eef0f4; position: sticky; left: 0; }
@media (max-width: 781px) {
  body .wp-block-table.tl-table { margin-right: 0; }
  body .wp-block-table.tl-table::before { padding: .7rem .8rem 0; position: sticky; left: 0; }
}

/* ===== v1.2.0: blog & kerja sama ===== */
.tl-blog .wp-block-post-template { gap: 1.25rem; }
.tl-post-card { height: 100%; }
.tl-post-card .wp-block-post-title { font-size: 1.15rem; margin: .4rem 0 .6rem !important; line-height: 1.3; }
body .tl-post-card .wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
body .tl-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--sora); }
.tl-post-card .wp-block-post-excerpt { font-size: .95rem; color: var(--wp--preset--color--slate); }
body .tl-post-card .wp-block-post-excerpt__more-link { font-weight: 700; color: var(--wp--preset--color--ink); text-decoration: none; }
.tl-blog .wp-block-query-pagination { margin-top: 2rem; font-weight: 600; }
.tl-article .wp-block-post-title { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-top: .5rem !important; }
.tl-article .wp-block-post-content h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.tl-article .wp-block-post-content p, .tl-article .wp-block-post-content li { font-size: 1.0625rem; line-height: 1.75; color: #2f3242; }
body .tl-article a:not(.wp-block-button__link) { color: var(--wp--preset--color--ink); text-decoration: underline; text-decoration-color: rgba(22,24,35,.3); text-underline-offset: 3px; }
body .tl-article .tl-crumb a { color: var(--wp--preset--color--soft); text-decoration: none; }
.tl-post-cta { background: var(--wp--preset--color--mist); border-radius: var(--tl-radius); padding: 1.75rem !important; margin-top: 2.5rem !important; }
.tl-post-cta h3 { margin-top: 0 !important; }
.wp-block-table.tl-table-sm table { min-width: 520px !important; }
ol.tl-steps.tl-steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { ol.tl-steps.tl-steps-3 { grid-template-columns: 1fr; } }

/* v1.2.1: tim 5 orang */
.tl-team.wp-block-columns { flex-wrap: wrap !important; gap: 2rem 1.5rem; }
.tl-team > .wp-block-column { flex: 1 1 160px !important; min-width: 150px; }
@media (max-width: 781px) { .tl-team > .wp-block-column { flex: 1 1 40% !important; } }

/* ===== v1.3.0 ===== */
ol.tl-steps.tl-steps-6 { grid-template-columns: repeat(3, 1fr); row-gap: 2.25rem; }
ol.tl-steps.tl-steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { ol.tl-steps.tl-steps-6, ol.tl-steps.tl-steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { ol.tl-steps.tl-steps-6, ol.tl-steps.tl-steps-4 { grid-template-columns: 1fr; } }
ol.tl-steps.tl-steps-6 > li:nth-child(5)::before { background: var(--wp--preset--color--sun); }
ol.tl-steps.tl-steps-6 > li:nth-child(6)::before { background: var(--wp--preset--color--ink); }
.tl-stats { justify-content: space-between; margin-top: 0 !important; }
.tl-stats strong { font-size: 2rem; }
.tl-kanji { font-family: "Noto Serif JP", "Noto Serif CJK JP", serif; font-size: clamp(5rem, 12vw, 8rem); line-height: 1; margin: 0 !important; background: linear-gradient(135deg,#FF2D6B,#A93BF0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-team p.tl-role { color: var(--wp--preset--color--ink); font-weight: 600; }
.tl-team p.tl-bio { font-size: .85rem; line-height: 1.5; }
.tl-proof.tl-stats { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 1.25rem 1.5rem; }
@media (max-width: 781px) { .tl-proof.tl-stats { grid-template-columns: 1fr 1fr; } }

/* v1.4.0 */
.tl-hero .tl-hero-note { margin-top: .9rem !important; font-size: .95rem; color: var(--wp--preset--color--slate); max-width: 660px; }
.tl-hero .tl-hero-note a { color: inherit; text-decoration-color: var(--wp--preset--color--sora); text-underline-offset: 3px; }
.tl-hero .tl-hero-note a:hover { color: var(--wp--preset--color--sora); }
.tl-cards + .tl-cards { margin-top: 1.25rem !important; }
.tl-post-card .tl-post-thumb { margin: -1.75rem -1.75rem .35rem !important; border-radius: calc(var(--tl-radius) - 2px) calc(var(--tl-radius) - 2px) 0 0; overflow: hidden; background: var(--wp--preset--color--mist); }
.tl-post-card .tl-post-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tl-post-card:hover .tl-post-thumb img { transform: scale(1.03); }
.tl-post-card .tl-post-thumb a { display: block; height: 100%; }
/* Hero: ringkasan layanan */
.tl-svcbox { width: 270px; }
.tl-svcbox .tl-svc { margin-top: .2rem !important; }
body .tl-svcbox .tl-svc a { text-decoration: none !important; }
.tl-svcbox .tl-svc a { display: flex; align-items: center; gap: .6rem; padding: .3rem .4rem; margin: 0 -.4rem; border-radius: 10px; color: #3e4254; text-decoration: none; transition: background .2s, color .2s; }
.tl-svcbox .tl-svc a::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 3px; transform: rotate(45deg); background: var(--tl-dot, var(--wp--preset--color--sora)); }
.tl-svcbox .tl-svc a::after { content: "›"; margin-left: auto; color: var(--wp--preset--color--soft); font-weight: 700; transition: transform .2s; }
.tl-svcbox .tl-svc a:hover { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--ink); }
.tl-svcbox .tl-svc a:hover::after { transform: translateX(2px); color: var(--wp--preset--color--ink); }
.tl-svc-sora { --tl-dot: var(--wp--preset--color--sora); }
.tl-svc-ume { --tl-dot: var(--wp--preset--color--ume); }
.tl-svc-sun { --tl-dot: var(--wp--preset--color--sun); }
.tl-svc-sakura { --tl-dot: var(--wp--preset--color--sakura); }
.tl-svc-ink { --tl-dot: var(--wp--preset--color--ink); }
@media (max-width: 781px) {
  .tl-visual:has(.tl-svcbox) { min-height: 0; }
  .tl-svcbox { position: relative !important; left: auto; bottom: auto; width: auto; margin: -2.5rem .25rem 0 !important; }
  .tl-visual:has(.tl-svcbox) .tl-float-pill { top: 0; }
}
