:root {
  --oak-cs-forest: #173d31;
  --oak-cs-forest-deep: #102f26;
  --oak-cs-stone: #f2eee7;
  --oak-cs-paper: #fbfaf7;
  --oak-cs-ink: #24332d;
  --oak-cs-muted: #66736e;
  --oak-cs-line: rgba(23, 61, 49, .18);
}

.page-id-23 #main-content .container,
.single-oak_case_study #main-content .container {
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.page-id-23 #main-content .container::before,
.single-oak_case_study #main-content .container::before {
  display: none;
}

.page-id-23 #left-area,
.single-oak_case_study #left-area {
  float: none;
  width: 100%;
  padding: 0;
}

.page-id-23 #sidebar,
.single-oak_case_study #sidebar,
.page-id-23 .entry-title,
.page-id-23 #main-footer,
.single-oak_case_study #main-footer {
  display: none !important;
}

.page-id-23 article.page,
.page-id-23 .entry-content,
.single-oak_case_study article,
.single-oak_case_study .entry-content {
  margin: 0;
  padding: 0;
}

.oak-cs-archive,
.oak-cs-single {
  color: var(--oak-cs-ink);
  background: var(--oak-cs-paper);
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.oak-cs-archive *,
.oak-cs-single * {
  box-sizing: border-box;
}

.oak-cs-shell {
  width: min(88%, 1460px);
  margin: 0 auto;
}

.oak-cs-narrow {
  width: min(88%, 760px);
}

.oak-cs-archive h1,
.oak-cs-archive h2,
.oak-cs-single h1,
.oak-cs-single h2,
.oak-cs-single h3 {
  color: var(--oak-cs-forest);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.04;
}

.oak-cs-archive-hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(8, 33, 27, .92) 0%, rgba(8, 33, 27, .64) 38%, rgba(8, 33, 27, .10) 74%), var(--oak-cs-hero);
  background-position: center;
  background-size: cover;
}

.oak-cs-archive-hero .oak-cs-shell {
  padding: 70px 0;
}

.oak-cs-kicker {
  margin: 0 0 18px;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oak-cs-archive-hero h1 {
  max-width: 680px;
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(58px, 7vw, 104px);
}

.oak-cs-archive-hero p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}

.oak-cs-projects {
  padding: 54px 0 72px;
  background: var(--oak-cs-paper);
}

.oak-cs-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.oak-cs-filters > span {
  margin-right: 8px;
  font-size: 15px;
  font-weight: 700;
}

.oak-cs-filters a,
.oak-cs-tags span {
  border: 1px solid var(--oak-cs-line);
  border-radius: 999px;
  color: var(--oak-cs-ink);
  background: #fff;
  text-decoration: none;
}

.oak-cs-filters a {
  padding: 11px 20px;
  font-size: 14px;
  transition: .2s ease;
}

.oak-cs-filters a:hover,
.oak-cs-filters a.is-active {
  color: #fff;
  border-color: var(--oak-cs-forest);
  background: var(--oak-cs-forest);
}

.oak-cs-grid,
.oak-cs-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.oak-cs-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 61, 49, .08);
  box-shadow: 0 12px 38px rgba(24, 41, 34, .05);
}

.oak-cs-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.12 / 1;
  overflow: hidden;
  background: var(--oak-cs-stone);
}

.oak-cs-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.oak-cs-card:hover .oak-cs-card-image img {
  transform: scale(1.025);
}

.oak-cs-example-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--oak-cs-forest);
  background: rgba(251, 250, 247, .94);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.oak-cs-card-body {
  padding: 26px 24px 28px;
}

.oak-cs-card h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.12;
}

.oak-cs-card h2 a {
  color: inherit;
  text-decoration: none;
}

.oak-cs-card-body > p {
  min-height: 70px;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
}

.oak-cs-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.oak-cs-tags span {
  padding: 7px 11px;
  background: var(--oak-cs-stone);
  border-color: transparent;
  font-size: 11px;
}

