/* Tryouti LMS - stand-in Elementor widgets (course grid, testimonials). Builds on tlu.css. */

.tlu.tlu-embed { background: transparent; overflow: visible; }

/* ------------------------------------------------------------ course grid */
.tlu-wg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.tlu-wg-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.3px; color: var(--navy); }
.tlu-wg-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tlu-wg-sort select { height: 40px; border: 1px solid var(--border); border-radius: 12px; padding: 0 12px; background: #fff; font: 600 13.5px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); }
.tlu-wg { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tlu-wg-item { display: flex; min-width: 0; }
.tlu-wg-item > .tlu-cardc { width: 100%; }
.tlu-wg-wrap.has-h .tlu-cardc-media { aspect-ratio: auto; height: var(--tlu-img-h); }
.tlu-wg-more { text-align: center; margin-top: 26px; }
.tlu-wg-more .tlu-btn { width: auto; padding: 0 30px; }
.tlu-wg-empty { padding: 24px 0; text-align: center; }
@media (max-width: 460px) { .tlu-wg { grid-template-columns: 1fr; } }
@media (min-width: 720px) { .tlu-wg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .tlu-wg { grid-template-columns: repeat(var(--tlu-cols, 4), minmax(0, 1fr)); } }

/* ----------------------------------------------------------- testimonials */
.tlu-tm { padding: 6px 0; }
.tlu-tm-title { text-align: center; font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -.3px; color: var(--navy); margin-bottom: 26px; }
.tlu-tm-wrap { position: relative; }
.tlu-tm-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 4px 20px; outline: none; }
.tlu-tm-track::-webkit-scrollbar { display: none; }
.tlu-tm-card {
	--per: var(--tlu-per-m, 1);
	flex: 0 0 calc((100% - (var(--per) - 1) * 20px) / var(--per));
	scroll-snap-align: start; margin: 0; position: relative; display: flex; flex-direction: column; gap: 14px;
	padding: 30px 26px 24px; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
@media (min-width: 640px) { .tlu-tm-card { --per: var(--tlu-per-t, 2); } }
@media (min-width: 1024px) { .tlu-tm-card { --per: var(--tlu-per, 3); } }
.tlu-tm-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 49, 110, .13); }
.tlu-tm-quote { position: absolute; top: 6px; right: 22px; font: 800 92px/1 Georgia, 'Times New Roman', serif; color: var(--navy-tint); pointer-events: none; user-select: none; }
.tlu-tm-stars { display: flex; gap: 2px; color: var(--star); }
.tlu-tm-text { margin: 0; flex: 1; font-size: 15.5px; line-height: 1.75; color: #374151; position: relative; }
.tlu-tm-text p { margin: 0 0 .6em; }
.tlu-tm-text p:last-child { margin-bottom: 0; }
.tlu-tm-card, .tlu-tm-who, .tlu-tm-who b, .tlu-tm-who small { font-style: normal; }
.tlu-tm-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tlu-tm-who b { display: block; font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.3; }
.tlu-tm-who small { display: block; font-size: 12.5px; color: var(--muted); }
.tlu-tm-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.tlu-tm-avatar.is-initials { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .5px; }

.tlu-tm.is-outline .tlu-tm-card { background: transparent; box-shadow: none; border: 2px solid var(--navy-tint); }
.tlu-tm.is-outline .tlu-tm-card:hover { box-shadow: none; border-color: var(--navy); }
.tlu-tm.is-compact .tlu-tm-card { padding: 22px 20px 18px; gap: 10px; border-radius: 18px; }
.tlu-tm.is-compact .tlu-tm-text { font-size: 14.5px; line-height: 1.65; }
.tlu-tm.is-compact .tlu-tm-quote { font-size: 70px; }

/* one big quote in the middle */
.tlu-tm--centered .tlu-tm-card { flex-basis: 100%; align-items: center; text-align: center; padding: 42px clamp(22px, 7vw, 76px) 30px; }
.tlu-tm--centered .tlu-tm-quote { position: static; font-size: 76px; height: 48px; color: var(--red-tint); }
.tlu-tm--centered .tlu-tm-stars { justify-content: center; }
.tlu-tm--centered .tlu-tm-text { font-size: clamp(17px, 2.2vw, 21px); font-weight: 500; line-height: 1.7; color: var(--text); }
.tlu-tm--centered .tlu-tm-who { justify-content: center; text-align: left; }
.tlu-tm--centered .tlu-tm-card:hover { transform: none; }

.tlu-tm-nav { position: absolute; top: calc(50% - 20px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); font: 400 28px/1 Arial, sans-serif; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; padding: 0 0 3px; transition: .15s; }
.tlu-tm-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tlu-tm-nav.is-prev { left: -10px; }
.tlu-tm-nav.is-next { right: -10px; }
.tlu-tm[data-single] .tlu-tm-nav, .tlu-tm[data-single] .tlu-tm-dots { display: none; }
@media (max-width: 640px) { .tlu-tm-nav { width: 38px; height: 38px; font-size: 24px; } .tlu-tm-nav.is-prev { left: -4px; } .tlu-tm-nav.is-next { right: -4px; } }

.tlu-tm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.tlu-tm-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: var(--navy-tint); cursor: pointer; transition: .2s; }
.tlu-tm-dots button.is-on { width: 26px; background: var(--navy); }

