/**
 * Cognix Press Publisher — frontend custom overrides.
 */

/* Quick-access link cards (Home page) — the theme's .services-item
   wasn't designed to be a full clickable <a>, this keeps hover/cursor
   behavior sane once wrapped in a link. */
.services-item.rs-animation-hover {
  cursor: pointer;
  text-decoration: none;
}
.services-item.rs-animation-hover:hover .services-title {
  color: inherit;
}

/* Toolbar: darker blue background, pure white text (theme default is
   #00bcd4 with slightly off-white icon/text colors). */
.home5 .rs-toolbar .welcome-message,
.home5 .rs-toolbar .welcome-message i,
.home5 .rs-toolbar .welcome-message a {
  font-size: 17px;
  color:#1a2b42;
}

/* Hero slider: 25% shorter than the image's native aspect ratio
   (1920x794 -> effective 1920x595.5). Using aspect-ratio (not a fixed
   pixel height) so this stays a true 25% cut at every screen width,
   not just when the browser happens to be exactly 1920px wide. */
#rs-slider .item,
#rs-slider .owl-item {
  aspect-ratio: 1920 / 595.5;
  overflow: hidden;
}
#rs-slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Breadcrumbs: compact dark bar — title left, path right. */
.rs-breadcrumbs.bg7 {
  background-image: none !important;
  background-color: #3f8d18  !important;
  padding: 35px 0;
  min-height: auto;
}
.rs-breadcrumbs .breadcrumbs-inner {
  padding: 0;
}
.rs-breadcrumbs .breadcrumbs-inner .container .row {
  display: flex;
  align-items: center;
}
.rs-breadcrumbs .breadcrumbs-inner .col-md-12 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left !important;
}
.rs-breadcrumbs .page-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.rs-breadcrumbs .breadcrumbs-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
}
.rs-breadcrumbs .breadcrumbs-inner ul li {
  color: rgba(255, 255, 255, 0.7);
}
.rs-breadcrumbs .breadcrumbs-inner ul li a {
  color: #ffffff;
  text-decoration: none;
}
.rs-breadcrumbs .breadcrumbs-inner ul li a:hover {
  color: rgba(255, 255, 255, 0.8);
}
/* -----------------------------------------------------------
   BREADCRUMB SEPARATOR
   
   The theme creates "//" using two rotated 2px bars on
   a::before and a::after. We KEEP those as-is.
   Only kill li-level pseudo-elements to prevent any extra
   separators from appearing.
   ----------------------------------------------------------- */

/* Kill any li-level pseudo-elements that might add extra slashes */
.rs-breadcrumbs .breadcrumbs-inner ul li::after {
  display: none !important;
}
.rs-breadcrumbs .breadcrumbs-inner ul li::before {
  display: none !important;
  content: none !important;
}

/* Kill the dark overlay the theme puts on .breadcrumbs-overlay */
.rs-breadcrumbs.breadcrumbs-overlay::before,
.rs-breadcrumbs.breadcrumbs-overlay::after {
  display: none !important;
}

/* Visible divider between every Home page section — without this,
   two adjacent sections with the same background (e.g. Quick Links
   and About Us are both plain white) have no visual boundary at all. */
.rs-services,
#rs-about,
.rs-counter,
#rs-products,
#rs-team,
#rs-latest-news {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Quick-link cards: .services-title itself is white per the theme's
   own CSS, but the nested <a> (needed to make the title clickable)
   has its own link-color rule that overrides the inherited white,
   producing low-contrast text against each card's colored background. */
.home5 .rs-services-style1 .services-item .services-desc .services-title a {
  color: #ffffff;
}

/* Service cards (Home page) — left colored border, rounded-square
   icon, colored title, description. Each card gets its own accent
   color via .cognix-sc-N modifier classes cycling through the palette. */
