/* Reference poster rebuilt with accessible text and decorative image crops. */
.competencies-program { padding: 48px 15px; background: #fff; color: #061f43; }
.competencies-program__inner { max-width: 1440px; margin: 0 auto; container-type: inline-size; }
.competencies-program__header { display: grid; grid-template-columns: 8% 1fr; gap: 1.2%; align-items: start; margin-bottom: 9px; }
.competencies-program__target { width: 100%; height: auto; }
.competencies-program__header h2 { margin: 0 0 6px; color: #061f43; font-family: 'Arial Narrow', 'Roboto Condensed', Roboto, Arial, sans-serif; font-size: clamp(25px, 3.85cqw, 56px); font-weight: 800; line-height: 1.08; text-transform: uppercase; letter-spacing: -0.025em; }
.competencies-program__header p { margin: 0; color: #061f43; font-family: 'Arial Narrow', Roboto, Arial, sans-serif; font-size: clamp(17px, 1.85cqw, 27px); font-weight: 700; line-height: 1.3; }
.competencies-program__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.competencies-program__row { --panel-color: #041f43; --panel-end: #052447; --split: 56%; display: flex; position: relative; min-height: 9.4cqw; overflow: hidden; border-radius: 14px; }
.competencies-program__row--business { --panel-color: #00713d; --panel-end: #087540; --split: 54%; }
.competencies-program__row--languages { --panel-color: #dc6800; --panel-end: #ee7c00; --split: 52%; }
.competencies-program__row--visits { --panel-color: #4d2872; --panel-end: #503078; --split: 50%; }
.competencies-program__row--first-aid { --panel-color: #c8170a; --panel-end: #d71d0e; --split: 59%; }
.competencies-program__row--digital { --panel-color: #006486; --panel-end: #006b8e; --split: 57%; }
.competencies-program__row--intercultural { --panel-color: #920954; --panel-end: #960d59; --split: 55%; }
.competencies-program__label { flex: 0 0 var(--split); display: grid; grid-template-columns: 6.3cqw 15cqw minmax(0, 1fr); align-items: center; padding: 1.1% 2.6% 1.1% 1.8%; background: linear-gradient(110deg, var(--panel-color), var(--panel-end)); clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 0 100%); box-sizing: border-box; }
.competencies-program__number { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 1.05; background: #fff; color: var(--panel-color); border-radius: 9px; font-family: 'Arial Narrow', Roboto, Arial, sans-serif; font-size: clamp(32px, 4.8cqw, 69px); font-weight: 800; line-height: 1; }
.competencies-program__icon { display: block; width: 100%; height: 6.6cqw; max-height: 96px; object-fit: contain; padding: 0 13%; box-sizing: border-box; }
.competencies-program__label h3 { display: flex; flex-direction: column; justify-content: center; align-self: stretch; margin: 0; padding: 0 0 0 3cqw; border-left: 3px solid rgba(255,255,255,.9); color: #fff; font-family: 'Arial Narrow', 'Roboto Condensed', Roboto, Arial, sans-serif; font-size: clamp(16px, 2.04cqw, 29.5px); font-weight: 700; line-height: 1.27; overflow-wrap: anywhere; }
.competencies-program__row--first-aid h3 { font-size: clamp(16px, 1.86cqw, 27px); }
.competencies-program__photo { display: block; position: absolute; top: 0; right: 0; width: calc(100% - var(--split) + 24px); height: 100%; object-fit: cover; object-position: center; clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 767px) {
    .competencies-program { padding: 32px 15px; }
    .competencies-program__header { grid-template-columns: 48px 1fr; gap: 12px; margin-bottom: 20px; }
    .competencies-program__header h2 { font-size: clamp(24px, 5.5vw, 38px); line-height: 1.1; }
    .competencies-program__header p { font-size: 17px; line-height: 1.4; margin-top: 10px; }
    .competencies-program__intro-break { display: none; }
    .competencies-program__list { gap: 14px; }
    .competencies-program__row { display: flex; flex-direction: column; height: auto; max-height: none; border-radius: 12px; background: var(--panel-color); }
    .competencies-program__label { flex: auto; min-height: 118px; grid-template-columns: 46px 64px minmax(0, 1fr); padding: 16px 12px; clip-path: none; }
    .competencies-program__number { font-size: 38px; border-radius: 6px; }
    .competencies-program__icon { height: 64px; max-height: none; padding: 0 6px; }
    .competencies-program__label h3, .competencies-program__row--first-aid h3 { display: block; align-content: center; padding-left: 12px; border-left-width: 2px; font-size: 20px; line-height: 1.3; }
    .competencies-program__label h3 span { display: contents; }
    .competencies-program__photo { position: static; width: 100%; height: auto; aspect-ratio: 4.8 / 1; object-fit: cover; clip-path: none; border-top: 4px solid #fff; }
}
@media (forced-colors: active) {
    .competencies-program__row { border: 1px solid CanvasText; }
    .competencies-program__label h3, .competencies-program__number { color: CanvasText; }
}
