/**
 * Infoptic Trust Spotlight Widget Styles
 *
 * Professional, pixel-accurate implementation matching CleanShot design:
 * - Blueprint Optical Grid Motif background
 * - 2-Column Split:
 *   - Left Column: Header Badge + Dark Transitions Logo + Royal Blue Card (#10356c) with Scope, What We Delivered, cyan triangle bullets
 *   - Right Column: Transitions Glasses Showcase Graphic + Framed White Quote Card with blue border (2px solid #143e7d), right-aligned credentials & cyan accent block
 * - Full responsive fluidity across Desktop, Tablet, and Mobile
 * - Clean CSS variables and high specificity to override theme headings cleanly
 *
 * @package InfopticCore
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@600;700;800&display=swap');

:root {
  --infoptic-trust-navy: #1c448d;
  --infoptic-trust-card-bg: #1c448d;
  --infoptic-trust-blue-border: #1c448d;
  --infoptic-trust-sky: #52b7e9;
  --infoptic-trust-sky-accent: #73c7f4;
  --infoptic-trust-sky-tint: #f0f7fc;
  --infoptic-trust-text-dark: #1c448d;
  --infoptic-trust-text-muted: #4b6584;
  --infoptic-trust-shadow: 0 12px 36px rgba(28, 68, 141, 0.10);
}

/* ==========================================================================
   Section Container & Blueprint Optical Grid Motif
   ========================================================================== */