/* ------------------------------------------------- sign-in / profile button */
.tlu-au { display: inline-flex; align-items: center; gap: 10px; position: relative; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.tlu-au button, .tlu-au a { font-family: inherit; }
.tlu-au-login { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border: 1.5px solid var(--navy-tint); border-radius: 999px; background: #fff; color: var(--navy); font: 700 14px/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: .15s; }
.tlu-au-login:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.tlu-au-signup { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #ff5a64, var(--red) 55%, var(--red-dark)); color: #fff; font: 800 14px/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; box-shadow: 0 8px 18px rgba(245, 51, 63, .28); transition: .15s; }
.tlu-au-signup:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(245, 51, 63, .38); }
.tlu-au .tlu-au-cta { width: auto; min-height: 46px; padding: 0 26px; }
/* tablet and phone: the header column is narrow, so a single round icon button (the dialog has both tabs) */
@media (max-width: 1024px) { .tlu-au.is-guest .tlu-au-login span, .tlu-au.is-guest .tlu-au-signup { display: none; } .tlu-au.is-guest .tlu-au-login { width: 42px; padding: 0; justify-content: center; background: var(--navy); border-color: var(--navy); color: #fff; } }

.tlu-au-av { position: relative; display: inline-block; width: 36px; height: 36px; flex: none; border-radius: 50%; overflow: hidden; }
.tlu-au-ini { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 800 13px/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .4px; }
.tlu-au-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.tlu-au-av img.is-ok { opacity: 1; }

/* continue-learning: a round progress ring in the header (the full title is in the menu card) */
.tlu-au-resume { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: #eef2fb; color: var(--navy); transition: .15s; flex: none; }
.tlu-au-resume:hover { background: var(--navy); }
.tlu-au-resume:hover .tlu-au-ring i { background: #eef2fb; }
.tlu-au-ring { --p: 0; position: relative; width: 38px; height: 38px; flex: none; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p) * 1%), #cfd8ee 0); display: grid; place-items: center; }
.tlu-au-ring i { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.tlu-au-ring i::before { content: ''; margin-left: 2px; border-left: 7px solid var(--navy); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.tlu-au-resume-text { display: none; }
.tlu-au-resume-text small { font-size: 10.5px; font-weight: 700; opacity: .7; text-transform: uppercase; letter-spacing: .4px; }
.tlu-au-resume-text b { font-size: 13px; font-weight: 800; white-space: nowrap; }
.tlu-au-points { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px; background: #fff7e0; color: #6b4e00; font-size: 13.5px; font-weight: 700; }
.tlu-au-points:hover { background: #ffecb3; }

.tlu-au-me { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 4px 12px 4px 4px; border: 1.5px solid var(--navy-tint); border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer; transition: .15s; }
.tlu-au-me:hover, .tlu-au-me[aria-expanded="true"] { border-color: var(--navy); box-shadow: 0 6px 16px rgba(20, 49, 110, .14); }
.tlu-au-name { font-size: 14px; font-weight: 800; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlu-au-chev { transition: transform .18s; }
.tlu-au-me[aria-expanded="true"] .tlu-au-chev { transform: rotate(180deg); }

.tlu-au-pop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 99999; width: 300px; max-width: calc(100vw - 24px); padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 24px 60px rgba(11, 30, 72, .22); display: grid; gap: 10px; animation: tlu-au-in .14s ease-out; }
.tlu-au-pop[hidden] { display: none; }
@keyframes tlu-au-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tlu-au-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 10px; border-bottom: 1px solid var(--border); }
.tlu-au-head b { display: block; font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.tlu-au-head small { display: block; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.tlu-au-card { display: grid; gap: 3px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #24489c, var(--navy-dark)); color: #fff !important; }
.tlu-au-card small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; opacity: .75; }
.tlu-au-card b { font-size: 14px; font-weight: 800; line-height: 1.3; }
.tlu-au-card em { font-style: normal; font-size: 12px; opacity: .85; }
.tlu-au-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .25); overflow: hidden; margin-top: 3px; }
.tlu-au-bar u { display: block; height: 100%; border-radius: 99px; background: #ffb3b8; }
.tlu-au-card.is-empty { background: #eef2fb; color: var(--navy) !important; }
.tlu-au-card.is-empty small { opacity: .7; }
.tlu-au-note { padding: 10px 12px; border-radius: 12px; background: #fff4d6; color: #7a5a00 !important; font-size: 13px; font-weight: 600; line-height: 1.4; }
.tlu-au-note u { font-weight: 800; text-decoration: underline; }
.tlu-au-links { display: grid; gap: 2px; }
.tlu-au-links a { padding: 10px 12px; border-radius: 12px; color: var(--text) !important; font-size: 14px; font-weight: 600; transition: background .12s; }
.tlu-au-links a:hover, .tlu-au-links a:focus-visible { background: #eef2fb; outline: none; }
.tlu-au-links a.is-admin { color: var(--navy) !important; font-weight: 800; }
.tlu-au-out { padding: 10px 12px; border-top: 1px solid var(--border); margin-top: 2px; color: #c8202f !important; font-size: 14px; font-weight: 700; border-radius: 0 0 12px 12px; }
.tlu-au-out:hover { background: #fdf0f1; }
@media (max-width: 760px) { .tlu-au-resume, .tlu-au-name, .tlu-au-chev { display: none; } .tlu-au-me { padding: 4px; } }
@media (max-width: 1280px) { .tlu-au-name { display: none; } .tlu-au-me { padding: 4px 8px 4px 4px; } }
@media (max-width: 420px) { .tlu-au-points { display: none; } }
.tlu-auth-host { background: transparent; }

/* ------------------------------------------------- beat the theme's <button> style
   Hello Elementor paints every button pink (colour, outline, hover fill) with a rule as strong as a single class,
   and it can load after this file. "body .x" is stronger, so the header buttons keep their own colours. */
body .tlu-au-login { color: var(--navy); background: #fff; border: 1.5px solid var(--navy-tint); border-radius: 999px; padding: 0 16px; font-weight: 700; font-size: 14px; line-height: 1; }
body .tlu-au-login:hover, body .tlu-au-login:focus { color: #fff; background: var(--navy); border-color: var(--navy); }
body .tlu-au-signup { color: #fff; border: 0; border-radius: 999px; padding: 0 20px; font-weight: 800; font-size: 14px; line-height: 1; background: linear-gradient(135deg, #ff5a64, var(--red) 55%, var(--red-dark)); }
body .tlu-au-signup:hover, body .tlu-au-signup:focus { color: #fff; background: linear-gradient(135deg, #ff5a64, var(--red) 55%, var(--red-dark)); }
body .tlu-au-me { color: var(--navy); background: #fff; border: 1.5px solid var(--navy-tint); border-radius: 999px; font-weight: 700; }
body .tlu-au-me:hover, body .tlu-au-me:focus, body .tlu-au-me[aria-expanded="true"] { color: var(--navy); background: #fff; border-color: var(--navy); }
body .tlu-tm-nav { color: var(--navy); background: #fff; border: 1px solid var(--border); border-radius: 50%; padding: 0; }
body .tlu-tm-nav:hover, body .tlu-tm-nav:focus { color: #fff; background: var(--navy); border-color: var(--navy); }
body .tlu-tm-dots button { border: 0; padding: 0; background: var(--navy-tint); }
body .tlu-tm-dots button.is-on { background: var(--navy); }
@media (max-width: 1024px) { body .tlu-au.is-guest .tlu-au-login { width: 42px; padding: 0; background: var(--navy); border-color: var(--navy); color: #fff; } }

/* A decorative hero image on the home page sticks out 26px to the right and gave the whole page a sideways scrollbar.
   "clip" (unlike "hidden") keeps position: sticky working. */
html { overflow-x: clip; }

/* ---- Kategori Kursus (tlu_categories) ---- */
.tlu-catgrid { padding: 8px 0 28px; }
.tlu-catgrid .tlu-cg-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.tlu-catgrid .tlu-cg-head h2 { margin: 0 0 8px; font: 800 clamp(24px, 3.4vw, 34px)/1.2 'Plus Jakarta Sans', system-ui, sans-serif; color: #0f2a5e; }
.tlu-catgrid .tlu-cg-head p { margin: 0 auto; color: #5b6688; font-size: 16px; line-height: 1.6; }
.tlu-catgrid .tlu-cg-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tlu-catgrid .tlu-cg-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tlu-catgrid .tlu-cg-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tlu-catgrid .tlu-cg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8f4; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 22px rgba(20, 49, 110, .06); transition: transform .18s, box-shadow .18s, border-color .18s; }
.tlu-catgrid .tlu-cg-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 49, 110, .13); border-color: var(--cg, #1f4fd8); }
.tlu-catgrid .tlu-cg-main { display: block; padding: 22px 20px 14px; text-decoration: none; color: inherit; flex: 1; }
.tlu-catgrid .tlu-cg-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--cg, #1f4fd8); color: #fff; font: 800 18px/1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: .5px; margin-bottom: 14px; }
.tlu-catgrid .tlu-cg-main h3 { margin: 0 0 4px; font: 800 19px/1.3 'Plus Jakarta Sans', system-ui, sans-serif; color: #0f2a5e; }
.tlu-catgrid .tlu-cg-main p { margin: 0; color: #6b7694; font-size: 14px; }
.tlu-catgrid .tlu-cg-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px 16px; border-top: 1px dashed #e3e8f4; flex-wrap: wrap; }
.tlu-catgrid .tlu-cg-price { font-size: 13px; color: #5b6688; }
.tlu-catgrid .tlu-cg-price b { color: var(--cg, #1f4fd8); font-size: 15px; }
.tlu-catgrid .tlu-cg-plan { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #eef2fd; color: #14316e; font: 700 13px/1 'Plus Jakarta Sans', system-ui, sans-serif; text-decoration: none; }
.tlu-catgrid .tlu-cg-plan:hover { background: #14316e; color: #fff; }
@media (max-width: 1000px) { .tlu-catgrid .tlu-cg-grid, .tlu-catgrid .tlu-cg-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tlu-catgrid .tlu-cg-grid { gap: 12px; } .tlu-catgrid .tlu-cg-main { padding: 16px 14px 10px; } .tlu-catgrid .tlu-cg-foot { padding: 10px 14px 14px; } .tlu-catgrid .tlu-cg-main h3 { font-size: 16px; } .tlu-catgrid .tlu-cg-ic { width: 44px; height: 44px; font-size: 16px; } }
