@charset "utf-8";

.project-skin {
    --project-primary: var(--hex-primary-500, #0ea5e9);
    --project-primary-deep: var(--hex-primary-700, #0369a1);
    --project-primary-pale: var(--hex-primary-100, #e0f2fe);
    --project-heading: #0f172a;
    --project-body: #64748b;
    --project-border: #e2e8f0;
    --project-background: #f8fafc;
    width: 100%;
    max-width: 1280px;
    min-width: 0;
    margin: 0 auto;
    color: var(--project-body);
    box-sizing: border-box;
}

.project-skin *,
.project-skin *::before,
.project-skin *::after {
    box-sizing: border-box;
}

.project-skin img,
.project-skin video,
.project-skin iframe {
    max-width: 100%;
}

.project-skin a,
.project-skin button,
.project-skin input,
.project-skin select,
.project-skin textarea {
    font: inherit;
}

.project-skin a:focus-visible,
.project-skin button:focus-visible,
.project-skin input:focus-visible,
.project-skin select:focus-visible,
.project-skin textarea:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .35);
    outline-offset: 3px;
}

.project-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.project-eyebrow {
    margin: 0 0 10px;
    color: var(--project-primary-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
}

/* List */
.project-list {
    padding: 20px 0 48px;
}

.project-list-header {
    max-width: 760px;
    padding: 22px 0 28px;
}

.project-list-header h1 {
    margin: 0;
    color: var(--project-heading);
    font-size: clamp(30px, 6.5vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.project-list-header > p:last-child {
    margin: 16px 0 0;
    color: var(--project-body);
    font-size: 16px;
    line-height: 1.75;
}

.project-filter {
    margin: 0 0 30px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.project-filter ul {
    display: flex;
    min-width: max-content;
    gap: 8px;
    margin: 0;
    padding: 2px;
    list-style: none;
}

.project-filter li {
    margin: 0;
    padding: 0;
}

.project-filter a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid var(--project-border);
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}

.project-filter a:hover,
.project-filter #bo_cate_on {
    border-color: var(--project-primary);
    background: var(--project-primary-pale);
    color: var(--project-primary-deep);
}

.project-admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 20px;
    padding: 10px 12px;
    border: 1px solid var(--project-border);
    border-radius: 10px;
    background: var(--project-background);
}

.project-admin-bar > span {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.project-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-admin-actions a,
.project-admin-actions button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.project-admin-actions .is-primary {
    border-color: var(--project-primary);
    background: var(--project-primary);
    color: #fff;
}

.project-admin-actions .is-danger {
    border-color: #fecaca;
    color: #dc2626;
}

.project-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #475569;
    font-size: 13px;
}

.project-select-all input,
.project-card-select input {
    width: 18px;
    height: 18px;
    accent-color: var(--project-primary);
}

.project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-grid-item {
    position: relative;
    min-width: 0;
    margin: 0;
}

.project-grid-item.is-current .project-card {
    border-color: var(--project-primary);
}

.project-card-select {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 10px;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
}

.project-card {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--project-border);
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.project-card:hover {
    border-color: #bae6fd;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.project-card-media,
.project-related-media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eaf4fa;
}

.project-card-media img,
.project-related-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.project-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--project-primary-pale);
    color: var(--project-primary-deep);
}

.project-placeholder b {
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.06em;
}

