/*
Theme Name: Prole Home
Theme URI: https://example.com/prole-home
Author: Codex
Description: Editorial furniture shop theme inspired by the provided Studio Prole PDF. Built for WooCommerce products, cart, and checkout.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: prole-home
*/

:root {
  --paper: #f5f4f2;
  --ink: #3f444a;
  --muted: #76736d;
  --line: #d8d3ca;
  --white: #ffffff;
  --accent: #111111;
  --serif: "Courier New", Courier, monospace;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.25;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.site-shell { min-height: 100vh; padding: 34px 38px 42px; position: relative; }
.site-header {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  gap: 24px;
  position: relative;
  z-index: 30;
}

.site-title {
  grid-column: 2;
  margin: 0;
  width: auto;
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.side-nav {
  grid-column: 1;
  justify-self: start;
  position: static;
}
.side-nav ul {
  list-style: disc;
  margin: 0;
  padding-left: 13px;
}
.side-nav li {
  margin: 0;
}
.side-nav a, .cart-link { font-size: 14px; }
.cart-link {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 4px;
  grid-column: 3;
  justify-self: end;
  position: static;
}

.cart-count { min-width: 18px; text-align: center; }
.hero {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 760px) 150px;
  justify-content: center;
  margin: 43px auto 90px;
}
.hero-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 760px; }
.hero-carousel {
  overflow: hidden;
  position: relative;
}
.hero-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 700ms ease;
}
.hero-slide.is-active {
  opacity: 1;
  position: relative;
}

