/* =========================================================
   SToC Custom CSS
   Location: Appearance > Customise > Additional CSS
   ========================================================= */


/* =========================================================
   1. Logo Mark
   ========================================================= */

.stoc-logo-mark {
    width: 72px !important;
    height: 72px !important;
    border-radius: 18px !important;
    display: inline-block !important;
    background-image: url(/wp-content/uploads/2026/04/cropped-SToC-favicon.png) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: transparent !important;
    font-size: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.stoc-logo-subtitle {
    display: block;
    font-size: .8rem;
    color: var(--muted);
}

.stoc-logo-title {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}


/* =========================================================
   2. Homepage Hero Background
   ========================================================= */

.stoc-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      rgba(1, 3, 23, 0.2),
      rgba(1, 3, 23, 0.7)
    ),
    url("/wp-content/uploads/2026/04/lhr-apron.png") center center / cover no-repeat !important;
}

.stoc-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.stoc-hero p {
  color: #ffffff;
}

.stoc-index {
  display: block;
  color: #cbd5e1;
  font-size: 1.56rem;
  font-weight: 800;
}


/* =========================================================
   3. General Section Cards / Grids
   ========================================================= */

.stoc-home-section,
.stoc-latest-section {
  margin: 4rem 0;
}

.stoc-home-section h2,
.stoc-latest-section h2 {
  max-width: 850px;
  margin-bottom: 1rem;
}

.stoc-home-section p,
.stoc-latest-section p {
  max-width: 900px;
}

.stoc-feature-grid,
.stoc-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.stoc-feature-card,
.stoc-entry-card {
  border: 1px solid #d9e2ec;
  border-radius: 18px;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.stoc-feature-card h3,
.stoc-entry-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.stoc-entry-card h3 a {
  text-decoration: none;
}

.stoc-entry-meta,
.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #52616b;
  margin-bottom: 0.5rem;
}

.stoc-read-more {
  font-weight: 600;
  text-decoration: none;
}


.stoc-eyebrow {
    display: inline-flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .1);
    border-radius: 999px;
    padding: 8px 16px;
    color: #e2e8f0;
    font-size: 1.3rem;
    margin-bottom: 24px;
}


/* =========================================================
   4. Analysis Archive Hero
   IMPORTANT: This replaces the old global .stoc-heading background.
   Do not put background images directly on .stoc-heading.
   ========================================================= */

.stoc-analysis-hero {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 120px 0 110px !important;
  background:
    linear-gradient(
      rgba(1, 3, 23, 0.3),
      rgba(1, 3, 23, 0.3)
    ),
    url("/wp-content/uploads/2026/04/harbour.png") center center / cover no-repeat !important;
}

.stoc-analysis-hero .stoc-heading {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  background: transparent !important;
}

.stoc-analysis-hero .stoc-kicker {
  color: #d0d7e2 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.stoc-analysis-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 18px 0 22px;
}

.stoc-analysis-hero p {
  color: #cbcbcb !important;
  font-size: 1.45rem;
  max-width: 760px;
  margin: 0 auto;
}

/* Dedicated Analysis Hub kicker */
.stoc-analysis-kicker {
  display: inline-block;
  margin: 0 0 20px;
  padding: 10px;
  color: #ffffff !important;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0em;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.stoc-analysis-content {
  background: #ffffff !important;
  padding: 80px 0 100px;
}


/* =========================================================
   5. Standard Heading Styling
   Applies to normal .stoc-heading areas only
   ========================================================= */

.stoc-heading .stoc-kicker {
  color: #ffffff;
  font-size: 1.56rem;
  font-weight: 800;
}

.stoc-heading p {
  margin: 18px 0 0;
  color: #83a3d1;
  font-size: 1rem;
  line-height: 1.8;
}

.stoc-heading h1,
.stoc-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
}


/* =========================================================
   6. Footer CTA
   ========================================================= */

.stoc-footer-cta {
  background: #ffffff;
  padding: 80px 0 70px;
}

