/* ============================================
   OTHER SERVICES — THEME 17: BLUEPRINT & SAFETY EMBER
   ============================================ */

:root {
  /* ===== COLORS ===== */
  --ebosp20-section-services-bg: #F8FAFC;
  --ebosp20-section-other-bg: #FFFFFF;
  --ebosp20-title-color: #0F172A;
  --ebosp20-item-bg: #FFFFFF;
  --ebosp20-item-border-color: #CBD5E1;
  --ebosp20-item-shadow: 0 4px 12px rgba(15, 59, 108, 0.05);
  --ebosp20-item-link-color: #0F3B6C;
  --ebosp20-item-link-hover-color: #dc2626;
  --ebosp20-item-desc-color: #475569;

  /* ===== TYPOGRAPHY ===== */
  --ebosp20-title-font-size: 28px;
  --ebosp20-title-font-weight: 800;
  --ebosp20-title-margin-bottom: 18px;
  --ebosp20-item-link-font-weight: 700;
  --ebosp20-item-desc-font-size: 13px;

  /* ===== SPACING ===== */
  --ebosp20-section-padding: 48px 0;
  --ebosp20-container-padding: 0 20px;
  --ebosp20-container-max-width: 1200px;
  --ebosp20-list-gap: 16px;
  --ebosp20-item-padding: 12px;
  --ebosp20-item-desc-margin-top: 8px;

  /* ===== BORDER ===== */
  --ebosp20-item-border-radius: 22px;
  --ebosp20-item-border-width: 1px;

  /* ===== RESPONSIVE ===== */
  --ebosp20-list-columns-desktop: repeat(3, 1fr);
  --ebosp20-list-columns-tablet: repeat(2, 1fr);
  --ebosp20-list-columns-mobile: 1fr;
}

/* ===== SECTION ===== */
.ebosp20-section {
  padding: var(--ebosp20-section-padding);
}

.ebosp20-container {
  max-width: var(--ebosp20-container-max-width);
  margin: 0 auto;
  padding: var(--ebosp20-container-padding);
}

/* ===== TITLE ===== */
.ebosp20-title {
  font-size: var(--ebosp20-title-font-size);
  font-weight: var(--ebosp20-title-font-weight);
  margin-bottom: var(--ebosp20-title-margin-bottom);
  color: var(--ebosp20-title-color);
}

/* ===== GRID ===== */
.ebosp20-list {
  display: grid;
  grid-template-columns: var(--ebosp20-list-columns-desktop);
  gap: var(--ebosp20-list-gap);
}

/* ===== ITEM ===== */
.ebosp20-item {
  background: var(--ebosp20-item-bg);
  border: var(--ebosp20-item-border-width) solid var(--ebosp20-item-border-color);
  border-radius: var(--ebosp20-item-border-radius);
  padding: var(--ebosp20-item-padding);
  box-shadow: var(--ebosp20-item-shadow);
}

.ebosp20-item a {
  display: block;
  color: var(--ebosp20-item-link-color);
  text-decoration: none;
  font-weight: var(--ebosp20-item-link-font-weight);
}

.ebosp20-item p {
  margin: var(--ebosp20-item-desc-margin-top) 0 0;
  color: var(--ebosp20-item-desc-color);
  font-size: var(--ebosp20-item-desc-font-size);
}

.ebosp20-item a:hover {
  color: var(--ebosp20-item-link-hover-color);
}

/* ===== BACKGROUNDS ===== */
.ebosp20-services {
  background: var(--ebosp20-section-services-bg);
}

.ebosp20-other {
  background: var(--ebosp20-section-other-bg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .ebosp20-list {
    grid-template-columns: var(--ebosp20-list-columns-tablet);
  }
}

@media (max-width: 640px) {
  .ebosp20-list {
    grid-template-columns: var(--ebosp20-list-columns-mobile);
  }
}

@media (max-width: 768px) {
  .ebosp20-container { padding: 0 0.75rem !important; }
}
@media (max-width: 480px) {
  .ebosp20-container { padding: 0 0.625rem !important; }
}
@media (max-width: 380px) {
  .ebosp20-container { padding: 0 0.5rem !important; }
}


/* === MOBILE-COMPACT DISTRIBUTED: OTHER-SERVICES 480 === */
@media (max-width: 480px) {
  .ebosp20-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-inline: 0.75rem !important;
  }
}


/* === MOBILE-COMPACT DISTRIBUTED: OTHER-SERVICES 768 INLINE FIX === */
@media (max-width: 768px) {
  .ebosp20-container {
    padding-inline: 0.75rem !important;
  }
}


/* === MOBILE-COMPACT DISTRIBUTED: OTHER-SERVICES 380 INLINE FIX === */
@media (max-width: 380px) {
  .ebosp20-container {
    padding-inline: 0.5rem !important;
  }
}

/* ============================================================
   THEME 17 — OTHER SERVICES (BLUEPRINT SPEC MODULES)
   ============================================================ */
.ebosp20-section {
  background: #F8FAFC !important;
  border-bottom: 2px solid #CBD5E1 !important;
}

.ebosp20-title {
  color: #0F172A !important;
  font-weight: 900 !important;
  border-bottom: 2px solid #0F3B6C;
  display: inline-block;
  padding-bottom: 0.35rem;
}

.ebosp20-item {
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  border-top: 3px solid #0F3B6C !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(15, 59, 108, 0.04) !important;
  padding: 1.25rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ebosp20-item:hover {
  border-top-color: #dc2626 !important;
  border-color: #CBD5E1 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -4px rgba(15, 59, 108, 0.12) !important;
}

.ebosp20-item a {
  color: #0F172A !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
}

.ebosp20-item a:hover {
  color: #0F3B6C !important;
}

.ebosp20-item p {
  color: #475569 !important;
  line-height: 1.6 !important;
}

@media (prefers-reduced-motion: reduce) {
  .ebosp20-item {
    transform: none !important;
    transition: none !important;
  }
}