.cognix-service-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid #ccc;
  border-radius: 6px;
  padding: 18px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cognix-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.cognix-service-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cognix-service-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  line-height: 40px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  color: #fff;
}
.cognix-service-title {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}
.cognix-service-desc {
  font-size: 12.5px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Color palette — 6 distinct accents cycling across cards */
.cognix-sc-1 { border-left-color: #f7941d; }
.cognix-sc-1 .cognix-service-icon { background: #f7941d; }
.cognix-sc-1 .cognix-service-title { color: #f7941d; }

.cognix-sc-2 { border-left-color: #2196f3; }
.cognix-sc-2 .cognix-service-icon { background: #2196f3; }
.cognix-sc-2 .cognix-service-title { color: #2196f3; }

.cognix-sc-3 { border-left-color: #4caf50; }
.cognix-sc-3 .cognix-service-icon { background: #4caf50; }
.cognix-sc-3 .cognix-service-title { color: #4caf50; }

.cognix-sc-4 { border-left-color: #9c27b0; }
.cognix-sc-4 .cognix-service-icon { background: #9c27b0; }
.cognix-sc-4 .cognix-service-title { color: #9c27b0; }

.cognix-sc-5 { border-left-color: #e91e63; }
.cognix-sc-5 .cognix-service-icon { background: #e91e63; }
.cognix-sc-5 .cognix-service-title { color: #e91e63; }

.cognix-sc-6 { border-left-color: #ff5722; }
.cognix-sc-6 .cognix-service-icon { background: #ff5722; }
.cognix-sc-6 .cognix-service-title { color: #ff5722; }

/* Journal cards (Home page) — compact cards inside an owl-carousel,
   5 visible at a time. Cover, title, scope snippet, ISSN badge,
   footer with discipline/frequency/year stats. */
.cognix-jcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cognix-jcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}
.cognix-jcard-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0f0f0;
}
.cognix-jcard-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cognix-jcard-issn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #0a2540;
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.cognix-jcard-footer {
  display: flex;
  justify-content: space-around;
  padding: 10px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafbfc;
}
.cognix-jcard-stat {
  text-align: center;
  font-size: 11px;
  color: #666;
}
.cognix-jcard-stat i {
  display: block;
  font-size: 14px;
  color: #0a2540;
  margin-bottom: 2px;
}
.cognix-journal-btn-outline {
  display: inline-block;
  background: transparent;
  color: #0a2540;
  border: 2px solid #0a2540;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.cognix-journal-btn-outline:hover {
  background: #0a2540;
  color: #fff;
  text-decoration: none;
}

/* Book cards (Home page) — same visual pattern as journal cards:
   cover with ISBN overlay, footer stats row. */
.cognix-bcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cognix-bcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}
.cognix-bcard-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f0f0f0;
}
.cognix-bcard-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cognix-bcard-isbn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #0a2540;
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.cognix-bcard-footer {
  display: flex;
  justify-content: space-around;
  padding: 10px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fafbfc;
}
.cognix-bcard-stat {
  text-align: center;
  font-size: 11px;
  color: #666;
}
.cognix-bcard-stat i {
  display: block;
  font-size: 14px;
  color: #0a2540;
  margin-bottom: 2px;
}
.cognix-bcard-body {
  padding: 12px 14px 6px;
  flex-grow: 1;
}
.cognix-bcard-title {
  font-weight: 700;
  font-size: 13px;
  color: #1a2b42;
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cognix-bcard-author {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* Our Journals list page — lapinpress.com pattern: cover left,
   info right, 2 per row, arrow-bulleted meta, Quick Links row */
.cognix-jl-card {
  display: flex;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.2s ease;
}
.cognix-jl-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.cognix-jl-cover {
  flex: 0 0 160px;
  width: 160px;
  height: 210px;
  overflow: hidden;
  background: #f5f5f5;
}
.cognix-jl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cognix-jl-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 210px;
}
.cognix-jl-title {
  font-weight: 700;
  font-size: 16px;
  color: #1a2b42;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cognix-jl-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
  color: #333;
  line-height: 2;
}
.cognix-jl-meta .arrow {
  color: #e65100;
  font-weight: 700;
  margin-right: 4px;
}
.cognix-jl-meta strong {
  color: #c62828;
}
.cognix-jl-links {
  font-size: 13px;
  color: #555;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cognix-jl-links .cognix-jl-btn {
  display: inline-block;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cognix-jl-links .cognix-jl-btn-filled {
  background: #1a2b42;
  color: #fff;
  border: 2px solid #1a2b42;
}
.cognix-jl-links .cognix-jl-btn-filled:hover {
  background: transparent;
  color: #1a2b42;
}
.cognix-jl-links .cognix-jl-btn-outline {
  background: transparent;
  color: #1a2b42;
  border: 2px solid #1a2b42;
}
.cognix-jl-links .cognix-jl-btn-outline:hover {
  background: #1a2b42;
  color: #fff;
}
@media (max-width: 480px) {
  .cognix-jl-card { flex-direction: column; }
  .cognix-jl-cover { flex: none; width: 100%; height: 200px; }
  .cognix-jl-info { min-height: auto; }
}

/* Book detail page — akinik.com pattern */
.cognix-bd-cover {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}
.cognix-bd-cover img {
  width: 100%;
  height: auto;
}
.cognix-bd-title {
  font-weight: 700;
  color: #1a2b42;
  margin: 0 0 20px;
}
.cognix-bd-table {
  font-size: 15px;
}
.cognix-bd-table th {
  width: 160px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}
.cognix-bd-price-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 8px;
}
.cognix-bd-amount {
  font-size: 28px;
  font-weight: 700;
  color: #0a2540;
}
.cognix-bd-amount-alt {
  font-size: 16px;
  color: #888;
}

/* Services grid — 5 per row on desktop */
.cognix-svc-row {
  display: flex;
  flex-wrap: wrap;
}
.cognix-svc-col {
  flex: 0 0 20%;
  max-width: 20%;
}
@media (max-width: 991px) {
  .cognix-svc-col { flex: 0 0 33.333%; max-width: 33.333%; }
}
@media (max-width: 767px) {
  .cognix-svc-col { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 480px) {
  .cognix-svc-col { flex: 0 0 100%; max-width: 100%; }
}

/* ==========================================================
   Guidelines Page — colorful section cards, badges, callouts
   ========================================================== */

/* Sidebar nav */
.cognix-gl-nav .list-group-item { font-size: 14px; padding: 12px 16px; border-left: 3px solid transparent; }
.cognix-gl-nav .list-group-item i { margin-right: 8px; width: 16px; text-align: center; }
.cognix-gl-nav .list-group-item.active { background: #355078; border-color: #355078; color: #fff; }

/* Hero banner at top of each guide */
.cognix-gl-hero {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px; border-radius: 10px; margin-bottom: 24px; color: #fff;
}
.cognix-gl-hero h3 { margin: 0 0 6px; color: #fff; font-size: 22px; }
.cognix-gl-hero p { margin: 0; opacity: 0.9; font-size: 14px; }
.cognix-gl-hero-blue { background: linear-gradient(135deg, #2196f3, #1565c0); }
.cognix-gl-hero-green { background: linear-gradient(135deg, #4caf50, #2e7d32); }
.cognix-gl-hero-purple { background: linear-gradient(135deg, #9c27b0, #6a1b9a); }
.cognix-gl-hero-orange { background: linear-gradient(135deg, #ff9800, #e65100); }

/* Section cards — clean white, subtle shadow, alternating bg */
.cognix-gl-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px; padding: 22px 26px; margin-bottom: 20px;
  border-left: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cognix-gl-card:nth-child(even) {
  background: #f8f9fb;
}
.cognix-gl-card h5 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 17px; }
.cognix-gl-orange, .cognix-gl-blue, .cognix-gl-green, .cognix-gl-red, .cognix-gl-purple {
  border-left: none !important;
}

/* Numbered badge */
.cognix-gl-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  font-size: 13px; font-weight: 700; color: #fff;
}
.cognix-gl-badge.orange { background: #f7941d; }
.cognix-gl-badge.blue { background: #2196f3; }
.cognix-gl-badge.green { background: #4caf50; }
.cognix-gl-badge.red { background: #e53935; }
.cognix-gl-badge.purple { background: #9c27b0; }

/* Format spec grid */
.cognix-gl-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.cognix-gl-item {
  flex: 1 1 calc(50% - 12px); min-width: 200px;
  padding: 10px 14px; background: #f8f9fa; border-radius: 6px; font-size: 14px;
}
.cognix-gl-item i { color: #2196f3; margin-right: 8px; width: 16px; }

/* Inline step pills (manuscript structure) */
.cognix-gl-steps-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.cognix-gl-steps-inline span {
  background: #e8eaf6; color: #1a2b42; font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px;
}

/* Example callout */
.cognix-gl-example {
  background: #fff8e1; border-left: 3px solid #ffc107;
  padding: 12px 16px; border-radius: 0 6px 6px 0;
  font-size: 13px; margin-top: 12px;
}

/* Big callout box (benefits, timeline) */
.cognix-gl-callout {
  background: linear-gradient(135deg, #e8f5e9, #e3f2fd);
  border-radius: 10px; padding: 24px 28px; margin-bottom: 20px;
}
.cognix-gl-callout h5 { margin: 0 0 14px; color: #1a2b42; }
.cognix-gl-callout h5 i { color: #f7941d; margin-right: 8px; }

/* Benefits row */
.cognix-gl-benefits { display: flex; flex-wrap: wrap; gap: 12px; }
.cognix-gl-benefits span {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
}
.cognix-gl-benefits span i { color: #2196f3; margin-right: 6px; }

/* Icon list items */
.cognix-gl-icon-item {
  padding: 10px 14px; font-size: 14px; line-height: 1.6;
  background: #f8f9fb; border-radius: 8px; margin-bottom: 8px;
}
.cognix-gl-icon-item i { color: #355078; width: 20px; margin-right: 10px; }

/* Numbered steps (editorial process) */
.cognix-gl-numbered-steps { display: flex; flex-direction: column; gap: 0; }
.cognix-gl-card .cognix-gl-numbered-steps .cognix-gl-step {
  display: flex; align-items: center; gap: 14px;
  font-size: 16px; color: #000 !important;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cognix-gl-card .cognix-gl-numbered-steps .cognix-gl-step:last-child { border-bottom: none; }
.cognix-gl-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
  background: #4caf50; color: #fff; font-weight: 700; font-size: 14px;
}

/* Evaluation criteria grid */
.cognix-gl-criteria { display: flex; flex-wrap: wrap; gap: 12px; }
.cognix-gl-criterion {
  flex: 1 1 calc(33.33% - 12px); min-width: 140px; text-align: center;
  padding: 16px 10px; background: #f8f9fa; border-radius: 8px; font-size: 13px;
}
.cognix-gl-criterion-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: 8px;
  color: #fff; font-size: 18px;
}
.cognix-gl-criterion-icon.blue { background: #2196f3; }
.cognix-gl-criterion-icon.green { background: #4caf50; }
.cognix-gl-criterion-icon.orange { background: #ff9800; }
.cognix-gl-criterion-icon.red { background: #e53935; }
.cognix-gl-criterion-icon.purple { background: #9c27b0; }

/* Review outcomes */
.cognix-gl-outcomes { display: flex; flex-wrap: wrap; gap: 12px; }
.cognix-gl-outcome {
  flex: 1 1 calc(25% - 12px); min-width: 130px; text-align: center;
  padding: 16px 10px; border-radius: 8px; font-size: 13px;
}
.cognix-gl-outcome i { font-size: 24px; display: block; margin-bottom: 8px; }
.cognix-gl-outcome.accept { background: #e8f5e9; color: #2e7d32; }
.cognix-gl-outcome.minor { background: #e3f2fd; color: #1565c0; }
.cognix-gl-outcome.major { background: #fff3e0; color: #e65100; }
.cognix-gl-outcome.reject { background: #ffebee; color: #c62828; }

/* ==========================================================
   About Page
   ========================================================== */

/* 5-column icon strip — top of page */
.cognix-about-strip { padding: 40px 0 20px; background: #f8f9fb; }
.cognix-about-strip-item { text-align: center; }
.cognix-about-strip-item h6 { font-weight: 700; color: #1a2b42; margin: 12px 0 6px; font-size: 15px; }
.cognix-about-strip-item p { font-size: 13px; color: #666; line-height: 1.5; margin: 0; }
.cognix-about-strip-icon {
  width: 64px; height: 64px; line-height: 64px; border-radius: 50%;
  margin: 0 auto; font-size: 24px; color: #fff;
}
.cognix-about-strip-icon.blue { background: #1565c0; }
.cognix-about-strip-icon.orange { background: #e65100; }
.cognix-about-strip-icon.green { background: #2e7d32; }
.cognix-about-strip-icon.purple { background: #7b1fa2; }
.cognix-about-strip-icon.teal { background: #00838f; }

/* Alternating section with light bg */
.cognix-about-section-alt {
  background: #f8f9fb; border-radius: 12px; padding: 24px 28px;
}
.cognix-about-section-alt p { text-align: justify; }

/* Big circle icon for Purpose / Ethics sections */
.cognix-about-circle-icon {
  width: 80px; height: 80px; line-height: 80px; border-radius: 50%;
  font-size: 32px; color: #fff; display: inline-block;
}
.cognix-about-circle-icon.orange-bg { background: #e65100; }
.cognix-about-circle-icon.green-bg { background: #2e7d32; }

/* Publication type items */
.cognix-about-pub-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #f8f9fb; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #333;
}
.cognix-about-pub-icon {
  width: 32px; height: 32px; min-width: 32px; line-height: 32px;
  border-radius: 8px; text-align: center; color: #fff; font-size: 14px;
}
.cognix-about-pub-icon.blue { background: #1565c0; }
.cognix-about-pub-icon.orange { background: #e65100; }
.cognix-about-pub-icon.green { background: #2e7d32; }
.cognix-about-pub-icon.purple { background: #7b1fa2; }
.cognix-about-pub-icon.teal { background: #00838f; }

/* Mission tiles — 5 across */
.cognix-about-mission-tile {
  text-align: center; background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px; padding: 20px 14px; height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cognix-about-mission-tile:hover {
  transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.cognix-about-mission-tile p { font-size: 13px; color: #555; margin: 0; line-height: 1.6; }
.cognix-about-mission-tile-icon {
  width: 48px; height: 48px; line-height: 48px; border-radius: 50%;
  margin: 0 auto 12px; font-size: 20px; color: #fff;
}
.cognix-about-mission-tile-icon.blue { background: #1565c0; }
.cognix-about-mission-tile-icon.orange { background: #e65100; }
.cognix-about-mission-tile-icon.green { background: #2e7d32; }
.cognix-about-mission-tile-icon.purple { background: #7b1fa2; }
.cognix-about-mission-tile-icon.teal { background: #00838f; }

/* Closing section */
.cognix-about-closing {
  text-align: center; background: #355078; color: #fff;
  border-radius: 12px; padding: 40px 30px;
}
.cognix-about-closing i { font-size: 36px; margin-bottom: 14px; display: block; opacity: 0.8; }
.cognix-about-closing h4 { color: #fff; margin: 0 0 12px; }
.cognix-about-closing p { max-width: 700px; margin: 0 auto; opacity: 0.9; font-size: 15px; line-height: 1.7; text-align: justify; }

/* Site-wide: pure black for body text in content areas only.
   Deliberately NOT applied to nav, footer, buttons, hero banners
   or anything with a colored background. */
.sec-spacer p,
.sec-spacer li,
.sec-spacer td,
.cognix-gl-page p,
.cognix-gl-page li,
.cognix-gl-icon-item,
.cognix-gl-step,
.cognix-jl-meta,
.cognix-jl-title,
.cognix-bd-table td,
.cognix-bd-table th {
  color: #000 !important;
}

/* Editorial Process — visual timeline with left connecting line */
.cognix-process-timeline {
  position: relative;
  padding-left: 20px;
}
.cognix-process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #e0e0e0;
}
.cognix-process-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.cognix-process-num {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(76,175,80,0.35);
}
.cognix-process-text {
  padding-top: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #000;
  line-height: 1.6;
}

/* Editorial process — simple row cards matching the screenshot style */
.cognix-step-rows { display: flex; flex-direction: column; gap: 10px; }
.cognix-step-row {
  display: flex; align-items: center; gap: 14px;
  background: #f5f6fa; border-radius: 8px; padding: 14px 18px;
  font-size: 15px; color: #000; font-weight: 500;
}
.cognix-step-row i { font-size: 18px; color: #355078; min-width: 22px; text-align: center; }

/* Contact page — map left, form right */
.cognix-contact-map-wrap {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.cognix-contact-info-strip {
  background: #355078;
  border-radius: 0 0 10px 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cognix-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #fff;
}
.cognix-contact-info-item i {
  font-size: 16px;
  margin-top: 3px;
  color: rgba(255,255,255,0.8);
  min-width: 18px;
}
.cognix-contact-info-item strong {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
.cognix-contact-info-item p,
.cognix-contact-info-item a {
  margin: 0;
  font-size: 14px;
  color: #fff !important;
  text-decoration: none;
  line-height: 1.5;
}
.cognix-contact-form-wrap {
  background: #f8f9fb;
  border-radius: 10px;
  padding: 30px 28px;
  height: 100%;
}
.cognix-contact-form-wrap h4 {
  color: #1a2b42;
  font-weight: 700;
}
.cognix-contact-input {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  background: #fff;
  color: #000;
}
.cognix-contact-input:focus {
  border-color: #355078;
  box-shadow: 0 0 0 3px rgba(53,80,120,0.12);
  outline: none;
}

/* ======================================================
   Contact Page
   ====================================================== */
.cognix-contact-map {
  flex: 1;
  min-height: 280px;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.cognix-contact-map iframe {
  width: 100%; height: 100%; display: block; min-height: 280px;
}
.cognix-contact-info-strip {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(0,0,0,0.08); border-radius: 10px;
  overflow: hidden; margin-top: 16px;
}
.cognix-contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.cognix-contact-info-item:last-child { border-bottom: none; }
.cognix-contact-info-item i {
  font-size: 20px; color: #355078; margin-top: 3px; min-width: 20px;
}
.cognix-contact-info-item strong { display: block; color: #1a2b42; margin-bottom: 2px; }
.cognix-contact-info-item span { font-size: 14px; color: #000; }
.cognix-contact-info-item a { color: #000; text-decoration: none; }
.cognix-contact-info-item a:hover { color: #355078; }

.cognix-contact-form-box {
  background: #fff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px; padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); height: 100%;
}
.cognix-contact-form-box h3 { color: #1a2b42; margin-bottom: 6px; }
.cognix-contact-form-box p { color: #555; font-size: 14px; margin-bottom: 20px; }
.cognix-contact-form-box .form-control {
  border-radius: 6px; padding: 12px 14px; font-size: 14px;
}
