.programi { min-height: 55vh; color: #0f1429; }
.programi *, .programi *::before, .programi *::after { box-sizing: border-box; }
.programi :is(h1, h2, p) { overflow-wrap: anywhere; }
.programi :is(a, button, input, textarea):focus-visible { outline: 3px solid #3f6297; outline-offset: 3px; }
.programi-head { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.programi-head > div { min-width: 0; }
.programi-eyebrow { margin: 0 0 .6rem; color: #586373; font-size: .8rem; font-weight: 750; letter-spacing: .045em; }
.site-main .programi-head .programi-intro { max-width: 43rem; margin: 1rem 0 0; color: #586373; line-height: 1.5; }
.programi-text-link { display: inline-block; flex: 0 0 auto; color: #102e5c; font-size: .9rem; font-weight: 700; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.programi-text-link > span, .programi-back a > span { text-decoration: underline; text-underline-offset: .2em; }
.programi-text-link > i, .programi-back a > i { display: inline-block; width: 1em; font-size: .9em; line-height: 1; vertical-align: 0; }
.programi-text-link > i { margin-inline-start: .45em; }
.programi-back { margin-bottom: 1.8rem; }
.programi-back a { display: inline-block; color: #102e5c; font-size: .9rem; line-height: 1.25; text-decoration: none; }
.programi-back a > i { margin-inline-end: .45em; }
.programi-search { max-width: 44rem; margin: 0 0 2rem; }
.programi-search > label { display: block; margin-bottom: .55rem; font-size: .875rem; font-weight: 700; }
.programi-search__row { display: flex; gap: .6rem; }
.programi-search__input { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: .7rem; padding-left: 1rem; border: 1px solid #cdd2d9; border-radius: .375rem; background: #fff; }
.programi-search__input i { color: #79818d; font-size: .9rem; }
.programi .programi-search__input input { width: 100%; min-width: 0; min-height: 2.9rem; margin: 0; padding: .65rem .8rem .65rem 0; border: 0; border-radius: .375rem; color: #0f1429; background: transparent; font: inherit; font-size: .9375rem; }
.programi-search__input:focus-within { outline: 2px solid #3f6297; outline-offset: 2px; }
.programi .programi-search__input input:focus-visible { outline: 0; box-shadow: none; }
.programi-search__clear { display: inline-block; margin-top: .7rem; color: #586373; font-size: .85rem; text-underline-offset: .2em; }
.site-main .programi-count { margin: 0 0 1rem; color: #586373; font-size: .875rem; }
.programi-table-wrap { border: 1px solid #e0e3e8; border-radius: .625rem; overflow: hidden; }
.programi .programi-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; text-align: left; }
.programi .programi-table :is(th, td) { padding: 1.1rem 1.25rem; border: 0; vertical-align: middle; overflow-wrap: anywhere; }
.programi .programi-table thead th { padding-block: .85rem; background: #f5f6f8; color: #586373; font-size: .8rem; font-weight: 600; }
.programi-table tbody tr { border-top: 1px solid #e7e9ed; background: #fff; transition: background-color 150ms ease; }
.programi-table tbody tr:hover, .programi-table tbody tr:focus-within { background: #fafbfc; }
.programi-table tbody th { font-weight: 400; }
.programi-table__program { display: flex; align-items: center; gap: 1rem; }
.programi-table__cover { display: grid; place-items: center; flex: 0 0 3.75rem; height: 3.75rem; border-radius: .5rem; overflow: hidden; color: #102e5c; background: #f0f2f5; font-size: 1.25rem; }
.programi-table__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.programi-table__description { min-width: 0; }
.programi-table__title { color: #0f1429; font-size: 1rem; font-weight: 700; line-height: 1.45; text-decoration: none; }
.programi-table__title:hover { color: #102e5c; text-decoration: underline; text-underline-offset: .18em; }
.site-main .programi-table__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: .35rem 0 0; color: #586373; font-size: .875rem; font-weight: 400; line-height: 1.55; }
.programi-table__author { width: 20%; color: #586373; font-size: .875rem; }
.programi-table__mobile-author { display: none; }
.programi-table__price { width: 9rem; }
.programi-price { display: inline-block; padding: .25rem .55rem; border-radius: .3rem; background: #fff5bd; color: #0f1429; font-size: .8125rem; font-weight: 700; line-height: 1.4; }
.programi-price--free { color: #23533c; background: #ecf5ee; white-space: nowrap; }
.programi-table__price small { display: block; margin-top: .3rem; color: #586373; font-size: .75rem; font-weight: 400; }
.programi-table__action { width: 9rem; text-align: center; }
.programi-table__open { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.5rem; padding: .625rem .75rem; border: 1px solid #dce1e8; border-radius: .375rem; background: #fff; color: #102e5c; font-size: .8125rem; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; }
.programi-table__open > span { line-height: 1; }
.programi-table__open > i { flex: 0 0 1em; width: 1em; line-height: 1; transform: translateY(.0625rem); }
.programi-table__open:hover { color: #fff; border-color: #102e5c; background: #102e5c; }
.programi-author { margin: 0; color: #586373; font-size: .85rem; line-height: 1.6; }
.programi-author i { margin-right: .3rem; }
.programi-empty { padding: clamp(2rem, 5vw, 4rem) 1.5rem; border: 1px solid #e0e3e8; border-radius: .75rem; background: #f6f7f8; text-align: center; }
.programi-empty > i { display: block; margin-bottom: 1rem; color: #79818d; font-size: 2rem; }
.programi-empty :is(h1, h2) { margin: 0 0 .7rem; color: #0f1429; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.programi-empty p { margin: 0 auto; max-width: 37rem; color: #586373; line-height: 1.65; }
.programi-empty .mentorio-button { margin-top: 1.5rem; }
.programi-pagination { margin-top: 2.5rem; }
.programi-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.programi-pagination li { margin: 0; padding: 0; }
.programi-pagination .page-numbers { display: inline-flex; min-height: 2.75rem; min-width: 2.75rem; align-items: center; justify-content: center; gap: .5rem; padding: .45rem .8rem; border: 1px solid #d6dbe2; border-radius: .375rem; color: #102e5c; font-size: .9rem; text-decoration: none; }
.programi-pagination a:hover, .programi-pagination .current { border-color: #102e5c; color: #fff; background: #102e5c; }
.programi-pagination .dots { border: 0; }
.programi-detail { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(18rem, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.programi-detail__main { min-width: 0; }
.programi-detail__cover { overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16 / 9; border: 1px solid #e0e3e8; border-radius: .75rem; background: #f2f3f5; }
.programi-detail__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.programi-detail__header h1 { margin: 0 0 1rem; color: #0f1429; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; }
.programi-detail__header .programi-author { font-size: .9375rem; }
.programi-description { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid #e0e3e8; }
.programi-description h2 { margin: 0 0 1rem; color: #0f1429; font-size: 1.4rem; }
.programi-description p { margin: 0 0 1.2rem; color: #394353; line-height: 1.8; }
.programi-apply { padding: clamp(1.25rem, 3vw, 1.8rem); border: 1px solid #e0e3e8; border-radius: .75rem; background: #f6f7f8; }
.programi-apply__price { margin: 0; font-size: 1.8rem; font-weight: 800; line-height: 1.3; }
.programi-apply__term { margin: .4rem 0 0; color: #586373; font-size: .85rem; line-height: 1.6; }
.programi-apply h2 { margin: 1.5rem 0 .7rem; padding-top: 1.5rem; border-top: 1px solid #dfe3e8; color: #0f1429; font-size: 1.15rem; line-height: 1.4; }
.programi-apply > p:not(.programi-apply__price, .programi-apply__term) { font-size: .9375rem; line-height: 1.7; }
.programi-apply > .mentorio-button, .programi-apply__form .mentorio-button { width: 100%; gap: .6rem; }
.programi-apply__form { margin-top: 1.5rem; }
.programi-apply__form label { display: block; margin-bottom: .6rem; font-size: .85rem; font-weight: 700; line-height: 1.65; }
.programi-apply__form label span { color: #586373; font-weight: 400; }
.programi .programi-apply__form textarea { display: block; width: 100%; min-height: 7rem; max-height: 25rem; padding: .75rem; resize: vertical; border: 1px solid #cdd2d9; border-radius: .375rem; color: #0f1429; background: #fff; font: inherit; font-size: .9375rem; line-height: 1.6; }
.programi-field-help { margin: .45rem 0 1.2rem; color: #586373; font-size: .8rem; }
.programi .programi-register { margin: 1rem 0 0; color: #586373; font-size: .85rem !important; }
.programi-register a { color: #102e5c; text-underline-offset: .15em; }
.programi-application-status { padding: .8rem 1rem; border: 1px solid #d8e0e8; border-radius: .375rem; color: #102e5c; background: #fff; font-weight: 700; }
.programi-submit-status { margin: .75rem 0 0; color: #586373; font-size: .85rem; }
.programi-submit-status[hidden] { display: none; }
.programi [aria-busy="true"] button { opacity: .65; cursor: wait; }
.programi .rab-notice { padding: 1rem 1.2rem; margin-bottom: 1.5rem; border: 1px solid #b8d7c3; border-radius: .5rem; color: #23533c; background: #eef7f0; font-size: .9375rem; }
.programi .rab-notice--error { color: #8b2020; border-color: #e8c4c4; background: #fff3f3; }
@media (max-width: 900px) {
	.programi-table__author { display: none; }
	.programi-table__mobile-author { display: block; margin-top: .3rem; color: #586373; font-size: .8125rem; font-weight: 400; }
	.programi-detail { grid-template-columns: minmax(0, 1fr) minmax(16rem, .8fr); gap: 1.5rem; }
}
@media (max-width: 650px) {
	.programi-head { align-items: start; flex-direction: column; gap: 1rem; }
	.programi-detail { grid-template-columns: minmax(0, 1fr); }
	.programi .programi-table :is(th, td) { padding: .85rem .625rem; }
	.programi-table__program { gap: .625rem; align-items: flex-start; }
	.programi-table__cover { flex-basis: 2.5rem; height: 2.5rem; font-size: 1rem; }
	.programi-table__title { font-size: .875rem; }
	.site-main .programi-table__summary { display: none; }
	.programi-table__price { width: 6.5rem; }
	.programi-price { padding: .25rem .4rem; font-size: .75rem; }
	.programi-table__action { width: 3.5rem; }
	.programi-table__open { width: 2.25rem; min-height: 2.5rem; padding: .5rem; }
	.programi-table__open span { display: none; }
	.programi-search__row { gap: .5rem; }
	.programi-search__input { gap: .45rem; padding-left: .75rem; }
	.programi .programi-search__input input { font-size: .875rem; }
	.programi-search .mentorio-button { padding-inline: .75rem; font-size: .85rem; }
	.programi-detail__cover { margin-bottom: 1.5rem; }
	.programi-description { margin-top: 1.75rem; padding-top: 1.5rem; }
}
