.custom-layout-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap; /* hace que en móvil se apilen */
}

.custom-layout-image {
  flex: 1 1 40%;
  text-align: center;
}

.custom-layout-text {
  flex: 1 1 55%;
  text-align: left;
}

.custom-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.custom-title {
  color: #000080;
  font-size: 26px;
  margin-bottom: 10px;
}

.custom-subtitle {
  color: #b36b00;
  font-size: 18px;
  margin-bottom: 30px;
}

.custom-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.custom-button {
  background-color: #285f9a;
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.custom-button:hover {
  background-color: #285f9a;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  color: white !important;
  cursor: pointer;
}

/* 📱 Responsive: en móvil se apila */
@media (max-width: 768px) {
  .custom-layout-box {
    flex-direction: column;
    text-align: center;
  }

  .custom-layout-text {
    text-align: center;
  }

  .custom-links-grid {
    justify-content: center;
  }
}


