/* =========================================================================
   PAGE: CASE-STUDIES/ORACLER
   ========================================================================= */

/* ================================================
   Oracler Hero Block
   Scoped under: #oracler-hero
   ================================================ */

#oracler-hero {
  position: relative;
  min-height: 747px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 81px;
  overflow: hidden;
  background: #fcfcfc;
  color: #212121;
  font-family: var(--font-sans);
}

#oracler-hero .oracler-hero-glow-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  pointer-events: none;
}

#oracler-hero .oracler-hero-glow {
  position: absolute;
  top: 50px;
  left: 0;
  width: 650px;
  height: 420px;
  pointer-events: none;
  background:
    radial-gradient(circle at 170px 170px, rgba(217, 33, 46, 0.35) 0 18px, rgba(217, 33, 46, 0.18) 42px, transparent 112px),
    linear-gradient(rgba(217, 33, 46, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 33, 46, 0.18) 1px, transparent 1px);
  background-size: 100% 100%, 13px 13px, 13px 13px;
  filter: blur(0.2px);
  opacity: 0.9;
  mask-image: radial-gradient(circle at 170px 170px, #000 0 86px, transparent 170px);
}

#oracler-hero .oracler-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 128px 160px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

#oracler-hero .oracler-hero-logo {
  width: 126px;
  height: 38px;
  display: block;
  object-fit: contain;
}

#oracler-hero .oracler-hero-title {
  width: min(100%, 890px);
  margin: 0;
  color: #212121;
  font-size: 48px;
  font-weight: var(--fw-medium);
  line-height: 1.4;
  letter-spacing: 0.48px;
}

#oracler-hero .oracler-hero-title span {
  color: #d9212e;
}

#oracler-hero .oracler-hero-description {
  width: min(100%, 890px);
  margin: 0;
  color: #161616;
  font-size: 24px;
  font-weight: var(--fw-light);
  line-height: 1.4;
  letter-spacing: 0.24px;
}

#oracler-hero .oracler-hero-cta {
  height: 44px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: var(--fw-normal);
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease;
}

#oracler-hero .oracler-hero-cta:hover {
  background: #b01c27;
  color: #ffffff;
  text-decoration: none;
  opacity: 1;
}

#oracler-hero .oracler-hero-cta svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
}

#oracler-hero .oracler-hero-info {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 169px;
  background: #f5f5f5;
}

#oracler-hero .oracler-hero-info-inner {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 40px 120px;
  display: flex;
  align-items: flex-start;
  gap: 68px;
}

#oracler-hero .oracler-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 29px;
  color: #212121;
  line-height: 1.3;
}

#oracler-hero .oracler-info-released {
  width: 203px;
  flex: 0 0 203px;
  gap: 40px;
}

#oracler-hero .oracler-info-client {
  width: 122px;
  flex: 0 0 122px;
  gap: 40px;
}

#oracler-hero .oracler-info-feature,
#oracler-hero .oracler-info-results {
  flex: 1 1 0;
  min-width: 0;
}

#oracler-hero .oracler-info-feature .oracler-info-value {
  width: 245px;
}

#oracler-hero .oracler-info-label,
#oracler-hero .oracler-info-value,
#oracler-hero .oracler-info-list {
  margin: 0;
}

#oracler-hero .oracler-info-label {
  width: 100%;
  color: #d9212e;
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  text-transform: uppercase;
}

#oracler-hero .oracler-info-value,
#oracler-hero .oracler-info-list {
  color: #212121;
  font-size: 16px;
  font-weight: var(--fw-normal);
  line-height: 1.3;
}

#oracler-hero .oracler-info-list {
  padding-left: 24px;
  list-style: disc;
}

