.project-filter {
display: inline-flex;
gap: 8px;
margin-bottom: 42px;
padding: 7px;
border-radius: 999px;
background: #eef2f4;
}
.project-filter button,
.project-filter a[data-status] {
text-decoration: none;
display: inline-flex;
min-height: 48px;
padding: 0 19px;
align-items: center;
gap: 10px;
border: 0;
border-radius: 999px;
color: var(--soft-ink);
background: transparent;
font: inherit;
font-size: 15px;
font-weight: 900;
cursor: pointer;
}
.project-filter button,
.project-filter a[data-status] span {
display: grid;
min-width: 25px;
height: 25px;
padding: 0 7px;
place-items: center;
border-radius: 999px;
background: rgba(21, 26, 29, .08);
font-size: 12px;
}
.project-filter button,
.project-filter a[data-status].active {
color: #fff;
background: var(--navy);
}
.project-filter button,
.project-filter a[data-status].active span {
background: rgba(255, 255, 255, .16);
}
.project-card-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
}
.project-card-grid > a {
display: flex;
min-height: 390px;
padding: 32px;
flex-direction: column;
border-radius: 26px;
color: var(--ink);
background: #f1eee8;
text-decoration: none;
transition: transform 180ms ease, background 180ms ease;
}
.project-card-grid > a[hidden] {
display: none;
}
.project-card-grid > a:nth-child(3n + 2) {
background: #e8f3f8;
}
.project-card-grid > a:nth-child(3n + 3) {
background: #edf7ef;
}
.project-card-grid > a:hover {
transform: translateY(-4px);
}
.project-card-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
color: var(--blue-text);
font-size: 12px;
font-weight: 900;
}
.project-card-meta time {
color: #778086;
}
.project-card-grid h2 {
margin: 56px 0 17px;
font-size: 31px;
line-height: 1.08;
letter-spacing: -.045em;
}
.project-card-grid > a > p {
margin: 0;
color: var(--soft-ink);
font-size: 17px;
line-height: 1.72;
}
.project-card-footer {
display: flex;
margin-top: auto;
padding-top: 32px;
align-items: flex-end;
justify-content: space-between;
gap: 18px;
}
.project-card-footer small {
max-width: 62%;
color: var(--muted-text);
font-size: 12px;
line-height: 1.45;
}
.project-card-footer b {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 14px;
white-space: nowrap;
}
.project-detail-section {
padding: 56px 0 120px;
background: #fff;
}
.project-detail-summary {
display: grid;
grid-template-columns: 1.15fr .85fr;
gap: 70px;
padding: 52px;
border-radius: 30px;
background: #e8f3f8;
}
.project-detail-summary h2 {
margin: 8px 0 20px;
}
.project-detail-summary > div > p:last-child {
margin: 0;
color: var(--soft-ink);
font-size: 18px;
line-height: 1.75;
}
.project-detail-summary dl {
margin: 0;
}
.project-detail-summary dl > div {
display: grid;
grid-template-columns: 140px 1fr;
gap: 16px;
padding: 15px 0;
border-bottom: 1px solid rgba(21, 26, 29, .12);
}
.project-detail-summary dt {
color: #687278;
font-size: 13px;
font-weight: 900;
}
.project-detail-summary dd {
margin: 0;
font-size: 15px;
font-weight: 850;
line-height: 1.5;
}
.project-detail-copy {
display: grid;
grid-template-columns: 1fr .78fr;
gap: 55px;
margin-top: 28px;
padding: 48px 52px;
border-radius: 30px;
background: #f4f1eb;
}
.project-detail-copy h3 {
margin: 0 0 22px;
font-size: 32px;
line-height: 1.1;
}
.project-detail-copy p {
margin: 0 0 18px;
color: var(--soft-ink);
font-size: 17px;
line-height: 1.82;
}
.project-detail-copy aside > span {
display: block;
margin-bottom: 16px;
color: #6f797e;
font-size: 12px;
font-weight: 900;
letter-spacing: .08em;
text-transform: uppercase;
}
.project-logo-row {
display: grid;
gap: 10px;
}
.project-logo-row > div {
display: grid;
min-height: 88px;
padding: 18px 22px;
place-items: center;
border-radius: 18px;
background: #fff;
text-align: center;
}
.project-logo-row img {
width: 145px;
max-height: 55px;
object-fit: contain;
}
.project-logo-row strong {
font-size: 17px;
}
@media (max-width: 1080px) {
.project-card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 820px) {
.project-detail-summary,
.project-detail-copy {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.project-filter {
display: grid;
grid-template-columns: 1fr 1fr;
width: 100%;
border-radius: 20px;
}
.project-filter button,
.project-filter a[data-status] {
justify-content: center;
border-radius: 15px;
}
.project-card-grid {
grid-template-columns: 1fr;
}
.project-card-grid > a {
min-height: 330px;
padding: 26px 23px;
}
.project-card-grid h2 {
margin-top: 42px;
font-size: 28px;
}
.project-card-footer {
align-items: flex-start;
flex-direction: column;
}
.project-card-footer small {
max-width: none;
}
.project-detail-summary,
.project-detail-copy {
padding: 29px 23px;
border-radius: 23px;
}
.project-detail-summary dl > div {
grid-template-columns: 1fr;
gap: 5px;
}
}
