/* Medium-style Case Study Article - Updated for Screenshot Layout */
.cs-article {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 16px 80px 16px;
    background: transparent;
}

.cs-caption {
    font-family: 'Space Grotesk', sans-serif;
    color: #ff9e2c;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cs-title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: #fff;
    text-align: left;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.cs-tagline {
    font-size: 1.15rem;
    color: #ff9e2c;
    text-align: center;
    margin-bottom: 32px;
    font-family: 'Instrument Sans', sans-serif;
}

.cs-meta-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.cs-meta-col {
    min-width: 120px;
    text-align: center;
}
.cs-meta-label {
    color: #888;
    font-size: 0.95rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.cs-meta-value {
    color: #fff;
    font-size: 1.08rem;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
}

.cs-hero {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0;
}

.cs-meta-table {
    width: 100%;
    max-width: 700px;
    margin: 0 0 36px 0;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    text-align: left;
}
.cs-meta-table th {
    color: #888;
    font-size: 0.95rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    padding-bottom: 2px;
}
.cs-meta-table td {
    color: #fff;
    font-size: 1.08rem;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    padding-right: 16px;
    padding-bottom: 2px;
}

.cs-hero-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 48px auto;
    display: flex;
    justify-content: center;
}
.cs-hero-image img {
    width: 100%;
    max-width: 1200px;
    border-radius: 4px;
    background: #222;
    display: block;
}

/* Section Headers (keep as is) */
.cs-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 56px 0 24px 0;
}
.cs-section-header .icon {
    color: #626262;
    width: 22px;
    height: 22px;
}
.cs-section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #626262;
    text-transform: uppercase;
}

/* Article Content */
.cs-article-content {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.cs-article-content p {
    margin-bottom: 22px;
}

.cs-article-content ul {
    margin: 0;
    padding: 0;
    color: #ccc;
    font-size: 1.08rem;
}

.cs-article-content li {
    margin-bottom: 0.4rem;
    color: #fff;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.98rem;
    margin-bottom: 10px;
}

.cs-article-content li::before {
    content: "•";
    color: #ff9e2c;
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.cs-article-image {
    display: block;
    margin: 32px auto;
    width: 100%;
    max-width: 1200px;
    border-radius: 4px;
    background: #222;
}

/* Stats Grid: 3 in a row on desktop, stacked on mobile */
.cs-stats-grid {
    display: flex;
    gap: 24px;
    margin: 32px 0 100px 0;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.cs-stat-card {
    background: #181818;
    border-radius: 10px;
    padding: 28px 24px;
    min-width: 0;
    flex: 1 1 0;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 2px 12px 0 #00000010;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cs-stat-value {
    color: #ff9e2c;
    font-size: 1.7rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    margin-bottom: 4px;
}
.cs-stat-desc {
    color: #aaa;
    font-size: 0.95rem;
}

/* Takeaways Grid: always stacked, full width */
.cs-takeaways-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 32px 0 0 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.cs-takeaway-card {
    background: #181818;
    border-radius: 10px;
    padding: 22px 24px;
    width: 100%;
    text-align: left;
    box-shadow: 0 2px 12px 0 #00000010;
    margin-bottom: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.cs-takeaway-title {
    color: #ff9e2c;
    font-size: 1.13rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
}
.cs-takeaway-desc {
    color: #ccc;
    font-size: 1.01rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .cs-mainwide, .cs-hero, .cs-caption, .cs-title, .cs-hero-image, .cs-hero-image img, .cs-takeaway-card, .cs-takeaways-grid, .cs-stats-grid, .cs-article-image {
        max-width: 98vw;
    }
}
@media (max-width: 900px) {
    .cs-stats-grid {
        flex-direction: column;
        gap: 12px;
    }
    .cs-stat-card {
        max-width: 100%;
    }
}
@media (max-width: 700px) {
    .cs-title {
        font-size: 1.3rem;
    }
    .cs-section-header {
        margin: 36px 0 18px 0;
    }
    .cs-article-content {
        font-size: 0.98rem;
    }
    .cs-meta-table th, .cs-meta-table td {
        font-size: 0.95rem;
        padding-right: 8px;
    }
}

/* Meta section flex layout */
.cs-meta-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 36px auto;
  flex-wrap: wrap;
}

.cs-meta-block {
  flex: 1 1 0;
  min-width: 160px;
}

.cs-meta-label {
  color: #888;
  font-size: 0.95rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cs-meta-value {
  color: #fff;
  font-size: 1.08rem;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

.cs-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

.cs-meta-list li {
  margin-bottom: 2px;
}

@media (max-width: 700px) {
  .cs-meta-flex {
    flex-direction: column;
    gap: 18px;
    max-width: 98vw;
  }
  .cs-meta-block {
    min-width: 0;
  }
}

/* Wide container for hero/meta/images */
.cs-mainwide {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: block;
}

/* Navigation buttons at the end of case studies */
.cs-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 64px auto 0 auto;
    padding: 0 16px;
}
.cs-nav-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #ff9e2c;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    transition: border-bottom 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: none;
}
.cs-nav-btn:hover {
    color: #ff9e2c;
    border-bottom: 2px solid #ff9e2c;
    background: none;
}

/* Narrow container for readable body content */
.cs-article-narrow {
    max-width: 700px;
    margin: 80px auto;
    width: 100%;
    display: block;
}

/* Meta grid at the top, styled like about page skills, but smaller and with borders */
.cs-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 18px 0 18px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    font-size: 0.98rem;
    line-height: 1.3;
}
.cs-meta-category h3 {
    color: #ff9e2c;
    font-size: 1.05rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
}
.cs-meta-category ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.cs-meta-category li {
    margin-bottom: 0.4rem;
    color: #bbbbbb;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.98rem;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.3;
}
.cs-meta-category li::before {
    content: "•";
    color: #ff9e2c;
    position: absolute;
    left: 0;
    font-size: 1rem;
}
@media (max-width: 900px) {
    .cs-meta-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
} 