.hero-note { align-self: end; max-width: 110px; }
.slider-dots { align-items: center; display: flex; gap: 18px; justify-content: center; margin-top: 12px; }
.slider-dots span { border: 1px solid var(--accent); border-radius: 999px; display: block; height: 7px; width: 7px; }
.slider-dots .active { background: var(--accent); }
.collection { margin: 0 auto; max-width: 1110px; }
.eyebrow { color: var(--ink); display: block; font-style: italic; margin-left: 8px; }
.section-title {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.05;
  margin: 0 0 36px;
  text-transform: uppercase;
}
.product-grid { display: grid; gap: clamp(38px, 9vw, 138px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { min-width: 0; }
.product-card h3 { font-size: 14px; font-weight: 400; margin: 0 0 4px; }
.product-image { background: #e5e0d7; overflow: hidden; }
.product-image img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-meta { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-top: 12px; min-height: 34px; }
.price, .woocommerce-Price-amount { color: var(--ink); font-family: var(--serif); font-size: 13px; }
.button, button.button, input.button, .added_to_cart, .wp-element-button, .checkout-button {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1;
  padding: 9px 11px;
  text-transform: lowercase;
}
.button:hover, button.button:hover, input.button:hover, .added_to_cart:hover, .wp-element-button:hover, .checkout-button:hover { background: var(--ink); color: var(--paper); }
.footer-grid { align-items: start; display: grid; gap: 60px; grid-template-columns: 180px 180px 1fr; margin: 150px auto 37px; max-width: 1000px; }
.footer-block:last-child { justify-self: end; text-align: center; }
.footer-block h2 { font-family: var(--sans); font-size: 18px; font-weight: 400; letter-spacing: 0.1em; margin: 0 0 18px; text-transform: uppercase; }
.footer-block p { font-size: 14px; font-style: italic; margin: 0; max-width: 150px; }
.footer-block:last-child p { max-width: 260px; }
.page-content, .woocommerce-page .site-main, .woocommerce .site-main { margin: 70px auto 0; max-width: 960px; }
.woocommerce ul.products { display: grid; gap: 70px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products li.product { margin: 0; width: auto; }
.woocommerce-cart-form, .cart_totals, .woocommerce-checkout, .woocommerce-order { background: rgba(255,255,255,0.28); border: 1px solid var(--line); padding: 24px; }
table.shop_table { border-collapse: collapse; width: 100%; }
table.shop_table th, table.shop_table td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; }
.quantity .qty { background: transparent; border: 1px solid var(--line); max-width: 64px; padding: 7px; }
.single-product-layout { display: grid; gap: 56px; grid-template-columns: minmax(0, 1fr) 330px; margin: 70px auto 0; max-width: 920px; }
.recommended-products { margin: 96px auto 0; max-width: 1110px; }
.all-items-page { margin-top: 104px; }
.all-items-grid { row-gap: 72px; }
.product-detail-preview { display: grid; gap: 54px; grid-template-columns: minmax(0, 1fr) 320px; margin: 92px auto 0; max-width: 980px; }
.product-detail-preview img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-detail-preview h2 { font-family: var(--sans); font-size: 24px; font-weight: 400; letter-spacing: 0.18em; margin: 0 0 22px; text-transform: uppercase; }
.detail-table { border-top: 1px solid var(--line); margin-top: 24px; }
.detail-row { border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 10px 0; }
.single-product-layout .summary h1 { font-family: var(--sans); font-size: 24px; font-weight: 400; letter-spacing: 0.18em; margin-top: 0; text-transform: uppercase; }
.empty-products { border: 1px solid var(--line); grid-column: 1 / -1; padding: 24px; }
@media (max-width: 900px) {
  .site-shell { padding: 28px 24px 38px; }
  .side-nav {
  grid-column: 1;
  grid-row: 2;
}
  .cart-link {
  align-items: flex-start;
  grid-column: 2;
  grid-row: 2;
}
  .site-header {
  align-items: start;
  grid-template-columns: 1fr auto;
  gap: 22px;
}
  .site-title {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
}
  .cart-link { align-items: flex-start; grid-column: 2; grid-row: 2; }
 .hero {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-top: 34px;
  }

  .hero-media img { width: 100%; }
  .product-detail-preview { grid-template-columns: 1fr; }
  .hero-note { max-width: 260px; }
  .product-grid, .woocommerce ul.products, .footer-grid, .single-product-layout { grid-template-columns: 1fr; }
  .recommended-products { margin-top: 70px; }
  .footer-block:last-child { justify-self: start; text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 13px; }
  .site-title { letter-spacing: 0.22em; text-align: center; }
  .section-title { letter-spacing: 0.18em; }
  .product-grid { gap: 42px; }
}
.product-card a,
.product-card button {
  pointer-events: auto;
}

.product-image {
  display: block;
}

.product-card-cart {
  margin: 0;
}

.product-card-cart button {
  white-space: nowrap;
}
.product-card {
  position: relative;
}

.product-hover-info {
  background: rgba(245, 244, 242, 0.96);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 120px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 14px;
  transform: translateY(-6px);
  transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, transform 220ms ease;
}

.product-card:hover .product-hover-info,
.product-card:focus-within .product-hover-info {
  max-height: 260px;
  opacity: 1;
  padding: 14px;
  transform: translateY(0);
}

.product-hover-info h3 {
  margin: 0 0 22px;
}

.product-hover-description {
  font-size: 12px;
  max-width: 220px;
}

.product-hover-description p {
  margin: 0;
}

.product-hover-specs {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 13px;
}

.product-spec span {
  display: block;
  font-style: italic;
}

.product-spec strong {
  display: block;
  font-weight: 400;
}

@media (max-width: 900px) {
  .product-hover-info {
    grid-template-columns: 1fr;
  }

  .product-card .product-hover-info {
    max-height: none;
    opacity: 1;
    padding: 14px;
    transform: none;
  }
}
.site-header {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  gap: 24px;
  position: relative;
  z-index: 30;
}

.site-title {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  width: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 400;
  letter-spacing: 0.34em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.side-nav {
  grid-column: 1;
  justify-self: start;
  position: static;
}

.cart-link {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 4px;
  grid-column: 3;
  justify-self: end;
  position: static;
}

.menu-toggle,
.menu-close {
  display: none;
}

.screen-reader-text {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    min-height: 44px;
    position: relative;
  }

  .site-title {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    max-width: 220px;
    text-align: center;
    transform: none;
  }

  .site-title a {
    display: block;
  }

  .menu-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    grid-column: 1;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
  }

  .menu-toggle span:not(.screen-reader-text) {
    background: var(--ink);
    display: block;
    height: 1px;
    width: 24px;
  }

  .cart-link {
    align-items: flex-end;
    grid-column: 3;
    justify-self: end;
    position: static;
  }

  .side-nav {
    align-items: center;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 42px;
    pointer-events: none;
    position: fixed;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 999;
  }

  body.menu-open .side-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .side-nav li {
    margin: 14px 0;
  }

  .side-nav a {
    font-size: 24px;
  }

  .menu-close {
    background: transparent;
    border: 1px solid var(--ink);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--serif);
    font-size: 13px;
    padding: 9px 14px;
    position: absolute;
    right: 24px;
    top: 24px;
    text-transform: lowercase;
  }

  body.menu-open {
    overflow: hidden;
  }
}

.side-nav ul {
  list-style: none;
  padding-left: 0;
}

.side-nav li {
  position: relative;
  padding-left: 13px;
}

.side-nav li::before {
  content: "";
  background: var(--ink);
  border-radius: 50%;
  height: 5px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0.58em;
  transform: translateY(-50%);
  transition: opacity 140ms ease;
  width: 5px;
}

.side-nav li:hover::before,
.side-nav li:focus-within::before {
  opacity: 1;
}


@media (min-width: 901px) {
  .all-items-page {
    max-width: none;
    margin-left: calc(-1 * 38px);
    margin-right: calc(-1 * 38px);
    width: calc(98%);
  }

   .all-items-page .eyebrow,
  .all-items-page .section-title {
    margin-left: 38px;
  }

  

  .all-items-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--ink);
    border-left: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
  }

  .all-items-grid .product-card {
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    min-height: 430px;
    padding: 28px 28px 30px;
  }
  .all-items-grid .product-card:nth-child(3n) {
    border-right: 0;
  }

  .all-items-grid .product-image {
    display: block;
    margin: 0 auto 22px;
    max-width: none;
    width: 100%;
  }

  .all-items-grid .product-image img {
    aspect-ratio: 1.08 / 1;
    object-fit: cover;
    width: 100%;
  }

  .all-items-grid .product-card h3 {
    font-size: 19px;
    margin: 0 0 16px;
    text-align: center;
    text-transform: uppercase;
  }

  .all-items-grid .product-meta {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin-top: 0;
    text-align: center;
  }

  .all-items-grid .price {
    font-size: 11px;
  }

  .all-items-grid .button,
  .all-items-grid button.button,
  .all-items-grid .added_to_cart {
    font-size: 10px;
    padding: 8px 10px;
  }

  .all-items-grid .slider-dots {
    display: none;
  }
}
.product-card .product-hover-info {
  order: 4;
}