.oak-cs-read {
  color: var(--oak-cs-forest);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.oak-cs-read span {
  display: inline-block;
  margin-left: 4px;
  transition: transform .2s ease;
}

.oak-cs-read:hover span {
  transform: translateX(3px);
}

.oak-cs-load-more {
  margin: 48px 0 0;
  text-align: center;
}

.oak-cs-load-more a {
  display: inline-block;
  min-width: 260px;
  padding: 13px 24px;
  color: var(--oak-cs-forest);
  border: 1px solid var(--oak-cs-forest);
  border-radius: 8px;
  text-decoration: none;
}

.oak-cs-archive-cta,
.oak-cs-single-cta {
  padding: 66px 0 70px;
  text-align: center;
  background: var(--oak-cs-stone);
}

.oak-cs-archive-cta h2,
.oak-cs-single-cta h2 {
  margin: 10px 0 13px;
  font-size: clamp(34px, 4vw, 50px);
}

.oak-cs-archive-cta p,
.oak-cs-single-cta p {
  margin: 0 auto 24px;
  max-width: 680px;
  line-height: 1.6;
}

.oak-cs-chat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  border: 2px solid var(--oak-cs-forest);
  border-radius: 50%;
  color: var(--oak-cs-forest);
  font-weight: 700;
  letter-spacing: 2px;
}

.oak-cs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--oak-cs-forest);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.oak-cs-footer {
  padding: 50px 0 20px;
  color: #fff;
  background: var(--oak-cs-forest);
}

.oak-cs-footer a {
  color: #fff;
  text-decoration: none;
}

.oak-cs-footer-grid {
  display: grid;
  grid-template-columns: 180px 1.2fr 1fr .8fr;
  gap: 38px;
  align-items: start;
}

.oak-cs-footer img {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
}

.oak-cs-footer-contact,
.oak-cs-footer-nav,
.oak-cs-footer-social {
  font-size: 12px;
  line-height: 1.65;
}

.oak-cs-footer-nav,
.oak-cs-footer-social {
  display: grid;
  gap: 5px;
}

.oak-cs-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 11px;
}

/* Detail page */
.oak-cs-single-hero {
  position: relative;
  min-height: 585px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(13, 35, 29, .32), rgba(13, 35, 29, .02)), var(--oak-cs-hero);
  background-position: center;
  background-size: cover;
}

.oak-cs-back {
  position: absolute;
  top: 28px;
  left: 6%;
  z-index: 2;
  color: #fff !important;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.oak-cs-single-main {
  padding: 54px 0 72px;
}

.oak-cs-single-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
  align-items: start;
  padding-bottom: 58px;
}

.oak-cs-single-intro h1 {
  max-width: 820px;
  margin: 16px 0 22px;
  font-size: clamp(48px, 5vw, 74px);
}

.oak-cs-single-lede {
  max-width: 850px;
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

.oak-cs-project-details {
  padding: 30px;
  background: var(--oak-cs-stone);
}

.oak-cs-project-details h2 {
  margin: 0 0 24px;
  font-size: 26px;
}

.oak-cs-detail-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  margin: 0 0 18px;
}

.oak-cs-detail-item:last-child {
  margin-bottom: 0;
}

.oak-cs-detail-icon {
  color: var(--oak-cs-forest);
  font-size: 17px;
  font-weight: 700;
}

.oak-cs-detail-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
}

.oak-cs-detail-item span:last-child {
  font-size: 12px;
  line-height: 1.35;
}

.oak-cs-editor-content {
  margin-bottom: 48px;
  padding: 34px 0;
  border-top: 1px solid var(--oak-cs-line);
  border-bottom: 1px solid var(--oak-cs-line);
  line-height: 1.7;
}

.oak-cs-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 70px;
  align-items: center;
  padding: 45px 0;
  border-top: 1px solid var(--oak-cs-line);
}

