/* Guides and workshop references share the Protecta navy/orange visual language. */
.content-v8-related[hidden],
.content-v8-project-reference[hidden] {
  display: none !important;
}
.content-v8-related {
  margin-block: clamp(34px, 5vw, 70px);
  color: #142e47;
}
.content-v8-group + .content-v8-group {
  margin-top: 44px;
}
.content-v8-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.content-v8-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.content-v8-eyebrow {
  margin: 0;
  color: #a34512;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
}
.content-v8-heading > p {
  max-width: 310px;
  color: #596f82;
  font-size: 14px;
  margin: 0;
}
.content-v8-guides,
.content-v8-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.content-v8-guide-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: #f4f7fa;
  border: 1px solid #e0e7ed;
  border-radius: 13px;
}
.content-v8-guide-image {
  flex: 0 0 32%;
  min-width: 0;
}
.content-v8-guide-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.content-v8-guide-card > div {
  padding: 23px;
  min-width: 0;
}
.content-v8-card-kind {
  color: #677b8d;
  letter-spacing: 0.09em;
  font-size: 10px;
  font-weight: 700;
}
.content-v8-guide-card h3,
.content-v8-project-card h3 {
  margin: 8px 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.content-v8-guide-card p,
.content-v8-project-copy p {
  margin: 0 0 17px;
  color: #576f83;
  font-size: 14px;
  line-height: 1.65;
}
.content-v8-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #15334e;
  font-weight: 700;
  font-size: 13px;
  min-height: 44px;
  text-decoration: none;
}
.content-v8-link > span[aria-hidden] {
  color: #b94e16;
  transition: transform 0.2s ease;
}
.content-v8-link:hover {
  color: #a34512;
}
.content-v8-link:hover > span[aria-hidden] {
  transform: translate(2px, -2px);
}
.content-v8-link:focus-visible,
.content-v8-project-card a:focus-visible,
.content-v8-guide-image:focus-visible {
  outline: 3px solid #c95111;
  outline-offset: 4px;
  border-radius: 3px;
}
.content-v8-project-card {
  min-width: 0;
  border: 1px solid #e0e7ed;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.content-v8-project-image {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf2f6;
}
.content-v8-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-v8-project-image > span[aria-hidden] {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #142e47;
  border-radius: 50%;
  font-size: 20px;
}
.content-v8-no-image {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #49627b;
}
.content-v8-project-copy {
  padding: 19px 23px;
}
.content-v8-project-copy h3 a {
  color: inherit;
  text-decoration: none;
}
.content-v8-project-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.content-v8-guide-page {
  padding-block: 28px clamp(45px, 6vw, 80px);
  color: #142e47;
}
.content-v8-guide-page > .container {
  max-width: 1100px;
}
.content-v8-guide-page .shop-breadcrumb {
  margin-bottom: 22px;
}
.content-v8-guide-article > header {
  max-width: 820px;
  margin: 25px 0 34px;
}
.content-v8-guide-article h1,
.content-v8-guide-empty h1 {
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 16px 0 20px;
  overflow-wrap: anywhere;
}
.content-v8-guide-summary {
  font-size: clamp(17px, 2vw, 21px);
  color: #536b80;
  line-height: 1.65;
}
.content-v8-guide-cover {
  margin: 0 0 34px;
  border-radius: 15px;
  overflow: hidden;
  background: #edf2f6;
}
.content-v8-guide-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
}
.content-v8-guide-body {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.content-v8-guide-body p {
  margin: 0 0 23px;
}
.content-v8-guide-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.content-v8-guide-photos img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.content-v8-guide-footer {
  margin-top: 44px;
  padding: 26px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #f2f6f9;
  border: 1px solid #e0e7ed;
}
.content-v8-guide-footer h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.content-v8-guide-footer p {
  font-size: 14px;
  color: #536b80;
  margin: 0;
}
.content-v8-guide-footer .button {
  flex: 0 0 auto;
}
.content-v8-guide-empty {
  padding-block: 32px;
  max-width: 800px;
}
.content-v8-guide-empty > p {
  color: #536b80;
  line-height: 1.7;
}
.content-v8-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}
.content-v8-project-reference {
  border: 1px solid #e2dfd4;
  background: #fff8ef;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.content-v8-project-reference p {
  margin: 5px 0 0;
  line-height: 1.5;
  color: #576b7d;
}
.content-v8-project-reference .content-v8-reference-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
}
.content-v8-project-reference button {
  border: 0;
  background: transparent;
  color: #6c4d38;
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  cursor: pointer;
  text-decoration: underline;
}
.content-v8-gallery-notice {
  padding: 14px 18px;
  background: #fff8ef;
  border: 1px solid #eddfca;
  color: #66452e;
  border-radius: 10px;
  margin-bottom: 18px;
}
@media (max-width: 760px) {
  .content-v8-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .content-v8-heading > p {
    max-width: none;
  }
  .content-v8-guide-card > div {
    padding: 19px;
  }
  .content-v8-guide-image {
    display: none;
  }
  .content-v8-guide-footer {
    align-items: start;
    flex-direction: column;
    padding: 22px;
  }
  .content-v8-project-copy {
    padding: 16px 18px;
  }
  .content-v8-guide-body {
    font-size: 16px;
    line-height: 1.8;
  }
}
@media (max-width: 520px) {
  .content-v8-guides,
  .content-v8-projects {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .content-v8-guide-photos {
    grid-template-columns: minmax(0, 1fr);
  }
  .content-v8-guide-card h3,
  .content-v8-project-card h3 {
    font-size: 18px;
  }
  .content-v8-guide-article > header {
    margin-top: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .content-v8-link > span[aria-hidden] {
    transition: none;
  }
}

.content-v8-contained > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.content-v8-more-guides {
  margin-top: 18px;
}
.content-v8-more-guides summary {
  min-height: 44px;
  padding: 12px 0;
  cursor: pointer;
  color: #15334e;
  font-size: 14px;
  font-weight: 700;
}
.content-v8-more-guides[open] summary {
  margin-bottom: 10px;
}
.content-v8-guide-page .shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #61778b;
}