.product-card .product-meta {
  order: 3;
}

.product-card h3 {
  order: 2;
}

@media (max-width: 900px) {
  .site-header {
    background: var(--paper);
    grid-template-columns: 44px 1fr 44px;
    left: 0;
    margin: -28px -24px 0;
    padding: 24px 24px 16px;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 998;
  }

  .menu-toggle {
    grid-column: 1;
    justify-self: start;
  }

  .site-title {
    grid-column: 2;
    justify-self: center;
    text-align: center;
  }

  .cart-link {
    grid-column: 3;
    justify-self: end;
  }

  .side-nav {
    z-index: 999;
  }
}

.site-title,
.site-title a {
  font-family: Montserrat, sans-serif !important;
}

.cart-link {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  gap: 6px;
  line-height: 1;
}

.cart-icon {
  display: block;
  height: 25px;
  width: 25px;
}

.cart-icon path {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.cart-count {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  min-width: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
  }

  .menu-toggle,
  .cart-link {
    align-self: center;
  }

  .cart-link {
    grid-column: 3;
    justify-self: end;
   margin-top: -89px;
  }

  .cart-icon {
    height: 26px;
    width: 26px;
  }

  .cart-count {
    font-size: 11px;
    transform: translateY(1px);
  }
}

:root {
  --paper: #f2efea;
}

html,
body,
.site-shell {
  background: #f2efea;
}

@media (max-width: 900px) {
  .site-header,
  .side-nav {
    background: #f2efea;
  }
}

.hero-carousel-wrap {
  width: 100%;
}

.hero-carousel {
  position: relative;
}