.project-placeholder small {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.project-card-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.project-card-meta,
.project-view-kinds {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: var(--project-primary-deep);
    font-size: 12px;
    font-weight: 800;
}

.project-card-meta > span + span::before,
.project-view-kinds > span + span::before {
    margin-right: 7px;
    color: #cbd5e1;
    content: "·";
}

.project-card-title {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    color: var(--project-heading);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.4;
    letter-spacing: -.025em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-card-summary {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    color: var(--project-body);
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-card-footer {
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.project-actor-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid #bae6fd;
    border-radius: 5px;
    background: #f0f9ff;
    color: #0369a1;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.3;
}

.project-actor-badge.is-partner {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

.project-actor-badge.is-joint {
    border-color: #a5f3fc;
    background: #ecfeff;
    color: #0e7490;
}

.project-card-more {
    flex: 0 0 auto;
    color: var(--project-primary-deep);
    font-size: 12px;
    font-weight: 800;
}

.project-card-more i {
    margin-left: 3px;
    font-style: normal;
}

.project-empty {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 48px 20px;
    border: 1px solid var(--project-border);
    background: var(--project-background);
    text-align: center;
}

.project-empty > span {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--project-primary-pale);
    color: var(--project-primary-deep);
    font-weight: 900;
}

.project-empty strong {
    color: var(--project-heading);
    font-size: 18px;
}

.project-empty p {
    margin: 7px 0 0;
    font-size: 14px;
}

.project-pagination {
    margin-top: 34px;
}

/* Detail */
.project-view {
    max-width: 1120px;
    padding: 12px 0 54px;
}

.project-view-header {
    max-width: 960px;
    margin: 0 auto;
    padding: 34px 0 32px;
}

.project-view-header h1 {
    max-width: 900px;
    margin: 14px 0 0;
    color: var(--project-heading);
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

.project-view-summary {
    max-width: 780px;
    margin: 20px 0 0;
    color: #475569;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.75;
}

.project-view-actor {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.project-actor-eyebrow {
    color: var(--project-primary-deep);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
}

.project-admin-warning,
.project-write-alert {
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.6;
}

.project-hero-image {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--project-border);
    background: var(--project-background);
}

.project-hero-image > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 820px;
    object-fit: contain;
}

.project-hero-image figcaption,
.project-gallery figcaption {
    padding: 10px 14px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.project-placeholder-large {
    min-height: min(62vw, 600px);
}

.project-info,
.project-content,
.project-gallery,
.project-files,
.project-related {
    max-width: 960px;
    margin: 64px auto 0;
}

.project-info h2,
.project-content > h2,
.project-gallery > h2,
.project-files > h2,
.project-related > h2 {
    margin: 0 0 22px;
    color: var(--project-heading);
    font-size: 24px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.project-info dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    border-top: 1px solid var(--project-heading);
}

.project-info dl > div {
    display: grid;
    grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
    gap: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--project-border);
}

.project-info dt {
    color: #64748b;
    font-size: 13px;
    font-weight: 750;
}

.project-info dd {
    min-width: 0;
    margin: 0;
    color: var(--project-heading);
    font-size: 15px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.project-content-body {
    min-width: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.project-content-body h1,
.project-content-body h2,
.project-content-body h3,
.project-content-body h4 {
    margin: 1.8em 0 .7em;
    color: var(--project-heading);
    font-weight: 850;
    line-height: 1.35;
}

.project-content-body h1 { font-size: 30px; }
.project-content-body h2 { font-size: 26px; }
.project-content-body h3 { font-size: 22px; }
.project-content-body h4 { font-size: 18px; }

.project-content-body p {
    margin: 0 0 1.25em;
}

.project-content-body ul,
.project-content-body ol {
    margin: 0 0 1.4em;
    padding-left: 1.5em;
}

.project-content-body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto !important;
    margin: 26px auto;
}

.project-content-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.project-content-body th,
.project-content-body td {
    min-width: 110px;
    padding: 10px;
    border: 1px solid var(--project-border);
    text-align: left;
    vertical-align: top;
}

.project-content-body a {
    color: var(--project-primary-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.project-gallery-list {
    display: grid;
    gap: 28px;
}

.project-gallery figure {
    margin: 0;
    border: 1px solid var(--project-border);
    background: var(--project-background);
}

.project-gallery img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
}

.project-resources {
    display: flex;
    max-width: 960px;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 22px;
    margin: 48px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--project-border);
}

.project-external-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--project-primary-deep);
    border-radius: 7px;
    background: #fff;
    color: var(--project-primary-deep);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.project-external-link:hover {
    background: var(--project-primary-pale);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.project-tags span {
    padding: 6px 9px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.project-files ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--project-border);
    list-style: none;
}

.project-files li {
    border-bottom: 1px solid var(--project-border);
}

.project-files a {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 4px;
    color: var(--project-primary-deep);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.project-files small {
    flex: 0 0 auto;
    color: #94a3b8;
    font-weight: 500;
}

.project-actor-note {
    max-width: 960px;
    margin: 58px auto 0;
    padding: 25px 26px;
    border-left: 4px solid var(--project-primary);
    background: #f0f9ff;
}

.project-actor-note.is-partner {
    border-color: #64748b;
    background: #f8fafc;
}

.project-actor-note.is-joint {
    border-color: #0891b2;
    background: #ecfeff;
}

.project-actor-note p {
    margin: 0 0 6px;
    color: var(--project-primary-deep);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.project-actor-note strong {
    display: block;
    color: var(--project-heading);
    font-size: 18px;
}

.project-actor-note > span {
    display: block;
    margin-top: 8px;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.project-related ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-related-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--project-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .16s ease, transform .16s ease;
}

.project-related-card:hover {
    border-color: #bae6fd;
    transform: translateY(-2px);
}

.project-related-body {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 15px;
}

.project-related-body > span {
    color: var(--project-primary-deep);
    font-size: 11px;
    font-weight: 800;
}

.project-related-body > strong {
    margin-top: 7px;
    color: var(--project-heading);
    font-size: 16px;
    line-height: 1.45;
}

.project-related-body > small {
    margin-top: 12px;
}

.project-contact-cta {
    display: grid;
    max-width: 960px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 68px auto 0;
    padding: 30px 24px;
    border: 1px solid #bae6fd;
    background: #f0f9ff;
}

.project-contact-cta p {
    margin: 0 0 8px;
    color: var(--project-primary-deep);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
}

.project-contact-cta h2 {
    margin: 0;
    color: var(--project-heading);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -.03em;
}

.project-contact-cta div > span {
    display: block;
    margin-top: 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.project-contact-cta > a {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    align-self: center;
    gap: 18px;
    padding: 12px 17px;
    border-radius: 7px;
    background: var(--project-primary-deep);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.project-contact-cta > a:hover {
    background: #075985;
}

/* Write */
.project-write {
    max-width: 980px;
    padding: 10px 0 54px;
}

.project-write-header {
    padding: 26px 0 28px;
}

.project-write-header h1 {
    margin: 0;
    color: var(--project-heading);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 900;
    letter-spacing: -.035em;
}

.project-write-header > p:last-child {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.7;
}

.project-write form {
    display: grid;
    gap: 22px;
}

.project-write-card {
    padding: 24px;
    border: 1px solid var(--project-border);
    border-radius: 10px;
    background: #fff;
}

.project-write-field + .project-write-field,
.project-write-field + fieldset,
.project-write fieldset + .project-write-field,
.project-write-featured {
    margin-top: 22px;
}

.project-write-field > label,
.project-actor-options > legend {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--project-heading);
    font-size: 14px;
    font-weight: 800;
}

.project-write-field label strong,
.project-actor-options legend strong {
    color: var(--project-primary-deep);
    font-size: 10px;
}

.project-write-field label > span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
}

.project-write-field input[type="text"],
.project-write-field input[type="url"],
.project-write-field input[type="number"],
.project-write-field select,
.project-write-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: var(--project-heading);
    font-size: 15px;
}

.project-write-field input::placeholder {
    color: #94a3b8;
}

.project-write-field > p,
.project-actor-options > p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.project-autosave-wrap {
    position: relative;
}

.project-autosave-button {
    min-height: 36px;
    margin-top: 8px;
    padding: 6px 10px;
    border: 1px solid var(--project-border);
    border-radius: 6px;
    background: var(--project-background);
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
}

.project-autosave-pop {
    position: absolute;
    z-index: 20;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 6px;
    padding: 15px;
    border: 1px solid var(--project-border);
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.project-autosave-pop ul {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}

.project-actor-options {
    min-width: 0;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    border: 0;
}

.project-actor-options > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
}

.project-actor-options label {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    cursor: pointer;
}

.project-actor-options label:has(input:checked) {
    border-color: var(--project-primary);
    background: #f0f9ff;
}

.project-actor-options input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: var(--project-primary);
}

.project-actor-options label span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.project-actor-options b {
    color: var(--project-heading);
    font-size: 13px;
}

.project-actor-options small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

.project-write-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--project-border);
    background: var(--project-background);
}

.project-write-featured .project-write-field {
    margin: 0;
}

.project-featured-check {
    min-height: 44px;
    cursor: pointer;
}

.project-featured-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--project-primary);
}

