.ec-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem;
}

.ec-page-header {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 0;
}

.ec-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
}

.ec-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ec-header-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.ec-titles h1 {
  margin: 0.25rem 0 0.75rem 0;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ec-subtitle {
  color: #374151;
  margin: 0;
  line-height: 1.7;
}

.ec-actions {
  text-align: right;
}

.ec-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e63939;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.ec-btn-primary:hover {
  background: #c71f1f;
}

.ec-section {
  padding: 2rem 0;
}

.ec-subnav {
  margin-bottom: 1.5rem;
  position: relative;
}

.ec-subnav-btn {
  background: #abb8c3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.ec-subnav-menu {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  display: none;
}

.ec-subnav-menu.open {
  display: block;
}

.ec-subnav-menu li {
  border-bottom: 1px solid #f1f5f9;
}

.ec-subnav-menu li:last-child {
  border-bottom: none;
}

.ec-subnav-menu a {
  display: block;
  padding: 0.6rem 0.85rem;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ec-subnav-menu a:hover {
  background: #f8fafc;
}

.ec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.ec-card {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ec-thumb {
  background: #fff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.ec-thumb img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.ec-card-content {
  padding: 1rem 1.25rem 1.25rem;
}

.ec-card-content h3 {
  margin: 0 0 0.5rem 0;
  color: #0f172a;
  font-size: 1.25rem;
}

.ec-card-content p {
  margin: 0;
  color: #374151;
  line-height: 1.6;
}

.ec-card-actions {
  margin-top: 0.75rem;
}

.ec-btn-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.ec-btn-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .ec-header-content {
    grid-template-columns: 1fr;
  }

  .ec-actions {
    text-align: left;
  }
}


