/* ===== HRDSpot Training Plugin - Frontend Styles ===== */
.hrdt-wrap { display: flex; gap: 30px; max-width: var(--hrdt-maxw, 1200px); margin: 20px auto; padding: 0 var(--hrdt-pad, 20px); align-items: flex-start; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2a2a2a; }
.hrdt-sidebar { width: 240px; flex-shrink: 0; }
.hrdt-sidebar h3 { font-size: 15px; margin: 18px 0 8px; color: #1a1a1a; }
.hrdt-taxlist { list-style: none; margin: 0; padding: 0; }
.hrdt-taxlist li a { display: flex; align-items: center; gap: 6px; padding: 8px 4px; color: #1a4fa0; text-decoration: none; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.hrdt-taxlist-label { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.hrdt-tax-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
.hrdt-taxlist li.active a { font-weight: 700; color: #0d2f66; }
.hrdt-taxlist li a:hover { color: #0d2f66; }
.hrdt-tax-count { color: #888; font-size: 12px; font-weight: 400; display: inline-block; min-width: 26px; text-align: right; }
.hrdt-taxlist li.hrdt-tax-empty a { color: #aaa; }
.hrdt-taxlist li.hrdt-tax-empty .hrdt-tax-count { color: #c2c2c2; }
.hrdt-taxlist li.hrdt-tax-empty.active a { color: #777; }

.hrdt-empty-state { text-align: center; padding: 50px 20px; background: linear-gradient(135deg,#f8fafc,#eef1f7); border: 1.5px dashed #d7deec; border-radius: 12px; margin-top: 10px; }
.hrdt-empty-title { color: #555; font-size: 15px; margin: 0 0 16px; }
.hrdt-empty-reset { display: inline-block; background: #123a7a; color: #fff; font-weight: 700; font-size: 13px; padding: 9px 20px; border-radius: 5px; text-decoration: none; }
.hrdt-empty-reset:hover { background: #0c2c60; color: #fff; }
@media (max-width: 560px) {
    .hrdt-empty-state { padding: 30px 16px; }
}

.hrdt-main { flex: 1; min-width: 0; }
.hrdt-breadcrumb { color: #666; font-size: 14px; margin-bottom: 16px; }

.hrdt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hrdt-grid-related { grid-template-columns: repeat(4, 1fr); }

/* Shortcode [hrdt_listing] - jumlah kolom diatur lewat --hrdt-cols */
.hrdt-shortcode-grid { display: grid; grid-template-columns: repeat(var(--hrdt-cols, 3), 1fr); gap: 22px; }
.hrdt-shortcode-more { text-align: center; margin-top: 22px; }
.hrdt-shortcode-more-btn { display: inline-block; background: #123a7a; color: #fff; font-weight: 700; font-size: 13.5px; padding: 11px 26px; border-radius: 5px; text-decoration: none; }
.hrdt-shortcode-more-btn:hover { background: #0c2c60; color: #fff; }
@media (max-width: 900px) {
    .hrdt-shortcode-grid { grid-template-columns: repeat(min(2, var(--hrdt-cols, 3)), 1fr); }
}
@media (max-width: 560px) {
    .hrdt-wrap { padding: 0 14px; margin: 14px auto; gap: 16px; }
    .hrdt-shortcode-grid { grid-template-columns: 1fr; gap: 14px; }
}

.hrdt-filterbar { display: flex !important; flex-direction: row !important; align-items: stretch; gap: 10px; margin-bottom: 20px; flex-wrap: nowrap; }
.hrdt-filterbar input[type="text"],
.hrdt-filterbar select,
.hrdt-filterbar button { width: auto !important; padding: 9px 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 13.5px; box-sizing: border-box; }
.hrdt-filterbar input[type="text"] { flex: 2 1 0; min-width: 0; }
.hrdt-filterbar select { flex: 1 1 0; min-width: 0; }
.hrdt-filterbar button { flex: 0 0 auto; background: #123a7a; color: #fff; border: none; padding: 9px 22px; border-radius: 5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.hrdt-filterbar button:hover { background: #0c2c60; }
@media (max-width: 680px) {
    .hrdt-filterbar { flex-wrap: wrap !important; }
    .hrdt-filterbar input[type="text"],
    .hrdt-filterbar select,
    .hrdt-filterbar button { flex: 1 1 100% !important; }
}

.hrdt-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.1); transition: transform .15s ease, box-shadow .15s ease; }
.hrdt-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.hrdt-card-link { text-decoration: none; color: inherit; display: block; }
.hrdt-duration { font-size: 12px; color: #888; margin: -4px 0 2px; }
.hrdt-duration-badge { display: inline-block; background: #dc3545; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 12px; vertical-align: middle; margin-left: 4px; line-height: 1.6; }
.hrdt-duration-badge-card { margin-left: 0; }

.hrdt-card-thumb { position: relative; height: 140px; background: #222; overflow: hidden; }
.hrdt-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hrdt-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#333,#111); }
.hrdt-badge { position: absolute; top: 8px; left: 8px; background: #14a44d; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 12px; z-index: 2; }
.hrdt-card-body { padding: 14px; }
.hrdt-card-body h3 {
    font-size: 15px; margin: 0 0 4px; line-height: 1.35; color: #14264b;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; min-height: 1.35em;
}
.hrdt-card-meta { font-size: 12.5px; color: #444; }
.hrdt-card-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 2px 0 7px; border-bottom: 1px solid #eee; margin-bottom: 8px; }
.hrdt-card-modes-label { font-size: 9px; font-weight: 700; color: #888; letter-spacing: .3px; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.hrdt-mode-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 600; color: #444; white-space: nowrap; }
.hrdt-mode-chip .hrdt-svg-icon { width: 11px; height: 11px; color: #1a4fa0; }
.hrdt-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 3px 0; }
.hrdt-icon { margin-right: 4px; display: inline-flex; align-items: center; color: #1a4fa0; flex-shrink: 0; }
.hrdt-svg-icon { display: block; }
.hrdt-card-meta .hrdt-price { font-weight: 700; color: #1a1a1a; margin-left: auto; font-size: 13px; }
.hrdt-check-yes { color: #1e9e4e; font-weight: 700; }

/* List view */
.hrdt-list { display: flex; flex-direction: column; gap: 14px; }
.hrdt-list .hrdt-card { display: flex; flex-direction: row; align-items: stretch; }
.hrdt-list .hrdt-card-link { display: flex; flex: 1; }
.hrdt-list .hrdt-card-thumb { width: 200px; height: auto; flex-shrink: 0; }
.hrdt-list .hrdt-card-body { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.hrdt-list .hrdt-card-body h3 { display: block; overflow: visible; text-overflow: clip; -webkit-line-clamp: unset; -webkit-box-orient: unset; min-height: 0; font-size: 16.5px; margin-bottom: 10px; }
.hrdt-list .hrdt-card-meta { font-size: 13px; }
.hrdt-list .hrdt-row { justify-content: flex-start; gap: 10px; padding: 5px 0; }
.hrdt-list .hrdt-card-meta .hrdt-price { margin-left: 14px; font-size: 13.5px; }
@media (max-width: 700px) {
    .hrdt-list .hrdt-card { flex-direction: column; }
    .hrdt-list .hrdt-card-link { flex-direction: column; }
    .hrdt-list .hrdt-card-thumb { width: 100%; height: 160px; }
}

/* Calendar view */
.hrdt-calendar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; }
.hrdt-calendar-head a { color: #1a4fa0; text-decoration: none; font-weight: 600; }
.hrdt-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hrdt-cal-dow { text-align: center; font-weight: 700; font-size: 12.5px; color: #666; padding: 6px 0; }
.hrdt-cal-cell { min-height: 90px; background: #f8f8f8; border-radius: 6px; padding: 6px; font-size: 11px; }
.hrdt-cal-cell.hrdt-cal-empty { background: transparent; }
.hrdt-cal-cell.hrdt-has-training { background: #eef3fc; }
.hrdt-cal-daynum { font-weight: 700; font-size: 12.5px; display: block; margin-bottom: 4px; }
.hrdt-cal-item { display: block; background: #123a7a; color: #fff; border-radius: 3px; padding: 2px 4px; margin-bottom: 2px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrdt-cal-item.hrdt-cal-online { background: #14a44d; }
.hrdt-cal-more { color: #888; font-size: 10px; }
.hrdt-cal-legend { margin-top: 14px; font-size: 12.5px; color: #555; }
.hrdt-legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #123a7a; margin-right: 4px; vertical-align: middle; }
.hrdt-legend-dot.hrdt-cal-online { background: #14a44d; }

.hrdt-pagination { margin-top: 26px; text-align: center; }
.hrdt-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 3px; border-radius: 50%; background: #eee; color: #333; text-decoration: none; font-size: 13px; }
.hrdt-pagination .page-numbers.current { background: #14264b; color: #fff; }

/* ===== SINGLE PAGE ===== */
.hrdt-single { max-width: var(--hrdt-maxw, 1200px); margin: 0 auto; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 22px rgba(18,58,122,.1); }
.hrdt-tabs { display: flex; }
.hrdt-tab-btn { flex: 1; padding: 15px; background: #0a2452; color: #93a9d6; border: none; font-weight: 700; font-size: 13px; cursor: pointer; letter-spacing: .3px; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background .15s, color .15s; }
.hrdt-tab-btn .hrdt-svg-icon { flex-shrink: 0; }
.hrdt-tab-btn.active { background: #123a7a; color: #fff; box-shadow: inset 0 -3px 0 #2ebf6f; }

.hrdt-banner {
    background:
        linear-gradient(100deg, rgba(4,14,36,.85) 0%, rgba(4,14,36,.45) 40%, rgba(4,14,36,0) 68%),
        linear-gradient(135deg, #081c40 0%, #123a7a 40%, #1c5bb0 75%, #2f8fd1 100%);
    color: #fff; padding: 34px 32px; display: flex; justify-content: space-between; gap: 24px; position: relative; overflow: hidden;
}
.hrdt-banner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(46,191,111,.12); }
.hrdt-banner-left { position: relative; z-index: 1; }
.hrdt-banner h1 { margin: 0 0 12px; font-size: 27px; line-height: 1.3; }
.hrdt-stars { color: #ffc247; letter-spacing: 2px; }
.hrdt-instr-label { margin-left: 10px; font-size: 12.5px; color: #a9c1e8; text-transform: uppercase; letter-spacing: .4px; }
.hrdt-instructors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hrdt-instructor { display: flex; align-items: center; gap: 9px; font-size: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 30px; padding: 5px 14px 5px 6px; }
.hrdt-instructor img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.hrdt-banner-right { text-align: center; max-width: 320px; position: relative; z-index: 1; }
.hrdt-banner-right img { max-width: 100%; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.hrdt-note { background: #fff; color: #333; font-size: 12px; padding: 9px 12px; margin-top: 12px; border-radius: 6px; border-left: 3px solid #2ebf6f; text-align: left; }

.hrdt-content-wrap { display: flex; gap: 30px; padding: 30px; align-items: flex-start; }
.hrdt-content-left { flex: 2; min-width: 0; }
.hrdt-content-right { flex: 1; max-width: 300px; }

.hrdt-description { font-size: 14.5px; line-height: 1.75; color: #333; margin-bottom: 22px; }
.hrdt-accordion { border-top: 1px solid #e6e9ee; }
.hrdt-accordion:last-child { border-bottom: 1px solid #e6e9ee; }
.hrdt-accordion-head { width: 100%; text-align: left; background: #f3f6fb; border: none; padding: 13px 16px; font-weight: 700; font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #123a7a; letter-spacing: .3px; transition: background .15s; }
.hrdt-accordion-head:hover { background: #e9eff9; }
.hrdt-accordion-head span { color: #2ebf6f; font-size: 17px; font-weight: 800; }
.hrdt-accordion-body { display: none; padding: 15px 16px; font-size: 14px; color: #333; background: #fff; line-height: 1.7; }
.hrdt-accordion-list { list-style: none; margin: 0; padding: 0; }
.hrdt-accordion-list li { display: flex; align-items: flex-start; gap: 8px; padding: 4px 0; }
.hrdt-accordion-list .hrdt-check-yes { flex-shrink: 0; margin-top: 2px; }
.hrdt-accordion.open .hrdt-accordion-body { display: block; }
.hrdt-accordion.open .hrdt-accordion-head span { transform: rotate(45deg); display: inline-block; }

.hrdt-ketentuan { background: linear-gradient(135deg,#eef5ff,#eafbf1); border: 1px solid #dfeaf7; border-radius: 8px; padding: 18px 20px; margin-top: 22px; font-size: 13.5px; }
.hrdt-ketentuan-title { font-weight: 700; color: #123a7a; margin-top: 0; font-size: 13.5px; }
.hrdt-ketentuan ul { margin: 8px 0 0; padding: 0; list-style: none; }
.hrdt-ketentuan li { padding: 4px 0; color: #234; }
.hrdt-ketentuan-cols { display: flex; gap: 30px; }
.hrdt-ketentuan-cols > div { flex: 1; }
.hrdt-ketentuan-cols strong { color: #123a7a; }

.hrdt-price-box { background: #fff; border: 1px solid #e8ebf0; border-radius: 10px; box-shadow: 0 4px 18px rgba(18,58,122,.09); overflow: hidden; }
.hrdt-price-note { background: linear-gradient(90deg,#e8791a,#e08a1f); color: #fff; font-size: 12px; padding: 11px 14px; margin: 0; font-weight: 600; }
.hrdt-price-note.is-confirmed { background: linear-gradient(90deg,#1e9e4e,#2ebf6f); }
.hrdt-price-box > div > p { padding: 0 16px; font-size: 13.5px; margin: 13px 0; color: #333; }
.hrdt-price-box > div > .hrdt-date-info { padding: 0 16px; font-size: 13.5px; margin: 13px 0; color: #333; }
.hrdt-price-box a { color: #1a4fa0; font-weight: 600; }
.hrdt-next-toggle { background: none; border: none; padding: 0; margin: 6px 0 0; cursor: pointer; color: #1a4fa0; font-weight: 600; font-size: 13.5px; text-decoration: underline; font-family: inherit; }
.hrdt-next-toggle:hover { color: #123a7a; }
.hrdt-next-toggle .hrdt-next-arrow { text-decoration: none; display: inline-block; margin-left: 2px; transition: transform .15s; }
.hrdt-next-toggle.open .hrdt-next-arrow { transform: rotate(90deg); }
.hrdt-next-list { display: none; margin-top: 6px; }
.hrdt-next-list.open { display: block; }
.hrdt-next-list p { margin: 0 0 4px; color: #333; font-size: 13.5px; font-weight: 400; }
.hrdt-price-box .hrdt-price { font-size: 19px; font-weight: 800; color: #1e9e4e; }
.hrdt-price-strike { text-decoration: line-through; color: #999; font-size: 13px !important; font-weight: 400; display: block; }
.hrdt-discount { display: inline-block; background: #e5f6ec; color: #1e9e4e; font-weight: 700; font-size: 11.5px !important; padding: 3px 10px; border-radius: 20px; }
.hrdt-discount span { display: block; color: #999; font-size: 11px; font-weight: 400; margin-top: 5px; background: none; padding: 0; }
.hrdt-booking-btn { display: block; width: calc(100% - 32px); margin: 16px; padding: 13px; background: linear-gradient(90deg,#1e9e4e,#2ebf6f); color: #fff; border: none; border-radius: 6px; font-weight: 700; letter-spacing: .6px; cursor: pointer; font-size: 14px; box-shadow: 0 3px 10px rgba(30,158,78,.35); transition: filter .15s; }
.hrdt-booking-btn:hover { filter: brightness(.94); }
.hrdt-inhouse-note { font-size: 12.5px; color: #555; background: #f3f6fb; border: 1px solid #e8ebf0; padding: 13px 15px; border-radius: 8px; margin-top: 16px; line-height: 1.6; }
.hrdt-inhouse-note a { color: #1a4fa0; font-weight: 600; }

.hrdt-related { padding: 10px 30px 40px; }
.hrdt-related h3 { color: #123a7a; font-size: 17px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #eef1f7; }

/* Show/hide by active mode */
.hrdt-mode-block { display: none; }
.hrdt-single[data-mode="offline"] .hrdt-mode-offline { display: block; }
.hrdt-single[data-mode="online"] .hrdt-mode-online { display: block; }
.hrdt-single:not([data-mode]) .hrdt-mode-offline,
.hrdt-single[data-mode="offline"] .hrdt-mode-offline { display: block; }

/* ===== MODAL BOOKING ===== */
.hrdt-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; }
.hrdt-modal-overlay.open { display: flex; }
.hrdt-modal { background: #fff; width: 100%; max-width: 480px; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.hrdt-modal-head { background: linear-gradient(90deg,#0d2f66,#123a7a); color: #fff; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 13px; }
.hrdt-modal-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.hrdt-modal-body { padding: 20px; font-size: 13px; color: #333; }
.hrdt-modal-body p { margin: 0 0 10px; }

.hrdt-modal-info { position: relative; }
.hrdt-modal-toggle { display: block; width: 46px; height: 24px; border-radius: 20px; background: #ddd; margin: 0 0 14px auto; position: relative; transition: background .2s; }
.hrdt-modal-toggle-knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #1e9e4e; font-weight: 700; transition: left .2s; }
.hrdt-modal-toggle.is-on { background: #d7f2df; }
.hrdt-modal-toggle.is-on .hrdt-modal-toggle-knob { left: 24px; background: #2fbf5f; color: #fff; }
#hrdt-booking-form input[type="text"], #hrdt-booking-form input[type="email"], #hrdt-booking-form select,
#hrdt-inhouse-form input[type="text"], #hrdt-inhouse-form input[type="email"], #hrdt-inhouse-form input[type="number"], #hrdt-inhouse-form select, #hrdt-inhouse-form textarea {
    width: 100%; box-sizing: border-box; padding: 10px 12px; margin-top: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit;
}
#hrdt-inhouse-form textarea { resize: vertical; }
.hrdt-code-label { margin-top: 16px !important; color: #123a7a; font-weight: 600; }
.hrdt-code-row { display: flex; align-items: center; gap: 10px; }
.hrdt-code-display { font-family: monospace; font-weight: 800; letter-spacing: 4px; background: #14264b; color: #fff; padding: 10px 14px; border-radius: 4px; font-size: 16px; }
.hrdt-code-row input { flex: 1; margin-top: 0 !important; }
.hrdt-code-submit { background: linear-gradient(90deg,#1e9e4e,#2ebf6f); color: #fff; border: none; padding: 10px 18px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.hrdt-code-submit:hover { filter: brightness(.94); }
.hrdt-form-msg { margin-top: 12px; font-weight: 600; }
.hrdt-form-msg.error { color: #c0392b; }
.hrdt-form-msg.success { color: #1e9e4e; }

.hrdt-instructor span { display: flex; flex-direction: column; line-height: 1.4; }
.hrdt-profile-link { color: #9fc1ff; font-size: 12px; text-decoration: none; }
.hrdt-profile-link:hover { text-decoration: underline; }

/* ===== TRAINER PROFILE PAGE ===== */
.hrdt-trainer-page { max-width: var(--hrdt-maxw, 1200px); margin: 0 auto; padding: 20px var(--hrdt-pad, 30px) 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2a2a2a; }
.hrdt-trainer-breadcrumb { color: #666; font-size: 13px; margin-bottom: 20px; }
.hrdt-trainer-breadcrumb a { color: #666; text-decoration: none; }

.hrdt-trainer-hero { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 18px rgba(18,58,122,.08); }
.hrdt-trainer-hero-bg { height: 110px; background: linear-gradient(120deg, #0d2f66, #1a4fa0 60%, #2d6fd6); }
.hrdt-trainer-wrap { display: flex; gap: 40px; align-items: flex-start; padding: 0 36px 34px; margin-top: -58px; }
.hrdt-trainer-side { width: 230px; flex-shrink: 0; text-align: center; }

.hrdt-trainer-photo { width: 148px; height: 148px; margin: 0 auto; border-radius: 50%; background: #fff; padding: 5px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.hrdt-trainer-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.hrdt-trainer-photo-placeholder { width: 100%; height: 100%; border-radius: 50%; background: #eef2fa; display: flex; align-items: center; justify-content: center; color: #9db2d8; }
.hrdt-trainer-photo-placeholder svg { width: 46px; height: 46px; }

.hrdt-trainer-name { font-size: 19px; margin: 16px 0 4px; color: #14264b; }
.hrdt-trainer-position { font-size: 13px; color: #667; line-height: 1.55; }
.hrdt-trainer-position a { color: #1a4fa0; font-weight: 600; }
.hrdt-trainer-stat { display: inline-block; margin-top: 12px; background: #eaf1ff; color: #123a7a; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 20px; }
.hrdt-trainer-teaching { margin-top: 12px; font-size: 12.5px; color: #556; line-height: 1.5; }

.hrdt-trainer-main { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.75; padding-top: 66px; }
.hrdt-trainer-main h3 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #14264b; margin: 30px 0 12px; letter-spacing: .2px; padding-bottom: 8px; border-bottom: 2px solid #eef1f7; }
.hrdt-trainer-main h3:first-child { margin-top: 0; }
.hrdt-h3-icon { font-size: 16px; }
.hrdt-trainer-bio { color: #3a3a3a; }
.hrdt-trainer-bio-empty { color: #999; font-style: italic; }

.hrdt-trainer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hrdt-trainer-list li { position: relative; padding: 8px 14px 8px 30px; background: #f7f9fc; border-radius: 7px; color: #223; font-size: 13.8px; }
.hrdt-trainer-list li::before { content: "✓"; position: absolute; left: 11px; top: 8px; color: #2d8f4e; font-weight: 700; }

.hrdt-trainer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hrdt-tag { background: #eef2fa; color: #1a4fa0; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 20px; }

.hrdt-trainer-table-wrap { margin-top: 46px; }
.hrdt-trainer-table-title { display: flex; align-items: center; gap: 8px; font-size: 15.5px; color: #14264b; margin: 0 0 14px; }
.hrdt-trainer-table-wrap { overflow-x: auto; }
.hrdt-trainer-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 10px rgba(0,0,0,.06); }
.hrdt-trainer-table thead tr { background: linear-gradient(90deg, #0d2f66, #1a4fa0); color: #fff; }
.hrdt-trainer-table th, .hrdt-trainer-table td { padding: 13px 16px; text-align: left; vertical-align: top; }
.hrdt-trainer-table th { font-weight: 600; font-size: 12.5px; letter-spacing: .3px; text-transform: uppercase; }
.hrdt-trainer-table tbody tr { background: #ffffff; border-bottom: 1px solid #f0f1f4; transition: background .15s; }
.hrdt-trainer-table tbody tr.hrdt-row-alt { background: #f8f9fc; }
.hrdt-trainer-table tbody tr:hover { background: #eef3fc; }
.hrdt-trainer-table .hrdt-col-no { width: 40px; color: #999; }
.hrdt-trainer-table td a { color: #123a7a; font-weight: 700; text-decoration: none; }
.hrdt-trainer-table td a:hover { text-decoration: underline; }
.hrdt-trainer-sub { margin-top: 5px; color: #666; font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.hrdt-trainer-sub div { display: flex; align-items: center; gap: 5px; }
.hrdt-mini-badge { background: #e5f6ec; color: #1e7a41; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.hrdt-mini-badge { color: #14a44d; font-weight: 700; }

.hrdt-file-label { display: block; margin-top: 14px; font-size: 12.5px; color: #555; }
.hrdt-file-label input[type="file"] { display: block; margin-top: 6px; font-size: 12.5px; }

/* ===== STANDALONE FORM PENDAFTARAN (shortcode) ===== */
.hrdt-standalone-form { max-width: 560px; margin: 20px auto; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 28px; box-shadow: 0 2px 14px rgba(0,0,0,.06); font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.hrdt-standalone-form h2 { color: #123a7a; margin-top: 0; }
.hrdt-form-intro { color: #666; font-size: 14px; margin-bottom: 20px; }
.hrdt-standalone label { display: block; margin: 14px 0 4px; font-size: 13px; font-weight: 600; color: #333; }
.hrdt-standalone input[type="text"], .hrdt-standalone input[type="email"], .hrdt-standalone select {
    width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px;
}
.hrdt-standalone-submit { margin-top: 22px; width: 100%; background: #123a7a; color: #fff; border: none; padding: 13px; border-radius: 5px; font-weight: 700; letter-spacing: .5px; cursor: pointer; font-size: 14px; }
.hrdt-standalone-submit:hover { background: #0c2c60; }
.hrdt-standalone-submit:disabled { opacity: .6; cursor: not-allowed; }

@media (max-width: 900px) {
    .hrdt-trainer-wrap { flex-direction: column; margin-top: -40px; padding: 0 22px 26px; gap: 18px; }
    .hrdt-trainer-side { width: 100%; }
    .hrdt-trainer-main { padding-top: 0; }

    .hrdt-wrap { flex-direction: column; }
    .hrdt-sidebar { width: 100%; }
    .hrdt-grid, .hrdt-grid-related { grid-template-columns: repeat(2, 1fr); }
    .hrdt-banner, .hrdt-content-wrap { flex-direction: column; }
    .hrdt-content-right { max-width: 100%; }
    .hrdt-ketentuan-cols { flex-direction: column; gap: 16px; }
    .hrdt-code-row { flex-wrap: wrap; }
}
@media (max-width: 560px) {
    .hrdt-grid, .hrdt-grid-related { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hrdt-trainer-page { padding: 12px 12px 30px; }
    .hrdt-trainer-hero-bg { height: 70px; }
    .hrdt-trainer-wrap { margin-top: -34px; padding: 0 16px 20px; gap: 14px; }
    .hrdt-trainer-photo { width: 110px; height: 110px; }
    .hrdt-trainer-name { font-size: 17px; margin: 12px 0 3px; }
    .hrdt-trainer-main { font-size: 14px; }
    .hrdt-trainer-main h3 { margin: 22px 0 10px; }
    .hrdt-card-thumb { height: 110px; }
    .hrdt-card-body { padding: 10px 12px; }
    .hrdt-card-body h3 { font-size: 13.5px; }
    .hrdt-card-meta { font-size: 11.5px; }
    .hrdt-banner { padding: 22px 18px; }
    .hrdt-banner h1 { font-size: 21px; margin-bottom: 8px; }
    .hrdt-content-wrap { padding: 18px 16px; gap: 20px; }
    .hrdt-related { padding: 6px 16px 30px; }
    .hrdt-price-box .hrdt-price { font-size: 17px; }
}
@media (max-width: 380px) {
    .hrdt-grid, .hrdt-grid-related { grid-template-columns: 1fr; }
}

/* ===================== FITUR: LISTING TRAINER (grid) ===================== */
.hrdt-trainer-listing-page { max-width: var(--hrdt-maxw, 1200px); margin: 0 auto; padding: 20px var(--hrdt-pad, 30px) 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2a2a2a; }
.hrdt-trainer-listing-title { color: #14264b; margin: 6px 0 6px; }
.hrdt-trainer-listing-intro { color: #666; font-size: 14px; margin-bottom: 26px; max-width: 720px; }

/* Toolbar: kotak pencarian instan + jumlah trainer */
.hrdt-trainer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.hrdt-trainer-search { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #e3e7ef; border-radius: 30px; padding: 10px 18px; flex: 1; min-width: 240px; max-width: 420px; box-shadow: 0 1px 4px rgba(18,58,122,.05); transition: border-color .15s ease, box-shadow .15s ease; }
.hrdt-trainer-search:focus-within { border-color: #2d6fd6; box-shadow: 0 0 0 3px rgba(45,111,214,.12); }
.hrdt-trainer-search svg { color: #9aa7bd; flex-shrink: 0; }
.hrdt-trainer-search-input { border: none; outline: none; font-size: 13.5px; width: 100%; background: transparent; color: #2a2a2a; }
.hrdt-trainer-search-input::placeholder { color: #a2acbd; }
.hrdt-trainer-count { font-size: 12.5px; color: #8891a0; font-weight: 600; white-space: nowrap; }
.hrdt-trainer-noresult { text-align: center; color: #8891a0; font-size: 13.5px; padding: 40px 0; }

.hrdt-trainer-density { display: flex; gap: 4px; background: #fff; border: 1px solid #e3e7ef; border-radius: 10px; padding: 4px; box-shadow: 0 1px 4px rgba(18,58,122,.05); }
.hrdt-trainer-density-btn { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: none; background: transparent; border-radius: 7px; color: #9aa7bd; cursor: pointer; transition: background .15s ease, color .15s ease; }
.hrdt-trainer-density-btn:hover { color: #1a4fa0; }
.hrdt-trainer-density-btn.active { background: #eaf1ff; color: #123a7a; }

.hrdt-trainer-grid { display: grid; grid-template-columns: repeat(var(--hrdt-trainer-cols, 4), 1fr); gap: 22px; }

/* Mode padat (default): kartu horizontal ala "daftar kontak" — foto bulat kecil
   di kiri, nama & posisi di kanan — cocok untuk daftar trainer yang jumlahnya banyak. */
.hrdt-trainer-grid.hrdt-density-compact { display: flex; flex-wrap: wrap; gap: 12px; }
.hrdt-density-compact .hrdt-trainer-card { display: flex; flex-direction: row; align-items: center; text-align: left; gap: 13px; padding: 11px 14px; flex: 0 1 240px; }
.hrdt-density-compact .hrdt-trainer-card:hover { transform: translateY(-3px); }
.hrdt-density-compact .hrdt-trainer-card-photo { width: 54px; height: 54px; aspect-ratio: unset; border-radius: 50%; flex-shrink: 0; }
.hrdt-density-compact .hrdt-trainer-card-photo-placeholder svg { width: 46%; height: 46%; }
.hrdt-density-compact .hrdt-trainer-card-body { padding: 0; flex: 1; min-width: 0; }
.hrdt-density-compact .hrdt-trainer-card-name { font-size: 14px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrdt-density-compact .hrdt-trainer-card-position { justify-content: flex-start; align-items: center; text-align: left; font-size: 11.5px; }
.hrdt-density-compact .hrdt-trainer-card-position svg { margin-top: 0; }
.hrdt-density-compact .hrdt-trainer-card-position span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hrdt-density-compact .hrdt-trainer-card-bio,
.hrdt-density-compact .hrdt-trainer-card-tags { display: none; }
.hrdt-density-compact .hrdt-trainer-card-stat { font-size: 9.5px; padding: 3px 8px; margin-top: 5px; }
/* Badge Top Trainer jadi bulatan bintang kecil menempel di sudut foto, teksnya disembunyikan */
.hrdt-density-compact .hrdt-trainer-badge { top: auto; left: auto; bottom: -2px; right: -2px; width: 20px; height: 20px; padding: 0; border-radius: 50%; justify-content: center; box-shadow: 0 2px 6px rgba(230,154,10,.5); border: 2px solid #fff; }
.hrdt-density-compact .hrdt-trainer-badge-text { display: none; }

/* Mode nyaman: kembali ke desain kartu lengkap (bio, tags, posisi penuh) —
   cukup pakai gaya .hrdt-trainer-grid default, tidak perlu override tambahan
   supaya breakpoint mobile di bawah tetap berlaku normal. */
.hrdt-trainer-card { display: block; position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 6px rgba(18,58,122,.08); text-decoration: none; color: inherit; text-align: center; border: 1px solid #f0f2f7; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.hrdt-trainer-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(18,58,122,.16); border-color: #dde6f7; }

.hrdt-trainer-card-photo { position: relative; aspect-ratio: 1 / 1; background: #eef2fa; overflow: hidden; }
.hrdt-trainer-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.hrdt-trainer-card:hover .hrdt-trainer-card-photo img { transform: scale(1.08); }
.hrdt-trainer-card-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9db2d8; }
.hrdt-trainer-card-photo-placeholder svg { width: 40%; height: 40%; }

.hrdt-trainer-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(120deg, #f7b733, #e69a0a); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .2px; padding: 5px 10px 5px 8px; border-radius: 20px; box-shadow: 0 3px 8px rgba(230,154,10,.4); }
.hrdt-trainer-badge svg { flex-shrink: 0; }

.hrdt-trainer-card-body { padding: 18px 16px 20px; }
.hrdt-trainer-card-name { font-size: 15.5px; margin: 0 0 5px; color: #14264b; }
.hrdt-trainer-card-position { display: flex; align-items: flex-start; justify-content: center; gap: 5px; font-size: 12.5px; color: #667; line-height: 1.5; margin: 0; }
.hrdt-trainer-card-position svg { flex-shrink: 0; margin-top: 3px; color: #9aa7bd; }
.hrdt-trainer-card-bio { font-size: 12px; color: #7a8294; line-height: 1.55; margin: 8px 0 0; }
.hrdt-trainer-card-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 11px; }
.hrdt-trainer-card-tags .hrdt-tag { font-size: 11px; padding: 3px 9px; }
.hrdt-trainer-card-stat { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; background: #eaf1ff; color: #123a7a; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }

@media (max-width: 900px) {
    .hrdt-trainer-grid { grid-template-columns: repeat(min(3, var(--hrdt-trainer-cols, 4)), 1fr); }
}
@media (max-width: 560px) {
    .hrdt-trainer-listing-page { padding: 12px 12px 30px; }
    .hrdt-trainer-toolbar { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 16px; }
    .hrdt-trainer-search { max-width: none; }
    .hrdt-trainer-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hrdt-trainer-card-body { padding: 10px 8px 12px; }
    .hrdt-trainer-card-name { font-size: 13.5px; }
    .hrdt-trainer-card-position { font-size: 11px; }
    .hrdt-trainer-card-bio { display: none; }
    /* Mode padat: hilangkan sisa ruang kosong di kanan dengan bikin kartu mengisi penuh lebar */
    .hrdt-trainer-grid.hrdt-density-compact { gap: 8px; }
    .hrdt-density-compact .hrdt-trainer-card { flex: 1 1 100%; padding: 9px 12px; }
}

/* ===== GALERI KEGIATAN ===== */
.hrdt-gallery-page { width: calc(100% - 180px) !important; max-width: 1160px !important; margin: 0 auto !important; padding: 20px 0 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2a2a2a; box-sizing: border-box; }

/* ---- Hero banner: judul, breadcrumb & intro dibungkus panel gradasi navy ---- */
.hrdt-gallery-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0d2f66 0%, #123a7a 55%, #1a4fa0 100%);
    border-radius: 18px; padding: 32px 34px 30px; margin-bottom: 36px;
    box-shadow: 0 10px 30px -12px rgba(13,47,102,.45);
}
.hrdt-gallery-hero::before {
    content: ""; position: absolute; top: -70px; right: -50px; width: 220px; height: 220px;
    background: rgba(255,255,255,.07); border-radius: 50%;
}
.hrdt-gallery-hero::after {
    content: ""; position: absolute; bottom: -90px; right: 110px; width: 160px; height: 160px;
    background: rgba(255,255,255,.05); border-radius: 50%;
}
.hrdt-gallery-hero-watermark {
    position: absolute; z-index: 0; top: 50%; right: 36px; transform: translateY(-50%);
    font-size: 108px; line-height: 1; opacity: .09; pointer-events: none; user-select: none;
}
.hrdt-gallery-hero .hrdt-breadcrumb { position: relative; z-index: 1; color: rgba(255,255,255,.72); margin-bottom: 14px; }
.hrdt-gallery-hero .hrdt-breadcrumb a { color: rgba(255,255,255,.92); text-decoration: none; }
.hrdt-gallery-hero .hrdt-breadcrumb a:hover { text-decoration: underline; }
.hrdt-breadcrumb-sep { margin: 0 6px; opacity: .55; }

.hrdt-gallery-title {
    position: relative; z-index: 1; color: #fff; margin: 0 0 12px;
    display: flex; align-items: center; gap: 14px;
    font-size: clamp(24px, 3vw, 32px);
}
.hrdt-gallery-title-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.16);
    font-size: 22px;
}
.hrdt-gallery-intro { position: relative; z-index: 1; color: rgba(255,255,255,.82); font-size: 14px; margin: 0; max-width: 640px; }

@media (max-width: 560px) {
    .hrdt-gallery-hero { padding: 18px 16px 16px; border-radius: 12px; margin-bottom: 18px; }
    .hrdt-gallery-hero-watermark { font-size: 56px; right: 10px; opacity: .07; }
    .hrdt-gallery-title { gap: 10px; margin-bottom: 8px; font-size: 20px; }
    .hrdt-gallery-title-icon { width: 36px; height: 36px; font-size: 17px; }
    .hrdt-gallery-intro { font-size: 13px; }
    .hrdt-gallery-hero .hrdt-breadcrumb { margin-bottom: 8px; font-size: 12.5px; }
}

/* ---- Kelompok per tahun ---- */
.hrdt-gallery-year-block { margin-bottom: 40px; }
.hrdt-gallery-year-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 2px solid #eef1f7; padding-bottom: 12px; margin-bottom: 20px; }
.hrdt-gallery-year-title { font-size: 18px; color: #123a7a; margin: 0; padding-left: 15px; position: relative; }
.hrdt-gallery-year-title::before {
    content: ""; position: absolute; left: 0; top: 1px; bottom: 1px; width: 4px; border-radius: 3px;
    background: linear-gradient(180deg, #1a4fa0, #123a7a);
}
.hrdt-gallery-year-count { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #1a4fa0; background: #eaf1fc; padding: 5px 13px; border-radius: 20px; white-space: nowrap; }

/* ---- Grid album: flex agar tidak menyisakan ruang kosong saat album sedikit ---- */
.hrdt-gallery-album-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.hrdt-gallery-album-card {
    flex: 0 1 258px; display: block; background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid #eef1f7; box-shadow: 0 2px 10px rgba(18,58,122,.07);
    text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease;
}
.hrdt-gallery-album-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(18,58,122,.16); }
.hrdt-gallery-album-thumb { height: 150px; background: #e7ecf4; overflow: hidden; position: relative; }
.hrdt-gallery-album-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hrdt-gallery-album-card:hover .hrdt-gallery-album-thumb img { transform: scale(1.07); }
.hrdt-gallery-album-thumb-overlay {
    position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px 14px;
    background: linear-gradient(180deg, transparent 45%, rgba(13,47,102,.72) 100%);
    opacity: 0; transition: opacity .25s ease;
}
.hrdt-gallery-album-card:hover .hrdt-gallery-album-thumb-overlay { opacity: 1; }
.hrdt-gallery-album-thumb-overlay span {
    color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px;
}
.hrdt-thumb-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: #c4cce0; background: linear-gradient(135deg,#eef1f7,#e1e7f2);
}
.hrdt-gallery-album-body { padding: 14px 16px 16px; }
.hrdt-gallery-album-body h3 { font-size: 14.5px; font-weight: 700; margin: 0 0 10px; line-height: 1.35; color: #14264b; }
.hrdt-gallery-album-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hrdt-meta-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.hrdt-meta-photo { background: #e8f0fd; color: #1a4fa0; }
.hrdt-meta-video { background: #fdece3; color: #c1440e; }
.hrdt-meta-empty { background: #f2f2f2; color: #888; }

.hrdt-gallery-single .hrdt-gallery-year-tag { color: #666; font-size: 13.5px; margin: 0 0 20px; }
.hrdt-gallery-desc { color: #333; line-height: 1.7; margin-bottom: 24px; }
.hrdt-gallery-section-title { font-size: 16px; color: #14264b; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef1f7; }
.hrdt-gallery-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hrdt-gallery-photo-item { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; background: #eee; }
.hrdt-gallery-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.hrdt-gallery-photo-item:hover img { transform: scale(1.05); }
.hrdt-gallery-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hrdt-gallery-video-item { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.hrdt-gallery-video-item iframe { width: 100%; height: 100%; border: 0; }
.hrdt-gallery-video-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; text-decoration: none; font-weight: 700; background: #123a7a; }
.hrdt-gallery-back { margin-top: 34px; }
.hrdt-gallery-back a { color: #1a4fa0; font-weight: 600; text-decoration: none; }
.hrdt-gallery-back a:hover { text-decoration: underline; }

.hrdt-lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; align-items: center; justify-content: center; padding: 30px; }
.hrdt-lightbox-overlay.open { display: flex; }
.hrdt-lightbox-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hrdt-lightbox-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
    .hrdt-gallery-album-grid { grid-template-columns: repeat(2, 1fr); }
    .hrdt-gallery-photo-grid { grid-template-columns: repeat(3, 1fr); }
    .hrdt-gallery-video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .hrdt-gallery-page { padding: 12px 0 30px; }
    .hrdt-gallery-hero { margin-bottom: 20px; }
    .hrdt-gallery-year-block { margin-bottom: 26px; }
    .hrdt-gallery-year-head { margin-bottom: 14px; padding-bottom: 8px; }
    .hrdt-gallery-year-title { font-size: 15.5px; }
    /* Grid asli pakai flex (masonry), diganti grid 2 kolom penuh di mobile biar tidak ada ruang kosong di kanan */
    .hrdt-gallery-album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hrdt-gallery-album-card { flex-basis: auto; }
    .hrdt-gallery-album-thumb { height: 100px; }
    .hrdt-gallery-album-body { padding: 10px 10px 12px; }
    .hrdt-gallery-album-body h3 { font-size: 12.5px; margin-bottom: 6px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .hrdt-meta-badge { font-size: 10px; padding: 3px 8px; }
    .hrdt-gallery-photo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hrdt-gallery-section-title { margin: 22px 0 10px; }
}

/* ===================== FITUR: DAFTAR KLIEN ===================== */
.hrdt-klien-page, .hrdt-klien-single { max-width: var(--hrdt-maxw, 1200px); margin: 0 auto; padding: 20px var(--hrdt-pad, 30px) 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2a2a2a; }
.hrdt-klien-page-title { font-size: 26px; margin: 4px 0 6px; }
.hrdt-klien-page-intro { color: #666; margin: 0 0 24px; max-width: 720px; }

.hrdt-klien-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; align-items: center; }
.hrdt-klien-filter-tab { display: inline-block; padding: 8px 16px; border-radius: 20px; background: #eef0f3; color: #123a7a; font-weight: 600; font-size: 13px; text-decoration: none; }
.hrdt-klien-filter-tab:hover { background: #dbe3f0; }
.hrdt-klien-filter-tab.active { background: #123a7a; color: #fff; }
.hrdt-klien-filter-tabs-kota { margin-top: -14px; margin-bottom: 24px; }
.hrdt-klien-filter-label { font-size: 12.5px; color: #888; font-weight: 600; margin-right: 2px; }
.hrdt-klien-filter-tabs-kota .hrdt-klien-filter-tab { background: #f6f7f9; color: #556; font-size: 12.5px; padding: 6px 13px; }
.hrdt-klien-filter-tabs-kota .hrdt-klien-filter-tab.active { background: #e69a0a; color: #fff; }

.hrdt-klien-group { margin-bottom: 34px; }
.hrdt-klien-group-title { font-size: 16px; color: #123a7a; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef0f3; }

.hrdt-klien-grid { display: grid; grid-template-columns: repeat(var(--hrdt-klien-cols, 5), 1fr); gap: 16px; }
.hrdt-klien-item { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 14px; aspect-ratio: 3 / 2; text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
.hrdt-klien-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-2px); }
.hrdt-klien-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Gaya "polos": tanpa kotak/card, logo kecil, mengalir rapi kiri-ke-kanan —
   cocok dipasang di Beranda tanpa terasa berat seperti listing. */
.hrdt-klien-grid.hrdt-klien-grid-plain { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hrdt-klien-item.hrdt-klien-item-plain { background: none; border: none; border-radius: 0; padding: 0; aspect-ratio: unset; width: auto; height: 63px; box-shadow: none !important; transform: none !important; }
.hrdt-klien-item.hrdt-klien-item-plain img { max-width: 180px; max-height: 63px; width: auto; height: 100%; }
.hrdt-klien-item.hrdt-klien-item-plain .hrdt-klien-noimg { font-size: 12px; }
.hrdt-klien-grayscale img { filter: grayscale(100%); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.hrdt-klien-grayscale:hover img { filter: grayscale(0%); opacity: 1; }
.hrdt-klien-noimg { font-size: 13px; font-weight: 700; color: #666; text-align: center; }

.hrdt-klien-single-hero { display: flex; align-items: center; gap: 26px; padding: 26px 0; border-bottom: 1px solid #eee; margin-bottom: 22px; flex-wrap: wrap; }
.hrdt-klien-single-logo { width: 140px; height: 140px; flex: 0 0 140px; display: flex; align-items: center; justify-content: center; background: #fafafa; border: 1px solid #ececec; border-radius: 8px; padding: 12px; }
.hrdt-klien-single-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hrdt-klien-single-info { flex: 1; min-width: 220px; }
.hrdt-klien-single-name { font-size: 24px; margin: 0 0 10px; }
.hrdt-klien-single-kota { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #667; margin: 0 0 10px; }
.hrdt-klien-single-kota svg { color: #9aa7bd; flex-shrink: 0; }
.hrdt-klien-single-website { margin-top: 14px; }
.hrdt-klien-single-bio { max-width: 800px; }

@media (max-width: 900px) {
    .hrdt-klien-grid { grid-template-columns: repeat(min(3, var(--hrdt-klien-cols, 5)), 1fr); }
}
@media (max-width: 560px) {
    .hrdt-klien-page, .hrdt-klien-single { padding: 12px 12px 30px; }
    .hrdt-klien-filter-tabs { gap: 6px; margin-bottom: 18px; }
    .hrdt-klien-filter-tab { padding: 6px 12px; font-size: 12px; }
    .hrdt-klien-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hrdt-klien-item { padding: 10px; }
    .hrdt-klien-group { margin-bottom: 24px; }
    .hrdt-klien-single-hero { gap: 14px; padding: 18px 0; margin-bottom: 16px; }
    .hrdt-klien-single-logo { width: 84px; height: 84px; flex-basis: 84px; padding: 8px; }
    .hrdt-klien-single-name { font-size: 19px; margin-bottom: 6px; }
}

/* ===================== HERO BANNER GENERIK =====================
   Gaya panel gradasi navy yang sama seperti di halaman Galeri, dipakai
   juga di listing Trainer, Daftar Klien, Testimoni (opsional), dan Artikel
   supaya semua halaman terasa satu keluarga desain. */
.hrdt-page-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #0d2f66 0%, #123a7a 55%, #1a4fa0 100%);
    border-radius: 18px; padding: 32px 34px 30px; margin-bottom: 30px;
    box-shadow: 0 10px 30px -12px rgba(13,47,102,.45);
}
.hrdt-page-hero::before {
    content: ""; position: absolute; top: -70px; right: -50px; width: 220px; height: 220px;
    background: rgba(255,255,255,.07); border-radius: 50%;
}
.hrdt-page-hero::after {
    content: ""; position: absolute; bottom: -90px; right: 110px; width: 160px; height: 160px;
    background: rgba(255,255,255,.05); border-radius: 50%;
}
.hrdt-page-hero-watermark {
    position: absolute; z-index: 0; top: 50%; right: 36px; transform: translateY(-50%);
    font-size: 108px; line-height: 1; opacity: .09; pointer-events: none; user-select: none;
}
.hrdt-page-hero .hrdt-breadcrumb { position: relative; z-index: 1; color: rgba(255,255,255,.72); margin-bottom: 14px; }
.hrdt-page-hero .hrdt-breadcrumb a { color: rgba(255,255,255,.92); text-decoration: none; }
.hrdt-page-hero .hrdt-breadcrumb a:hover { text-decoration: underline; }
.hrdt-page-hero-title {
    position: relative; z-index: 1; color: #fff; margin: 0 0 12px;
    display: flex; align-items: center; gap: 14px;
    font-size: clamp(24px, 3vw, 32px);
}
.hrdt-page-hero-title-icon {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.16);
    font-size: 22px;
}
.hrdt-page-hero-intro { position: relative; z-index: 1; color: rgba(255,255,255,.82); font-size: 14px; margin: 0; max-width: 640px; }

@media (max-width: 560px) {
    .hrdt-page-hero { padding: 18px 16px 16px; border-radius: 12px; margin-bottom: 18px; }
    .hrdt-page-hero-watermark { font-size: 56px; right: 10px; opacity: .07; }
    .hrdt-page-hero-title { gap: 10px; margin-bottom: 8px; font-size: 20px; }
    .hrdt-page-hero-title-icon { width: 36px; height: 36px; font-size: 17px; }
    .hrdt-page-hero-intro { font-size: 13px; }
    .hrdt-page-hero .hrdt-breadcrumb { margin-bottom: 8px; font-size: 12.5px; }
}

/* ===================== FITUR: TESTIMONI ===================== */
.hrdt-testi-grid { display: grid; grid-template-columns: repeat(var(--hrdt-testi-cols, 3), 1fr); gap: 24px; }
.hrdt-testi-card { background: #fff; border: 1px solid #eee; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(18,58,122,.06); display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease; }
.hrdt-testi-card:hover { box-shadow: 0 10px 28px rgba(18,58,122,.12); transform: translateY(-3px); }

.hrdt-testi-media { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0a2452; }
.hrdt-testi-media iframe { width: 100%; height: 100%; border: 0; display: block; }

.hrdt-testi-row { display: flex; align-items: flex-start; gap: 16px; padding: 24px; flex: 1; }
.hrdt-testi-video .hrdt-testi-row { padding-top: 20px; }

.hrdt-testi-avatar { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #f2f5fa; }
.hrdt-testi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hrdt-testi-avatar-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#123a7a,#1e5fbf); color: #fff; font-weight: 700; font-size: 18px; letter-spacing: .5px; }

.hrdt-testi-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hrdt-testi-author { display: flex; flex-direction: column; }
.hrdt-testi-name { font-size: 14.5px; color: #14264b; }
.hrdt-testi-role { font-size: 12.5px; color: #888; margin-top: 1px; }
.hrdt-testi-content .hrdt-stars { font-size: 13px; }

.hrdt-testi-quote { position: relative; color: #444; font-size: 14px; line-height: 1.65; font-style: italic; margin-top: 2px; }
.hrdt-testi-quote::before { content: "\201C"; font-family: Georgia, "Times New Roman", serif; font-style: normal; font-size: 22px; line-height: 0; color: #a9bfe3; margin-right: 3px; vertical-align: -3px; display: inline-block; }
.hrdt-testi-quote-text { position: relative; }

@media (max-width: 900px) {
    .hrdt-testi-grid { grid-template-columns: repeat(min(2, var(--hrdt-testi-cols, 3)), 1fr); }
}
@media (max-width: 560px) {
    .hrdt-testi-grid { grid-template-columns: 1fr; gap: 12px; }
    .hrdt-testi-row { padding: 16px; gap: 10px; }
    .hrdt-testi-avatar { flex-basis: 46px; width: 46px; height: 46px; }
    .hrdt-testi-name { font-size: 13.5px; }
    .hrdt-testi-quote { font-size: 13px; }
}

/* ===================== FITUR: ARTIKEL (Postingan WordPress) =====================
   Bungkus tampilan blog/post standar WordPress dengan bahasa desain yang sama
   dengan Galeri/Trainer/Klien: hero navy, grid kartu, tipografi konten rapi. */
.hrdt-artikel-page, .hrdt-artikel-single { max-width: var(--hrdt-maxw, 1160px); margin: 0 auto; padding: 20px var(--hrdt-pad, 30px) 60px; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #2a2a2a; box-sizing: border-box; }

/* ---- Grid kartu artikel (listing) ---- */
.hrdt-artikel-grid { display: grid; grid-template-columns: repeat(var(--hrdt-artikel-cols, 3), 1fr); gap: 22px; }
.hrdt-artikel-card {
    display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid #eef1f7; box-shadow: 0 2px 10px rgba(18,58,122,.07);
    text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease;
}
.hrdt-artikel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(18,58,122,.16); }
.hrdt-artikel-card-thumb { height: 170px; background: linear-gradient(135deg,#eef1f7,#e1e7f2); overflow: hidden; position: relative; }
.hrdt-artikel-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.hrdt-artikel-card:hover .hrdt-artikel-card-thumb img { transform: scale(1.07); }
.hrdt-artikel-card-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #c4cce0; }
.hrdt-artikel-card-cat {
    position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(13,47,102,.85); color: #fff;
    font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .2px;
}
.hrdt-artikel-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hrdt-artikel-card-date { font-size: 12px; color: #8892a6; font-weight: 600; }
.hrdt-artikel-card-title { font-size: 15.5px; font-weight: 700; line-height: 1.4; margin: 0; color: #14264b; }
.hrdt-artikel-card-excerpt { font-size: 13px; color: #667; line-height: 1.6; margin: 0; flex: 1; }
.hrdt-artikel-card-more { font-size: 12.5px; font-weight: 700; color: #1a4fa0; margin-top: 4px; }

.hrdt-artikel-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.hrdt-artikel-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 8px; background: #f2f5fa; color: #123a7a; font-weight: 700; font-size: 13px; text-decoration: none; }
.hrdt-artikel-pagination .page-numbers.current { background: #123a7a; color: #fff; }
.hrdt-artikel-pagination .page-numbers:hover:not(.current) { background: #dbe3f0; }

/* ---- Halaman single artikel ---- */
.hrdt-artikel-single-head { margin-bottom: 24px; }
.hrdt-artikel-single-cat { display: inline-block; background: #eaf1fc; color: #1a4fa0; font-size: 11.5px; font-weight: 700; padding: 5px 13px; border-radius: 20px; margin-bottom: 12px; }
.hrdt-artikel-single-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.35; margin: 0 0 14px; color: #14264b; }
.hrdt-artikel-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: #778; margin-bottom: 6px; }
.hrdt-artikel-single-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hrdt-artikel-single-thumb { width: 100%; max-height: 420px; overflow: hidden; border-radius: 14px; margin: 22px 0 30px; box-shadow: 0 6px 22px rgba(18,58,122,.1); }
.hrdt-artikel-single-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hrdt-artikel-content { max-width: 800px; color: #2a2a2a; line-height: 1.8; font-size: 15.5px; }
.hrdt-artikel-content h1, .hrdt-artikel-content h2, .hrdt-artikel-content h3, .hrdt-artikel-content h4 { color: #14264b; line-height: 1.4; margin: 32px 0 14px; }
.hrdt-artikel-content h2 { font-size: 21px; padding-bottom: 8px; border-bottom: 2px solid #eef1f7; }
.hrdt-artikel-content h3 { font-size: 17.5px; }
.hrdt-artikel-content p { margin: 0 0 18px; }
.hrdt-artikel-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.hrdt-artikel-content a { color: #1a4fa0; text-decoration: underline; }
.hrdt-artikel-content ul, .hrdt-artikel-content ol { margin: 0 0 18px; padding-left: 22px; }
.hrdt-artikel-content li { margin-bottom: 8px; }
.hrdt-artikel-content blockquote { margin: 24px 0; padding: 16px 20px; border-left: 4px solid #1a4fa0; background: #f6f8fc; border-radius: 0 8px 8px 0; color: #445; font-style: italic; }
.hrdt-artikel-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.hrdt-artikel-content table th, .hrdt-artikel-content table td { border: 1px solid #eef1f7; padding: 10px 14px; text-align: left; }
.hrdt-artikel-content table th { background: #f6f8fc; color: #14264b; }

.hrdt-artikel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; max-width: 800px; }

.hrdt-artikel-nav { display: flex; justify-content: space-between; gap: 16px; max-width: 800px; margin: 20px 0 40px; padding-top: 24px; border-top: 1px solid #eef1f7; }
.hrdt-artikel-nav > div { flex: 1; min-width: 0; }
.hrdt-artikel-nav-next { text-align: right; }
.hrdt-artikel-nav a { display: block; text-decoration: none; color: #667; font-size: 12.5px; }
.hrdt-artikel-nav a span { display: block; color: #14264b; font-weight: 700; font-size: 14px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hrdt-artikel-back { margin-top: 10px; }
.hrdt-artikel-back a { color: #1a4fa0; font-weight: 600; text-decoration: none; }
.hrdt-artikel-back a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .hrdt-artikel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .hrdt-artikel-page, .hrdt-artikel-single { padding: 12px 12px 30px; }
    .hrdt-artikel-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hrdt-artikel-card-thumb { height: 100px; }
    .hrdt-artikel-card-body { padding: 10px 10px 12px; gap: 5px; }
    .hrdt-artikel-card-date { font-size: 10.5px; }
    .hrdt-artikel-card-title { font-size: 12.5px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .hrdt-artikel-card-excerpt { display: none; }
    .hrdt-artikel-card-more { font-size: 10.5px; }
    .hrdt-artikel-card-cat { font-size: 9.5px; padding: 3px 9px; top: 8px; left: 8px; }
    .hrdt-artikel-single-thumb { max-height: 220px; border-radius: 10px; margin: 16px 0 20px; }
    .hrdt-artikel-single-title { margin-bottom: 10px; }
    .hrdt-artikel-content { font-size: 14.5px; line-height: 1.7; }
    .hrdt-artikel-content h2 { font-size: 18px; margin: 24px 0 12px; }
    .hrdt-artikel-content h3 { font-size: 16px; }
    .hrdt-artikel-nav { flex-direction: column; gap: 12px; margin: 16px 0 30px; padding-top: 18px; }
    .hrdt-artikel-nav-next { text-align: left; }
}
@media (max-width: 380px) {
    .hrdt-artikel-grid { grid-template-columns: 1fr; }
    .hrdt-artikel-card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Honeypot anti-spam: sembunyikan dari manusia (screen reader & visual),
   tapi tetap ada di DOM/tab-order normal sehingga bot yg auto-fill semua
   field tetap mengisinya. Jangan pakai display:none — sebagian bot spam
   sudah tahu untuk skip field display:none. */
.hrdt-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