.project-write-section-heading {
    margin-bottom: 18px;
}

.project-write-section-heading h2 {
    margin: 0;
    color: var(--project-heading);
    font-size: 20px;
    font-weight: 850;
}

.project-write-section-heading p {
    margin: 7px 0 0;
    font-size: 12px;
    line-height: 1.6;
}

.project-editor {
    min-width: 0;
}

.project-editor textarea {
    width: 100%;
    min-height: 320px;
}

.project-write-limit,
.project-skin #char_count_wrap {
    color: #64748b;
    font-size: 11px;
}

.project-skin #char_count_wrap {
    margin-top: 6px;
    text-align: right;
}

.project-upload-list {
    display: grid;
    gap: 12px;
}

.project-upload-item {
    display: grid;
    min-width: 0;
    gap: 9px;
    padding: 15px;
    border: 1px dashed #cbd5e1;
    background: var(--project-background);
}

.project-upload-item > label:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--project-heading);
    font-size: 13px;
    font-weight: 800;
}

.project-upload-item > label small {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.project-upload-item input[type="file"],
.project-upload-item input[type="text"] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #475569;
    font-size: 12px;
}

.project-file-delete {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
}

.project-file-delete input {
    width: 17px;
    height: 17px;
}

.project-write-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 12px;
}

.project-write-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding-top: 5px;
}

.project-write-actions a,
.project-write-actions button {
    display: inline-flex;
    min-width: 94px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.project-write-actions button {
    border-color: var(--project-primary-deep);
    background: var(--project-primary-deep);
    color: #fff;
}

.project-write-actions button:disabled {
    opacity: .55;
    cursor: wait;
}

.project-write .autosave_content {
    display: none;
}

@media (min-width: 640px) {
    .project-write-card {
        padding: 30px;
    }

    .project-actor-options > div {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-write-featured {
        grid-template-columns: minmax(0, 1.25fr) minmax(180px, .75fr);
    }
}

@media (min-width: 768px) {
    .project-list {
        padding-top: 30px;
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .project-info dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-info dl > div:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }

    .project-related ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-contact-cta {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
        align-items: center;
        padding: 38px;
    }
}

@media (min-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .project-card-body {
        padding: 22px;
    }

    .project-view-header {
        padding-top: 50px;
        padding-bottom: 42px;
    }
}

@media (max-width: 480px) {
    .project-card-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-info dl > div {
        grid-template-columns: minmax(92px, 34%) minmax(0, 1fr);
        gap: 10px;
    }

    .project-contact-cta,
    .project-write-card {
        padding-right: 18px;
        padding-left: 18px;
    }

    .project-write-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .project-write-actions a,
    .project-write-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card,
    .project-related-card {
        transition: none;
    }

    .project-card:hover,
    .project-related-card:hover {
        transform: none;
    }
}