section.infoptic-trust-spotlight,
.infoptic-trust-spotlight {
  position: relative;
  background-color: var(--infoptic-trust-bg, #ffffff);
  padding: 60px 0 80px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

section.infoptic-trust-spotlight.has-motif {
  background-image:
    linear-gradient(to right, rgba(28, 68, 141, var(--infoptic-trust-motif-opacity, 0.04)) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 68, 141, var(--infoptic-trust-motif-opacity, 0.04)) 1px, transparent 1px);
  background-size: 40px 40px;
}

.infoptic-trust-spotlight * {
  box-sizing: border-box;
}

.infoptic-trust-spotlight .infoptic-trust-spotlight__container {
  width: 100% !important;
  max-width: 1260px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

/* ==========================================================================
   Main 2-Column Grid Matching CleanShot Architecture
   ========================================================================== */

.infoptic-trust-spotlight__grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.infoptic-trust-spotlight__col-left {
  display: flex;
  flex-direction: column;
}

.infoptic-trust-spotlight__col-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Header Badge */
.infoptic-trust-spotlight__header-block,
.infoptic-trust-spotlight .section-header-block {
  display: inline-flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  gap: 0 !important;
  margin: 0 0 20px 0 !important;
  width: fit-content !important;
}

.infoptic-trust-spotlight__stripe,
.infoptic-trust-spotlight .sky-stripe {
  width: 7px !important;
  background: linear-gradient(180deg, #77C5F1 0%, #3caef5 100%) !important;
  background-color: #77C5F1 !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.elementor .infoptic-trust-spotlight .infoptic-trust-spotlight__title,
.infoptic-trust-spotlight .section-header-block h2,
.infoptic-trust-spotlight__title {
  font-family: 'Orbitron', system-ui, -apple-system, sans-serif !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
  color: #FFFFFF !important;
  background: #062345 !important;
  background-color: #062345 !important;
  padding: 10px 20px 10px 15px !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  display: inline-block !important;
}

/* Partner Logo */
.infoptic-trust-spotlight__partner-logo {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
}

.infoptic-trust-spotlight__partner-logo img {
  display: block;
  width: 290px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Left Card */
.infoptic-trust-spotlight__card--left {
  background: var(--infoptic-trust-card-bg, #1c448d);
  color: #ffffff;
  border-radius: 0;
  padding: 38px 36px 40px;
  box-shadow: var(--infoptic-trust-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

/* Scope Title */
.elementor .infoptic-trust-spotlight .infoptic-trust-spotlight__scope-title,
.infoptic-trust-spotlight__scope-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
  margin: 0 0 14px 0;
  padding: 0;
}

/* Scope Description */
.infoptic-trust-spotlight__scope-desc {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 28px 0;
  opacity: 0.95;
}

/* Deliverables Title */
.elementor .infoptic-trust-spotlight .infoptic-trust-spotlight__deliverables-title,
.infoptic-trust-spotlight__deliverables-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
  margin: 0 0 18px 0;
  padding: 0;
}

/* Bullets List */
.infoptic-trust-spotlight__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.infoptic-trust-spotlight__bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.90rem;
  color: #ffffff;
  line-height: 1.45;
}

.infoptic-trust-spotlight__bullet-marker {
  color: var(--infoptic-trust-sky, #52b7e9);
  font-size: 0.70rem;
  margin-top: 3px;
  flex-shrink: 0;
  line-height: 1;
}

.infoptic-trust-spotlight__bullet-content {
  flex: 1;
}

/* Right Column: Showcase Visual */
.infoptic-trust-spotlight__showcase-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.infoptic-trust-spotlight__showcase-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Right Column: Framed Quote Box */
.infoptic-trust-spotlight__quote-outer {
  position: relative;
  width: 100%;
  margin-top: 4px;
}

.infoptic-trust-spotlight__accent-block {
  position: absolute;
  bottom: -22px;
  right: -24px;
  width: 220px;
  height: 110px;
  background-color: var(--infoptic-trust-sky-accent, #73c7f4);
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
}

.infoptic-trust-spotlight__quote-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top: 2px solid var(--infoptic-trust-blue-border, #1c448d);
  border-right: 2px solid var(--infoptic-trust-blue-border, #1c448d);
  border-bottom: 2px solid var(--infoptic-trust-blue-border, #1c448d);
  border-left: 16px solid var(--infoptic-trust-blue-border, #1c448d);
  border-radius: 0;
  padding: 34px 38px 28px 34px;
  box-shadow: 0 10px 30px rgba(28, 68, 141, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.infoptic-trust-spotlight__quote-text p {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--infoptic-trust-text-dark, #1c448d);
  line-height: 1.62;
  margin: 0 0 16px 0;
}

.infoptic-trust-spotlight__quote-text p:last-child {
  margin-bottom: 0;
}

.infoptic-trust-spotlight__author-box {
  margin-top: 28px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.infoptic-trust-spotlight__author-name {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--infoptic-trust-text-dark, #1c448d);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 3px;
}

.infoptic-trust-spotlight__author-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--infoptic-trust-text-dark, #1c448d);
  line-height: 1.35;
  margin-bottom: 2px;
}

.infoptic-trust-spotlight__author-company {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--infoptic-trust-text-dark, #1c448d);
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 992px) {
  .infoptic-trust-spotlight__grid-2col {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .infoptic-trust-spotlight__showcase-wrap {
    justify-content: center;
    margin-bottom: 20px;
  }

  .infoptic-trust-spotlight__accent-block {
    display: none;
  }
}

@media (max-width: 640px) {
  section.infoptic-trust-spotlight,
  .infoptic-trust-spotlight {
    padding: 44px 0 54px;
  }

  .infoptic-trust-spotlight .infoptic-trust-spotlight__container {
    padding: 0 16px;
  }

  .infoptic-trust-spotlight__title {
    font-size: 1.25rem;
    padding: 10px 18px 10px 14px;
  }

  .infoptic-trust-spotlight__partner-logo img {
    width: 220px;
  }

  .infoptic-trust-spotlight__card--left {
    padding: 26px 20px 30px;
  }

  .elementor .infoptic-trust-spotlight .infoptic-trust-spotlight__scope-title,
  .infoptic-trust-spotlight__scope-title,
  .elementor .infoptic-trust-spotlight .infoptic-trust-spotlight__deliverables-title,
  .infoptic-trust-spotlight__deliverables-title {
    font-size: 1.25rem;
  }

  .infoptic-trust-spotlight__scope-desc {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .infoptic-trust-spotlight__bullets {
    gap: 10px;
  }

  .infoptic-trust-spotlight__bullet-item {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  .infoptic-trust-spotlight__quote-card {
    padding: 24px 20px 22px 20px;
    border-left-width: 10px;
  }

  .infoptic-trust-spotlight__quote-text p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .infoptic-trust-spotlight__author-name {
    font-size: 0.92rem;
  }

  .infoptic-trust-spotlight__author-title,
  .infoptic-trust-spotlight__author-company {
    font-size: 0.84rem;
  }
}

