.fartuk-project-index,
.fartuk-project-home {
  max-width: 1304px;
  margin-inline: auto;
}
.fartuk-project-heading {
  margin-bottom: clamp(24px, 4vw, 48px);
}
.fartuk-project-heading > p {
  max-width: 660px;
  margin-bottom: 24px;
}
.fartuk-project-index .fartuk-journal-heading h1 {
  font-size: clamp(36px, 5.4vw, 64px);
}
.fartuk-journal-grid.fartuk-project-grid,
.fartuk-project-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.fartuk-project-grid .fartuk-project-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
}
.fartuk-project-card .fartuk-journal-card-copy {
  padding: clamp(16px, 2vw, 24px);
  gap: 16px;
}
.fartuk-project-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fartuk-project-identity > div:last-child {
  min-width: 0;
}
.fartuk-project-card .fartuk-journal-card-copy :is(h2, h3) {
  font-size: clamp(21px, 2vw, 26px);
  margin: 0 0 4px;
}
.fartuk-project-card .fartuk-journal-card-copy p,
.fartuk-project-home-card p {
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
  color: #525b65;
}
.fartuk-project-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}
.fartuk-project-actions .fartuk-button {
  min-height: 44px;
  padding: 8px 10px;
  text-align: center;
  white-space: normal;
}
.fartuk-project-photo,
.fartuk-project-logo {
  position: relative;
  overflow: hidden;
  background: #f4eee9;
  isolation: isolate;
}
.fartuk-project-photo {
  aspect-ratio: 1.6;
}
.fartuk-project-photo--hero {
  max-width: 1100px;
  margin-inline: auto;
  border-radius: 24px;
}
.fartuk-project-photo img,
.fartuk-project-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fartuk-project-photo img[data-media-state="error"],
.fartuk-project-logo img[data-media-state="error"] {
  opacity: 0;
}
.fartuk-project-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: 0 0 auto;
}
.fartuk-project-logo img {
  object-fit: contain;
  box-sizing: border-box;
  padding: 4px;
}
.fartuk-project-logo .fartuk-media-error {
  display: none;
}
.fartuk-project-notice {
  padding: 26px 16px;
  background: white;
  border-radius: 24px;
  text-align: center;
}
.fartuk-project-notice p {
  margin: 0 0 12px;
}
.fartuk-project-home a,
.fartuk-project-notice a,
.fartuk-project-other a,
.fartuk-project-heading nav a {
  text-underline-offset: 4px;
}
.fartuk-project-other {
  margin-top: 28px;
  text-align: center;
}
.fartuk-project-examples {
  margin-bottom: 40px;
}
.fartuk-project-examples-intro {
  margin-bottom: 20px;
}
.fartuk-project-examples :is(h2, h3),
.fartuk-project-examples-intro h2 {
  margin-bottom: 12px;
}
.fartuk-project-detail .fartuk-project-logo {
  margin: 24px auto 0;
  width: 72px;
  height: 72px;
}
.fartuk-project-detail .fartuk-project-heading h1 {
  overflow-wrap: anywhere;
}
.fartuk-project-heading .fartuk-project-place {
  font-size: 16px;
  color: #525b65;
  margin-bottom: 12px;
}
.fartuk-project-card,
.fartuk-project-prose,
.fartuk-project-results,
.fartuk-project-home-card {
  overflow-wrap: anywhere;
}
.fartuk-project-prose,
.fartuk-project-gallery,
.fartuk-project-results {
  margin-top: clamp(28px, 5vw, 56px);
}
.fartuk-project-prose p {
  white-space: pre-line;
}
.fartuk-project-gallery {
  max-width: 1100px;
  margin-inline: auto;
}
.fartuk-project-gallery .fartuk-project-photo {
  border-radius: 16px;
}
.fartuk-project-results dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 12px 24px;
  padding: 20px;
  background: white;
  border-radius: 20px;
}
.fartuk-project-results dd {
  margin: 0;
  font-weight: 650;
}
.fartuk-project-results dd small {
  display: block;
  font-weight: 400;
}
.fartuk-project-pagination {
  margin: 24px 0;
}
.fartuk-project-home {
  box-sizing: border-box;
  padding: clamp(40px, 7vw, 84px) 32px;
  color: #0f151d;
}
.fartuk-project-home-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.fartuk-project-home-heading h2,
.fartuk-project-gallery h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 550;
  line-height: 1.15;
  margin: 0;
}
.fartuk-project-gallery h2 {
  margin-bottom: 20px;
}
.fartuk-project-home-card {
  display: block;
  overflow: hidden;
  background: white;
  border-radius: 24px;
  color: inherit;
  text-decoration: none;
}
.fartuk-project-home-card h3 {
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.2;
  margin: 0 0 6px;
}
.fartuk-project-home-card :is(h3, p) {
  margin-inline: 18px;
}
.fartuk-project-home-card h3 {
  margin-top: 16px;
}
.fartuk-project-home-card p {
  margin-bottom: 18px;
}
.fartuk-project-home-card:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.fartuk-project-home a:focus-visible,
.fartuk-project-index a:focus-visible,
.fartuk-project-card a:focus-visible,
.fartuk-project-detail a:focus-visible {
  outline: 2px solid #123758;
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  .fartuk-journal-grid.fartuk-project-grid,
  .fartuk-project-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .fartuk-journal-grid.fartuk-project-grid,
  .fartuk-project-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .fartuk-project-index,
  .fartuk-project-detail,
  .fartuk-project-home {
    padding-inline: 16px;
  }
  .fartuk-project-detail .fartuk-journal-cta .fartuk-button {
    width: 100%;
    margin-inline: 0;
    white-space: normal;
  }
}
@media (max-width: 480px) {
  .fartuk-project-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
