/* BEUR training pages — styled to match the site's Eduma / Elementor look:
   Roboto Slab headings (#333, 600), Roboto 15px/27px body (#666),
   yellow #FFB606 accents and buttons, light section background #F0F4FA, 1170px container. */
:root {
  --bx-yellow: #ffb606;
  --bx-yellow-dark: #e6a303;
  --bx-head: #333333;
  --bx-text: #666666;
  --bx-muted: #999999;
  --bx-line: #eeeeee;
  --bx-alt: #f0f4fa;
  --bx-slab: "Roboto Slab", Georgia, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", serif;
  --bx-sans: "Roboto", -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.bx { font-family: var(--bx-sans); font-size: 15px; line-height: 27px; color: var(--bx-text); }
.bx *, .bx *::before, .bx *::after { box-sizing: border-box; }
.bx h1, .bx h2, .bx h3, .bx h4 { font-family: var(--bx-slab); color: var(--bx-head); text-transform: none; letter-spacing: 0; }
.bx h1, .bx h2 { font-size: 28px; line-height: 1.6; font-weight: 600; margin: 0 0 10px; }
.bx h3 { font-size: 18px; line-height: 25px; font-weight: 700; margin: 0 0 8px; }
.bx h4 { font-size: 16px; line-height: 24px; font-weight: 700; margin: 0 0 6px; }
.bx p { margin: 0 0 15px; }
.bx strong { color: var(--bx-head); }
.bx a { color: var(--bx-head); text-decoration: underline; text-decoration-color: var(--bx-yellow); text-underline-offset: 3px; }
.bx a:hover { color: var(--bx-yellow-dark); }
.bx ul, .bx ol { margin: 0 0 15px; padding-left: 20px; }
.bx li { margin: 0 0 6px; }
.bx ul li { list-style-type: disc; }
.bx ol li { list-style-type: decimal; }
.bx .thim-color, .bx .bx-hl { color: var(--bx-yellow); }
.bx .bx-sub { color: var(--bx-muted); margin: 0; }
.bx .bx-small { font-size: 13px; line-height: 22px; }
.bx .bx-muted { color: var(--bx-muted); }

/* layout */
.bx-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
#main-content { overflow-x: clip; }
.bx-wrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.bx-section { padding: 60px 0; }
.bx-section--alt { background: var(--bx-alt); }
.bx-section--tight { padding-top: 20px; }
.bx-head { text-align: center; margin: 0 auto 35px; max-width: 760px; }
.bx-head h1, .bx-head h2 { margin-bottom: 2px; }
.bx-grid { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.bx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bx-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bx-split { display: grid; gap: 50px; grid-template-columns: 1fr 1fr; align-items: center; }
.bx-split--top { align-items: start; }
.bx-split img { width: 100%; height: auto; display: block; }
@media (max-width: 1024px) { .bx-grid, .bx-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .bx-section { padding: 40px 0; }
  .bx-grid, .bx-grid--2, .bx-grid--4, .bx-split { grid-template-columns: 1fr; gap: 24px; }
  .bx h1, .bx h2 { font-size: 24px; }
}

/* page heading (same as the site's service pages: centred title + grey subtitle, no banner) */
.bx-pagehead { padding: 60px 0 10px; text-align: center; }
.bx-pagehead .bx-wrap { position: relative; }
.bx-pagehead .bx-lang { position: absolute; right: 15px; top: 20px; font-size: 13px; }
@media (max-width: 767px) { .bx-pagehead { padding-top: 24px; } .bx-pagehead .bx-lang { position: static; display: block; text-align: right; margin-bottom: 10px; } }

/* buttons (theme button: yellow, black text, uppercase) */
.bx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.bx a.bx-btn, .bx button.bx-btn { display: inline-block; background: var(--bx-yellow); color: #000; border: 0; border-radius: 4px; padding: 15px 30px; font-family: var(--bx-sans); font-size: 15px; line-height: 15px; font-weight: 500; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s; }
.bx a.bx-btn:hover, .bx button.bx-btn:hover { background: var(--bx-yellow-dark); color: #000; }
.bx a.bx-btn--line { background: transparent; color: var(--bx-head); box-shadow: inset 0 0 0 1px #d5d5d5; }
.bx a.bx-btn--line:hover { background: #fff; color: var(--bx-head); box-shadow: inset 0 0 0 1px var(--bx-yellow); }
@media (max-width: 480px) { .bx-actions .bx-btn { width: 100%; text-align: center; } }

/* cards / icon boxes */
.bx-card { background: #fff; padding: 30px; }
.bx-section:not(.bx-section--alt) .bx-card { border: 1px solid var(--bx-line); }
.bx-card p:last-child, .bx-card ul:last-child { margin-bottom: 0; }
.bx-card .bx-card-foot { margin-top: 15px; }
.bx-card > img { display: block; margin: -30px -30px 20px; width: calc(100% + 60px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.bx-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bx-yellow); color: #000; font-family: var(--bx-slab); font-weight: 700; margin-bottom: 14px; }

/* counters (same idea as the home page counters) */
.bx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.bx-stats .n { font-family: var(--bx-slab); font-size: 34px; line-height: 1.3; font-weight: 600; color: var(--bx-head); }
.bx-stats .l { color: var(--bx-text); font-size: 14px; line-height: 22px; }
@media (max-width: 767px) { .bx-stats { grid-template-columns: repeat(2, 1fr); } }

/* key facts */
.bx-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; margin: 10px 0 15px; }
.bx-facts > div { border-bottom: 1px solid var(--bx-line); padding: 8px 0; display: flex; gap: 12px; justify-content: space-between; }
.bx-facts dt { color: var(--bx-muted); font-weight: 400; margin: 0; }
.bx-facts dd { color: var(--bx-head); font-weight: 500; margin: 0; text-align: right; }
@media (max-width: 767px) { .bx-facts { grid-template-columns: 1fr; } }

/* tables */
.bx-table { width: 100%; border-collapse: collapse; margin: 0 0 15px; background: #fff; }
.bx-table th, .bx-table td { border: 1px solid var(--bx-line); padding: 12px 15px; text-align: left; vertical-align: top; }
.bx-table thead th { font-family: var(--bx-slab); color: var(--bx-head); background: #fafafa; }
.bx-table tbody th { width: 30%; color: var(--bx-head); font-weight: 500; background: #fafafa; }
@media (max-width: 767px) {
  .bx-table--stack thead { display: none; }
  .bx-table--stack, .bx-table--stack tbody, .bx-table--stack tr, .bx-table--stack td, .bx-table--stack th { display: block; width: 100%; }
  .bx-table--stack tr { border: 1px solid var(--bx-line); margin-bottom: 12px; }
  .bx-table--stack td, .bx-table--stack th { border: 0; border-bottom: 1px solid var(--bx-line); }
  .bx-table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--bx-muted); }
  .bx-table--kv tr { display: block; border-bottom: 1px solid var(--bx-line); }
  .bx-table--kv tbody th, .bx-table--kv tbody td { display: block; width: 100%; border: 0; }
  .bx-table--kv tbody th { padding-bottom: 0; background: #fff; color: var(--bx-muted); font-size: 13px; }
  .bx-table--kv { border: 1px solid var(--bx-line); }
}

/* numbered steps */
.bx ol.bx-steps { counter-reset: bxstep; list-style: none; padding: 0; margin: 0 0 15px; }
.bx-steps > li { list-style: none !important; position: relative; padding: 0 0 22px 62px; margin: 0; }
.bx-steps > li::before { counter-increment: bxstep; content: counter(bxstep); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--bx-yellow); color: #000; font-family: var(--bx-slab); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.bx-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--bx-line); }
.bx-steps h3 { font-size: 17px; margin: 0 0 4px; padding-top: 8px; }
.bx-steps p { margin: 0; }

/* notes */
.bx-note { background: var(--bx-alt); border-left: 3px solid var(--bx-yellow); padding: 15px 20px; margin: 0 0 15px; }
.bx-section--alt .bx-note { background: #fff; }
.bx-note p:last-child { margin: 0; }
.bx-alert { background: #fff8e6; border: 1px solid var(--bx-yellow); padding: 15px 20px; margin: 0 0 25px; }
.bx-alert p { margin: 0; color: var(--bx-head); font-weight: 500; }
.bx-alert p + p { margin-top: 4px; font-weight: 400; color: var(--bx-text); font-size: 14px; }

/* provider info rows */
.bx-provider { background: #fff; border: 1px solid var(--bx-line); }
.bx-provider-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 15px; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--bx-line); }
.bx-provider-row:last-child { border-bottom: 0; }
.bx-provider-row .k { color: var(--bx-muted); }
.bx-provider-row .v { color: var(--bx-head); font-weight: 500; word-break: break-word; }
.bx button.bx-copy { background: #fff; border: 1px solid #d5d5d5; border-radius: 4px; padding: 4px 12px; font-size: 13px; line-height: 20px; color: var(--bx-head); cursor: pointer; text-transform: uppercase; }
.bx button.bx-copy:hover { border-color: var(--bx-yellow); }
.bx button.bx-copy.is-done { background: var(--bx-yellow); border-color: var(--bx-yellow); color: #000; }
@media (max-width: 767px) { .bx-provider-row { grid-template-columns: 1fr auto; } .bx-provider-row .k { grid-column: 1 / -1; } }

/* accordion (like the site's Elementor toggles) */
.bx-module { border-bottom: 1px solid #e5e5e5; background: transparent; }
.bx-module:first-of-type { border-top: 1px solid #e5e5e5; }
.bx-module > summary { cursor: pointer; list-style: none; padding: 15px 30px 15px 0; position: relative; font-family: var(--bx-slab); font-size: 16px; line-height: 24px; font-weight: 700; color: var(--bx-head); }
.bx-module > summary::-webkit-details-marker { display: none; }
.bx-module > summary::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--bx-yellow); margin-right: 10px; vertical-align: middle; transform: rotate(-90deg); transition: transform .15s; }
.bx-module[open] > summary::before { transform: none; }
.bx-module > summary .bx-module-meta { display: block; font-family: var(--bx-sans); font-weight: 400; font-size: 13px; color: var(--bx-muted); padding-left: 20px; }
.bx-module-body { padding: 0 0 15px 20px; }
.bx-assign { background: var(--bx-alt); padding: 10px 15px; margin: 5px 0 0; }
.bx-section--alt .bx-assign { background: #fff; }

/* instructor */
.bx-person { display: grid; grid-template-columns: 150px 1fr; gap: 30px; align-items: start; }
.bx-person img, .bx-person .bx-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--bx-line); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; line-height: 18px; padding: 10px; }
@media (max-width: 520px) { .bx-person { grid-template-columns: 1fr; } }

/* form (matches the site's inputs) */
.bx-form { display: grid; gap: 15px 20px; grid-template-columns: 1fr 1fr; }
.bx-form .full { grid-column: 1 / -1; }
.bx-form label { display: block; color: var(--bx-head); font-weight: 500; margin: 0 0 4px; }
.bx-form input, .bx-form select, .bx-form textarea { width: 100%; height: 46px; border: 1px solid #e5e5e5; border-radius: 4px; padding: 8px 14px; font-family: var(--bx-sans); font-size: 15px; color: var(--bx-head); background: #fff; box-shadow: none; }
.bx-form textarea { height: 120px; }
.bx-form input:focus, .bx-form select:focus, .bx-form textarea:focus { outline: none; border-color: var(--bx-yellow); }
.bx-form .bx-hp { position: absolute; left: -9999px; }
@media (max-width: 767px) { .bx-form { grid-template-columns: 1fr; } }

/* placeholders — never shipped to production */
.bx mark.todo { background: #fff3a8; color: #6b5000; padding: 0 4px; font-weight: 700; outline: 1px dashed #d6a400; }