.oak-cs-story.is-reversed .oak-cs-story-copy {
  order: 2;
}

.oak-cs-story h2 {
  margin: 0 0 16px;
  font-size: clamp(35px, 4vw, 50px);
}

.oak-cs-story p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.oak-cs-story-image {
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
  background: var(--oak-cs-stone);
}

.oak-cs-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oak-cs-gallery {
  padding: 48px 0 20px;
  border-top: 1px solid var(--oak-cs-line);
}

.oak-cs-gallery h2,
.oak-cs-related h2 {
  margin: 0 0 28px;
  font-size: 40px;
}

.oak-cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.oak-cs-gallery-grid a {
  display: block;
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
}

.oak-cs-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oak-cs-single-cta {
  margin-top: 45px;
}

.oak-cs-related {
  padding: 60px 0 72px;
  background: var(--oak-cs-paper);
}

.oak-cs-related-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
}

.oak-cs-related-heading > a {
  color: var(--oak-cs-forest);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.oak-cs-related .oak-cs-card-image {
  aspect-ratio: 1.6 / 1;
}

.oak-cs-related .oak-cs-card-body > p,
.oak-cs-related .oak-cs-tags {
  display: none;
}

.oak-cs-related .oak-cs-card h2 {
  font-size: 24px;
}

@media (max-width: 980px) {
  .oak-cs-shell { width: min(90%, 980px); }
  .oak-cs-archive-hero { min-height: 520px; }
  .oak-cs-grid,
  .oak-cs-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oak-cs-single-intro { grid-template-columns: 1fr; gap: 38px; }
  .oak-cs-project-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 30px; }
  .oak-cs-project-details h2 { grid-column: 1 / -1; }
  .oak-cs-detail-item { margin: 0; }
  .oak-cs-story { gap: 36px; }
  .oak-cs-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .oak-cs-shell,
  .oak-cs-narrow { width: 88%; }
  .oak-cs-archive-hero {
    min-height: 520px;
    align-items: flex-end;
    background-image: linear-gradient(90deg, rgba(8, 33, 27, .88), rgba(8, 33, 27, .35)), var(--oak-cs-hero);
  }
  .oak-cs-archive-hero .oak-cs-shell { padding: 70px 0 62px; }
  .oak-cs-archive-hero h1 { font-size: 56px; }
  .oak-cs-archive-hero p:last-child { font-size: 16px; }
  .oak-cs-projects { padding: 38px 0 54px; }
  .oak-cs-filters { align-items: flex-start; margin-bottom: 32px; }
  .oak-cs-filters > span { flex-basis: 100%; }
  .oak-cs-filters a { padding: 9px 14px; font-size: 12px; }
  .oak-cs-grid,
  .oak-cs-related-grid,
  .oak-cs-gallery-grid { grid-template-columns: 1fr; }
  .oak-cs-card-body > p { min-height: 0; }
  .oak-cs-archive-cta,
  .oak-cs-single-cta { padding: 50px 0 54px; }
  .oak-cs-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .oak-cs-footer img { width: 190px; }
  .oak-cs-footer-bottom { flex-direction: column; }
  .oak-cs-single-hero { min-height: 440px; background-position: 58% center; }
  .oak-cs-back { left: 6%; }
  .oak-cs-single-main { padding: 38px 0 52px; }
  .oak-cs-single-intro h1 { font-size: 43px; }
  .oak-cs-project-details { display: block; padding: 25px; }
  .oak-cs-detail-item { margin-bottom: 16px; }
  .oak-cs-story,
  .oak-cs-story.is-reversed { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; }
  .oak-cs-story.is-reversed .oak-cs-story-copy { order: 0; }
  .oak-cs-story-image { aspect-ratio: 1.35 / 1; }
  .oak-cs-gallery-grid { gap: 12px; }
  .oak-cs-related-heading { align-items: flex-start; flex-direction: column; margin-bottom: 8px; }
}