.stoc-footer-cta .stoc-container {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.stoc-footer-cta-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  padding: clamp(34px, 6vw, 70px);
  padding-left: max(24px, calc((100vw - 1180px) / 2)) !important;
  padding-right: max(24px, calc((100vw - 1180px) / 2)) !important;
  color: #ffffff;
  box-shadow: none;
  background:
    linear-gradient(
      rgba(1, 3, 23, 0.7),
      rgba(1, 3, 23, 0.3)
    ),
    url("/wp-content/uploads/2026/04/VS350.png") center center / cover no-repeat !important;
}

.stoc-footer-cta-box h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 14px 0 18px;
}

.stoc-footer-cta-box p {
  color: #d0d7e2;
  max-width: 720px;
}

.stoc-footer-cta-box .stoc-kicker {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #d0d7e2 !important;
  padding: 0 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.stoc-footer-cta-box .stoc-btn,
.stoc-footer-cta-box .stoc-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #05091b !important;
  border: 1px solid #ffffff !important;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  text-decoration: none;
}

.stoc-footer-cta-box .stoc-btn:hover,
.stoc-footer-cta-box .stoc-btn-light:hover {
  background: #f2f4f7 !important;
  color: #05091b !important;
}

.stoc-footer-cta-box .stoc-map-item {
  background: #2f3340 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 24px;
  padding: 28px;
  box-shadow: none !important;
  color: #ffffff;
}

.stoc-footer-cta-box .stoc-map-item h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.stoc-footer-cta-box .stoc-map-item ul {
  margin: 0;
  padding-left: 1.1rem;
}

.stoc-footer-cta-box .stoc-map-item li {
  color: #d0d7e2;
  margin-bottom: 10px;
}

.stoc-footer-cta-box .stoc-map-item a {
  color: #d0d7e2;
  text-decoration: none;
}

.stoc-footer-cta-box .stoc-map-item a:hover {
  color: #ffffff;
}


/* =========================================================
   7. Main Footer
   ========================================================= */

.stoc-footer {
  background: #000000 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 42px 0;
  color: #8b94a3;
}

.stoc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.stoc-footer-brand h3 {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-size: 1.1rem;
  line-height: 1.2;
}

.stoc-footer-brand p,
.stoc-footer-copy {
  color: #8b94a3 !important;
}

.stoc-footer-brand p {
  margin: 0;
}

.stoc-footer-copy {
  margin-top: 10px !important;
  font-size: 0.9rem;
}

.stoc-footer-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.stoc-footer-links,
.stoc-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.stoc-footer-links li,
.stoc-footer-menu li {
  margin: 0;
  padding: 0;
}