@media (max-width: 1023px) {
  #oracler-hero {
    min-height: 576px;
    padding: 40px;
    gap: 60px;
    justify-content: flex-start;
  }

  #oracler-hero .oracler-hero-glow {
    display: none;
  }

  #oracler-hero .oracler-hero-content {
    padding: 0;
    gap: 24px;
  }

  #oracler-hero .oracler-hero-logo {
    width: 130px;
    height: 38px;
  }

  #oracler-hero .oracler-hero-title {
    width: 100%;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -0.72px;
  }

  #oracler-hero .oracler-hero-description {
    width: 100%;
    color: #161616;
    font-size: 20px;
    letter-spacing: 0.2px;
  }

  #oracler-hero .oracler-hero-info {
    height: 112px;
  }

  #oracler-hero .oracler-hero-info-inner {
    max-width: none;
    padding: 20px 0;
    justify-content: space-between;
    gap: 24px;
  }

  #oracler-hero .oracler-info-item {
    gap: 20px;
  }

  #oracler-hero .oracler-info-released,
  #oracler-hero .oracler-info-client {
    height: 72px;
    justify-content: space-between;
    gap: 0;
    flex: 0 0 auto;
  }

  #oracler-hero .oracler-info-feature {
    width: 212px;
    flex: 0 0 212px;
  }

  #oracler-hero .oracler-info-feature .oracler-info-value {
    width: auto;
  }

  #oracler-hero .oracler-info-results {
    flex: 0 0 auto;
  }

  #oracler-hero .oracler-info-label {
    font-size: 12px;
  }

  #oracler-hero .oracler-info-value,
  #oracler-hero .oracler-info-list {
    font-size: 14px;
  }

  #oracler-hero .oracler-info-list {
    padding-left: 21px;
  }
}

@media (max-width: 767px) {
  #oracler-hero {
    min-height: 651px;
    padding: 32px 20px 0;
    gap: 40px;
    align-items: center;
  }

  #oracler-hero .oracler-hero-logo {
    width: 127px;
    height: 40px;
  }

  #oracler-hero .oracler-hero-title {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.48px;
  }

  #oracler-hero .oracler-hero-description {
    color: #212121;
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  #oracler-hero .oracler-hero-cta {
    font-size: 16px;
  }

  #oracler-hero .oracler-hero-info {
    width: calc(100% + 40px);
    height: auto;
    min-height: 224px;
    margin-left: -20px;
    margin-right: -20px;
  }

  #oracler-hero .oracler-hero-info-inner {
    height: auto;
    min-height: 224px;
    padding: 20px;
    display: grid;
    grid-template-columns: 100px minmax(0, 212px);
    grid-template-areas:
      "released results"
      "client feature";
    justify-content: space-between;
    gap: 40px 16px;
  }

  #oracler-hero .oracler-info-released {
    grid-area: released;
  }

  #oracler-hero .oracler-info-client {
    grid-area: client;
  }

  #oracler-hero .oracler-info-feature {
    grid-area: feature;
  }

  #oracler-hero .oracler-info-results {
    grid-area: results;
  }

  #oracler-hero .oracler-info-released,
  #oracler-hero .oracler-info-client,
  #oracler-hero .oracler-info-feature,
  #oracler-hero .oracler-info-results {
    width: auto;
    flex: none;
  }
}


/* ================================================
   Oracler Section 1 — Details & Results
   Scoped under: #oracler-section-1
   ================================================ */

#oracler-section-1 {
  background: #ffffff;
  font-family: var(--font-sans);
}

#oracler-section-1 .or1-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 264px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

#oracler-section-1 .or1-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#oracler-section-1 .or1-block-text-only {
  gap: 0;
}

#oracler-section-1 .or1-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

#oracler-section-1 .or1-text-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

#oracler-section-1 .or1-title {
  margin: 0;
  color: #212121;
  font-size: 36px;
  font-weight: var(--fw-semibold);
  line-height: 1;
}

#oracler-section-1 .or1-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#oracler-section-1 .or1-content p {
  margin: 0;
  color: #232325;
  font-size: 20px;
  font-weight: var(--fw-normal);
  line-height: 1.5;
  letter-spacing: 0.6px;
}

