.block__project-page { padding: var(--page-top-space) 0 56px; min-height: 65vh; }
.block__project-showcase { --project-accent: #275ab1; color: #17243a; }
.block__project-showcase.__application { --project-accent: #20794e; }
.block__project-showcase.__game { --project-accent: #a45a17; }
.block__project-showcase.__website { --project-accent: #087b91; }
.block__project-showcase.__program { --project-accent: #7956b4; }
.block__project-showcase.__opensource { --project-accent: #465f78; }
.block__project-showcase.__utility { --project-accent: #987018; }
.block__project-showcase.__youtube { --project-accent: #b6343d; }
.b_project--breadcrumbs { display: flex; grid-column: span 9; min-width: 0; min-height: 28px; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0; color: #65748b; font-size: 12px; overflow-wrap: anywhere; }
.b_project--breadcrumbs > span:not([aria-current]) { color: #a9b3c1; }
.b_project--layout, .b_project--heading { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; gap: 24px; }
.b_project--heading { margin-bottom: var(--page-heading-space); }
.b_project--main { grid-column: span 9; min-width: 0; }
.b_project--hero { position: relative; min-height: 370px; aspect-ratio: 2.4; overflow: hidden; border-radius: 14px; isolation: isolate; background: #17243a; }
.b_project--cover { position: absolute; inset: 0; }
.b_project--cover > .project-cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.b_project--cover img { width: 100%; height: 100%; object-fit: cover; }
.b_project--cover .mock-window { width: 78%; transform: rotate(-5deg); }
.b_project--flags { position: absolute; z-index: 1; top: 16px; right: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.b_project--flags > a, .b_project--platforms { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 5px; color: #fff; background: var(--project-accent); font-size: 11px; font-weight: 600; }
.b_project--platforms { background: rgb(7 16 31 / 80%); }
.b_project--hero-caption { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 18px; padding: 100px 24px 24px; color: #fff; background: linear-gradient(transparent, rgb(7 16 31 / 78%) 35%, rgb(7 16 31 / 92%)); }
.b_project--logo { display: grid; place-items: center; flex: 0 0 78px; width: 78px; height: 78px; padding: 12px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 15px; background: #fff; color: var(--project-accent); font-size: 34px; box-shadow: 0 5px 20px rgb(0 0 0 / 16%); }
.b_project--logo img { width: 100%; height: 100%; object-fit: contain; }
.b_project--hero h1 { margin: 0; color: #fff; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.25; overflow-wrap: anywhere; }
.b_project--hero-caption p { margin: 8px 0; max-width: 600px; color: #e2eaf4; font-size: 14px; line-height: 1.6; }
.b_project--navigation { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 22px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.b_project--navigation a { color: #52627b; }
.b_project--navigation a:hover { color: var(--project-accent); }
.b_project--section { padding: 22px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; scroll-margin-top: calc(var(--header-height, 80px) + 20px); }
.b_project--section h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 20px; line-height: 1.4; }
.b_project--section h2 > i { color: var(--project-accent); font-size: 18px; }
.b_project--section p, .b_project--section li { color: #52627b; font-size: 14px; line-height: 1.8; }
.b_project--section p { margin: 0 0 12px; white-space: pre-line; }
.b_project--section p:last-child { margin-bottom: 0; }
.b_project--technologies { margin-top: 24px; scroll-margin-top: calc(var(--header-height, 80px) + 20px); }
.b_project--technologies h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; line-height: 1.4; }
.b_project--technologies h3 > i { color: var(--project-accent); }
.b_project--genres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.b_project--gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.b_project--thumbnail { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f6f8fb; color: #52627b; text-align: left; transition: transform .2s, border-color .2s; }
.b_project--thumbnail:hover { transform: translateY(-3px); border-color: var(--project-accent); }
.b_project--thumbnail img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.b_project--thumbnail span { display: block; padding: 8px 10px; font-size: 11px; }
.b_project--features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.b_project--features article { padding: 16px; border-radius: 9px; background: #f6f8fb; }
.b_project--features h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; font-size: 15px; }
.b_project--features h3 i { color: var(--project-accent); }
.b_project--features p { font-size: 13px; }
.b_project--videos { display: grid; gap: 20px; }
.b_project--videos.__playlist { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.b_project--videos figure { min-width: 0; margin: 0; }
.b_project--videos.__playlist figure { grid-column: span 10; }
.b_project--video-list { display: grid; grid-column: span 2; gap: 12px; min-width: 0; }
.b_project--video-choice { display: block; width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #f6f8fb; color: #52627b; text-align: left; transition: border-color .2s, background-color .2s; }
.b_project--video-choice:hover, .b_project--video-choice:focus-visible, .b_project--video-choice[aria-pressed="true"] { border-color: var(--project-accent); background: #eaf1fb; }
.b_project--video-choice img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 5px; object-fit: cover; }
.b_project--video-choice span { display: block; margin: 7px 3px 3px; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.b_project--videos iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 9px; background: #101d31; }
.b_project--videos figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; color: #65748b; font-size: 12px; }
.b_project--info { grid-column: span 3; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #f6f8fb; }
.b_project--info h2 { display: flex; align-items: center; gap: 6px; margin: 0 0 17px; font-size: 15px; }
.b_project--info dl { margin: 0; }
.b_project--info dl > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 15px; }
.b_project--info dt { display: flex; flex: 1 0 auto; align-items: baseline; gap: 8px; color: #65748b; font-size: 11px; }
.b_project--info dt::after { content: ''; flex: 1; min-width: 16px; border-bottom: 1px dotted #a9b3c1; }
.b_project--info dd { flex: 0 1 auto; max-width: 100%; margin: 0; color: #223049; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.b_project--actions { display: grid; gap: 8px; margin-top: 20px; }
.b_project--actions .button { justify-content: flex-start; padding: 9px; font-size: 11px; }
.b_project--external > i:last-child { margin-left: auto; font-size: 10px; }
.b_project--rating { grid-column: span 3; min-width: 0; align-self: center; justify-self: end; text-align: right; }
.b_project--stars { display: flex; justify-content: flex-end; gap: 2px; color: #ae7d29; }
.b_project--stars .icon-button { width: 26px; height: 28px; color: inherit; font-size: 18px; }
.b_project--updates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.b_project--updates > a { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; color: inherit; }
.b_project--updates > a > div:first-child { height: auto; aspect-ratio: 16 / 9; }
.b_project--updates img { width: 100%; height: 100%; object-fit: cover; }
.b_project--updates > a > div:last-child { padding: 14px; }
.b_project--updates h3 { margin: 0 0 8px; font-size: 15px; }
.b_project--updates p { font-size: 12px; }
.b_project--updates time { color: #65748b; font-size: 11px; }
.b_project--section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.b_project--section-head h2 { margin-bottom: 0; }
.b_project--section-head .text-button { font-size: 12px; }
.b_project--team-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-height, 80px) + 20px); }
.b_project--team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.b_project--member { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid transparent; border-radius: 8px; color: inherit; transition: border-color .2s, background-color .2s; }
.b_project--member:hover, .b_project--member:focus-visible { border-color: #afc4e4; background-color: #eaf1fb; }
.b_project--member > div { min-width: 0; overflow-wrap: anywhere; }
.b_project--member > img, .b_project--member > span { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #eaf0f8; color: #526f98; object-fit: cover; font-size: 13px; }
.b_project--team strong { font-size: 13px; }
.b_project--team p { margin: 4px 0 0; color: #52627b; font-size: 12px; line-height: 1.6; }
.b_project--playlists { display: grid; gap: 10px; }
.b_project--playlists > a { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 7px; background: #f6f8fb; font-size: 13px; }
.b_project--code { padding: 16px; overflow-x: auto; border-radius: 8px; background: #101d31; color: #dae7fb; font-size: 13px; }
.b_project--lightbox { margin: 0; }
.b_project--lightbox img { width: 100%; max-height: 70dvh; object-fit: contain; }
.b_project--lightbox figcaption { margin-top: 12px; color: #52627b; font-size: 13px; }
.b_project--lightbox figcaption:empty { display: none; }
.b_project--slide-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.b_project--slide-controls .icon-button { width: 44px; height: 44px; font-size: 24px; }
.b_project--slide-count { color: #52627b; font-size: 13px; }
.block__project-showcase .rating-control { display: none; }
.block__project-showcase .comment-form { border-color: #afc4e4; background: #eaf1fb; }
.block__project-showcase .feedback-header h3 { color: #223049; }
.block__project-showcase .feedback-header { margin-top: 0; padding-top: 0; border-top: 0; }
.block__project-showcase .comment-form h4 { color: #233958; font-weight: 700; }
@media (max-width: 1000px) {
  .b_project--layout, .b_project--heading { grid-template-columns: minmax(0, 3fr) minmax(210px, 1fr); gap: 20px; }
  .b_project--main, .b_project--info, .b_project--breadcrumbs, .b_project--rating { grid-column: auto; }
  .b_project--hero { min-height: 320px; }
  .b_project--hero-caption { padding: 88px 18px 18px; gap: 12px; }
  .b_project--logo { flex-basis: 60px; width: 60px; height: 60px; font-size: 28px; }
}
@media (max-width: 700px) {
  .b_project--heading { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .b_project--layout { display: flex; flex-direction: column; gap: 20px; }
  .b_project--main { display: contents; }
  .b_project--hero { order: -3; width: 100%; min-height: 300px; }
  .b_project--info { order: -2; width: 100%; }
  .b_project--info dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
  .b_project--actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b_project--navigation { order: -1; margin-bottom: 0; justify-content: center; }
  .b_project--section { width: 100%; margin-bottom: 0; padding: 18px; }
  .b_project--section h2 { font-size: 18px; }
  .b_project--gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b_project--videos.__playlist { grid-template-columns: minmax(0, 1fr); }
  .b_project--videos.__playlist figure { grid-column: auto; }
  .b_project--video-list { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 1; }
  .b_project--features, .b_project--updates { grid-template-columns: minmax(0, 1fr); }
  .b_project--hero h1 { font-size: 24px; }
  .b_project--breadcrumbs { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .b_project--thumbnail, .b_project--member, .b_project--video-choice { transition: none; } }