.hero-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: Georgia, serif;
  font-size: 54px;
  height: 72px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease;
  width: 48px;
  z-index: 4;
}

.hero-carousel:hover .hero-arrow,
.hero-carousel:focus-within .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgba(242, 239, 234, 0.62);
}

.hero-arrow-prev {
  left: 14px;
}

.hero-arrow-next {
  right: 14px;
}

.slider-dots button {
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  display: block;
  height: 7px;
  padding: 0;
  width: 7px;
}

.slider-dots button.active {
  background: var(--accent);
}

@media (max-width: 900px) {
  .hero-arrow {
    opacity: 1;
    font-size: 42px;
    height: 56px;
    width: 40px;
  }
}

.product-gallery-preview {
  position: relative;
}

.product-image {
  display: block;
  position: relative;
}

.product-preview-slide {
  display: none;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.product-preview-slide.is-active {
  display: block;
}

.product-preview-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: Georgia, serif;
  font-size: 58px;
  height: 72px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 160ms ease;
  width: 46px;
  z-index: 5;
}

.product-gallery-preview:hover .product-preview-arrow,
.product-gallery-preview:focus-within .product-preview-arrow {
  opacity: 0.92;
}

.product-preview-prev {
  left: 8px;
}

.product-preview-next {
  right: 8px;
}

.product-preview-dots {
  align-items: center;
  bottom: 12px;
  display: flex;
  gap: 18px;
  justify-content: center;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 6;
}

.product-preview-dots button {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 999px;
  cursor: pointer;
  height: 7px;
  padding: 0;
  width: 7px;
}

.product-preview-dots button.active {
  background: #fff;
}

.product-hover-info {
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 120px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 14px;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, transform 220ms ease;
}

.product-card:hover .product-hover-info,
.product-card:focus-within .product-hover-info {
  max-height: 300px;
  opacity: 1;
  padding: 14px;
  transform: translateY(0);
}

.product-hover-info h3 {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 24px;
}

.product-hover-description {
  font-size: 12px;
  max-width: 230px;
}

.product-hover-description p {
  margin: 0;
}

.product-hover-specs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 13px;
}

.product-spec span {
  display: block;
  font-style: italic;
}

.product-spec strong {
  display: block;
  font-weight: 400;
}

@media (max-width: 900px) {
  .product-preview-arrow {
    opacity: 0.9;
  }

  .product-hover-info {
    grid-template-columns: 1fr;
  }

  .product-card .product-hover-info {
    max-height: none;
    opacity: 1;
    padding: 14px;
    transform: none;
  }
}

.product-card-title {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 8px;
  text-align: left;
  text-transform: none;
}

.product-card-title a {
  display: inline-block;
}

.product-card .product-meta {
  display: none;
}

.product-hover-info {
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 120px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 14px;
  transform: translateY(-4px);
  transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, transform 220ms ease;
}

.product-card:hover .product-hover-info,
.product-card:focus-within .product-hover-info {
  max-height: 300px;
  opacity: 1;
  padding: 14px;
  transform: translateY(0);
}

.product-hover-info h3 {
  font-size: 15px;
  font-weight: 400;
  margin: 0 0 24px;
}

.product-hover-description {
  font-size: 12px;
  max-width: 230px;
}

.product-hover-description p {
  margin: 0;
}

.product-hover-specs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 13px;
}

.product-spec span {
  display: block;
  font-style: italic;
}

.product-spec strong {
  display: block;
  font-weight: 400;
}

@media (max-width: 900px) {
  .product-card-title {
    font-size: 18px;
  }

  .product-hover-info {
    grid-template-columns: 1fr;
  }

  .product-card .product-hover-info {
    max-height: none;
    opacity: 1;
    padding: 14px;
    transform: none;
  }
}


/* Move main roulette image area slightly to the right */
main,
.wp-site-blocks main {
  transform: translateX(60px);
}
@media (max-width: 768px) {
  .roulette-section,
  .roullet-section,
  .prole-roulette,
  .prole-hero,
  .hero-section,
  main,
  .wp-site-blocks main {
    transform: translateX(0);
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  position: relative;
}

.wp-site-blocks,
.site,
#page,
main {
  max-width: 100vw !important;
}

@media (min-width: 1024px) {
  body.home #collection {
    position: relative;
    left: -58px;
  }
}