.stoc-footer-links a,
.stoc-footer-menu a {
  color: #8b94a3 !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.stoc-footer-links a:hover,
.stoc-footer-menu a:hover {
  color: #ffffff !important;
}


/* =========================================================
   8. Image Icons
   ========================================================= */

.stoc-icon-img {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
  display: block;
}

.stoc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* =========================================================
   9. Responsive Styling
   ========================================================= */

@media (max-width: 900px) {
  .stoc-feature-grid,
  .stoc-entry-grid {
    grid-template-columns: 1fr;
  }

  .stoc-footer-cta-box {
    grid-template-columns: 1fr;
  }

  .stoc-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stoc-footer-nav,
  .stoc-footer-links,
  .stoc-footer-menu {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .stoc-footer-cta {
    padding: 56px 0 48px;
  }

  .stoc-footer-cta-box {
    border-radius: 0 !important;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .stoc-footer-cta-box .stoc-map-item {
    border-radius: 20px;
    padding: 22px;
  }

  .stoc-footer {
    padding: 34px 0;
  }

  .stoc-footer-links,
  .stoc-footer-menu {
    gap: 10px 16px;
  }
}

.stoc-section .stoc-heading h1,
.stoc-section .stoc-heading h2,
.stoc-section .stoc-heading p {
  color: #05091b !important;
}

.stoc-section .stoc-heading .stoc-kicker {
  color: #6f7b8f !important;
}

/* Tighten letter spacing for "What this site does & aims to achieve" */
.stoc-section .stoc-heading .stoc-kicker {
  letter-spacing: 0.04em !important;
}

.stoc-forced-icon {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
  display: block;
}



/* Force Analysis Hub kicker colour */
.stoc-analysis-hero .stoc-analysis-kicker {
	font-size:40px;
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.stoc-analysis-hero h1 {
  letter-spacing: 0.01em !important;
	font-size:35px;
	
}

.stoc-analysis-intro {
  max-width: 980px !important;
  margin: 18px auto 0 !important;
  text-align: left !important;
  color: #d0d7e2 !important;
}

.stoc-analysis-hero p.stoc-analysis-intro-1 {
  max-width: 980px !important;
  margin: 1px auto 0 !important;
    min-height: 45px !important;
	line-height: 1.5 !important;
  text-align: left !important;
  color: #ffffff !important;
}



/* =========================================================
   Standard Single Post Layout
   Applies to all individual post pages
   ========================================================= */

.stoc-single-hero {
  background:
    linear-gradient(
      rgba(1, 3, 23, 0.58),
      rgba(1, 3, 23, 0.72)
    ),
    url("/wp-content/uploads/2026/04/harbour.png") center center / cover no-repeat !important;
  padding: 110px 0 100px;
  color: #ffffff;
}

.stoc-single-kicker {
  margin: 0 0 20px;
  color: #ffffff /*d0d7e2*/ !important;
  font-size: 1.82rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: none;
}

.stoc-single-title {
  max-width: 980px;
  margin: 0;
  color: #ffffff !important;
  font-size: clamp(5vw, 5rem);
  line-height: 1;
 /* letter-spacing: -0.04em;*/
}

.stoc-single-meta {
  margin: 22px 0 0;
  color: #d0d7e2 !important;
  font-size: 1rem;
  font-weight: 600;
}

.stoc-single-content-section {
  background: #ffffff;
  padding: 80px 0 100px;
}

.stoc-single-content {
  max-width: 920px;
  margin: 0 auto;
}

.stoc-single-featured-image {
  margin-bottom: 42px;
  border-radius: 24px;
  overflow: hidden;
}

.stoc-single-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.stoc-single-body {
      margin: -100px auto 0;
  color: #1f2937;
  font-size: 1.02rem;
  line-height: 1;
}

.stoc-single-body h2 {
  margin: 2.2em 0 0.7em;
  color: #05091b;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stoc-single-body h3 {
  margin: 2em 0 0.6em;
  color: #05091b;
  font-size: 1.45rem;
  line-height: 1.2;
}

.stoc-single-body p {
  margin: 0 0 1.25em;
}

.stoc-single-body a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.stoc-single-body a:hover,
.stoc-single-body a:focus {
  color: #0f172a;
  text-decoration-color: #0f172a;
}

.stoc-single-body a:focus {
  outline: 2px solid rgba(29, 78, 216, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

.stoc-single-body ul,
.stoc-single-body ol {
  margin: 0 0 1.5em 1.3em;
  padding: 0;
}

.stoc-single-body li {
  margin-bottom: 0.65em;
}

.stoc-single-body blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border-left: 5px solid #010317;
  background: #f5f7fa;
  color: #1f2937;
  border-radius: 14px;
}

.stoc-single-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
}

.stoc-single-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #5f6e82;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 700px) {
  .stoc-single-hero {
    padding: 80px 0 70px;
  }

  .stoc-single-content-section {
    padding: 56px 0 72px;
  }

  .stoc-single-body {
    font-size: 1rem;
  }
}

h1 {
    display: block;
  letter-spacing: 0.01em !important;

    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}



.stoc-feature-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.stoc-feature-card-link h3,
.stoc-feature-card-link p {
  color: inherit;
  text-decoration: none;
}

.stoc-feature-card-link:hover {
  transform: translateY(-4px);
}

.stoc-feature-card-link:hover h3 {
  text-decoration:underline;
  text-underline-offset: 3px;
}


.stoc-inline-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.stoc-inline-buttons .stoc-btn {
  margin: 0;
}
.stoc-inline-buttons {
  justify-content: flex-start;
}






.stoc-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
background:
    linear-gradient(135deg, #e4e8ee 0%, #d2d8e1 55%, #c3cbd6 100%);
  color: #05091b !important;

  border: 1px solid #d7dde6;
  border-radius: 999px;

  padding: 13px 24px;
  font-weight: 600;
  text-decoration: none;

  box-shadow:
    0 8px 18px rgba(1, 3, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.stoc-btn-light:hover,
.stoc-btn-light:focus {
  background:
    linear-gradient(135deg, #ffffff 0%, #edf1f5 55%, #dde4ec 100%);
  color: #05091b !important;

  transform: translateY(-0px);

  box-shadow:
    0 12px 24px rgba(1, 3, 23, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.stoc-btn-light:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgba(1, 3, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.stoc-btn-light-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 190px;
  padding: 13px 36px;

  background:
    linear-gradient(135deg, #e4e8ee 0%, #d2d8e1 55%, #c3cbd6 100%);
  color: #05091b !important;

  border: 1px solid #d7dde6;
  border-radius: 999px;

  font-weight: 600;
  text-decoration: none;

  box-shadow:
    0 8px 18px rgba(1, 3, 23, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}





.stoc-analysis-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
  align-items: center;
}

.stoc-analysis-controls .stoc-input,
.stoc-analysis-controls .stoc-select {
  min-height: 46px;
  border: 1px solid #d7dde6;
  border-radius: 999px;
  padding: 0 16px;
  background: #ffffff;
  color: #05091b;
  font-size: 0.95rem;
}

.stoc-analysis-controls .stoc-input {
  flex: 1 1 280px;
}

.stoc-analysis-controls .stoc-select {
  flex: 0 1 220px;
}

.stoc-analysis-sort-item {
  display: block;
}

@media (max-width: 700px) {
  .stoc-analysis-controls {
    display: grid;
  }

  .stoc-analysis-controls .stoc-input,
  .stoc-analysis-controls .stoc-select {
    width: 100%;
  }
}


.stoc-analysis-hero-with-image {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f172a;
}

.stoc-single-hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stoc-single-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.stoc-analysis-hero-with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.25) 0%,
    rgba(15, 23, 42, 0.75) 80%,
    rgba(15, 23, 42, 0.95) 100%
  );
}

.stoc-analysis-hero-with-image .stoc-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.stoc-single-hero-content {
  max-width: 980px;
  padding: 120px 0 70px;
}

.stoc-analysis-hero-with-image .stoc-single-kicker,
.stoc-analysis-hero-with-image .stoc-single-title,
.stoc-analysis-hero-with-image .stoc-single-meta {
  color: #fff;
}

.stoc-analysis-hero-with-image .stoc-single-kicker {
  color: #facc15;
}

@media (max-width: 768px) {
  .stoc-analysis-hero-with-image {
    min-height: 340px;
  }

  .stoc-single-hero-content {
    padding: 90px 0 45px;
  }
}

.stoc-analysis-single-page .stoc-single-hero-content {
  padding-left: 164px;
  padding-right: 64px;
}




.stoc-single-navigation-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.stoc-single-navigation-inline .stoc-btn,
.stoc-single-navigation-inline .stoc-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .stoc-single-navigation-inline {
    justify-content: flex-start;
    gap: 10px;
  }
}

.stoc-radar-scores {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 0;
  padding: 20px;
  border-radius: 24px;
  background: #f8fafc;
  border: 2px solid rgba(15, 23, 42, 0.08);
  clear: both;
  position: relative;
  z-index: 1;
}

.stoc-radar-scores h2 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.stoc-radar-score-item {
  margin-bottom: 15px;
}

.stoc-radar-score-item:last-child {
  margin-bottom: 0;
}

.stoc-radar-score-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.stoc-radar-score-item p {
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: #111827;
}

.stoc-corrective-actions {
  width: 100%;
  max-width: 900px;
  margin: 32px auto 0;
  padding: 20px;
  border-radius: 24px;
  background: #f8fafc;
  border: 2px solid rgba(15, 23, 42, 0.08);
}

.stoc-corrective-actions h2 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.stoc-corrective-actions-body {
  margin: 0;
}

.stoc-corrective-actions-body p {
  margin: 0 0 15px;
  font-size: 19px;
  line-height: 1.75;
  color: #111827;
}

.stoc-corrective-actions-body p:last-child {
  margin-bottom: 0;
}

.stoc-analysis-filter-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0;
  display: block;
  visibility: visible;
  opacity: 1;
}

.stoc-analysis-filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 220px auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 28px;
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.stoc-analysis-filter-bar input,
.stoc-analysis-filter-bar select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.stoc-analysis-filter-bar input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.stoc-search-submit {
  min-height: 54px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .stoc-analysis-filter-bar {
    grid-template-columns: 1fr;
  }
}

.stoc-radar-dashboard {
  max-width: 1300px;
  margin: 40px auto;
  padding: 32px;
  background: #ffffff;
  color: #071a3d;
  font-family: Arial, Helvetica, sans-serif;
}

.stoc-radar-header {
  text-align: center;
  margin-bottom: 28px;
}

.stoc-radar-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  color: #061633;
  font-weight: 800;
}

.stoc-radar-header p {
  margin: 12px 0 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-style: italic;
  color: #22304f;
}

.stoc-radar-layout {
  display: grid;
  
  gap: 40px;
  align-items: start;
}

.stoc-radar-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Use this to edit the radar diagram - max-wdith changes the size */
/* For the javascript - edit: */
/* const size = 700; */
/* const centre = size / 2; */
/* const radius = 280; */

.stoc-radar-chart {
  width: 100%;
  max-width: 450px;
  /* margin-left: auto;
  margin-right: auto;
  display: block; */
}

.stoc-radar-svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}

.stoc-radar-axis-label {
  font-size: 20px;
  font-weight: 800;
  fill: #111827;
}

.stoc-radar-scale {
  font-size: 20px;
  font-weight: 800;
  fill: #111827;
}

.stoc-radar-value {
  font-size: 21px;
  font-weight: 800;
  fill: #003d82;
  paint-order: stroke;
  stroke: #ffffff;
  stroke-width: 5px;
  stroke-linejoin: round;
}

.stoc-radar-note {
  width: 80%;
  margin-top: 12px;
  padding: 14px 18px;
  border: 2px solid #003d82;
  border-radius: 8px;
  display: flex;
  gap: 18px;
  align-items: center;
  background: #ffffff;
}

.stoc-radar-note p {
  margin: 2px 0;
  font-size: 1rem;
}

.stoc-target-icon {
  font-size: 3rem;
  line-height: 1;
  color: #003d82;
}
.stoc-radar-legend {
     margin: 10px auto 0;
    width: fit-content;
    max-width: 100%;
    margin: 80px auto 0;
    padding: 8px 18px;
    border: 1px solid #b5b5b5;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    background: #ffffff;
    font-size: 0.82rem;
    text-align: center;
.stoc-radar-legend span,
.stoc-radar-legend div,
.stoc-radar-legend li 
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
      display: inline-flex;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.stoc-radar-legend-1 {
  width: 750px;
  margin-top: 14px;
  padding: 5px;
  border: 1px solid #b5b5b5;
  border-radius: 18px;
  display: inline-flex;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: #ffffff;
  font-size: 0.82rem;
}


.stoc-radar-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stoc-radar-legend i {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  display: inline-block;
  flex: 0 0 auto;
}

.stoc-radar-legend .red {
  background: #f94144;
}

.stoc-radar-legend .orange {
  background: #ff9f43;
}

.stoc-radar-legend .yellow {
  background: #ffe45c;
}

.stoc-radar-legend .green {
  background: #7ed957;
}

.stoc-radar-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stoc-process-box,
.stoc-priority-box {
  border: 1px solid #94a3b8;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.stoc-process-box h2,
.stoc-priority-box h2 {
  margin: 0;
  padding: 12px 16px;
  background: #003d82;
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem;
}

.stoc-process-row {
  display: grid;
  grid-template-columns: 56px 1fr 44px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #cbd5e1;
  gap: 14px;
}

.stoc-process-row:last-child {
  border-bottom: 0;
}

.stoc-process-row span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #061633;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
}

.stoc-process-row strong {
  font-size: 1.1rem;
  color: #111827;
}

.stoc-process-row b {
  font-size: 2rem;
  color: #003d82;
}

.stoc-priority-row {
  display: grid;
  grid-template-columns: 72px 170px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #cbd5e1;
}

.stoc-priority-row:last-child {
  border-bottom: 0;
}

.stoc-priority-icon {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
}

.stoc-priority-row h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.stoc-priority-row p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: #111827;
}

.stoc-priority-row.critical h3 {
  color: #e31b23;
}

.stoc-priority-row.critical .stoc-priority-icon {
  background: #e31b23;
}

.stoc-priority-row.high-critical h3 {
  color: #f04e23;
}

.stoc-priority-row.high-critical .stoc-priority-icon {
  background: #f04e23;
}

.stoc-priority-row.high h3 {
  color: #f97316;
}

.stoc-priority-row.high .stoc-priority-icon {
  background: #f97316;
}

.stoc-radar-footer {
  margin-top: 32px;
  padding: 20px 28px;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  background: #fff7df;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #061633;
}

.stoc-radar-footer span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #061633;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.stoc-radar-footer strong {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.1;
}

@media (max-width: 980px) {
  .stoc-radar-layout {
    grid-template-columns: 1fr;
  }

  .stoc-radar-legend {
    grid-template-columns: 1fr 1fr;
  }

  .stoc-priority-row {
    grid-template-columns: 60px 1fr;
  }

  .stoc-priority-row p {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .stoc-radar-dashboard {
    padding: 20px;
  }

  .stoc-radar-axis-label {
    font-size: 17px;
  }

  .stoc-radar-scale,
  .stoc-radar-value {
    font-size: 18px;
  }

  .stoc-radar-legend {
    grid-template-columns: 1fr;
  }

  .stoc-radar-note {
    width: 100%;
  }

  .stoc-process-row {
    grid-template-columns: 46px 1fr 30px;
    padding: 14px;
  }

  .stoc-radar-footer {
    flex-direction: column;
    text-align: center;
  }
}
.stoc-line {
  border: 0;
  height: 1px;
  background: #d1d5db;
  margin: 28px 0;
}

/* Header logo sizing */
.stoc-brand,
.stoc-brand a,
.site-branding,
.site-branding a {
  display: inline-flex;
  align-items: center;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}

.stoc-brand img,
.site-branding img,
.custom-logo {
  width: 320px !important;
  height: 320px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  display: block;
}

.stoc-analysis-filter-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 48px;
  display: block;
}

.stoc-analysis-filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 220px auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 28px;
  background: #f8fafc;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.stoc-analysis-filter-bar input,
.stoc-analysis-filter-bar select {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
}

.stoc-analysis-filter-bar input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.stoc-search-submit {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #05091b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.stoc-search-submit:hover,
.stoc-search-submit:focus {
  background: #1d4ed8;
}

@media (max-width: 980px) {
  .stoc-analysis-filter-bar {
    grid-template-columns: 1fr;
  }
}

/* Force top-left header logo/brand size */
header a img,
.site-header a img,
.stoc-header a img,
.stoc-navbar a img,
.stoc-nav a img {
  width: 360px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
}

/* Stop the header container from clipping the larger logo */
header,
.site-header,
.stoc-header,
.stoc-navbar,
.stoc-nav {
  height: auto !important;
  min-height: 110px !important;
  overflow: visible !important;
  align-items: center !important;
}

.stoc-post-card-no-image .stoc-card-pad {
  padding-top: 28px;
}

.stoc-post-thumb {
  display: none !important;
}

.stoc-post-thumb {
  display: none !important;
}

.stoc-corrective-actions
.stoc-corrective-actions h2
.stoc-corrective-action-item
.stoc-corrective-action-item h3
.stoc-corrective-action-item p