@media (max-width: 1023px) {
  #oracler-section-1 .or1-inner {
    max-width: none;
    padding: 80px 40px;
    gap: 36px;
  }

  #oracler-section-1 .or1-block {
    gap: 36px;
  }

  #oracler-section-1 .or1-image {
    height: 380px;
    object-fit: cover;
  }

  #oracler-section-1 .or1-text-group {
    gap: 16px;
  }

  #oracler-section-1 .or1-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
  }

  #oracler-section-1 .or1-content {
    gap: 16px;
  }

  #oracler-section-1 .or1-content p {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: normal;
  }
}

@media (max-width: 767px) {
  #oracler-section-1 .or1-inner {
    padding: 32px 20px;
    gap: 36px;
  }

  #oracler-section-1 .or1-block {
    gap: 36px;
  }

  #oracler-section-1 .or1-image {
    height: calc((100vw - 40px) * 9 / 16);
    object-fit: cover;
  }

  #oracler-section-1 .or1-text-group {
    gap: 12px;
  }

  #oracler-section-1 .or1-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
  }

  #oracler-section-1 .or1-content {
    gap: 12px;
  }

  #oracler-section-1 .or1-content p {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.42px;
  }
}


/* ================================================
   Oracler Section 2 — FAQ Accordion
   Scoped under: #oracler-section-2
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@600&display=swap');

#oracler-section-2 {
  background: #ffffff;
  font-family: var(--font-sans);
}

#oracler-section-2 .or2-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

#oracler-section-2 .or2-title {
  margin: 0;
  max-width: 720px;
  width: 100%;
  text-align: center;
  color: #181818;
  font-size: 48px;
  font-weight: var(--fw-normal);
  line-height: 1;
}

#oracler-section-2 .or2-faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#oracler-section-2 .or2-faq-item {
  border-bottom: 1px solid #ddd;
}

#oracler-section-2 .or2-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

#oracler-section-2 .or2-faq-num {
  flex: 0 0 auto;
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  color: #d9212e;
  white-space: nowrap;
}

#oracler-section-2 .or2-faq-question {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: var(--fw-medium);
  line-height: 1;
  color: #000;
}

#oracler-section-2 .or2-faq-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

#oracler-section-2 .or2-faq-icon svg {
  display: block;
}

#oracler-section-2 .or2-faq-item.is-open .or2-faq-icon {
  transform: rotate(180deg);
}

#oracler-section-2 .or2-faq-body {
  display: none;
  padding-bottom: 24px;
}

#oracler-section-2 .or2-faq-item.is-open .or2-faq-body {
  display: block;
  animation: or2-slide-in 0.25s ease;
}

#oracler-section-2 .or2-faq-body p {
  margin: 0;
  font-size: 18px;
  font-weight: var(--fw-normal);
  line-height: 1.5;
  color: #292929;
  max-width: 978px;
}

@keyframes or2-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1023px) {
  #oracler-section-2 .or2-inner {
    max-width: none;
    padding: 64px;
    gap: 32px;
  }

  #oracler-section-2 .or2-title {
    font-size: 32px;
  }

  #oracler-section-2 .or2-faq-num,
  #oracler-section-2 .or2-faq-question {
    font-size: 18px;
  }

  #oracler-section-2 .or2-faq-body p {
    font-size: 16px;
    max-width: none;
  }
}

@media (max-width: 767px) {
  #oracler-section-2 {
    background: #fafafa;
  }

  #oracler-section-2 .or2-inner {
    padding: 64px 20px;
    gap: 32px;
  }

  #oracler-section-2 .or2-title {
    font-size: 24px;
    line-height: 1.4;
    text-transform: capitalize;
  }

  #oracler-section-2 .or2-faq-num,
  #oracler-section-2 .or2-faq-question {
    font-size: 16px;
  }

  #oracler-section-2 .or2-faq-body p {
    font-size: 14px;
  }
}


