/* CSS Document */

/* IDR Help Center styling to better match main site */

body {
  background-color: #f5f7fa;
  font-family: "Poppins", Arial, sans-serif;
}

/* Banner image style */
.help-header-img {
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Breadcrumb look */
#breadcrumb-row .breadcrumb {
  background-color: #e9ecef;
  border-radius: 0.25rem;
  margin: 0 auto;
  max-width: 900px;
}

/* Card hover for main options / product doc cards */
.help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Document cards inside product view */
.product-doc-card .card-header {
  font-weight: 600;
}

.product-doc-card a {
  display: block;
  margin-bottom: 4px;
  word-break: break-word;
}
/* Banner */
.help-header-img {
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Cards hover effect */
.help-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Footer spacing */
#hc-footer a {
  color: #007bff;
}
/* Styling for Manufacturer Cards (browse-manufacturer.php) */
.manufacturer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 140px; /* Give a minimum height if content is very short */
    border: 1px solid #dee2e6; /* Standard Bootstrap card border */
    border-radius: 0.25rem;
    overflow: hidden; /* Ensure nothing breaks out */
}

/* Card Body to manage vertical layout */
.manufacturer-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally within flex item */
    justify-content: center; /* Center vertically if space allows */
    flex-grow: 1; /* Allow to expand */
    padding: 1rem; /* Standard Bootstrap padding for card-body */
    text-align: center; /* Ensure text is centered */
}

/* Styling for Manufacturer Logos */
.manufacturer-card-logo {
  width: 100px;            /* Set your preferred width */
  height: 60px;            /* Set your preferred height */
  object-fit: contain;     /* Maintain aspect ratio, no distortion */
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  background: #fff;        /* Optional: white background for transparency */
  padding: 5px;            /* Optional: padding around logo */
  border-radius: 4px;      /* Optional: rounded corners */
  box-shadow: 0 1px 4px rgba(0,0,0,0.07); /* Optional: subtle shadow */
}

/* Styling for Manufacturer Names */
.manufacturer-card .font-weight-bold {
    font-size: 0.95rem; /* Consistent font size */
    line-height: 1.2;
    color: #343a40; /* Dark text color as default */
    margin-top: auto; /* Pushes the name down if the logo is small */
}

.manufacturer-card a {
    color: inherit; /* Ensure link color doesn't override text */
}

.manufacturer-card a:hover .font-weight-bold {
    color: #007bff; /* Example hover color for text */
}