/* assets/css/pages/case-study/default-theme/case-study.css */
/* Hero Section */

.case-study-hero {
  padding: calc(var(--header-height-lg) + var(--container-py)) 0
    var(--container-py) 0;
}
.case-study-hero .container {
  max-width: var(--container-width);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  background: #4d4d4d;
  margin: 0 auto;
}
.case-study-hero {
  background-color: #4d4d4d;
}

.case-study-hero-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-header {
  text-align: center;
  align-self: flex-start;
  box-sizing: border-box;
  max-width: 70%;
}

.article-excerpt {
  font-family: "Alexandria", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 50.4px;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration-skip-ink: none;
  margin-top: 0;
}

.case-study-hero-content,
.first {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-study-label {
  font-family: "Alexandria", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 39.2px;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration-skip-ink: none;
}

.hero-header h1 {
  margin: 0 auto;
  color: var(--primary-blue);
  font-family: Alexandria;
  font-size: 24px;
  font-weight: 400;
  line-height: 50.4px;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration-skip-ink: none;
}

.hero-description {
  border-radius: var(--radius-lg);
  max-width: var(--container-width);
  text-align: left;
  padding-left: 0;
}

.hero-description p {
  font-family: var(--font-content-body);
  font-weight: 400;
  line-height: 31.6px;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration-skip-ink: none;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-description span:first-child {
  margin-bottom: 10px;
}

/* Quick Summary Section */
.quick-summary-section {
  background: #0f0f15;
  padding: var(--container-py) 0;
}

.quick-summary-section .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.quick-summary-item-1 p {
  font-family: Alexandria;
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  text-decoration-skip-ink: none;
  line-height: 123%;
  letter-spacing: -1%;
}

.quick-summary-item-1 span {
  font-family: var(--font-content-body);
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  text-decoration-skip-ink: none;
  line-height: 123%;
  letter-spacing: -1%;
}

.quick-summary-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  margin: 0 auto;
}

.quick-summary-item {
  gap: 0.5rem;
  text-align: left;
  min-width: 200px;
  border-right: 1px solid white;
}
.quick-summary-item:last-child {
  border: none;
}

.quick-summary-item p {
  font-family: Alexandria;
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  text-decoration-skip-ink: none;
  margin: 0;
  line-height: 123%;
  letter-spacing: -1%;
}

.quick-summary-item span {
  font-family: var(--font-content-body);
  font-size: 24px;
  font-weight: 600;
  text-align: left;
  text-decoration-skip-ink: none;
  line-height: 123%;
  letter-spacing: -1%;
}

/* Challenges Section */
.case-study-challenges {
  background-color: #4d4d4d;
  padding: var(--container-py) 0;
  box-sizing: border-box;
}

.case-study-challenges .container {
  max-width: var(--container-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.section-header {
  text-align: left;
  margin-bottom: 40px;
}

.section-header h2 {
  line-height: 123%;
  letter-spacing: -1%;
  font-size: 24px;
}

.section-subtitle {
  font-family: Alexandria;
  font-size: 32px;
  font-weight: 400;
  line-height: 44.8px;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration-skip-ink: none;
}

.challenges-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  width: 100%;
}

.challenge-card {
  text-align: left;
  display: flex;
  gap: 18px;
}

.challenge-card h3 {
  font-family: Alexandria;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -1%;
  text-align: left;
  margin-bottom: 0;
  width: 40%;
}

.challenge-icon-heading {
  display: flex;
}

.challenge-icon-heading img {
  position: relative;
  right: var(--space-md);
  top: var(--space-md);
}

.challenge-card p {
  font-family: var(--font-content-body);
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -1%;
  text-align: left;
  width: 60%;
}

/* Solutions Styles */
.case-study-solutions {
  background: #2f2f30;
  position: relative;
  padding: var(--container-py) 0;
}

.case-study-solutions .container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.case-study-solutions h2 {
  font-family: Alexandria;
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 4rem;
  line-height: 123%;
  letter-spacing: -1%;
}

.case-study-solutions .solutions-description p {
  font-family: var(--font-content-body);
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}

.solutions-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.solution-group {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.shield-icon {
  width: 30px;
  text-align: center;
  font-size: 32px;
}

.check-icon {
  width: 42px;
  height: 42px;
}

.solution-header h3 {
  font-family: Alexandria;
  font-size: 22px;
  font-weight: 400;
  line-height: 30.8px;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration-skip-ink: none;
}

.solution-group:nth-child(even) .solution-header h3 {
  color: var(--border-grey-1);
}

.solution-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 5px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Alternate border colors between sections */
.solution-group:nth-child(even) .solution-card {
  border-left-color: var(--border-grey-1);
}

.solution-card p {
  font-family: var(--font-content-body);
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -1%;
  text-align: left;
}

.solution-card p:first-child {
  font-weight: 600;
}

/* Results Styles */
.case-study-results {
  background: #4d4d4d;
  padding: var(--container-py) 0;
  position: relative;
}

.case-study-results .container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.case-study-results h2 {
  font-family: Alexandria;
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 4rem;
  line-height: 123%;
  letter-spacing: -1%;
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-title {
  font-family: Alexandria;
  font-weight: 400;
  text-align: left;
  line-height: 140%;
  letter-spacing: -1%;
  width: 35%;
}

.timeline-item .description {
  font-family: var(--font-content-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -1%;
  text-align: left;
  width: 65%;
}

/* Conclusion Section Styles */
.case-study-conclusion {
  background-color: #2f2f30;
  padding: var(--container-py) 0;
  box-sizing: border-box;
}

.case-study-conclusion .container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.case-study-conclusion h2 {
  font-family: Alexandria;
  font-size: 24px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 40px;
  line-height: 123%;
  letter-spacing: -1%;
}

.vertical-blue {
  border-left: 3px solid var(--primary-blue);
  height: inherit;
  position: relative;
}

.conclusion-content p {
  font-family: var(--font-content-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -1%;
  text-align: left;
}

.conclusion-content p:last-child {
  margin-bottom: 0;
}
.res-tab {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

@media (max-width: 1158px) {
  .quick-summary-section {
    padding: var(--container-py) var(--container-px);
  }

  .quick-summary-grid {
    gap: 2rem;
  }

  .case-study-conclusion,
  .case-study-results,
  .case-study-solutions,
  .case-study-challenges,
  .case-study-hero {
    padding: var(--container-py) var(--container-px);
  }

  .case-study-hero {
    padding-top: var(--header-height-xs);
  }
}

@media (max-width: 992px) {
  .br {
    display: none;
  }
  /* Hero section */
  .case-study-hero .container {
    box-sizing: border-box;
    background-color: #4d4d4d;
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
  }
  .first {
    order: 2;
    margin-top: -248px;
    z-index: 2;
    background-color: #4d4d4d;
    padding-top: 50px;
  }

  .second {
    order: 1;
    z-index: 1;
    margin-left: -5%;
    height: 100%;
  }

  .second > img {
    width: 100%;
  }

  .case-study-label {
    font-size: 20px;
    line-height: 1.4;
  }

  .hero-header {
    max-width: 80%;
  }

  .hero-header h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  .hero-description {
    padding-top: 0;
    max-width: 80%;
  }

  .hero-description p {
    line-height: 140%;
  }

  .case-study-challenges .container {
    max-width: var(--container-width);
    margin: 0 auto;
    box-sizing: border-box;
  }

  .challenge-icon-heading img {
    position: relative;
    right: var(--space-md);
    top: 0;
  }

  .section-subtitle {
    font-size: 24px;
    line-height: 1.4;
  }

  .challenges-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .challenge-card {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: var(--space-md);
  }

  .challenge-card p {
    flex-grow: 100%;
  }

  /* Quick Summary section for tablet */
  .quick-summary-section .container {
    padding: 0;
  }
  .quick-summary-grid {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .quick-summary-item-1 {
    order: -1;
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
  }

  .quick-summary-item {
    min-width: auto;
    width: 100%;
    flex: 1 1 26%;
  }

  .solutions-title,
  .results-title,
  .conclusion-title {
    font-size: 64px;
    margin-bottom: -20px;
  }
  /*Results section*/
  .res-tab {
    flex-direction: column;
  }

  .timeline-item .description,
  .timeline-title {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Quick Summary section for tablet */
  .quick-summary-grid {
    max-width: 100%;
    align-items: start;
    text-align: start;
    flex-direction: column;
  }

  .quick-summary-item {
    min-width: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid white;
    padding-bottom: 25px;
  }

  .challenge-card {
    width: 100%;
    flex-direction: column;
  }
  .challenge-card h3 {
    width: 100%;
  }
  .challenge-card p {
    width: 100%;
  }
}

@media (max-width: 512px) {
  .first {
    margin-top: -200px;
  }
}

@media (max-width: 586px) {
  .timeline-item,
  .solution-group {
    gap: 14px;
  }
  .section-header,
  .case-study-solutions h2,
  .case-study-results h2 {
    margin-bottom: 2rem;
  }

  .case-study-hero .container {
    padding: 0;
  }

  .solutions-title,
  .results-title,
  .conclusion-title {
    font-size: 48px;
    margin-bottom: -16px;
  }

  .hero-header {
    max-width: 100%;
  }

  .hero-description {
    padding-top: 0;
    max-width: 100%;
  }

  .hero-header h1 {
    font-size: 18px;
  }

  .case-study-conclusion h2 {
    margin-bottom: 20px;
  }

  .case-study-conclusion,
  .case-study-results,
  .case-study-solutions,
  .case-study-challenges,
  .quick-summary-section {
    padding-top: var(--container-pt) !important;
    padding-bottom: var(--container-pb) !important;
  }

  .solution-cards {
    gap: 20px;
  }

  .solutions-grid {
    gap: 2.5rem;
  }
  .res-tab {
    gap: 1rem;
  }
	
	.timeline-item{
		margin-bottom: 2.5rem;
	}
}