@media (max-width: 1023px) {
  body.home #collection {
    left: 0;
  }
}

.projects-page,
.single-project-page {
  margin: 90px auto 0;
  max-width: 1180px;
}

.projects-title,
.single-project-header h1 {
  font-family: Montserrat, sans-serif !important;
  font-size: clamp(28px, 4vw, 72px);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  margin: 0 0 56px;
  text-transform: uppercase;
}

.project-groups {
  border-top: 1px solid var(--ink);
}

.project-group-card {
  align-items: center;
  min-height: 34vh;
  padding: 42px 0;
}

.project-group-card span {
  font-family: Montserrat, sans-serif !important;
  font-size: clamp(38px, 7vw, 116px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-group-card:hover span {
  font-style: italic;
}

.project-list {
  border-top: 1px solid var(--ink);
}

.project-list-item {
  align-items: center;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 280px;
  min-height: 180px;
  padding: 28px 0;
}

.project-list-item span {
  font-family: Montserrat, sans-serif !important;
  font-size: clamp(24px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-list-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.projects-back {
  display: inline-block;
  font-size: 13px;
  margin-bottom: 28px;
  text-transform: lowercase;
}

.single-project-gallery {
  display: grid;
  gap: 38px;
}

.single-project-gallery figure {
  margin: 0;
}

.single-project-gallery img {
  height: auto;
  width: 100%;
}

.single-project-content {
  margin: 54px 0 0;
  max-width: 680px;
}

@media (max-width: 900px) {
  .projects-page,
  .single-project-page {
    margin-top: 56px;
  }

  .project-group-card {
    min-height: 180px;
  }

  .project-list-item {
    grid-template-columns: 1fr;
  }

  .project-list-item img {
    max-width: 100%;
  }
}

.projects-overview {
  margin-top: 96px;
}

.project-groups-grid {
  display: grid;
  gap: clamp(38px, 9vw, 138px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1110px;
}

.project-group-card {
  min-width: 0;
}

.project-group-card h1 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 8px;
  text-transform: none;
}

.project-group-image {
  background: #e5e0d7;
  display: block;
  overflow: hidden;
}

.project-group-image img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 900px) {
  .projects-overview {
    margin-top: 56px;
  }

  .project-groups-grid {
    grid-template-columns: 1fr;
  }
}

.projects-category-page {
  margin: 96px auto 0;
  max-width: 1380px;
}

.projects-category-grid {
  display: grid;
  gap: clamp(48px, 11vw, 168px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-item-card {
  min-width: 0;
}

.project-item-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 8px;
  text-transform: none;
}

.project-item-image {
  background: #e5e0d7;
  display: block;
  overflow: hidden;
}

.project-item-image img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 900px) {
  .projects-category-page {
    margin-top: 56px;
  }

  .projects-category-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}
.projects-child-overview {
  margin: 96px auto 0;
  max-width: 1110px;
}

.projects-child-grid {
  display: grid;
  gap: clamp(38px, 9vw, 138px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-child-card {
  min-width: 0;
}

.projects-child-card h1 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 8px;
  text-transform: none;
}

.projects-child-image {
  background: #e5e0d7;
  display: block;
  overflow: hidden;
}

.projects-child-image img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 900px) {
  .projects-child-overview {
    margin-top: 56px;
  }

  .projects-child-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .projects-child-overview,
  .projects-category-page {
    max-width: none;
    margin-left: -41px;
    margin-right: 59px;
  }

  .projects-child-grid,
  .projects-category-grid {
    gap: 54px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-page {
  margin: 90px auto 0;
  max-width: 920px;
}

.about-image {
  margin: 0 auto 54px;
  max-width: 680px;
}

.about-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.about-content {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 680px;
  text-align: left;
}

.about-content p {
  margin: 0 0 22px;
}

@media (max-width: 900px) {
  .about-page {
    margin-top: 56px;
  }

  .about-image {
    margin-bottom: 36px;
  }

  .about-content {
    font-size: 14px;
  }
}